/* ═══════════════════════════════════════════════════════════════════════════
   R84 — the student theme ("Lamplight"). Samreen-approved 2026-10-04.

   🔴 TWO RULES THAT KEEP EVERYONE ELSE SAFE:

   1. EVERYTHING IS INSIDE `@media screen`. Print never sees a single rule in
      this file, so the report card's print / Save-as-PDF output is produced by
      exactly the same CSS as before (Bootstrap + site.css + the page's own
      <style>). That is how "print is sacred" is kept — structurally, not by
      care.
   2. EVERYTHING IS SCOPED UNDER `.sx`, which only the two student layouts put
      on <body>. Admin and teacher pages never load this file, and if one ever
      did, nothing here would match it.

   Plain CSS over Bootstrap 5.3: Bootstrap's own --bs-* variables are re-pointed
   at our tokens inside `.sx`, so its tables, forms, alerts and buttons pick the
   theme up without being re-implemented.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Fonts and every --sx-* token now live in ../lamplight/tokens.css, shared with the
   staff theme (R85). This file keeps the student components only. */

/* Lets the progress ring animate its fill. Harmless where unsupported. */
@property --sx-p {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

@media screen {

/* ── Bootstrap, re-pointed at the tokens (inside .sx only) ────────────────── */
.sx {
    --bs-body-bg: var(--sx-bg);
    --bs-body-color: var(--sx-ink);
    --bs-emphasis-color: var(--sx-ink);
    --bs-secondary-color: var(--sx-ink-2);
    --bs-tertiary-bg: var(--sx-surface-2);
    --bs-border-color: var(--sx-line);
    --bs-link-color: var(--sx-accent-ink);
    --bs-link-color-rgb: 138, 75, 5;
    --bs-link-hover-color: var(--sx-ink);
    --bs-heading-color: var(--sx-ink);
    --bs-body-font-family: var(--sx-font-ui);
    --bs-border-radius: var(--sx-radius);
    --bs-code-color: var(--sx-ink);

    background: var(--sx-glow) no-repeat, var(--sx-bg);
    background-attachment: fixed;
    color: var(--sx-ink);
    font-family: var(--sx-font-ui);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: clip;
}
.sx a { color: var(--sx-accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.sx a:hover { color: var(--sx-ink); }
.sx .text-muted, .sx .text-secondary { color: var(--sx-ink-2) !important; }
.sx h1, .sx h2, .sx h3, .sx h4, .sx h5, .sx h6 { color: var(--sx-ink); }
.sx hr { border-color: var(--sx-line); opacity: 1; }
.sx code { color: inherit; background: var(--sx-surface-2); padding: .15em .45em; border-radius: 6px; }

/* site.css gives every <main> a white card; the student shell draws its own. */
.sx main[role="main"]:not(.sx-auth__card) {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

/* Visible focus, everywhere, never removed. */
.sx :focus-visible,
.sx .btn:focus-visible,
.sx .form-control:focus,
.sx .form-select:focus,
.sx .form-check-input:focus {
    outline: 3px solid var(--sx-focus);
    outline-offset: 2px;
    box-shadow: none;
}

/* ── Shell ────────────────────────────────────────────────────────────────── */
.sx-shell { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.sx-page { padding: 20px 0 120px; }
@media (min-width: 768px) { .sx-page { padding: 36px 0 72px; } }

.sx-eyebrow {
    font-size: var(--sx-fs-xs);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 650;
    color: var(--sx-accent-ink);
    margin: 0 0 .35rem;
}
.sx-display {
    font-family: var(--sx-font-display);
    font-style: var(--sx-display-style);
    font-weight: var(--sx-display-weight);
    letter-spacing: var(--sx-display-tracking);
    line-height: 1.02;
}
.sx-title {
    font-family: var(--sx-font-display);
    font-style: var(--sx-display-style);
    font-weight: var(--sx-display-weight);
    letter-spacing: var(--sx-display-tracking);
    font-size: var(--sx-fs-xl);
    line-height: 1.1;
    margin: 0 0 .25rem;
}
.sx-lede { color: var(--sx-ink-2); font-size: var(--sx-fs-md); margin: 0; }
.sx-h { font-size: var(--sx-fs-lg); font-weight: 680; letter-spacing: -.01em; margin: 2.25rem 0 .85rem; }
.sx-h small { font-weight: 500; color: var(--sx-ink-2); font-size: var(--sx-fs-sm); margin-left: .4rem; }
.sx-note { color: var(--sx-ink-2); font-size: var(--sx-fs-xs); line-height: 1.5; }

/* ── Nav: top bar; on phones a bottom tab bar ─────────────────────────────── */
.sx-nav {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--sx-bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: var(--sx-border-w) solid var(--sx-line);
}
.sx-nav__in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.sx-brand {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--sx-ink) !important; text-decoration: none;
    font-weight: 700; letter-spacing: -.01em; font-size: 1rem;
    min-height: 44px;
}
.sx-brand__word { font-family: var(--sx-font-display); font-style: var(--sx-display-style); font-weight: 400; font-size: 1.45rem; letter-spacing: 0; }
.sx-brand__sub { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-ink-2); font-weight: 600; margin-top: -2px; }

/* The flame mark — the signature. Pure CSS, no image. */
.sx-flame {
    position: relative; flex: none;
    width: 30px; height: 30px; border-radius: 50%;
    background: radial-gradient(circle at 50% 62%, var(--sx-accent) 0 26%, transparent 27%),
                radial-gradient(circle at 50% 60%, rgb(240 169 59 / .45), transparent 70%);
    box-shadow: var(--sx-halo);
}
.sx-flame::before {
    content: ""; position: absolute; left: 50%; top: 4px; width: 10px; height: 15px;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 60% 0 60%;
    background: linear-gradient(135deg, #fff1cf, var(--sx-accent) 70%);
}

.sx-tabs { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.sx-tab {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 14px; border-radius: var(--sx-radius-pill);
    color: var(--sx-ink-2) !important; text-decoration: none; font-weight: 600; font-size: var(--sx-fs-sm);
    transition: background-color .2s, color .2s;
}
.sx-tab svg { width: 20px; height: 20px; flex: none; }
.sx-tab:hover { background: var(--sx-surface-2); color: var(--sx-ink) !important; }
.sx-tab[aria-current="page"] { background: var(--sx-surface); color: var(--sx-ink) !important; box-shadow: var(--sx-shadow); }
.sx-tab[aria-current="page"] svg { color: var(--sx-accent-ink); }
.sx-logout {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    color: var(--sx-ink-2) !important; text-decoration: none; font-size: var(--sx-fs-sm); font-weight: 600;
    border-radius: var(--sx-radius-pill);
}
.sx-logout:hover { background: var(--sx-surface-2); color: var(--sx-ink) !important; }

@media (max-width: 767.98px) {
    /* 🔴 No backdrop-filter on the header here: it would make the header the
       containing block for the FIXED tab bar below, pinning the "bottom" bar
       to the header instead of the screen. */
    .sx-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--sx-bg); }
    .sx-nav .sx-logout { margin-left: auto; }
    .sx-tabs {
        position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 30; margin: 0; justify-content: space-between; gap: 2px;
        padding: 6px; border-radius: 22px;
        background: color-mix(in srgb, var(--sx-surface) 92%, transparent);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border: var(--sx-border-w) solid var(--sx-line);
        box-shadow: 0 18px 40px -12px rgb(0 0 0 / .35);
    }
    .sx-tabs li { flex: 1; }
    .sx-tab {
        flex-direction: column; gap: 2px; justify-content: center; width: 100%;
        min-height: 54px; padding: 4px 2px; border-radius: 16px; font-size: .6875rem; letter-spacing: .01em;
    }
    .sx-tab svg { width: 22px; height: 22px; }
    .sx-tab[aria-current="page"] { background: var(--sx-accent-soft); box-shadow: none; }
}

.sx-foot { color: var(--sx-ink-2); font-size: var(--sx-fs-xs); padding: 28px 0 40px; border-top: var(--sx-border-w) solid var(--sx-line); }
.sx-foot a { color: var(--sx-ink-2); }
@media (max-width: 767.98px) { .sx-foot { padding-bottom: 110px; } }

/* ── Surfaces ─────────────────────────────────────────────────────────────── */
.sx-card {
    background: var(--sx-surface);
    border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    padding: 20px;
}
@media (min-width: 768px) { .sx-card { padding: 24px 28px; } }

/* Greeting card — the lamp pool sits behind it. */
.sx-hello {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--sx-radius-lg);
    padding: 28px 22px 26px;
    background: var(--sx-surface);
    border: var(--sx-border-w) solid var(--sx-line);
    box-shadow: var(--sx-shadow);
}
.sx-hello::before {
    content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgb(240 169 59 / .38), rgb(240 169 59 / .10) 45%, transparent 70%);
    filter: blur(6px);
}
.sx-hello h1 { font-size: var(--sx-fs-2xl); margin: .1rem 0 .6rem; }
.sx-hello h1 em { font-style: var(--sx-display-style); color: var(--sx-accent-ink); }
.sx-hello p { margin: 0; color: var(--sx-ink-2); font-size: var(--sx-fs-md); max-width: 36ch; }
@media (min-width: 768px) { .sx-hello { padding: 44px 44px 40px; } }

.sx-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; min-height: 28px; border-radius: var(--sx-radius-pill);
    background: var(--sx-surface-2); color: var(--sx-ink); font-size: var(--sx-fs-xs); font-weight: 650;
    border: var(--sx-border-w) solid var(--sx-line);
}
.sx-pill--open { background: var(--sx-ok-bg); color: var(--sx-ok-ink); border-color: transparent; }
.sx-pill--locked { background: var(--sx-surface-2); color: var(--sx-ink-2); }
.sx-pill--past { background: var(--sx-accent-soft); color: var(--sx-accent-ink); border-color: transparent; }
.sx-pill .sx-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Destination tiles (home). */
/* Intrinsic: one column in a phone-width box, two once each can have 300px —
   no breakpoint, so it is right inside a narrow lab column as well. */
.sx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sx-tile {
    position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
    padding: 18px 18px; min-height: 92px;
    background: var(--sx-surface); color: var(--sx-ink) !important; text-decoration: none;
    border: var(--sx-border-w) solid var(--sx-line); border-radius: var(--sx-radius-lg);
    box-shadow: var(--sx-shadow);
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s;
}
.sx-tile:hover { transform: translateY(-2px); box-shadow: var(--sx-shadow-hover); border-color: var(--sx-line-strong); }
.sx-tile:active { transform: translateY(0); }
.sx-tile__icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
    background: var(--sx-accent-soft); color: var(--sx-accent-ink);
}
.sx-tile__icon svg { width: 26px; height: 26px; }
.sx-tile h2 { font-size: var(--sx-fs-md); font-weight: 700; margin: 0 0 2px; letter-spacing: -.005em; }
.sx-tile p { margin: 0; font-size: var(--sx-fs-sm); color: var(--sx-ink-2); line-height: 1.4; }
.sx-tile__go { color: var(--sx-ink-2); transition: transform .25s; }
.sx-tile:hover .sx-tile__go { transform: translateX(3px); color: var(--sx-accent-ink); }
.sx-tile--lead { background: linear-gradient(135deg, var(--sx-surface), var(--sx-accent-soft)); }

