/* Styles for the MudBlazor app shell. Account pages use account.css instead. */
html, body {
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.app-title {
    font-weight: 600;
    letter-spacing: .01em;
}

.nav-section {
    color: var(--mud-palette-text-secondary);
    letter-spacing: .08em;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.page-header h1 {
    margin: 0;
}

.page-header .spacer {
    flex: 1 1 auto;
}

.stat-tile .value {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.table-scroll {
    overflow-x: auto;
}

.mono {
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: .85em;
}

.changes {
    white-space: pre-wrap;
    word-break: break-word;
    max-width: 60ch;
}

.permission-grid td:first-child {
    white-space: nowrap;
}

h1:focus {
    outline: none;
}

#blazor-error-ui {
    background: #FBF0DD;
    color: #15212A;
    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: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
