:root {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #f5f7fb; --surface: #ffffff; --ink: #12151c; --muted: #565d69; --line: #e1e5eb; --line-strong: #c9d0dc;
  --accent: #3048c9; --accent-bg: #eff2ff; --blue: #3048c9; --hero: #12151c; --hl: #eef1f8; --hl-ink: #2136a5;
  --accent-glow: #3048c926; --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px #12182a12, 0 1px 1px #12182a0a; --shadow-md: 0 10px 30px -12px #18234c33, 0 2px 6px #12182a0f; --shadow-lg: 0 30px 70px -28px #18234c59, 0 8px 18px -8px #18234c26;
  --good-bg: #e8effd; --good: #1e429f; --warn-bg: #fdf1e3; --warn: #92400e; --bad-bg: #fce8e8; --bad: #9b1c1c;
  --neutral-bg: #eef1f8; --focus: #3048c9; --bar: #94a3b8;
  color: var(--ink); background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1118; --surface: #151a24; --ink: #f3f5fa; --muted: #aab2c5; --line: #262d3b; --line-strong: #3a4357;
    --accent: #7b92ff; --accent-bg: #1c2442; --blue: #7b92ff; --hero: #151a24; --hl: #1a2030; --hl-ink: #a4b4ff; --accent-glow: #7b92ff2e;
    --good-bg: #1c2744; --good: #a9c1ff; --warn-bg: #3a2a18; --warn: #f2c48d; --bad-bg: #3d2124; --bad: #f3b0b0;
    --neutral-bg: #1a2030; --focus: #7b92ff; --bar: #64748b;
  }
}
/* explicit dark choice */
:root[data-theme="dark"] {
    --bg: #0e1118; --surface: #151a24; --ink: #f3f5fa; --muted: #aab2c5; --line: #262d3b; --line-strong: #3a4357;
    --accent: #7b92ff; --accent-bg: #1c2442; --blue: #7b92ff; --hero: #151a24; --hl: #1a2030; --hl-ink: #a4b4ff; --accent-glow: #7b92ff2e;
    --good-bg: #1c2744; --good: #a9c1ff; --warn-bg: #3a2a18; --warn: #f2c48d; --bad-bg: #3d2124; --bad: #f3b0b0;
    --neutral-bg: #1a2030; --focus: #7b92ff; --bar: #64748b;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--bg) }
a { color: inherit; text-decoration: none }
button, a { touch-action: manipulation }
button { font: inherit; cursor: pointer }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px }
.skip { position: absolute; left: -999px } .skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 9 }
small { display: block; color: var(--muted); margin-top: 3px }
h1, h2, h3, p { margin-top: 0 }
h1 { font-weight: 500; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.04em; line-height: 1.06; margin: 8px 0 }
h2 { font-size: 17px; margin-bottom: 12px } h3 { font-size: 14px; margin-bottom: 6px }
p { line-height: 1.55 } .muted { color: var(--muted) }

/* shell */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh }
aside { background: var(--surface); border-right: 1px solid var(--line); padding: 24px 14px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 0; height: 100vh; overflow: auto }
.brand { display: flex; align-items: center; gap: 9px; font-size: 26px; font-weight: 780; letter-spacing: -1.7px; padding-left: 8px }
.logo { background: var(--accent); color: var(--surface); border-radius: 10px; padding: 1px 9px 4px }
.brand-dot { margin-left: -9px; color: var(--blue) }
.company, .profile { display: flex; align-items: center; gap: 10px; font-size: 13px }
.company { border: 1px solid var(--line); border-radius: 10px; padding: 10px }
.company > span, .profile > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: var(--accent-bg); color: var(--accent); font-weight: 750; flex: none }
.profile { margin-top: auto; padding: 8px } .profile > span { border-radius: 50% }
nav p { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 9px 6px }
nav a { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 7px; font-size: 14px; margin: 2px 0 }
nav a:hover, nav a[aria-current] { background: var(--accent-bg); color: var(--accent) }
nav a .count { margin-left: auto; background: var(--hl); color: var(--hl-ink); padding: 1px 7px; border-radius: 6px; font-size: 12px }
.top { min-height: 65px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 32px; color: var(--muted); font-size: 13px }
.top b { margin: 0 9px } .top strong { color: var(--ink) }
.top-actions, .edition-picker { display: flex; align-items: center; gap: 8px }
.edition-picker select { font: inherit; color: var(--accent); border: 1px solid var(--line); border-radius: 7px; background: var(--surface); padding: 6px; max-width: 100% }
#screen { max-width: 1280px; margin: auto; padding: 30px 32px 56px; outline: none }
.intro { margin-bottom: 22px } .intro p { margin-bottom: 0 }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase }

/* components */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 17px; overflow: hidden; background: var(--hero); color: #ffffff; margin-bottom: 22px; min-height: 220px }
.hero.no-img { grid-template-columns: 1fr }
.hero > div { padding: 28px } .hero h2 { margin: 10px 0 }
.hero .eyebrow { color: #9db6ff } .hero p { color: #d1d5db }
.hero img { width: 100%; height: 100%; max-height: 310px; object-fit: cover }
.hero .button { background: #ffffff; color: #111827; border-color: #ffffff }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 18px; min-width: 0; margin-bottom: 16px }
.grid .card { margin-bottom: 0 } .card > :last-child { margin-bottom: 0 }
.metric { margin: 4px 0 8px }
.row { display: flex; gap: 14px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 12px 0 }
.row:first-of-type { border-top: 0; padding-top: 0 } .row:last-child { padding-bottom: 0 }
.row strong { font-size: 14px } .row small { font-size: 12px } .row > div { min-width: 0 } .row .end { display: flex; gap: 8px; align-items: center; flex: none }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px } .two > .card { margin-bottom: 0 }
.button { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--surface); color: var(--accent); font-size: 13px; font-weight: 650 }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--surface) }
.button.small { padding: 5px 9px; font-size: 12px } .button:hover:not(:disabled) { filter: brightness(.95) } .button:disabled { opacity: .5; cursor: not-allowed }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px }
.tag { display: inline-block; border-radius: 20px; padding: 4px 10px; background: var(--neutral-bg); color: var(--muted); font-size: 12px; white-space: nowrap }
.tag.good { background: var(--good-bg); color: var(--good) } .tag.warn { background: var(--warn-bg); color: var(--warn) } .tag.bad { background: var(--bad-bg); color: var(--bad) }
.level { font: 600 11px ui-monospace, monospace; border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px; color: var(--muted) }
.stage-tabs, .seg { display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 18px }
.stage-tabs a { padding: 9px 14px; border-radius: 7px 7px 0 0 } .stage-tabs a[aria-current] { background: var(--accent-bg); color: var(--accent); font-weight: 650 }
.seg { border: 0; margin-bottom: 14px } .seg button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 20px; padding: 6px 13px; font-size: 13px }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--surface); border-color: var(--accent) }
table { width: 100%; border-collapse: collapse; font-size: 14px } th, td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top } th { font-size: 12px; color: var(--muted); font-weight: 600; border-top: 0 }
.hidden-field { color: var(--muted); font-style: italic } .field-note { font-size: 12px; color: var(--muted) }
.group-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px } .group-title h2 { margin: 0 }
.timeline { list-style: none; margin: 0; padding: 0 } .timeline li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; border-top: 1px solid var(--line); padding: 11px 0; font-size: 14px } .timeline li:first-child { border-top: 0 } .timeline time { color: var(--muted); font: 12px ui-monospace, monospace; padding-top: 3px }
.exact { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; white-space: pre-line; line-height: 1.55; margin: 10px 0 }
.changed { background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 9px 12px; font-size: 13px; margin: 10px 0 }
dl.meta { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 13px; margin: 12px 0 } dl.meta dt { color: var(--muted) } dl.meta dd { margin: 0 }
.meter { height: 9px; border-radius: 6px; background: var(--neutral-bg); overflow: hidden; display: flex; margin: 8px 0 }
.meter span { display: block; height: 100% } .m-a { background: var(--accent) } .m-r { background: var(--bar) } .m-u { background: var(--blue) }
.check { display: flex; gap: 10px; align-items: start; padding: 8px 0; font-size: 14px } .check i { font-style: normal; width: 22px; flex: none }
.opt { display: flex; gap: 8px; align-items: start; margin: 8px 0; font-size: 14px }
dialog { border: 1px solid var(--line); border-radius: 16px; padding: 26px; width: min(560px, 94vw); color: var(--ink); background: var(--surface) }
dialog::backdrop { background: #0b0f1ab3 } .close { float: right; background: none; border: 0; font-size: 24px; color: var(--ink) }
#notice:not(:empty) { position: fixed; bottom: 18px; right: 18px; background: var(--accent); color: var(--surface); padding: 12px 16px; border-radius: 8px; max-width: 80vw; z-index: 20 }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--muted); align-items: center }

@media (max-width: 900px) { .shell { grid-template-columns: 180px minmax(0, 1fr) } #screen, .top { padding-left: 18px; padding-right: 18px } .two { grid-template-columns: 1fr } }
@media (max-width: 640px) {
  .shell { display: block } aside { position: static; height: auto; padding: 10px 12px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line) }
  .company, .profile, nav p { display: none } nav { display: flex; flex-wrap: wrap; gap: 2px } nav a { font-size: 12px; padding: 5px 7px } nav i { display: none }
  .hero { grid-template-columns: 1fr } .hero img { height: 150px } .top { flex-wrap: wrap } .edition-picker { font-size: 0 } .edition-picker select { font-size: 12px }
  .row { align-items: flex-start; flex-wrap: wrap } .timeline li { grid-template-columns: 44px 1fr } .timeline li > :last-child { grid-column: 2 }
  table, thead, tbody, tr, td, th { display: block } thead { display: none } td { border: 0; padding: 4px 0 } tr { border-top: 1px solid var(--line); padding: 8px 0 }
}

code { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--neutral-bg); border-radius: 5px; padding: 2px 6px; word-break: break-all }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 20px; margin: 0 }
.kv div { min-width: 0 } .kv dt { font-size: 12px; color: var(--muted) } .kv dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; word-break: break-word }
td .button.small { margin: 2px 4px 2px 0 } .sub { display: block; font-size: 12px; color: var(--muted); margin-top: 3px }