/* ── Progress ring (conic gradient; --sx-p is 0–100) ───────────────────────── */
.sx-ring {
    --sx-ring-size: 96px;
    --sx-ring-w: 9px;
    --sx-ring-color: var(--sx-accent);
    position: relative; display: grid; place-items: center; flex: none;
    width: var(--sx-ring-size); height: var(--sx-ring-size); border-radius: 50%;
    background: conic-gradient(var(--sx-ring-color) calc(var(--sx-p) * 1%), var(--sx-track) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--sx-ring-w) - .5px), #000 calc(100% - var(--sx-ring-w)));
            mask: radial-gradient(farthest-side, transparent calc(100% - var(--sx-ring-w) - .5px), #000 calc(100% - var(--sx-ring-w)));
}
.sx-ring-wrap { position: relative; display: grid; place-items: center; width: var(--sx-ring-size, 96px); height: var(--sx-ring-size, 96px); flex: none; }
.sx-ring-wrap .sx-ring { position: absolute; inset: 0; }
.sx-ring-wrap[data-full] .sx-ring { filter: drop-shadow(0 0 6px rgb(240 169 59 / .65)); }
.sx-ring__val { position: relative; text-align: center; line-height: 1; }
.sx-ring__val b { display: block; font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.sx-ring__val span { display: block; font-size: .625rem; max-width: 64px; color: var(--sx-ink-2); margin-top: 3px; }

/* Co-curricular "this week" tiles. */
.sx-week {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(min(100% / 2 - 6px, 150px), 1fr));
}
.sx-prog {
    display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
    padding: 16px 12px 14px;
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow);
}
.sx-prog h3, .sx-prog__name { font-size: var(--sx-fs-sm); font-weight: 700; margin: 0; line-height: 1.25; min-height: 2.5em; display: grid; place-items: center; }
.sx-prog__meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--sx-fs-xs); color: var(--sx-ink-2); }

