/* hi claria v7 — assessment console.
   Monochrome shell inherited from v5, brand hues used only as module marks.
   One rule: nothing on screen unless it earns its place. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ink:       #0A0A0A;
  --ink-soft:  #1D1D1F;
  --grey-90:   #2C2C2E;
  --grey-60:   #6E6E73;
  --grey-40:   #AEAEB2;
  --grey-20:   #D2D2D7;
  --grey-10:   #E8E8ED;
  --grey-05:   #F0F0F2;
  --grey-03:   #F5F5F7;
  --paper:     #FAFAFA;
  --white:     #FFFFFF;
  --accent:    #FF183F;
  --accent-dk: #D41233;
  --sage:      #5E9174;
  --amber:     #B7791F;

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(10,10,10,.04);
  --shadow-2: 0 4px 16px -8px rgba(10,10,10,.22);
  --shadow-3: 0 18px 48px -20px rgba(10,10,10,.30);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; }

/* ─────────────────────────────── top bar ─────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  height: 56px; padding: 0 28px;
  background: rgba(250,250,250,.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--grey-10);
}
.brand { font-size: 15px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.brand em { font-style: normal; font-weight: 300; color: var(--grey-40); margin-left: 7px; }
.topnav { display: flex; gap: 4px; margin-left: 6px; }
.topnav a {
  font-size: 13px; color: var(--grey-60); padding: 6px 12px; border-radius: 100px;
  transition: color .15s, background .15s;
}
.topnav a:hover { color: var(--ink); }
.topnav a.on { color: var(--ink); background: var(--grey-05); }
.topnav .pip {
  display: inline-block; min-width: 16px; height: 16px; line-height: 16px;
  margin-left: 6px; padding: 0 5px; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 600; text-align: center;
}
.spacer { flex: 1; }

/* Status label outside the top nav, and a toggleable option pill. */
.pip {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 100px;
  background: var(--grey-05); color: var(--grey-60);
  font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.chip {
  border: 1px solid var(--grey-20); background: var(--white); color: var(--ink);
  border-radius: 100px; padding: 4px 11px; font: inherit; font-size: 11.5px;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.off { color: var(--grey-40); background: var(--grey-03); text-decoration: line-through; }

/* Numbered wizard: one decision per step, evidence before the commit. */
.wizard { list-style: none; margin: 26px 0 0; padding: 0; }
.step { display: flex; gap: 16px; padding: 0 0 22px; position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 0;
  width: 1px; background: var(--grey-10);
}
.step-n {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--grey-20); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--grey-40); z-index: 1;
}
.step.done .step-n { background: var(--ink); border-color: var(--ink); color: var(--white); }
.step-body {
  flex: 1; min-width: 0; background: var(--white); border: 1px solid var(--grey-10);
  border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-1);
}

/* Impossible to forget you're inside someone else's account. */
.asbar {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--ink); color: var(--white); font-size: 12px; padding: 7px 16px;
}
.asbar b { font-weight: 600; }
.asbar a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

.who { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey-60); }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
}

/* ─────────────────────────────── layout ──────────────────────────────── */

.stage { max-width: 1180px; margin: 0 auto; padding: 44px 28px 100px; animation: rise .4s var(--ease); }
.stage.narrow { max-width: 720px; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--grey-40);
}
h1.head {
  font-size: 38px; font-weight: 500; line-height: 1.1; letter-spacing: -.028em;
  color: var(--ink); margin: 10px 0 6px;
}
h1.head em { font-style: normal; font-weight: 300; color: var(--grey-40); }
.sub { font-size: 14px; color: var(--grey-60); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }

.shead {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--grey-40); margin: 34px 0 12px;
}
.shead:first-child { margin-top: 0; }

/* ─────────────────────────────── buttons ─────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink);
  border-radius: 100px; padding: 10px 20px;
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
  box-shadow: 0 2px 8px -4px rgba(10,10,10,.4);
}
.btn:hover { background: var(--grey-90); border-color: var(--grey-90); box-shadow: 0 8px 18px -8px rgba(10,10,10,.45); }
.btn:active { transform: scale(.985); }
.btn:disabled { background: var(--grey-20); border-color: var(--grey-20); color: var(--grey-60); cursor: not-allowed; box-shadow: none; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover:not(:disabled) .arr { transform: translateX(3px); }

.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--grey-20); box-shadow: var(--shadow-1); }
.btn.ghost:hover { background: var(--white); border-color: var(--ink); }
.btn.quiet { background: transparent; color: var(--grey-60); border-color: transparent; box-shadow: none; }
.btn.quiet:hover { background: var(--grey-05); color: var(--ink); }
.btn.danger { background: transparent; color: var(--accent); border-color: transparent; box-shadow: none; }
.btn.danger:hover { background: rgba(255,24,63,.07); }
.btn.sm { padding: 7px 14px; font-size: 12px; }

.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--grey-60);
  text-decoration: underline; text-decoration-color: var(--grey-20); text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.linkish:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ──────────────────────────────── forms ──────────────────────────────── */

