/* ==========================================================================
   Radio IDs design system
   Brand colours are taken from the logo: navy #001F48, cyan #00C5ED.
   ========================================================================== */

:root {
    /* Brand */
    --navy: #001F48;
    --navy-800: #06294f;
    --navy-700: #0d3561;
    --navy-600: #154578;
    --cyan: #00C5ED;
    --cyan-600: #00a8cc;
    --cyan-300: #6fddf8;
    --cyan-100: #d9f6fd;

    /* Neutrals */
    --ink: #0b1220;
    --body: #39465c;
    --muted: #6b7a92;
    --line: #dfe5ee;
    --line-soft: #eef2f7;
    --surface: #ffffff;
    --surface-2: #f6f8fb;
    --surface-3: #eef2f8;

    /* Status */
    --ok: #0f9d58;
    --ok-bg: #e6f6ed;
    --warn: #b7791f;
    --warn-bg: #fdf3e2;
    --danger: #c53030;
    --danger-bg: #fdeaea;
    --info-bg: var(--cyan-100);

    /* Shape */
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 16px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 31, 72, .06), 0 1px 3px rgba(0, 31, 72, .08);
    --shadow: 0 4px 12px rgba(0, 31, 72, .08), 0 2px 4px rgba(0, 31, 72, .05);
    --shadow-lg: 0 18px 40px rgba(0, 31, 72, .14);

    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --nav-h: 68px;
    --max-w: 1180px;
}

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

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

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }

a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--cyan-600); text-decoration: underline; }

code, kbd, pre { font-family: var(--mono); font-size: .875em; }

img, svg { max-width: 100%; }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Skip link: keyboard users land here first. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--navy);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Layout ------------------------------------------------------ */

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--alt { background: var(--surface-2); }
.section--navy { background: var(--navy); color: #cbd9ea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.stack > * + * { margin-top: var(--gap, 1rem); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

.lead { font-size: 1.15rem; color: var(--body); }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin-bottom: .75rem;
}
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Buttons ----------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font: inherit;
    font-weight: 600;
    padding: .7rem 1.35rem;
    border-radius: var(--r);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

.btn--primary { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.btn--primary:hover { background: var(--cyan-600); border-color: var(--cyan-600); color: var(--navy); }

.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); color: var(--navy); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn--danger { background: var(--danger); color: #fff; border-color: var(--danger); }

.btn--sm { padding: .4rem .85rem; font-size: .875rem; }
.btn--lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Cards ------------------------------------------------------- */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem;
}
.card--pad-lg { padding: 2rem; }
.card--raised { box-shadow: var(--shadow); border-color: var(--line-soft); }
.card--accent { border-top: 3px solid var(--cyan); }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.card-grid-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: var(--r);
    background: var(--cyan-100);
    color: var(--navy);
    margin-bottom: 1rem;
}

/* ---------- Badges ------------------------------------------------------ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .6rem;
    border-radius: var(--r-pill);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .01em;
    background: var(--surface-3);
    color: var(--body);
    white-space: nowrap;
}
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--navy-600); }
.badge--beta { background: #f0e8fd; color: #6b35c9; }

.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Tables ------------------------------------------------------ */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: .925rem;
}
table.data th, table.data td {
    text-align: left;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
}
table.data th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    background: var(--surface-2);
    font-weight: 700;
    white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Forms ------------------------------------------------------- */

.field { margin-bottom: 1.15rem; }
.field > label, .label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    margin-bottom: .35rem;
}
.hint { font-size: .825rem; color: var(--muted); margin-top: .3rem; }

.input, .select, .textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    padding: .65rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-100);
    outline: none;
}
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7a92' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; padding-right: 2.2rem; }

.input-invalid, .validation-message { color: var(--danger); font-size: .85rem; }
.field-error { border-color: var(--danger) !important; }

