/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Literata";
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url("../fonts/literata-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Literata";
    font-style: normal;
    font-display: swap;
    font-weight: 200 900;
    src: url("../fonts/literata-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
    color-scheme: light;
    --bg: #f6f6f3;
    --surface: #ffffff;
    --surface-2: #f0efeb;
    --border: #e2e1dc;
    --text: #0b0b0b;
    --text-2: #52514e;
    --text-muted: #6f6e68;
    --accent: #2f5bd8;
    --accent-hover: #2449b8;
    --accent-soft: #e6ecfb;
    --on-accent: #ffffff;
    --danger: #c53030;
    --danger-soft: #fdecec;
    --warning: #8a5a00;
    --warning-soft: #fdf3dc;
    --success: #1d7a46;
    --success-soft: #e3f5ea;
    --series-1: #2a78d6;
    --series-2: #eb6834;
    --grid: #e7e6e1;
    --shadow: 0 1px 2px rgb(0 0 0 / .04), 0 4px 16px rgb(0 0 0 / .05);
    --radius: 14px;
    --radius-sm: 9px;
    --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-read: "Literata", Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #111110;
        --surface: #1a1a19;
        --surface-2: #242422;
        --border: #33322f;
        --text: #f0efec;
        --text-2: #c3c2b7;
        --text-muted: #9a998f;
        --accent: #7b9bff;
        --accent-hover: #9bb3ff;
        --accent-soft: #232c45;
        --on-accent: #0b0f1d;
        --danger: #ff8a8a;
        --danger-soft: #3a1f1f;
        --warning: #f5c35b;
        --warning-soft: #3a2f17;
        --success: #6fd59a;
        --success-soft: #17301f;
        --series-1: #3987e5;
        --series-2: #d95926;
        --grid: #2c2c29;
        --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 4px 16px rgb(0 0 0 / .3);
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #111110;
    --surface: #1a1a19;
    --surface-2: #242422;
    --border: #33322f;
    --text: #f0efec;
    --text-2: #c3c2b7;
    --text-muted: #9a998f;
    --accent: #7b9bff;
    --accent-hover: #9bb3ff;
    --accent-soft: #232c45;
    --on-accent: #0b0f1d;
    --danger: #ff8a8a;
    --danger-soft: #3a1f1f;
    --warning: #f5c35b;
    --warning-soft: #3a2f17;
    --success: #6fd59a;
    --success-soft: #17301f;
    --series-1: #3987e5;
    --series-2: #d95926;
    --grid: #2c2c29;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 4px 16px rgb(0 0 0 / .3);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); font-weight: 700; }
h2 { font-size: 1.3rem; font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
/* FocusOnNavigate moves focus to the h1 for screen readers; no visible ring needed there. */
h1:focus, h1:focus-visible { outline: none; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Shell ---------- */
.shell { min-height: 100vh; display: flex; flex-direction: column; }

.shell-header {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}

.shell-header-inner, .shell-main, .shell-footer-inner {
    width: 100%; max-width: 1040px; margin: 0 auto; padding-inline: 16px;
}

.shell-header-inner { display: flex; align-items: center; gap: 12px; height: 60px; }

.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem; color: var(--text); text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand-mark {
    width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    background: var(--accent); color: var(--on-accent);
}

.shell-nav { display: flex; align-items: center; gap: 4px; }
.shell-nav a, .shell-nav button.link {
    padding: 7px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none;
    font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.shell-nav a:hover, .shell-nav button.link:hover { background: var(--surface-2); color: var(--text); }
.shell-nav a.active { background: var(--accent-soft); color: var(--accent); }

.shell-main { flex: 1; padding-block: 32px 48px; }

.shell-footer { border-top: 1px solid var(--border); color: var(--text-muted); font-size: .875rem; }
.shell-footer-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px; }
.shell-footer a { color: var(--text-muted); }

@media (max-width: 640px) {
    .shell-header-inner { height: auto; flex-wrap: wrap; padding-block: 10px; }
    .shell-nav { order: 3; width: 100%; overflow-x: auto; }
    .shell-main { padding-block: 20px 32px; }
}

.theme-toggle {
    width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun, .theme-toggle .icon-moon,
:root[data-theme-current="light"] .theme-toggle .label-to-light,
:root[data-theme-current="dark"] .theme-toggle .label-to-dark { display: none; }
:root[data-theme-current="light"] .theme-toggle .icon-moon,
:root[data-theme-current="dark"] .theme-toggle .icon-sun { display: block; }
/* CSS tooltip: a title attribute can't follow the theme without JS, and WASM renders the button late. */
.theme-toggle { position: relative; }
.theme-toggle::after {
    content: attr(data-tip-to-dark); position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
    white-space: nowrap; padding: 6px 10px; border-radius: var(--radius-sm); font-size: .8rem;
    background: var(--text); color: var(--surface); box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transition: opacity .15s;
}
:root[data-theme-current="dark"] .theme-toggle::after { content: attr(data-tip-to-light); }
.theme-toggle:hover::after, .theme-toggle:focus-visible::after { opacity: 1; transition-delay: .3s; }

/* ---------- Surfaces & controls ---------- */
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
}
.card + .card { margin-top: 20px; }
@media (max-width: 640px) { .card { padding: 18px; } }

.page-head { margin-bottom: 24px; }
.page-head p { color: var(--text-2); margin: 0; max-width: 70ch; }
.page-head .active-profile { margin-top: 8px; font-size: .9rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font: 600 .95rem/1.2 var(--font-ui);
    cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { background: var(--surface-2); color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger); color: #fff; filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-link { background: none; border: 0; color: var(--accent); padding-inline: 0; text-decoration: underline; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn kbd {
    font: 500 .75rem var(--font-ui); padding: 2px 6px; border-radius: 6px;
    background: rgb(255 255 255 / .18); border: 1px solid rgb(255 255 255 / .3);
}

.field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 10px; color: var(--text-2); }

/* Level picker */
.level-picker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
@media (max-width: 760px) { .level-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.level-option { position: relative; }
.level-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.level-option label {
    display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px 14px; cursor: pointer;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
    transition: border-color .15s, background .15s;
}
.level-option label:hover { border-color: var(--text-muted); }
.level-option input:checked + label { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.level-option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.level-option .level-name { font-weight: 650; }
.level-option .level-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.35; }
.level-dots { display: flex; gap: 3px; }
.level-dots i { width: 6px; height: 6px; border-radius: 2px; background: var(--border); }
.level-dots i.on { background: var(--accent); }

/* Word count slider */
.slider-row { display: flex; align-items: center; gap: 16px; }
.slider-value { min-width: 5.5ch; font: 700 1.4rem var(--font-ui); font-variant-numeric: tabular-nums; text-align: right; }
input[type="range"] { flex: 1; accent-color: var(--accent); height: 28px; cursor: pointer; }
.slider-scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--text-muted); margin-top: 2px; padding-right: calc(5.5ch + 16px); }

.setup-grid { display: grid; gap: 24px; }

/* ---------- Reader ---------- */
.reader-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.reader-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    background: var(--surface-2); color: var(--text-2); font-size: .8rem; font-weight: 600;
}
.chip-warning { background: var(--warning-soft); color: var(--warning); }

.reader-text {
    font-family: var(--font-read); font-size: 1.15rem; line-height: 1.8; max-width: 68ch;
    margin-inline: auto; color: var(--text); transition: filter .25s ease, opacity .25s ease;
}
.reader-text p { margin-bottom: 1.1em; }
.reader-text.concealed { filter: blur(8px); opacity: .45; user-select: none; pointer-events: none; }

.reader-stage { position: relative; }
.reader-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    padding-top: 80px; gap: 12px; text-align: center;
}
.reader-overlay p { color: var(--text-2); margin: 0; }
.reader-actions {
    position: sticky; bottom: 16px; display: flex; justify-content: center; margin-top: 12px;
}
.reader-actions .btn { box-shadow: var(--shadow); }