/* icons and buttons */
.ic { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none }
.button { display: inline-flex; align-items: center; gap: 7px; line-height: 1.2 }
.button.icon { padding: 0; width: 32px; height: 32px; justify-content: center }
.button.small.icon { width: 28px; height: 28px }
.button.ghost { background: transparent; color: var(--muted) } .button.danger { color: var(--bad) }
.info { display: inline-flex; vertical-align: middle; margin-left: 6px; color: var(--muted); cursor: help; border-radius: 50% }
nav .ic { width: 17px; height: 17px } nav a { gap: 10px }
.stage-tabs a { display: inline-flex; align-items: center; gap: 7px }
.theme { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; padding: 2px; background: var(--surface) }
.theme button { border: 0; background: transparent; color: var(--muted); width: 30px; height: 28px; border-radius: 7px; display: grid; place-items: center }
.theme button[aria-pressed="true"] { background: var(--accent); color: var(--surface) }
.top-actions { gap: 10px } .edition-picker .ic { color: var(--muted) }
.crumb { color: var(--muted); font-size: 13px }
.intro h1 { font-size: clamp(28px, 4vw, 40px); margin: 4px 0 0 } .intro { margin-bottom: 20px }
.stat { display: flex; justify-content: space-between; align-items: end } .stat .metric { margin: 0 }
.stat-l { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 6px }
.empty { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px }
.gtitle { display: flex; align-items: center; gap: 8px } .gtitle .n { margin-left: auto; font-size: 12px; background: var(--neutral-bg); color: var(--muted); border-radius: 10px; padding: 1px 8px }
.kvline { display: flex; gap: 8px; align-items: baseline; font-size: 13px; margin: 6px 0; color: var(--muted) } .kvline .ic { transform: translateY(3px) } .kvline b { color: var(--ink); font-weight: 600 }
.dlg-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 4px }
.label { font-size: 12px; color: var(--muted); display: flex; align-items: center }
.exact { margin: 6px 0 12px }
dl.meta { grid-template-columns: 90px 1fr; margin: 0 0 4px }
.tile-row { display: flex; align-items: center; gap: 10px } .tile-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-bg); color: var(--ink); flex: none }
@media (max-width: 640px) { .theme button { width: 28px } .top-actions { width: 100% } }

