:root, :root[data-theme="dark"] {
  --bg: #0f172a;
  --panel: #1e293b;
  --panel-2: #273449;
  --code-bg: #0b1220;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --line: #334155;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --good: #22c55e;
  --warn: #eab308;
  --bad: #ef4444;
  /* tier / relation chips */
  --high-bg: #12351f; --high-ink: #86efac;
  --med-bg: #3a3212;  --med-ink: #fde68a;
  --low-bg: #273449;  --low-ink: #94a3b8;
  --conflict-bg: #3a1212; --conflict-ink: #fca5a5;
  --win-bg: #14532d;  --win-ink: #bbf7d0;
  --lose-bg: #2a1414; --lose-ink: #7f1d1d;
  --reinforce-bg: #14361f;
  --on-accent: #04263a;
  --shadow: 0 1px 2px rgba(0,0,0,0.4);
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --panel-2: #eef2f8;
  --code-bg: #f1f5f9;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #d8dee8;
  --accent: #0284c7;
  --accent-2: #6366f1;
  --good: #16a34a;
  --warn: #ca8a04;
  --bad: #dc2626;
  --high-bg: #dcfce7; --high-ink: #166534;
  --med-bg: #fef3c7;  --med-ink: #92400e;
  --low-bg: #e2e8f0;  --low-ink: #475569;
  --conflict-bg: #fee2e2; --conflict-ink: #b91c1c;
  --win-bg: #bbf7d0;  --win-ink: #14532d;
  --lose-bg: #fee2e2; --lose-ink: #ef9a9a;
  --reinforce-bg: #d1fae5;
  --on-accent: #ffffff;
  --shadow: 0 1px 3px rgba(15,23,42,0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header.topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
header.topbar .brand { font-weight: 700; letter-spacing: 0.3px; margin-right: auto; }
header.topbar .brand span { color: var(--accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 1.25rem; }
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; align-items: start; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } }

.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem;
}
.panel h2 { margin: 0 0 0.75rem; font-size: 1rem; }
.panel h3 { margin: 1rem 0 0.4rem; font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* context rail */
#rail { position: sticky; top: 64px; max-height: calc(100vh - 80px); overflow-y: auto; padding-top: 0.5rem; }
@media (max-width: 860px) { #rail { position: static; max-height: none; } }
.rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.6rem; }
.rail-head h2 { margin: 0; }
.rail-head .btn { padding: 0.25rem 0.6rem; font-size: 0.75rem; }
.rail-group { border: 1px solid var(--line); border-radius: 9px; margin-bottom: 0.55rem; overflow: hidden; background: var(--bg); }
.rail-group-head {
  display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.6rem; cursor: pointer;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted);
  background: var(--panel-2); user-select: none;
}
.rail-group-head:hover { color: var(--ink); }
.rail-group-head .chev { font-size: 0.7rem; transition: transform 0.15s; }
.rail-group.collapsed .rail-group-head .chev { transform: rotate(-90deg); }
.rail-group-body { padding: 0.6rem 0.6rem 0.2rem; }
.rail-group.collapsed .rail-group-body { display: none; }

.control { margin-bottom: 0.7rem; }
.control label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.3rem; }
.control select, .control input[type=text], .control textarea {
  width: 100%; padding: 0.45rem 0.55rem; background: var(--panel-2);
  border: 1px solid var(--line); color: var(--ink); border-radius: 8px; font-size: 0.9rem;
}
.seg { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.seg button {
  flex: 0 1 auto; padding: 0.35rem 0.6rem; font-size: 0.75rem;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink);
  border-radius: 7px; cursor: pointer; white-space: nowrap;
}
.seg button.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }

.btn {
  display: inline-block; padding: 0.5rem 0.9rem; border-radius: 9px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); border: none; font-weight: 600; font-size: 0.9rem;
}
.btn.secondary { background: var(--panel-2); color: var(--ink); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.08); }

.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; }
.legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.3rem; vertical-align: middle; }

.detail-card { font-size: 0.9rem; }
.detail-card .tag {
  display: inline-block; font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); margin-right: 0.3rem; margin-bottom: 0.3rem;
}
.detail-card ul { margin: 0.3rem 0 0.6rem; padding-left: 1.1rem; }
.detail-card code, .mono { font-family: var(--mono); font-size: 0.82rem; }
.kv { color: var(--muted); font-size: 0.8rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; }
.nfr-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem; border-left: 4px solid var(--line); }
.nfr-card .name { font-weight: 600; margin-bottom: 0.2rem; }
.nfr-card .bar { height: 6px; border-radius: 3px; background: var(--code-bg); overflow: hidden; margin: 0.4rem 0; }
.nfr-card .bar > i { display: block; height: 100%; border-radius: 3px; }
.tier-high { color: var(--good); } .tier-medium { color: var(--warn); } .tier-low { color: var(--muted); }