/* ── Grade chips ──────────────────────────────────────────────────────────── */
.sx-chip {
    display: inline-grid; place-items: center;
    min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px;
    font-weight: 780; font-size: .9375rem; letter-spacing: -.01em;
    background: var(--sx-surface-2); color: var(--sx-ink-2);
    border: var(--sx-border-w) solid transparent;
}
.sx-chip[data-grade="A"] { background: var(--sx-g-a); color: var(--sx-g-a-ink); box-shadow: 0 0 0 3px rgb(240 169 59 / .18), 0 6px 16px -6px rgb(240 169 59 / .8); }
.sx-chip[data-grade="B"] { background: var(--sx-g-b); color: var(--sx-g-b-ink); }
.sx-chip[data-grade="C"] { background: var(--sx-g-c); color: var(--sx-g-c-ink); }
.sx-chip[data-grade="D"] { background: var(--sx-g-d); color: var(--sx-g-d-ink); }
.sx-chip[data-grade="F"] { background: var(--sx-g-f); color: var(--sx-g-f-ink); }
.sx-chip--blank { background: transparent; border: var(--sx-border-w) dashed var(--sx-line-strong); color: var(--sx-ink-2); font-weight: 500; }

/* A weekly grade row (lab + summary). */
.sx-row {
    display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: var(--sx-radius);
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
}
.sx-row__wk { font-size: var(--sx-fs-sm); font-weight: 650; }
.sx-row__wk small { display: block; color: var(--sx-ink-2); font-weight: 500; font-size: var(--sx-fs-xs); }
.sx-row__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ── Buttons (Bootstrap's, re-skinned) ────────────────────────────────────── */
.sx .btn {
    --bs-btn-padding-y: .6rem;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-font-weight: 650;
    --bs-btn-border-radius: var(--sx-radius-pill);
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    letter-spacing: -.005em;
    transition: transform .15s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.sx .btn:active { transform: translateY(1px) scale(.985); }
.sx .btn-sm { --bs-btn-padding-y: .4rem; --bs-btn-padding-x: .9rem; --bs-btn-font-size: .875rem; min-height: 44px; }
.sx .btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.5rem; --bs-btn-font-size: 1.0625rem; min-height: 52px; }
.sx .btn-primary {
    --bs-btn-bg: var(--sx-primary); --bs-btn-border-color: var(--sx-primary); --bs-btn-color: var(--sx-on-primary);
    --bs-btn-hover-bg: var(--sx-primary-hover); --bs-btn-hover-border-color: var(--sx-primary-hover); --bs-btn-hover-color: var(--sx-on-primary);
    --bs-btn-active-bg: var(--sx-primary); --bs-btn-active-border-color: var(--sx-primary); --bs-btn-active-color: var(--sx-on-primary);
    --bs-btn-disabled-bg: var(--sx-primary); --bs-btn-disabled-border-color: var(--sx-primary); --bs-btn-disabled-color: var(--sx-on-primary);
    box-shadow: 0 8px 20px -10px var(--sx-primary);
}
.sx .btn-outline-primary, .sx .btn-outline-secondary, .sx .btn-outline-success, .sx .btn-outline-info, .sx .btn-secondary {
    --bs-btn-bg: var(--sx-surface); --bs-btn-color: var(--sx-ink); --bs-btn-border-color: var(--sx-line-strong);
    --bs-btn-hover-bg: var(--sx-surface-2); --bs-btn-hover-color: var(--sx-ink); --bs-btn-hover-border-color: var(--sx-ink-2);
    --bs-btn-active-bg: var(--sx-surface-2); --bs-btn-active-color: var(--sx-ink); --bs-btn-active-border-color: var(--sx-ink-2);
}
.sx .btn-outline-danger {
    --bs-btn-color: var(--sx-danger); --bs-btn-border-color: transparent; --bs-btn-bg: transparent;
    --bs-btn-hover-bg: var(--sx-danger-bg); --bs-btn-hover-color: var(--sx-danger); --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--sx-danger-bg); --bs-btn-active-color: var(--sx-danger); --bs-btn-active-border-color: transparent;
}
.sx .btn-link { --bs-btn-color: var(--sx-accent-ink); --bs-btn-hover-color: var(--sx-ink); text-decoration: none; padding-inline: 0; }
.sx .btn-ghost {
    --bs-btn-bg: transparent; --bs-btn-color: var(--sx-ink-2); --bs-btn-border-color: transparent;
    --bs-btn-hover-bg: var(--sx-surface-2); --bs-btn-hover-color: var(--sx-ink);
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.sx .form-label { font-weight: 650; font-size: var(--sx-fs-sm); margin-bottom: .35rem; color: var(--sx-ink); }
.sx .form-control, .sx .form-select {
    min-height: 48px; border-radius: 12px;
    background-color: var(--sx-surface); color: var(--sx-ink);
    border: var(--sx-border-w) solid var(--sx-line-strong);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sx .form-control::placeholder { color: var(--sx-ink-2); opacity: .8; }
.sx .form-control:focus, .sx .form-select:focus { border-color: var(--sx-focus); background-color: var(--sx-surface); color: var(--sx-ink); }
.sx .form-control[readonly] { background-color: var(--sx-surface-2); }
.sx .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238a8399' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.sx .form-floating > .form-control { min-height: 58px; height: 58px; }
.sx .form-floating > label { color: var(--sx-ink-2); }
.sx .form-floating > .form-control::placeholder { color: transparent; }
.sx .form-floating > .form-control:focus ~ label,
.sx .form-floating > .form-control:not(:placeholder-shown) ~ label { color: var(--sx-ink-2); }
.sx .form-floating > .form-control:focus ~ label::after,
.sx .form-floating > .form-control:not(:placeholder-shown) ~ label::after { background-color: transparent; }
.sx .form-check-input { width: 1.5rem; height: 1.5rem; margin-top: .15rem; border-color: var(--sx-line-strong); background-color: var(--sx-surface); }
.sx .form-check-input:checked { background-color: var(--sx-primary); border-color: var(--sx-primary); }
.sx .form-check { min-height: 44px; display: flex; align-items: center; gap: .6rem; padding-left: 0; }
.sx .form-check .form-check-input { float: none; margin: 0; }
.sx .form-check-label { font-size: var(--sx-fs-sm); }
.sx .text-danger:not(h1, h2, h3), .sx .field-validation-error { color: var(--sx-danger) !important; font-size: var(--sx-fs-sm); font-weight: 550; }
.sx .input-validation-error { border-color: var(--sx-danger) !important; background-color: var(--sx-danger-bg) !important; }
.sx .validation-summary-errors ul { margin: 0 0 .75rem; padding: 12px 14px 12px 32px; border-radius: 12px; background: var(--sx-danger-bg); }

.sx-field-hint { font-size: var(--sx-fs-xs); color: var(--sx-ink-2); margin-top: .35rem; }

/* ── Alerts / notices ─────────────────────────────────────────────────────── */
.sx .alert {
    --bs-alert-border-radius: var(--sx-radius);
    border: 0; padding: 14px 16px 14px 18px; position: relative;
    box-shadow: inset 4px 0 0 currentColor;
}
.sx .alert-info, .sx .alert-primary { background: var(--sx-info-bg); color: var(--sx-info-ink); }
.sx .alert-success { background: var(--sx-ok-bg); color: var(--sx-ok-ink); }
.sx .alert-warning { background: var(--sx-warn-bg); color: var(--sx-warn-ink); }
.sx .alert-secondary, .sx .alert-light { background: var(--sx-surface-2); color: var(--sx-ink); box-shadow: inset 4px 0 0 var(--sx-line-strong); }
.sx .alert-danger { background: var(--sx-danger-bg); color: var(--sx-danger); }
.sx .alert a { color: inherit; font-weight: 650; }
.sx .alert .alert-heading { color: inherit; }
.sx .alert hr { border-color: currentColor; opacity: .2; }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.sx .badge { border-radius: var(--sx-radius-pill); font-weight: 650; padding: .4em .75em; letter-spacing: .01em; }
.sx .badge.bg-secondary, .sx .badge.text-bg-secondary { background: var(--sx-surface-2) !important; color: var(--sx-ink-2) !important; }
.sx .badge.bg-light { background: var(--sx-surface-2) !important; color: var(--sx-ink) !important; border-color: var(--sx-line) !important; }
.sx .badge.bg-success { background: var(--sx-ok-bg) !important; color: var(--sx-ok-ink) !important; }

/* ── Tables ───────────────────────────────────────────────────────────────── */
.sx .table {
    --bs-table-bg: var(--sx-surface);
    --bs-table-color: var(--sx-ink);
    --bs-table-border-color: var(--sx-line);
    --bs-table-striped-bg: var(--sx-surface-2);
    --bs-table-hover-bg: var(--sx-surface-2);
    --bs-table-hover-color: var(--sx-ink);
    margin: 0;
    font-size: var(--sx-fs-sm);
}
.sx .table > :not(caption) > * > * { padding: .7rem .85rem; border-bottom-width: var(--sx-border-w); }
.sx .table-bordered > :not(caption) > * { border-width: 0; }
.sx .table-bordered > :not(caption) > * > * { border-width: 0 0 var(--sx-border-w); }
.sx .table thead th, .sx .table .table-light th, .sx .table-light {
    --bs-table-bg: var(--sx-surface-2);
    --bs-table-color: var(--sx-ink-2);
    background: var(--sx-surface-2);
    color: var(--sx-ink-2);
    font-size: var(--sx-fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    border-color: var(--sx-line);
}
.sx .table tbody tr:last-child > * { border-bottom-width: 0; }
.sx .table-responsive, .sx-table {
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow); overflow: auto;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.sx-empty {
    display: grid; justify-items: center; text-align: center; gap: 8px;
    padding: 36px 20px 32px;
    border: var(--sx-border-w) dashed var(--sx-line-strong); border-radius: var(--sx-radius-lg);
    background: color-mix(in srgb, var(--sx-surface) 60%, transparent);
}
.sx-empty__art {
    width: 76px; height: 76px; border-radius: 50%; margin-bottom: 6px;
    display: grid; place-items: center;
    background: radial-gradient(circle, rgb(240 169 59 / .35), transparent 70%);
}
.sx-empty__art .sx-flame { width: 40px; height: 40px; }
.sx-empty__art .sx-flame::before { width: 13px; height: 20px; top: 5px; }
.sx-empty h3 { font-family: var(--sx-font-display); font-style: var(--sx-display-style); font-weight: 400; font-size: 1.75rem; margin: 0; }
.sx-empty p { color: var(--sx-ink-2); margin: 0; max-width: 40ch; font-size: var(--sx-fs-sm); }

/* ── Motion — only for people who haven't asked for less ──────────────────── */
@media (prefers-reduced-motion: no-preference) {
    @keyframes sx-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    @keyframes sx-fill { from { --sx-p: 0; } }
    @keyframes sx-breathe { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
    .sx-rise { animation: sx-rise .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 70ms); }
    .sx-ring { animation: sx-fill 1.1s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
    .sx-hello::before { animation: sx-breathe 7s ease-in-out infinite; }
    @view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .sx *, .sx *::before, .sx *::after { transition: none !important; animation: none !important; }
}

} /* end @media screen */

/* ═══ PAGE: sign-in and password screens (_LayoutStudentAuth) ═══════════════ */
@media screen {
/* Sign-in screens use Figtree for headings too, so the display face is never
   downloaded here — this is the first page a student on a slow connection
   sees, and it is the one page with no JS saving to pay for the font. */
.sx-auth {
    display: grid;
    --sx-font-display: var(--sx-font-ui);
    --sx-display-style: normal;
    --sx-display-weight: 750;
    --sx-display-tracking: -0.025em;
}
.sx-auth__wrap {
    width: 100%; max-width: 460px; margin: 0 auto; padding: 28px 16px 32px;
    min-height: 100vh; display: flex; flex-direction: column; gap: 22px; justify-content: center;
}
.sx-auth__brand { display: flex; align-items: center; gap: 12px; justify-content: center; }
.sx-auth__brand .sx-flame { width: 38px; height: 38px; }
.sx-auth__brand .sx-flame::before { width: 12px; height: 18px; top: 5px; }
.sx-auth__brand .sx-brand__word { font-size: 1.5rem; line-height: 1; font-weight: 750; letter-spacing: -.02em; }
.sx main.sx-auth__card {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow);
    padding: 28px 22px 24px;
}
.sx-auth__card::before {
    content: ""; position: absolute; z-index: -1; inset: -90px -60px auto auto; width: 300px; height: 300px;
    border-radius: 50%; background: radial-gradient(circle, rgb(240 169 59 / .22), transparent 68%); pointer-events: none;
}
@media (min-width: 576px) { .sx main.sx-auth__card { padding: 36px 36px 30px; } }
.sx-auth__foot { text-align: center; color: var(--sx-ink-2); font-size: var(--sx-fs-xs); }

/* The Identity views were written for a wide Bootstrap grid; inside the card
   every column is the card's full width. */
.sx-auth .row { margin: 0; display: block; }
.sx-auth .row > [class*="col"] { width: 100%; max-width: none; padding: 0; }
.sx-auth h1 {
    font-family: var(--sx-font-display); font-style: var(--sx-display-style); font-weight: var(--sx-display-weight);
    font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.3rem); line-height: 1.08; letter-spacing: var(--sx-display-tracking); margin: 0 0 .4rem;
}
.sx-auth h1.text-danger, .sx-auth p.text-danger { color: var(--sx-ink) !important; font-size: var(--sx-fs-md); font-weight: 500; }
.sx-auth h1.text-danger { font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.3rem); font-weight: var(--sx-display-weight); }
.sx-auth h2 { font-family: var(--sx-font-ui); font-size: var(--sx-fs-md); font-weight: 500; color: var(--sx-ink-2); margin: 0 0 1.25rem; line-height: 1.45; }
.sx-auth hr { display: none; }
.sx-auth header p, .sx-auth > p, .sx-auth__card > p { color: var(--sx-ink-2); }
.sx-auth form .btn-lg { margin-top: .25rem; }
.sx-auth #forgot-password { display: inline-flex; align-items: center; min-height: 44px; margin-top: .5rem; font-weight: 600; }
.sx-auth .alert { margin-bottom: 1.25rem; }
.sx-auth .text-secondary { font-size: var(--sx-fs-sm); }
.sx-auth .form-floating > .form-control[readonly] { color: var(--sx-ink-2); }
/* Logout's "Click here to Logout" is a link-styled button — give it a real target. */
.sx-auth .btn-link.nav-link { min-height: 44px; padding: 0; font-weight: 650; color: var(--sx-accent-ink) !important; }
}

