/* Sage Gate Academics: the app's look ("Look E", chosen 2026-09-19).
   Soft greys and frosted panels, a dark icon rail, colour only where it means
   something (red overdue, gold in progress, green better). Used by every page
   except the drill screen itself, which keeps its Bluebook look (drill.css).

   Building blocks, in order: tokens, the frame (rail, side panel, main panel),
   type, stat cards, badges, buttons, tabs, lists, tables, forms, small screens. */

:root {
  --ink: #2c2c2e;
  --text: #3a3a3c;
  --soft: #77777a;          /* quiet text; darkest grey that still reads as quiet */
  --faint: #9a9a9d;
  --panel: rgba(238, 238, 238, .62);
  --panel-2: rgba(244, 244, 244, .55);
  --glass: rgba(255, 255, 255, .28);
  --glass-edge: rgba(255, 255, 255, .75);
  --hair: rgba(0, 0, 0, .07);
  --well: rgba(0, 0, 0, .035);
  --dark: linear-gradient(#303032, #242426);
  --dark-flat: #29292b;
  --green: #2f9e66;  --green-bg: rgba(140, 225, 180, .32);
  --red: #c4454d;    --red-bg: rgba(240, 150, 150, .28);
  --gold: #a87a1c;   --gold-bg: rgba(240, 200, 110, .32);
  --blue: #3e63b8;   --blue-bg: rgba(150, 180, 235, .28);
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ui {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(140% 90% at 30% 0%, #d4d4d3 0%, #bcbcbb 55%, #aeaeae 100%) fixed;
  color: var(--text);
  font: 15px/1.5 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
/* :where() keeps this rule weak, so buttons and tabs set their own colours. */
.ui :where(a) { color: inherit; }
.ui :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ui [hidden] { display: none !important; }
.ui svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7;
            stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the frame ---------- */
.shell { display: flex; gap: 16px; padding: 22px 28px; max-width: 1720px; margin: 0 auto; min-height: 100vh; align-items: stretch; }

/* The dark rail, inside a frosted sleeve. */
.sleeve { display: flex; flex-direction: column; gap: 10px; width: 78px; flex: none; align-self: flex-start; position: sticky; top: 22px; height: calc(100vh - 44px); }
.sleeve-glass { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .45); border-radius: 26px; padding: 9px;
                box-shadow: 0 20px 40px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .5); }
.sleeve-glass.grow { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rail { background: var(--dark); border-radius: 20px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
        box-shadow: 0 14px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08); }
.rail a, .rail button { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #e9e9ea; opacity: .78;
                        text-decoration: none; background: none; border: 0; cursor: pointer; }
.rail a:hover, .rail button:hover { opacity: 1; background: rgba(255, 255, 255, .07); }
.rail a { position: relative; }
/* Count badges on rail buttons, and each button's name on hover or keyboard focus. */
.rail-count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #e9e9ea;
              color: #242426; font: 600 10px/17px "Figtree", sans-serif; text-align: center; box-shadow: 0 0 0 2px #2a2a2c; }
.rail-count.red { background: #f0a0a4; color: #4a1014; }
.rail a[data-label]::after { content: attr(data-label); position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%);
                             white-space: nowrap; background: var(--dark-flat); color: #f2f2f2; font: 500 13px "Figtree", sans-serif;
                             padding: 6px 10px; border-radius: 9px; box-shadow: 0 8px 18px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none;
                             transition: opacity .12s ease; z-index: 30; }
.rail a[data-label]:hover::after, .rail a[data-label]:focus-visible::after { opacity: 1; }
.rail a[aria-current="page"] { background: rgba(255, 255, 255, .14); opacity: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.rail .logo { font: 600 14px "Figtree", sans-serif; letter-spacing: .03em; color: #f4f4f2; padding: 6px 0; }
.rail hr { width: 26px; border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 2px 0; }
.vlabel { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 10px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .2em;
          text-transform: uppercase; color: rgba(0, 0, 0, .3); margin: auto; padding: 14px 0; white-space: nowrap; }
.rail-foot { width: 46px; height: 46px; border-radius: 14px; background: var(--dark); display: grid; place-items: center; color: #eee; margin: 0 auto;
             border: 0; cursor: pointer; box-shadow: 0 10px 20px rgba(0, 0, 0, .25); }
.rail-foot:hover { filter: brightness(1.15); }
.rail form, .sleeve form { margin: 0; }

/* The frosted side panel. */
/* It sits at the top and scrolls away with the page; the rail is what stays on screen. */
.side { width: 300px; flex: none; align-self: flex-start; background: var(--panel); border: 1px solid var(--glass-edge); border-radius: 28px;
        padding: 22px 20px 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .7);
        display: flex; flex-direction: column; }
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fafafa, #cfcfcf);
          border: 3px solid var(--ink); display: grid; place-items: center; font: 600 17px "Figtree", sans-serif; color: var(--ink);
          box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.who b { display: block; font-weight: 500; font-size: 16px; color: var(--ink); line-height: 1.25; }
.who span { font-size: 13px; color: var(--soft); }
.side-group { font-size: 13.5px; color: var(--soft); margin: 4px 6px 6px; }
.side-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: var(--ink); text-decoration: none;
             font-size: 15px; border: 1px solid transparent; }
.side-item:hover { background: rgba(255, 255, 255, .35); }
.side-item.sub { padding: 7px 10px 7px 44px; font-size: 14px; color: var(--text); }
.side-item .count { white-space: nowrap; width: auto; }
.side-item[aria-current="page"] { background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(214, 226, 220, .75));
                                  border-color: rgba(255, 255, 255, .95); box-shadow: 0 10px 22px rgba(0, 0, 0, .08), inset 0 1px 0 #fff; }
.count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: rgba(0, 0, 0, .06); color: var(--soft);
         font-size: 11.5px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.count.red { background: var(--red-bg); color: var(--red); }
.side hr { border: 0; border-top: 1px solid var(--hair); margin: 12px 6px; }
.side-foot { padding-top: 14px; font-size: 12px; color: var(--soft); }

/* The main column: one or more panels, stacked. */
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.main-col > .main { flex: none; }
/* A panel's own heading, when the panel is one section (like Test scores). */
details.section.panel-top { margin-top: 0; }
/* The main panel. */
.main { min-width: 0; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .6); border-radius: 24px; padding: 32px 34px 40px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }

/* ---------- type ---------- */
.ui h1 { font: 400 30px/1.2 "Figtree", sans-serif; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.ui .lede { color: var(--soft); font-size: 16px; margin: 4px 0 26px; }
.ui h2 { font: 400 26px/1.2 "Figtree", sans-serif; color: var(--ink); margin: 36px 0 12px; letter-spacing: -.01em; }
.ui h2 .quiet { font-size: 17px; color: var(--soft); }
.ui h3 { font: 500 15.5px "Figtree", sans-serif; color: var(--ink); margin: 0; }
.muted { color: var(--soft); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { background: var(--glass); border: 1px solid rgba(255, 255, 255, .7); border-radius: var(--radius); padding: 14px 18px 12px;
        box-shadow: 0 12px 26px rgba(0, 0, 0, .05), inset 0 1px 0 rgba(255, 255, 255, .6); }
.stat-label { font-size: 15.5px; color: var(--ink); }
.stat-value { font: 300 60px/1.05 "Figtree", sans-serif; color: var(--text); letter-spacing: -.02em; display: flex; align-items: center;
              gap: 12px; margin-top: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.stat-value.none { color: var(--faint); }
.stat-note { font-size: 13px; color: var(--soft); margin-top: 4px; }
/* "drills" beside a big number, and a date that matters as much as the number. */
.stat-unit { font-size: 22px; font-weight: 400; margin-left: -6px; align-self: flex-end; padding-bottom: 9px; }
.stat-when { font-size: 18px; font-weight: 500; color: var(--ink); margin-top: 4px; }
/* A card that is a link to its section. */
.stat-link { display: block; text-decoration: none; }
.stat-link:hover { background: rgba(255, 255, 255, .5); }
.stat.dark { background: var(--dark); border-color: #242426; color: #eee; box-shadow: 0 16px 30px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .08); }
.stat.dark .stat-label, .stat.dark .stat-value { color: #f1f1f1; }
.stat.dark .stat-note { color: #b9b9bb; }
.link-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--glass-edge);
            background: rgba(255, 255, 255, .2); color: var(--ink); text-decoration: none; font-size: 15px; }
.link-bar:hover { background: rgba(255, 255, 255, .4); }

/* ---------- badges ---------- */
.badge { display: inline-block; font: 500 12.5px/1.2 "Figtree", sans-serif; padding: 4px 9px; border-radius: 9px; white-space: nowrap;
         background: rgba(0, 0, 0, .05); color: var(--soft); letter-spacing: 0; vertical-align: middle; }
.badge.red { background: var(--red-bg); color: var(--red); }
.badge.gold { background: var(--gold-bg); color: var(--gold); }
.badge.green { background: var(--green-bg); color: var(--green); }
.badge.blue { background: var(--blue-bg); color: var(--blue); }
.badge.dark { background: var(--dark-flat); color: #eee; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 500 14px "Figtree", sans-serif; padding: 9px 16px;
       min-height: 40px; border-radius: 12px; border: 1px solid #242426; background: var(--dark); color: #f2f2f2; text-decoration: none; cursor: pointer;
       box-shadow: 0 8px 16px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .1); white-space: nowrap; }
.btn:hover { filter: brightness(1.18); }
.btn.ghost { background: rgba(255, 255, 255, .38); color: var(--ink); border-color: rgba(255, 255, 255, .9); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .6); filter: none; }
.btn.danger { background: var(--red-bg); color: var(--red); border-color: transparent; box-shadow: none; }
.btn.small { min-height: 32px; padding: 5px 12px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .4; cursor: default; filter: none; }
.text-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--hair); margin-bottom: 16px; overflow-x: auto; overflow-y: hidden; }
.tabs a { padding-bottom: 10px; font-size: 16px; color: var(--faint); text-decoration: none; position: relative; white-space: nowrap; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .2); }

