/* EEL Review admin overview. Styles from the approved mock-up (reference/admin-mockup), plus the sign-in screen. */
/* Layout: an admin console. Sticky header with sign-in state, a summary strip, then a client/project folder
   tree on the left beside the review list on the right; the tree stacks above the list on phones. */
:root {
  --purple: #5B2A9E; --purple-deep: #46207A; --ink: #1E0F36; --muted: #5E4F72; --amber: #FFC85C; --lilac: #C6B4DD;
  --bg: #F6F3FA; --surface: #FFFFFF; --surface-2: #FBF9FD; --rule: #E4DCEF; --tint: #F0EAF9; --on-accent: #FFFFFF;
  --good: #1E6B44; --good-bg: #DDF2E6; --warn: #8A5300; --warn-bg: #FFF1D6; --bad: #B42318; --bad-bg: #FCE6E3; --info: #1C4E9C; --info-bg: #E2ECFA;
  --display: "Funnel Display", "Segoe UI", system-ui, sans-serif;
  --body: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --r: 12px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]):not([data-eel-theme="light"]) {
  --purple: #B79CF0; --purple-deep: #CDB8F6; --ink: #EEE8F8; --muted: #B0A4C4; --amber: #FFC85C; --lilac: #6E5A8F;
  --bg: #15101F; --surface: #1F1830; --surface-2: #251D38; --rule: #352B4C; --tint: #2C2242; --on-accent: #1E0F36;
  --good: #7FD8A8; --good-bg: #173A29; --warn: #F5C66B; --warn-bg: #3A2C10; --bad: #FF9A8F; --bad-bg: #42201C; --info: #9CC0FF; --info-bg: #1B2C4A;
  color-scheme: dark } }
