/* schedule.css — US/Canada school schedule page */

:root {
    --navy: #0c1e3a;
    --navy-mid: #152d52;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --blue-soft: #eff6ff;
    --blue-glow: rgba(37, 99, 235, 0.15);
    --red-us: #b91c1c;
    --green: #059669;
    --green-soft: #ecfdf5;
    --amber: #d97706;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #94a3b8;
    --bg: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --border-soft: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --radius: 14px;
    --radius-sm: 10px;
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', var(--font);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-top__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.brand__flags {
    font-size: 1.35rem;
    line-height: 1;
}

.brand__text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.brand__text span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.top-badge {
    display: none;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.top-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.5s ease infinite;
}

@media (min-width: 640px) {
    .top-badge { display: inline-flex; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ── Hero ── */
.hero {
    background:
        radial-gradient(ellipse 80% 60% at 90% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(185, 28, 28, 0.08), transparent 50%),
        linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 45%, #0a1628 100%);
    color: #fff;
    padding: 2rem 1.25rem 2.5rem;
    overflow: hidden;
}

.hero__grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
    }
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero__lead {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-bottom: 1.25rem;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
}

.hero__stat span {
    font-size: 0.75rem;
    opacity: 0.75;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
}

.hero__chip svg {
    width: 14px;
    height: 14px;
    opacity: 0.9;
}

/* Preview card in hero */
.preview-card {
    background: var(--card);
    color: var(--text);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    animation: riseIn 0.75s ease forwards 0.2s;
}

@keyframes riseIn {
    to { transform: translateY(0); opacity: 1; }
}

.preview-card__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--blue-soft);
    border-bottom: 1px solid var(--border);
}

.preview-card__bar strong {
    font-size: 0.82rem;
    color: var(--navy);
    font-weight: 700;
}

.preview-card__bar small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.preview-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
}

.preview-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 1.4s ease infinite;
}

.preview-card__foot {
    padding: 0.7rem 1rem;
    font-size: 0.74rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: #fafbfc;
}

/* Schedule grid */
.sked-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.sked-grid {
    display: grid;
    grid-template-columns: 42px repeat(5, minmax(72px, 1fr));
    gap: 3px;
    padding: 0.65rem;
    min-width: 0;
    background: #fafbfc;
}

.sked-grid__corner,
.sked-grid__day,
.sked-grid__time {
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted);
}

.sked-grid__time {
    text-align: right;
    padding-right: 0.2rem;
    align-self: center;
}

.sked-grid__cell {
    border-radius: 6px;
    min-height: 46px;
}

.sked-grid__cell--empty {
    border: 1px dashed var(--border);
    background: transparent;
}