.checkbox, .radio { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.checkbox input, .radio input { margin-top: .3rem; flex: 0 0 auto; }
.checkbox label, .radio label { font-weight: 500; margin: 0; }

/* Option cards used by the order wizard. */
.choice-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: .9rem 1rem;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.choice:hover { border-color: var(--cyan-300); background: var(--surface-2); }
.choice.is-selected { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-100); background: #fff; }
.choice strong { display: block; color: var(--ink); }
.choice span { font-size: .85rem; color: var(--muted); }

/* ---------- Alerts ------------------------------------------------------ */

.alert {
    padding: .9rem 1.1rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--surface-2);
    margin-bottom: 1.25rem;
}
.alert--ok { background: var(--ok-bg); border-color: #b9e3cb; color: #15603c; }
.alert--warn { background: var(--warn-bg); border-color: #f0dcb4; color: #7a5212; }
.alert--danger { background: var(--danger-bg); border-color: #f4c3c3; color: #8f2121; }
.alert--info { background: var(--cyan-100); border-color: #a8e6f7; color: var(--navy-700); }
.alert > :last-child { margin-bottom: 0; }

/* ---------- Public site chrome ------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; display: block; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 1.35rem; margin-left: auto; align-items: center; }
.site-nav a { color: var(--body); font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--navy); text-decoration: none; }
.site-nav a.active { font-weight: 600; }

.nav-actions { display: flex; gap: .6rem; align-items: center; }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: .45rem .6rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .site-nav, .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .site-header.is-open { height: auto; }
    .site-header.is-open .container { flex-wrap: wrap; padding-bottom: 1rem; }
    .site-header.is-open .site-nav,
    .site-header.is-open .nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        gap: .25rem;
    }
    .site-header.is-open .site-nav a { padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
}

/* Hero */
.hero {
    background:
        radial-gradient(1000px 420px at 85% -10%, rgba(0, 197, 237, .22), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
    color: #c8d7ea;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}
.hero h1 { color: #fff; }
.hero .lead { color: #b7cbe3; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); }
.hero .eyebrow { color: var(--cyan); }
.hero-grid { display: grid; gap: 3rem; grid-template-columns: 1.05fr .95fr; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hero-points li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .6rem; color: #c8d7ea; }
.hero-points svg { flex: 0 0 auto; margin-top: .25rem; color: var(--cyan); }

/* Stat strip */
.stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 1.4rem 1.25rem; }
.stat b { display: block; font-size: 1.6rem; color: var(--navy); letter-spacing: -.02em; }
.stat span { font-size: .85rem; color: var(--muted); }

/* Pricing */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; }
.plan.is-featured { border-color: var(--cyan); box-shadow: var(--shadow-lg); }
.plan-flag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--cyan); color: var(--navy);
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: .25rem .8rem; border-radius: var(--r-pill);
}
.plan-price { font-size: 2.4rem; font-weight: 700; color: var(--navy); letter-spacing: -.03em; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; font-size: .925rem; }
.plan li svg { flex: 0 0 auto; margin-top: .3rem; color: var(--ok); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { position: relative; padding-top: 3rem; }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; top: 0; left: 0;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--cyan); color: var(--navy);
    font-weight: 700;
}

/* Footer */
.site-footer { background: var(--navy); color: #94a9c4; padding: 3.5rem 0 2rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer a { color: #94a9c4; font-size: .925rem; display: block; padding: .22rem 0; }
.site-footer a:hover { color: var(--cyan); text-decoration: none; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr repeat(auto-fit, minmax(140px, 1fr)); }
.footer-bottom {
    margin-top: 2.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
    font-size: .85rem;
}
.site-footer .brand img { height: 26px; filter: brightness(0) invert(1); }

/* ---------- Portal shell ------------------------------------------------ */

.portal { display: flex; min-height: 100vh; background: var(--surface-2); }

.sidebar {
    width: 248px;
    flex: 0 0 248px;
    background: var(--navy);
    color: #a9bdd6;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-brand { padding: 1.25rem 1.25rem 1rem; }
.sidebar-brand img { height: 26px; filter: brightness(0) invert(1); }

.station-switch {
    margin: 0 1rem 1rem;
    padding: .7rem .8rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r);
}
.station-switch .label { color: #7e95b4; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.station-switch strong { color: #fff; display: block; font-size: .95rem; }
.station-switch span { font-size: .8rem; color: #8fa6c3; }

.sidebar nav { padding: 0 .75rem; flex: 1; }
.sidebar nav h5 {
    color: #6b82a3; font-size: .68rem; text-transform: uppercase;
    letter-spacing: .12em; margin: 1.25rem .5rem .4rem; font-weight: 700;
}
.sidebar nav a {
    display: flex; align-items: center; gap: .7rem;
    padding: .55rem .75rem;
    border-radius: var(--r-sm);
    color: #a9bdd6; font-size: .925rem; font-weight: 500;
}
.sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.sidebar nav a.active { background: var(--cyan); color: var(--navy); font-weight: 600; }
.sidebar nav a svg { flex: 0 0 auto; }

.sidebar-foot { padding: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.credit-meter { font-size: .85rem; }
.credit-meter b { color: #fff; font-size: 1.15rem; }
.meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; margin: .4rem 0 .3rem; }
.meter > i { display: block; height: 100%; background: var(--cyan); border-radius: 3px; }
.meter--low > i { background: #f0a53d; }

.portal-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.portal-top {
    height: 62px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 1rem;
    padding: 0 1.75rem;
    position: sticky; top: 0; z-index: 20;
}
.portal-top .page-title { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.portal-top .spacer { margin-left: auto; }

.avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--cyan-100); color: var(--navy);
    display: grid; place-items: center;
    font-weight: 700; font-size: .8rem;
}

.portal-body { padding: 1.75rem; flex: 1; }
.portal-body > .page-head { margin-bottom: 1.5rem; }
.page-head h1 { font-size: 1.6rem; margin-bottom: .25rem; }
.page-head p { color: var(--muted); margin: 0; }

.sidebar-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .4rem .55rem; cursor: pointer; }

@media (max-width: 900px) {
    .sidebar { position: fixed; z-index: 60; transform: translateX(-100%); transition: transform .2s; }
    .portal.is-open .sidebar { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .sidebar-toggle { display: block; }
    .portal-body { padding: 1.25rem; }
    .portal-top { padding: 0 1.25rem; }
}

/* ---------- Portal widgets ---------------------------------------------- */

.kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 1.5rem; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; }
.kpi .k-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.kpi .k-value { font-size: 1.75rem; font-weight: 700; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; }
.kpi .k-note { font-size: .82rem; color: var(--muted); }

/* Waveform audition player */
.player {
    display: flex; align-items: center; gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
}
.player.is-selected { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-100); }
.play-btn {
    flex: 0 0 auto;
    width: 42px; height: 42px; border-radius: 50%;
    border: 0; cursor: pointer;
    background: var(--navy); color: #fff;
    display: grid; place-items: center;
}
.play-btn:hover { background: var(--navy-700); }
.wave { flex: 1; min-width: 0; height: 44px; }
.wave-time { font-variant-numeric: tabular-nums; font-size: .85rem; color: var(--muted); flex: 0 0 auto; }

/* Pipeline progress */
.pipeline { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pipe-step {
    display: flex; align-items: center; gap: .4rem;
    font-size: .8rem; color: var(--muted);
    padding: .3rem .7rem; border-radius: var(--r-pill);
    background: var(--surface-3);
}
.pipe-step.is-done { background: var(--ok-bg); color: var(--ok); }
.pipe-step.is-active { background: var(--cyan-100); color: var(--navy-600); font-weight: 600; }
.pipe-step.is-failed { background: var(--danger-bg); color: var(--danger); }

.qc-list { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.qc-list li { display: flex; gap: .6rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--line-soft); }
.qc-list li:last-child { border-bottom: 0; }
.qc-list .qc-name { flex: 1; }
.qc-list .qc-measure { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .85rem; }

/* Wizard step rail */
.wizard-rail { display: flex; gap: .25rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.wizard-rail .wstep {
    flex: 1; min-width: 120px;
    padding: .6rem .75rem;
    border-top: 3px solid var(--line);
    font-size: .85rem; color: var(--muted);
}
.wizard-rail .wstep.is-current { border-top-color: var(--cyan); color: var(--navy); font-weight: 600; }
.wizard-rail .wstep.is-done { border-top-color: var(--ok); color: var(--ink); }

.empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--r-lg);
    background: #fff;
}
.empty h3 { color: var(--ink); }

.spinner {
    width: 18px; height: 18px;
    border: 2px solid var(--line);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* Blazor's own error UI. */
#blazor-error-ui {
    background: var(--warn-bg);
    border-top: 1px solid #f0dcb4;
    bottom: 0; display: none;
    left: 0; padding: .8rem 1.25rem; position: fixed;
    width: 100%; z-index: 1000; color: #7a5212;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 1rem; top: .8rem; }
