/* ============================================================
   app.css — SpokenFeeds Design System
   ============================================================ */

/* ------ CSS Custom Properties (Design Tokens) -------------- */

:root {
    /* Public / landing page design tokens (light theme) */
    --fv-primary:       #2563eb;
    --fv-primary-dark:  #1d4ed8;
    --fv-bg:            #ffffff;
    --fv-surface:       #f8fafc;
    --fv-border:        #e2e8f0;
    --fv-text:          #0f172a;
    --fv-text-muted:    #64748b;
    --fv-gradient:      linear-gradient(135deg, #2563eb, #7c3aed);
    --fv-space-1: 0.25rem;
    --fv-space-2: 0.5rem;
    --fv-space-3: 0.75rem;
    --fv-space-4: 1rem;
    --fv-space-6: 1.5rem;
    --fv-space-8: 2rem;
    --fv-space-12: 3rem;
    --fv-space-16: 4rem;
    --fv-font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --fv-font-size-base: 1rem;
    --fv-line-height-base: 1.6;
    --fv-radius-sm: 6px;
    --fv-radius-md: 10px;
    --fv-radius-lg: 16px;
    --fv-shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
    --fv-shadow-md:  0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --fv-shadow-lg:  0 8px 32px rgba(37, 99, 235, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);

    /* Authenticated app shell design tokens (dark theme) */
    --app-header-height:     48px;
    --app-player-height:     60px;
    --app-bottom-nav-height: 56px;
    --app-sidebar-width:     200px;
    --app-primary:           #2563eb;
    --app-primary-hover:     #1d4ed8;
    --app-bg:                #0f172a;
    --app-bg-surface:        #1e293b;
    --app-bg-surface-hover:  #273349;
    --app-text:              #f1f5f9;
    --app-text-muted:        #64748b;
    --app-border:            #334155;
    --app-active-bg:         rgba(37, 99, 235, 0.15);
    --app-active-color:      #2563eb;
}

/* ------ Base Reset & Typography ---------------------------- */

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

html, body {
    font-family: var(--fv-font-sans);
    font-size: var(--fv-font-size-base);
    line-height: var(--fv-line-height-base);
    color: var(--fv-text);
    background: var(--fv-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, .btn-link {
    color: var(--fv-primary);
}

/* Override Bootstrap primary button to match design system */
.btn-primary {
    color: #fff;
    background-color: var(--fv-primary);
    border-color: var(--fv-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--fv-primary-dark);
    border-color: var(--fv-primary-dark);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #93c5fd;
}

/* ------ Utility: Gradient Text ----------------------------- */

.gradient-text {
    background: var(--fv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ------ Utility: Section container ------------------------- */

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 800;
    color: var(--fv-text);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1rem;
    color: var(--fv-text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

/* ------ Blazor error boundary ------------------------------ */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ------ Form validation ------------------------------------ */

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================================
   Landing Page Styles (HomeDe / HomeEn)
   Moved from Home.razor.css — CSS isolation doesn't reach child components.
   ============================================================ */

/* ------ Hero ---------------------------------------------- */

.hero {
    background: linear-gradient(160deg, #f0f5ff 0%, #faf5ff 100%);
    padding: 3rem 0 2.5rem;
    overflow: hidden;
}

.hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.hero__content {
    max-width: 560px;
    text-align: center;
}

.hero__headline {
    font-size: clamp(2rem, 8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--fv-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--fv-text-muted);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero__cta {
    background: var(--fv-gradient);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero__cta:hover {
    opacity: 0.92;
    filter: brightness(1.05);
}

/* Player mock-up */

.hero__visual {
    width: 100%;
    max-width: 340px;
}

.hero__player-mock {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.25rem 1.5rem 1.5rem;
}

.player-mock__header {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.player-mock__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.player-mock__dot--red    { background: #ef4444; }
.player-mock__dot--yellow { background: #f59e0b; }
.player-mock__dot--green  { background: #22c55e; }

.player-mock__waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 3rem;
    margin-bottom: 1rem;
}

.player-mock__waveform span {
    flex: 1;
    background: var(--fv-gradient);
    border-radius: 2px;
    opacity: 0.7;
    animation: wave 1.4s ease-in-out infinite alternate;
}

.player-mock__waveform span:nth-child(1)  { height: 40%; animation-delay: 0s; }
.player-mock__waveform span:nth-child(2)  { height: 70%; animation-delay: 0.1s; }
.player-mock__waveform span:nth-child(3)  { height: 55%; animation-delay: 0.2s; }
.player-mock__waveform span:nth-child(4)  { height: 90%; animation-delay: 0.05s; }
.player-mock__waveform span:nth-child(5)  { height: 60%; animation-delay: 0.15s; }
.player-mock__waveform span:nth-child(6)  { height: 45%; animation-delay: 0.25s; }
.player-mock__waveform span:nth-child(7)  { height: 80%; animation-delay: 0.08s; }
.player-mock__waveform span:nth-child(8)  { height: 65%; animation-delay: 0.18s; }
.player-mock__waveform span:nth-child(9)  { height: 50%; animation-delay: 0.12s; }
.player-mock__waveform span:nth-child(10) { height: 75%; animation-delay: 0.22s; }
.player-mock__waveform span:nth-child(11) { height: 55%; animation-delay: 0.07s; }
.player-mock__waveform span:nth-child(12) { height: 85%; animation-delay: 0.17s; }
.player-mock__waveform span:nth-child(13) { height: 45%; animation-delay: 0.27s; }
.player-mock__waveform span:nth-child(14) { height: 70%; animation-delay: 0.03s; }
.player-mock__waveform span:nth-child(15) { height: 60%; animation-delay: 0.13s; }

@keyframes wave {
    from { transform: scaleY(0.5); }
    to   { transform: scaleY(1); }
}

.player-mock__title {
    font-size: 0.8rem;
    color: var(--fv-text-muted);
    text-align: center;
    margin-bottom: 1rem;
}

.player-mock__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.player-mock__btn {
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    opacity: 0.5;
}

.player-mock__btn--play {
    width: 2.75rem;
    height: 2.75rem;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232563eb'/%3E%3Cpolygon points='10,8 17,12 10,16' fill='white'/%3E%3C/svg%3E");
}

.player-mock__btn--prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolygon points='19,20 9,12 19,4'/%3E%3Cline x1='5' y1='19' x2='5' y2='5'/%3E%3C/svg%3E");
}

.player-mock__btn--next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolygon points='5,4 15,12 5,20'/%3E%3Cline x1='19' y1='5' x2='19' y2='19'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
    .hero__inner {
        flex-direction: row;
        align-items: center;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero__content {
        text-align: left;
        flex: 1;
    }

    .hero__actions {
        justify-content: flex-start;
    }

    .hero__visual {
        flex-shrink: 0;
    }
}

/* ------ Steps --------------------------------------------- */

.steps {
    padding: 4rem 0;
    background: var(--fv-bg);
}

.steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    counter-reset: none;
}

.steps__item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.steps__number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--fv-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}

.steps__body {
    flex: 1;
}

.steps__heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fv-text);
    margin-bottom: 0.35rem;
}

.steps__text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--fv-text-muted);
    margin: 0;
}

@media (min-width: 768px) {
    .steps__list {
        flex-direction: row;
        gap: 2.5rem;
    }

    .steps__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
    }
}

/* ------ Features ------------------------------------------ */

.features {
    padding: 4rem 0;
    background: var(--fv-surface);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 540px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--fv-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background-color: #eff6ff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Feature icons (inline SVG backgrounds) */
.feature-card__icon--voice {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M19 10a7 7 0 0 1-14 0'/%3E%3Cline x1='12' y1='19' x2='12' y2='22'/%3E%3Cline x1='8' y1='22' x2='16' y2='22'/%3E%3C/svg%3E");
}

.feature-card__icon--language {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.feature-card__icon--player {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='10,8 17,12 10,16'/%3E%3C/svg%3E");
}

.feature-card__icon--followme {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='13' height='9' rx='1'/%3E%3Cpath d='M8 12v3'/%3E%3Cline x1='5' y1='15' x2='11' y2='15'/%3E%3Crect x='16' y='8' width='6' height='10' rx='1'/%3E%3Cpath d='M19 8V5'/%3E%3C/svg%3E");
}

.feature-card__icon--rss {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'/%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'/%3E%3Ccircle cx='5' cy='19' r='1' fill='%232563eb'/%3E%3C/svg%3E");
}

.feature-card__icon--fair {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

.feature-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fv-text);
    margin-bottom: 0.5rem;
}

.feature-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--fv-text-muted);
    margin: 0;
}

/* ------ CTA Band ------------------------------------------ */

.cta-band {
    background: var(--fv-gradient);
    padding: 4rem 0;
    color: #ffffff;
}

.cta-band__inner {
    text-align: center;
}

.cta-band__title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.cta-band__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.cta-band__btn {
    background: #ffffff;
    color: var(--fv-primary);
    border: none;
    font-weight: 700;
    padding: 0.875rem 2.25rem;
}

.cta-band__btn:hover {
    background: #f0f5ff;
    color: var(--fv-primary-dark);
}

/* ============================================================
   Settings-style page layout (shared across settings-like pages)
   Moved from Settings.razor.css — CSS isolation only scopes to that
   component; classes used in Billing.razor etc. must be global.
   ============================================================ */

.settings-page {
    max-width: 680px;
}

.settings-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--app-text);
    margin-bottom: 1.5rem;
}

.settings-section {
    margin-bottom: 1.75rem;
}

.settings-section--last {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.settings-section__title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--app-text-muted);
    margin-bottom: 0.625rem;
}

