/* ── Iris — dark field UI ───────────────────────────────────────────────────
   Self-styled (does NOT consume shared/porter-tokens.css). The field-at-night
   use-case requires a dark, low-glare surface everywhere — a documented per-app
   divergence (DESIGN-ROLLOUT). Still follows the shared header spine + Penny
   rail conventions.

   Two colour channels kept strictly separate:
     · device identity  — ultramarine (DWARF), nebula-pink (Flip)
     · condition status — green / amber / red(terracotta); a verdict is ALWAYS
       status-coloured, never device-coloured.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* surfaces */
  --bg:           #0b0d10;
  --surface:      #13151b;
  --surface-2:    #1b1e26;
  --border:       #2b2f3a;
  --border-faint: #1b1e26;

  /* text */
  --text:         #e9eaef;
  --text-body:    #c9cdd8;
  --text-muted:   #888ea0;
  --text-faint:   #535867;

  /* device identity — DWARF */
  --dwarf:        #5b76e8;
  --dwarf-light:  #7e95f2;
  --dwarf-border: #3d51a8;
  --dwarf-tint:   rgba(91,118,232,0.14);
  --lens-silver:  #cdd6ff;

  /* device identity — Flip (future) */
  --flip:         #ff9ec4;

  /* condition status */
  --status-green: #5cb88a;
  --status-amber: #e6b04c;
  --status-red:   #e07a6a;
  --green-tint:   rgba(92,184,138,0.14);
  --amber-tint:   rgba(230,176,76,0.14);
  --red-tint:     rgba(224,122,106,0.14);

  /* type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* fluid sizing — scale from html font-size (set in index.html) */
  --fs-eyebrow: 0.62rem;
  --fs-label:   0.7rem;
  --fs-meta:    0.78rem;
  --fs-body:    0.92rem;
  --fs-title:   1.18rem;
  --fs-h:       1.5rem;
  --fs-hero:    2.0rem;

  --radius-card: 16px;
  --radius-tile: 11px;
  --radius-pill: 999px;
  --hdr-h: 56px;

  --gutter: 18px;
  --maxw: 560px;
}

/* Red night mode — preserves dark adaptation. Desaturates to red channel and
   tints surfaces, while keeping status legibility (amber/green become red-ish
   but shape + position still convey the verdict). Applied on <html>. */
html.night {
  --bg:           #0a0203;
  --surface:      #170607;
  --surface-2:    #240a0c;
  --border:       #3a1416;
  --border-faint: #240a0c;
  --text:         #ff6b6b;
  --text-body:    #e05a5a;
  --text-muted:   #a84545;
  --text-faint:   #6e2e2e;
  --dwarf:        #d65555;
  --dwarf-light:  #e87070;
  --dwarf-border: #7a2c2c;
  --dwarf-tint:   rgba(214,85,85,0.14);
  --lens-silver:  #ff9a9a;
  --flip:         #e87070;
  --status-green: #cf6a5a;
  --status-amber: #e08a4c;
  --status-red:   #e05a4a;
}
html.night img,
html.night .img-slot img { filter: saturate(0.4) sepia(0.5) hue-rotate(-30deg) brightness(0.7); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
@media (max-width: 768px) { html { font-size: 15px; } }
html, body { overflow-x: hidden; background: var(--bg); }
html { -webkit-font-smoothing: antialiased; scrollbar-gutter: stable; }
html.fonts-loading body { visibility: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  min-height: 100dvh;
  font-size: var(--fs-body);
  -webkit-tap-highlight-color: transparent;
  padding-top: calc(var(--hdr-h) + env(safe-area-inset-top));
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Header (shared spine convention) ─────────────────────────────────────── */
.app-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-faint);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: var(--hdr-h); padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.hdr-btn {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  color: var(--text-body); border-radius: 9px;
  font-size: 1.3rem; line-height: 1;
}
.hdr-btn:active { background: var(--surface-2); }
.wordmark { display: flex; align-items: center; gap: 8px; }
.wordmark .ring { width: 20px; height: 20px; flex: none; }
.wordmark .name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; letter-spacing: 2px; text-transform: uppercase;
}
.wordmark .name .dot { color: var(--dwarf); }
.hdr-context {
  margin-left: auto; font-family: var(--font-mono);
  font-size: var(--fs-label); letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Main / views ─────────────────────────────────────────────────────────── */
main { max-width: var(--maxw); margin: 0 auto; padding: 16px var(--gutter) 60px; }
.view { display: none; }
.view.active { display: block; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ── Typography helpers ───────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint);
}
.section-label {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-faint);
  margin: 22px 2px 10px;
}
.serif { font-family: var(--font-display); font-weight: 400; }
.mono  { font-family: var(--font-mono); }