.skeleton { display: grid; gap: 12px; max-width: 68ch; margin-inline: auto; }
.skeleton i { display: block; height: 14px; border-radius: 6px; background: var(--surface-2); animation: pulse 1.4s ease-in-out infinite; }
.skeleton i:nth-child(3n) { width: 82%; }
@keyframes pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .skeleton i { animation: none; } .reader-text { transition: none; } }

.attribution { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-muted); }

/* ---------- Results & stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat {
    background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 16px;
}
.stat-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-unit { font-size: .9rem; font-weight: 500; color: var(--text-2); margin-left: 4px; }
.stat-hero { background: var(--accent-soft); }
.stat-hero .stat-value { font-size: 2.6rem; color: var(--text); }

.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.notice {
    display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm);
    font-size: .9rem; margin-top: 16px;
}
.notice svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.notice-warning { background: var(--warning-soft); color: var(--warning); }
.notice-info { background: var(--accent-soft); color: var(--text); }

.empty-state { text-align: center; padding: 40px 16px; color: var(--text-2); }
.empty-state h2 { color: var(--text); }

/* ---------- Progress ---------- */
.filter-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-row button {
    padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
    color: var(--text-2); font: 600 .85rem var(--font-ui); cursor: pointer;
}
.filter-row button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.chart-wrap { position: relative; margin-top: 8px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .axis-label { fill: var(--text-muted); font-size: 12px; font-family: var(--font-ui); font-variant-numeric: tabular-nums; }
.chart .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .series-1 { stroke: var(--series-1); }
.chart .series-2 { stroke: var(--series-2); }
.chart .point { fill: var(--series-1); stroke: var(--surface); stroke-width: 2; }
.chart .end-label { fill: var(--text-2); font-size: 12px; font-weight: 600; font-family: var(--font-ui); }
.chart .crosshair { stroke: var(--text-muted); stroke-width: 1; opacity: 0; }
.chart .hit { fill: transparent; }
.chart-tooltip {
    position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px));
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 10px;
    padding: 8px 12px; font-size: .82rem; white-space: nowrap; transition: opacity .1s;
}
.chart-tooltip strong { display: block; font-size: .95rem; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 2px; border-radius: 1px; display: inline-block; }

