:root {
    --ink: #172033;
    --ink-2: #2a3448;
    --muted: #667085;

    --line: #dde2ea;
    --line-strong: #cbd2dd;

    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-2: #f0f2f5;
    --surface-3: #e7eaf0;

    --navy: #14213d;
    --navy-dark: #0b132b;
    --navy-soft: #e8edf5;

    --red: #c62828;
    --red-dark: #9f1f1f;
    --red-soft: #fbeaea;

    --gold: #f2b134;
    --gold-dark: #d99614;
    --gold-soft: #fff4d8;

    --success: #247447;
    --success-soft: #eaf6ee;

    --danger: #b42318;
    --danger-soft: #fdeceb;

    --accent: var(--red);
    --accent-dark: var(--red-dark);
    --accent-soft: var(--red-soft);

    --shadow: 0 18px 48px rgba(20, 33, 61, 0.10);
    --shadow-sm: 0 8px 24px rgba(20, 33, 61, 0.08);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;

    --max: 1180px;
}


/* =========================================================
   RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--ink);

    background:
        linear-gradient(
            180deg,
            #fafafa 0%,
            #f5f6f8 48%,
            #eef1f5 100%
        );

    line-height: 1.55;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(203, 210, 221, 0.85);
}

.site-header-inner {
    width:
        min(
            var(--max),
            calc(100% - 32px)
        );

    min-height: 74px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;

    position: relative;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            var(--navy) 0%,
            var(--navy-dark) 100%
        );

    box-shadow:
        inset 0 -8px 18px rgba(0, 0, 0, 0.14);
}

.brand-mark::before {
    content: "";

    width: 18px;
    height: 18px;

    border: 2px solid #fff;
    border-radius: 50%;

    opacity: 0.95;
}

.brand-mark span {
    position: absolute;

    width: 2px;
    height: 22px;

    background: var(--gold);

    opacity: 0.9;
}

.brand-mark span:first-child {
    transform: rotate(48deg);
}

.brand-mark span:last-child {
    transform: rotate(-48deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.brand-copy strong {
    font-size: 17px;

    letter-spacing: -0.02em;
}

.brand-copy small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 4px;
}

.main-nav a {
    position: relative;

    padding: 10px 12px;

    border-radius: 10px;

    color: var(--muted);

    text-decoration: none;

    font-size: 14px;
    font-weight: 750;

    transition:
        background 0.2s,
        color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);

    background: var(--navy-soft);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 5px;

    height: 2px;

    border-radius: 2px;

    background: var(--red);
}

.main-nav .nav-logout {
    margin-left: 8px;

    border:
        1px solid var(--line);
}

.nav-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background: var(--surface);

    cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
    display: block;

    height: 2px;

    margin: 4px 0;

    border-radius: 2px;

    background: var(--navy);
}

/* =========================================================
   ADMIN NAV DROPDOWN
========================================================= */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 10px 12px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    color: var(--muted);

    cursor: pointer;

    font-size: 14px;
    font-weight: 750;

    line-height: 1;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.is-open .nav-dropdown-toggle {
    background: var(--navy-soft);

    color: var(--navy);
}


/* Active underline */

.nav-dropdown-toggle.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 5px;

    height: 2px;

    border-radius: 2px;

    background: var(--red);
}


/* Chevron */

.nav-dropdown-chevron {
    display: inline-flex;

    color: var(--muted);

    font-size: 11px;

    transition:
        transform 0.18s ease;
}

.nav-dropdown.is-open
.nav-dropdown-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   BADGE
========================================================= */

.nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    border-radius: 999px;

    background: var(--red);

    color: #fff;

    font-size: 10px;
    font-weight: 900;

    line-height: 1;
}


/* =========================================================
   MENU
========================================================= */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    z-index: 100;

    width: 300px;

    padding: 8px;

    border: 1px solid var(--line);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 24px 60px rgba(20, 33, 61, 0.16);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-6px)
        scale(0.985);

    transform-origin:
        top right;

    pointer-events: none;

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}

.nav-dropdown.is-open
.nav-dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}


/* =========================================================
   MENU HEADING
========================================================= */

.nav-dropdown-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 8px 10px 10px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.09em;
}

.nav-dropdown-heading small {
    color: var(--red);

    font-size: 10px;
    font-weight: 850;

    text-transform: none;

    letter-spacing: normal;
}


/* =========================================================
   MENU LINKS
========================================================= */

.main-nav
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    width: 100%;

    padding: 11px 12px;

    border-radius: 11px;

    color: var(--ink);

    text-decoration: none;
}

.main-nav
.nav-dropdown-menu a::after {
    display: none;
}

.main-nav
.nav-dropdown-menu a:hover {
    background: var(--surface-2);

    color: var(--navy);
}

.main-nav
.nav-dropdown-menu a.active {
    background: var(--navy-soft);

    color: var(--navy);
}


/* Text */

.nav-dropdown-copy {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 2px;
}

.nav-dropdown-copy strong {
    font-size: 13px;
    font-weight: 800;
}