/* ═══ LAYOUT: _LayoutStudent's print skeleton, dressed for the screen ═══════ */
@media screen {
/* The layout keeps `.container > main.pt-4` for print; on screen it is the shell. */
.sx > .container { max-width: 1080px; padding: 0 16px; }
.sx > .container > main.pt-4 { padding-top: 0 !important; }
/* The pages still open with their own `.container py-4`; the shell already pads. */
.sx > .container .container { max-width: none; padding-left: 0; padding-right: 0; }
.sx > .container .container.py-4, .sx > .container .container.py-5 { padding-top: 20px !important; padding-bottom: 120px !important; }
@media (min-width: 768px) {
    .sx > .container .container.py-4, .sx > .container .container.py-5 { padding-top: 36px !important; padding-bottom: 72px !important; }
}
/* "← Back to Portal" — the bottom tab bar replaces it on phones. */
.sx .sx-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--sx-ink-2) !important; margin-bottom: 8px; }
.sx .sx-back svg { width: 18px; height: 18px; }
.sx .sx-back:hover { color: var(--sx-ink) !important; }
@media (max-width: 767.98px) { .sx .sx-back { display: none; } }
@media (min-width: 768px) { .sx-tab span { white-space: nowrap; } }

/* Page header used by every student page. */
.sx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.sx-head__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
}

