/* /Layout/MainLayout.razor.rz.scp.css */
.site-shell[b-4o34ut0577] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header[b-4o34ut0577] {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--site-frame-width), calc(100% - 2rem));
    margin: 0.75rem auto 0;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, color-mix(in oklch, var(--surface) 94%, var(--surface-tint) 6%), var(--surface));
    box-shadow: inset 0 1px 0 var(--surface-inner-highlight), 0 8px 18px var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.site-shell--auth .site-header[b-4o34ut0577] {
    width: min(960px, calc(100% - 2rem));
}

.brand-lockup[b-4o34ut0577] {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}

.brand-lockup__mark[b-4o34ut0577] {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 12px color-mix(in oklch, var(--brand-violet) 12%, transparent);
}

.brand-lockup__copy[b-4o34ut0577] {
    display: grid;
    gap: 0.1rem;
}

.brand-lockup__wordmark[b-4o34ut0577] {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-lockup__subline[b-4o34ut0577] {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.site-header__actions[b-4o34ut0577] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.theme-toggle[b-4o34ut0577] {
    display: inline-grid;
    grid-template-columns: 1rem auto;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.3rem;
    padding: 0.54rem 0.78rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    color: var(--text-strong);
    background: color-mix(in oklch, var(--surface) 88%, var(--surface-tint) 12%);
    font: 600 0.76rem/1 var(--font-mono);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.theme-toggle:hover[b-4o34ut0577] {
    border-color: color-mix(in oklch, var(--brand-jade) 36%, var(--border-soft));
    background: color-mix(in oklch, var(--surface-strong) 88%, var(--brand-jade) 12%);
    box-shadow: 0 8px 18px var(--shadow-soft);
}

.theme-toggle:focus-visible[b-4o34ut0577] {
    outline: 2px solid color-mix(in oklch, var(--brand-jade) 70%, transparent);
    outline-offset: 3px;
}

.theme-toggle__icon[b-4o34ut0577] {
    grid-column: 1;
    grid-row: 1;
    width: 1rem;
    height: 1rem;
    transition: opacity 160ms ease, transform 160ms ease;
}

.theme-toggle__icon--light[b-4o34ut0577] {
    border-radius: 999px;
    background:
        radial-gradient(circle, var(--brand-gold) 0 39%, transparent 40%),
        conic-gradient(from 0deg, transparent 0 8%, var(--brand-gold) 8% 13%, transparent 13% 20%, var(--brand-gold) 20% 25%, transparent 25% 33%, var(--brand-gold) 33% 38%, transparent 38% 45%, var(--brand-gold) 45% 50%, transparent 50% 58%, var(--brand-gold) 58% 63%, transparent 63% 70%, var(--brand-gold) 70% 75%, transparent 75% 83%, var(--brand-gold) 83% 88%, transparent 88%);
}

.theme-toggle__icon--dark[b-4o34ut0577] {
    border-radius: 999px;
    background: var(--brand-jade);
    box-shadow: inset -0.28rem -0.12rem 0 0 var(--surface-strong);
    opacity: 0;
    transform: rotate(-30deg) scale(0.82);
}

:root[data-theme="dark"] .theme-toggle__icon--light[b-4o34ut0577] {
    opacity: 0;
    transform: rotate(30deg) scale(0.82);
}

:root[data-theme="dark"] .theme-toggle__icon--dark[b-4o34ut0577] {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.site-main[b-4o34ut0577] {
    flex: 1;
}

.site-footer[b-4o34ut0577] {
    width: min(var(--site-frame-width), calc(100% - 2rem));
    margin: 1rem auto 2rem;
    padding: 0.9rem 0.2rem 0;
    border-top: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__meta[b-4o34ut0577] {
    max-width: 34rem;
}

.site-footer__eyebrow[b-4o34ut0577] {
    margin: 0;
    color: var(--text-strong);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.site-footer__body[b-4o34ut0577] {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.site-footer__links[b-4o34ut0577] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1.2rem;
}

.site-footer__links a[b-4o34ut0577] {
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.78rem;
}

.site-footer__links a:hover[b-4o34ut0577] {
    color: var(--text-strong);
}

@media (max-width: 820px) {
    .site-header[b-4o34ut0577],
    .site-footer[b-4o34ut0577] {
        width: calc(100% - 1.25rem);
    }

    .site-header[b-4o34ut0577],
    .site-footer[b-4o34ut0577] {
        border-radius: var(--radius-lg);
        flex-direction: column;
        align-items: stretch;
    }

    .site-header__actions[b-4o34ut0577] {
        width: 100%;
        justify-content: stretch;
    }

    .site-header__actions a[b-4o34ut0577] {
        flex: 1;
        justify-content: center;
    }

    .site-footer__links[b-4o34ut0577] {
        justify-content: flex-start;
    }
}