.nav-dropdown-copy small {
    color: var(--muted);

    font-size: 11px;
    font-weight: 500;

    line-height: 1.35;
}


/* Divider */

.nav-dropdown-divider {
    height: 1px;

    margin: 6px 4px;

    background: var(--line);
}


/* =========================================================
   MOBILE ADMIN DROPDOWN
========================================================= */

@media (max-width: 760px) {

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;

        justify-content: flex-start;

        padding: 12px;
    }

    .nav-dropdown-toggle.active::after {
        display: none;
    }

    .nav-dropdown-toggle
    .nav-count {
        margin-left: auto;
    }

    .nav-dropdown-menu {
        position: static;

        width: 100%;

        margin-top: 4px;

        padding: 6px;

        border-radius: 12px;

        background: var(--surface-2);

        box-shadow: none;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        pointer-events: auto;
    }

    .nav-dropdown.is-open
    .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-heading {
        padding:
            8px
            10px;
    }

    .main-nav
    .nav-dropdown-menu a {
        background: transparent;
    }

    .main-nav
    .nav-dropdown-menu a:hover,
    .main-nav
    .nav-dropdown-menu a.active {
        background: #fff;
    }

}

/* =========================================================
   LAYOUT
========================================================= */

.container {
    width:
        min(
            var(--max),
            calc(100% - 32px)
        );

    margin: 38px auto 76px;
}

.page-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 22px;
}

.page-intro h1,
.hero h1 {
    margin: 0;

    font-size:
        clamp(
            34px,
            5vw,
            64px
        );

    letter-spacing: -0.055em;

    line-height: 0.98;
}

.page-intro p {
    max-width: 660px;

    margin: 12px 0 0;

    color: var(--muted);

    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 8px;

    color: var(--red);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 18px;
    height: 2px;

    border-radius: 2px;

    background: currentColor;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding:
        clamp(
            28px,
            5vw,
            58px
        );

    margin-bottom: 24px;

    border-radius: var(--radius-xl);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--navy-dark) 0%,
            var(--navy) 58%,
            #243454 100%
        );

    box-shadow: var(--shadow);
}

.hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -90px;
    top: -130px;

    border:
        46px solid rgba(
            255,
            255,
            255,
            0.05
        );

    border-radius: 50%;
}

.hero::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: 90px;
    bottom: -120px;

    border-radius: 50%;

    background: var(--gold);

    opacity: 0.18;
}

.hero > * {
    position: relative;

    z-index: 1;
}

.hero .eyebrow {
    color: var(--gold);
}

.hero h1 {
    max-width: 820px;
}

.hero p {
    max-width: 760px;

    margin: 16px 0 0;

    color: #dce2ec;

    font-size:
        clamp(
            16px,
            2vw,
            19px
        );
}

.hero .actions {
    margin-top: 26px;
}


/* =========================================================
   GRID / CARDS
========================================================= */

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            12,
            minmax(0, 1fr)
        );

    gap: 18px;
}

.card {
    grid-column: span 4;

    padding: 22px;

    border:
        1px solid var(--line);

    border-radius:
        var(--radius-lg);

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    box-shadow:
        var(--shadow-sm);
}

.card.wide {
    grid-column: span 8;
}

.card.full {
    grid-column: 1 / -1;
}

.card.soft {
    background: var(--surface-2);

    box-shadow: none;
}

.card h1,
.card h2,
.card h3 {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;

    letter-spacing: -0.025em;
}

h2 {
    font-size:
        clamp(
            21px,
            2.2vw,
            28px
        );
}

h3 {
    font-size: 16px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
}


/* =========================================================
   TEXT / META
========================================================= */

.muted {
    color: var(--muted);
}

.small {
    font-size: 13px;
}

.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color: var(--muted);

    font-size: 13px;
}

.dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--line-strong);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 11px 17px;

    border:
        1px solid transparent;

    border-radius: 12px;

    background: var(--red);

    color: #fff;

    text-decoration: none;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(
            198,
            40,
            40,
            0.18
        );

    transition:
        background 0.2s,
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}

.btn:hover {
    background: var(--red-dark);

    box-shadow:
        0 10px 24px rgba(
            198,
            40,
            40,
            0.24
        );
}

.btn.secondary {
    background: var(--surface);

    color: var(--navy);

    border-color: var(--line);

    box-shadow: none;
}

.btn.secondary:hover {
    background: var(--navy-soft);

    border-color:
        #c5cedd;
}

.btn.ghost {
    background: transparent;

    border-color:
        rgba(
            255,
            255,
            255,
            0.28
        );

    box-shadow: none;
}

.btn.ghost:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.1
        );
}

.btn.danger {
    color: var(--danger);

    border-color:
        rgba(
            180,
            35,
            24,
            0.25
        );

    background:
        var(--danger-soft);

    box-shadow: none;
}

.btn.danger:hover {
    color: #fff;

    border-color:
        var(--danger);

    background:
        var(--danger);
}

