/* Claude 会话指挥台 — styles. Light + dark via custom properties. */

:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f2f3f6;
  --surface-3: #e9ebef;
  --border: #e1e4e9;
  --border-strong: #cdd2d9;
  --text: #1b1f24;
  --text-2: #4f5864;
  --muted: #7d8692;
  --accent: #2f6bd8;
  --accent-hover: #2559b8;
  --accent-soft: #e8f0fd;
  --accent-text: #ffffff;
  --ok: #1d9a55;
  --ok-soft: #e4f5eb;
  --warn: #c27a06;
  --warn-soft: #fdf3e1;
  --danger: #d03b3b;
  --danger-soft: #fdeaea;
  --peer: #7c4dce;
  --peer-soft: #f1ebfb;
  --user-bubble: #e8f0fd;
  --code-bg: #f3f4f7;
  --shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 2px 8px rgba(20, 24, 31, 0.04);
  --shadow-lg: 0 10px 40px rgba(20, 24, 31, 0.18);
  --radius: 10px;
  --radius-sm: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --topbar-h: 50px;
  --tabbar-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111317;
    --surface: #191c21;
    --surface-2: #20242a;
    --surface-3: #2a2f36;
    --border: #2c3139;
    --border-strong: #3b414b;
    --text: #e5e8ec;
    --text-2: #b1b8c2;
    --muted: #7f8894;
    --accent: #6c9cf2;
    --accent-hover: #86aff5;
    --accent-soft: #1d2a42;
    --accent-text: #0c1424;
    --ok: #3ccb7c;
    --ok-soft: #15301f;
    --warn: #f0a83c;
    --warn-soft: #34270f;
    --danger: #ff6b6b;
    --danger-soft: #3a1b1d;
    --peer: #b08cf0;
    --peer-soft: #2a2140;
    --user-bubble: #1d2a42;
    --code-bg: #15181c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111317;
  --surface: #191c21;
  --surface-2: #20242a;
  --surface-3: #2a2f36;
  --border: #2c3139;
  --border-strong: #3b414b;
  --text: #e5e8ec;
  --text-2: #b1b8c2;
  --muted: #7f8894;
  --accent: #6c9cf2;
  --accent-hover: #86aff5;
  --accent-soft: #1d2a42;
  --accent-text: #0c1424;
  --ok: #3ccb7c;
  --ok-soft: #15301f;
  --warn: #f0a83c;
  --warn-soft: #34270f;
  --danger: #ff6b6b;
  --danger-soft: #3a1b1d;
  --peer: #b08cf0;
  --peer-soft: #2a2140;
  --user-bubble: #1d2a42;
  --code-bg: #15181c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