.settings-card {
    background: var(--app-bg-surface);
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.settings-card:hover {
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.settings-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--app-text);
    margin-bottom: 0.25rem;
}

.settings-readonly {
    font-size: 0.9375rem;
    color: var(--app-text-muted);
    margin: 0;
}

.settings-hint {
    font-size: 0.8125rem;
    color: var(--app-text-muted);
    line-height: 1.5;
}

.settings-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.settings-kv__key {
    font-size: 0.875rem;
    color: var(--app-text-muted);
}

.settings-kv__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--app-text);
}

.settings-status-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2em 0.6em;
    border-radius: 999px;
    white-space: nowrap;
}

.settings-status-badge--active    { background: rgba(34, 197, 94, 0.15);  color: #4ade80; }
.settings-status-badge--trial     { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.settings-status-badge--inactive  { background: rgba(100, 116, 139, 0.2); color: var(--app-text-muted); }
.settings-status-badge--deletion_requested { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.settings-delete-confirm {
    font-size: 0.875rem;
    color: #f87171;
    margin: 0;
}

.fv-wildcard { font-weight: 600; color: var(--fv-accent, #0d6efd); }

/* Onboarding overlay modal */
.onboarding-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1040;
    display: flex; align-items: center; justify-content: center;
}
.onboarding-modal {
    background: var(--app-bg-surface);
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: 1rem; padding: 2rem;
    max-width: 560px; width: calc(100% - 2rem);
    max-height: 90vh; overflow-y: auto;
}
