/* Assessments staff portal — clean, academic-professional */
:root {
  --navy: #0B2545; --navy-2: #13315C; --teal: #13A89E; --teal-ink: #0B7A72; --teal-soft: #E3F5F3;
  --ink: #1B2A41; --slate: #52606D; --muted: #6B7785; --surface: #FFFFFF; --canvas: #F5F7FA; --border: #E4E9F0; --border-2: #D3DAE4;
  --ok: #1F9D6B; --ok-ink: #17724F; --ok-bg: #E5F5EE; --warn: #D98A00; --warn-ink: #8A5600; --warn-bg: #FFF3DC;
  --bad: #D64545; --bad-ink: #B02F2F; --bad-bg: #FCEBEB; --info-ink: #1D5FA8; --info-bg: #E6F0FB;
  --radius: 10px; --shadow: 0 1px 2px rgba(11,37,69,.06), 0 1px 3px rgba(11,37,69,.04);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar: 244px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.5 var(--font); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.25; }
h1 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; } h2 { font-size: 17px; font-weight: 620; } h3 { font-size: 15px; font-weight: 620; } h4 { font-size: 13px; font-weight: 620; }
p { margin: 0 0 8px; }
a { color: var(--teal-ink); text-decoration: none; } a:hover { text-decoration: underline; }
code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: #EEF2F7; padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .nowrap { white-space: nowrap; } .right { text-align: right; } .mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; } .skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; }

/* ── shell ── */
.shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); flex: none; background: var(--navy); color: #C9D5E6; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 16px 12px; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; } .brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; } .brand strong { font-size: 15px; font-weight: 650; } .brand small { color: #93A7C4; font-size: 11.5px; }
.nav-group { margin-bottom: 14px; } .nav-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8EA3C2; padding: 6px 10px; font-weight: 600; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #C9D5E6; font-weight: 500; position: relative; }
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.nav-item.active { background: rgba(19,168,158,.18); color: #fff; } .nav-item.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.topbar-title { font-weight: 620; color: var(--navy); font-size: 15px; flex: 1; }
.topbar-user { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 12px; display: grid; place-items: center; }
.who { display: flex; flex-direction: column; line-height: 1.2; } .who strong { font-size: 13px; } .who small { color: var(--muted); font-size: 11.5px; }
.icon-btn.menu-btn { display: none; }
#content { padding: 24px; max-width: 1440px; width: 100%; margin: 0 auto; outline: none; }
.scrim { display: none; }
.view { min-height: 200px; }
@media (max-width: 960px) {
  .sidebar { position: fixed; left: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.25); }
  body.nav-open .sidebar { transform: none; } body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(11,37,69,.4); z-index: 35; }
  .icon-btn.menu-btn { display: inline-grid; } .topbar { padding: 0 14px; } #content { padding: 16px; } .who { display: none; }
}

/* ── page header / cards ── */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { color: var(--slate); margin: 4px 0 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 18px; } .card-head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.stat { padding: 16px 18px; } .stat .label { color: var(--slate); font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.stat .value { font-size: 28px; font-weight: 650; color: var(--navy); letter-spacing: -.02em; margin: 4px 0 2px; } .stat .sub { color: var(--muted); font-size: 12.5px; }
.stat-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--slate); } .stat-list b { color: var(--ink); }
.stat a.stretch { display: block; color: inherit; } .stat a.stretch:hover { text-decoration: none; }
.link-card:hover { border-color: var(--teal); }

