:root {
  --bg: #05070d;
  --panel: rgba(12, 18, 30, 0.82);
  --panel-solid: #0c121e;
  --border: rgba(89, 243, 255, 0.14);
  --border-strong: rgba(89, 243, 255, 0.28);
  --text: #e8f1f8;
  --muted: #8fa3b8;
  --faint: #74889d;
  --cyan: #59f3ff;
  --amber: #ffb45c;
  --violet: #8b5cf6;
  --danger: #ff6b6b;
  --success: #5ce1a4;
  --radius-panel: 16px;
  --radius-card: 12px;
  --radius-control: 10px;
  --font: -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: 200ms ease;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }

a { color: var(--cyan); text-underline-offset: 3px; }

[hidden] { display: none !important; }

::selection { background: rgba(89, 243, 255, .22); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 68vw;
  height: 68vw;
  max-width: 920px;
  max-height: 920px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .13;
  pointer-events: none;
}

.ambient-cyan {
  top: -32vw;
  right: -15vw;
  background: radial-gradient(circle, rgba(89, 243, 255, .8), transparent 66%);
}

.ambient-violet {
  bottom: -38vw;
  left: -22vw;
  background: radial-gradient(circle, rgba(139, 92, 246, .75), transparent 68%);
}

/* ── Startup ──────────────────────────────────────────────── */
.startup {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.start-panel {
  width: min(480px, calc(100vw - 32px));
  padding: 42px 40px 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  animation: panel-in 650ms cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kicker,
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.start-panel h1 {
  margin: 16px 0 6px;
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .01em;
}

.subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.field-label,
.field > label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.key-field { position: relative; }

.key-field input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 14px;
  background: rgba(3, 7, 14, .6);
  border: 1px solid rgba(143, 163, 184, .24);
  border-radius: var(--radius-control);
  font-family: var(--mono);
  font-size: 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.key-field input:focus {
  border-color: var(--border-strong);
  outline: none;
  box-shadow: 0 0 0 3px rgba(89, 243, 255, .08);
}

.key-field input::placeholder { color: #52687e; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: color var(--ease), background var(--ease);
}

.icon-button:hover { color: var(--text); background: rgba(143, 163, 184, .08); }

.key-field .icon-button {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 36px;
  height: 36px;
}

.eye-closed { display: none; }
.icon-button[aria-pressed="true"] .eye-open { display: none; }
.icon-button[aria-pressed="true"] .eye-closed { display: block; }

.form-error {
  min-height: 20px;
  margin: 6px 0 2px;
  color: var(--amber);
  font-size: 12.5px;
  line-height: 1.5;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-control);
  font-weight: 550;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), opacity var(--ease);
}

.primary-button {
  border: 1px solid rgba(89, 243, 255, .45);
  background: linear-gradient(180deg, rgba(89, 243, 255, .19), rgba(89, 243, 255, .09));
  color: #dffcff;
  box-shadow: 0 0 0 1px rgba(89, 243, 255, .04) inset;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(89, 243, 255, .7);
  background: linear-gradient(180deg, rgba(89, 243, 255, .26), rgba(89, 243, 255, .12));
}

.primary-button:active:not(:disabled) { transform: translateY(0); }

.secondary-button {
  border: 1px solid rgba(143, 163, 184, .2);
  background: rgba(143, 163, 184, .04);
  color: var(--text);
}

.secondary-button:hover:not(:disabled) {
  border-color: rgba(89, 243, 255, .36);
  background: rgba(89, 243, 255, .06);
}

.start-button { width: 100%; margin-top: 4px; }

.spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(223, 252, 255, .25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.privacy-note,
.status-note {
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: center;
}

.status-note { margin-top: 5px; }

/* ── Workbench shell ──────────────────────────────────────── */
#workspace-root { position: relative; z-index: 1; }

.shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 22px 30px 26px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(143, 163, 184, .12);
}

.brand-cluster { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(89, 243, 255, .5);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 22px rgba(89, 243, 255, .12) inset;
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  opacity: .8;
}
.brand-mark::before { left: 7px; top: 13px; width: 14px; height: 1px; }
.brand-mark::after { left: 13px; top: 7px; width: 1px; height: 14px; }