/* ═══ PAGE: Portal home ═════════════════════════════════════════════════════ */
@media screen {
.sx-home { display: grid; gap: 18px; }
.sx-home .sx-grid { margin-top: 4px; }
@media (min-width: 768px) { .sx-home .sx-tile--lead { grid-column: 1 / -1; min-height: 120px; } }
}

/* ═══ PAGE: Co-Curricular (student) ═════════════════════════════════════════
   The rubric, weekly grid, totals and log are SHARED partials (the staff page
   renders them too), so they are styled here only through the student page's
   own wrappers — .sx-cc-* — never by editing their markup. */
@media screen {
.sx-prog__name { font-size: var(--sx-fs-sm); font-weight: 700; margin: 0; }

/* Rubric card */
.sx-cc-rubric .card {
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow); margin-top: 1.5rem;
}
.sx-cc-rubric .card-body { padding: 18px 20px !important; }
.sx-cc-rubric .card-title { font-size: var(--sx-fs-md); font-weight: 700; margin-bottom: .4rem !important; }
.sx-cc-rubric .row > [class*="col"] > .fw-semibold { color: var(--sx-ink); margin-bottom: 2px; }
.sx-cc-rubric .row > [class*="col"] {
    border-left: 3px solid var(--sx-accent-soft); padding-left: 12px;
}
.sx-cc-rubric strong { color: var(--sx-ink); }

