/* ExamGauge — the design system from the mockups, as real CSS.
 *
 * Brass is reserved for one thing: the 720 cut. It never decorates, so
 * wherever it appears on a page it means the same thing without a legend. */

:root {
  --ground:      #f3f6f6;
  --surface:     #ffffff;
  --sunk:        #f0f5f5;
  --ink:         #0c1519;
  --ink-soft:    #223a41;
  --body:        #445a61;
  --muted:       #8b9ba0;
  --rule:        #d6e2e3;
  --rule-soft:   #eef4f4;

  --teal:        #0a6b7a;
  --teal-bright: #31a7ba;
  --teal-soft:   #e0f0f2;

  --brass:       #a8801f;
  --brass-soft:  #faf0da;

  --pass:        #2c7a58;
  --pass-soft:   #dcefe5;
  --risk:        #a6413e;
  --risk-soft:   #f4dede;

  --serif: "Zilla Slab", Georgia, serif;
  --sans:  "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: #085563; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */

.shell { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; }

.rail { background: var(--ink); display: flex; flex-direction: column; padding: 22px 0; }
/* An <a> now, not a <div>: the mark is the obvious way back out of a drill,
   and it was inert on every signed-in page. */
.brand {
  display: flex; align-items: center; gap: 9px; padding: 0 20px 26px;
  text-decoration: none; transition: opacity .12s ease;
}
.brand:hover { opacity: .78; }
.brand:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 3px; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 16px; color: #eaf3f4; }

.rail-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: #5d747a; padding: 0 20px 10px;
}
.exam-pick {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 12px 22px; padding: 10px 12px; background: #16262c; border-radius: 3px;
}
.exam-pick select {
  background: transparent; border: none; color: #eaf3f4;
  font-family: var(--mono); font-size: 12px; width: 100%; cursor: pointer;
}
.exam-pick select option { background: #16262c; color: #eaf3f4; }

.rail nav { display: flex; flex-direction: column; }
.rail nav a {
  display: flex; align-items: center; gap: 11px; padding: 11px 20px;
  color: #9db1b7; font-size: 14px;
}
.rail nav a svg { flex-shrink: 0; }
.rail nav a:hover { color: #cfe0e3; }
.rail nav a[aria-current="page"] {
  background: #16262c; color: #eaf3f4; font-weight: 500;
  box-shadow: inset 3px 0 0 var(--teal-bright);
}
.rail nav a[aria-current="page"] svg { stroke: var(--teal-bright); }

.rail-foot { margin-top: auto; padding: 16px 20px 0; border-top: 1px solid #1c2b31; }
.rail-foot .k { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #5d747a; }
.rail-foot .v { font-family: var(--mono); font-size: 17px; color: #eaf3f4; }
.rail-foot .v small { font-size: 12px; color: #5d747a; }
.bar { height: 4px; background: #1c2b31; margin-top: 8px; }

/* Buying has to be reachable from inside the app: a signed-in candidate who
   owns nothing previously had no route to /pricing at all. Deliberately NOT
   inside .rail-foot, which is display:none on narrow screens -- the one place
   a stuck buyer most needs it. */
.rail-cta { display: block; margin: 14px 20px 0; padding: 11px 13px;
            border: 1px solid var(--teal-bright); text-decoration: none; }
.rail-cta strong { display: block; font-size: 12.5px; font-weight: 600; color: #eaf3f4; }
.rail-cta span { display: block; margin-top: 2px; font-family: var(--mono);
                 font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
                 color: var(--teal-bright); }
.rail-cta:hover { background: #10323a; }
.rail-link { margin: 14px 20px 0; font-size: 12px; }
.rail-link a { color: #5d747a; text-decoration: none; }
.rail-link a:hover { color: var(--teal-bright); }

.bar > i { display: block; height: 100%; background: var(--teal-bright); }

/* ---------- main ---------- */

.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 34px; background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.topbar h2 { font-size: 20px; font-weight: 600; }
.topbar .sub { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.content { padding: 24px 34px 40px; }

/* ---------- controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border-radius: 3px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #085563; color: #fff; }
.btn-ghost { border-color: var(--rule); color: var(--body); background: var(--surface); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.card { background: var(--surface); border: 1px solid var(--rule); }
.card-pad { padding: 22px 26px; }
.card-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted);
}

.pill {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px;
}
.pill-pass { background: var(--pass-soft); color: var(--pass); }
.pill-warn { background: var(--brass-soft); color: var(--brass); }
.pill-risk { background: var(--risk-soft); color: var(--risk); }
.pill-flat { background: var(--sunk); color: var(--muted); }

/* ---------- readiness ---------- */

.readiness { display: grid; grid-template-columns: 430px 1fr; gap: 22px; align-items: start; }
.dial-value {
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
}
.dial-value b { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1; }
.dial-value .range { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dial-verdict { display: flex; justify-content: center; margin-top: 12px; }
.provisional .dial-value b { color: var(--muted); }

.obj-row {
  display: grid; grid-template-columns: 220px 1fr 96px; gap: 16px;
  align-items: center; padding: 9px 0;
}
.obj-row + .obj-row { border-top: 1px solid var(--rule-soft); }
.obj-name { font-size: 14px; font-weight: 500; }
.obj-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.track { height: 20px; background: var(--sunk); position: relative; overflow: hidden; }
.track > i { display: block; height: 100%; position: absolute; top: 0; left: 0; }
.track > .ghost { background: var(--rule); }
.obj-num { text-align: right; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.obj-sub { text-align: right; font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* ---------- drill ---------- */

.drill { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.qrail { background: var(--ink); display: flex; flex-direction: column; overflow: auto; }
.qrail-head { padding: 20px 22px 16px; border-bottom: 1px solid #1c2b31; }
.qrail-list { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.qrail-item {
  display: grid; grid-template-columns: 30px 1fr 20px; gap: 10px;
  align-items: center; padding: 8px; border-radius: 2px;
  font-size: 13px; color: #9db1b7;
}
.qrail-item .n { font-family: var(--mono); font-size: 12px; color: #5d747a; }
.qrail-item .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qrail-item.answered { color: #cfe0e3; }
.qrail-item[aria-current="true"] {
  background: #16262c; color: #eaf3f4; font-weight: 500;
  box-shadow: inset 3px 0 0 var(--teal-bright);
}
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #33474e; justify-self: center; }
.dot.on { background: var(--teal-bright); border-color: var(--teal-bright); }

.qcard { width: min(820px, 100%); margin: 0 auto; }
.qtags { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em;
  padding: 4px 9px; text-transform: uppercase;
}
.tag-obj { background: var(--teal-soft); color: var(--teal); }
.tag-new { background: var(--brass-soft); color: var(--brass); }
.stem { font-size: 17px; line-height: 1.62; margin-bottom: 24px; }

.options { display: flex; flex-direction: column; gap: 11px; }
.option { display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .box {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; border: 1px solid var(--rule); border-radius: 3px;
  background: var(--surface); transition: border-color .12s, background .12s;
}
.option .box:hover { border-color: var(--teal); }
.option .letter {
  font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--body);
  width: 26px; height: 26px; border: 1px solid #c3d4d6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.option input:checked + .box { border: 2px solid var(--teal); background: #f5fafb; padding: 15px 17px; }
.option input:checked + .box .letter { background: var(--teal); color: #fff; border-color: var(--teal); }
.option input:focus-visible + .box { outline: 2px solid var(--teal); outline-offset: 2px; }
.option .text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ── confirm mode: rule an option out before committing ── */

.option .box { position: relative; }
.strike {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 26px; height: 26px; flex: none; cursor: pointer; border-radius: 50%;
  font-size: 14px; line-height: 1; color: #93a7ad;
  background: none; border: 1px solid transparent;
  transition: color .12s ease, border-color .12s ease, background .12s ease;
}
.strike:hover { color: var(--risk); border-color: var(--risk); background: #fff; }
.option .text { padding-right: 30px; }

/* Struck out, not hidden: the candidate wants to see what they ruled out,
   and a vanished option would make the letters non-contiguous. */
.option.is-eliminated .box { background: var(--rule-soft); border-style: dashed; }
.option.is-eliminated .text {
  text-decoration: line-through; text-decoration-thickness: 1px;
  color: #9db1b7; opacity: .72;
}
.option.is-eliminated .letter { color: #b4c3c6; border-color: #dde7e8; }
.option.is-eliminated .box:hover { border-color: var(--rule); }

.confirm-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px;
}
.confirm-row .sub { max-width: 46ch; }

/* review states
   Scoped to .options, not .option: the review page and the reveal step render
   read-only boxes as .options > div > .box, with no .option label around them,
   so a rule requiring that ancestor never matched and nothing was ever tinted.
   The base lives here rather than inline for the same reason -- an inline
   border shorthand beats a class border-color. */
.options .box {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start;
  padding: 14px 16px; border: 1px solid var(--rule); border-radius: 3px;
  background: var(--surface);
}
.options .box.is-correct {
  border-color: var(--pass); background: var(--pass-soft);
  box-shadow: inset 3px 0 0 var(--pass);
}
.options .box.is-wrong {
  border-color: var(--risk); background: var(--risk-soft);
  box-shadow: inset 3px 0 0 var(--risk);
}
.options .box.is-correct .letter { border-color: var(--pass); color: var(--pass); }
.options .box.is-wrong   .letter { border-color: var(--risk); color: var(--risk); }
.note {
  font-size: 13px; line-height: 1.6; color: var(--body);
  padding: 10px 18px 0 62px;
}
.note.correct { color: var(--pass); }
.note.wrong { color: var(--risk); }

/* The one card on the result page that is asking for money. Border rather
   than fill, so it reads as emphasis and not as an advertisement. */
.upsell { border: 1px solid var(--teal); box-shadow: inset 0 3px 0 var(--teal-bright); }

/* Sign out lives above .rail-foot, which is display:none on narrow screens --
   being unable to leave a session on a shared phone is the worst place for it. */
.rail-out { margin: 12px 20px 0; }
.rail-out button {
  width: 100%; padding: 8px 0; cursor: pointer; border-radius: 3px;
  font-family: var(--sans); font-size: 12.5px; color: #7f959b;
  background: none; border: 1px solid #22343a;
  transition: color .12s ease, border-color .12s ease;
}
.rail-out button:hover { color: #eaf3f4; border-color: #33474e; }

/* The exam a page is about, promoted out of the grey subtitle and into the
   heading -- the rail picker was too quiet to answer "which exam is this?". */
.h2-exam {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; color: var(--teal); white-space: nowrap;
}

/* Full exam name beside the code. Dropped rather than wrapped below ~1050px:
   the drill topbar also carries Prev/Next and Finish, and a wrapping title
   pushes those onto a second row mid-question. The code always survives. */
.ex-full { font-weight: 400; color: #9db1b7; }
@media (max-width: 1050px) { .ex-full { display: none; } }

/* ── Sign in with Google ──
   Built to Google's identity guidelines rather than to our own palette:
   white ground, 1px #747775 border, 4px radius, 40px minimum height,
   Roboto Medium 14px at #1f1f1f, and the mark used unmodified at 18px.
   A recoloured version would read as a phishing page, not a login. */
.gsi {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 44px; padding: 0 16px; border-radius: 4px;
  background: #fff; border: 1px solid #747775; text-decoration: none;
  font-family: "Roboto", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: .0107em; color: #1f1f1f;
  transition: background .15s ease, box-shadow .15s ease;
}
.gsi:hover { background: #f7f8f8; box-shadow: 0 1px 2px rgba(60,64,67,.30), 0 1px 3px 1px rgba(60,64,67,.15); }
.gsi:active { background: #eef0f0; }
.gsi:focus-visible { outline: 2px solid #4285f4; outline-offset: 2px; }
.gsi svg { flex: none; }

/* Any provider without its own brand treatment falls back to the app's look. */
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; border: 1px solid #2c4046; border-radius: 4px;
  background: #101d22; color: #eaf3f4; text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.oauth-btn:hover { border-color: #33474e; }

/* ---------- first-run exam chooser ---------- */

.pick-wrap { max-width: 940px; margin: 0 auto; padding: 56px 24px 80px; }
.pick-head { margin-bottom: 32px; }
.pick-head h1 {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 700;
  letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink);
}
.pick-head p { font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 58ch; margin: 0; }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pick {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  text-decoration: none; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--rule);
  transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.pick:hover {
  border-color: var(--teal); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 21, 25, .08);
}
.pick-top { display: flex; align-items: baseline; gap: 10px; }
.pick-code { font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: .06em; }
.pick-short { font-size: 12px; color: var(--muted); }
.pick h2 {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  margin: 0; color: var(--ink); line-height: 1.25;
}
.pick p { font-size: 13.5px; line-height: 1.55; color: var(--body); margin: 0; flex-grow: 1; }
.pick-facts {
  display: flex; flex-direction: column; gap: 3px; padding-top: 6px;
  border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted);
}
.pick-facts b { font-family: var(--mono); color: var(--ink); }
.pick-go { font-size: 13px; font-weight: 600; color: var(--teal); }

.pick-out { margin-top: 28px; }
.pick-out button {
  padding: 8px 16px; cursor: pointer; background: none;
  border: 1px solid var(--rule); border-radius: 3px;
  font-family: var(--sans); font-size: 13px; color: var(--muted);
}
.pick-out button:hover { border-color: var(--teal); color: var(--teal); }

@media (prefers-reduced-motion: reduce) { .pick { transition: none; } }

/* ---------- drill setup screen ---------- */

.setup { display: flex; flex-direction: column; gap: 16px; max-width: 620px; }

.su-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 16px;
}
.su-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.su-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.su-hint { font-size: 12.5px; color: var(--muted); }

/* ── length ── */
.su-count { display: flex; align-items: center; justify-content: center; gap: 20px; }
.su-readout { display: flex; align-items: baseline; gap: 8px; }
.su-readout input {
  width: 96px; padding: 0; text-align: right; border: none; background: none;
  font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.su-readout input::-webkit-outer-spin-button,
.su-readout input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.su-readout input:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 3px; }
.su-unit { font-size: 14px; color: var(--muted); }

.su-step {
  width: 38px; height: 38px; flex: none; cursor: pointer; border-radius: 50%;
  font-size: 20px; line-height: 1; color: var(--teal);
  background: #fff; border: 1px solid var(--rule);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.su-step:hover { border-color: var(--teal); background: var(--teal-soft); }
.su-step:active { transform: scale(.94); }

/* Track fill is driven by --pct, set from JS. */
.su-range {
  --pct: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; background: transparent; cursor: pointer;
}
.su-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right,
    var(--teal-bright) 0 var(--pct), var(--rule) var(--pct) 100%);
}
.su-range::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right,
    var(--teal-bright) 0 var(--pct), var(--rule) var(--pct) 100%);
}
.su-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px;
  border-radius: 50%; background: #fff; border: 2px solid var(--teal);
  box-shadow: 0 1px 3px rgba(12, 21, 25, .22); transition: transform .12s ease;
}
.su-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  border: 2px solid var(--teal); box-shadow: 0 1px 3px rgba(12, 21, 25, .22);
}
.su-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.su-range:focus-visible { outline: none; }
.su-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--teal-soft); }

.su-scale {
  display: flex; justify-content: space-between; margin-top: -10px;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}

.su-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.su-chip {
  padding: 7px 14px; cursor: pointer; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  background: #fff; border: 1px solid var(--rule);
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.su-chip:hover { border-color: var(--teal); color: var(--teal); }
.su-chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }

.su-note { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── option rows ── */
.su-opts { display: flex; flex-direction: column; gap: 10px; }
.su-opt {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 13px;
  align-items: start; padding: 14px 16px; cursor: pointer; border-radius: 5px;
  background: #fff; border: 1px solid var(--rule);
  transition: border-color .12s ease, background .12s ease;
}
.su-opt:hover { border-color: var(--teal-bright); }
.su-opt input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--teal); }
.su-opt-body { display: flex; flex-direction: column; gap: 4px; }
.su-opt-body b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.su-opt-body em { font-style: normal; font-size: 13px; line-height: 1.55; color: var(--body); }
.su-opt:has(input:checked) {
  border-color: var(--teal); background: var(--teal-soft);
  box-shadow: inset 3px 0 0 var(--teal);
}

/* ── go ── */
.su-go {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 2px;
}
.su-start { height: 46px; padding: 0 26px; font-size: 15px; }
.su-summary {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 620px) {
  .su-readout input { width: 74px; font-size: 40px; }
  .su-count { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .su-step, .su-chip, .su-opt, .su-range::-webkit-slider-thumb { transition: none; }
}

/* ---------- misc ---------- */

.why { display: flex; flex-direction: column; gap: 11px; }
.why-row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--rule-soft); }
.why-row:last-child { border-bottom: none; }
.why-row .k { font-size: 13px; color: var(--body); }
.why-row .v { font-family: var(--mono); font-size: 14px; }

.empty { padding: 40px 26px; text-align: center; color: var(--muted); }

@media (max-width: 1100px) {
  .readiness { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell, .drill { grid-template-columns: 1fr; }
  .rail, .qrail { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 12px; }
  .rail nav { flex-direction: row; }
  .rail-foot { display: none; }
  .content { padding: 16px; }
  .obj-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
