/* Front Desk — shared chat surface styles (desktop/tablet/web) */

/* ============================================================ APP SHELL */
.app {
  display: grid;
  height: 100vh;
  background: var(--bg);
  color: var(--fg);
}
.app.shell-desktop { grid-template-columns: 240px 1fr 320px; }
.app.shell-tablet { grid-template-columns: 220px 1fr; }
.app.shell-web { grid-template-columns: 220px minmax(0,1fr) 300px; }

/* ============================================================ TITLE BAR (desktop app) */
.titlebar {
  grid-column: 1 / -1;
  height: 38px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0 14px;
  -webkit-app-region: drag;
  user-select: none;
}
.tb-traffic { display: inline-flex; gap: 8px; margin-right: 16px; -webkit-app-region: no-drag; }
.tb-traffic span { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3); }
.tb-traffic span.r { background: oklch(70% 0.2 25); }
.tb-traffic span.y { background: oklch(80% 0.16 90); }
.tb-traffic span.g { background: oklch(70% 0.18 145); }
.tb-title { font-size: 12.5px; font-weight: 500; letter-spacing: -0.005em; color: var(--muted); flex: 1; text-align: center; }
.tb-actions { display: inline-flex; gap: 4px; -webkit-app-region: no-drag; }

/* ============================================================ RAIL (left) */
.rail {
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}
.rail-top {
  padding: 14px 12px 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.rail-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
}
.rail-brand .mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), oklch(from var(--accent) calc(l - 0.15) c calc(h + 18)));
  color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.rail-search {
  display: flex; align-items: center; gap: 8px;
  height: 28px;
  padding: 0 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  font-size: 12px;
  color: var(--muted);
}
.rail-search .kbd { margin-left: auto; }

.rail-section {
  padding: 12px 12px 4px;
  display: flex; align-items: center; justify-content: space-between;
}
.rail-section h4 {
  margin: 0; font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.rail-section .add {
  width: 16px; height: 16px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.rail-section .add:hover { color: var(--fg); background: var(--surface); }

.rail-list { padding: 2px 8px; }
.rail-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 8px;
  padding: 5px 8px;
  border-radius: var(--radius-2);
  color: var(--fg-2);
  font-size: 13px;
  cursor: pointer;
  position: relative;
}
.rail-item:hover { background: var(--surface); color: var(--fg); }
.rail-item.active { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--border); }
.rail-item.active::before { content: ""; position: absolute; left: -8px; top: 6px; bottom: 6px; width: 2px; background: var(--accent); border-radius: 2px; }
.rail-item .icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: -0.04em;
  background: var(--surface-3);
  color: var(--fg-2);
}
.rail-item .icon.accent { background: linear-gradient(135deg, var(--accent), oklch(from var(--accent) calc(l - 0.15) c calc(h + 18))); color: var(--accent-fg); }
.rail-item .icon.green { background: oklch(85% 0.08 145); color: oklch(22% 0.05 145); }
.rail-item .icon.amber { background: oklch(85% 0.10 70); color: oklch(28% 0.06 70); }
.rail-item .icon.violet { background: oklch(85% 0.08 310); color: oklch(28% 0.06 310); }
.rail-item .name { font-weight: 500; letter-spacing: -0.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item .badge {
  font-size: 10.5px; font-variant-numeric: tabular-nums;
  color: var(--muted);
  background: var(--surface-3);
  padding: 1px 6px; border-radius: 999px;
}
.rail-item.active .badge { background: var(--accent-soft); color: var(--accent); }
.rail-item .indicator {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}

.rail-foot {
  margin-top: auto;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.rail-foot .avatar { background: oklch(85% 0.08 220); color: oklch(22% 0.05 220); }
.rail-foot .name { font-weight: 500; }
.rail-foot .role { font-size: 11px; color: var(--muted); }

/* ============================================================ MAIN */
.main {
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--bg);
}
.main-head {
  height: 50px;
  padding: 0 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.main-head .crumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted);
}
.main-head .crumb .now { color: var(--fg); font-weight: 500; }
.main-head .crumb .sep { color: var(--border-2); }
.main-head .actions { margin-left: auto; display: inline-flex; gap: 4px; }

.thread {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 22px;
}
.thread-inner { max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }

/* ============================================================ MESSAGES */
.day-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.day-line::before, .day-line::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.you {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.you .avatar { background: oklch(85% 0.08 220); color: oklch(22% 0.05 220); width: 28px; height: 28px; font-size: 11px; }
.you-body { display: flex; flex-direction: column; gap: 4px; }
.you-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.you-meta strong { color: var(--fg); font-weight: 600; }
.you-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.5;
  width: fit-content;
  max-width: 100%;
}

