/* AQLYNTO web app styles. Brand tokens from the AQLYNTO brand strategy (Phase 4). */
:root {
  --forest: #214F3B; --forest-700: #183B2C; --forest-50: #EAF2EC;
  --graphite: #202923; --amber: #D6A343; --amber-ink: #7A5A12; --amber-50: #FBF3E1;
  --sage: #DCE8DF; --sky: #6C91A5; --sky-ink: #3F6A80; --sky-50: #E8F0F4;
  --white: #F7F7F2; --red: #B42318; --red-50: #FDECEA; --green: #1E7A46; --green-50: #E6F4EC;

  --bg: #F7F7F2; --surface: #FFFFFF; --surface-2: #F1F4EF; --line: #D9E1DA; --line-strong: #B9C6BC;
  --text: #202923; --muted: #55625A; --faint: #7A867E;
  --link: #214F3B; --brand: var(--forest); --brand-ink: #FFFFFF; --accent: var(--amber);
  --focus: 0 0 0 3px rgba(214, 163, 67, .55);
  --radius: 10px; --radius-lg: 14px; --shadow: 0 1px 2px rgba(32,41,35,.06), 0 4px 16px rgba(32,41,35,.06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Manrope', var(--font); --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141A16; --surface: #1C241F; --surface-2: #222C26; --line: #2F3B33; --line-strong: #44544A;
    --text: #EEF2EC; --muted: #B4C0B7; --faint: #8C998F; --forest-50: #1E3328; --amber-50: #3A2F17; --amber-ink: #F0CD80;
    --sky-50: #1D2C34; --sky-ink: #9CC2D6; --red-50: #3A1B18; --green-50: #17301F; --brand: #2E6B50; --link: #8FD0AE; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141A16; --surface: #1C241F; --surface-2: #222C26; --line: #2F3B33; --line-strong: #44544A;
  --text: #EEF2EC; --muted: #B4C0B7; --faint: #8C998F; --forest-50: #1E3328; --amber-50: #3A2F17; --amber-ink: #F0CD80;
  --sky-50: #1D2C34; --sky-ink: #9CC2D6; --red-50: #3A1B18; --green-50: #17301F; --brand: #2E6B50; --link: #8FD0AE; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .4em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 800; } h2 { font-size: 21px; font-weight: 750; } h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--link); }
svg.i { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .small { font-size: 14px; } .hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 600 16px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--forest); border-color: var(--forest); color: #fff; }
.btn.primary:hover { background: var(--forest-700); }
.btn.amber { background: var(--amber); border-color: var(--amber); color: #202923; }
.btn.danger { color: var(--red); border-color: #E3B4AF; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.sm { min-height: 40px; padding: 0 12px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

label.f { display: block; margin: 0 0 14px; }
label.f > span:first-child, .f-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.hint { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font: 16px var(--font); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: var(--focus); }
input.code { font: 600 26px var(--font-mono); letter-spacing: .4em; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--forest); flex: none; }
.pw-wrap { position: relative; } .pw-wrap .btn { position: absolute; right: 4px; top: 4px; min-height: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice { position: relative; display: flex; gap: 10px; align-items: center; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-weight: 600; }
.choice input { accent-color: var(--forest); width: 20px; height: 20px; flex: none; margin: 0; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--forest-50); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 14px; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert.error { background: var(--red-50); border-color: #E9B8B2; } .alert.error svg { color: var(--red); }
.alert.warn { background: var(--amber-50); border-color: #E8CF97; } .alert.warn svg { color: var(--amber-ink); }
.alert.ok { background: var(--green-50); border-color: #A9D5B9; } .alert.ok svg { color: var(--green); }
.alert.info { background: var(--sky-50); border-color: #B8D0DC; } .alert.info svg { color: var(--sky-ink); }
.alert p:last-child { margin: 0; }

/* ---------- chips (always word + icon, never colour alone) ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; line-height: 1.5; }
.chip svg { width: 16px; height: 16px; }
.chip.go, .chip.pass, .chip.done, .chip.ready { background: var(--green-50); color: var(--green); border-color: #A9D5B9; }
.chip.caution, .chip.warn, .chip.needs_attention, .chip.maintenance { background: var(--amber-50); color: var(--amber-ink); border-color: #E8CF97; }
.chip.stop, .chip.fail, .chip.retired { background: var(--red-50); color: var(--red); border-color: #E9B8B2; }
.chip.unknown, .chip.draft, .chip.cancelled, .chip.neutral { background: var(--surface-2); color: var(--muted); border-color: var(--line); }
.chip.scheduled, .chip.info { background: var(--sky-50); color: var(--sky-ink); border-color: #B8D0DC; }
.chip.in_progress { background: var(--forest); color: #fff; }
:root[data-theme="dark"] .chip.go, :root[data-theme="dark"] .chip.pass, :root[data-theme="dark"] .chip.done, :root[data-theme="dark"] .chip.ready { color: #8FD0AE; border-color: #2F5C42; }
:root[data-theme="dark"] .chip.stop, :root[data-theme="dark"] .chip.fail { color: #F3A39A; border-color: #6A2C26; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.go, :root:not([data-theme="light"]) .chip.pass, :root:not([data-theme="light"]) .chip.done, :root:not([data-theme="light"]) .chip.ready { color: #8FD0AE; border-color: #2F5C42; }
  :root:not([data-theme="light"]) .chip.stop, :root:not([data-theme="light"]) .chip.fail { color: #F3A39A; border-color: #6A2C26; } }

/* ---------- auth layout ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; }
.auth-brand { background: var(--forest); color: #F7F7F2; padding: 40px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.auth-brand h1 { font-size: 34px; color: #fff; max-width: 14em; }
.auth-brand ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-brand li { display: flex; gap: 12px; align-items: flex-start; color: #DCE8DF; }
.auth-brand li svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
.auth-brand .foot { color: #A9C2B3; font-size: 14px; }
.auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h2 { font-size: 26px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
.auth-alt { margin-top: 18px; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 22px 16px; gap: 10px; } .auth-brand h1 { font-size: 22px; margin: 6px 0 0; } .auth-brand ul, .auth-brand .foot { display: none; }
  .auth-main { padding: 24px 16px 40px; }
}

/* wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--font-head); letter-spacing: .14em; color: inherit; text-decoration: none; }
.badge-aql { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--amber); color: #202923; font: 800 12px/1 var(--font-head); letter-spacing: .04em; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--graphite); color: #DCE8DF; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.side .wordmark { color: #fff; padding: 4px 10px 16px; }
.side .org { padding: 10px; margin: 0 0 10px; border-radius: var(--radius); background: rgba(255,255,255,.06); font-size: 14px; }
.side .org b { display: block; color: #fff; font-size: 15px; }
.nav-group { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8FA597; padding: 12px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: var(--radius); color: #DCE8DF; text-decoration: none; font-weight: 600; }
.nav a svg { width: 21px; height: 21px; flex: none; opacity: .9; }
.nav a:hover { background: rgba(255,255,255,.07); }
.nav a.on { background: var(--forest); color: #fff; box-shadow: inset 3px 0 0 var(--amber); }
.side .spacer { flex: 1; }
.side .me { border-top: 1px solid rgba(255,255,255,.1); padding: 12px 10px 4px; font-size: 14px; }
.side .me b { color: #fff; display: block; }
.side .me .btn { margin-top: 8px; color: #DCE8DF; border-color: rgba(255,255,255,.2); background: transparent; width: 100%; }
.main { min-width: 0; }
.topbar { display: none; }
.content { padding: 28px 32px 64px; max-width: 1280px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.page-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 6px; } .crumbs a { color: var(--muted); }
.banner { padding: 8px 32px; font-size: 14px; background: var(--amber-50); color: var(--amber-ink); border-bottom: 1px solid #E8CF97; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.banner b { color: inherit; }
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 1200; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; }
  .shell.nav-open .side { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.4); }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; z-index: 1100; background: var(--graphite); color: #fff; padding: 6px 8px 6px 4px; }
  .topbar .btn { color: #fff; }
  .content { padding: 20px 16px 56px; }
  .banner { padding: 8px 16px; }
}

/* ---------- cards, tiles, tables ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.card > h3:first-child, .card > .card-head:first-child { margin-bottom: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.cols.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 1080px) { .cols, .cols.even { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.tile .k { color: var(--muted); font-size: 14px; font-weight: 600; }
.tile .v { font: 600 28px/1.2 var(--font-mono); margin-top: 6px; } .tile .v small { font-size: 15px; color: var(--muted); }
.tile .s { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border-radius: var(--radius); padding: 10px 12px; }
.stat .k { font-size: 13px; color: var(--muted); } .stat .v { font: 600 20px var(--font-mono); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -2px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr.link { cursor: pointer; } table.t tr.link:hover td { background: var(--surface-2); }
table.t td.n, table.t th.n { text-align: right; font-family: var(--font-mono); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .when { font: 600 15px var(--font-mono); min-width: 58px; color: var(--muted); }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; color: var(--line-strong); display: block; margin: 0 auto 10px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 600 15px var(--font); cursor: pointer; }
.tabs button.on { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.tabs button .cnt { font-family: var(--font-mono); opacity: .75; margin-left: 4px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.checks li .d { grid-column: 2; font-size: 14px; color: var(--muted); }
.progress { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.progress > i { display: block; height: 100%; background: var(--forest); }
.progress.warn > i { background: var(--amber); } .progress.stop > i { background: var(--red); }
.steps { display: flex; gap: 8px; margin-bottom: 18px; } .steps i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); } .steps i.on { background: var(--forest); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { display: flex; gap: 10px; align-items: center; min-height: 40px; }
.checklist li svg { width: 22px; height: 22px; } .checklist li.done { color: var(--muted); text-decoration: line-through; } .checklist li.done svg { color: var(--green); }

/* ---------- map ---------- */
.map { height: 460px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #DCE8DF; position: relative; z-index: 0; }
.map.tall { height: 560px; } .map.short { height: 300px; }
.map.no-tiles { background-color: #E7EFE8; background-image: linear-gradient(rgba(33,79,59,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(33,79,59,.07) 1px, transparent 1px); background-size: 32px 32px; }
@media (max-width: 640px) { .map, .map.tall { height: 380px; } }
.map-wrap { position: relative; margin-bottom: 14px; }
.map-tools { position: absolute; z-index: 600; top: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.map-tools .btn { min-height: 40px; box-shadow: var(--shadow); }
.map-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.map-hud { position: absolute; z-index: 600; left: 10px; bottom: 10px; background: rgba(32,41,35,.88); color: #fff; padding: 8px 12px; border-radius: var(--radius); font: 600 14px var(--font-mono); pointer-events: none; }
.aql-map-label { background: rgba(32,41,35,.85); color: #fff; border: 0; font: 600 13px var(--font); box-shadow: none; }
.aql-map-label::before { display: none; }
.leaflet-container { font: 14px var(--font); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.slider { width: 100%; accent-color: var(--forest); height: 32px; }

/* ---------- modal & toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20,26,22,.55); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h3 { font-size: 20px; }
.toast-box { position: fixed; z-index: 2100; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: center; background: var(--graphite); color: #fff; padding: 12px 16px; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.25); font-weight: 600; }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--amber); }
.toast.error svg { color: #F3A39A; } .toast.ok svg { color: #8FD0AE; }
.loading { padding: 48px; text-align: center; color: var(--muted); }
.spin { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--forest); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } .side { transition: none; } }
.dev-code { display: inline-block; font: 700 18px var(--font-mono); letter-spacing: .15em; background: var(--surface); border: 1px dashed var(--amber); padding: 2px 10px; border-radius: 8px; }

/* ---------- field scans ---------- */
.scan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.scan-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.scan-card:hover { border-color: var(--line-strong); }
.card .scan-card { box-shadow: none; }
.scan-thumb { background: var(--surface-2); height: 170px; display: grid; place-items: center; padding: 10px; }
.scan-thumb img { max-width: 100%; max-height: 150px; image-rendering: auto; }
.scan-meta { padding: 12px 14px 14px; }
.ramp { max-width: 520px; }
.ramp-bar { height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.ramp-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.zone-bar { display: flex; height: 18px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.zone-bar i { display: block; height: 100%; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.gallery figure:hover { border-color: var(--amber); }
.gallery img { display: block; width: 100%; height: 160px; object-fit: contain; padding: 8px; }
.gallery figcaption { padding: 8px 10px 10px; display: grid; gap: 2px; background: var(--surface); font-size: 14px; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.findings > li { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.findings > li:last-child { border-bottom: 0; padding-bottom: 0; }
.findings .grow { flex: 1; min-width: 240px; }
.fx-imgs { display: flex; gap: 8px; }
.fx-imgs figure { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.fx-imgs img { width: 130px; height: 130px; border-radius: 8px; display: block; border: 1px solid var(--line); }
.fx-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--graphite); color: #fff; font: 700 14px var(--font-mono); margin-right: 8px; vertical-align: 1px; }
.option-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 12px; }
.option-box.on { border-color: var(--forest); background: var(--forest-50); }
.option-box h4 { margin: 0 0 4px; font-size: 16px; }
ol.how { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; }
table.t td.n { white-space: nowrap; }
