/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6e2uw0ol0z],
.components-reconnect-repeated-attempt-visible[b-6e2uw0ol0z],
.components-reconnect-failed-visible[b-6e2uw0ol0z],
.components-pause-visible[b-6e2uw0ol0z],
.components-resume-failed-visible[b-6e2uw0ol0z],
.components-rejoining-animation[b-6e2uw0ol0z] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-retrying[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-failed[b-6e2uw0ol0z],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6e2uw0ol0z] {
    display: block;
}


#components-reconnect-modal[b-6e2uw0ol0z] {
    width: min(20rem, calc(100vw - 2rem));
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--surface-radius);
    background: var(--surface);
    box-shadow: var(--surface-shadow);
    color: var(--ink);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-6e2uw0ol0z 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-6e2uw0ol0z 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-6e2uw0ol0z 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-6e2uw0ol0z]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-6e2uw0ol0z 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-6e2uw0ol0z {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-6e2uw0ol0z {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-6e2uw0ol0z {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-6e2uw0ol0z] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-6e2uw0ol0z] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-6e2uw0ol0z] {
    min-height: 2.75rem;
    padding: 4px 24px;
    border: 1px solid var(--action-background);
    border-radius: var(--control-radius);
    background: var(--action-background);
    color: var(--action-foreground);
    font: inherit;
    font-weight: 680;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-6e2uw0ol0z] {
        border-color: var(--action-hover-background);
        background: var(--action-hover-background);
        color: var(--action-hover-foreground);
    }

    #components-reconnect-modal button:active[b-6e2uw0ol0z] {
        background: var(--action-background);
        color: var(--action-foreground);
    }

.components-rejoining-animation[b-6e2uw0ol0z] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-6e2uw0ol0z] {
        position: absolute;
        border: 3px solid var(--accent);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-6e2uw0ol0z 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-6e2uw0ol0z] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-6e2uw0ol0z {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-6e2uw0ol0z] {
        transition: none;
        animation: none;
    }

    .components-rejoining-animation div[b-6e2uw0ol0z] {
        animation: none;
    }
}
/* /Components/Pages/Profile.razor.rz.scp.css */
/* SPEC-019: profile presentation on the shared design tokens (SPEC-018).
   Forms, actions and error/success behavior are unchanged; global app.css
   owns the card shell, buttons and focus styles. */

.profile-grid[b-0z65te8l0b] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: 1.5rem;
    align-items: start;
    max-width: 66rem;
}

.profile-card[b-0z65te8l0b] {
    /* The global .status-card shell is a horizontal flex row (overview cards);
       the profile cards stack a header band above their body instead. */
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow: hidden;
}

.profile-card-header[b-0z65te8l0b] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.1rem, 2.4vw, 1.5rem);
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
}

.profile-card-header--identity[b-0z65te8l0b] {
    border-bottom-color: color-mix(in srgb, var(--brand-highlight) 35%, var(--brand-deep));
    background: var(--brand-deep);
    color: var(--brand-on-deep);
}

.profile-card-header--identity .profile-card-heading h2[b-0z65te8l0b] {
    color: var(--brand-on-deep);
}

.profile-avatar[b-0z65te8l0b] {
    display: inline-grid;
    width: 3rem;
    flex-shrink: 0;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 999px;
    background: var(--brand-highlight);
    color: var(--brand-deep);
    font-size: 1.05rem;
    font-weight: 760;
    letter-spacing: 0.02em;
}

.profile-card-heading[b-0z65te8l0b] {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.profile-card-heading h2[b-0z65te8l0b] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 720;
    letter-spacing: -0.025em;
}