.btn.full-width {
    width: 100%;
}

.actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* =========================================================
   PRACTICE ROWS
========================================================= */

.practice-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.practice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 16px;

    padding: 15px 16px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: #fff;

    transition:
        border-color 0.2s,
        transform 0.2s;
}

.practice-row:hover {
    border-color:
        #c2cad8;
}

.practice-row-title {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}

.practice-row .actions {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    justify-content: flex-end;

    margin-left: auto;
}

.practice-row .actions form {
    display: inline-flex !important;
}

.practice-row .actions .btn {
    white-space: nowrap;
}

.practice-badge {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--navy-soft);

    color: var(--navy);

    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   QUICK CARDS
========================================================= */

.quick-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin: 0;
}

.quick-card {
    min-height: 126px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 18px;

    border:
        1px solid var(--line);

    border-radius: 16px;

    background: var(--surface);

    text-decoration: none;

    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.2s;
}

.quick-card:hover {
    border-color:
        #c3cbd8;

    background:
        #fcfcfd;
}

.quick-card strong {
    font-size: 17px;
}

.quick-card span {
    color: var(--muted);

    font-size: 13px;
}

.quick-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--gold-soft);

    color: var(--navy);

    font-weight: 900;
}


/* =========================================================
   FORMS
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-size: 14px;
    font-weight: 800;
}

.field-hint {
    color: var(--muted);

    font-size: 12px;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;

    min-height: 46px;

    padding: 11px 13px;

    border:
        1px solid var(--line-strong);

    border-radius: 12px;

    background: #fff;

    color: var(--ink);

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

textarea {
    min-height: 120px;

    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy);

    box-shadow:
        0 0 0 4px rgba(
            20,
            33,
            61,
            0.10
        );
}


/* =========================================================
   CHECKBOXES
========================================================= */

.checks {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.check {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 48px;

    padding: 12px 13px;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background: #fff;

    cursor: pointer;
}

.check:has(input:checked) {
    border-color:
        rgba(
            198,
            40,
            40,
            0.35
        );

    background: var(--red-soft);

    color: var(--red-dark);
}

.check input {
    width: 18px;
    height: 18px;

    min-height: 18px;

    accent-color: var(--red);
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    padding: 13px 15px;

    margin: 14px 0;

    border:
        1px solid transparent;

    border-radius: 12px;
}

.alert.error {
    background: var(--danger-soft);

    color: #7d1920;

    border-color: #f1c7ca;
}

.alert.success {
    background: var(--success-soft);

    color: #15532f;

    border-color: #c9e5d2;
}


/* =========================================================
   DRILL CARDS
========================================================= */

.timeline {
    display: flex;
    flex-direction: column;

    gap: 14px;

    position: relative;
}

.drill-card {
    position: relative;

    overflow: hidden;

    padding: 20px 22px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        var(--shadow-sm);
}

.drill-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--red);
}

.drill-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;
}

.drill-head h2 {
    margin: 8px 0 0;
}

.minutes {
    padding: 7px 10px;

    border-radius: 10px;

    background:
        var(--surface-2);

    font-weight: 850;

    white-space: nowrap;
}

.pill {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    border-radius: 999px;

    background:
        var(--navy-soft);

    color: var(--navy);

    font-size: 11px;
    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.045em;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width:
        min(
            var(--max),
            calc(100% - 32px)
        );

    display: flex;
    justify-content: space-between;

    gap: 18px;

    margin: 0 auto 28px;

    padding: 22px 0;

    border-top:
        1px solid var(--line);

    color: var(--muted);

    font-size: 13px;
}

.footer div {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.footer strong {
    color: var(--ink);
}


/* =========================================================
   KPI
========================================================= */

.kpis {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}

.kpi {
    padding: 16px;

    border:
        1px solid var(--line);

    border-radius: 16px;

    background:
        var(--surface-2);
}

.kpi strong {
    display: block;

    margin-bottom: 5px;

    font-size: 30px;

    line-height: 1;

    letter-spacing: -0.05em;
}

.kpi span {
    font-size: 12px;
}


/* =========================================================
   FIELD MODE
========================================================= */

.timer {
    margin: 18px 0 4px;

    color: var(--navy);

    font-size:
        clamp(
            54px,
            12vw,
            92px
        );

    font-weight: 900;

    letter-spacing: -0.07em;

    line-height: 1;

    font-variant-numeric:
        tabular-nums;
}

.run-card {
    max-width: 820px;

    margin: auto;

    text-align: center;
}

.run-card .drill-card {
    margin-top: 24px;

    text-align: left;
}

.run-shell {
    padding:
        clamp(
            22px,
            5vw,
            40px
        );

    border:
        1px solid var(--line);

    border-radius: 26px;

    background:
        var(--surface);

    box-shadow:
        var(--shadow);
}

.progress-bar {
    height: 8px;

    overflow: hidden;

    margin: 18px 0;

    border-radius: 999px;

    background:
        var(--surface-2);
}

.progress-bar span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold)
        );

    transition:
        width 0.3s ease;
}