/* Weekly grid + totals */
.sx-cc-weekly td, .sx-cc-totals td { vertical-align: middle; }
.sx-cc-weekly td > .sx-chip, .sx-cc-totals td > .sx-chip { min-width: 30px; height: 30px; font-size: .875rem; }
.sx-cc-weekly td > .text-muted.d-block { font-size: .75rem; margin-top: 3px; }
.sx-cc-weekly tbody tr:first-child { background: color-mix(in srgb, var(--sx-accent-soft) 45%, transparent); }
.sx-cc-weekly tbody tr:first-child > * { --bs-table-bg: transparent; }
.sx-cc-weekly > .table-responsive, .sx-cc-totals > .table-responsive, .sx-cc-log > .table-responsive { margin-bottom: .6rem; }
.sx-cc-totals .alert { margin-top: .75rem; }
.sx-cc-weekly th.text-center, .sx-cc-weekly td.text-center { min-width: 74px; }
@media (max-width: 575.98px) {
    .sx-cc-weekly .table > :not(caption) > * > * { padding: .55rem .4rem; }
    .sx-cc-weekly th { font-size: .625rem !important; letter-spacing: .04em !important; text-transform: none !important; line-height: 1.2; }
    .sx-cc-weekly th.text-center, .sx-cc-weekly td.text-center { min-width: 0; }
    .sx-cc-weekly td.text-nowrap { white-space: normal !important; font-size: .75rem; }
    .sx-cc-totals .table > :not(caption) > * > * { padding: .6rem .5rem; }
}