.field { margin-bottom: 16px; }
.field > label, .flabel {
  display: block; font-size: 11px; font-weight: 500; color: var(--grey-60);
  letter-spacing: .01em; margin-bottom: 6px;
}
.input, .select, .textarea {
  width: 100%; background: var(--white);
  border: 1px solid var(--grey-20); border-radius: var(--r);
  padding: 11px 14px; font-size: 13.5px; color: var(--ink); outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.textarea { resize: vertical; min-height: 92px; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--grey-40); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3.5px rgba(10,10,10,.06);
}
.input::placeholder, .textarea::placeholder { color: var(--grey-40); }
.input:disabled, .textarea:disabled, .select:disabled {
  background: var(--grey-03); color: var(--grey-60); cursor: not-allowed; border-color: var(--grey-10);
}
.select {
  appearance: none; cursor: pointer; padding-right: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%236E6E73' stroke-width='1.5' d='M3 4.5l3 3 3-3'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.hint { font-size: 11.5px; color: var(--grey-40); margin-top: 6px; line-height: 1.5; }
.hint code {
  background: var(--grey-05); border-radius: 4px; padding: 1px 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--ink-soft);
}

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  width: 40px; height: 24px; border-radius: 100px; background: var(--grey-20);
  position: relative; transition: background .2s var(--ease); flex-shrink: 0;
}
.switch .track::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s var(--ease);
}
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:disabled + .track { opacity: .45; }
.switch .st { font-size: 13px; color: var(--ink-soft); }

/* ──────────────────────────────── cards ─────────────────────────────── */