.brand-name { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.brand-sub { margin: 0; color: var(--faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; }

.engine-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.online { display: inline-flex; align-items: center; gap: 7px; color: var(--success); white-space: nowrap; }
.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(92, 225, 164, .6);
}

.model-label {
  max-width: 250px;
  overflow: hidden;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-label {
  padding: 2px 7px;
  border: 1px solid rgba(143, 163, 184, .18);
  border-radius: 999px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar-actions { display: flex; gap: 6px; }

.text-button {
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  transition: color var(--ease), background var(--ease);
}
.text-button:hover { color: var(--text); background: rgba(143, 163, 184, .08); }
.danger-text:hover { color: var(--amber); }

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 15px 0;
}

.tab {
  position: relative;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  transition: color var(--ease), background var(--ease), border-color var(--ease);
}
.tab:hover { color: var(--text); background: rgba(143, 163, 184, .05); }
.tab.is-active { color: var(--text); background: rgba(89, 243, 255, .07); border-color: rgba(89, 243, 255, .18); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -17px;
  height: 1px;
  background: var(--cyan);
  opacity: .55;
}

.phase-note { margin-left: auto; color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .04em; }

.workspace { margin-top: 4px; }

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr);
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.input-panel { padding: 22px; }

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h2,
.command-panel h2 {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.35;
}

.subtle { color: var(--faint); font-size: 11.5px; }
.muted { color: var(--muted); font-size: 13px; }

.control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }

select,
textarea {
  width: 100%;
  border: 1px solid rgba(143, 163, 184, .2);
  border-radius: var(--radius-control);
  background: rgba(3, 7, 14, .52);
  transition: border-color var(--ease), box-shadow var(--ease);
}

select {
  height: 42px;
  padding: 0 34px 0 11px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  font-size: 13px;
}

select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(89, 243, 255, .45);
  box-shadow: 0 0 0 3px rgba(89, 243, 255, .06);
}

textarea {
  display: block;
  min-height: 220px;
  height: clamp(220px, 25vh, 300px);
  padding: 14px;
  resize: vertical;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
}