/* ── Segmented control (Home/Away, List/Timeline, units) ──────────────────── */
.segmented {
  display: inline-flex; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px;
}
.segmented button {
  font-family: var(--font-mono); font-size: var(--fs-label);
  letter-spacing: 0.5px; padding: 5px 14px; border-radius: var(--radius-pill);
  color: var(--text-muted); text-transform: uppercase;
}
.segmented button.active { background: var(--dwarf-tint); color: var(--lens-silver); }

/* ── Cards / tiles ────────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 16px;
}
.card.dwarf { border-color: var(--dwarf-border); box-shadow: 0 0 0 1px var(--dwarf-tint) inset; }
.tile {
  background: var(--surface-2); border: 1px solid var(--border-faint);
  border-radius: var(--radius-tile); padding: 10px 12px;
}
.tile .tlabel { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); }
.tile .tval { font-family: var(--font-mono); font-size: 1.15rem; color: var(--text); margin-top: 3px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* ── Device row ───────────────────────────────────────────────────────────── */
.device-row { display: flex; align-items: center; gap: 9px; }
.device-row .ring { width: 18px; height: 18px; flex: none; }
.device-row .dname { font-family: var(--font-display); font-size: var(--fs-title); }
.device-row .dtag {
  margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-eyebrow);
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--dwarf-light);
}

/* ── Verdict pill (status channel only) ───────────────────────────────────── */
.verdict {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: var(--fs-title);
}
.verdict .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.verdict.green { background: var(--green-tint); color: var(--status-green); }
.verdict.green .dot { background: var(--status-green); }
.verdict.amber { background: var(--amber-tint); color: var(--status-amber); }
.verdict.amber .dot { background: var(--status-amber); }
.verdict.red   { background: var(--red-tint); color: var(--status-red); }
.verdict.red .dot { background: var(--status-red); }
.verdict-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.verdict-reason { font-size: var(--fs-meta); color: var(--text-muted); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 16px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-body);
}
.btn-primary { background: var(--dwarf); color: #0b0d10; }
.btn-primary:active { filter: brightness(1.08); }
.btn-ghost { background: var(--surface-2); color: var(--text-body); border: 1px solid var(--border); }
.dashed {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 12px; border: 1px dashed var(--border);
  border-radius: 12px; color: var(--text-muted);
  font-family: var(--font-mono); font-size: var(--fs-meta);
}
.dashed:active { background: var(--surface); }

/* ── Tonight target row ───────────────────────────────────────────────────── */
.tonight-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 2px;
}
.tonight-row .label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-faint); }
.tonight-row .tname { font-family: var(--font-display); color: var(--lens-silver); font-size: var(--fs-body); }
.tonight-row .arrow { margin-left: auto; color: var(--dwarf-light); }

/* ── Ranked target list ───────────────────────────────────────────────────── */
.target { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 9px; overflow: hidden; }
.target.expanded { border-color: var(--dwarf-border); box-shadow: 0 0 0 1px var(--dwarf-tint) inset; }
.target-head { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.target-rank { font-family: var(--font-mono); color: var(--text-faint); font-size: var(--fs-body); width: 16px; text-align: center; flex: none; }
.target-main { min-width: 0; flex: 1; }
.target-name { font-family: var(--font-display); font-size: var(--fs-body); }
.target-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 2px; }
.target-state { font-family: var(--font-mono); font-size: var(--fs-label); flex: none; }
.state-want { color: var(--dwarf-light); }
.state-shot { color: var(--status-green); }
.state-add  { color: var(--text-faint); }
.target-chev { color: var(--text-faint); flex: none; }
.target-recipe { padding: 0 14px 14px; }
.recipe-grid { margin-bottom: 12px; }
.recipe-cell .tlabel { display: flex; align-items: center; gap: 4px; }
.recipe-help { color: var(--text-faint); cursor: pointer; font-size: 0.85em; }