/* =========================================================
   TABLES
========================================================= */

.table-wrap {
    overflow: auto;

    border:
        1px solid var(--line);

    border-radius: 14px;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: #fff;
}

th,
td {
    padding: 13px;

    border-bottom:
        1px solid var(--line);

    text-align: left;
    vertical-align: top;
}

th {
    background:
        var(--navy-soft);

    color: var(--navy);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.055em;
}

tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;
}

.filters > * {
    flex: 1;

    min-width: 160px;
}

.filters .btn {
    flex: 0 0 auto;
}


/* =========================================================
   AUTH
========================================================= */

.auth-wrap {
    min-height:
        calc(
            100vh - 220px
        );

    display: grid;
    place-items: center;
}

.auth-card {
    width:
        min(
            560px,
            100%
        );

    padding:
        clamp(
            24px,
            5vw,
            42px
        );

    border:
        1px solid var(--line);

    border-radius: 26px;

    background:
        var(--surface);

    box-shadow:
        var(--shadow);
}

.auth-card .brand-auth {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;
}

.auth-card h1 {
    margin-bottom: 10px;

    font-size:
        clamp(
            34px,
            5vw,
            50px
        );
}

.auth-card .btn {
    margin-top: 4px;
}

.auth-card .auth-foot {
    margin-top: 20px;

    text-align: center;
}


/* =========================================================
   PRACTICE BUILDER
========================================================= */

.builder-shell {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 20px;

    align-items: start;
}

.builder-main {
    padding:
        clamp(
            20px,
            4vw,
            30px
        );

    border:
        1px solid var(--line);

    border-radius:
        var(--radius-lg);

    background:
        var(--surface);

    box-shadow:
        var(--shadow-sm);
}

.builder-side {
    position: sticky;
    top: 96px;

    padding: 22px;

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy)
        );

    color: #fff;
}

.builder-side h3 {
    margin: 0 0 10px;
}

.builder-side p,
.builder-side ul {
    color: #dce2ec;

    font-size: 14px;
}

.builder-side ul {
    padding-left: 18px;

    margin-bottom: 0;

    font-size: 13px;
}

.builder-side li + li {
    margin-top: 8px;
}

.step-label {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}

.step-number {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--gold-soft);

    color: var(--navy);

    font-size: 13px;
    font-weight: 900;
}

.step-label h2 {
    margin: 0;

    font-size: 21px;
}

.divider {
    height: 1px;

    margin: 26px 0;

    background: var(--line);
}


/* =========================================================
   STATION ROTATIONS
========================================================= */

.station-block {
    border-color:
        #c8d0dc;
}

.station-summary {
    margin: 8px 0 0;
}

.group-strip {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 8px;

    margin: 20px 0;
}

.group-chip {
    display: flex;
    flex-direction: column;

    gap: 3px;

    padding: 11px 12px;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background:
        var(--surface-2);
}

.group-chip strong {
    font-size: 13px;
}

.group-chip span {
    color: var(--muted);

    font-size: 12px;
}

.station-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin: 18px 0 22px;
}

.station-card {
    padding: 16px;

    border:
        1px solid var(--line);

    border-radius: 16px;

    background: #fff;
}

.station-card h3 {
    margin: 2px 0 8px;

    font-size: 18px;
}

.station-card p {
    font-size: 14px;
}

.station-top {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 10px;
}

.station-number {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--red);

    color: #fff;

    font-weight: 900;
}

.station-card details {
    margin-top: 14px;

    padding-top: 12px;

    border-top:
        1px solid var(--line);
}

.station-card summary,
.field-station summary {
    cursor: pointer;

    font-weight: 800;
}

.rotation-table-wrap {
    margin-top: 22px;
}

.rotation-table {
    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: 14px;
}

.rotation-row {
    display: grid;

    grid-template-columns:
        90px
        repeat(
            var(--station-cols),
            minmax(0, 1fr)
        );

    background: #fff;
}

.rotation-row > * {
    min-width: 0;

    padding: 11px 12px;

    border-right:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}

.rotation-row > *:last-child {
    border-right: 0;
}

.rotation-row:last-child > * {
    border-bottom: 0;
}

.rotation-row > span {
    background:
        var(--surface-2);

    font-size: 12px;
    font-weight: 900;
}

.rotation-row div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.rotation-row small {
    color: var(--muted);

    font-size: 11px;
}

.rotation-head-row {
    background:
        var(--navy-soft);
}

.rotation-head-row strong {
    font-size: 12px;
}

.field-round-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 18px;
}

.field-round-head h2 {
    margin: 8px 0 4px;
}

.field-round-head p {
    margin: 0;

    color: var(--muted);
}

.round-controls {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}

.field-assignments {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;

    margin: 18px 0;
}

.field-assignment {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 13px;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background:
        var(--surface-2);
}

.field-assignment div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.station-badge {
    padding: 6px 9px;

    border-radius: 999px;

    background:
        var(--gold-soft);

    color: var(--navy);

    font-size: 11px;
    font-weight: 900;

    white-space: nowrap;
}