.card {
  background: var(--white); border: 1px solid var(--grey-10);
  border-radius: var(--r-lg); padding: 24px 26px; margin-bottom: 14px;
  box-shadow: var(--shadow-1);
}
.card.tight { padding: 18px 20px; }
.card h3 { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.card .card-sub { font-size: 12.5px; color: var(--grey-60); margin-top: 4px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.card-head.bare { margin-bottom: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; background: var(--grey-05); color: var(--grey-60);
  white-space: nowrap;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.live { background: rgba(255,24,63,.08); color: var(--accent-dk); }
.tag.live .dot { background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.tag.scheduled { background: rgba(94,145,116,.12); color: #3d6650; }
.tag.draft { background: var(--grey-05); color: var(--grey-60); }
.tag.closed { background: var(--ink); color: #fff; }
.tag.warn { background: rgba(183,121,31,.10); color: var(--amber); }

/* ───────────────────────────── list rows ─────────────────────────────── */

.list { border-top: 1px solid var(--grey-10); margin-bottom: 34px; }
.arow {
  position: relative;
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 24px;
  padding: 16px 12px; border-bottom: 1px solid var(--grey-10);
  border-radius: var(--r); transition: background .15s, transform .15s var(--ease);
}
.arow:hover { background: var(--white); transform: translateX(2px); box-shadow: var(--shadow-1); }
.arow .rlink { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.arow > *:not(.rlink) { position: relative; z-index: 2; }
.arow > *:not(.rlink):not(.rend) { pointer-events: none; }
.arow .rend { display: flex; align-items: center; gap: 12px; }
.arow .rt { font-size: 14.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.arow .rm { font-size: 11.5px; color: var(--grey-40); margin-top: 3px; }
.arow .rnum { text-align: right; }
.arow .rnum b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.arow .rnum span { font-size: 10.5px; color: var(--grey-40); text-transform: uppercase; letter-spacing: .06em; }
.arow .ract { display: flex; gap: 6px; opacity: 0; transition: opacity .15s; }
.arow:hover .ract { opacity: 1; }
@media (max-width: 900px) {
  .arow { grid-template-columns: 1fr auto; }
  .arow .rnum, .arow .dots { display: none; }
  .arow .ract { opacity: 1; }
}

.dots { display: flex; gap: 4px; align-items: center; }
.dots i { width: 7px; height: 7px; border-radius: 50%; display: block; }

.empty {
  border: 1px dashed var(--grey-20); border-radius: var(--r-lg);
  padding: 56px 28px; text-align: center; color: var(--grey-60); font-size: 13px;
}
.empty b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; margin-bottom: 6px; }

/* ─────────────────────────── editor workspace ────────────────────────── */

.work { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 32px; align-items: start; }
@media (max-width: 1040px) { .work { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--grey-10); margin-bottom: 28px; }
.tabs a {
  position: relative; padding: 10px 16px 14px;
  font-size: 13px; font-weight: 500; color: var(--grey-40);
  transition: color .15s;
}
.tabs a:hover { color: var(--ink-soft); }
.tabs a.on { color: var(--ink); }
.tabs a.on::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--ink); border-radius: 2px;
}
.tabs a .tick { color: var(--sage); margin-left: 6px; font-size: 11px; }
.tabs .spacer { flex: 1; }

/* ─────────────────────────── module picker ───────────────────────────── */

.mods { display: grid; gap: 10px; }
.mod {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--grey-10); border-radius: var(--r-lg);
  padding: 18px 20px; cursor: pointer;
  transition: border-color .18s, box-shadow .18s var(--ease), transform .18s var(--ease);
}
.mod:hover { border-color: var(--grey-40); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.mod.on { border-color: var(--ink); box-shadow: var(--shadow-2); }
.mod input { position: absolute; opacity: 0; }
.mod .mark {
  width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  opacity: .35; transition: opacity .18s, transform .18s var(--ease);
}
.mod.on .mark { opacity: 1; }
.mod .ml { display: block; font-size: 14.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.mod .mt { display: block; font-size: 12.5px; color: var(--grey-60); margin-top: 3px; line-height: 1.45; }
.mod .mq { display: block; font-size: 11px; color: var(--grey-40); margin-top: 6px; letter-spacing: .01em; }
.mod .check {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--grey-20);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .18s, border-color .18s;
}
.mod.on .check { background: var(--ink); border-color: var(--ink); }
.mod .check svg { opacity: 0; transition: opacity .15s; }
.mod.on .check svg { opacity: 1; }

/* ───────────────────────── option cards (templates, modes) ───────────── */

.picks { display: grid; gap: 10px; }
.pick {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--grey-10); border-radius: var(--r-lg);
  padding: 18px 22px; cursor: pointer; text-align: left; width: 100%;
  transition: border-color .18s, box-shadow .18s var(--ease), transform .18s var(--ease);
}
.pick:hover { border-color: var(--grey-40); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.pick.on { border-color: var(--ink); box-shadow: var(--shadow-2); }
.pick input { position: absolute; opacity: 0; }
.pick .pl { font-size: 14.5px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.pick .pb { font-size: 12.5px; color: var(--grey-60); margin-top: 4px; line-height: 1.5; }
.pick .pm { font-size: 11px; color: var(--grey-40); margin-top: 8px; }
.pick .radio {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--grey-20);
  position: relative; flex-shrink: 0; transition: border-color .18s;
}
.pick.on .radio { border-color: var(--ink); border-width: 6px; }

/* ─────────────────────────── preview rail ────────────────────────────── */

.rail { position: sticky; top: 84px; display: grid; gap: 12px; }
.rail-card {
  background: var(--white); border: 1px solid var(--grey-10);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-1);
}
.rail-title {
  font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--grey-40); margin-bottom: 14px;
}
.ring-row { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.ring { width: 58px; height: 58px; flex-shrink: 0; position: relative; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.ring .bg { stroke: var(--grey-10); }
.ring .fg { stroke: var(--ink); transition: stroke-dashoffset .55s var(--ease); }
.ring .pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: -.02em;
}
.ring-txt .rl { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.ring-txt .rs { font-size: 11.5px; color: var(--grey-60); margin-top: 2px; }

.checks { display: grid; gap: 2px; margin-top: 16px; }
.chk { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 7px 0; }
.chk .ic {
  width: 16px; height: 16px; border-radius: 50%; margin-top: 2px;
  border: 1.5px solid var(--grey-20); display: flex; align-items: center; justify-content: center;
}
.chk.done .ic { background: var(--ink); border-color: var(--ink); }
.chk .ic svg { opacity: 0; }
.chk.done .ic svg { opacity: 1; }
.chk .cl { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.chk .cd { display: block; font-size: 11px; color: var(--grey-40); margin-top: 1px; line-height: 1.45; }
.chk.done .cd { color: var(--grey-60); }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--grey-10);
  border-radius: var(--r); overflow: hidden; }
.metric { background: var(--white); padding: 13px 14px; }
.metric b {
  display: block; font-size: 21px; font-weight: 500; color: var(--ink);
  letter-spacing: -.03em; line-height: 1.15;
}
.metric > span {
  display: block; font-size: 10px; color: var(--grey-40);
  text-transform: uppercase; letter-spacing: .07em; margin-top: 3px;
}
.metric b em { font-style: normal; font-size: 12px; color: var(--grey-40); margin-left: 2px; }

.railmods { display: grid; gap: 7px; }
.railmod { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-soft); }
.railmod i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.railmod span { margin-left: auto; font-size: 11px; color: var(--grey-40); }

/* ──────────────────────────── timeline ───────────────────────────────── */

.tl { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 78px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 95px; top: 18px; bottom: -2px;
  width: 1px; background: var(--grey-10);
}
.tl-item:last-child::before { display: none; }
.tl-when { font-size: 11px; color: var(--grey-40); text-align: right; padding-top: 3px; letter-spacing: .01em; }
.tl-body { position: relative; padding-left: 22px; }
.tl-body::before {
  content: ''; position: absolute; left: -1px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--grey-20);
}
.tl-item.on .tl-body::before { background: var(--ink); border-color: var(--ink); }
.tl-body .tt { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.tl-item.off .tt { color: var(--grey-40); text-decoration: line-through; }
.tl-body .td { font-size: 12px; color: var(--grey-60); margin-top: 2px; }

/* ──────────────────────────── tables ─────────────────────────────────── */

.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th {
  text-align: left; font-size: 10px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--grey-40);
  padding: 0 12px 9px 0; border-bottom: 1px solid var(--grey-10);
}
.table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--grey-05); color: var(--ink-soft); }
.table tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; }