/* Control Plane layout */
.ctl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: start }
.ctl-nav { position: sticky; top: 16px; display: grid; gap: 2px } .ctl-nav a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; font-size: 14px }
.ctl-nav a:hover, .ctl-nav a[aria-current] { background: var(--accent-bg); font-weight: 600 }
.steps { list-style: none; margin: 0; padding: 0 } .steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line) } .steps li:first-child { border-top: 0 }
.steps .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--neutral-bg); color: var(--muted); flex: none; font-size: 12px }
.steps .done .dot { background: var(--accent); color: var(--surface) } .steps .grow { flex: 1; min-width: 0 }
.switch { appearance: none; width: 36px; height: 20px; border-radius: 12px; background: var(--line); position: relative; cursor: pointer; border: 0; flex: none }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: left .15s }
.switch[aria-checked="true"] { background: var(--accent) } .switch[aria-checked="true"]::after { left: 18px }
@media (max-width: 900px) { .ctl { grid-template-columns: 1fr } .ctl-nav { position: static; display: flex; flex-wrap: wrap } }

/* records, ask, simulate */
tr.claim td { background: var(--warn-bg); color: var(--warn) }
.askbar { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; margin-bottom: 10px }
.askbar input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; min-width: 0 } .askbar .ic { color: var(--muted) }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 16px; padding: 5px 11px; font-size: 13px }
.draft { width: 100%; font: inherit; line-height: 1.5; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin: 6px 0 12px; resize: vertical }
.sim li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px } .sim li:first-child { border-top: 0 }
.sim li.done { color: var(--muted) } .sim time { font: 12px ui-monospace, monospace; color: var(--muted) } .sim ul { list-style: none; margin: 0; padding: 0 }
dialog:has(.sim) { width: min(620px, 94vw) }

.alert { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px } .alert small { color: inherit; opacity: .85 }
.photos { display: flex; gap: 10px; flex-wrap: wrap } .photo { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--neutral-bg); color: var(--ink); border-radius: 10px; padding: 26px 18px; min-width: 150px; justify-content: center }
.photo-big { aspect-ratio: 4 / 3; border-radius: 10px; background: repeating-linear-gradient(135deg, var(--neutral-bg), var(--neutral-bg) 12px, var(--line) 12px, var(--line) 24px); display: grid; place-items: center; color: var(--muted); margin: 10px 0 }
@media (max-width: 640px) {
  .top-actions { flex-wrap: wrap; gap: 6px } #sim span { display: none } #sim { padding: 0; width: 32px; height: 32px; justify-content: center }
  .edition-picker { flex: 1; min-width: 0 } .edition-picker select { width: 100%; min-width: 0 }
  .ctl-nav a { padding: 6px 8px; font-size: 13px } .top > span:first-child { width: 100% }
}

.metric.sm { font: 600 20px Inter, system-ui, sans-serif; margin: 6px 0 }
.tile-row { flex-wrap: wrap } .exact { overflow-wrap: anywhere }

.fieldset { display: grid; gap: 10px; margin: 8px 0 12px } .field { display: grid; gap: 4px; font-size: 13px; color: var(--muted) } .field input { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px }

.field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; resize: vertical }

