:root {
    --surface: #ffffff;
    --surface-muted: #f4f8fc;
    --border: #d9e5ef;
    --text-primary: #182633;
    --text-muted: #5c7083;
    --accent: #0d6aa8;
}

html,
body {
    margin: 0;
    padding: 0;
    min-width: 20rem;
    font-family: "Segoe UI Variable", "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text-primary);
    background-color: #f6f9fc;
}

a {
    color: var(--accent);
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
}

code {
    font-size: 0.85rem;
}

.page-section {
    display: grid;
    gap: 1rem;
}

.page-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page-header h1 {
    margin: 0;
    font-size: 1.4rem;
}

.panel {
    background: var(--surface);
    border: 0.0625rem solid var(--border);
    border-radius: 0.9rem;
    padding: 1rem;
    box-shadow: 0 0.875rem 1.875rem -1.875rem rgba(4, 40, 74, 0.5);
}

.muted {
    margin: 0;
    color: var(--text-muted);
}

#blazor-error-ui {
    color-scheme: light only;
    background: #ffe9cc;
    border-top: 0.0625rem solid #ffd6a1;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.7rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

@media (max-width: 42.5rem) {
    .panel {
        padding: 0.8rem;
    }
}