/* Log-an-activity form: one column on phones, a tidy grid on desktop. */
.sx-cc-form { display: grid; gap: 14px 16px; grid-template-columns: 1fr 1fr; grid-template-areas: "cat cat" "date qty" "desc desc" "go go" "hint hint"; }
.sx-cc-form__cat { grid-area: cat; } .sx-cc-form__date { grid-area: date; } .sx-cc-form__qty { grid-area: qty; }
.sx-cc-form__desc { grid-area: desc; } .sx-cc-form__go { grid-area: go; } .sx-cc-form__hint { grid-area: hint; }
.sx-cc-form .form-label { margin-bottom: .3rem; }
@media (min-width: 900px) {
    .sx-cc-form { grid-template-columns: 1.3fr .9fr .7fr 1.6fr auto; grid-template-areas: "cat date qty desc go" "hint hint hint hint hint"; align-items: end; }
    .sx-cc-form__go .btn { min-width: 110px; min-height: 48px; }
}

/* Activity log: a table on desktop, a stack of cards on phones. */
.sx-cc-log td .btn-sm { min-height: 44px; }
@media (max-width: 767.98px) {
    .sx-cc-log .table-responsive { background: transparent; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
    .sx-cc-log table, .sx-cc-log tbody { display: block; }
    .sx-cc-log thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .sx-cc-log tbody tr {
        display: grid; grid-template-columns: auto 1fr auto; column-gap: 8px; row-gap: 2px;
        grid-template-areas: "cat cat amt" "what what what" "date term act";
        align-items: center;
        background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
        border-radius: var(--sx-radius); box-shadow: var(--sx-shadow); padding: 12px 12px 8px 14px; margin-bottom: 10px;
    }
    .sx-cc-log tbody tr > * { border: 0 !important; padding: 0 !important; background: transparent !important; --bs-table-bg: transparent; box-shadow: none !important; }
    .sx-cc-log tbody td:nth-child(1) { grid-area: date; font-size: var(--sx-fs-xs); color: var(--sx-ink-2); }
    .sx-cc-log tbody td:nth-child(2) { grid-area: term; font-size: var(--sx-fs-xs); color: var(--sx-ink-2); }
    .sx-cc-log tbody td:nth-child(2)::before { content: "· "; }
    .sx-cc-log tbody td:nth-child(3) { grid-area: cat; font-weight: 700; }
    .sx-cc-log tbody td:nth-child(4) { grid-area: what; color: var(--sx-ink-2); font-size: var(--sx-fs-sm); }
    .sx-cc-log tbody td:nth-child(5) { grid-area: amt; font-weight: 750; font-size: 1.05rem; text-align: right; white-space: nowrap; }
    .sx-cc-log tbody td:nth-child(6) { grid-area: act; }
}
}

/* ═══ PAGE: Tools of Maturity self-assessment ═══════════════════════════════
   The matrix markup and tom-autosave.js are unchanged; site.css's .tom-matrix
   rules are overridden here, inside .sx only. */
@media screen {
.sx-tom-intro {
    padding: 14px 16px; margin-bottom: 18px; border-radius: var(--sx-radius);
    background: var(--sx-surface-2); color: var(--sx-ink-2); font-size: var(--sx-fs-sm);
    border-left: 4px solid var(--sx-accent);
}
.sx-tom-intro strong { color: var(--sx-ink); }

.sx .sx-tom {
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow); overflow: auto;
}
.sx .sx-tom .tom-matrix { --bs-table-bg: transparent; margin: 0; border: 0; }
.sx .sx-tom .tom-matrix th, .sx .sx-tom .tom-matrix td { white-space: normal; border-left: 0; border-right: 0; }
.sx .sx-tom .tom-matrix .tom-tool-col { font-weight: 600; background: transparent; position: static; min-width: 0; color: var(--sx-ink); }
.sx .sx-tom .tom-matrix .tom-section th {
    background: var(--sx-accent-soft); color: var(--sx-accent-ink);
    font-family: var(--sx-font-display); font-style: var(--sx-display-style); font-weight: 400;
    font-size: 1.35rem; letter-spacing: 0; text-transform: none; padding: .6rem .9rem .4rem;
}
.sx .sx-tom .tom-matrix thead th { position: sticky; top: 0; z-index: 2; }
.sx .sx-tom .tom-matrix .tom-cell { position: relative; padding: .45rem .5rem; text-align: center; width: 110px; }
.sx .sx-tom .tom-matrix .tom-cell input[type="number"] {
    width: 100%; max-width: 84px; height: 44px; margin: 0 auto; display: block;
    border-radius: 12px; border: var(--sx-border-w) solid var(--sx-line-strong);
    background: var(--sx-surface); color: var(--sx-ink);
    font: 700 1.0625rem/1 var(--sx-font-ui); text-align: center;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.sx .sx-tom .tom-matrix .tom-cell input[type="number"]::placeholder { color: var(--sx-ink-2); font-weight: 400; }
.sx .sx-tom .tom-matrix .tom-cell input[type="number"]:focus { outline: 3px solid var(--sx-focus); outline-offset: 1px; border-color: var(--sx-focus); }
.sx .sx-tom .tom-matrix .tom-cell input[type="number"]:disabled {
    background: var(--sx-surface-2); color: var(--sx-ink-2); border-style: dashed; cursor: not-allowed; opacity: 1;
}
/* Goal column: a quiet amber tint, so "where I want to be" reads differently from a score. */
.sx .sx-tom .tom-matrix tbody tr:not(.tom-section) > td:nth-child(3) input:not(:disabled) { border-color: var(--sx-accent); background: color-mix(in srgb, var(--sx-accent-soft) 55%, var(--sx-surface)); }
/* Save badges from tom-autosave.js, in theme colours. */
.sx .sx-tom .tom-badge { border-radius: 999px; font-size: .6875rem; font-weight: 700; }
.sx .sx-tom .tom-badge.saving { background: var(--sx-surface-2); color: var(--sx-ink-2); }
.sx .sx-tom .tom-badge.saved { background: var(--sx-ok-bg); color: var(--sx-ok-ink); }
.sx .sx-tom .tom-badge.error { background: var(--sx-danger-bg); color: var(--sx-danger); }

@media (max-width: 640px) {
    .sx .sx-tom { background: transparent; border: 0; box-shadow: none; overflow: visible; border-radius: 0; }
    .sx .sx-tom .tom-matrix, .sx .sx-tom .tom-matrix tbody { display: block; }
    .sx .sx-tom .tom-matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .sx .sx-tom .tom-matrix tr.tom-section { display: block; margin: 18px 0 8px; }
    .sx .sx-tom .tom-matrix tr.tom-section th { display: block; background: transparent; padding: 0 2px; font-size: 1.6rem; border: 0; }
    .sx .sx-tom .tom-matrix tbody tr:not(.tom-section) {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 8px; padding: 12px;
        margin-bottom: 10px; background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
        border-radius: var(--sx-radius); box-shadow: var(--sx-shadow);
    }
    .sx .sx-tom .tom-matrix tbody tr > * { border: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }
    .sx .sx-tom .tom-matrix tbody td.tom-tool-col { grid-column: 1 / -1; font-size: var(--sx-fs-sm); margin-bottom: 4px; }
    .sx .sx-tom .tom-matrix .tom-cell { width: auto; }
    .sx .sx-tom .tom-matrix .tom-cell input[type="number"] { max-width: none; height: 48px; }
    .sx .sx-tom .tom-matrix .tom-cell::before {
        display: block; margin-bottom: 4px; font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
        text-transform: uppercase; color: var(--sx-ink-2);
    }
    /* Column order is fixed in the view: Tool | Fall | Goal | Spring. */
    .sx .sx-tom .tom-matrix tbody td:nth-child(2)::before { content: "Fall"; }
    .sx .sx-tom .tom-matrix tbody td:nth-child(3)::before { content: "Goal"; color: var(--sx-accent-ink); }
    .sx .sx-tom .tom-matrix tbody td:nth-child(4)::before { content: "Spring"; }
}
}

