/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Login now uses the shared m-auth card from ds-components.css; no page-scoped styles needed. */
/* /Components/Account/Pages/Register.razor.rz.scp.css */
/* Register now uses the shared m-auth card from ds-components.css; no page-scoped styles needed. */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7getmaytze] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

main[b-7getmaytze] {
    flex: 1;
}

#blazor-error-ui[b-7getmaytze] {
    background: var(--warning-soft);
    color: var(--text);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7getmaytze] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* The reconnect modal's text/background/spinner come entirely from our tokens instead of
   Blazor's unstyled default, so it follows the dark/light toggle like the rest of the app.
   Blazor itself toggles these classes on #components-reconnect-modal and wires up the click on
   #components-reconnect-button; we only style it. */
#components-reconnect-modal[b-7getmaytze] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

    #components-reconnect-modal.components-reconnect-show[b-7getmaytze],
    #components-reconnect-modal.components-reconnect-retrying[b-7getmaytze],
    #components-reconnect-modal.components-reconnect-failed[b-7getmaytze],
    #components-reconnect-modal.components-reconnect-rejected[b-7getmaytze] {
        display: flex;
    }

    /* Blazor's own reconnection handler (blazor.web.js) adds -retrying from the second attempt
       onward (not the first) without ever removing -show, so -show alone already covers the
       whole retry loop; -retrying is listed above for completeness/clarity, not because it's
       load-bearing for visibility. What *is* load-bearing: #components-reconnect-current-attempt
       and #components-seconds-to-next-attempt are live-updated by that same handler throughout
       every retry, so the "attempt N / M, next try in Ss" text actually counts up and counts down
       in real time — without it, nothing visibly changes between the initial "show" and the
       eventual "failed" state, which reads as if it never retried at all even though it did. */
    #components-reconnect-modal .m-reconnect__box[b-7getmaytze] {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-xl);
        padding: var(--space-6);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        text-align: center;
        max-width: 320px;
    }

    #components-reconnect-button[b-7getmaytze] {
        display: none;
    }

    #components-reconnect-modal.components-reconnect-failed #components-reconnect-button[b-7getmaytze],
    #components-reconnect-modal.components-reconnect-rejected #components-reconnect-button[b-7getmaytze] {
        display: inline-flex;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Layout polish on top of the design system's own .m-nav / .m-brand / .m-nav__link rules
   (see wwwroot/css/ds-components.css). NavLink's "active" class isn't styled there yet. */

[b-opmdk2y19w] .m-nav__link.active {
    color: var(--accent);
    font-weight: 600;
}

/* A team's name is user-chosen and unbounded in length; without a cap it could stretch or wrap
   the whole navbar. The full name is still available via the title attribute/tooltip. Keeps the
   base rule's inline-flex (not inline-block) so the pill stays vertically centred at its fixed
   min-height; max-width plus min-width:0 is what actually lets the text shrink and truncate
   inside a flex container (flex items don't shrink below their content size by default). */
[b-opmdk2y19w] .m-nav__link--team {
    max-width: 220px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-form[b-opmdk2y19w] {
    margin: 0;
}
/* /Components/Pages/Admin/AdminSubmissions.razor.rz.scp.css */
/* Admin submissions page now uses the design system's .m-panel / .m-log / .m-set classes
   (see wwwroot/css/ds-components.css). No page-specific overrides needed. */
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-olpyecui2z] {
    padding-block: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
/* /Components/Pages/Instructions.razor.rz.scp.css */
.instructions-page[b-7zr3lyz9ow] {
    padding-block: var(--space-8);
}

.instructions-section[b-7zr3lyz9ow] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.instructions-list[b-7zr3lyz9ow] {
    margin: 0;
    padding-left: 1.2rem;
    /* Tailwind's preflight sets list-style: none on every ul/ol, so put the markers back. */
    list-style: disc;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.instructions-list li[b-7zr3lyz9ow] {
    display: list-item;
}

.instructions-actions[b-7zr3lyz9ow] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}
/* /Components/Pages/ScoreBoard.razor.rz.scp.css */
/* Scoreboard page now uses the design system's .m-board / .m-panel classes
   (see wwwroot/css/ds-components.css). No page-specific overrides needed. */
/* /Components/Pages/Submissions.razor.rz.scp.css */
/* Submissions page uses the design system's .m-table / .m-set / .m-log classes
   (see wwwroot/css/ds-components.css). Below: the expandable events of a set. */

.events-toggle[b-7wsrixamll] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0 8px; padding: 4px 10px 4px 6px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.events-toggle:hover[b-7wsrixamll] { background: var(--raised); color: var(--text); }
.events-toggle:focus-visible[b-7wsrixamll] { outline: none; box-shadow: var(--focus-ring); }
.events-toggle__chevron[b-7wsrixamll] { width: 14px; height: 14px; flex: none; transition: transform .15s; }
.events-toggle[aria-expanded="true"] .events-toggle__chevron[b-7wsrixamll] { transform: rotate(90deg); }

.events-row td[b-7wsrixamll] { border-top: 0; padding-top: 0; }
.events[b-7wsrixamll] { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--raised); }
.events__group[b-7wsrixamll] { min-width: 0; }
.events__title[b-7wsrixamll] { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2); font-size: 13px; font-weight: 500; }
.events__count[b-7wsrixamll] { font-family: var(--font-mono); color: var(--subtle); }
.events__list[b-7wsrixamll] { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.events__list li[b-7wsrixamll] { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.events__list li[b-7wsrixamll]::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
/* /Components/Pages/Teams.razor.rz.scp.css */
/* Teams page now uses the design system's .m-panel / .m-roster / .m-avatar classes
   (see wwwroot/css/ds-components.css). No page-specific overrides needed. */