:root[data-theme="dark"]:not([data-eel-theme="light"]), :root[data-eel-theme="dark"] {
  --purple: #B79CF0; --purple-deep: #CDB8F6; --ink: #EEE8F8; --muted: #B0A4C4; --amber: #FFC85C; --lilac: #6E5A8F;
  --bg: #15101F; --surface: #1F1830; --surface-2: #251D38; --rule: #352B4C; --tint: #2C2242; --on-accent: #1E0F36;
  --good: #7FD8A8; --good-bg: #173A29; --warn: #F5C66B; --warn-bg: #3A2C10; --bad: #FF9A8F; --bad-bg: #42201C; --info: #9CC0FF; --info-bg: #1B2C4A;
  color-scheme: dark }

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #1E0F36; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.15; text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header: always EEL ink, in both themes */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: #1E0F36; color: #fff;
  padding-block: 12px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.top__in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.brand img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.brand h1 { font-size: 20px; color: #fff; }
.brand p { margin: 0; font-size: 12.5px; color: #C6B4DD; }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1E0F36; background: #FFC85C; padding: 5px 9px; border-radius: 99px; }
.lock svg { width: 13px; height: 13px; }
.me { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #E3D8F3; }
.me i { width: 30px; height: 30px; border-radius: 50%; background: #7A52B3; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; }
.hbtn { appearance: none; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 40px; }
.hbtn:hover { background: rgba(255,255,255,.1); }
.hbtn--amber { background: #FFC85C; border-color: #FFC85C; color: #1E0F36; }
.hbtn--amber:hover { background: #F5B93C; }

.wrap { max-width: 1320px; margin: 0 auto; padding-block: 18px 48px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 16px; }

/* summary */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.kpi { appearance: none; text-align: left; background: var(--surface); border: 1.5px solid var(--rule); border-radius: var(--r); padding: 12px 14px; display: grid; gap: 2px; cursor: pointer; border-top: 4px solid var(--kc); }
.kpi:hover { border-color: var(--lilac); border-top-color: var(--kc); }
.kpi[aria-pressed="true"] { background: var(--tint); }
.kpi span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi b { font: 700 28px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12.5px; color: var(--muted); }

/* layout */
.main { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .main { grid-template-columns: 1fr; } }

/* tree */
.tree { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 10px; position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); }
@media (max-width: 900px) { .tree { position: static; } }
.tree h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 8px; font-family: var(--body); font-weight: 700; }
.tree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tree ul ul { padding-left: 18px; }
.tnode { appearance: none; width: 100%; border: 0; background: transparent; text-align: left; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.tnode:hover { background: var(--surface-2); }
.tnode[aria-current="true"] { background: var(--tint); font-weight: 700; }
.tnode svg { width: 16px; height: 16px; flex: none; color: var(--purple); }
.tnode .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnode .ct { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tnode .flag { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }

/* toolbar */
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1.5px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { appearance: none; border: 0; background: transparent; padding: 8px 12px; font-weight: 600; font-size: 13.5px; cursor: pointer; min-height: 38px; }
.seg button + button { border-left: 1.5px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.search { flex: 1; min-width: 200px; border: 1.5px solid var(--rule); background: var(--surface); border-radius: 10px; padding: 8px 12px; min-height: 40px; }
.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs b { color: var(--ink); }

/* folders and courses */
.list { display: grid; gap: 14px; }
.client { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.client__hd, .proj__hd { appearance: none; width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.client__hd { padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--rule); }
.client__hd h3 { font-size: 19px; }
.chev { width: 18px; height: 18px; flex: none; transition: transform .15s; color: var(--muted); }
[aria-expanded="false"] > .chev { transform: rotate(-90deg); }
.client__hd .meta, .proj__hd .meta { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.proj { border-top: 1px solid var(--rule); }
.client > .proj:first-of-type { border-top: 0; }
.proj__hd { padding: 12px 16px; }
.proj__hd h4 { margin: 0; font: 700 16px var(--display); }
.proj__bd { padding: 0 16px 14px; display: grid; gap: 10px; }
.projtools { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--muted); }
.projtools select { border: 1.5px solid var(--rule); background: var(--surface); border-radius: 8px; padding: 5px 8px; font-size: 13px; }

.course { border: 1.5px solid var(--rule); border-radius: 10px; overflow: hidden; }
.course__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: var(--surface-2); }
.course__hd h5 { margin: 0; font: 700 15px var(--display); flex: 1; min-width: 180px; }
.rv { display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1.6fr) auto; gap: 8px 14px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .rv { grid-template-columns: 56px minmax(0,1fr); } .rv .counts, .rv .acts { grid-column: 1 / -1; } }
.rv.is-closed { background: var(--surface-2); }
.rv.is-closed .ver { background: var(--rule); color: var(--muted); }
.ver { font: 700 16px var(--display); background: var(--ink); color: var(--bg); border-radius: 8px; text-align: center; padding: 7px 0; font-variant-numeric: tabular-nums; }
.rv__who { display: grid; gap: 3px; min-width: 0; }
.rv__who b { font-weight: 700; }
.rv__who small { color: var(--muted); font-size: 12.5px; }
.counts { display: flex; flex-wrap: wrap; gap: 6px; }
.acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; position: relative; }
@media (max-width: 760px) { .acts { justify-content: flex-start; } }

.pill { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--body); padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--open { color: var(--warn); background: var(--warn-bg); }
.pill--done { color: var(--good); background: var(--good-bg); }
.pill--closed { color: var(--muted); background: var(--tint); }
.pill--none { color: var(--muted); background: transparent; border: 1.5px dashed var(--rule); }
.chip { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/1 var(--body); padding: 5px 8px; border-radius: 99px; background: var(--tint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip--bad { background: var(--bad-bg); color: var(--bad); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--info { background: var(--info-bg); color: var(--info); }
.chip--ex { background: transparent; border: 1.5px dashed var(--lilac); color: var(--muted); }

.btn { appearance: none; border: 1.5px solid var(--rule); background: var(--surface); border-radius: 9px; padding: 7px 11px; font-weight: 600; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { border-color: var(--lilac); background: var(--tint); }
.btn--primary { background: var(--purple); border-color: var(--purple); color: var(--on-accent); }
.btn--primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn svg { width: 16px; height: 16px; }
.btn[aria-disabled="true"] { opacity: .55; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 4; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(30,15,54,.4); padding: 6px; min-width: 230px; display: grid; }
.menu button { appearance: none; border: 0; background: transparent; text-align: left; padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.menu button:hover, .menu button:focus-visible { background: var(--tint); }
.menu .danger { color: var(--bad); }
.empty { padding: 14px 12px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* panel */
.scrim { position: fixed; inset: 0; background: rgba(15,8,28,.45); z-index: 20; }
.panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 21; width: min(460px, 100vw); background: var(--surface); display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: -20px 0 40px -20px rgba(15,8,28,.5); }
.panel__hd { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.panel__hd h2 { font-size: 20px; flex: 1; }
.panel__bd { padding: 18px; overflow: auto; display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 12.5px; }
.field input, .field select { border: 1.5px solid var(--rule); background: var(--surface); border-radius: 10px; padding: 9px 11px; width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); }
.note { background: var(--tint); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.err { color: var(--bad); font-weight: 600; font-size: 13.5px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30; background: #1E0F36; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; max-width: calc(100vw - 32px); }
.iconbtn { appearance: none; border: 0; background: transparent; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.iconbtn:hover { background: var(--tint); }
.iconbtn svg { width: 20px; height: 20px; }

/* sign-in and messages */
.gate { max-width: 520px; margin: 8vh auto 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; }
.gate h2 { font-size: 22px; }
.gate p { margin: 0; }
.ms { display: inline-flex; align-items: center; gap: 10px; }
.ms svg { width: 18px; height: 18px; }
.loading { color: var(--muted); padding: 24px 0; }
.rv__link { font-size: 12.5px; color: var(--muted); }
.rv__link.is-bad { color: var(--bad); font-weight: 600; }
.field textarea { border: 1.5px solid var(--rule); background: var(--surface); border-radius: 10px; padding: 9px 11px; width: 100%; font: inherit; color: inherit; }
.hbtn span { white-space: nowrap; }
@media (max-width: 640px) { .hbtn span.hide-sm { display: none; } }
html, body { margin: 0; }
.appgrid:not([hidden]) { display: grid; gap: 16px; }
[hidden] { display: none !important; }
/* Narrower screens: counts and buttons go under the version details rather than squeezing them */
@media (max-width: 1180px) { .rv { grid-template-columns: 64px minmax(0, 1fr); } .rv .counts, .rv .acts { grid-column: 2 / -1; } .rv .acts { justify-content: flex-start; } }
@media (max-width: 760px) { .rv .counts, .rv .acts { grid-column: 1 / -1; } }
@media (max-width: 640px) { .brand { flex-basis: 100%; } .brand p { display: none; } }

/* ---------- Folder layout (28 October 2026): tree, slim summary, cards or list, course page ---------- */
.tree ul ul { padding-left: 14px; }
.tnode-row { display: flex; align-items: center; gap: 2px; }
.twist { appearance: none; border: 0; background: transparent; width: 24px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 6px; cursor: pointer; color: var(--muted); padding: 0; }
.twist:hover { background: var(--surface-2); }
.twist svg { width: 14px; height: 14px; transition: transform .15s; }
.twist[aria-expanded="true"] svg { transform: rotate(90deg); }
a.tnode { color: var(--ink); text-decoration: none; min-width: 0; }
.tnode[aria-current="page"] { background: var(--tint); font-weight: 700; }
.view { display: grid; gap: 14px; min-width: 0; align-content: start; }
.vhead { display: grid; gap: 4px; }
.vhead__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.vhead h2 { font-size: 24px; flex: 1; min-width: 200px; }
.vhead h2:focus { outline: none; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.ret { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ret select { border: 1.5px solid var(--rule); background: var(--surface); border-radius: 8px; padding: 5px 8px; font-size: 13px; color: var(--ink); }
.strip { display: flex; flex-wrap: wrap; gap: 6px; }
.strip__i { appearance: none; border: 1.5px solid var(--rule); background: var(--surface); border-radius: 99px; padding: 5px 12px; min-height: 34px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.strip__i b { color: var(--ink); font-variant-numeric: tabular-nums; }
.strip__i:not([aria-pressed]) { cursor: default; }
.strip__i[aria-pressed]:hover { border-color: var(--lilac); }
.strip__i[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.strip__i[aria-pressed="true"] b { color: var(--bg); }
.strip__i.is-bad b { color: var(--bad); }
.strip__i.is-bad[aria-pressed="true"] b { color: var(--bg); }
.seg--icons button { display: grid; place-items: center; width: 40px; padding: 0; }
.seg--icons svg { width: 18px; height: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.card { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border-radius: var(--r); border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 120px; }
.card:hover { border-color: var(--lilac); background: var(--surface-2); }
.card--folder { background: var(--tint); border-color: transparent; }
.card--folder:hover { border-color: var(--lilac); background: var(--tint); }
.card__icon svg { width: 22px; height: 22px; color: var(--purple); }
.card__t { font: 700 16px/1.25 var(--display); }
.card__s { font-size: 13px; color: var(--muted); }
.card__path { font-size: 12px; color: var(--muted); }
.card__nums { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.card__nums b { color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.card .pill { justify-self: start; }
.card.is-attn { border-left: 4px solid var(--bad); }
.bad, .card__nums .bad b { color: var(--bad); }
.muted { color: var(--muted); }
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.ltable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.ltable th, .ltable td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.ltable tr:last-child td { border-bottom: 0; }
.ltable th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.ltable td.num { font-variant-numeric: tabular-nums; }
.ltable tr.is-attn td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.ltable small { display: block; font-size: 12px; }
.sortbtn { appearance: none; border: 0; background: transparent; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.sortbtn:hover { color: var(--ink); }
.rowlink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.rowlink:hover span { text-decoration: underline; }
.rowlink svg { width: 16px; height: 16px; color: var(--purple); flex: none; }
.empty--box { background: var(--surface); border: 1.5px dashed var(--rule); border-radius: var(--r); padding: 18px; }
.acts--start { justify-content: flex-start; }
.cmeta { margin: 0; font-size: 13px; color: var(--muted); }
.course { background: var(--surface); }
.course > .rv:first-child { border-top: 0; }
a.tnode { flex: 1; width: auto; }
.tree { overflow: hidden; }
.tree ul { grid-template-columns: minmax(0, 1fr); }
.tree li, .tnode-row { min-width: 0; }
/* Add button sits above the folders it adds to (header keeps only account controls on the right) */
.addbtn { appearance: none; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin-bottom: 8px; padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--amber); background: var(--amber); color: #1E0F36; font-weight: 700; font-size: 14px; cursor: pointer; }
.addbtn:hover { background: #F5B93C; border-color: #F5B93C; }
.addbtn svg { flex: none; }
.lock { margin-left: auto; }
/* Course cards: the whole card opens the course page; Open and Tracker sit above that link */
.card--course { position: relative; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--purple); outline-offset: 2px; }
.card--course:hover { border-color: var(--lilac); background: var(--surface-2); }
.quick { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.quick--compact { flex-wrap: nowrap; justify-content: flex-end; }
.btn--sm { min-height: 32px; padding: 5px 9px; font-size: 13px; }
.btn--sm svg { width: 14px; height: 14px; }
.quick-cell { width: 1%; white-space: nowrap; }
.sect { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.sect h3 { font-size: 17px; }
.sect .muted { font-size: 13px; }
.sect .btn { margin-left: auto; }
.vbody { display: grid; gap: 12px; }
.vbody > .sect:not(:first-child) { margin-top: 14px; }
/* Upload review version */
.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px; border: 2px dashed var(--lilac); border-radius: var(--r); background: var(--surface-2); cursor: pointer; }
.drop svg { width: 26px; height: 26px; color: var(--purple); }
.drop.is-over, .drop:hover { border-color: var(--purple); background: var(--tint); }
#up-folder:focus-visible + .drop { outline: 3px solid var(--purple); outline-offset: 2px; }
.note--bad { background: var(--bad-bg); color: var(--bad); }
.progress { display: grid; gap: 6px; }
.progress__bar { height: 10px; border-radius: 99px; background: var(--tint); overflow: hidden; position: relative; }
.progress__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--purple); transition: width .2s; }