/* ═══ PAGE: report card — SCREEN ONLY ═══════════════════════════════════════
   The card is a document, so on screen it is shown as one: a sheet of paper,
   white with black ink, in BOTH colour modes. None of this reaches print (the
   whole file is @media screen); the page's own <style> still owns the card's
   geometry, which comes from ReportCardLayout. */
@media screen {
.sx-rc-top { padding-top: 20px; }
@media (min-width: 768px) { .sx-rc-top { padding-top: 36px; } }
.sx-rc-picker { max-width: 360px; }
.sx-rc-picker .form-select { min-height: 44px; }
.sx article.report-card {
    --sx-ink: #111; --sx-ink-2: #555;
    color: #111; background: #fff;
    border-radius: 6px; padding: 28px 22px 26px;
    box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 2px 6px rgb(0 0 0 / .06), 0 30px 60px -30px rgb(28 25 50 / .45);
    max-width: 920px; margin: 0 auto 24px;
}
.sx article.report-card .text-muted { color: #555 !important; }
.sx article.report-card a { color: inherit; }
@media (min-width: 768px) { .sx article.report-card { padding: 48px 56px 40px; } }
/* Dark mode: the paper keeps its whiteness; give it a soft lamp-lit rim. */
@media (prefers-color-scheme: dark) {
    .sx:not([data-theme="light"]) article.report-card { box-shadow: 0 0 0 1px rgb(242 177 76 / .25), 0 30px 80px -24px rgb(242 177 76 / .25), 0 30px 60px -30px rgb(0 0 0 / .8); }
}
/* Phones: the four-column grid keeps its proportions and scrolls inside the
   paper rather than squeezing comments to one word per line. */
@media (max-width: 640px) {
    .sx article.report-card { overflow-x: auto; padding: 22px 16px; }
    .sx article.report-card .rc-table { min-width: 560px; }
}
}

/* ═══ PAGE: My Awards ═══════════════════════════════════════════════════════ */
@media screen {
.sx-awards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 18px; }
.sx-award {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    background: var(--sx-surface); border: var(--sx-border-w) solid var(--sx-line);
    border-radius: var(--sx-radius-lg); box-shadow: var(--sx-shadow); padding: 20px 20px 18px;
}
.sx-award__head { display: flex; align-items: center; gap: 12px; }
.sx-award__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sx-accent-soft); color: var(--sx-accent-ink); flex: none; }
.sx-award__icon svg { width: 24px; height: 24px; }
.sx-award h3 { font-family: var(--sx-font-display); font-style: var(--sx-display-style); font-weight: 400; font-size: 1.7rem; margin: 0; line-height: 1.05; }
.sx-award blockquote { margin: 0; color: var(--sx-ink-2); font-size: var(--sx-fs-md); line-height: 1.5; }
.sx-award--picked { border-color: var(--sx-accent); box-shadow: var(--sx-halo), var(--sx-shadow); }
.sx-award__picked { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--sx-g-a); color: var(--sx-g-a-ink); font-weight: 700; font-size: var(--sx-fs-xs); }
.sx-award__picked svg { width: 16px; height: 16px; }
.sx-award form { margin-top: auto; }
}