/* decision (desktop) */
.decision {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.decision-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.decision-head .label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.decision-head .ts { margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.decision-body { padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.decision-body .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), oklch(from var(--accent) calc(l - 0.18) c calc(h + 24)));
  color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; letter-spacing: -0.04em;
}
.decision-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.decision-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.decision-conf { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.decision-conf .bar { width: 36px; height: 4px; background: var(--border-2); border-radius: 2px; overflow: hidden; }
.decision-conf .bar > i { display: block; height: 100%; background: var(--success); }
.decision-reason {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.5;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.decision-reason b { color: var(--fg); font-weight: 600; }
.decision-foot {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
}
.decision-foot .spacer { flex: 1; }

/* expert */
.expert {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.expert .avatar { width: 28px; height: 28px; font-size: 10.5px; }
.expert .avatar.ye { background: oklch(85% 0.08 145); color: oklch(22% 0.05 145); }
.expert .avatar.ss { background: oklch(85% 0.10 60); color: oklch(28% 0.06 60); }
.expert-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.expert-meta { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.expert-meta strong { color: var(--fg); font-weight: 600; }
.expert-text { font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.expert-text b { color: var(--fg); font-weight: 600; }

/* draft */
.draft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  overflow: hidden;
}
.draft-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.draft-head .icon { width: 16px; height: 16px; color: var(--muted); }
.draft-head .label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.draft-head .pill { margin-left: auto; }
.draft-fields { padding: 4px 14px; }
.draft-field {
  display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.draft-field:last-child { border-bottom: none; }
.draft-field .k { font-size: 11px; color: var(--muted); font-weight: 500; }
.draft-field .v { color: var(--fg); }
.draft-recipient { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px 2px 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; }
.draft-recipient .avatar { width: 16px; height: 16px; font-size: 9px; }
.draft-body { padding: 14px 16px; font-size: 13.5px; line-height: 1.6; color: var(--fg); border-top: 1px solid var(--border); }
.draft-body p { margin: 0 0 10px; }
.draft-body p:last-child { margin-bottom: 0; }
.draft-foot {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.draft-foot .spacer { flex: 1; }

/* voice note (compact, message-side) */
.voice-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  padding: 10px 12px;
  display: flex; align-items: center; gap: 12px;
  width: fit-content;
  min-width: 280px;
  max-width: 100%;
}
.voice-play {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.voice-play svg { width: 12px; height: 12px; }
.voice-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.waveform { display: flex; align-items: center; gap: 2px; height: 22px; }
.waveform .bar { flex: 1; background: var(--border-2); border-radius: 1px; min-width: 2px; }
.waveform .bar.played { background: var(--accent); }
.voice-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* live task */
.task {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  overflow: hidden;
}
.task-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.task-head .spinner { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.task-head .title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.task-head .ts { margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.task-body { padding: 12px 14px; }
.task-step { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; padding: 5px 0; }
.task-step .check { width: 14px; height: 14px; border-radius: 50%; background: var(--success); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-fg); }
.task-step .check svg { width: 9px; height: 9px; }
.task-step .check--pending { background: transparent; border: 1.5px dashed var(--border-2); }
.task-step .check--active { background: transparent; border: 1.5px solid var(--accent); position: relative; }
.task-step .check--active::after { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 1.2s infinite; }
.task-step .desc { color: var(--fg-2); }
.task-step.done .desc { color: var(--muted); }
.task-step .ts { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.task-output {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  max-height: 80px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
}
.task-output b { color: var(--fg-2); font-weight: 500; }
.task-foot { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--border); background: var(--surface-2); }
.task-foot .progress { flex: 1; height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.task-foot .progress > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.task-foot .pct { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ============================================================ COMPOSER */
.composer-wrap { padding: 16px 24px 22px; border-top: 1px solid var(--border); background: var(--bg); }
.composer-inner { max-width: 760px; margin: 0 auto; }
.composer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  padding: 10px 12px;
  display: flex; align-items: flex-end; gap: 8px;
  box-shadow: var(--shadow-1);
  transition: border-color var(--duration-2) var(--ease);
}
.composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer textarea {
  flex: 1; resize: none;
  border: 0; background: transparent;
  outline: none;
  font-size: 14px; line-height: 1.5;
  color: var(--fg);
  font-family: var(--font-sans);
  min-height: 32px; max-height: 200px;
  padding: 6px 4px;
}
.composer textarea::placeholder { color: var(--muted); }
.composer-actions { display: inline-flex; align-items: center; gap: 4px; }
.composer .mic {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.composer .mic svg { width: 14px; height: 14px; }
.composer .btn--icon { color: var(--muted); }
.composer .btn--icon:hover { color: var(--fg); }
.composer-hint {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.composer-hint .spacer { flex: 1; }

/* ============================================================ CONTEXT (right) */
.context {
  border-left: 1px solid var(--border);
  background: var(--surface);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.context-head { padding: 14px 16px 8px; border-bottom: 1px solid var(--border); }
.context-head h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.context-head p { margin: 4px 0 0; font-size: 11.5px; color: var(--muted); }

.context-section { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.context-section h4 { margin: 0 0 8px; font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.context-section .row-item { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; padding: 5px 0; font-size: 12.5px; }
.context-section .row-item .ic { width: 14px; height: 14px; color: var(--muted); }
.context-section .row-item .meta { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.context-section .file-path { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.context-section .file-path b { color: var(--fg-2); font-weight: 500; }

.expert-card {
  padding: 14px 16px;
}
.expert-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.expert-card .head .avatar { width: 36px; height: 36px; font-size: 12px; }
.expert-card .head .title { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.expert-card .head .sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.expert-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.expert-card .stat { padding: 10px; background: var(--surface-2); border-radius: var(--radius-2); border: 1px solid var(--border); }
.expert-card .stat .v { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.expert-card .stat .k { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* ============================================================ AMBIGUITY CARD
   Two-candidate variant of .decision. Used when the ranker returns ≥2
   candidates inside the margin threshold and the desk must ask.
   Visual signal: amber rail on the left (vs. accent rail on resolved
   decisions) so the user clocks "this needs me" at a glance.
*/
.ambig {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  position: relative;
}
.ambig::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: oklch(72% 0.16 70);
}
.ambig-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.ambig-head .dot { width: 6px; height: 6px; border-radius: 50%; background: oklch(72% 0.16 70); }
.ambig-head .label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.ambig-head .margin {
  font-size: 10.5px; color: oklch(45% 0.10 70);
  font-variant-numeric: tabular-nums;
  padding: 1px 7px;
  background: oklch(95% 0.04 70);
  border: 1px solid oklch(85% 0.08 70);
  border-radius: 999px;
}
[data-theme="dark"] .ambig-head .margin {
  color: oklch(80% 0.13 70);
  background: oklch(30% 0.06 70);
  border-color: oklch(40% 0.08 70);
}
.ambig-head .ts { margin-left: auto; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ambig-prompt {
  padding: 12px 14px 4px;
  font-size: 13px; color: var(--fg-2); line-height: 1.5;
}
.ambig-prompt b { color: var(--fg); font-weight: 600; }
.ambig-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.ambig-option {
  background: var(--surface);
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
  position: relative;
  transition: background var(--duration-1) var(--ease);
}
.ambig-option:hover { background: var(--surface-2); }
.ambig-option.recommended { background: var(--accent-soft); }
.ambig-option.recommended:hover { background: color-mix(in oklch, var(--accent-soft) 70%, var(--accent) 8%); }
.ambig-option .top {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
}
.ambig-option .key {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--muted);
}
.ambig-option.recommended .key { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.ambig-option .route { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ambig-option .route .icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; letter-spacing: -0.04em;
  flex-shrink: 0;
}
.ambig-option .route .icon.ye { background: oklch(85% 0.08 145); color: oklch(22% 0.05 145); }
.ambig-option .route .icon.ss { background: oklch(85% 0.10 60); color: oklch(28% 0.06 60); }
.ambig-option .route .meta { min-width: 0; }
.ambig-option .route .title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ambig-option .route .sub { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.ambig-option .conf { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.ambig-option .conf .bar { width: 28px; height: 4px; background: var(--border-2); border-radius: 2px; overflow: hidden; }
.ambig-option .conf .bar > i { display: block; height: 100%; background: var(--muted); border-radius: 2px; }
.ambig-option.recommended .conf .bar > i { background: var(--accent); }
.ambig-option .why {
  font-size: 12px; color: var(--fg-2); line-height: 1.5;
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
}
.ambig-option.recommended .why {
  background: color-mix(in oklch, var(--surface) 60%, transparent);
  border-color: color-mix(in oklch, var(--accent) 25%, transparent);
}
.ambig-option .why b { color: var(--fg); font-weight: 600; }
.ambig-option .why .mono { font-family: var(--font-mono); font-size: 11px; }
.ambig-option .badge-rec {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--accent);
  font-weight: 600;
}
.ambig-foot {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.ambig-foot .spacer { flex: 1; }
.ambig-foot .hint { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