pre.export {
  background: var(--code-bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem; overflow: auto; font-family: var(--mono); font-size: 0.82rem; color: var(--ink); max-height: 60vh; line-height: 1.6;
}
.hint { color: var(--muted); font-size: 0.85rem; }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
table.tt { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.tt th, table.tt td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--line); }
table.tt th { color: var(--muted); font-weight: 600; }
.pill { font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 999px; }
.pill.conflict { background: var(--conflict-bg); color: var(--conflict-ink); }
.pill.resolved { background: var(--high-bg); color: var(--high-ink); }
.pill.off { background: var(--low-bg); color: var(--low-ink); }

/* out-of-scope (disabled) regulation cards */
.nfr-card.reg-off { opacity: 0.55; }
.nfr-card.reg-off:hover { opacity: 0.85; }
.reg-doc { font-size: 0.78rem; white-space: nowrap; }

/* toolbar above tables */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.8rem; }
.toolbar input[type=text], .toolbar select {
  padding: 0.4rem 0.55rem; background: var(--panel-2); border: 1px solid var(--line);
  color: var(--ink); border-radius: 8px; font-size: 0.85rem;
}
.toolbar .grow { flex: 1; min-width: 140px; }

/* data table */
table.data { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.data th { text-align: left; padding: 0.5rem; border-bottom: 2px solid var(--line); color: var(--muted); font-weight: 600; cursor: pointer; user-select: none; white-space: nowrap; }
table.data th .arrow { color: var(--accent); font-size: 0.7rem; }
table.data td { padding: 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr.row-main { cursor: pointer; }
table.data tr.row-main:hover { background: var(--panel-2); }
table.data tr.row-detail td { background: var(--code-bg); }
.score-bar { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: var(--code-bg); overflow: hidden; vertical-align: middle; margin-right: 0.4rem; }
.score-bar > i { display: block; height: 100%; }
.badge { font-size: 0.68rem; padding: 0.1rem 0.45rem; border-radius: 6px; font-weight: 600; }
.badge.high { background: var(--high-bg); color: var(--high-ink); } .badge.medium { background: var(--med-bg); color: var(--med-ink); } .badge.low { background: var(--low-bg); color: var(--low-ink); }
.catdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.4rem; vertical-align: middle; }
.why { font-size: 0.8rem; color: var(--muted); }
.why .tag { display: inline-block; font-size: 0.68rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); margin: 0.15rem 0.15rem 0 0; }

/* trade-off matrix */
.matrix { border-collapse: collapse; font-size: 0.72rem; margin: 0.3rem 0 1rem; }
.matrix th, .matrix td { border: 1px solid var(--line); width: 30px; height: 30px; text-align: center; padding: 0; }
.matrix th.rh, .matrix td.rh { text-align: right; white-space: nowrap; padding: 0 0.5rem; width: auto; color: var(--ink); }
.matrix th.ch { color: var(--muted); }
.matrix td.self { background: var(--code-bg); color: var(--line); }
.matrix td.conflict { background: var(--conflict-bg); color: var(--conflict-ink); cursor: pointer; }
.matrix td.conflict.win { background: var(--win-bg); color: var(--win-ink); }
.matrix td.conflict.lose { background: var(--lose-bg); color: var(--lose-ink); }
.matrix td.conflict.balanced { background: var(--med-bg); color: var(--med-ink); }
.matrix td.reinforce { background: var(--reinforce-bg); cursor: pointer; }
.matrix td.conflict:hover, .matrix td.reinforce:hover { outline: 2px solid var(--accent); outline-offset: -2px; }