/* wishlist star */
.star { cursor: pointer; color: var(--text-faint); font-size: 1.05rem; }
.star.on { color: var(--dwarf-light); }

/* ── Filter chips ─────────────────────────────────────────────────────────── */
.chips { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 12px 0; }
.chip {
  font-family: var(--font-mono); font-size: var(--fs-label);
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted);
}
.chip.active { background: var(--dwarf-tint); border-color: var(--dwarf-border); color: var(--lens-silver); }
.chip-x { margin-left: 6px; color: var(--text-faint); cursor: pointer; }
.help-btn {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1px solid var(--border); color: var(--text-muted);
  font-family: var(--font-mono); display: grid; place-items: center; margin-left: auto;
}

/* ── Hidden-by-horizon note ───────────────────────────────────────────────── */
.horizon-note {
  display: flex; align-items: center; gap: 8px; margin: 10px 0;
  padding: 10px 12px; border-radius: 11px;
  background: var(--red-tint); border: 1px solid color-mix(in srgb, var(--status-red) 30%, transparent);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--status-red);
}
.horizon-note .show { margin-left: auto; cursor: pointer; }

/* ── Timeline ─────────────────────────────────────────────────────────────── */
.timeline { padding: 8px 0; }
.tl-track-row { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 8px; margin: 7px 0; }
.tl-name { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); }
.tl-bar { position: relative; height: 14px; }
.tl-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); margin-top: 6px; padding-left: 46px; }
.tl-legend { display: flex; gap: 16px; margin-top: 12px; font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-muted); }
.tl-legend i { display: inline-block; width: 18px; height: 6px; border-radius: 3px; vertical-align: middle; margin-right: 5px; }

/* ── Object detail ────────────────────────────────────────────────────────── */
.detail-title { font-family: var(--font-display); font-size: var(--fs-h); }
.detail-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 3px; }
.wishlist-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: var(--radius-pill); border: 1px solid var(--dwarf-border);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--dwarf-light);
}
.wishlist-pill.on { background: var(--dwarf-tint); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.img-slot {
  aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot .ph { font-family: var(--font-mono); font-size: var(--fs-eyebrow); color: var(--text-faint); text-align: center; padding: 8px; }
.img-slot-label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }

/* mini altitude curve */
.alt-curve { height: 90px; position: relative; margin: 6px 0; }

/* ── Locations ────────────────────────────────────────────────────────────── */
.loc-card { display: flex; align-items: center; gap: 14px; padding: 15px; }
.loc-card.active { border-color: var(--dwarf-border); box-shadow: 0 0 0 1px var(--dwarf-tint) inset; }
.loc-compass { width: 46px; height: 46px; flex: none; }
.loc-name { font-family: var(--font-display); font-size: var(--fs-body); display: flex; align-items: center; gap: 8px; }
.badge { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1px; text-transform: uppercase; color: var(--status-green); background: var(--green-tint); padding: 2px 7px; border-radius: var(--radius-pill); }
.loc-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 3px; }
.loc-chevron { margin-left: auto; color: var(--text-faint); }

/* horizon compass editor */
.compass-wrap { display: grid; place-items: center; margin: 18px 0; }
.compass-svg { width: 100%; max-width: 320px; touch-action: none; }
.compass-svg .ring { fill: none; stroke: var(--border); }
.compass-svg .wedge { fill: var(--red-tint); stroke: var(--status-red); stroke-width: 1.5; }
.compass-svg .handle { fill: var(--status-red); cursor: grab; }
.compass-svg .cardinal { fill: var(--text-muted); font-family: var(--font-mono); font-size: 11px; }
.compass-svg .center { fill: var(--dwarf); }
.obstruction { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.obstruction .odot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ── Log ──────────────────────────────────────────────────────────────────── */
.log-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; text-align: center; }
.log-summary .tval { font-size: 1.5rem; }
.log-entry { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border-faint); }
.log-thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.log-name { font-family: var(--font-display); font-size: var(--fs-body); display: flex; align-items: center; gap: 8px; }
.log-outcome { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1px; text-transform: uppercase; }
.log-outcome.good { color: var(--status-green); }
.log-outcome.retry { color: var(--status-amber); }
.log-sub { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin: 3px 0; }
.log-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Form fields ──────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field > label { display: block; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; }
.input, .select, textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 11px; padding: 12px; color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body);
}
.input.mono { font-family: var(--font-mono); }
textarea { min-height: 84px; resize: vertical; }
.recipe-edit input { text-align: center; padding: 9px 4px; }
.auto-tag { color: var(--status-green); font-size: 0.9em; }