.table-wrap { overflow-x: auto; }
table.data, .table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th, table.data td, .table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr.implausible td { color: var(--text-muted); }

details.disclosure summary { cursor: pointer; font-weight: 600; color: var(--text-2); }
details.disclosure[open] summary { margin-bottom: 12px; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
    position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: var(--radius);
    padding: 16px 18px; display: flex; gap: 16px; align-items: center; font-size: .9rem;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; color: var(--text-2); }
@media (max-width: 520px) { .cookie-notice { flex-direction: column; align-items: stretch; } }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }

/* ---------- Compatibility for the generated Identity pages ---------- */
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > [class*="col-"] { flex: 1 1 320px; min-width: 0; }
.col-lg-offset-2 { margin-left: 0; }
.mb-3 { margin-bottom: 1rem; }
.mt-2 { margin-top: .5rem; }
.px-3, .px-4 { padding-inline: 0; }
.ps-3 { padding-left: 0; }
.w-100 { width: 100%; }
.mx-auto { margin-inline: auto; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.h-100 { height: 100%; }
.font-weight-bold { font-weight: 700; }
.text-danger { color: var(--danger); font-size: .85rem; }
.text-success { color: var(--success); }
.text-info, .text-secondary { color: var(--text-2); }
.form-label, .control-label { display: block; font-weight: 600; font-size: .9rem; color: var(--text-2); margin-bottom: 6px; }
.form-floating { display: flex; flex-direction: column-reverse; gap: 6px; }
.form-floating > label { font-weight: 600; font-size: .9rem; color: var(--text-2); }
.form-control {
    width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font: inherit;
}
.form-control::placeholder { color: transparent; }
.form-hint { font-size: .85rem; color: var(--text-muted); margin: -8px 0 1rem; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 46px; }
/* Edge adds its own reveal button; ours works in every browser. */
.password-field input::-ms-reveal { display: none; }
.password-toggle {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 34px; height: 34px;
    display: grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: transparent;
    color: var(--text-muted); cursor: pointer;
}
.password-toggle:hover { color: var(--text); background: var(--surface-2); }
.password-toggle svg { width: 18px; height: 18px; }
.password-toggle .icon-eye-off, .password-toggle[aria-pressed="true"] .icon-eye { display: none; }
.password-toggle[aria-pressed="true"] .icon-eye-off { display: block; }
.form-control:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-control:disabled { background: var(--surface-2); color: var(--text-muted); }
.form-check-input { width: 18px; height: 18px; accent-color: var(--accent); vertical-align: -3px; margin-right: 6px; }
.checkbox label { display: inline-flex; align-items: center; gap: 4px; }
.input-group { display: flex; gap: 8px; align-items: center; }
.input-group-text { color: var(--success); font-weight: 700; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 1rem; background: var(--accent-soft); }
.alert-danger { background: var(--danger-soft); color: var(--danger); }
.alert-warning { background: var(--warning-soft); color: var(--warning); }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-info { background: var(--accent-soft); }
.nav { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-pills.flex-column { flex-direction: column; }
.nav-link { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); text-decoration: none; }
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.recovery-code { font-family: ui-monospace, monospace; }
.qr-code { display: block; background: #fff; padding: 8px; border-radius: var(--radius-sm); margin-block: 8px 16px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

/* Blazor error UI */
#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    padding: 12px 16px; background: var(--warning-soft); color: var(--warning); box-shadow: var(--shadow);
}
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
.blazor-error-boundary { background: var(--danger-soft); color: var(--danger); padding: 1rem; border-radius: var(--radius-sm); }
.blazor-error-boundary::after { content: "Es ist ein Fehler aufgetreten."; }