.field-stations {
    display: grid;

    gap: 8px;
}

.field-station {
    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background: #fff;
}

.field-station summary {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px;

    list-style: none;
}

.field-station summary::-webkit-details-marker {
    display: none;
}

.field-station summary span:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;

    text-align: left;
}

.field-station summary small {
    color: var(--muted);

    font-weight: 500;

    text-transform: capitalize;
}

.field-station > p,
.field-station > h3 {
    margin-left: 14px;
    margin-right: 14px;
}

.field-station[open] {
    padding-bottom: 12px;
}

.field-station[open] summary {
    margin-bottom: 12px;

    border-bottom:
        1px solid var(--line);
}

.field-rotation::before {
    background:
        var(--gold);
}


/* =========================================================
   MARKDOWN CONTENT
========================================================= */

.markdown-content {
    color: inherit;

    line-height: 1.7;
}

.markdown-content > *:first-child {
    margin-top: 0;
}

.markdown-content > *:last-child {
    margin-bottom: 0;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    margin:
        1.25em
        0
        0.55em;

    line-height: 1.25;
}

.markdown-content h2 {
    font-size: 1.3rem;
}

.markdown-content h3 {
    font-size: 1.1rem;
}

.markdown-content p {
    margin:
        0
        0
        0.85em;
}

.markdown-content ul,
.markdown-content ol {
    margin:
        0
        0
        1em;

    padding-left:
        1.5rem;
}

.markdown-content li {
    margin:
        0.3em
        0;
}

.markdown-content strong {
    font-weight: 700;
}

.markdown-content blockquote {
    margin: 1rem 0;

    padding:
        0.85rem
        1rem;

    border-left:
        4px solid var(--red);

    border-radius:
        0
        8px
        8px
        0;

    background:
        var(--red-soft);
}

.markdown-content blockquote p {
    margin: 0;
}

.markdown-content code {
    padding:
        0.15rem
        0.35rem;

    border-radius: 5px;

    background:
        rgba(
            20,
            33,
            61,
            0.08
        );

    font-family: monospace;

    font-size: 0.9em;
}

.markdown-content hr {
    margin: 1.5rem 0;

    border: 0;

    border-top:
        1px solid var(--line);
}

.markdown-content a {
    color: var(--red-dark);

    text-decoration: underline;

    text-underline-offset: 2px;
}


/* =========================================================
   IOS TOGGLE
========================================================= */

.ios-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;
}

.ios-toggle-copy {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}

.ios-toggle-copy strong {
    font-size: 15px;
    font-weight: 700;
}

.ios-toggle-copy small {
    color: var(--muted);

    line-height: 1.45;
}

.ios-switch {
    position: relative;

    width: 52px;
    height: 30px;

    flex: 0 0 auto;
}

.ios-switch input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.ios-slider {
    position: absolute;

    inset: 0;

    border-radius: 999px;

    background:
        #d1d5db;

    cursor: pointer;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.ios-slider::before {
    content: "";

    position: absolute;

    width: 24px;
    height: 24px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.2s ease;
}

.ios-switch input:checked + .ios-slider {
    background:
        var(--red);
}

.ios-switch input:checked + .ios-slider::before {
    transform:
        translateX(22px);
}

.ios-switch input:focus-visible + .ios-slider {
    box-shadow:
        0 0 0 4px rgba(
            198,
            40,
            40,
            0.14
        );
}

.ios-switch input:disabled + .ios-slider {
    opacity: 0.5;

    cursor: not-allowed;
}


/* =========================================================
   MARKDOWN EDITOR
========================================================= */

.md-editor {
    overflow: hidden;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background: #fff;
}

.md-editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 4px;

    padding: 8px;

    border-bottom:
        1px solid var(--line);

    background:
        var(--surface-2);
}

.md-tool {
    min-width: 36px;
    height: 36px;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: var(--navy);

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;
}

.md-tool:hover {
    background:
        var(--navy-soft);
}

.md-toolbar-divider {
    width: 1px;
    height: 22px;

    margin: 0 4px;

    background:
        var(--line-strong);
}

.md-editor-tabs {
    display: flex;

    margin-left: auto;

    padding: 3px;

    border-radius: 9px;

    background:
        rgba(
            20,
            33,
            61,
            0.06
        );
}