textarea::placeholder { color: #53687d; }

.small-textarea { height: auto; min-height: 88px; font-size: 12.5px; }

.segmented {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(143, 163, 184, .16);
  border-radius: 9px;
  background: rgba(3, 7, 14, .38);
}

.segment {
  flex: 0 0 auto;
  padding: 6px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.segment.is-active { background: rgba(89, 243, 255, .12); color: var(--text); }
.segment-note { margin-left: auto; padding-right: 9px; color: var(--faint); font-size: 10.5px; }

.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.char-count { color: var(--faint); font-family: var(--mono); font-size: 10.5px; }
.char-count.is-over { color: var(--danger); }

.drop-zone { position: relative; border-radius: var(--radius-control); transition: box-shadow var(--ease); }
.drop-zone.is-dragging { box-shadow: 0 0 0 2px rgba(89, 243, 255, .36); }

.drop-hint { margin-top: 7px; color: var(--faint); font-size: 10.5px; }

.file-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.file-note { color: var(--faint); font-size: 10.5px; }

.advanced {
  margin: 14px 0 10px;
  border-top: 1px solid rgba(143, 163, 184, .1);
  padding-top: 13px;
}
.advanced summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.advanced summary:hover { color: var(--text); }
.advanced-body { padding-top: 13px; }

.check-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.check-row input { margin-top: 3px; accent-color: var(--cyan); }

.submit-row { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.submit-hint { color: var(--faint); font-size: 10.5px; line-height: 1.5; }
#audit-button { min-width: 132px; }

/* ── Results ───────────────────────────────────────────────── */
.result-column { display: flex; flex-direction: column; gap: 12px; }

.recent-box {
  background: rgba(12, 18, 30, .55);
  border: 1px solid rgba(143, 163, 184, .12);
  border-radius: 12px;
  padding: 10px 14px;
}
.recent-box summary { cursor: pointer; color: var(--muted); font-size: 11.5px; }
.recent-box summary:hover { color: var(--text); }
.recent-list { display: flex; flex-direction: column; gap: 4px; margin-top: 9px; }
.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  text-align: left;
}
.recent-item:hover { background: rgba(143, 163, 184, .06); color: var(--text); }
.recent-item .recent-meta { color: var(--faint); font-family: var(--mono); font-size: 9.5px; white-space: nowrap; }

.result-panel { padding: 22px; min-height: 420px; }
.result-heading-row { margin-bottom: 18px; }
.result-status { color: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }

.empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 20px 8px;
}
.empty-title { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.empty-state .muted { margin: 0; }

.empty-mark { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: 34px; opacity: .5; }
.empty-mark span { display: block; width: 2px; background: var(--cyan); border-radius: 2px; }
.empty-mark span:nth-child(1) { height: 12px; opacity: .35; }
.empty-mark span:nth-child(2) { height: 28px; opacity: .6; }
.empty-mark span:nth-child(3) { height: 42px; opacity: .85; }

.loading-state { min-height: 280px; padding: 34px 8px; }
.loading-top { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 13px; }
.small-spinner {
  width: 12px; height: 12px;
  border: 1.5px solid rgba(89, 243, 255, .22);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.stage-dots { display: flex; gap: 8px; margin: 22px 0 14px; }
.stage-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #233246;
  transition: background var(--ease), transform var(--ease);
}
.stage-dot.is-active { background: var(--cyan); transform: scale(1.35); box-shadow: 0 0 10px rgba(89, 243, 255, .4); }
.stage-dot.is-done { background: rgba(89, 243, 255, .38); }
.loading-note { margin: 0; color: var(--faint); font-size: 10.5px; }

.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.summary-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 10px 9px;
  border: 1px solid rgba(143, 163, 184, .13);
  border-radius: 10px;
  background: rgba(3, 7, 14, .33);
}
.summary-key { font-family: var(--mono); font-size: 9px; letter-spacing: .07em; }
.summary-card strong { font-family: var(--mono); font-size: 22px; font-weight: 500; line-height: 1.1; }
.summary-desc { color: var(--faint); font-size: 9px; line-height: 1.4; }
.severity-p0 .summary-key, .severity-p0 strong { color: var(--danger); }
.severity-p1 .summary-key, .severity-p1 strong { color: var(--amber); }
.severity-p2 .summary-key, .severity-p2 strong { color: var(--cyan); }
.severity-unknown .summary-key, .severity-unknown strong { color: var(--muted); }

.coverage-row { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; color: var(--faint); font-size: 10.5px; }

.filters { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.confidence-note { margin: 0 0 12px; color: var(--faint); font-size: 9.5px; line-height: 1.5; }
.filter {
  padding: 4px 9px;
  border: 1px solid rgba(143, 163, 184, .14);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
}
.filter:hover { border-color: rgba(143, 163, 184, .3); color: var(--text); }
.filter.is-active { border-color: rgba(89, 243, 255, .3); background: rgba(89, 243, 255, .08); color: var(--text); }

.issue-list { display: flex; flex-direction: column; gap: 10px; }
.issue-card {
  border: 1px solid rgba(143, 163, 184, .14);
  border-radius: var(--radius-card);
  background: rgba(3, 7, 14, .3);
  padding: 14px;
}
.issue-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.issue-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.tag {
  padding: 2px 6px;
  border: 1px solid rgba(143, 163, 184, .16);
  border-radius: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .03em;
}
.tag.severity-P0 { color: var(--danger); border-color: rgba(255, 107, 107, .32); }
.tag.severity-P1 { color: var(--amber); border-color: rgba(255, 180, 92, .32); }
.tag.severity-P2 { color: var(--cyan); border-color: rgba(89, 243, 255, .24); }
.tag.cannot { color: var(--muted); border-style: dashed; }
.confidence { color: var(--faint); font-family: var(--mono); font-size: 9px; white-space: nowrap; }

.issue-quote {
  margin: 0 0 11px;
  padding: 8px 11px;
  border-left: 2px solid rgba(89, 243, 255, .4);
  background: rgba(89, 243, 255, .035);
  color: #cbdce8;
  font-size: 12.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.issue-field { margin: 8px 0 0; font-size: 12px; line-height: 1.65; }
.issue-field .field-name { display: block; margin-bottom: 1px; color: var(--faint); font-size: 9.5px; letter-spacing: .04em; }
.issue-field.verification .field-name { margin-bottom: 3px; }
.verification-list { margin: 0; padding-left: 17px; color: var(--muted); }
.verification-list li { margin: 2px 0; }
.verification-list li::marker { color: var(--cyan); }

.candidate-fix {
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 180, 92, .3);
  border-radius: 7px;
  color: var(--amber);
  font-size: 11px;
  line-height: 1.55;
}

.feedback-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(143, 163, 184, .08); }
.feedback-button {
  padding: 3px 7px;
  border: 1px solid rgba(143, 163, 184, .13);
  border-radius: 5px;
  background: transparent;
  color: var(--faint);
  font-size: 10px;
}
.feedback-button:hover { color: var(--text); border-color: rgba(143, 163, 184, .28); }
.feedback-button.is-selected { color: var(--success); border-color: rgba(92, 225, 164, .3); background: rgba(92, 225, 164, .05); }

.no-issues {
  padding: 32px 12px;
  border: 1px dashed rgba(143, 163, 184, .18);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(143, 163, 184, .1); }
.result-actions .secondary-button { min-height: 34px; padding: 0 10px; font-size: 11px; }
.action-note { color: var(--faint); font-size: 9.5px; }

.report-preview { margin-top: 12px; }
.report-preview summary { cursor: pointer; color: var(--muted); font-size: 11px; }
.report-preview pre {
  max-height: 320px;
  overflow: auto;
  margin: 9px 0 0;
  padding: 11px;
  border: 1px solid rgba(143, 163, 184, .12);
  border-radius: 8px;
  background: rgba(3, 7, 14, .5);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ── Command placeholder ──────────────────────────────────── */
.command-panel { padding: 40px; }
.command-panel h2 { margin-top: 6px; }
.command-copy { max-width: 760px; margin: 12px 0 26px; line-height: 1.8; }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 820px; }
.phase-grid > div { padding: 16px; border: 1px solid rgba(143, 163, 184, .12); border-radius: 10px; background: rgba(3, 7, 14, .3); }
.phase-index { color: var(--cyan); font-family: var(--mono); font-size: 10px; }
.phase-grid p { margin: 7px 0 1px; font-size: 13px; }
.phase-grid .subtle { font-size: 10px; }

/* ── Toast, footer, dialogs ───────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  transform: translateX(-50%);
  max-width: min(460px, calc(100vw - 32px));
  padding: 9px 14px;
  border: 1px solid rgba(89, 243, 255, .25);
  border-radius: 8px;
  background: rgba(12, 18, 30, .96);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .4);
  color: var(--text);
  font-size: 12px;
  text-align: center;
}
.toast.is-error { border-color: rgba(255, 180, 92, .35); color: var(--amber); }

.footline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(143, 163, 184, .08);
  color: var(--faint);
  font-size: 10px;
}
#version-label { font-family: var(--mono); }

dialog {
  color: var(--text);
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
dialog::backdrop { background: rgba(2, 4, 9, .72); backdrop-filter: blur(3px); }

.drawer-dialog {
  width: min(440px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 40px));
  margin: auto 20px auto auto;
  padding: 0;
}
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 22px 22px 16px; border-bottom: 1px solid rgba(143, 163, 184, .12); }
.drawer-head h2 { margin: 3px 0 0; font-size: 20px; }
.drawer-body { padding: 18px 22px 24px; overflow-y: auto; max-height: calc(100dvh - 150px); }
.drawer-body section { padding: 14px 0; border-bottom: 1px solid rgba(143, 163, 184, .08); }
.drawer-body section:last-child { border-bottom: 0; }
.drawer-body h3 { margin: 0 0 8px; color: var(--text); font-size: 12px; font-weight: 550; }
.drawer-body p { margin: 5px 0; }
.settings-list { margin: 0; }
.settings-list > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 4px 0; }
.settings-list dt { color: var(--faint); font-size: 11px; }
.settings-list dd { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 10.5px; text-align: right; overflow-wrap: anywhere; }
.privacy-link { font-size: 12px; }

.confirm-dialog { width: min(460px, calc(100vw - 28px)); padding: 26px; }
.confirm-dialog h2 { margin: 7px 0 10px; font-size: 20px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.dialog-actions .secondary-button, .dialog-actions .primary-button { min-height: 40px; font-size: 12px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 600px) and (max-width: 900px) {
  .start-panel { width: min(440px, calc(100vw - 32px)); }
  .start-panel h1 { font-size: 36px; }
}

@media (max-width: 980px) {
  .audit-grid { grid-template-columns: 1fr; }
  .result-panel { min-height: 360px; }
  .engine-meta { margin-left: auto; }
}

@media (max-width: 760px) {
  .start-panel { padding: 32px 22px 25px; }
  .start-footnote { display: none; }
  .shell { padding: 16px 14px 22px; }
  .topbar { flex-wrap: wrap; gap: 11px 16px; }
  .engine-meta { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 9px 13px; }
  .topbar-actions { margin-left: auto; }
  .model-label { max-width: 190px; }
  .tabs { overflow-x: auto; }
  .phase-note { display: none; }
  .input-panel, .result-panel { padding: 17px; }
  .control-row { grid-template-columns: 1fr; }
  .panel-heading { flex-direction: column; gap: 4px; }
  .panel-heading .subtle { display: none; }
  .summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-row { align-items: stretch; flex-direction: column; gap: 8px; }
  #audit-button { width: 100%; }
  .coverage-row { flex-direction: column; gap: 2px; }
  .phase-grid { grid-template-columns: 1fr; }
  .command-panel { padding: 22px; }
  .drawer-dialog { margin: auto 12px auto auto; }
  .footline { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  .startup { padding: 16px; }
  .start-panel { width: 100%; }
  .start-panel h1 { font-size: 28px; }
  .kicker { font-size: 9px; letter-spacing: .1em; }
  .topbar-actions { padding-right: 0; }
  .brand-sub { display: none; }
  .filters { gap: 4px; }
  .filter { font-size: 10px; }
  .result-actions .secondary-button { flex: 1 1 45%; }
  .action-note { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .start-panel { animation: none; }
}

/* ── Phase 2 · command workspace ─────────────────────────── */
.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(380px, 1fr);
  gap: 20px;
  align-items: start;
}