/* uplift: the same visual language as the public site */
body { font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
h1 { font-weight: 740; letter-spacing: -.045em } h2 { font-weight: 700; letter-spacing: -.02em } h3 { font-weight: 680 }
.eyebrow { display: none }
nav p { text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 650; margin: 16px 10px 6px }
.brand { font-size: 21px; font-weight: 740; letter-spacing: -.04em; padding-left: 6px } .brand img { transition: transform .4s var(--ease) } .brand:hover img { transform: rotate(-8deg) scale(1.06) }
aside { padding: 22px 14px }
.company { border-radius: 12px; background: var(--bg) } .company > span, .profile > span { background: var(--accent-bg); color: var(--hl-ink) }
nav a { position: relative; border-radius: 10px; padding: 10px 11px; color: var(--muted); font-weight: 560; transition: background-color .2s, color .2s }
nav a:hover { background: var(--bg); color: var(--ink) } nav a[aria-current] { background: var(--accent-bg); color: var(--hl-ink); font-weight: 650 }
nav a[aria-current]::before { content: ""; position: absolute; left: -14px; top: 22%; bottom: 22%; width: 3px; border-radius: 3px; background: var(--accent) }
nav a .count { background: var(--accent); color: var(--surface); font-weight: 650 }
.top { position: sticky; top: 0; z-index: 12; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px) }
.top strong { font-weight: 650 }
#screen { padding-top: 34px }
.intro h1 { font-size: clamp(2rem, 3.4vw, 2.8rem) }
.card { border-radius: 16px; box-shadow: var(--shadow-sm); padding: 20px; transition: border-color .2s, box-shadow .25s }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md) }
.metric { font-size: 2rem; font-weight: 720; letter-spacing: -.04em }
.hero { border-radius: 22px; background: radial-gradient(70% 90% at 90% 0, #3048c966, transparent 65%), linear-gradient(135deg, var(--hero), #1b2030); box-shadow: var(--shadow-lg) }
.hero > div { padding: 34px } .hero h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 720 }
.button { border-radius: 10px; min-height: 38px; padding: 8px 15px; color: var(--ink); font-weight: 650; transition: transform .18s var(--ease), box-shadow .25s, background-color .2s, border-color .2s, color .2s }
.button:hover:not(:disabled) { filter: none; border-color: var(--line-strong); background: var(--bg) } .button:active:not(:disabled) { transform: translateY(1px) scale(.99) }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--surface); box-shadow: 0 6px 18px -8px var(--accent), inset 0 1px 0 #ffffff33 }
.button.primary:hover:not(:disabled) { background: var(--hl-ink); border-color: var(--hl-ink); box-shadow: 0 10px 24px -10px var(--accent), inset 0 1px 0 #ffffff33 }
:root[data-theme="dark"] .button.primary:hover:not(:disabled) { background: #a4b4ff; border-color: #a4b4ff }
.button.small { min-height: 32px; padding: 5px 11px } .button.icon { min-height: 0 }
.hero .button:hover:not(:disabled) { background: #e9edff; border-color: #e9edff }
.tag { font-weight: 650; padding: 4px 11px }
.level { border-radius: 6px; background: var(--accent-bg); color: var(--hl-ink); border-color: transparent }
.seg button, .chip { transition: border-color .2s, background-color .2s, color .2s } .seg button:hover, .chip:hover { border-color: var(--accent) }
.stage-tabs a { transition: background-color .2s } .stage-tabs a:hover { background: var(--bg) }
th { background: var(--bg); font-weight: 650 } tbody tr { transition: background-color .15s } tbody tr:hover td { background: var(--bg) } tr.claim:hover td { background: var(--warn-bg) }
.exact { border-radius: 12px } .askbar { border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s } .askbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow) }
.draft, .field input, .field textarea { transition: border-color .2s, box-shadow .2s } .draft:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow) }
.edition-picker select { border-radius: 10px; padding: 7px 8px; transition: border-color .2s } .edition-picker select:hover { border-color: var(--line-strong) }
.theme { border-radius: 11px } .theme button { transition: background-color .2s, color .2s }
.tile-ic { border-radius: 11px; background: var(--accent-bg); color: var(--hl-ink) }
.ctl-nav a { transition: background-color .2s } .ctl-nav a[aria-current] { color: var(--hl-ink) }
.steps .done .dot { background: var(--accent) } .switch { transition: background-color .2s } .switch::after { transition: left .2s var(--ease) }
.alert { border-radius: 14px }
dialog { border-radius: 22px; box-shadow: var(--shadow-lg); padding: 28px; animation: pop .28s var(--ease) } dialog::backdrop { background: #0b0f1a99; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px) }
#notice:not(:empty) { border-radius: 12px; box-shadow: var(--shadow-lg); animation: slide .3s var(--ease) }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98) } }
@keyframes slide { from { opacity: 0; transform: translateY(12px) } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important } }
@media (max-width: 640px) { nav a[aria-current]::before { display: none } .hero > div { padding: 24px } }
.intro .crumb { display: none }