/* ── buttons & forms ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; font: 600 13px var(--font); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s; }
.btn:hover { text-decoration: none; } .btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover:not([disabled]) { background: var(--navy-2); }
.btn-accent { background: var(--teal-ink); color: #fff; } .btn-accent:hover:not([disabled]) { background: #096861; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-2); } .btn-ghost:hover:not([disabled]) { background: #F0F3F8; }
.btn-danger { background: var(--bad-ink); color: #fff; } .btn-danger:hover:not([disabled]) { background: #922525; }
.btn-danger-ghost { background: var(--surface); color: var(--bad-ink); border-color: #EBC3C3; } .btn-danger-ghost:hover:not([disabled]) { background: var(--bad-bg); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; } .btn-block { width: 100%; }
.icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--slate); cursor: pointer; }
.icon-btn:hover { background: #EEF2F7; color: var(--ink); } .icon-btn.danger:hover { background: var(--bad-bg); color: var(--bad-ink); } .icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.field { margin-bottom: 14px; min-width: 0; } .field > label, .label { display: block; font-weight: 600; font-size: 12.5px; color: var(--ink); margin-bottom: 5px; }
.field .hint { color: var(--muted); font-size: 12px; margin-top: 4px; }
.input, .select, .textarea { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--border-2); border-radius: 8px; background: #fff; color: var(--ink); font: 14px var(--font); }
.textarea { height: auto; padding: 8px 10px; min-height: 84px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: #B6C2D2; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.input[disabled], .select[disabled], .textarea[disabled] { background: #F0F3F8; color: var(--slate); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--bad); }
.field-error { color: var(--bad-ink); font-size: 12.5px; margin-top: 4px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; } .check input { width: 16px; height: 16px; accent-color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; } .form-grid .span2 { grid-column: span 2; } .form-grid .span4 { grid-column: 1 / -1; }
@media (max-width: 1100px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span2 { grid-column: auto; } }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); align-items: end; }
.filters .field { margin: 0; } .filters .check { height: 36px; }
.search { position: relative; } .search .ic { position: absolute; left: 10px; bottom: 9px; color: var(--muted); pointer-events: none; } .search .input { padding-left: 32px; }
.seg { display: inline-flex; border: 1px solid var(--border-2); border-radius: 9px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: transparent; padding: 7px 14px; font: 600 13px var(--font); color: var(--slate); cursor: pointer; border-right: 1px solid var(--border-2); } .seg button:last-child { border-right: 0; }
.seg button[aria-checked="true"] { background: var(--navy); color: #fff; } .seg button:disabled { cursor: not-allowed; opacity: .6; }

/* ── tabs ── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); padding: 0 12px; overflow-x: auto; }
.tab { padding: 11px 12px; border: 0; background: none; font: 600 13px var(--font); color: var(--slate); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--navy); } .tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal); }
.tab .count { margin-left: 6px; background: #EEF2F7; color: var(--slate); border-radius: 10px; padding: 1px 7px; font-size: 11.5px; }

/* ── tables ── */
.table-wrap { overflow: auto; max-height: calc(100vh - 280px); }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; }
table.data th { position: sticky; top: 0; z-index: 2; background: #F8FAFC; text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 650; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:last-child td { border-bottom: 0; } table.data tbody tr:hover td { background: #FAFBFD; }
table.data tr.clickable { cursor: pointer; }
td.stem { max-width: 460px; } td.stem a { color: var(--ink); font-weight: 550; } .cell-sub { color: var(--muted); font-size: 12px; }
.pager { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--border); gap: 12px; flex-wrap: wrap; } .pager:empty { display: none; }
.pager-btns { display: flex; align-items: center; gap: 10px; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 620; white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok-ink); } .b-warn { background: var(--warn-bg); color: var(--warn-ink); } .b-bad { background: var(--bad-bg); color: var(--bad-ink); } .b-neutral { background: #EDF0F5; color: #3D4B5C; } .b-info { background: var(--info-bg); color: var(--info-ink); }
.chip { display: inline-flex; padding: 2px 9px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-ink); font-size: 12px; font-weight: 550; } .chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── states ── */
.empty { text-align: center; padding: 48px 24px; color: var(--slate); } .empty h3 { margin: 10px 0 4px; } .empty p { max-width: 420px; margin: 0 auto 14px; }
.empty-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; margin: 0 auto; }
.skeleton-box { padding: 18px; } .skeleton-line { height: 16px; border-radius: 6px; margin-bottom: 14px; background: linear-gradient(90deg, #EEF2F7 25%, #F8FAFC 37%, #EEF2F7 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; } .skeleton-line:nth-child(odd) { width: 92%; } .skeleton-line:nth-child(3n) { width: 70%; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .skeleton-line { animation: none; } * { scroll-behavior: auto !important; } }
.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; font-size: 13.5px; }
.alert-danger { background: var(--bad-bg); color: var(--bad-ink); border-color: #F0C4C4; } .alert-warn { background: var(--warn-bg); color: #6B4400; border-color: #F1D79A; }
.alert-info { background: var(--info-bg); color: #174E8A; border-color: #BCD5F2; } .alert-ok { background: var(--ok-bg); color: var(--ok-ink); border-color: #B6E3CE; }
.alert ul { margin: 6px 0 0 18px; padding: 0; }

/* ── toasts & modal ── */
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; max-width: min(420px, calc(100vw - 36px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; background: var(--navy); color: #fff; padding: 11px 12px 11px 14px; border-radius: 9px; box-shadow: 0 8px 24px rgba(11,37,69,.28); animation: pop .18s ease-out; font-size: 13.5px; }
.toast span { flex: 1; } .toast-ok { background: #135C40; } .toast-error { background: #8F2222; } .toast.out { opacity: 0; transform: translateY(6px); transition: .18s; }
.toast-x { background: none; border: 0; color: inherit; opacity: .8; cursor: pointer; padding: 2px; } .toast-x:hover { opacity: 1; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.modal-backdrop { position: fixed; inset: 0; background: rgba(11,37,69,.5); display: grid; place-items: center; z-index: 150; padding: 16px; }
.modal { background: #fff; border-radius: 12px; width: min(520px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.modal.lg { width: min(760px, 100%); } .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-body { padding: 18px 20px; overflow: auto; } .modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; } .modal-foot:empty { display: none; } .modal-text { margin: 0; color: var(--slate); }

/* ── charts ── */
.chart { width: 100%; height: 190px; display: block; } .chart-t { font: 11px var(--font); fill: #6B7785; } .chart-empty { height: 190px; display: grid; place-items: center; color: var(--muted); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--slate); font-size: 12.5px; }

/* ── question editor / preview ── */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
@media (max-width: 1280px) { .editor { grid-template-columns: minmax(0, 1fr) 360px; } }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; } .preview-card { position: static !important; } }
.preview-card { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--slate); font-weight: 650; margin: 0 0 12px; }
.q-preview { padding: 18px; } .q-preview p { margin: 0 0 8px; } .q-stem { font-size: 15px; margin: 12px 0; } .q-preview h4 { margin: 16px 0 6px; color: var(--slate); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.q-preview img, .opt-img { max-width: 100%; max-height: 220px; border-radius: 8px; border: 1px solid var(--border); display: block; margin: 8px 0; }
.q-options { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.q-options li { display: flex; gap: 10px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; align-items: flex-start; }
.q-options li.correct { border-color: #8FD3B4; background: var(--ok-bg); } .q-options .key { width: 22px; height: 22px; border-radius: 50%; background: #EDF0F5; font-weight: 650; font-size: 12px; display: grid; place-items: center; flex: none; } .q-options li.correct .key { background: var(--ok); color: #fff; }
.opt-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto auto; gap: 8px; align-items: start; margin-bottom: 10px; }
.opt-key { width: 28px; height: 36px; display: grid; place-items: center; font-weight: 650; color: var(--slate); }
.opt-correct { height: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; padding: 0 8px; border: 1px solid var(--border-2); border-radius: 8px; cursor: pointer; background: #fff; }
.opt-correct input { accent-color: var(--ok); } .opt-correct.on { border-color: var(--ok); background: var(--ok-bg); color: var(--ok-ink); }
.upload-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; } .upload-row img { max-height: 64px; border-radius: 6px; border: 1px solid var(--border); }
.sticky-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: 16px; box-shadow: 0 -4px 16px rgba(11,37,69,.06); z-index: 5; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--border); } .timeline li { position: relative; padding: 0 0 14px 14px; } .timeline li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.timeline .when { color: var(--muted); font-size: 12px; }
.math-fallback { background: #FFF3DC; }
.katex { font-size: 1.05em; } .katex-display { margin: .6em 0; overflow-x: auto; overflow-y: hidden; }

/* ── review / split ── */
.split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.list-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); padding: 12px 16px; cursor: pointer; font: inherit; color: inherit; }
.list-item:hover { background: #F8FAFC; } .list-item[aria-current="true"] { background: var(--teal-soft); box-shadow: inset 3px 0 0 var(--teal); }
.list-item .t { font-weight: 550; margin-bottom: 4px; display: block; } .list-scroll { max-height: calc(100vh - 220px); overflow: auto; }

/* ── builder ── */
.picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } @media (max-width: 1100px) { .picker { grid-template-columns: 1fr; } }
.q-list { max-height: 520px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; } .q-list:empty::after { content: "Nothing here yet"; display: block; padding: 24px; color: var(--muted); text-align: center; }
.q-row { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--border); background: #fff; } .q-row:last-child { border-bottom: 0; }
.q-row .txt { flex: 1; min-width: 0; } .q-row .txt b { display: block; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-row.dragging { opacity: .4; } .q-row.over { box-shadow: inset 0 2px 0 var(--teal); } .drag-h { color: var(--muted); cursor: grab; display: inline-grid; place-items: center; }
.summary-bar { display: flex; gap: 18px; flex-wrap: wrap; padding: 10px 14px; border-radius: 8px; background: var(--teal-soft); color: #0A5F59; font-weight: 600; margin-bottom: 10px; }
.price-table { display: grid; gap: 8px; } .price-head, .price-row { display: grid; grid-template-columns: minmax(180px, 2fr) 110px minmax(120px, 1fr) 36px; gap: 8px; align-items: center; } .price-head { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate); font-weight: 650; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 0; } .kv dt { color: var(--slate); } .kv dd { margin: 0; }
.row-edit .input, .row-edit .select { height: 32px; }
.answer-box { white-space: pre-wrap; background: #F8FAFC; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; max-height: 260px; overflow: auto; }
.grade-card { padding: 18px; } .grade-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; } @media (max-width: 1000px) { .grade-grid { grid-template-columns: 1fr; } }
.dropzone { border: 2px dashed var(--border-2); border-radius: 10px; padding: 26px; text-align: center; background: #FAFBFD; color: var(--slate); } .dropzone.over { border-color: var(--teal); background: var(--teal-soft); }
.steps { counter-reset: s; display: grid; gap: 14px; } .step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; } .step::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 650; display: grid; place-items: center; font-size: 13px; }

/* ── auth ── */
.auth-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 16px; }
.auth-card { background: #fff; width: min(420px, 100%); border-radius: 14px; padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.auth-card h1 { margin: 20px 0 4px; } .auth-card form { margin-top: 18px; }
.auth-brand { display: flex; align-items: center; gap: 12px; } .auth-brand div { display: flex; flex-direction: column; line-height: 1.2; } .auth-brand strong { color: var(--navy); font-size: 17px; } .auth-brand span { color: var(--muted); font-size: 12.5px; }
table.data th.right, table.data td.right { text-align: right; }
.price-table > .btn { justify-self: start; }
td.stem { min-width: 240px; }
@media (max-width: 1240px) { .hide-lg { display: none; } table.data th, table.data td { padding-left: 10px; padding-right: 10px; } }