input[type="number"],
input[type="time"] {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(143, 163, 184, .2);
  border-radius: var(--radius-control);
  background: rgba(3, 7, 14, .52);
  color: var(--text);
  font-size: 13px;
  color-scheme: dark;
}

input[type="number"]:focus,
input[type="time"]:focus {
  outline: none;
  border-color: rgba(89, 243, 255, .45);
  box-shadow: 0 0 0 3px rgba(89, 243, 255, .06);
}

.command-form .command-intent {
  height: 178px;
  min-height: 150px;
}

.command-form .command-loops {
  height: 108px;
  min-height: 88px;
  font-size: 12.5px;
}

.command-check {
  min-height: 42px;
  margin: 0;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(143, 163, 184, .16);
  border-radius: var(--radius-control);
  background: rgba(3, 7, 14, .35);
}

.command-check input { margin-top: 0; }

.command-result-panel { min-height: 460px; }
.command-result { display: flex; flex-direction: column; gap: 14px; }

.command-kind {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.command-kind .tag { font-size: 9.5px; }
.command-kind .kind-main { color: var(--cyan); border-color: rgba(89, 243, 255, .3); }

.command-intro {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 550;
}

.command-why {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid rgba(255, 180, 92, .45);
  background: rgba(255, 180, 92, .035);
  color: #cbdce8;
  font-size: 12.5px;
  line-height: 1.7;
}

.command-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.command-meta {
  padding: 8px 10px;
  border: 1px solid rgba(143, 163, 184, .11);
  border-radius: 8px;
  background: rgba(3, 7, 14, .26);
}
.command-meta dt { color: var(--faint); font-size: 9.5px; }
.command-meta dd { margin: 2px 0 0; color: var(--text); font-size: 12px; overflow-wrap: anywhere; }
.command-meta dd.mono { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

.command-section { border-top: 1px solid rgba(143, 163, 184, .09); padding-top: 10px; }
.command-section h3 { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .04em; }
.command-section ul { margin: 0; padding-left: 17px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.command-section li::marker { color: var(--cyan); }
.command-section.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.risk-panel {
  border: 1px solid rgba(255, 180, 92, .2);
  background: rgba(255, 180, 92, .035);
  border-radius: 9px;
  padding: 10px 12px;
}
.risk-panel.is-low { border-color: rgba(92, 225, 164, .18); background: rgba(92, 225, 164, .025); }
.risk-line { display: flex; flex-wrap: wrap; gap: 5px 14px; color: var(--muted); font-size: 10.5px; }
.risk-line strong { color: var(--amber); font-weight: 550; }
.risk-panel.is-low .risk-line strong { color: var(--success); }
.rollback-text { margin: 6px 0 0; color: var(--faint); font-size: 10.5px; line-height: 1.6; }

.checkpoint-box {
  padding: 10px 12px;
  border: 1px dashed rgba(89, 243, 255, .22);
  border-radius: 9px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.checkpoint-box strong { color: var(--text); font-weight: 550; }

.command-confirm-dialog { width: min(560px, calc(100vw - 28px)); }
.confirm-details { margin-top: 12px; }
.confirm-list { margin: 0; }
.confirm-list > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(143, 163, 184, .08); }
.confirm-list dt { color: var(--faint); font-size: 11px; }
.confirm-list dd { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; overflow-wrap: anywhere; }
.confirm-question { margin: 14px 0 0; color: var(--text); font-size: 13px; line-height: 1.65; }
.confirm-error { min-height: 18px; margin: 8px 0 0; }

.confirm-button { min-height: 34px; padding: 0 12px; font-size: 11px; }

.plan-summary {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}
.plan-block { margin: 0; }
.plan-block h3 { margin: 0 0 6px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .04em; }
.plan-must { display: flex; flex-direction: column; gap: 6px; }
.plan-must-card {
  padding: 9px 10px;
  border: 1px solid rgba(89, 243, 255, .13);
  border-radius: 8px;
  background: rgba(89, 243, 255, .025);
}
.plan-must-top { display: flex; justify-content: space-between; gap: 10px; }
.plan-must-top strong { font-size: 12px; font-weight: 550; }
.plan-minutes { color: var(--cyan); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.plan-must p { margin: 3px 0 0; color: var(--faint); font-size: 10.5px; line-height: 1.55; }
.plan-list { margin: 0; padding-left: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.plan-list li { margin: 2px 0; }
.plan-list li::marker { color: var(--faint); }
.plan-stop {
  padding: 9px 10px;
  border: 1px dashed rgba(255, 180, 92, .26);
  border-radius: 8px;
  color: var(--amber);
  font-size: 11.5px;
  line-height: 1.6;
}
.plan-interventions { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-pill { padding: 4px 7px; border: 1px solid rgba(143, 163, 184, .14); border-radius: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; }
.clarify-questions { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.clarify-answer { width: 100%; min-height: 86px; height: 86px; margin-top: 10px; }
.clarify-actions { display: flex; gap: 7px; margin-top: 8px; }
.noop-box { padding: 14px; border: 1px solid rgba(143, 163, 184, .14); border-radius: 9px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.noop-box strong { display: block; margin-bottom: 4px; color: var(--text); font-weight: 550; }

@media (max-width: 1080px) {
  .command-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .command-form .command-intent { height: 160px; }
  .command-meta-grid { grid-template-columns: 1fr; }
  .command-section.two-col { grid-template-columns: 1fr; gap: 10px; }
  .confirm-list > div { grid-template-columns: 78px 1fr; }
  .command-result-panel { padding: 17px; }
  .result-actions .confirm-button { flex: 1 1 45%; }
}


/* ── Phase 3 · execution state ───────────────────────────── */
.execution-box {
  padding: 11px 12px;
  border: 1px solid rgba(143, 163, 184, .16);
  border-radius: 9px;
  background: rgba(3, 7, 14, .35);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.execution-box.is-success { border-color: rgba(92, 225, 164, .26); background: rgba(92, 225, 164, .035); color: #bdebd8; }
.execution-box.is-warning { border-color: rgba(255, 180, 92, .26); background: rgba(255, 180, 92, .035); color: #ebd0ae; }
.execution-box.is-error { border-color: rgba(255, 107, 107, .28); background: rgba(255, 107, 107, .035); color: #ffc4c4; }
.execution-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 4px; }
.execution-status strong { color: var(--text); font-weight: 550; }
.execution-box p { margin: 3px 0 0; }
.execution-meta { color: var(--faint); font-family: var(--mono); font-size: 9.5px; }


/* ── Phase 4 · settings data controls ────────────────────── */
.settings-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0 4px; }
.small-button { min-height: 32px; padding: 0 10px; font-size: 10.5px; }
.delete-data-button { margin-left: auto; color: var(--danger); }
.delete-data-button:hover { color: #ff9b9b; background: rgba(255, 107, 107, .08); }
.data-counts { margin: 8px 0 4px; }
.danger-button { border-color: rgba(255, 107, 107, .45); color: #ffd0d0; background: rgba(255, 107, 107, .12); }
.danger-button:hover:not(:disabled) { border-color: rgba(255, 107, 107, .75); background: rgba(255, 107, 107, .2); }
#delete-confirm-input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid rgba(255, 107, 107, .3); border-radius: var(--radius-control); background: rgba(3, 7, 14, .52); color: var(--text); font-family: var(--mono); font-size: 13px; }
#delete-confirm-input:focus { outline: none; border-color: rgba(255, 107, 107, .7); }

/* ── V1.1 · model settings ─────────────────────────────── */
.settings-field { margin: 10px 0 12px; }
.settings-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.settings-field input,
.settings-field select {
  width: 100%;
  height: 38px;
  font-size: 12px;
}
.settings-field input {
  padding: 0 10px;
  border: 1px solid rgba(143, 163, 184, .2);
  border-radius: var(--radius-control);
  background: rgba(3, 7, 14, .52);
  color: var(--text);
  font-family: var(--mono);
}
.settings-field input:focus { outline: none; border-color: rgba(89, 243, 255, .45); }
.model-key-status {
  margin: 6px 0 0;
  color: var(--amber);
  font-size: 11px;
}
.model-key-status.is-ready { color: var(--success); }
.model-key-status.is-invalid { color: var(--danger); }
.settings-meta { margin-top: 12px; border-top: 1px solid rgba(143, 163, 184, .08); padding-top: 8px; }

/* ── V1.2 · dual mode + developer panel ───────────────────── */
.dual-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(143, 163, 184, .1);
}
.mode-card {
  padding: 10px 11px;
  border: 1px solid rgba(143, 163, 184, .12);
  border-radius: 8px;
  background: rgba(3, 7, 14, .28);
}
.mode-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
}
.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}
.dev-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
}
.dev-row code {
  overflow: hidden;
  padding: 6px 8px;
  border: 1px solid rgba(143, 163, 184, .12);
  border-radius: 6px;
  background: rgba(3, 7, 14, .42);
  color: var(--text);
  font-family: var(--mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dev-row .text-button { white-space: nowrap; }
.dev-example { margin: 8px 0; }
.dev-example summary { color: var(--muted); cursor: pointer; font-size: 11px; }
.dev-example pre {
  overflow-x: auto;
  margin: 8px 0 0;
  padding: 9px;
  border: 1px solid rgba(143, 163, 184, .12);
  border-radius: 6px;
  background: rgba(3, 7, 14, .48);
  color: var(--text);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
@media (max-width: 620px) {
  .dual-mode { grid-template-columns: 1fr; }
  .dev-row { grid-template-columns: 72px minmax(0, 1fr); }
  .dev-row .text-button { grid-column: 2; justify-self: start; padding-left: 0; }
}

/* ── V1.3 · launch transition (1.2–1.5s) ─────────────────── */
.start-button.is-charging:not(:disabled),
.start-button.is-charging:disabled {
  opacity: 1;
  border-color: rgba(89, 243, 255, .75);
  box-shadow: 0 0 0 1px rgba(89, 243, 255, .18), 0 0 26px rgba(89, 243, 255, .24), inset 0 0 18px rgba(89, 243, 255, .1);
  animation: launch-charge 780ms ease-in-out infinite alternate;
}
@keyframes launch-charge {
  from { box-shadow: 0 0 0 1px rgba(89, 243, 255, .16), 0 0 18px rgba(89, 243, 255, .16); }
  to { box-shadow: 0 0 0 1px rgba(89, 243, 255, .5), 0 0 34px rgba(255, 180, 92, .2), inset 0 0 22px rgba(89, 243, 255, .12); }
}
.startup.is-launching { pointer-events: none; }
.startup.is-converging .start-panel {
  animation: none;
  opacity: 0;
  transform: scale(.965) translateY(-4px);
  transition: opacity 260ms cubic-bezier(.4, 0, 1, 1), transform 260ms cubic-bezier(.4, 0, 1, 1);
  pointer-events: none;
}
.launch-transition {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 260ms ease-out;
}
.launch-transition.is-fading { opacity: 0; }
.launch-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(89, 243, 255, .10), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 180, 92, .045), transparent 48%);
  opacity: .7;
}
.launch-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #dfffff;
  box-shadow: 0 0 12px rgba(89, 243, 255, .9), 0 0 38px rgba(89, 243, 255, .45), 0 0 90px rgba(139, 92, 246, .3);
  transform: scale(.2);
  opacity: 0;
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), opacity 180ms ease-out;
}
.launch-transition.is-burst .launch-core {
  opacity: 1;
  transform: scale(1);
  animation: launch-core-flash 420ms cubic-bezier(.2, .7, .2, 1) both;
}
.launch-ring,
.launch-ring::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 1px solid rgba(89, 243, 255, .7);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.2);
}
.launch-transition.is-burst .launch-ring {
  animation: launch-ripple 760ms cubic-bezier(.1, .7, .2, 1) both;
}
.launch-transition.is-burst .launch-ring::after {
  content: '';
  animation: launch-ripple 760ms 90ms cubic-bezier(.1, .7, .2, 1) both;
}
@keyframes launch-core-flash {
  0% { opacity: 0; transform: scale(.2); }
  21% { opacity: 1; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(2.4); }
}
@keyframes launch-ripple {
  0% { opacity: .55; transform: scale(.15); }
  42% { opacity: .28; }
  100% { opacity: 0; transform: scale(8.5); }
}
.launch-transition.is-reduced .launch-core,
.launch-transition.is-reduced .launch-ring,
.launch-transition.is-reduced .launch-ring::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .start-button.is-charging { animation: none; }
  .startup.is-converging .start-panel { transition-duration: 120ms; }
  .launch-core, .launch-ring, .launch-ring::after { animation: none !important; }
}

/* ── V2.0 · holistic state dashboard + skill ──────────────── */
.status-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: 16px;
  align-items: start;
}
.status-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; grid-column: 1 / -1; }
.status-hero h2 { margin: 6px 0; font-size: 26px; }
.state-cards { display: grid; gap: 12px; }
.state-card { padding: 16px; }
.state-card-label { margin: 0; color: var(--faint); font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; }
.state-card strong { display: block; margin: 4px 0 0; color: var(--cyan); font-family: var(--mono); font-size: 34px; font-weight: 400; line-height: 1.1; }
.state-card-status { margin: 4px 0 0; color: var(--amber); font-family: var(--mono); font-size: 10px; }
.state-card-status.is-ok { color: var(--success); }
.state-card-status.is-warning { color: var(--danger); }
.state-card-status.is-unknown { color: var(--faint); }
.state-card-message { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.radar-panel { min-height: 420px; }
.radar-panel h3 { margin: 6px 0 0; font-size: 18px; }
.radar-chart { display: grid; place-items: center; min-height: 330px; }
.radar-chart svg { width: min(100%, 380px); height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: rgba(143, 163, 184, .15); stroke-width: 1; }
.radar-axis { stroke: rgba(143, 163, 184, .12); stroke-width: 1; }
.radar-poly { fill: rgba(89, 243, 255, .12); stroke: var(--cyan); stroke-width: 1.4; filter: drop-shadow(0 0 8px rgba(89, 243, 255, .25)); }
.radar-dot { fill: var(--cyan); }
.radar-label { fill: var(--muted); font-family: var(--mono); font-size: 10px; text-anchor: middle; }
.radar-score { fill: var(--text); font-family: var(--mono); font-size: 10px; text-anchor: middle; }
.state-disclaimer { grid-column: 1 / -1; margin: 0; color: var(--faint); font-size: 10.5px; line-height: 1.6; }
.skill-prompt { max-height: 220px; overflow: auto; margin: 8px 0; padding: 10px; border: 1px solid rgba(143, 163, 184, .12); border-radius: 6px; background: rgba(3, 7, 14, .48); color: var(--muted); font-family: var(--mono); font-size: 9.5px; line-height: 1.7; white-space: pre-wrap; }
@media (max-width: 980px) {
  .status-grid { grid-template-columns: 1fr; }
  .status-hero { flex-direction: column; }
  .radar-panel { min-height: 360px; }
}

/* ── V2.1 · ground truth + advanced settings ─────────────── */
.ground-truth-field { margin-top: 4px; }
.ground-truth-field .small-textarea { min-height: 76px; }
.settings-advanced {
  border-top: 1px solid rgba(143, 163, 184, .08);
  padding: 10px 0;
}
.settings-advanced > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}
.settings-advanced > summary::-webkit-details-marker { display: none; }
.settings-advanced > summary::before {
  content: '+';
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 14px;
}
.settings-advanced[open] > summary::before { content: '−'; }
.advanced-tag {
  padding: 1px 6px;
  border: 1px solid rgba(143, 163, 184, .16);
  border-radius: 4px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
}
.settings-advanced-body { padding-top: 4px; }
.settings-advanced-body > section { padding: 12px 0; }
.dev-config-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 4px;
  color: var(--muted);
  font-size: 11px;
}
.dev-config { max-height: 190px; font-size: 9px; }