/* ---------- wells and lists ---------- */
.well { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .65); border-radius: 18px; padding: 6px; }
.well + .well { margin-top: 12px; }
.well-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 12px 6px; }
.well-head .muted { font-size: 13.5px; }
.row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; border-radius: 13px; }
.row + .row { border-top: 1px solid var(--hair); }
.row-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .9);
            display: grid; place-items: center; color: var(--text); }
.row-icon.red { color: var(--red); } .row-icon.gold { color: var(--gold); } .row-icon.green { color: var(--green); }
.row-title { font-weight: 500; color: var(--ink); }
.row-sub { display: block; color: var(--soft); font-size: 13px; margin-top: 1px; }
.row-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.row-bar { display: block; height: 5px; max-width: 220px; margin-top: 7px; border-radius: 99px; background: rgba(0, 0, 0, .07); overflow: hidden; }
.row-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.empty { padding: 22px 14px; color: var(--soft); text-align: center; }

/* ---------- test score cards and breakdown ---------- */
.score-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 12px 4px; }
.score-nums { display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap; }
.score-nums .total { font: 300 40px/1 "Figtree", sans-serif; color: var(--ink); letter-spacing: -.02em; }
.score-nums .sec { font-size: 14px; color: var(--soft); }
.breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 6px; }
.breakdown .well { margin: 0; padding: 14px 16px; background: rgba(255, 255, 255, .28); }
.bd-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.bd-head span { color: var(--soft); font-size: 13.5px; }
.bd-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; font-size: 14px; padding: 3px 0; }
.bd-row b { color: var(--red); font-weight: 600; text-align: right; }
.bd-row .muted { font-size: 13px; white-space: nowrap; }
.bd-clean { font-size: 12.5px; color: var(--soft); margin: 8px 0 0; }
.go-over { padding: 4px 12px 12px; font-size: 14px; }
.go-over .done-q { text-decoration: line-through; color: var(--faint); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; }
table.grid th { text-align: left; font-weight: 400; font-size: 13.5px; color: var(--soft); padding: 10px 12px; white-space: nowrap; }
table.grid td { padding: 13px 12px; border-top: 1px solid var(--hair); font-size: 15px; vertical-align: middle; }
table.grid .strong { font-weight: 500; color: var(--ink); }