.profile-username[b-0z65te8l0b] {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.profile-card-header--identity .profile-username[b-0z65te8l0b] {
    color: color-mix(in srgb, var(--brand-on-deep) 78%, transparent);
}

.profile-card-body[b-0z65te8l0b] {
    display: grid;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.profile-form[b-0z65te8l0b] {
    display: grid;
    gap: 1.25rem;
    max-width: 34rem;
}

.profile-field[b-0z65te8l0b] {
    display: grid;
    gap: 0.35rem;
}

.profile-field label[b-0z65te8l0b] {
    font-weight: 650;
}

.profile-control[b-0z65te8l0b] {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--control-radius);
    background: var(--field-surface);
    color: var(--ink);
    font: inherit;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.profile-control:hover[b-0z65te8l0b] {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.profile-message[b-0z65te8l0b] {
    margin: 0;
    font-weight: 650;
}

.profile-message--error[b-0z65te8l0b] {
    color: var(--danger);
}

.profile-message--success[b-0z65te8l0b] {
    color: var(--success);
}

@media (prefers-reduced-motion: reduce) {
    .profile-control[b-0z65te8l0b] {
        transition: none;
    }
}

/* Routes.razor FocusOnNavigate focuses the page h1 after each navigation
   (accessibility announcement); the UA default ring reads as a stray box
   around the heading. The landing suppresses it the same way (SPEC-017). */
.profile-page .overview-heading h1:focus[b-0z65te8l0b],
.profile-page .overview-heading h1:focus-visible[b-0z65te8l0b] {
    outline: none;
}

@media (forced-colors: active) {
    .profile-avatar[b-0z65te8l0b] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Pages/PublicHome.razor.rz.scp.css */
.landing-page[b-e8sptbm1b3] {
    --landing-deep: var(--brand-deep);
    --landing-highlight: var(--brand-highlight);
    --landing-action-background: var(--action-background);
    --landing-action-foreground: var(--action-foreground);
    --landing-action-hover-background: var(--action-hover-background);
    --landing-action-hover-foreground: var(--action-hover-foreground);
    --landing-line: var(--border);
    --landing-wash: var(--surface-soft);
    min-height: 100vh;
    min-height: 100svh;
    background: var(--canvas);
    color: var(--ink);
}

.landing-skip-link[b-e8sptbm1b3] {
    position: absolute;
    z-index: 2;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    transform: translateY(-160%);
    background: var(--ink);
    color: var(--surface);
}

.landing-skip-link:focus[b-e8sptbm1b3] {
    transform: translateY(0);
}

.landing-header[b-e8sptbm1b3] {
    border-bottom: 1px solid var(--landing-line);
    background: var(--surface);
}

.landing-header-inner[b-e8sptbm1b3],
.landing-main[b-e8sptbm1b3],
.landing-footer[b-e8sptbm1b3] {
    width: min(100% - 3rem, 76rem);
    margin-inline: auto;
}

.landing-header-inner[b-e8sptbm1b3] {
    display: flex;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.landing-navigation[b-e8sptbm1b3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 2vw, 1.8rem);
}

.landing-navigation a[b-e8sptbm1b3] {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 620;
    text-decoration: none;
}

.landing-navigation a:hover[b-e8sptbm1b3],
.landing-footer a:hover[b-e8sptbm1b3] {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.landing-navigation .landing-login-link[b-e8sptbm1b3] {
    min-height: 2.75rem;
    padding-inline: 1.1rem;
    border: 1px solid var(--landing-line);
    border-radius: 0.35rem;
}

.landing-main[b-e8sptbm1b3] {
    padding-block: clamp(3.5rem, 8vw, 7rem) 4rem;
}

.landing-hero[b-e8sptbm1b3] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.9fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.landing-hero-copy[b-e8sptbm1b3] {
    max-width: 42rem;
}

.landing-eyebrow[b-e8sptbm1b3],
.case-preview-kicker[b-e8sptbm1b3] {
    margin: 0 0 0.9rem;
    color: var(--accent);
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.landing-hero h1[b-e8sptbm1b3] {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 760;
    letter-spacing: -0.065em;
    line-height: 0.99;
}

/* Blazor focuses the page heading after navigation; it is not an interactive control. */
.landing-hero h1:focus[b-e8sptbm1b3],
.landing-hero h1:focus-visible[b-e8sptbm1b3] {
    outline: none;
}

.landing-lead[b-e8sptbm1b3] {
    max-width: 39rem;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.7vw, 1.25rem);
    line-height: 1.65;
}

.landing-actions[b-e8sptbm1b3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.25rem;
    margin-top: 2rem;
}

.landing-primary-action[b-e8sptbm1b3],
.landing-secondary-action[b-e8sptbm1b3] {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.landing-primary-action[b-e8sptbm1b3] {
    padding: 0.65rem 1.15rem;
    border: 1px solid var(--landing-action-background);
    border-radius: 0.3rem;
    background: var(--landing-action-background);
    color: var(--landing-action-foreground);
    text-decoration: none;
}

.landing-primary-action:hover[b-e8sptbm1b3] {
    background: var(--landing-action-hover-background);
    border-color: var(--landing-action-hover-background);
    color: var(--landing-action-hover-foreground);
}

.landing-secondary-action[b-e8sptbm1b3] {
    color: var(--ink);
    text-underline-offset: 0.25em;
}

.landing-data-note[b-e8sptbm1b3] {
    max-width: 38rem;
    margin: 1.75rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.case-preview[b-e8sptbm1b3] {
    position: relative;
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, #ffffff 18%, transparent);
    border-radius: 0.6rem 0.6rem 0.6rem 0.12rem;
    background: var(--landing-deep);
    box-shadow: 0.8rem 0.8rem 0 color-mix(in srgb, var(--accent) 18%, var(--canvas));
    color: #f4f7f4;
}

.case-preview[b-e8sptbm1b3]::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.45rem;
    height: 5.5rem;
    background: var(--landing-highlight);
    content: "";
}

.case-preview-heading[b-e8sptbm1b3] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.case-preview-kicker[b-e8sptbm1b3] {
    margin-bottom: 0;
    color: #9fd5c8;
}

.case-preview-tag[b-e8sptbm1b3] {
    padding: 0.25rem 0.45rem;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 0.15rem;
    color: #e5edeb;
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.66rem;
    line-height: 1.3;
    text-align: right;
    text-transform: uppercase;
}

.case-preview h2[b-e8sptbm1b3] {
    max-width: 15ch;
    margin: 1.4rem 0 1.5rem;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.case-facts[b-e8sptbm1b3] {
    margin: 0;
    border-top: 1px solid rgb(255 255 255 / 22%);
}

.case-fact[b-e8sptbm1b3] {
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    padding-block: 0.9rem;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.case-fact dt[b-e8sptbm1b3] {
    color: #b7cbc5;
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-size: 0.72rem;
    line-height: 1.5;
    text-transform: uppercase;
}

.case-fact dd[b-e8sptbm1b3] {
    margin: 0;
    color: #ffffff;
    font-size: 0.93rem;
    font-weight: 620;
    line-height: 1.5;
}

.case-preview figcaption[b-e8sptbm1b3] {
    margin-top: 1.1rem;
    color: #d2e0dc;
    font-size: 0.83rem;
    line-height: 1.55;
}

.landing-section[b-e8sptbm1b3] {
    display: grid;
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5.5rem);
    padding-block: clamp(3.5rem, 7vw, 6rem);
    border-top: 1px solid var(--landing-line);
}

.landing-section-intro[b-e8sptbm1b3] {
    max-width: 33rem;
}

.landing-section h2[b-e8sptbm1b3],
.landing-callout h2[b-e8sptbm1b3] {
    margin: 0;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    font-weight: 720;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.landing-section-intro > p:last-child[b-e8sptbm1b3],
.landing-callout p:last-child[b-e8sptbm1b3] {
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.principle-list[b-e8sptbm1b3] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.principle-list li[b-e8sptbm1b3] {
    min-width: 0;
    padding: 1.1rem 0.9rem 0.5rem 0;
    border-top: 3px solid var(--accent);
}

.principle-rule[b-e8sptbm1b3] {
    display: block;
    width: 1.25rem;
    height: 0.25rem;
    margin-bottom: 1.2rem;
    background: var(--landing-highlight);
}

.principle-list h3[b-e8sptbm1b3],
.process-list h3[b-e8sptbm1b3] {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.principle-list p[b-e8sptbm1b3],
.process-list p[b-e8sptbm1b3] {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.landing-process[b-e8sptbm1b3] {
    background: var(--landing-wash);
    box-shadow: 0 0 0 100vmax var(--landing-wash);
    clip-path: inset(0 -100vmax);
}

.process-list[b-e8sptbm1b3] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding-left: 1.3rem;
}

.process-list li[b-e8sptbm1b3] {
    padding: 0 0.75rem 0 0.2rem;
}

.process-list li[b-e8sptbm1b3]::marker {
    color: var(--accent);
    font-family: ui-monospace, "Cascadia Code", monospace;
    font-weight: 750;
}

.landing-callout[b-e8sptbm1b3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border-left: 0.35rem solid var(--landing-highlight);
    background: var(--surface);
}

.landing-callout h2[b-e8sptbm1b3] {
    max-width: 20ch;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.landing-callout .landing-primary-action[b-e8sptbm1b3] {
    flex: 0 0 auto;
}

.landing-footer[b-e8sptbm1b3] {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid var(--landing-line);
    color: var(--muted);
    font-size: 0.86rem;
}

.landing-footer p[b-e8sptbm1b3] {
    margin: 0;
}

.landing-footer a[b-e8sptbm1b3] {
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
}

@media (max-width: 900px) {
    .landing-hero[b-e8sptbm1b3] {
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.9fr);
        gap: 2rem;
    }

    .landing-section[b-e8sptbm1b3] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 680px) {
    .landing-header-inner[b-e8sptbm1b3],
    .landing-main[b-e8sptbm1b3],
    .landing-footer[b-e8sptbm1b3] {
        width: min(100% - 2rem, 76rem);
    }

    .landing-header-inner[b-e8sptbm1b3] {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
        padding-block: 0.8rem;
    }

    .landing-navigation[b-e8sptbm1b3] {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.15rem 1rem;
    }

    .landing-navigation a[b-e8sptbm1b3] {
        font-size: 0.88rem;
    }

    .landing-navigation .landing-login-link[b-e8sptbm1b3] {
        min-height: 2.5rem;
        padding-inline: 0.7rem;
    }

    .landing-main[b-e8sptbm1b3] {
        padding-top: 3rem;
    }

    .landing-hero[b-e8sptbm1b3] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .landing-hero h1[b-e8sptbm1b3] {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .principle-list[b-e8sptbm1b3],
    .process-list[b-e8sptbm1b3] {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .principle-list li[b-e8sptbm1b3] {
        padding-top: 0.9rem;
    }

    .principle-rule[b-e8sptbm1b3] {
        margin-bottom: 0.75rem;
    }

    .landing-callout[b-e8sptbm1b3],
    .landing-footer[b-e8sptbm1b3] {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-footer[b-e8sptbm1b3] {
        justify-content: center;
        padding-block: 1.25rem;
    }
}