p { margin: 0; }
code, pre, .mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.offscreen { position: fixed; top: -1000px; left: 0; width: 10px; height: 10px; opacity: 0; }
.spacer { flex: 1 1 auto; }
.muted { color: var(--muted); }
.noscript { padding: 24px; text-align: center; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.spin {
  display: inline-block; flex: none;
  width: 0.95em; height: 0.95em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.8s linear infinite; vertical-align: -0.12em; opacity: 0.75;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spin { animation-duration: 2.4s; }
  .sdot--busy::after { animation: none !important; }
}

/* ------------------------------------------------------------ controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 6px 14px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--text);
  font-weight: 500; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background-color .12s, border-color .12s, color .12s;
  white-space: nowrap; max-width: 100%;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { min-height: 30px; padding: 4px 10px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(1.05); background: var(--danger); }
.btn-danger-outline { color: var(--danger); border-color: var(--danger); background: transparent; }
.btn-danger-outline:hover { background: var(--danger-soft); }
.btn-allow { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-allow:hover { background: var(--ok); filter: brightness(1.06); }
:root[data-theme="dark"] .btn-allow { color: #07140c; }
.btn-deny { color: var(--danger); border-color: var(--danger); background: var(--surface); }
.btn-deny:hover { background: var(--danger-soft); }
.linkbtn {
  background: none; border: 0; padding: 2px 0; color: var(--accent); cursor: pointer; font-size: 13px;
}
.linkbtn:hover { text-decoration: underline; }
.linkbtn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn .ic { width: 20px; height: 20px; }
.icon-btn--sm { width: 28px; height: 28px; }
.icon-btn--sm .ic { width: 16px; height: 16px; }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.input {
  display: block; width: 100%; min-width: 0;
  padding: 8px 10px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--text);
  line-height: 1.45;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder { color: var(--muted); }
textarea.input { resize: vertical; min-height: 40px; }
.input--num { width: 88px; text-align: right; }
.field { display: block; margin-bottom: 12px; }
.field__label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text-2); }
.form-msg { min-height: 1.4em; margin: 4px 0 10px; font-size: 13px; color: var(--text-2); }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-ok { color: var(--ok); }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hint.is-error { color: var(--danger); }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 11px; font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tag {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 1px 7px; border-radius: 4px; font-size: 12px; font-weight: 500; line-height: 1.5;
  background: var(--surface-3); color: var(--text-2); white-space: nowrap;
}
.tag--question { background: var(--accent-soft); color: var(--accent); }
.tag--ask_user { background: var(--peer-soft); color: var(--peer); }
.tag--permission { background: var(--danger-soft); color: var(--danger); }
.tag--notice { background: var(--warn-soft); color: var(--warn); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--soft { background: var(--surface-3); color: var(--text-2); font-weight: 400; }
.tag--st-answered { background: var(--ok-soft); color: var(--ok); }
.tag--st-expired { background: var(--warn-soft); color: var(--warn); }
.tag--st-cancelled, .tag--st-superseded { background: var(--surface-3); color: var(--muted); }
.tag--st-handled_elsewhere { background: var(--accent-soft); color: var(--accent); }

/* status dots */
.sdot { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.sdot--busy { background: var(--ok); }
.sdot--busy::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--ok); opacity: 0; animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.sdot--idle, .sdot--other { background: var(--muted); }
.sdot--waiting { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.sdot--ended { background: transparent; border: 1.5px solid var(--muted); }
.sdot--error { background: var(--danger); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 2px 10px 2px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.pill--busy { color: var(--ok); background: var(--ok-soft); border-color: transparent; }
.pill--waiting { color: var(--warn); background: var(--warn-soft); border-color: transparent; }
.pill--error { color: var(--danger); background: var(--danger-soft); border-color: transparent; }

.progress { position: relative; display: inline-block; flex: none; width: 64px; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.progress__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ok); border-radius: 3px; }

/* ------------------------------------------------------------ boot / login */
.boot {
  position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); padding: 24px; text-align: center;
}
.login {
  position: fixed; inset: 0; overflow-y: auto;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.login__card {
  width: 100%; max-width: 360px; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
}
.login__logo { display: block; margin: 0 auto 12px; }
.login__title { text-align: center; font-size: 20px; }
.login__sub { text-align: center; color: var(--muted); font-size: 13px; margin: 6px 0 20px; }

/* ------------------------------------------------------------ shell */
.shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.topbar {
  flex: none; display: flex; align-items: center; gap: 8px;
  height: calc(var(--topbar-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15px; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand__name { white-space: nowrap; }
.topnav { display: none; align-items: center; gap: 2px; margin-left: 16px; }
.topnav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px; color: var(--text-2); font-weight: 500;
}
.topnav a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.topnav a.is-active { background: var(--accent-soft); color: var(--accent); }
.conn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 4px 6px; white-space: nowrap; }
.conn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.conn[data-state="live"] .conn__dot { background: var(--ok); }
.conn[data-state="polling"] .conn__dot, .conn[data-state="reconnecting"] .conn__dot { background: var(--warn); }
.conn[data-state="offline"] .conn__dot { background: var(--danger); }
.conn[data-state="offline"] { color: var(--danger); }

.banners { flex: none; display: flex; flex-direction: column; }
.banner {
  display: flex; align-items: center; gap: 10px;
  padding: 8px max(12px, env(safe-area-inset-left)); font-size: 13px; border-bottom: 1px solid var(--border);
}
.banner--warn { background: var(--warn-soft); color: var(--text); }
.banner--warn > .ic { color: var(--warn); }
.banner--info { background: var(--accent-soft); }
.banner--info > .ic { color: var(--accent); }
.banner__text { flex: 1 1 auto; min-width: 0; }
.banner__action { flex: none; font-weight: 600; }

.main { flex: 1 1 auto; min-height: 0; display: flex; }
.pane {
  display: none; flex: 1 1 auto; min-width: 0; min-height: 0;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
body[data-panes~="sessions"] .pane-sessions,
body[data-panes~="detail"] .pane-detail,
body[data-panes~="decisions"] .pane-decisions,
body[data-panes~="settings"] .pane-settings { display: block; }
.pane-inner { max-width: 860px; margin: 0 auto; padding: 14px 16px 28px; }

.tabbar {
  flex: none; display: flex; align-items: stretch;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: var(--surface); border-top: 1px solid var(--border);
}
.tabbar a {
  position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font-size: 11.5px; font-weight: 500;
}
.tabbar a:hover { text-decoration: none; }
.tabbar a.is-active { color: var(--accent); }
.tabbar__icon .ic { width: 22px; height: 22px; }
.tabbar .badge { position: absolute; top: 5px; left: calc(50% + 6px); }

@media (min-width: 768px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  .pane-inner { padding: 18px 24px 32px; }
}
@media (max-width: 767px) {
  .conn__text { display: none; }
  .conn { padding: 8px; }
  .input, textarea.input { font-size: 16px; }
}

/* wide: 3-column overview */
.layout-wide .pane-sessions { flex: 0 0 340px; border-right: 1px solid var(--border); }
.layout-wide .pane-decisions { flex: 0 0 420px; border-left: 1px solid var(--border); background: var(--surface-2); }
.layout-wide .pane-detail { flex: 1 1 auto; }
.layout-wide .pane-sessions .pane-inner,
.layout-wide .pane-decisions .pane-inner { padding: 14px 14px 28px; max-width: none; }
.layout-wide .backlink { display: none; }
.layout-wide .pane-sessions .chips { flex-wrap: wrap; overflow: visible; }

/* ------------------------------------------------------------ pane header */
.phead { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; min-height: 32px; }
.phead__title { font-size: 18px; font-weight: 650; }
.phead__count {
  display: inline-flex; min-width: 22px; justify-content: center; padding: 0 7px; border-radius: 11px;
  background: var(--surface-3); color: var(--text-2); font-size: 12.5px; font-weight: 600; line-height: 22px;
}
.pane-decisions .phead__count { background: var(--danger); color: #fff; }
.phead__btn.is-on { color: var(--ok); }

.empty { text-align: center; color: var(--text-2); padding: 36px 16px; }
.empty--sm { padding: 24px 12px; }
.empty__icon { width: 36px; height: 36px; color: var(--muted); stroke-width: 1.5; margin-bottom: 8px; }
.empty__title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.empty p { max-width: 440px; margin: 0 auto 12px; font-size: 13.5px; line-height: 1.6; }
.empty__warn { color: var(--warn); font-weight: 500; }
.loading { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); padding: 24px; }

/* ------------------------------------------------------------ sessions list */
.chips { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-2); cursor: pointer; font-size: 13px;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.chip__n { font-size: 11.5px; opacity: .75; font-variant-numeric: tabular-nums; }
.sgroup { margin-bottom: 14px; }
.sgroup__head {
  display: flex; align-items: baseline; gap: 8px; padding: 0 4px 4px;
  font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em;
}
.sgroup__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sgroup__n { flex: none; font-weight: 400; }
.srow {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; margin-bottom: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text);
}
.srow:hover { text-decoration: none; border-color: var(--border-strong); }
.srow.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.srow > .sdot { margin-top: 6px; }
.srow__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.srow__top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.srow__title { flex: 0 1 auto; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow__time { flex: none; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.srow__plan { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--text-2); }
.srow__plann { flex: none; font-variant-numeric: tabular-nums; }
.srow__cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow__last { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.askmark { display: inline-flex; flex: none; color: var(--warn); }
.askmark .ic { width: 15px; height: 15px; }

/* ------------------------------------------------------------ decision cards */
.dlist { display: flex; flex-direction: column; gap: 12px; }
.dcard {
  position: relative; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 12px 14px 12px 16px; overflow: hidden;
  transition: opacity .2s, box-shadow .3s;
}
.dcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.dcard--ask_user::before { background: var(--peer); }
.dcard--permission::before { background: var(--danger); }
.dcard--notice::before { background: var(--warn); }
.dcard.is-sent { opacity: .7; }
.dcard.is-flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: var(--shadow); } }
.dcard__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 8px; min-width: 0; }
.dcard__session { font-weight: 600; color: var(--text); min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard__project { font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcard__meta { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.countdown { font-variant-numeric: tabular-nums; padding: 0 6px; border-radius: 4px; background: var(--surface-2); color: var(--text-2); }
.countdown.is-urgent { background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.countdown.is-over { background: var(--danger-soft); color: var(--danger); }
.dcard__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dcard__src { font-size: 12px; color: var(--muted); }
.dcard__q { font-size: 15px; font-weight: 550; line-height: 1.55; }
.dcard__controls { border: 0; margin: 10px 0 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dcard__foot { display: flex; justify-content: flex-end; margin-top: -2px; }
.dcard__release { color: var(--muted); font-size: 12.5px; }
.dcard__status { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.dcard__status .ic, .dcard__status .spin { margin-top: 3px; }
.dcard__status.is-sent { color: var(--ok); font-weight: 500; }
.dcard__status.is-error { color: var(--danger); padding: 6px 8px; border-radius: 6px; background: var(--danger-soft); }

.ctx { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); padding: 8px 10px; min-width: 0; }
.ctx__label { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.ctx__body { font-size: 13px; color: var(--text-2); }
.ctx__body.is-clamped, .clamp.is-clamped {
  max-height: 7.6em; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.clamp.is-clamped { max-height: 22em; }
.ctx__toggle, .clamp__toggle { margin-top: 2px; }

.optbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.optbtn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  max-width: 100%; padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--accent); background: var(--accent-soft); color: var(--accent);
  cursor: pointer; text-align: left; font-weight: 600;
}
.optbtn:hover { background: var(--accent); color: var(--accent-text); }
.optbtn:hover .optbtn__desc { color: inherit; }
.optbtn:disabled { opacity: .55; cursor: default; }
.optbtn:disabled:hover { background: var(--accent-soft); color: var(--accent); }
.optbtn__label, .optbtn__desc { overflow-wrap: anywhere; }
.optbtn__desc { font-size: 12px; font-weight: 400; color: var(--text-2); }
.composer { display: flex; align-items: flex-end; gap: 8px; }
.composer .input { flex: 1 1 auto; }
.composer__send { flex: none; min-height: 40px; }
.dcard__controls > .hint { margin-top: -6px; }

.aq { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.aq__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.aq__multi { font-size: 12px; color: var(--muted); }
.aq__q { font-weight: 600; margin-bottom: 8px; overflow-wrap: anywhere; }
.aopt {
  display: flex; align-items: flex-start; gap: 8px; padding: 7px 8px; margin: 0 -4px 2px;
  border-radius: 6px; cursor: pointer; min-width: 0;
}
.aopt:hover { background: var(--surface-2); }
.aopt__input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.aopt__text { display: flex; flex-direction: column; min-width: 0; }
.aopt__label { font-weight: 500; overflow-wrap: anywhere; }
.aopt__desc { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.aopt--other { flex-wrap: wrap; align-items: center; cursor: default; }
.aopt__otherlabel { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex: none; }
.aopt__other { flex: 1 1 160px; padding: 6px 8px; }

.perm__warn {
  display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 8px;
  background: var(--danger-soft); color: var(--danger); font-size: 13px; font-weight: 500;
}
.perm__warn .ic { margin-top: 2px; }
.perm__tool { display: flex; align-items: center; gap: 8px; min-width: 0; }
.perm__label { font-size: 12px; color: var(--muted); flex: none; }
.perm__name { font-size: 13.5px; font-weight: 600; padding: 1px 8px; border-radius: 5px; background: var(--surface-3); overflow-wrap: anywhere; min-width: 0; }
.perm__summary {
  font-family: var(--mono); font-size: 13px; padding: 8px 10px; border-radius: 8px;
  background: var(--code-bg); border: 1px solid var(--border); white-space: pre-wrap; overflow-wrap: anywhere;
}
.perm__details > summary { cursor: pointer; font-size: 13px; color: var(--accent); padding: 2px 0; }
.perm__input {
  margin: 6px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--code-bg); border: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all;
  max-height: 320px; overflow-y: auto;
}
.perm__actions .btn { flex: 1 1 120px; min-height: 42px; }
.perm__deny { display: flex; flex-direction: column; gap: 8px; }
.notice__msg { font-size: 14.5px; overflow-wrap: anywhere; }

.recentbox { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 10px; }
.recentbox > summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text-2); padding: 4px 0;
}
.recentbox > summary::-webkit-details-marker { display: none; }
.recentbox > summary::before { content: "▸"; color: var(--muted); transition: transform .15s; }
.recentbox[open] > summary::before { transform: rotate(90deg); }
.recentbox__n { font-size: 12px; color: var(--muted); font-weight: 400; }
.recent { list-style: none; margin: 6px 0 0; padding: 0; }
.ritem { padding: 8px 2px; border-bottom: 1px solid var(--border); min-width: 0; }
.ritem:last-child { border-bottom: 0; }
.ritem__top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; min-width: 0; }
.ritem__type { color: var(--muted); }
.ritem__session { color: var(--text); font-weight: 500; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ritem__time { margin-left: auto; color: var(--muted); font-size: 12px; }
.ritem__text { font-size: 13px; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.ritem__ans { font-size: 12.5px; color: var(--ok); margin-top: 2px; overflow-wrap: anywhere; }
.ritem__ans.is-deny { color: var(--danger); }

/* ------------------------------------------------------------ markdown */
.md { overflow-wrap: anywhere; min-width: 0; }
.md > :first-child { margin-top: 0; }
.md > :last-child { margin-bottom: 0; }
.md p, .md ul, .md ol, .md blockquote, .md .md-code, .md .md-table, .md hr { margin: 0 0 .6em; }
.md ul, .md ol { padding-left: 1.4em; }
.md li { margin: .15em 0; }
.md li > ul, .md li > ol { margin: .15em 0; }
.md .md-task { list-style: none; margin-left: -1.2em; }
.md-task__box { margin-right: .35em; color: var(--muted); }
.md-task.is-done { color: var(--muted); }
.md-h { font-weight: 650; margin: .8em 0 .35em; line-height: 1.35; }
.md-h1 { font-size: 1.18em; }
.md-h2 { font-size: 1.1em; }
.md-h3, .md-h4, .md-h5, .md-h6 { font-size: 1em; }
.md blockquote { padding: 2px 0 2px 10px; border-left: 3px solid var(--border-strong); color: var(--text-2); }
.md hr { border: 0; border-top: 1px solid var(--border); }
.md-ic { font-size: .88em; padding: .08em .35em; border-radius: 4px; background: var(--code-bg); border: 1px solid var(--border); overflow-wrap: anywhere; }
.md-link { overflow-wrap: anywhere; }
.md-code { border: 1px solid var(--border); border-radius: 8px; background: var(--code-bg); overflow: hidden; }
.md-code__bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 2px 10px; border-bottom: 1px solid var(--border); font-size: 11.5px; color: var(--muted); }
.md-copy { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11.5px; padding: 2px 6px; border-radius: 4px; }
.md-copy:hover { background: var(--surface-3); color: var(--text); }
.md-code pre { margin: 0; padding: 8px 10px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; tab-size: 2; max-height: 480px; }
.md-code code { white-space: pre; }
.md-table { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.md-table table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.md-table th, .md-table td { padding: 5px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.md-table th { background: var(--surface-2); font-weight: 600; white-space: nowrap; }
.md-table tr:last-child td { border-bottom: 0; }
.md-table .is-center { text-align: center; }
.md-table .is-right { text-align: right; }

/* ------------------------------------------------------------ session detail */
.backlink { display: inline-flex; align-items: center; gap: 2px; margin: -4px 0 10px -4px; padding: 4px; font-size: 13px; color: var(--text-2); }
.dhead { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dhead__top { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.dhead__title { flex: 1 1 auto; min-width: 0; font-size: 19px; font-weight: 650; overflow-wrap: anywhere; }
.dhead__top .pill { margin-top: 2px; }
.dhead__where { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; min-width: 0; }
.dhead__cwd { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { display: inline-block; max-width: 100%; padding: 1px 8px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mchip.mono { font-size: 11.5px; }
.dhead__stats { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); }
.stat b { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat__sep { margin: 0 5px; }
.dsec { margin-bottom: 14px; min-width: 0; }
.dsec__title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.dsec__count { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.dplan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; }
.dplan .progress { width: 90px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ck { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; min-width: 0; }
.ck__box {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-top: 2px; border-radius: 4px; border: 1.5px solid var(--border-strong);
}
.ck__box .ic { width: 12px; height: 12px; stroke-width: 3; }
.ck--completed .ck__box { background: var(--ok); border-color: var(--ok); color: #fff; }
.ck--completed .ck__text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.ck--in_progress .ck__box { border-color: var(--accent); }
.ck--in_progress .ck__text { font-weight: 600; }
.ck__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ck__text { min-width: 0; overflow-wrap: anywhere; }

.dextra { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.box > summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; color: var(--text-2); }
.box > summary::-webkit-details-marker { display: none; }
.box > summary::after { content: "▾"; margin-left: auto; color: var(--muted); transition: transform .15s; }
.box:not([open]) > summary::after { transform: rotate(-90deg); }
.xlist { list-style: none; margin: 0; padding: 0 12px 8px; }
.xitem { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-top: 1px solid var(--border); font-size: 13px; min-width: 0; }
.xitem__st { flex: none; color: var(--ok); margin-top: 1px; }
.xitem__main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.xitem__title { overflow-wrap: anywhere; }
.xitem__path { font-size: 12px; overflow-wrap: anywhere; word-break: break-all; }
.xitem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }

.dask { border: 1px dashed var(--warn); background: var(--warn-soft); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.dask__title { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--warn); font-size: 13px; }
.dnote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius); background: var(--warn-soft); font-size: 13px; }
.ddec .dsec__title { color: var(--warn); }

.tl-more { display: flex; margin: 0 auto 10px; }
.tl-note { text-align: center; font-size: 12.5px; color: var(--muted); padding: 8px; }
.tl-note.is-error { color: var(--danger); }
.timeline { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ev { min-width: 0; }
.ev-time { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-meta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-bottom: 2px; font-size: 12px; min-width: 0; }
.ev-user { display: flex; flex-direction: column; align-items: flex-end; margin-left: 12%; }
.bubble { max-width: 100%; padding: 8px 12px; border-radius: 12px 12px 4px 12px; background: var(--user-bubble); min-width: 0; }
.bubble__text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ev-user.is-peer .bubble { background: var(--peer-soft); border: 1px solid transparent; }
.ev-user.is-queued .bubble { background: transparent; border: 1px dashed var(--border-strong); color: var(--text-2); }
.ev-from { display: inline-flex; align-items: center; gap: 4px; color: var(--peer); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ev-from .ic { width: 13px; height: 13px; }
.ev-assistant { padding: 2px 2px 2px 0; }
.ev-assistant .clamp.is-clamped { max-height: 26em; }
.ev-card__head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; flex-wrap: wrap; }
.ev-card__head .ev-time { margin-left: auto; font-weight: 400; }
.ev-recap { border: 1px solid var(--ok); border-left-width: 4px; background: var(--ok-soft); border-radius: var(--radius); padding: 8px 12px; }
.ev-recap .ev-card__head { color: var(--ok); }
.ev-ask { border: 1px solid var(--accent); border-left-width: 4px; background: var(--accent-soft); border-radius: var(--radius); padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; }
.ev-ask .ev-card__head { color: var(--accent); margin-bottom: 0; }
.ev-ask.is-answered { border-color: var(--border-strong); background: var(--surface); }
.ev-ask.is-answered .ev-card__head { color: var(--text-2); }
.ev-ask__q { font-weight: 550; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; overflow-wrap: anywhere; min-width: 0; }
.md.ev-ask__q { display: block; }
.ochips { display: flex; flex-wrap: wrap; gap: 6px; }
.ochip { display: inline-block; max-width: 100%; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 12.5px; overflow-wrap: anywhere; }
.ev-stop { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11.5px; margin: 4px 0; }
.ev-stop::before, .ev-stop::after { content: ""; flex: 1 1 auto; border-top: 1px solid var(--border); }
.ev-plan > summary, .tgroup > summary, .tdet > summary { list-style: none; cursor: pointer; }
.ev-plan > summary::-webkit-details-marker, .tgroup > summary::-webkit-details-marker, .tdet > summary::-webkit-details-marker { display: none; }
.ev-plan { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.ev-plan > summary { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.ev-plan > summary > .ic { color: var(--ok); }
.ev-plan__n { font-variant-numeric: tabular-nums; color: var(--muted); flex: none; }
.ev-plan__cur { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ev-plan .checklist { padding: 2px 10px 8px; }

.tgroup { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.tgroup.has-error { border-color: var(--danger); }
.tgroup > summary { display: flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.tgroup__st { flex: none; display: inline-flex; color: var(--muted); }
.tgroup__title { flex: none; font-weight: 600; }
.tgroup__names { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.tgroup > summary::after, .tdet > summary::after { content: "▸"; margin-left: auto; padding-left: 6px; color: var(--muted); transition: transform .15s; flex: none; }
.tgroup[open] > summary::after, .tdet[open] > summary::after { transform: rotate(90deg); }
.tgroup__rows { padding: 2px 6px 6px; border-top: 1px solid var(--border); }
.tplain, .tdet > summary { display: flex; align-items: center; min-width: 0; }
.ev-tool { border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); }
.ev-tool.tplain, .ev-tool.tdet > summary { padding: 0 4px; }
.trow { display: flex; align-items: center; gap: 7px; flex: 1 1 auto; min-width: 0; padding: 4px 4px; font-size: 12.5px; }
.trow__st { flex: none; display: inline-flex; color: var(--ok); }
.trow__st .ic { width: 14px; height: 14px; }
.trow--error .trow__st, .trow--error .trow__name { color: var(--danger); }
.trow--pending .trow__st { color: var(--accent); }
.trow__name { flex: none; max-width: 40%; font-family: var(--mono); font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.trow__sum { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.trow__img { flex: none; display: inline-flex; color: var(--peer); }
.trow__img .ic { width: 14px; height: 14px; }
.trow__result {
  margin: 0 6px 6px; padding: 6px 8px; border-radius: 6px; background: var(--code-bg); border: 1px solid var(--border);
  font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; max-height: 240px; overflow-y: auto; color: var(--text-2);
}
.trow__result.is-error { color: var(--danger); }

.jump {
  position: sticky; bottom: 14px; z-index: 5;
  display: flex; align-items: center; gap: 4px;
  margin: 8px 0 0 auto; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  box-shadow: var(--shadow-lg); cursor: pointer; font-size: 12.5px;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.jump.is-visible { opacity: 1; pointer-events: auto; }

/* ------------------------------------------------------------ settings */
.settings { max-width: 720px; }
.setsec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.setsec__title { font-size: 15px; font-weight: 650; }
.setstatus { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.setwarn { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 6px; padding: 8px 10px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 13px; overflow-wrap: anywhere; }
.setwarn .ic { margin-top: 2px; }
.setwarn.is-error { background: var(--danger-soft); color: var(--danger); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0 0; border-top: 1px solid var(--border); cursor: pointer; min-width: 0; }
.setrow__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; cursor: pointer; }
.setrow__label { font-weight: 500; }
.setrow__hint { font-size: 12.5px; color: var(--muted); }
.setrow__hint.is-warn { color: var(--warn); }
.numfield { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.numfield__unit { font-size: 13px; color: var(--muted); }
.switch { position: relative; flex: none; display: inline-flex; width: 42px; height: 24px; }
.switch__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch__track { width: 100%; height: 100%; border-radius: 12px; background: var(--border-strong); transition: background .15s; position: relative; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.switch__input:checked + .switch__track { background: var(--accent); }
.switch__input:checked + .switch__track::after { transform: translateX(18px); }
.switch__input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch__input:disabled + .switch__track { opacity: .5; }
.tunurl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); min-width: 0; }
.tunurl__text { flex: 1 1 220px; min-width: 0; font-size: 13px; overflow-wrap: anywhere; word-break: break-all; }
.pwform { max-width: 420px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; align-self: flex-start; }
.seg__item { position: relative; cursor: pointer; }
.seg__item + .seg__item { border-left: 1px solid var(--border-strong); }
.seg__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__item span { display: block; padding: 6px 14px; font-size: 13px; color: var(--text-2); }
.seg__input:checked + span { background: var(--accent); color: var(--accent-text); }
.seg__input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ------------------------------------------------------------ toasts / dialog */
.toasts {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: max-content; max-width: calc(100vw - 32px); pointer-events: none;
}
.toast {
  max-width: 100%; padding: 8px 14px; border-radius: 8px; background: var(--text); color: var(--bg);
  font-size: 13px; box-shadow: var(--shadow-lg); overflow-wrap: anywhere; animation: toast-in .18s ease-out;
}
.toast--error { background: var(--danger); color: #fff; }
.toast--warn { background: var(--warn); color: #fff; }
.toast--ok { background: var(--ok); color: #fff; }
.toast.is-leaving { opacity: 0; transition: opacity .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) {
  .toasts { left: auto; right: 16px; transform: none; bottom: auto; top: calc(var(--topbar-h) + 12px); align-items: flex-end; max-width: 420px; }
}

.dialog {
  padding: 0; border: 0; border-radius: 14px; background: transparent; color: var(--text);
  width: min(440px, calc(100vw - 32px)); max-width: none;
}
.dialog::backdrop { background: rgba(10, 12, 16, 0.5); }
.dialog__inner { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 14px; box-shadow: var(--shadow-lg); }
.dialog__title { font-size: 16px; margin-bottom: 10px; }
.dialog__p { font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