/* ---------- forms ---------- */
.field { display: grid; gap: 5px; font-size: 14px; color: var(--soft); }
.input { font: inherit; font-size: 15px; color: var(--ink); padding: 10px 12px; border-radius: 12px; background: var(--well); border: 1px solid var(--hair);
         box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05); width: 100%; }
.input:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: rgba(255, 255, 255, .5); }
.notice { padding: 12px 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-edge); }
.notice.red { background: var(--red-bg); color: var(--red); border-color: transparent; }
.notice.green { background: var(--green-bg); color: var(--green); border-color: transparent; }

/* ---------- the tutor's "view as student" banner ---------- */
.preview-banner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; font-size: 14px;
                  background: var(--dark-flat); color: #eee; }
.preview-banner form { margin: 0; }
.preview-banner button { font: 500 13px "Figtree", sans-serif; border-radius: 10px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .3);
                         background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }

/* ---------- folding ----------
   Sections, groups and cards are <details>: click the heading to fold them.
   ui.js remembers what each viewer left open or closed, in their own browser. */
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: ""; width: 7px; height: 7px; flex: none; border-right: 1.7px solid var(--soft);
                                 border-bottom: 1.7px solid var(--soft); transform: rotate(-45deg); transition: transform .15s ease; margin: 0 2px; }