/* ── Settings ─────────────────────────────────────────────────────────────── */
.gear-card { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 9px; }
.gear-card.dim { opacity: 0.5; }
.gear-card .ring { width: 22px; height: 22px; flex: none; }
.gear-name { font-family: var(--font-display); font-size: var(--fs-body); }
.gear-meta { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 2px; }
.pref-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--border-faint); }
.pref-row .pname { font-size: var(--fs-body); }
.pref-row .pval { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--text-muted); }

/* toggle */
.toggle { width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); position: relative; flex: none; transition: background .15s; }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-muted); transition: transform .15s, background .15s; }
.toggle.on { background: var(--dwarf-tint); border-color: var(--dwarf-border); }
.toggle.on::after { transform: translateX(18px); background: var(--dwarf-light); }

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--status-green); display: inline-block; }

/* ── Nav drawer ───────────────────────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: 78%; max-width: 320px; z-index: 60;
  background: var(--surface); border-right: 1px solid var(--border);
  transform: translateX(-100%); transition: transform .22s ease;
  display: flex; flex-direction: column; padding: env(safe-area-inset-top) 0 0;
}
.drawer.open { transform: none; }
.drawer-head { padding: 22px 22px 18px; }
.drawer-head .wordmark .name { font-size: 1.25rem; }
.drawer-head .tagline { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-muted); margin-top: 6px; }
.drawer-nav { flex: 1; padding: 6px 12px; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 11px; color: var(--text-body); font-size: var(--fs-body); }
.nav-item .ndot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); flex: none; }
.nav-item.active { background: var(--dwarf-tint); color: var(--lens-silver); border: 1px solid var(--dwarf-border); }
.nav-item.active .ndot { background: var(--dwarf-light); }
.nav-item.disabled { color: var(--text-faint); }
.drawer-foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-faint); }
.drawer-back { display: flex; align-items: center; gap: 8px; color: var(--text-body); font-family: var(--font-mono); font-size: var(--fs-meta); }
.drawer-version { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-faint); margin-top: 10px; }

/* ── Bottom sheet (Learn drawer) ──────────────────────────────────────────── */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; transform: translateY(100%); transition: transform .24s ease; }
.sheet.open { transform: none; }
.sheet-inner { background: var(--surface); border-top: 1px solid var(--border); border-radius: 22px 22px 0 0; padding: 12px 22px calc(24px + env(safe-area-inset-bottom)); max-width: var(--maxw); margin: 0 auto; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border); margin: 4px auto 16px; }
.sheet-eyebrow { display: flex; justify-content: space-between; }
.sheet-title { font-family: var(--font-display); font-size: var(--fs-title); margin: 8px 0 10px; }
.sheet-body { font-size: var(--fs-body); color: var(--text-body); line-height: 1.55; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.compare-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.compare-card .cc-label { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 1px; text-transform: uppercase; color: var(--dwarf-light); }
.compare-card .cc-body { font-size: var(--fs-meta); color: var(--text-body); margin-top: 5px; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.sheet-dots { display: flex; gap: 6px; }
.sheet-dots i { width: 16px; height: 4px; border-radius: 2px; background: var(--border); }
.sheet-dots i.on { background: var(--dwarf); }
.sheet-next { color: var(--dwarf-light); font-family: var(--font-mono); font-size: var(--fs-meta); cursor: pointer; }

/* ── Toast (top-center, per repo UI rules) ────────────────────────────────── */
.toast { position: fixed; top: calc(16px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%) translateY(-20px); z-index: 90; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 10px 16px; font-size: var(--fs-meta); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* full-screen modal-ish view (log session) reuses .view */
.row { display: flex; align-items: center; gap: 10px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.mt { margin-top: 16px; }