.md-tab {
    padding: 6px 10px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: var(--muted);

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

.md-tab.active {
    background: #fff;

    color: var(--navy);

    box-shadow:
        0 2px 6px rgba(
            20,
            33,
            61,
            0.08
        );
}

.md-editor textarea {
    width: 100%;

    min-height: 160px;

    padding: 16px;

    border: 0;

    outline: none;

    resize: vertical;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 14px;

    line-height: 1.65;
}

.md-preview {
    display: none;

    min-height: 160px;

    padding: 18px;
}

.md-editor.preview-mode textarea {
    display: none;
}

.md-editor.preview-mode .md-preview {
    display: block;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .builder-shell {
        grid-template-columns:
            1fr;
    }

    .builder-side {
        position: static;
    }

    .card,
    .card.wide {
        grid-column:
            span 6;
    }

    .quick-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .checks {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

}


@media (max-width: 760px) {

    .site-header-inner {
        min-height: 68px;
    }

    .brand-copy small {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;

        left: 16px;
        right: 16px;
        top: 62px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 10px;

        border:
            1px solid var(--line);

        border-radius: 16px;

        background:
            rgba(
                255,
                255,
                255,
                0.99
            );

        box-shadow:
            var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .main-nav .nav-logout {
        margin:
            4px
            0
            0;
    }

    .container {
        width:
            min(
                100% - 20px,
                var(--max)
            );

        margin-top: 24px;
    }

    .hero {
        padding:
            28px 22px;

        border-radius: 22px;
    }

    .hero h1,
    .page-intro h1 {
        font-size: 40px;
    }

    .page-intro {
        flex-direction: column;

        align-items: flex-start;
    }

    .card,
    .card.wide {
        grid-column:
            1 / -1;

        padding: 18px;
    }

    .form-grid {
        grid-template-columns:
            1fr;
    }

    .checks {
        grid-template-columns:
            1fr;
    }

    .kpis {
        grid-template-columns:
            repeat(
                3,
                1fr
            );
    }

    .practice-row,
    .drill-head {
        flex-direction: column;

        align-items: flex-start;
    }

    .practice-row .actions {
        width: 100%;

        margin-left: 0;

        justify-content: flex-start;
    }

    .quick-grid {
        grid-template-columns:
            1fr;
    }

    .footer {
        flex-direction: column;
    }

    .footer > span {
        display: none;
    }

    .filters {
        flex-direction: column;
    }

    .filters > * {
        width: 100%;
    }

    .filters .btn {
        width: 100%;
    }

    .builder-main {
        padding: 18px;
    }

    .run-shell {
        padding: 20px;
    }

    .timer {
        font-size: 64px;
    }

    .group-strip {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .station-grid {
        grid-template-columns:
            1fr;
    }

    .rotation-table {
        overflow-x: auto;
    }

    .rotation-row {
        min-width: 620px;
    }

    .field-round-head {
        flex-direction: column;
    }

    .round-controls {
        width: 100%;
    }

    .round-controls .btn {
        flex: 1;
    }

    .field-assignments {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 520px) {

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-actions,
    .submission-stats {
        grid-template-columns:
            1fr !important;
    }

    .md-editor-toolbar {
        flex-wrap: nowrap;

        overflow-x: auto;

        scrollbar-width: thin;
    }

    .md-editor-tabs {
        margin-left: 6px;

        flex: 0 0 auto;
    }

}


@media (max-width: 460px) {

    .kpis {
        grid-template-columns:
            1fr;
    }

    .actions > .btn {
        flex:
            1 1 100%;
    }

    .hero .actions > .btn {
        flex:
            1 1 auto;
    }

    .practice-row .btn {
        width: 100%;
    }

    .group-strip {
        grid-template-columns:
            1fr;
    }

    .field-assignment {
        align-items: flex-start;
        flex-direction: column;
    }

    .station-badge {
        align-self: flex-start;
    }

}


/* =========================================================
   PRINT
========================================================= */

@media print {

    .site-header,
    .footer,
    .actions,
    .builder-side {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .container {
        width: 100%;

        margin: 0;
    }

    .hero {
        border:
            1px solid #ccc;

        background: #fff;

        color: #000;

        box-shadow: none;
    }

    .hero p {
        color: #333;
    }

    .drill-card {
        break-inside: avoid;

        box-shadow: none;
    }

    .card {
        box-shadow: none;
    }

    .station-card details {
        display: block;
    }

    .station-card details > summary {
        display: none;
    }

    .rotation-table {
        overflow: visible;
    }

    .rotation-row {
        min-width: 0;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion:
    reduce
) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

}
.drill-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

@media (max-width: 650px) {

    .drill-card-actions {
        flex-direction: column;
    }

    .drill-card-actions .btn {
        width: 100%;
    }

    .drill-modal-footer {
        flex-wrap: wrap;
    }

    .drill-modal-footer .btn {
        flex: 1 1 auto;
    }

}

@media (max-width: 460px) {

    .drill-modal-footer {
        flex-direction: column;
    }

    .drill-modal-footer .btn {
        width: 100%;
    }

}
.nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 6px;

    margin-left: 5px;

    border-radius: 999px;

    background: var(--red);

    color: #fff;

    font-size: 10px;
    font-weight: 900;

    line-height: 1;
}

.main-nav a.active .nav-count {
    background: var(--navy);
}

@media (max-width: 760px) {

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-count {
        margin-left: auto;
    }

}
/* =========================================================
   SITE FOOTER
========================================================= */

.site-footer {
    margin-top: 80px;

    background:
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy)
        );

    color: #fff;
}

.footer-shell {
    width:
        min(
            var(--max),
            calc(100% - 32px)
        );

    margin: auto;

    padding:
        56px 0
        24px;
}


/* =========================================================
   MAIN FOOTER GRID
========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.15fr)
        minmax(0, 2fr);

    gap: 64px;

    padding-bottom: 42px;
}


/* =========================================================
   BRAND AREA
========================================================= */

.footer-brand-column {
    max-width: 380px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 26px;

    color: #fff;

    text-decoration: none;
}

.footer-brand .brand-copy strong {
    color: #fff;
}

.footer-brand .brand-copy small {
    color:
        rgba(
            255,
            255,
            255,
            0.6
        );
}

.footer-brand-column h2 {
    margin:
        0
        0
        14px;

    color: #fff;

    font-size:
        clamp(
            26px,
            3vw,
            38px
        );

    letter-spacing:
        -0.045em;

    line-height: 1.05;
}

.footer-brand-column p {
    max-width: 340px;

    margin:
        0
        0
        22px;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 14px;

    line-height: 1.7;
}

.footer-brand-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.site-footer
.footer-brand-actions
.btn.secondary {
    border-color:
        rgba(
            255,
            255,
            255,
            0.18
        );

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    color: #fff;
}

.site-footer
.footer-brand-actions
.btn.secondary:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.14
        );
}


/* =========================================================
   LINK COLUMNS
========================================================= */

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column h3 {
    margin:
        0
        0
        7px;

    color: #fff;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing:
        0.09em;
}

.footer-column a {
    color:
        rgba(
            255,
            255,
            255,
            0.67
        );

    text-decoration: none;

    font-size: 13px;

    line-height: 1.4;

    transition:
        color .18s ease,
        transform .18s ease;
}

.footer-column a:hover {
    color: #fff;

    transform:
        translateX(2px);
}


/* =========================================================
   TAGLINE
========================================================= */

.footer-tagline {
    padding:
        22px 0;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    color:
        rgba(
            255,
            255,
            255,
            0.66
        );

    font-size: 13px;
}

.footer-tagline span {
    margin-right: 5px;

    color: var(--gold);

    font-weight: 800;
}


/* =========================================================
   QUOTE
========================================================= */

.footer-quote {
    margin: 0;

    padding:
        32px 0;

    border: 0;

    background: transparent;

    text-align: center;
}

.footer-quote p {
    max-width: 680px;

    margin:
        0 auto 8px;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    font-size:
        clamp(
            17px,
            2vw,
            22px
        );

    font-style: italic;

    line-height: 1.5;
}

.footer-quote cite {
    color: var(--gold);

    font-size: 12px;

    font-style: normal;

    font-weight: 800;
}


/* =========================================================
   BOTTOM ROW
========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    color:
        rgba(
            255,
            255,
            255,
            0.48
        );

    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    align-items: center;

    gap: 8px;
}

.footer-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.3
        );
}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns:
            1fr;

        gap: 42px;
    }

    .footer-brand-column {
        max-width: 520px;
    }

    .footer-links {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (max-width: 560px) {

    .site-footer {
        margin-top: 54px;
    }

    .footer-shell {
        width:
            min(
                100% - 28px,
                var(--max)
            );

        padding-top: 42px;
    }

    .footer-links {
        grid-template-columns:
            1fr 1fr;

        gap:
            30px
            20px;
    }

    .footer-brand-actions {
        flex-direction: column;
    }

    .footer-brand-actions .btn {
        width: 100%;
    }

    .footer-bottom {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

}


@media (max-width: 390px) {

    .footer-links {
        grid-template-columns:
            1fr;
    }

}
/* =========================================================
   COOKIE NOTICE
========================================================= */

.cookie-banner {
    position: fixed;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 9999;

    pointer-events: none;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    width: min(760px, 100%);

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding: 18px 20px;

    border:
        1px solid rgba(
            255,
            255,
            255,
            0.12
        );

    border-radius: 18px;

    background:
        rgba(
            20,
            33,
            61,
            0.97
        );

    color: #fff;

    box-shadow:
        0 24px 70px
        rgba(
            15,
            23,
            42,
            0.28
        );

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    pointer-events: auto;
}


/* COPY */

.cookie-banner-copy {
    min-width: 0;
}

.cookie-banner-copy strong {
    display: block;

    margin-bottom: 4px;

    color: #fff;

    font-size: 14px;
    font-weight: 850;
}

.cookie-banner-copy p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    font-size: 13px;

    line-height: 1.55;
}