details.fold[open] > summary::before { transform: rotate(45deg); }
details.fold > summary:hover::before { border-color: var(--ink); }
details.fold > summary > :first-child { flex: 1; min-width: 0; }
@media (prefers-reduced-motion: reduce) { details.fold > summary::before { transition: none; } }
/* A folded section heading. */
details.section { margin-top: 36px; }
details.section > summary h2 { margin: 0; }
details.section > summary { padding-bottom: 12px; }
details.section > summary .quiet { font-size: 14px; color: var(--soft); }
/* A folded group or card: the head is the summary. */
details.well > summary.well-head, details.well > summary.score-head { padding-left: 12px; }
details.well:not([open]) > summary { padding-bottom: 10px; }
/* Side panel groups. */
details.side-fold > summary { list-style: none; cursor: pointer; }
details.side-fold > summary::-webkit-details-marker { display: none; }
details.side-fold > summary.side-group { display: flex; justify-content: space-between; align-items: center; padding-right: 6px; }
details.side-fold > summary.side-group::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--faint);
                                               border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); }
details.side-fold:not([open]) > summary.side-group::after { transform: rotate(-45deg); }
/* The whole side panel folds away from the rail's panel button. */
body.side-closed .side { display: none; }
.rail button[aria-pressed="false"] { opacity: .55; }

/* Short windows (a laptop with the browser's bars open): a tighter rail, so every
   button still fits above the sign-out button. */
@media (min-width: 701px) and (max-height: 760px) {
  .rail { gap: 3px; padding: 8px 0; }
  .rail a, .rail button { width: 40px; height: 40px; border-radius: 12px; }
  .rail .logo { padding: 2px 0; }
  /* The tutor's rail is full of buttons; the student's has room for the name. */
  .tutor .vlabel { display: none; }
  .vlabel { padding: 8px 0; min-height: 0; overflow: hidden; }
}
@media (min-width: 701px) and (max-height: 600px) {
  .rail a, .rail button { width: 36px; height: 36px; }
  .rail hr { display: none; }
}