.sked-grid__cell--lunch {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sked-grid__cell--free {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 0.56rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    padding: 0.25rem;
}

.sked-cell {
    padding: 0.35rem 0.25rem;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    animation: cellPop 0.4s ease forwards;
}

.sked-cell strong {
    display: block;
    font-size: 0.6rem;
}

.sked-cell span {
    display: block;
    font-weight: 500;
    font-size: 0.52rem;
    opacity: 0.85;
    margin-top: 0.05rem;
}

@keyframes cellPop {
    to { opacity: 1; transform: scale(1); }
}

.sked-cell--math { background: #dbeafe; color: #1e40af; }
.sked-cell--english { background: #ffedd5; color: #9a3412; }
.sked-cell--history { background: #dcfce7; color: #166534; }
.sked-cell--science { background: #cffafe; color: #0e7490; }
.sked-cell--lang { background: #fae8ff; color: #86198f; }
.sked-cell--pe { background: #fef9c3; color: #854d0e; }
.sked-cell--art { background: #ede9fe; color: #5b21b6; }
.sked-cell--tech { background: #e2e8f0; color: #334155; }

.sked-cell--locked {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    overflow: hidden;
}

.sked-cell__mask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.25rem;
    filter: blur(7px);
    -webkit-filter: blur(7px);
    opacity: 0.55;
    user-select: none;
    pointer-events: none;
}

.sked-cell__lock {
    position: relative;
    z-index: 1;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.85;
}

.sked-lock-note {
    margin-top: 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.is-blurred {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    user-select: none;
}

.is-highlight {
    background: var(--blue) !important;
    color: #fff !important;
    font-weight: 700;
}

/* ── Main layout ── */
.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* ── Form card ── */
.form-shell {
    margin-top: -1.75rem;
    position: relative;
    z-index: 5;
}

.form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.form-card__hero {
    padding: 1.35rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.form-card__hero h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.form-card__hero p {
    font-size: 0.88rem;
    color: var(--text-soft);
}

.form-card__body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0.75rem;
}

.form-section__title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.form-row {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 560px) {
    .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
    margin-left: 0.15rem;
}

.field input,
.field select {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--border-soft);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    appearance: none;
}

.field select {
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--blue) 50%),
        linear-gradient(135deg, var(--blue) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.25rem;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--card);
    box-shadow: 0 0 0 4px var(--blue-glow);
}

.field input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.field-hint {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.field--relative {
    position: relative;
}

.country-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.country-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
}

.country-btn:hover {
    border-color: var(--blue);
    background: var(--blue-soft);
}

.country-btn.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.form-error {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #b91c1c;
    background: #fef2f2;
    border-radius: var(--radius-sm);
    border: 1px solid #fecaca;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: transform 0.12s, box-shadow 0.12s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
}

.btn-submit:active {
    transform: scale(0.99);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.btn-submit:hover svg {
    transform: rotate(12deg);
}

/* Autocomplete */
.ac-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    max-height: 260px;
    overflow-y: auto;
}

.ac-list div {
    padding: 0.7rem 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.88rem;
    line-height: 1.35;
}

.ac-list div:last-child { border-bottom: 0; }

.ac-list div:hover,
.ac-list .ac-active {
    background: var(--blue-soft);
}

.ac-meta {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.1rem;
}

/* ── Trust section ── */
.trust-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1rem;
    box-shadow: var(--shadow-sm);
}

.trust-tile__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-bottom: 0.65rem;
}

.trust-tile__icon svg {
    width: 20px;
    height: 20px;
}

.trust-tile strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.trust-tile p {
    font-size: 0.8rem;
    color: var(--text-soft);
}

/* ── SEO content ── */
.seo-block {
    margin-top: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.seo-block h2 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--navy);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.seo-block > p {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 0.85rem;
}

.seo-grid {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

@media (min-width: 640px) {
    .seo-grid { grid-template-columns: repeat(3, 1fr); }
}

.seo-tile {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 0.95rem;
    border-top: 3px solid var(--blue);
}

.seo-tile h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.seo-tile p {
    font-size: 0.8rem;
    color: var(--text-soft);
    line-height: 1.45;
}

.seo-keywords {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
    margin-top: 0.5rem !important;
}

.seo-keywords em {
    font-style: normal;
    font-weight: 600;
    color: var(--text-soft);
}

/* ── FAQ ── */
.faq-block {
    margin-top: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.faq-block h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.faq-item {
    border-top: 1px solid var(--border-soft);
    padding: 0.85rem 0;
}

.faq-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    list-style: none;
    padding-right: 1.5rem;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: var(--blue);
    font-weight: 700;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* ── Footer ── */
.site-foot {
    text-align: center;
    padding: 1.5rem 1.25rem 2.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--card);
}

.site-foot a {
    color: var(--text-soft);
    font-weight: 600;
}

/* ── Modal ── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(12, 30, 58, 0.6);
    backdrop-filter: blur(4px);
}

.modal__box {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 1.5rem auto 2rem;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s ease;
    overflow: hidden;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal__close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--border-soft);
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-soft);
    cursor: pointer;
}

.modal__close:hover {
    background: var(--border);
    color: var(--text);
}

.modal-phase {
    padding: 1.75rem 1.5rem 1.5rem;
}

.modal-head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.modal-head__sub {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.modal-head h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    margin-top: 0.15rem;
}

.loader {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border: 4px solid var(--border);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.progress {
    height: 6px;
    background: var(--border-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue), #60a5fa);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.search-steps {
    list-style: none;
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.search-step {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--text-soft);
    padding: 0.35rem 0;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    margin-top: 0.35rem;
    flex-shrink: 0;
}

.search-step--active .step-dot {
    background: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.search-step--done .step-dot {
    background: var(--green);
}

.search-step--done .step-text {
    opacity: 0.65;
}

.search-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.found-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-soft);
    color: var(--green);
    border-radius: 50%;
}

.found-icon svg {
    width: 32px;
    height: 32px;
}

.found-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.found-desc {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-bottom: 1.1rem;
}

.found-summary {
    background: var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0;
    margin-bottom: 1rem;
}

.found-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    border-bottom: 1px solid var(--border);
}

.found-row:last-child { border-bottom: 0; }

.found-label {
    color: var(--text-muted);
    font-weight: 600;
}

.found-value {
    font-weight: 700;
    text-align: right;
}

.found-status {
    color: var(--green);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    background: var(--blue);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover { background: var(--blue-hover); }

.result-block {
    margin-bottom: 1.25rem;
}

.result-block h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--navy);
}

.result-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.result-head strong {
    font-family: var(--font-display);
    font-size: 0.95rem;
}

.result-head span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.access-box {
    background: linear-gradient(135deg, var(--blue-soft) 0%, #e0e7ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.access-box p {
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--navy);
}

.btn-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-sm);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.12s;
}

.btn-offer:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.roster-table {
    width: 100%;
    border-collapse: collapse;
}

.roster-table th,
.roster-table td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
    text-align: left;
}

.roster-table th {
    background: var(--border-soft);
    font-weight: 700;
}

.roster-table td:first-child {
    text-transform: uppercase;
}

.roster-table * {
    user-select: none;
    -webkit-user-select: none;
}

/* Mobile sticky CTA */
@media (max-width: 639px) {
    .form-shell {
        margin-top: -1.25rem;
    }

    .form-card__body,
    .form-card__hero {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .hero {
        padding-bottom: 2rem;
    }

    .sked-grid {
        grid-template-columns: 38px repeat(5, minmax(64px, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
