/* App shell only (CLAUDE.md Rule 2): pages use FluentUI components and their tokens. Mirrors Apex.Hybrid. */

body {
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-family: var(--body-font);
    font-size: var(--fontSizeBase300);
    line-height: var(--lineHeightBase300);
    margin: 0;
}

.main {
    min-height: calc(100dvh - 48px);
    color: var(--colorNeutralForeground1);
    align-items: stretch !important;
}

nav {
    align-self: stretch;
    height: calc(100dvh - 48px) !important;
    display: flex;
}

.content {
    padding: 0.5rem 1.5rem;
    align-self: stretch !important;
    width: 100%;
}

.loading {
    padding: 24px;
    font-family: var(--body-font);
}

code {
    color: #c02d76;
    word-break: break-all;
}

#blazor-error-ui {
    background: var(--colorStatusDangerBackground2, #fde7e9);
    color: var(--colorStatusDangerForeground2, #b10e1c);
    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 {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 600px) {
    .main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }
}