/* ---------- small screens ----------
   Under 1000px the side panel folds away (its counts are on the page anyway).
   Under 700px the rail becomes a bar along the bottom, like a phone app. */
@media (max-width: 1000px) {
  .side, .rail .side-toggle { display: none; }
}
@media (max-width: 700px) {
  .shell { padding: 10px 10px 86px; display: block; }
  .main { padding: 22px 16px 28px; border-radius: 20px; }
  .main-col { gap: 10px; }
  .sleeve { position: fixed; z-index: 20; left: 10px; right: 10px; bottom: 10px; top: auto; width: auto; height: auto; flex-direction: row; gap: 0; }
  .sleeve-glass { padding: 6px; border-radius: 22px; }
  .sleeve-glass.grow { flex-direction: row; }
  .sleeve-glass.foot { display: none; }
  .rail { flex-direction: row; justify-content: space-around; width: 100%; padding: 4px 8px; border-radius: 18px; }
  .rail hr, .vlabel, .rail .logo, .rail .not-phone, .rail a[data-label]::after { display: none; }
  .ui h1 { font-size: 26px; }
  .stat-value { font-size: 46px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row-icon { display: none; }
  .row-side { justify-content: flex-start; }
}

/* Sign out sits under the rail on big screens and inside the bottom bar on phones. */
.rail .phone-only { display: none; }
@media (max-width: 700px) { .rail .phone-only { display: grid; } }

/* Links to a place on the page glide there and stop with room above the heading. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.ui [id] { scroll-margin-top: 36px; }
@keyframes glide-flash { from { box-shadow: 0 0 0 3px rgba(44, 44, 46, .45); } to { box-shadow: 0 0 0 3px rgba(44, 44, 46, 0); } }
.glide-flash { animation: glide-flash 1.6s ease-out; }
@media (prefers-reduced-motion: reduce) { .glide-flash { animation: none; } }
@media (max-width: 700px) { .ui [id] { scroll-margin-top: 16px; } }
.tabs a .count { display: inline-grid; margin-left: 6px; vertical-align: 1px; }

/* Section scores under a stat card's big number. */
.stat-parts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 14px; color: var(--soft); }
.stat-parts b { font-weight: 500; color: var(--ink); }
.stat-parts .badge { font-size: 11.5px; padding: 2px 6px; }

/* ---------- sign-in page (login.html) ----------
   A frosted card in the middle of the grey backdrop, topped by the rail's dark SGA tile. */
.signin { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
          padding: 32px 16px; gap: 14px; }
.signin-card { width: 100%; max-width: 380px; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .6);
               border-radius: 24px; padding: 30px 28px 22px; text-align: center;
               box-shadow: 0 24px 48px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .6);
               -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.signin-logo { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; background: var(--dark); color: #f4f4f2;
               display: grid; place-items: center; font: 600 15px "Figtree", sans-serif; letter-spacing: .03em;
               box-shadow: 0 12px 24px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .1); }
.signin-card h1 { font-size: 26px; }
.signin-card > .muted { margin: 4px 0 22px; }
.signin-form { display: grid; gap: 14px; text-align: left; }
.signin-form .input { width: 100%; }
.signin-error { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--red-bg); color: var(--red); font-size: 14px; }
.signin-button { width: 100%; min-height: 44px; margin-top: 4px; font-size: 15px; }
.signin-help { margin: 16px 0 0; }
.signin-name { margin: 6px 0 0; font: 400 10px "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .2em;
               text-transform: uppercase; color: rgba(0, 0, 0, .3); }
.signin-fine { max-width: 380px; text-align: center; margin: 0; }