/* ─────────────────────────── question preview ────────────────────────── */

.qgroup { margin-bottom: 40px; }
.qgroup-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qgroup-head i { width: 10px; height: 10px; border-radius: 50%; }
.qgroup-head h3 { font-size: 17px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.qgroup-head span { font-size: 11.5px; color: var(--grey-40); margin-left: auto; }
.q {
  background: var(--white); border: 1px solid var(--grey-10); border-radius: var(--r);
  padding: 16px 18px; margin-bottom: 8px;
}
.q .qn { font-size: 10px; color: var(--grey-40); letter-spacing: .08em; text-transform: uppercase; }
.q .qt { font-size: 13.5px; color: var(--ink); margin-top: 5px; line-height: 1.5; }
.q .qmeta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.q .qopt {
  font-size: 11.5px; color: var(--grey-60); background: var(--grey-03);
  border-radius: 100px; padding: 3px 10px;
}
.q .qnote { font-size: 11.5px; color: var(--grey-40); margin-top: 8px; font-style: italic; }
.q .qedit { background: rgba(94,145,116,.10); color: #3d6650; }

/* ───────────────────────────── flashes ───────────────────────────────── */

.flashes { position: fixed; top: 68px; right: 24px; z-index: 90; display: grid; gap: 8px; max-width: 380px; }
.flash {
  background: var(--ink); color: #fff; border-radius: var(--r);
  padding: 12px 16px; font-size: 12.5px; line-height: 1.5;
  box-shadow: var(--shadow-3); animation: slidein .35s var(--ease);
}
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.saved {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 14px);
  background: var(--ink); color: #fff; border-radius: 100px;
  padding: 9px 18px; font-size: 12px; box-shadow: var(--shadow-3);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  z-index: 90; display: flex; align-items: center; gap: 8px;
}
.saved.show { opacity: 1; transform: translate(-50%, 0); }

.banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--grey-10); border-left: 3px solid var(--ink);
  border-radius: var(--r); padding: 14px 18px; margin-bottom: 20px; font-size: 13px;
}
.banner.lockbar { border-left-color: var(--ink); background: var(--grey-03); }
.banner.warn { border-left-color: var(--amber); }
.banner .bt { font-weight: 500; color: var(--ink); }
.banner .bd { font-size: 12px; color: var(--grey-60); margin-top: 2px; }
.banner .spacer { flex: 1; }

.divider { height: 1px; background: var(--grey-10); margin: 26px 0; }
.muted { color: var(--grey-60); }
.small { font-size: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stack { display: grid; gap: 10px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
