﻿body.student-ui {
    --ink: #132c25;
    --muted: #445b53;
    --canvas: #f2f8f5;
    --card: #fff;
    --tile: #f4f9f7;
    --edge: #ceded6;
    --mint: #cef6e5;
    --mint-ink: #07543c;
    --font: Prompt, Tahoma, "Segoe UI", sans-serif;
    --space: 8px;
    --radius: 16px;
    --radius-inner: 12px;
    --primary: #047857;
    --primary-hover: #065f46;
    color: var(--ink);
    background: var(--canvas);
    font: 16px/1.65 var(--font);
}
.student-ui .registration-nav,
.student-ui .content-card { background: var(--card); }
.student-ui .registration-brand,
.student-ui .content-card h2 { color: var(--ink); }
.student-ui .content-card {
    padding: clamp(16px, 4vw, 32px);
    margin-bottom: calc(3 * var(--space));
    border: 1px solid var(--edge);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgb(8 51 35 / 7%);
}
.student-ui .team-hero {
    color: #fff;
    padding: clamp(24px, 6vw, 64px);
    margin-bottom: calc(3 * var(--space));
    border-radius: var(--radius);
    background:
        repeating-linear-gradient(90deg, transparent 0 31px, rgb(206 246 229 / 7%) 31px 32px),
        repeating-linear-gradient(0deg, transparent 0 31px, rgb(206 246 229 / 7%) 31px 32px),
        linear-gradient(125deg, #073428, #096048);
}
.student-ui .team-hero h1 {
    margin: 8px 0 16px;
    color: #fff;
    font-size: clamp(2rem, 6vw, 4rem);
    overflow-wrap: anywhere;
}
.team-event-name, .team-hero-meta { color: #e0f8ed; }
.student-ui .team-badge, .student-ui .team-track {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-inner);
    background: var(--mint);
    color: var(--mint-ink);
    font-weight: 600;
}
.student-ui .button { background: var(--primary); }
.student-ui .button:hover { background: var(--primary-hover); }
.student-ui :focus-visible { outline: 2px solid var(--focus, #07543c); outline-offset: 4px; }
@media screen and (prefers-color-scheme: dark) {
    body.student-ui {
        color-scheme: dark;
        --focus: #b9eed8;
        --ink: #edf8f3;
        --muted: #bbd0c7;
        --canvas: #101d19;
        --card: #172a24;
        --tile: #1d342c;
        --edge: #425e54;
        --mint: #b9eed8;
        --mint-ink: #084a35;
    }
}