/* trade-off decision popover / modal */
.to-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 60; }
.to-pop {
  position: fixed; z-index: 61; width: 320px; max-width: 92vw;
  background: var(--panel); border: 1px solid var(--accent); border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.4); padding: 0.85rem;
}
.to-pop.modal { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }
.to-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; font-size: 0.95rem; }
.to-x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.95rem; padding: 0 0.2rem; }
.to-x:hover { color: var(--ink); }
.to-tension { margin: 0.4rem 0 0.6rem; }
.to-q { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; }
.to-choices { display: flex; gap: 0.5rem; }
.to-choice {
  flex: 1; text-align: left; cursor: pointer; padding: 0.5rem 0.6rem; border-radius: 9px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.to-choice:hover { border-color: var(--accent); }
.to-choice.sel { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.to-choice .to-name { font-weight: 700; font-size: 0.82rem; }
.to-choice .to-slo { font-size: 0.7rem; opacity: 0.85; }
.to-balanced {
  width: 100%; margin-top: 0.5rem; cursor: pointer; padding: 0.45rem 0.6rem; border-radius: 9px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); font-size: 0.78rem; text-align: left;
}
.to-balanced:hover { border-color: var(--warn); }
.to-balanced.sel { border-color: var(--warn); background: var(--med-bg); color: var(--med-ink); font-weight: 600; }
.to-rat-l { display: block; font-size: 0.75rem; color: var(--muted); margin: 0.6rem 0 0.25rem; }
.to-rat { width: 100%; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 0.4rem 0.5rem; font: inherit; font-size: 0.82rem; resize: vertical; }
.to-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.55rem; }
.to-foot .btn { padding: 0.3rem 0.7rem; font-size: 0.78rem; }
.link-like { background: none; border: none; color: var(--ink); cursor: pointer; padding: 0; font: inherit; text-align: left; }
.link-like:hover { color: var(--accent); text-decoration: underline; }
.to-rat-snip { margin-top: 0.2rem; font-style: italic; }

/* theme toggle */
.theme-toggle {
  margin-left: 0.5rem; padding: 0.3rem 0.6rem; border-radius: 8px; cursor: pointer;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); font-size: 0.85rem;
}
.theme-toggle:hover { border-color: var(--accent); }

/* overview dashboard */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.stat { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem; }
.stat .num { font-size: 1.6rem; font-weight: 700; }
.stat .lbl { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }

.dim-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.dim-row .dim-name { flex: 0 0 200px; font-size: 0.85rem; }
.dim-row .meter { flex: 1; height: 12px; border-radius: 6px; background: var(--code-bg); overflow: hidden; position: relative; }
.dim-row .meter > i { display: block; height: 100%; }
.dim-row .dim-count { flex: 0 0 90px; text-align: right; font-size: 0.78rem; color: var(--muted); }

