/* MyLearnSprint – brand layer (Brand Kit v1, 21 Nov 2026; replaces the Lokdin layer). Loaded after every other stylesheet except app.css.
 * Royal Blue #163EC4 for focus, Bright Gold #FFBC00 for winning (mastery, streaks, awards, active indicators),
 * Sprint Navy #0B1842 for dark surfaces, Arrow Orange #FF6A2B for the logo arrow, Ice Blue #EEF3FF for soft backgrounds. Manrope throughout (self-hosted, works offline).
 * Same selectors as before: this file restyles, it never changes layouts or removes anything. */

/* ---------- Manrope (assets/fonts, SIL Open Font License) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Manrope-400.woff2') format('woff2'), url('../fonts/Manrope-400.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Manrope-500.woff2') format('woff2'), url('../fonts/Manrope-500.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Manrope-600.woff2') format('woff2'), url('../fonts/Manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Manrope-700.woff2') format('woff2'), url('../fonts/Manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Manrope-800.woff2') format('woff2'), url('../fonts/Manrope-800.ttf') format('truetype'); }

/* ---------- tokens ---------- */
:root {
    --lk-blue: #163EC4; --lk-gold: #FFBC00; --lk-navy: #0B1842; --lk-nib: #0E2CA0; --lk-ice: #EEF3FF; --lk-white: #FFFFFF; --lk-orange: #FF6A2B; --lk-sky: #2E8CFF;
    --lk-blue-2: #285CF0; --lk-gold-deep: #B07A00;
    --lk-grad-blue: linear-gradient(135deg, #285CF0, #0E2CA0);
    --lk-grad-gold: linear-gradient(150deg, #FFD640, #FFA000);
    --lk-grad-tile: linear-gradient(135deg, #2456EC, #0C2282);
    --lk-grad-night: linear-gradient(160deg, #163EC4 0%, #0E2CA0 38%, #0B1842 100%);

    --brand: #163EC4; --brand-dark: #0E2CA0; --brand-soft: #EEF3FF; --brand-line: #C9D6FB;
    --accent: #FFBC00; --violet: #0E2CA0; --cyan: #285CF0;
    --grad: linear-gradient(135deg, #285CF0, #0E2CA0);
    --grad-soft: linear-gradient(135deg, #EEF3FF, #F6F8FF);
    --ink: #0B1640; --text: #33405F; --muted: #5F6B8A; --faint: #97A1BC;
    --line: #E4E9F5; --line-2: #F1F4FB; --bg: #F5F7FD; --card: #FFFFFF;
    --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --kid: 'Manrope', system-ui, sans-serif;
    --radius: 16px; --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(11, 24, 66, .05), 0 6px 18px -14px rgba(11, 24, 66, .25);
    --shadow-md: 0 2px 4px rgba(11, 24, 66, .05), 0 12px 28px -16px rgba(11, 24, 66, .32);
    --shadow-lg: 0 24px 48px -18px rgba(11, 24, 66, .32), 0 6px 14px -8px rgba(11, 24, 66, .12);
    --lk-ring: 0 0 0 4px rgba(22, 62, 196, .16);
    /* HQ console: MyLearnSprint navy and gold */
    --hq-navy: #0B1842; --hq-navy-2: #163EC4; --hq-gold: #FFBC00;
}

/* ---------- type ---------- */
body { font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4 { font-family: var(--head); }
h1 { font-weight: 800; letter-spacing: -.025em; }
h2 { font-weight: 700; letter-spacing: -.015em; }
h3 { font-weight: 700; }
b, strong { font-weight: 700; }
.eyebrow { font-weight: 600; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(22, 62, 196, .45); outline-offset: 2px; }
::selection { background: rgba(22, 62, 196, .16); }

/* ---------- logos and marks ---------- */
.brand-icon, .brand-logo { display: block; flex: none; height: auto; user-select: none; -webkit-user-drag: none; }
.side__mark.brand-icon { width: 36px; height: 36px; padding: 0; border-radius: 10px; background: none !important; box-shadow: 0 6px 14px -8px rgba(14, 44, 160, .7); }
.side__portal { color: var(--lk-blue) !important; font-weight: 800 !important; letter-spacing: -.01em; }
body.side-mini .side__mark.brand-icon { width: 34px; height: 34px; }
.top--out .side__brand--logo { display: inline-flex; align-items: center; }
.top__logo { width: 200px; margin: 0 -4px; }
.rp-org__mark.brand-icon { width: 42px; height: 42px; padding: 0; border-radius: 10px; background: none !important; }
.card-login__mark.brand-icon { width: 38px; height: 38px; padding: 0; background: none !important; border-radius: 10px; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .45); }
.plans-hero__mark.brand-icon { width: 46px; height: 46px; padding: 0; background: none !important; border-radius: 12px; }

/* ---------- shell ---------- */
body.has-shell .side { border-right-color: var(--line); }
.side__name b { font-weight: 700; }
.side__h { font-weight: 700; letter-spacing: .06em; color: #8B95B2; }
.side__link { border-radius: 12px; font-weight: 600; transition: background-color .15s ease, color .15s ease; }
.side__link.is-on { background: var(--lk-ice); color: var(--lk-nib); font-weight: 700; }
.side__link.is-on .mi { stroke: var(--lk-blue); }
.side__link.is-on::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lk-gold); }
body.side-mini .side__link.is-on::before { left: -12px; }
.side__link em { background: var(--lk-gold); color: var(--lk-navy); font-weight: 800; }
.header { border-bottom-color: var(--line); }
.top__title { font-weight: 700; }
.top__search { border-radius: 12px; border-color: var(--line); }
.top__search:hover { border-color: var(--brand-line); }
.user__btn { border-color: var(--line); }
.user__btn .avatar, .user__card .avatar { background: var(--lk-grad-blue); font-weight: 700; }
.user__menu { border-radius: 16px; }
kbd { border-radius: 6px; }

/* ---------- buttons, links, inputs ---------- */
a { color: var(--brand); }
.btn { border-radius: 12px; font-weight: 700; letter-spacing: .005em; transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease, color .15s ease; }
.btn:not(.btn--ghost):not(.btn--danger):not(.btn--amber):not(.btn--green) { box-shadow: 0 1px 2px rgba(11, 24, 66, .12), 0 8px 18px -10px rgba(22, 62, 196, .65); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost, .btn--amber { box-shadow: inset 0 0 0 1px #D3DCF1, var(--shadow); }
.btn--ghost:hover, .btn--amber:hover { background: var(--lk-ice); color: var(--lk-nib); box-shadow: inset 0 0 0 1px var(--brand-line), var(--shadow); }
.btn--sm { border-radius: 10px; }
.btn--big { border-radius: 16px; }
.field > span { font-weight: 600; }
.field input, .field select, .field textarea, .search, .reg-search, .reg-tools select { border-color: #D6DEF0; border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus, .search:focus, .reg-search:focus { border-color: var(--brand); box-shadow: var(--lk-ring); outline: none; }
.password-toggle { border-radius: 10px; border-color: var(--line); }
.password-toggle:focus-visible { outline: 3px solid rgba(22, 62, 196, .35); }
.form-error { border-radius: 12px; }

/* ---------- cards, tabs, badges ---------- */
.panel, .card { border-radius: 18px; border-color: var(--line); }
.panel { box-shadow: var(--shadow); }
.modal__box { border-radius: 20px; }
.toast { border-radius: 14px; }
.toast--award { background: var(--lk-grad-gold); color: var(--lk-navy); }
.tab { font-weight: 600; }
.tab.is-on { color: var(--lk-nib); border-bottom-color: var(--lk-gold); font-weight: 700; }
.badge { border-radius: 999px; font-weight: 600; }
.badge--cambridge { background: var(--lk-ice); color: var(--lk-nib); }
.pill { border-radius: 999px; font-weight: 700; }
.pill--learning { background: #4F7BF2; }
.pill--challenge { background: var(--lk-blue); }
.pill--mastered { background: var(--lk-grad-gold); color: var(--lk-navy); }
.table-wrap { border-radius: 16px; }
.table th { color: #6A7594; font-weight: 700; }
.spinner { border-top-color: var(--brand); }

/* ---------- hero areas: blue gradient with a gold spark ---------- */
.dash-hero, .hello { box-shadow: 0 18px 40px -26px rgba(11, 24, 66, .75); }
.dash-hero::after, .hello::after { content: ''; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 180, 255, .35), rgba(140, 180, 255, 0)); pointer-events: none; }
.hello { position: relative; overflow: hidden; }
.dash-hero h1, .hello h1 { font-weight: 800; }

/* ---------- learner tab bar (phones): white glass, gold active indicator ---------- */
@media (max-width: 720px) {
    body.role-learner .tabbar { background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid rgba(228, 233, 245, .9); box-shadow: 0 -10px 30px -18px rgba(11, 24, 66, .35); }
    .tabbar__a { position: relative; font-weight: 700; letter-spacing: .01em; transition: color .15s ease; }
    .tabbar__a .mi { transition: transform .2s ease; }
    .tabbar__a.is-on { color: var(--lk-blue) !important; background: none !important; }
    .tabbar__a.is-on .mi { transform: translateY(-1px); }
    .tabbar__a.is-on::before { content: ''; position: absolute; top: -4px; left: 50%; width: 30px; height: 4px; margin-left: -15px; border-radius: 0 0 6px 6px; background: var(--lk-grad-gold); box-shadow: 0 3px 12px rgba(255, 176, 0, .6); }
    .tabbar__a.is-on .mi { stroke-width: 2.2; }
    .hello, .dash-hero { border-radius: 22px !important; }
    .panel { border-radius: 18px; border-color: var(--line); }
}

/* ---------- HQ console: MyLearnSprint navy and gold, Manrope instead of the serif ---------- */
.invdoc, .hq-auth, .bill-hero { --rp-navy: #0B1842; --serif: 'Manrope', system-ui, sans-serif; }
body.is-hq .side { background: linear-gradient(180deg, #0B1842, #071245) !important; }
body.is-hq .side__mark.brand-icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 18px -8px rgba(0, 0, 0, .6); }
body.is-hq .side__link.is-on { background: rgba(255, 188, 0, .12); box-shadow: none; }
body.is-hq .side__link.is-on::before { left: -12px; }

/* HQ sign-in */
.hq-auth { background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px, radial-gradient(50% 50% at 85% 5%, rgba(40, 92, 240, .55) 0, transparent 70%), radial-gradient(45% 45% at 5% 95%, rgba(40, 92, 240, .35) 0, transparent 70%), linear-gradient(160deg, #0E2CA0, #0B1842 55%, #071245) !important; }
.hq-auth__card { border-radius: 22px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); }
.hq-auth__brand { border-bottom: 1px solid var(--line); }
.hq-auth__icon { width: 46px; height: 46px; }
.hq-auth__brand b, .hq-auth h1 { font-family: var(--head) !important; font-weight: 800; color: var(--lk-navy); }
.hq-auth__brand small { color: var(--lk-gold-deep); }
.hq-auth .field input { min-height: 50px; }
.hq-auth .btn { min-height: 50px; background: var(--lk-navy) !important; }
.hq-auth .btn:hover { background: var(--lk-blue) !important; }
.hq-auth__foot { color: rgba(255, 255, 255, .6); }

/* invoices, reports and printable documents */
.invdoc h1, .invdoc h3, .rp-head h1, .rp-head h2 { font-family: var(--head) !important; }

/* =====================================================================
   Signed-out screens: sign in, a school's sign-in, sign up, registration, first-run setup.
   Deep blue → navy night sky, slow glowing orbs and a faint grid, the MyLearnSprint logo, a frosted-glass card.
   ===================================================================== */
body.is-auth { background: #0B1842; }
.auth.auth--app { position: relative; isolation: isolate; overflow: hidden; flex-direction: column; justify-content: center; gap: 22px;
    min-height: 100vh; min-height: 100dvh; padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(70% 55% at 50% 0%, rgba(40, 92, 240, .55), transparent 70%),
        var(--lk-grad-night);
    color: #fff; }
/* the grid fades out towards the edges */
.auth.auth--app { -webkit-mask-image: none; }
.auth.auth--app::before, .auth.auth--app::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.auth.auth--app::before { width: 520px; height: 520px; left: -180px; bottom: -200px; background: radial-gradient(closest-side, rgba(40, 92, 240, .75), rgba(40, 92, 240, 0)); animation: lk-orb-a 18s ease-in-out infinite alternate; }
.auth.auth--app::after { width: 420px; height: 420px; right: -140px; top: -130px; background: radial-gradient(closest-side, rgba(110, 160, 255, .55), rgba(110, 160, 255, 0)); animation: lk-orb-b 22s ease-in-out infinite alternate; }
@keyframes lk-orb-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, -60px) scale(1.15); } }
@keyframes lk-orb-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 50px) scale(.9); } }

/* the logo (white letters, gold lock) */
.lok-logo { display: inline-flex; align-self: center; border-radius: 12px; animation: lk-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.lok-logo__img { width: 240px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.lok-logo:focus-visible { outline: 3px solid rgba(255, 214, 64, .8); outline-offset: 4px; }

/* frosted-glass card */
.auth--app .auth__card { position: relative; max-width: 440px; padding: 30px 28px 26px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 26px;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 80px -30px rgba(3, 8, 40, .75), 0 0 0 1px rgba(11, 24, 66, .04);
    color: var(--text); animation: lk-rise .6s .08s cubic-bezier(.2, .8, .2, 1) both; }
.auth--app .auth__card--wide { max-width: 540px; }
.auth--app .auth__card::before { content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lk-grad-gold); opacity: .95; }
@keyframes lk-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.auth--app h1 { color: var(--lk-navy); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.auth--app .muted { color: #5B6788; }
.auth--app .auth__school-kicker { color: var(--lk-blue); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.auth--app .auth__school { font-size: 26px; }

/* big rounded inputs with icons and a clear focus glow */
.auth--app .auth__form { margin-top: 20px; }
.auth--app .field { margin-bottom: 14px; }
.auth--app .field > span { color: var(--lk-navy); font-size: 13.5px; font-weight: 700; }
.auth--app .field input, .auth--app .field select, .auth--app .field textarea { min-height: 54px; padding: 14px 16px; border: 1.5px solid #D9E1F4; border-radius: 16px; background: #F6F8FE; color: var(--ink); font: 600 16px var(--font); box-shadow: none; transition: border-color .15s ease, box-shadow .2s ease, background-color .15s ease; }
.auth--app .field input::placeholder { color: #9AA5C3; font-weight: 500; }
.auth--app .field input:hover, .auth--app .field select:hover { border-color: #BCCAEF; }
.auth--app .field input:focus, .auth--app .field select:focus, .auth--app .field textarea:focus { border-color: var(--lk-blue); background: #fff; box-shadow: 0 0 0 4px rgba(22, 62, 196, .16), 0 10px 24px -14px rgba(22, 62, 196, .55); outline: none; }
.auth--app .field input[name="username"], .auth--app .field input[type="email"], .auth--app .field input[name="email"],
.auth--app .field input[name="password"], .auth--app .field input[name="password2"], .auth--app .field input[autocomplete="new-password"],
.auth--app .field input[type="tel"] { padding-left: 50px; background-repeat: no-repeat; background-position: 17px 50%; background-size: 20px 20px; }
.auth--app .field input[name="username"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B8A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E"); }
.auth--app .field input[type="email"], .auth--app .field input[name="email"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B8A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
.auth--app .field input[name="password"], .auth--app .field input[name="password2"], .auth--app .field input[autocomplete="new-password"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B8A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='3'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3Ccircle cx='12' cy='15.5' r='1.4' fill='%235F6B8A'/%3E%3C/svg%3E"); }
.auth--app .field input[type="tel"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B8A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.auth--app .password-control--field > .password-toggle { bottom: 8px; right: 8px; width: 40px; height: 38px; border: 0; border-radius: 12px; background: transparent; color: #5F6B8A; }
.auth--app .password-toggle:hover { background: var(--lk-ice); color: var(--lk-blue); }
.auth--app .password-toggle[aria-pressed="true"] { color: var(--lk-blue); }

/* links and help */
.auth--app .auth__forgot { color: var(--lk-blue); font-weight: 700; }
.auth--app .auth__help { border-radius: 14px; background: var(--lk-ice); color: var(--text); }
.auth--app .form-error { border-radius: 14px; }
.auth--app .auth__foot { border-top-color: rgba(11, 24, 66, .08); color: #5B6788; font-weight: 500; }
.auth--app .auth__foot a, .auth--app .su__list a, .auth--app p a { color: var(--lk-blue); font-weight: 700; }

/* the primary button: bold gold, navy letters, a soft glow */
.auth--app .auth__go, .auth--app .auth__form > .btn[type="submit"], .auth--app form .btn--block[type="submit"], .auth--app .su__next {
    position: relative; overflow: hidden; min-height: 56px; border: 0; border-radius: 16px;
    background: var(--lk-grad-gold) !important; color: var(--lk-navy) !important; font: 800 16.5px/1.2 var(--font); letter-spacing: .01em;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 14px 28px -12px rgba(255, 160, 0, .75), 0 2px 6px rgba(176, 122, 0, .25) !important;
    transition: transform .15s ease, box-shadow .2s ease, filter .15s ease; }
.auth--app .auth__go:hover, .auth--app form .btn--block[type="submit"]:hover, .auth--app .su__next:hover { color: var(--lk-navy) !important; filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 18px 32px -12px rgba(255, 160, 0, .85), 0 2px 6px rgba(176, 122, 0, .25) !important; }
.auth--app .auth__go:active, .auth--app form .btn--block[type="submit"]:active { transform: translateY(1px); }
.auth--app .auth__go:focus-visible, .auth--app form .btn--block[type="submit"]:focus-visible { outline: 3px solid var(--lk-blue); outline-offset: 3px; }
.auth--app .auth__go::after, .auth--app form .btn--block[type="submit"]::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: lk-shine 4.5s 1.2s ease-in-out infinite; }
@keyframes lk-shine { 0%, 70% { left: -40%; } 100% { left: 130%; } }
.auth--app .btn[disabled], .auth--app .btn.is-busy { filter: saturate(.7); opacity: .85; transform: none; }

/* sign up and registration inside the glass card */
.auth--app .su__opt { border-color: #E1E7F5; border-radius: 16px; background: rgba(255, 255, 255, .85); transition: border-color .15s, background .15s, transform .15s, box-shadow .2s; }
.auth--app .su__opt:hover, .auth--app .su__opt:focus-visible { border-color: var(--lk-blue); background: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -16px rgba(22, 62, 196, .6); }
.auth--app .su__opt-i { border-radius: 14px; background: var(--lk-ice); }
.auth--app .su__opt-i .mi { stroke: var(--lk-blue); }
.auth--app .su__kicker { color: var(--lk-blue); font-weight: 700; }
.auth--app .su__progress { background: #E6EBF8; }
.auth--app .su__progress i { background: var(--lk-grad-gold); }
.auth--app .su__back { border-radius: 12px; color: var(--lk-navy); }
.auth--app .su__back:hover { background: var(--lk-ice); }
.auth--join .auth__card.join { max-width: 520px; text-align: left; }
.auth--join .auth__card.join--wide { max-width: 680px; }

/* computer: welcome text beside the card */
.lok-auth { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.lok-auth .auth__card { width: 100%; }
.lok-hero { display: flex; flex-direction: column; align-items: center; }
.lok-hero__h, .lok-hero__p, .lok-hero__chips { display: none; }
@media (min-width: 960px) {
    .auth--signin .lok-auth { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: center; gap: 72px; max-width: 1100px; }
    .lok-hero { align-items: flex-start; animation: lk-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
    .lok-hero .lok-logo { align-self: flex-start; margin: 0 0 30px -10px; }
    .lok-hero .lok-logo__img { width: 330px; }
    .lok-hero__h { display: block; max-width: 520px; margin: 0 0 14px; color: #fff; font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
    .lok-hero__h span { color: var(--lk-gold); }
    .lok-hero__p { display: block; max-width: 470px; margin: 0 0 28px; color: rgba(228, 236, 255, .82); font-size: 17px; line-height: 1.6; }
    .lok-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
    .lok-hero__chips li { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: rgba(235, 241, 255, .9); font-size: 14px; font-weight: 600; }
    .lok-hero__chips b { color: var(--lk-gold); font-weight: 800; }
    .auth--app .auth__card { padding: 36px 34px 30px; }
    .auth.auth--app::before { width: 760px; height: 760px; }
    .auth.auth--app::after { width: 520px; height: 520px; }
}
/* phones: the logo, then a floating glass card (not a full-height sheet) */
@media (max-width: 720px) {
    body.is-auth { background: #0B1842; }
    .auth.auth--app { align-items: center; justify-content: center; gap: 20px; padding: max(30px, calc(env(safe-area-inset-top) + 18px)) 16px max(26px, calc(env(safe-area-inset-bottom) + 16px)); }
    .auth--app .auth__card { min-height: 0; max-width: 440px; padding: 26px 20px 22px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 26px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 34px 70px -30px rgba(3, 8, 40, .8); }
    .auth--app .auth__foot, .auth--app .auth__form + .auth__foot, .auth--app .su__opts + .auth__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(11, 24, 66, .08); }
    .lok-logo__img { width: 220px; }
    .auth--app h1 { font-size: 26px; }
}
html.is-app .auth.auth--app { padding: calc(22px + var(--app-top, 0px)) 16px calc(22px + var(--app-bottom, 0px)); }
html.is-app .auth--app .auth__card { padding-top: 26px; padding-bottom: 22px; }
@media (prefers-reduced-motion: reduce) {
    .auth.auth--app::before, .auth.auth--app::after, .auth--app .auth__go::after, .auth--app form .btn--block[type="submit"]::after { animation: none; }
    .lok-logo, .auth--app .auth__card, .lok-hero { animation: none; }
    .btn:hover, .auth--app .su__opt:hover { transform: none; }
}

/* HQ headings: Manrope ExtraBold; the small HQ eyebrow in royal blue (gold is never small text on white) */
.hq-head .eyebrow { color: var(--lk-blue); }
.hq-head h1 { font-weight: 800 !important; letter-spacing: -.03em; color: var(--lk-navy); }
.hq-auth__brand small { color: var(--lk-blue) !important; }