.cookie-banner-copy a {
    color: #fff;

    font-weight: 750;

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* ACCEPT BUTTON */

.cookie-banner
.cookie-accept {
    flex: 0 0 auto;

    min-width: 100px;

    background: var(--red);

    border-color: var(--red);

    color: #fff;
}

.cookie-banner
.cookie-accept:hover {
    background: var(--red-dark);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-banner-inner {
        align-items: stretch;

        flex-direction: column;

        gap: 14px;

        padding: 17px;

        border-radius: 16px;
    }

    .cookie-banner
    .cookie-accept {
        width: 100%;
    }

}
/* =========================================================
   HEADER LOGO
========================================================= */

.brand-logo {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    padding: 0;

    text-decoration: none;
}

.header-logo {
    display: block;

    width: auto;
    height: 85px;

    max-width: 290px;
}

@media (max-width: 900px) {

    .header-logo {
        height: 44px;
        max-width: 220px;
    }

}

@media (max-width: 600px) {

    .header-logo {
        height: 38px;
        max-width: 190px;
    }

}
/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-brand-logo {
    display: inline-flex;
    align-items: center;

    text-decoration: none;
}

.footer-logo {
    display: block;
    width: auto;
    height: 85px;

    max-width: 320px;
}

@media (max-width: 700px) {

    .footer-logo {
        height: 56px;
        max-width: 260px;
    }

}
/* =========================================================
   MOBILE APP LOADING SCREEN
========================================================= */

.app-loading-screen {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    background: #14213d;

    opacity: 1;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.app-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.app-loading-logo {
    width: 96px;
    height: 96px;

    object-fit: contain;
}

.app-loading-text {
    color: #fff;

    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.app-loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Only show for standalone/mobile app use */

@media (max-width: 900px) {

    .app-loading-screen {
        display: flex;
    }

}
/* =========================================================
   APP LOADING SCREEN
========================================================= */

.app-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    background: var(--navy, #14213d);

    opacity: 1;
    visibility: visible;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


/* Only display when launched as an installed web app */

html.is-standalone .app-loading-screen {
    display: flex;
}


.app-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 18px;

    text-align: center;
}


.app-loading-logo {
    display: block;

    width: 120px;
    height: 120px;

    object-fit: contain;
}


.app-loading-text {
    color: #fff;

    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
}


.app-loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* =========================================================
   PRACTICEBUDDY BASEBALL LOADER
========================================================= */

.pb-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #14213d;
}


.pb-loader-scene {
    position: relative;

    width: min(520px, 90vw);
    height: 320px;
}


/* =========================================================
   BASEBALL
========================================================= */

.pb-loader-ball-wrap {
    position: absolute;

    top: 86px;
    left: 0;

    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
}


.pb-loader-ball {
    position: relative;

    width: 78px;
    height: 78px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 16px 34px
        rgba(0, 0, 0, .22);

    overflow: hidden;
}


.pb-loader-seam {
    position: absolute;

    top: 5px;
    bottom: 5px;

    width: 30px;

    border-radius: 50%;
}


.pb-loader-seam-left {
    left: 12px;

    border-left:
        3px dashed
        #c62828;

    transform:
        rotate(11deg);
}


.pb-loader-seam-right {
    right: 12px;

    border-right:
        3px dashed
        #c62828;

    transform:
        rotate(-11deg);
}


/* =========================================================
   SPEED TRAILS
========================================================= */

.pb-loader-trail {
    position: absolute;

    right: 74px;

    height: 4px;

    border-radius: 999px;

    background:
        rgba(198, 40, 40, .9);

    opacity: 0;

    transform-origin:
        right center;
}


.pb-loader-trail-1 {
    top: 35px;
    width: 52px;
}


.pb-loader-trail-2 {
    top: 52px;
    width: 74px;
}


.pb-loader-trail-3 {
    top: 69px;
    width: 42px;
}


/* =========================================================
   HOME PLATE
========================================================= */

.pb-loader-plate {
    position: absolute;

    left: 50%;
    top: 120px;

    width: 118px;
    height: 92px;

    transform:
        translateX(-50%);

    opacity: 0;
}


.pb-loader-plate::before {
    content: '';

    position: absolute;
    inset: 0;

    background: #ffffff;

    clip-path:
        polygon(
            12% 0,
            88% 0,
            100% 46%,
            50% 100%,
            0 46%
        );

    border-radius: 7px;
}


.pb-loader-plate-inner {
    position: absolute;
    inset: 7px;

    z-index: 1;

    background: #14213d;

    clip-path:
        polygon(
            12% 0,
            88% 0,
            100% 46%,
            50% 100%,
            0 46%
        );
}


/* =========================================================
   BRAND
========================================================= */

.pb-loader-brand {
    position: absolute;

    left: 50%;
    bottom: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform:
        translateX(-50%);

    text-align: center;

    opacity: 0;
}


.pb-loader-brand strong {
    color: #ffffff;

    font-size: 30px;
    font-weight: 800;

    letter-spacing: -.035em;
}


.pb-loader-brand span {
    margin-top: 4px;

    color:
        rgba(255, 255, 255, .68);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .pb-loader-scene {
        width: 92vw;
        height: 280px;
    }


    .pb-loader-ball {
        width: 68px;
        height: 68px;
    }


    .pb-loader-plate {
        width: 104px;
        height: 82px;
    }


    .pb-loader-brand strong {
        font-size: 26px;
    }

}