/* collapsible dimension sections (Applicable view, grouped) */
.section { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.7rem; overflow: hidden; }
.section > .section-head {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; cursor: pointer;
  background: var(--panel-2); user-select: none;
}
.section > .section-head:hover { filter: brightness(1.05); }
.section > .section-head .chev { color: var(--muted); transition: transform 0.15s; }
.section.collapsed > .section-head .chev { transform: rotate(-90deg); }
.section > .section-head .s-title { font-weight: 600; }
.section > .section-head .s-meta { margin-left: auto; font-size: 0.78rem; color: var(--muted); }
.section > .section-body { padding: 0.3rem 0.5rem 0.6rem; }
.section.collapsed > .section-body { display: none; }
.subsection { border-top: 1px solid var(--line); padding: 0.55rem 0.4rem; }
.subsection:first-child { border-top: none; }
.subsection .sub-head { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.subsection .sub-head .sub-name { font-weight: 600; }
.subsection .sub-detail { margin-top: 0.5rem; }
.subsection .sub-detail h4 { margin: 0.6rem 0 0.2rem; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.iso-crumb { font-size: 0.75rem; color: var(--muted); }
.iso-crumb b { color: var(--ink); font-weight: 600; }

/* severity chips */
.sev { font-size: 0.62rem; padding: 0.06rem 0.4rem; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.sev.critical { background: var(--bad); color: #fff; }
.sev.high { background: #f97316; color: #fff; }
.sev.medium { background: var(--warn); color: #3a2d00; }
.sev.low { background: var(--low-bg); color: var(--low-ink); }

/* observability action chip (page / ticket / watch) */
.obs-action { font-size: 0.7rem; padding: 0.06rem 0.4rem; border-radius: 4px; font-weight: 700; }
.obs-action.page { background: var(--conflict-bg); color: var(--conflict-ink); }
.obs-action.ticket { background: var(--med-bg); color: var(--med-ink); }
.obs-action.watch { background: var(--high-bg); color: var(--high-ink); }

/* mandatory + regulation chips */
.mand { font-size: 0.62rem; padding: 0.06rem 0.4rem; border-radius: 4px; font-weight: 700; letter-spacing: 0.3px; background: var(--conflict-bg); color: var(--conflict-ink); border: 1px solid var(--bad); }
.reg-chip { display: inline-block; font-size: 0.7rem; padding: 0.1rem 0.5rem; margin: 0.1rem 0.15rem 0.1rem 0; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--accent); color: var(--accent); }

/* 6-part scenario grid */
.qa-grid { display: grid; grid-template-columns: max-content 1fr; gap: 0.2rem 0.7rem; font-size: 0.83rem; margin: 0.3rem 0 0.2rem; }
.qa-grid dt { color: var(--muted); font-weight: 600; }
.qa-grid dd { margin: 0; }

/* maturity gap bar */
.gap-bar { display: inline-block; width: 64px; height: 8px; border-radius: 4px; background: var(--code-bg); overflow: hidden; vertical-align: middle; margin-right: 0.35rem; }
.gap-bar > i { display: block; height: 100%; }

/* readiness score panel */
.score-panel { display: flex; align-items: center; gap: 1.2rem; }
.score-gauge { flex: 0 0 auto; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; }
.score-inner { width: 84px; height: 84px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; text-align: center; }
.score-num { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.score-grade { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.score-body { flex: 1; }
.comp-row { display: flex; align-items: center; gap: 0.6rem; margin: 0.25rem 0; }
.comp-l { flex: 0 0 90px; font-size: 0.8rem; color: var(--muted); }
.comp-v { flex: 0 0 32px; text-align: right; font-size: 0.8rem; font-weight: 700; }
.comp-w { color: var(--muted); font-weight: 400; font-size: 0.7rem; }
.comp-ex { font-size: 0.72rem; color: var(--muted); margin: -0.1rem 0 0.4rem 0; padding-left: 0.1rem; }

/* workflow back / next nav */
.view-nav { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.view-nav .step-of { flex: 1; text-align: center; font-size: 0.78rem; color: var(--muted); }
.view-nav .btn { min-width: 120px; }
@media (max-width: 560px) { .score-panel { flex-direction: column; text-align: center; } }

/* guide */
details.guide summary { cursor: pointer; font-size: 0.95rem; }
.guide-row { display: grid; grid-template-columns: 160px 1fr; gap: 0.6rem; padding: 0.35rem 0; border-top: 1px solid var(--line); }
.guide-row:first-child { border-top: none; }
.guide-t { font-weight: 600; font-size: 0.85rem; }
@media (max-width: 560px) { .guide-row { grid-template-columns: 1fr; } }

/* quick-start + next-step */
.control.quickstart { background: var(--panel-2); border: 1px solid var(--accent); border-radius: 9px; padding: 0.6rem; margin-bottom: 0.8rem; }
.control.quickstart label { color: var(--accent); font-weight: 600; }
.panel.nextstep { border-left: 4px solid var(--good); }
.panel.nextstep .btn { white-space: nowrap; }

/* footer */
footer.app-footer { max-width: 1200px; margin: 1.5rem auto 0; padding: 1rem 1.25rem 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center; }
footer.app-footer a { color: var(--accent); }
footer.app-footer .spacer { flex: 1; }
select[data-mat] { padding: 0.25rem 0.4rem; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 6px; }
table.data input[type=text] { padding: 0.3rem 0.45rem; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); border-radius: 6px; }

/* accessibility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* inline jargon term */
.term { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }

/* journey progress strip */
.journey {
  max-width: 1200px; margin: 0 auto; padding: 0.5rem 1.25rem 0;
  display: flex; gap: 0.3rem; overflow-x: auto;
}
.jstep {
  flex: 1 1 0; min-width: 0; justify-content: center;
  display: flex; align-items: center; gap: 0.3rem; white-space: nowrap;
  padding: 0.25rem 0.4rem; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 0.7rem;
}
.jstep:hover { color: var(--ink); border-color: var(--accent); }
.jstep.active { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 1px var(--accent) inset; }
.jstep .jnum { display: inline-flex; align-items: center; justify-content: center; width: 13px; height: 13px; border-radius: 50%; background: var(--panel-2); font-size: 0.54rem; font-weight: 700; flex: none; }
.jstep .jicon { font-size: 0.72rem; flex: none; }
.jstep .jlabel { overflow: hidden; text-overflow: ellipsis; }
.jstep.done .jicon { color: var(--good); }
.jstep.partial .jicon { color: var(--warn); }
.jstep.todo .jicon { color: var(--muted); }
.jstep.info .jicon { color: var(--accent); }
.jstep .jnote { font-weight: 700; color: var(--ink); }
@media (max-width: 560px) { .jstep .jlabel { display: none; } }

/* "what changed" toast */
.toast {
  position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%) translateY(140%);
  display: flex; flex-wrap: wrap; gap: 0.4rem; max-width: 92vw;
  background: var(--panel); border: 1px solid var(--accent); border-radius: 10px;
  padding: 0.5rem 0.7rem; box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; z-index: 50; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast span { font-size: 0.8rem; background: var(--panel-2); border-radius: 6px; padding: 0.15rem 0.5rem; }
