/* /Components/Account/Pages/Login.razor.rz.scp.css */
.auth-wrap[b-9m200hsa1a] {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 2.5rem;
}

.auth-card[b-9m200hsa1a] {
    display: grid;
    width: min(920px, 100%);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

.auth-brand[b-9m200hsa1a] {
    display: none;
    padding: 2.4rem 2rem;
    color: #fff;
    background: linear-gradient(165deg, #3730a3 0%, #4f46e5 55%, #6366f1 100%);
}

/* The badge is BrandLogo's own element, so only the spacing belongs here. */
.auth-brand[b-9m200hsa1a]  .brand-mark {
    margin-bottom: 1.1rem;
}

.auth-brand-title[b-9m200hsa1a] {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.auth-brand-copy[b-9m200hsa1a] {
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.auth-points[b-9m200hsa1a] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.auth-points li[b-9m200hsa1a] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.4;
}

.auth-points i[b-9m200hsa1a] {
    margin-top: 0.15rem;
    opacity: 0.95;
}

.auth-panel[b-9m200hsa1a] {
    padding: 2rem 1.35rem 1.6rem;
}

.auth-kicker[b-9m200hsa1a] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-faint);
    margin-bottom: 0.35rem;
}

.auth-heading[b-9m200hsa1a] {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin-bottom: 0.35rem;
}

.auth-sub[b-9m200hsa1a] {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.auth-field[b-9m200hsa1a] {
    margin-bottom: 1rem;
}

.auth-label[b-9m200hsa1a] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 0.35rem;
}

.auth-input[b-9m200hsa1a] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.85rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--surface-muted);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input:focus-within[b-9m200hsa1a] {
    background: #fff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.auth-input i[b-9m200hsa1a] {
    color: var(--text-muted);
}

.auth-input[b-9m200hsa1a]  .form-control {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.auth-input[b-9m200hsa1a]  .form-control:focus {
    box-shadow: none;
}

.auth-row[b-9m200hsa1a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0.35rem 0 1.15rem;
}

.auth-remember[b-9m200hsa1a] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.auth-link[b-9m200hsa1a] {
    color: var(--brand-600);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover[b-9m200hsa1a] {
    text-decoration: underline;
}

.auth-submit[b-9m200hsa1a] {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    color: #fff;
    font-weight: 650;
    font-size: 1.02rem;
    padding: 0.8rem 1.1rem;
    border-radius: var(--r-md);
    background: var(--brand-600);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    transition: background-color 0.15s ease, box-shadow 0.22s ease;
}

.auth-submit:hover[b-9m200hsa1a] {
    background: var(--brand-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.auth-divider[b-9m200hsa1a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-faint);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.15rem 0 0.9rem;
}

.auth-divider[b-9m200hsa1a]::before,
.auth-divider[b-9m200hsa1a]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-panel[b-9m200hsa1a]  .auth-passkey {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink-800);
    font-weight: 600;
    text-decoration: none;
}

.auth-panel[b-9m200hsa1a]  .auth-passkey:hover {
    background: var(--accent-soft);
    border-color: var(--brand-300);
    color: var(--ink-800);
}

.auth-footer[b-9m200hsa1a] {
    margin: 1.25rem 0 0.25rem;
    text-align: center;
    color: var(--ink-600);
}

.auth-footer-muted[b-9m200hsa1a] {
    text-align: center;
    margin-bottom: 0;
}

.auth-footer-muted a[b-9m200hsa1a] {
    color: var(--text-faint);
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-footer-muted a:hover[b-9m200hsa1a] {
    color: var(--brand-600);
}

.auth-errors[b-9m200hsa1a] {
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .auth-card[b-9m200hsa1a] {
        grid-template-columns: 0.92fr 1.08fr;
    }

    .auth-brand[b-9m200hsa1a] {
        display: block;
    }

    .auth-panel[b-9m200hsa1a] {
        padding: 2.3rem 2rem 1.8rem;
    }
}
/* /Components/Account/Pages/Register.razor.rz.scp.css */
.auth-wrap[b-pejifqmr6f] {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0 2.5rem;
}

.auth-card[b-pejifqmr6f] {
    display: grid;
    width: min(920px, 100%);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

.auth-brand[b-pejifqmr6f] {
    display: none;
    padding: 2.4rem 2rem;
    color: #fff;
    background: linear-gradient(165deg, #3730a3 0%, #4f46e5 55%, #6366f1 100%);
}

/* The badge is BrandLogo's own element, so only the spacing belongs here. */
.auth-brand[b-pejifqmr6f]  .brand-mark {
    margin-bottom: 1.1rem;
}

.auth-brand-title[b-pejifqmr6f] {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.auth-brand-copy[b-pejifqmr6f] {
    opacity: 0.9;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.auth-points[b-pejifqmr6f] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.auth-points li[b-pejifqmr6f] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.4;
}

.auth-points i[b-pejifqmr6f] {
    margin-top: 0.15rem;
    opacity: 0.95;
}

.auth-panel[b-pejifqmr6f] {
    padding: 2rem 1.35rem 1.6rem;
}

.auth-kicker[b-pejifqmr6f] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-faint);
    margin-bottom: 0.35rem;
}

.auth-heading[b-pejifqmr6f] {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin-bottom: 0.35rem;
}

.auth-sub[b-pejifqmr6f] {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.auth-field[b-pejifqmr6f] {
    margin-bottom: 1rem;
}

.auth-label[b-pejifqmr6f] {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-700);
    margin-bottom: 0.35rem;
}

.auth-input[b-pejifqmr6f] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.85rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--surface-muted);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-input:focus-within[b-pejifqmr6f] {
    background: #fff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.auth-input i[b-pejifqmr6f] {
    color: var(--text-muted);
}

.auth-input[b-pejifqmr6f]  .form-control {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.auth-input[b-pejifqmr6f]  .form-control:focus {
    box-shadow: none;
}

.auth-row[b-pejifqmr6f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0.35rem 0 1.15rem;
}

.auth-remember[b-pejifqmr6f] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.auth-link[b-pejifqmr6f] {
    color: var(--brand-600);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover[b-pejifqmr6f] {
    text-decoration: underline;
}

.auth-submit[b-pejifqmr6f] {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    color: #fff;
    font-weight: 650;
    font-size: 1.02rem;
    padding: 0.8rem 1.1rem;
    border-radius: var(--r-md);
    background: var(--brand-600);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    transition: background-color 0.15s ease, box-shadow 0.22s ease;
}

.auth-submit:hover[b-pejifqmr6f] {
    background: var(--brand-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.auth-divider[b-pejifqmr6f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-faint);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.15rem 0 0.9rem;
}

.auth-divider[b-pejifqmr6f]::before,
.auth-divider[b-pejifqmr6f]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-passkey[b-pejifqmr6f] {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-md);
    background: #fff;
    color: var(--ink-800);
    font-weight: 600;
    text-decoration: none;
}

.auth-passkey:hover[b-pejifqmr6f] {
    background: var(--accent-soft);
    border-color: var(--brand-300);
    color: var(--ink-800);
}

.auth-footer[b-pejifqmr6f] {
    margin: 1.25rem 0 0.25rem;
    text-align: center;
    color: var(--ink-600);
}

.auth-footer-muted[b-pejifqmr6f] {
    text-align: center;
    margin-bottom: 0;
}

.auth-footer-muted a[b-pejifqmr6f] {
    color: var(--text-faint);
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-footer-muted a:hover[b-pejifqmr6f] {
    color: var(--brand-600);
}

.auth-hp[b-pejifqmr6f] {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-captcha-help[b-pejifqmr6f] {
    color: var(--ink-700);
    font-size: 0.9rem;
    margin: 0 0 0.45rem;
}

.auth-captcha-note[b-pejifqmr6f] {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-faint);
    font-size: 0.78rem;
}

.auth-captcha[b-pejifqmr6f] {
    position: relative;
    display: block;
    margin-bottom: 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    line-height: 0;
    background: var(--surface-muted);
}

.auth-captcha-image[b-pejifqmr6f] {
    display: block;
    width: 100%;
    height: auto;
    /* Smoothed rather than nearest-neighbour: the column is rarely exactly the 300px the
       image is rendered at, and blocky edges cost more legibility than blur does. */
    image-rendering: auto;
}

.auth-captcha-refresh[b-pejifqmr6f] {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink-700);
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.auth-captcha-refresh:hover[b-pejifqmr6f] {
    background: #fff;
    color: var(--brand-600);
    transform: rotate(-45deg);
}

.auth-captcha-refresh:focus-visible[b-pejifqmr6f] {
    outline: 0;
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

.auth-captcha-help strong[b-pejifqmr6f] {
    display: inline-block;
    margin-left: 0.15rem;
    padding: 0.1rem 0.45rem;
    border-radius: 0.45rem;
    background: var(--accent-soft);
    color: var(--brand-600);
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .auth-card[b-pejifqmr6f] {
        grid-template-columns: 0.92fr 1.08fr;
    }

    .auth-brand[b-pejifqmr6f] {
        display: block;
    }

    .auth-panel[b-pejifqmr6f] {
        padding: 2.3rem 2rem 1.8rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
.site-header[b-n3qbif5knu] {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(180deg, #131a2e 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.site-header .navbar[b-n3qbif5knu] {
    padding-top: 0;
    padding-bottom: 0;
    min-height: var(--header-h);
}

/* --- Brand --- */
.navbar-brand[b-n3qbif5knu] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-brand:hover[b-n3qbif5knu] {
    color: #fff;
}

/* The badge itself lives in BrandLogo, so reaching it needs ::deep. */
.navbar-brand:hover[b-n3qbif5knu]  .brand-mark {
    transform: rotate(-6deg) scale(1.04);
}

.brand-name-accent[b-n3qbif5knu] {
    color: var(--brand-300);
}

/* --- Nav links --- */
.navbar-nav[b-n3qbif5knu] {
    gap: 0.15rem;
}

.navbar-nav[b-n3qbif5knu]  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 550;
    padding: 0.5rem 0.8rem;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background-color var(--t-fast);
}

.navbar-nav[b-n3qbif5knu]  .nav-link .bi {
    font-size: 0.95rem;
    opacity: 0.8;
}

.navbar-nav[b-n3qbif5knu]  .nav-link:hover,
.navbar-nav[b-n3qbif5knu]  .nav-link:focus-visible {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.navbar-nav[b-n3qbif5knu]  .nav-link.active {
    color: #fff;
    font-weight: 650;
    background-color: rgba(99, 102, 241, 0.28);
}

.navbar-nav[b-n3qbif5knu]  .nav-link.active .bi {
    opacity: 1;
    color: var(--brand-300);
}

/* Admin menu trigger. It sits in this component's own markup, so unlike the
   NavLink-rendered links above it needs no ::deep — but it does need the
   button element reset. */
.admin-trigger[b-n3qbif5knu] {
    border: 0;
    background: transparent;
}

.admin-trigger:focus-visible[b-n3qbif5knu] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
}

.admin-trigger[aria-expanded="true"][b-n3qbif5knu] {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.08);
}

.admin-caret[b-n3qbif5knu] {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform var(--t-fast);
}

.admin-trigger[aria-expanded="true"] .admin-caret[b-n3qbif5knu] {
    transform: rotate(180deg);
}

.navbar-toggler[b-n3qbif5knu] {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-sm);
    padding: 0.35rem 0.6rem;
}

.navbar-toggler:focus[b-n3qbif5knu] {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35);
}

/* --- Right-hand tools --- */
.header-tools[b-n3qbif5knu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.75rem;
}

.header-search[b-n3qbif5knu] {
    position: relative;
}

.header-search .bi[b-n3qbif5knu] {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    pointer-events: none;
}

.header-search input[b-n3qbif5knu] {
    width: 100%;
    padding: 0.42rem 0.75rem 0.42rem 2rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.88rem;
    transition: width var(--t-base), background-color var(--t-fast), border-color var(--t-fast);
}

.header-search input[b-n3qbif5knu]::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.header-search input:focus[b-n3qbif5knu] {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--brand-400);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.header-search input[b-n3qbif5knu]::-webkit-search-cancel-button {
    filter: invert(1) opacity(0.5);
}

/* Auth buttons */
.header-btn[b-n3qbif5knu],
.header-btn-ghost[b-n3qbif5knu] {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--t-fast);
}

.header-btn[b-n3qbif5knu] {
    background: var(--brand-600);
    color: #fff;
    border: 1px solid var(--brand-600);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.header-btn:hover[b-n3qbif5knu] {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    text-decoration: none;
}

.header-btn-ghost[b-n3qbif5knu] {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-btn-ghost:hover[b-n3qbif5knu] {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    text-decoration: none;
}

/* Account dropdown trigger */
.account-trigger[b-n3qbif5knu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 15rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color var(--t-fast), border-color var(--t-fast);
}

.account-trigger:hover[b-n3qbif5knu],
.account-trigger[aria-expanded="true"][b-n3qbif5knu] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

.account-trigger:focus-visible[b-n3qbif5knu] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.4);
}

.account-trigger > .bi-person-circle[b-n3qbif5knu] {
    font-size: 1.1rem;
    color: var(--brand-300);
}

.account-name[b-n3qbif5knu] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-caret[b-n3qbif5knu] {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform var(--t-fast);
}

.account-trigger[aria-expanded="true"] .account-caret[b-n3qbif5knu] {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------------ *
 * Main
 * ------------------------------------------------------------------ */
.site-main[b-n3qbif5knu] {
    padding: 2rem 0 3.5rem;

    /* The body is a 100vh flex column and the footer pushes itself down with margin-top:
       auto, but on a page a little taller than the viewport the footer still landed inside
       it — around y=628 of 823 on a phone — and then jumped 333px when the quiz page
       swapped its placeholder for the interactive panel. Giving main the rest of the
       viewport keeps the footer at or below the fold, so growth pushes it further down
       out of sight instead of shifting something the visitor is looking at. */
    min-height: calc(100vh - var(--header-h));
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.site-footer[b-n3qbif5knu] {
    flex: none;
    margin-top: auto;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.footer-top[b-n3qbif5knu] {
    display: grid;
    gap: 2rem;
    padding: 2.5rem 0 1.75rem;
}

.footer-brand[b-n3qbif5knu] {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    max-width: 30rem;
}

.footer-brand strong[b-n3qbif5knu] {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

.footer-brand p[b-n3qbif5knu] {
    margin: 0;
    line-height: 1.6;
}

.footer-links[b-n3qbif5knu] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.footer-links h2[b-n3qbif5knu] {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.footer-links a[b-n3qbif5knu] {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    padding: 0.22rem 0;
    text-decoration: none;
    transition: color var(--t-fast);
}

.footer-links a:hover[b-n3qbif5knu] {
    color: #fff;
    text-decoration: none;
}

.footer-bottom[b-n3qbif5knu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1.1rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.85rem;

    /* 0.45 measured 4.45:1 against the footer's #0f172a, just under the 4.5:1 AA
       requirement for text this size. 0.55 is 6.1:1. */
    color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------------ *
 * Blazor error strip
 * ------------------------------------------------------------------ */
#blazor-error-ui[b-n3qbif5knu] {
    color-scheme: light only;
    display: none;
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 1080;
    align-items: center;
    gap: 0.6rem;
    width: min(34rem, calc(100vw - 2rem));
    padding: 0.85rem 2.5rem 0.85rem 1.1rem;
    background: #1e293b;
    color: #fff;
    border-radius: var(--r-md);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
    font-size: 0.9rem;
}

#blazor-error-ui .bi[b-n3qbif5knu] {
    color: #fbbf24;
    font-size: 1.1rem;
    flex: none;
}

#blazor-error-ui .reload[b-n3qbif5knu] {
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: underline;
}

#blazor-error-ui .dismiss[b-n3qbif5knu] {
    cursor: pointer;
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

#blazor-error-ui .dismiss:hover[b-n3qbif5knu] {
    opacity: 1;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .header-tools[b-n3qbif5knu] {
        flex-wrap: wrap;
        align-items: stretch;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header-search[b-n3qbif5knu] {
        flex: 1 1 100%;
        order: -1;
        margin-bottom: 0.5rem;
    }

    .header-tools > .dropdown[b-n3qbif5knu],
    .header-btn[b-n3qbif5knu],
    .header-btn-ghost[b-n3qbif5knu] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .account-trigger[b-n3qbif5knu] {
        width: 100%;
        justify-content: center;
        max-width: none;
    }
}

@media (min-width: 992px) {
    .header-search input[b-n3qbif5knu] {
        width: 13rem;
    }

    .header-search input:focus[b-n3qbif5knu] {
        width: 15rem;
    }

    .footer-top[b-n3qbif5knu] {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ca4mi8bjii],
.components-reconnect-repeated-attempt-visible[b-ca4mi8bjii],
.components-reconnect-failed-visible[b-ca4mi8bjii],
.components-pause-visible[b-ca4mi8bjii],
.components-resume-failed-visible[b-ca4mi8bjii],
.components-rejoining-animation[b-ca4mi8bjii] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-retrying[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-failed[b-ca4mi8bjii],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ca4mi8bjii] {
    display: block;
}


#components-reconnect-modal[b-ca4mi8bjii] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ca4mi8bjii 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ca4mi8bjii 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ca4mi8bjii 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ca4mi8bjii]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ca4mi8bjii 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ca4mi8bjii {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ca4mi8bjii {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ca4mi8bjii {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ca4mi8bjii] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ca4mi8bjii] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ca4mi8bjii] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ca4mi8bjii] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ca4mi8bjii] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ca4mi8bjii] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ca4mi8bjii] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ca4mi8bjii 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ca4mi8bjii] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ca4mi8bjii {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Categories.razor.rz.scp.css */
.cat-summary[b-rfko6e162f] {
    margin-bottom: 1.5rem;
}

.cat-table[b-rfko6e162f] {
    min-width: 46rem;
}

/* ------------------------------------------------------------------ *
 * Row identity
 * ------------------------------------------------------------------ */
.cat-identity[b-rfko6e162f] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.cat-icon[b-rfko6e162f] {
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    font-size: 1.1rem;
}

.cat-text[b-rfko6e162f] {
    min-width: 0;
}

.cat-name[b-rfko6e162f] {
    display: inline-block;
    font-weight: 650;
    color: var(--heading);
    text-decoration: none;
}

.cat-name:hover[b-rfko6e162f] {
    color: var(--brand-600);
    text-decoration: none;
}

.cat-desc[b-rfko6e162f] {
    margin: 0.1rem 0 0;
    color: var(--text-muted);
    font-size: 0.83rem;
    line-height: 1.45;
    max-width: 46ch;
}

.cat-desc.is-empty[b-rfko6e162f] {
    color: var(--ink-300);
    font-style: italic;
}

.cat-count[b-rfko6e162f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--r-pill);
    background: var(--ink-100);
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.85rem;
}

.cat-actions[b-rfko6e162f] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.cat-foot[b-rfko6e162f] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ------------------------------------------------------------------ *
 * Editor
 * ------------------------------------------------------------------ */
.cat-preview[b-rfko6e162f] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1.35rem;
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-md);
    background: var(--surface-muted);
}

.cat-preview-icon[b-rfko6e162f] {
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.25rem;
}

.cat-preview > div[b-rfko6e162f] {
    flex: 1;
    min-width: 0;
}

.cat-preview strong[b-rfko6e162f] {
    display: block;
    color: var(--heading);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.cat-preview p[b-rfko6e162f] {
    margin: 0.1rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.cat-optional[b-rfko6e162f] {
    font-weight: 500;
    color: var(--text-faint);
    font-size: 0.8rem;
}

/* ------------------------------------------------------------------ *
 * Icon picker
 * ------------------------------------------------------------------ */
.icon-picker[b-rfko6e162f] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.75rem, 1fr));
    gap: 0.4rem;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface-muted);
}

.icon-choice[b-rfko6e162f] {
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink-600);
    font-size: 1.05rem;
    transition: all var(--t-fast);
}

.icon-choice:hover[b-rfko6e162f] {
    border-color: var(--brand-300);
    background: var(--accent-soft);
    color: var(--brand-700);
    transform: translateY(-1px);
}

.icon-choice:focus-visible[b-rfko6e162f] {
    outline: none;
    box-shadow: var(--ring);
}

.icon-choice.is-active[b-rfko6e162f] {
    border-color: var(--brand-600);
    background: var(--brand-600);
    color: #fff;
}

/* ------------------------------------------------------------------ *
 * Delete / reassign
 * ------------------------------------------------------------------ */
.cat-move[b-rfko6e162f] {
    padding: 0.95rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--warning-soft);
}

.cat-move-lead[b-rfko6e162f] {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    color: #92400e;
    font-size: 0.88rem;
    line-height: 1.5;
}

.cat-move-lead .bi[b-rfko6e162f] {
    margin-top: 0.15rem;
    flex: none;
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
.user-summary[b-dtnsb1tslj] {
    margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------ *
 * Toolbar
 * ------------------------------------------------------------------ */
.user-toolbar[b-dtnsb1tslj] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.user-search[b-dtnsb1tslj] {
    position: relative;
    flex: 1 1 16rem;
    max-width: 22rem;
}

.user-search .bi[b-dtnsb1tslj] {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    font-size: 0.9rem;
    pointer-events: none;
}

.user-search .form-control[b-dtnsb1tslj] {
    padding-left: 2.2rem;
    border-radius: var(--r-pill);
}

.chip-count[b-dtnsb1tslj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    margin-left: 0.15rem;
    padding: 0 0.3rem;
    border-radius: var(--r-pill);
    background: var(--ink-100);
    color: var(--ink-600);
    font-size: 0.72rem;
    font-weight: 700;
}

.chip.is-active .chip-count[b-dtnsb1tslj] {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ------------------------------------------------------------------ *
 * Table
 * ------------------------------------------------------------------ */
.user-table[b-dtnsb1tslj] {
    min-width: 56rem;
}

.user-identity[b-dtnsb1tslj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.user-text[b-dtnsb1tslj] {
    min-width: 0;
}

.user-name[b-dtnsb1tslj] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 650;
    color: var(--heading);
    text-decoration: none;
}

.user-name:hover[b-dtnsb1tslj] {
    color: var(--brand-600);
    text-decoration: none;
}

.user-you[b-dtnsb1tslj] {
    background: var(--ink-800);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.1rem 0.45rem;
}

.user-email[b-dtnsb1tslj] {
    margin: 0.05rem 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 20rem;
}

.user-roles[b-dtnsb1tslj] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.user-count[b-dtnsb1tslj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--r-pill);
    background: var(--ink-100);
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.85rem;
}

.user-actions[b-dtnsb1tslj] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.user-foot[b-dtnsb1tslj] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ------------------------------------------------------------------ *
 * Modals
 * ------------------------------------------------------------------ */
.user-modal-head[b-dtnsb1tslj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface-muted);
}

.user-modal-head strong[b-dtnsb1tslj] {
    display: block;
    color: var(--heading);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.user-modal-head p[b-dtnsb1tslj] {
    margin: 0.05rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.user-role-check[b-dtnsb1tslj] {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 0.5rem;
}

.user-role-check .form-check-label[b-dtnsb1tslj] {
    display: block;
    padding-left: 0.15rem;
}

.user-role-check strong[b-dtnsb1tslj] {
    display: block;
    color: var(--heading);
    font-weight: 650;
    font-size: 0.94rem;
}

.user-role-check span[b-dtnsb1tslj] {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.user-optional[b-dtnsb1tslj] {
    font-weight: 500;
    color: var(--text-faint);
    font-size: 0.8rem;
}

.user-invite-lead[b-dtnsb1tslj] {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.user-invite-link[b-dtnsb1tslj] {
    font-size: 0.8rem;
    line-height: 1.5;
    word-break: break-all;
}

/* Blocked-delete explanation */
.user-blocked[b-dtnsb1tslj] {
    padding: 0.95rem 1.05rem;
    border: 1px solid #fde68a;
    border-radius: var(--r-md);
    background: var(--warning-soft);
    color: #92400e;
    font-size: 0.88rem;
    line-height: 1.55;
}

.user-blocked p[b-dtnsb1tslj] {
    margin-bottom: 0.6rem;
}

.user-blocked-lead[b-dtnsb1tslj] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}

.user-consequences[b-dtnsb1tslj] {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
    display: grid;
    gap: 0.4rem;
}

.user-consequences li[b-dtnsb1tslj] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--ink-700);
    font-size: 0.88rem;
}

.user-consequences .bi-check2[b-dtnsb1tslj] {
    color: var(--success);
}

.user-consequences .bi-x-lg[b-dtnsb1tslj] {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}
/* /Components/Pages/Error.razor.rz.scp.css */
.error-shell[b-rycqjx6m35] {
    max-width: 36rem;
    margin: 2rem auto;
}

.error-shell .empty-state > .bi[b-rycqjx6m35] {
    color: var(--danger);
    opacity: 0.7;
}

.error-request[b-rycqjx6m35] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    margin-bottom: 1.25rem;
    border-radius: var(--r-sm);
    background: var(--surface-muted);
    border: 1px solid var(--border);
}

.error-request span[b-rycqjx6m35] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.error-request code[b-rycqjx6m35] {
    color: var(--ink-700);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.hero[b-b6q7wp5lbu] {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 45%, #6366f1 100%);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

/* Soft light bloom, top-right. */
.hero[b-b6q7wp5lbu]::before {
    content: "";
    position: absolute;
    top: -55%;
    right: -12%;
    width: 60%;
    height: 170%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 62%);
    pointer-events: none;
}

/* Subtle grid texture so the flat gradient has some depth. */
.hero[b-b6q7wp5lbu]::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero-inner[b-b6q7wp5lbu] {
    position: relative;
    z-index: 1;
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
}

.hero-badge[b-b6q7wp5lbu] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-badge .bi[b-b6q7wp5lbu] {
    color: #fcd34d;
}

.hero-title[b-b6q7wp5lbu] {
    color: #fff;
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 0.9rem;
}

.hero-subtitle[b-b6q7wp5lbu] {
    max-width: 46ch;
    margin: 0 auto 1.9rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-actions[b-b6q7wp5lbu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-btn[b-b6q7wp5lbu],
.hero-btn-ghost[b-b6q7wp5lbu] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-pill);
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform var(--t-base), box-shadow var(--t-base), background-color var(--t-fast);
}

.hero-btn[b-b6q7wp5lbu] {
    background: #fff;
    color: var(--brand-700);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.hero-btn:hover[b-b6q7wp5lbu] {
    color: var(--brand-800);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.28);
}

.hero-btn-ghost[b-b6q7wp5lbu] {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #fff;
}

.hero-btn-ghost:hover[b-b6q7wp5lbu] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-figures[b-b6q7wp5lbu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.75rem;
    margin: 2.25rem 0 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-figures div[b-b6q7wp5lbu] {
    min-width: 6rem;
}

.hero-figures dt[b-b6q7wp5lbu] {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-figures dd[b-b6q7wp5lbu] {
    margin: 0.15rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 500;
}

/* ------------------------------------------------------------------ *
 * Sections
 * ------------------------------------------------------------------ */
.home-section[b-b6q7wp5lbu] {
    margin-bottom: 3rem;
}

.home-section:last-child[b-b6q7wp5lbu] {
    margin-bottom: 0;
}

.section-link[b-b6q7wp5lbu] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-600);
    text-decoration: none;
}

.section-link:hover[b-b6q7wp5lbu] {
    color: var(--brand-700);
    text-decoration: none;
}

.section-link .bi[b-b6q7wp5lbu] {
    transition: transform var(--t-fast);
}

.section-link:hover .bi[b-b6q7wp5lbu] {
    transform: translateX(3px);
}

/* ------------------------------------------------------------------ *
 * Leaderboards
 * ------------------------------------------------------------------ */
.home-boards[b-b6q7wp5lbu] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.home-board[b-b6q7wp5lbu] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t-base);
}

.home-board:hover[b-b6q7wp5lbu] {
    box-shadow: var(--shadow-md);
}

.home-board-head[b-b6q7wp5lbu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.home-board-head h3[b-b6q7wp5lbu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.home-board-head h3 .bi[b-b6q7wp5lbu] {
    width: 2.1rem;
    height: 2.1rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: var(--grad-brand);
    color: #fff;
    font-size: 0.95rem;
}

.home-board-head span[b-b6q7wp5lbu] {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.home-board-empty[b-b6q7wp5lbu] {
    margin: 0;
    padding: 1.75rem 1rem;
    text-align: center;
    color: var(--text-faint);
    background: var(--surface-muted);
    border-radius: var(--r-md);
    font-size: 0.9rem;
}

.home-board-list[b-b6q7wp5lbu] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-board-list li[b-b6q7wp5lbu] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: var(--r-sm);
    transition: background-color var(--t-fast);
}

.home-board-list li + li[b-b6q7wp5lbu] {
    border-top: 1px solid var(--ink-100);
}

.home-board-list li:hover[b-b6q7wp5lbu] {
    background-color: var(--surface-muted);
}

.home-rank[b-b6q7wp5lbu] {
    width: 2rem;
    height: 2rem;
    flex: none;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--ink-100);
    color: var(--ink-500);
}

.home-rank.rank-1[b-b6q7wp5lbu] {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.home-rank.rank-2[b-b6q7wp5lbu] {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    color: #fff;
}

.home-rank.rank-3[b-b6q7wp5lbu] {
    background: linear-gradient(135deg, #d6a179 0%, #a16207 100%);
    color: #fff;
}

.home-board-person[b-b6q7wp5lbu],
.home-board-quiz[b-b6q7wp5lbu] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.home-board-person:hover[b-b6q7wp5lbu],
.home-board-quiz:hover[b-b6q7wp5lbu] {
    text-decoration: none;
}

.home-board-person > span[b-b6q7wp5lbu],
.home-board-quiz[b-b6q7wp5lbu] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.home-board-person strong[b-b6q7wp5lbu],
.home-board-quiz strong[b-b6q7wp5lbu] {
    font-size: 0.95rem;
    color: var(--heading);
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color var(--t-fast);
}

.home-board-person small[b-b6q7wp5lbu],
.home-board-quiz small[b-b6q7wp5lbu] {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.home-board-person:hover strong[b-b6q7wp5lbu],
.home-board-quiz:hover strong[b-b6q7wp5lbu] {
    color: var(--brand-600);
}

/* ------------------------------------------------------------------ *
 * Category tiles
 * ------------------------------------------------------------------ */
.cat-grid[b-b6q7wp5lbu] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.9rem;
}

.cat-tile[b-b6q7wp5lbu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
    padding: 1.4rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}

.cat-tile:hover[b-b6q7wp5lbu] {
    text-decoration: none;
    transform: translateY(-3px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-md);
}

.cat-tile-icon[b-b6q7wp5lbu] {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    border-radius: var(--r-md);
    background: var(--grad-brand-soft);
    color: var(--brand-600);
    font-size: 1.35rem;
    transition: background var(--t-base), color var(--t-base);
}

.cat-tile:hover .cat-tile-icon[b-b6q7wp5lbu] {
    background: var(--grad-brand);
    color: #fff;
}

.cat-tile-name[b-b6q7wp5lbu] {
    color: var(--heading);
    font-weight: 650;
    font-size: 0.95rem;
    line-height: 1.35;
}

.cat-tile-count[b-b6q7wp5lbu] {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (min-width: 576px) {
    .hero-inner[b-b6q7wp5lbu] {
        padding: 3.75rem 2.5rem 3rem;
    }
}

@media (min-width: 900px) {
    .home-boards[b-b6q7wp5lbu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .hero-inner[b-b6q7wp5lbu] {
        padding: 4.5rem 3rem 3.25rem;
    }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.notfound[b-7cvb4rm5jc] {
    max-width: 34rem;
    margin: 2rem auto;
    padding: 3rem 1.5rem;
}

.notfound-code[b-7cvb4rm5jc] {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* /Components/Pages/Quizzes/MyQuizzes.razor.rz.scp.css */
.mq-table[b-4k8ysv19cb] {
    min-width: 44rem;
}

.mq-title[b-4k8ysv19cb] {
    font-weight: 650;
    color: var(--heading);
    text-decoration: none;
}

.mq-title:hover[b-4k8ysv19cb] {
    color: var(--brand-600);
    text-decoration: none;
}

.mq-meta[b-4k8ysv19cb] {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.mq-status[b-4k8ysv19cb] {
    margin-left: 0.15rem;
}

.mq-count[b-4k8ysv19cb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--r-pill);
    background: var(--ink-100);
    color: var(--ink-700);
    font-weight: 700;
    font-size: 0.85rem;
}

.mq-actions[b-4k8ysv19cb] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}
/* /Components/Pages/Quizzes/MyResults.razor.rz.scp.css */
.result-summary[b-affkrle2ao] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.result-list[b-affkrle2ao] {
    display: grid;
    gap: 0.6rem;
}

.result-row[b-affkrle2ao] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    text-decoration: none;
    color: inherit;
    transition: transform var(--t-fast), box-shadow var(--t-base), border-color var(--t-fast);
}

.result-row:hover[b-affkrle2ao] {
    text-decoration: none;
    transform: translateX(3px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-md);
}

.result-row-main[b-affkrle2ao] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 14rem;
}

.result-row-main strong[b-affkrle2ao] {
    color: var(--heading);
    font-weight: 650;
    font-size: 0.98rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--t-fast);
}

.result-row:hover .result-row-main strong[b-affkrle2ao] {
    color: var(--brand-600);
}

.result-row-main small[b-affkrle2ao] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.result-row-end[b-affkrle2ao] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-bar[b-affkrle2ao] {
    display: none;
    width: 7rem;
    height: 0.4rem;
    border-radius: var(--r-pill);
    background: var(--ink-100);
    overflow: hidden;
}

.result-bar-fill[b-affkrle2ao] {
    display: block;
    height: 100%;
    border-radius: var(--r-pill);
    background: var(--brand-500);
    transition: width var(--t-base);
}

.result-bar-fill.is-strong[b-affkrle2ao] { background: var(--success); }
.result-bar-fill.is-mid[b-affkrle2ao] { background: var(--warning); }
.result-bar-fill.is-weak[b-affkrle2ao] { background: var(--danger); }

.result-chevron[b-affkrle2ao] {
    color: var(--ink-300);
    font-size: 0.85rem;
    transition: transform var(--t-fast), color var(--t-fast);
}

.result-row:hover .result-chevron[b-affkrle2ao] {
    color: var(--brand-500);
    transform: translateX(2px);
}

@media (min-width: 576px) {
    .result-bar[b-affkrle2ao] {
        display: block;
    }
}
/* /Components/Pages/Quizzes/Result.razor.rz.scp.css */
/* ------------------------------------------------------------------ *
 * Score card
 * ------------------------------------------------------------------ */
.score-card[b-91h24otchu] {
    --band: var(--brand-600);
    --band-soft: var(--accent-soft);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.score-card[b-91h24otchu]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--band);
}

.score-card.is-strong[b-91h24otchu] { --band: var(--success); --band-soft: var(--success-soft); }
.score-card.is-mid[b-91h24otchu] { --band: var(--warning); --band-soft: var(--warning-soft); }
.score-card.is-weak[b-91h24otchu] { --band: var(--danger); --band-soft: var(--danger-soft); }

/* --- Ring --- */
.score-ring-wrap[b-91h24otchu] {
    position: relative;
    width: 9.5rem;
    height: 9.5rem;
    flex: none;
}

.score-ring[b-91h24otchu] {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring circle[b-91h24otchu] {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
}

.score-ring-track[b-91h24otchu] {
    stroke: var(--ink-200);
}

.score-ring-fill[b-91h24otchu] {
    stroke: var(--band);
    transition: stroke-dashoffset 0.8s var(--ease);
}

.score-ring-text[b-91h24otchu] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.score-ring-text strong[b-91h24otchu] {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--heading);
}

.score-ring-text strong span[b-91h24otchu] {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-left: 0.05rem;
}

.score-ring-text small[b-91h24otchu] {
    margin-top: 0.2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Detail --- */
.score-detail[b-91h24otchu] {
    min-width: 0;
    flex: 1;
}

.score-verdict[b-91h24otchu] {
    display: inline-block;
    padding: 0.28rem 0.85rem;
    margin-bottom: 0.75rem;
    border-radius: var(--r-pill);
    background: var(--band-soft);
    color: var(--band);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-detail h1[b-91h24otchu] {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    overflow-wrap: anywhere;
}

.score-meta[b-91h24otchu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
}

.score-dot[b-91h24otchu] {
    color: var(--ink-300);
    margin: 0 0.2rem;
}

.score-tally[b-91h24otchu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.score-tally-item[b-91h24otchu] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    color: var(--ink-700);
    background: var(--ink-50);
    border: 1px solid var(--border);
}

.score-tally-item strong[b-91h24otchu] {
    font-weight: 750;
    color: var(--heading);
}

.score-tally-item.is-right i[b-91h24otchu] { color: var(--success); }
.score-tally-item.is-wrong i[b-91h24otchu] { color: var(--danger); }

.score-note[b-91h24otchu] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.score-actions[b-91h24otchu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

/* ------------------------------------------------------------------ *
 * Answer review
 * ------------------------------------------------------------------ */
.review-head[b-91h24otchu] {
    margin-top: 2.25rem;
}

.review-list[b-91h24otchu] {
    display: grid;
    gap: 0.75rem;
}

.review-item[b-91h24otchu] {
    position: relative;
    padding: 1.15rem 1.25rem 1.15rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
}

/* Colour rail down the left edge. */
.review-item[b-91h24otchu]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    bottom: 0.9rem;
    width: 3px;
    border-radius: 0 var(--r-pill) var(--r-pill) 0;
}

.review-item.is-correct[b-91h24otchu]::before { background: var(--success); }
.review-item.is-incorrect[b-91h24otchu]::before { background: var(--danger); }

.review-item-head[b-91h24otchu] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.review-number[b-91h24otchu] {
    width: 1.75rem;
    height: 1.75rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-xs);
    background: var(--ink-100);
    color: var(--ink-600);
    font-size: 0.78rem;
    font-weight: 700;
}

.review-question[b-91h24otchu] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.5;
    color: var(--heading);
}

.review-verdict[b-91h24otchu] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: none;
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.review-item.is-correct .review-verdict[b-91h24otchu] {
    background: var(--success-soft);
    color: var(--success);
}

.review-item.is-incorrect .review-verdict[b-91h24otchu] {
    background: var(--danger-soft);
    color: var(--danger);
}

.review-answers[b-91h24otchu] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.review-answers li[b-91h24otchu] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--ink-50);
}

.review-answers li > i[b-91h24otchu] {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    flex: none;
}

.review-answers li.is-right[b-91h24otchu] {
    background: var(--success-soft);
    border-color: #a7f3d0;
}

.review-answers li.is-right > i[b-91h24otchu] { color: var(--success); }

.review-answers li.is-wrong[b-91h24otchu] {
    background: var(--danger-soft);
    border-color: #fecaca;
}

.review-answers li.is-wrong > i[b-91h24otchu] { color: var(--danger); }

.review-answers li span[b-91h24otchu] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.review-answers small[b-91h24otchu] {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-answers strong[b-91h24otchu] {
    color: var(--heading);
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (min-width: 768px) {
    .score-card[b-91h24otchu] {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 2.25rem;
        padding: 2.25rem 2.25rem;
    }

    .score-meta[b-91h24otchu],
    .score-tally[b-91h24otchu],
    .score-actions[b-91h24otchu] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Quizzes/Take.razor.rz.scp.css */
.quiz-take[b-1h442h20o7] {
    max-width: 46rem;
    margin: 0 auto;
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
/* Stacked on narrow screens so the title gets the full width. */
.quiz-take-top[b-1h442h20o7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.quiz-category[b-1h442h20o7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.7rem;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--brand-700);
    font-size: 0.78rem;
    font-weight: 650;
}

.quiz-title[b-1h442h20o7] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.6rem 0 0;
    letter-spacing: -0.02em;
    color: var(--heading);
    line-height: 1.3;
}

/* ------------------------------------------------------------------ *
 * Progress
 * ------------------------------------------------------------------ */
.quiz-progress[b-1h442h20o7] {
    margin-bottom: 1.4rem;
}

.quiz-progress-label[b-1h442h20o7] {
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--ink-600);
}

.quiz-progress-pct[b-1h442h20o7] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-600);
}

.quiz-progress-track[b-1h442h20o7] {
    height: 0.5rem;
    background: var(--ink-100);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.quiz-progress-fill[b-1h442h20o7] {
    height: 100%;
    border-radius: var(--r-pill);
    background: var(--grad-brand);
    transition: width 0.4s var(--ease);
}

/* ------------------------------------------------------------------ *
 * Guest name
 * ------------------------------------------------------------------ */
.quiz-guest[b-1h442h20o7] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--text-muted);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.quiz-guest:focus-within[b-1h442h20o7] {
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

.quiz-guest[b-1h442h20o7]  .form-control {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
}

/* ------------------------------------------------------------------ *
 * Question panel
 * ------------------------------------------------------------------ */
.quiz-panel[b-1h442h20o7] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.6rem 1.5rem 1.4rem;
    box-shadow: var(--shadow-md);
    animation: quiz-in-b-1h442h20o7 0.3s var(--ease);
}

.quiz-kicker[b-1h442h20o7] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.quiz-question[b-1h442h20o7] {
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.45;
    color: var(--heading);
    margin-bottom: 1.35rem;
}

.quiz-options[b-1h442h20o7] {
    display: grid;
    gap: 0.65rem;
}

.quiz-option[b-1h442h20o7] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink-800);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--t-fast), background-color var(--t-fast),
                box-shadow var(--t-base), transform var(--t-fast);
}

.quiz-option:hover[b-1h442h20o7] {
    border-color: var(--brand-300);
    background: var(--accent-soft);
    transform: translateX(2px);
}

.quiz-option:focus-visible[b-1h442h20o7] {
    outline: 0;
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

.quiz-option.is-selected[b-1h442h20o7] {
    border-color: var(--brand-600);
    background: var(--accent-soft);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.16);
}

.quiz-option-letter[b-1h442h20o7] {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: var(--ink-100);
    color: var(--ink-600);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.quiz-option:hover .quiz-option-letter[b-1h442h20o7] {
    background: var(--brand-100);
    color: var(--brand-700);
}

.quiz-option.is-selected .quiz-option-letter[b-1h442h20o7] {
    background: var(--brand-600);
    color: #fff;
}

.quiz-option-text[b-1h442h20o7] {
    flex: 1;
    font-size: 0.98rem;
    line-height: 1.45;
}

.quiz-option-check[b-1h442h20o7] {
    color: var(--brand-600);
    font-size: 1.15rem;
    flex: none;
}

/* ------------------------------------------------------------------ *
 * Actions
 * ------------------------------------------------------------------ */
.quiz-actions[b-1h442h20o7] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.quiz-next[b-1h442h20o7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--brand-600);
    border: 0;
    color: #fff;
    font-weight: 650;
    padding: 0.8rem 1.5rem;
    border-radius: var(--r-md);
    font-size: 1.02rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
    transition: background-color var(--t-fast), box-shadow var(--t-base), transform var(--t-fast);
}

.quiz-next:hover:not(:disabled)[b-1h442h20o7] {
    background: var(--brand-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.34);
}

.quiz-next:disabled[b-1h442h20o7] {
    background: var(--ink-200);
    color: var(--ink-400);
    box-shadow: none;
}

.quiz-hint[b-1h442h20o7] {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes quiz-in-b-1h442h20o7 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 576px) {
    .quiz-take-top[b-1h442h20o7] {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }

    .quiz-actions[b-1h442h20o7] {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    }

    .quiz-next[b-1h442h20o7] {
        min-width: 14rem;
    }

    .quiz-hint[b-1h442h20o7] {
        text-align: left;
    }
}

/* ------------------------------------------------------------------ *
 * Round setup — shown before the first question on longer quizzes
 * ------------------------------------------------------------------ */
.quiz-setup[b-1h442h20o7] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.6rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    animation: quiz-in-b-1h442h20o7 0.3s var(--ease);
}

.quiz-setup-title[b-1h442h20o7] {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--heading);
    margin: 0 0 0.35rem;
}

.quiz-setup-sub[b-1h442h20o7] {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.15rem;
}

.quiz-length-grid[b-1h442h20o7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: 0.65rem;
}

.quiz-length[b-1h442h20o7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.8rem 0.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink-800);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--t-fast), background-color var(--t-fast),
                box-shadow var(--t-base), transform var(--t-fast);
}

.quiz-length strong[b-1h442h20o7] {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.quiz-length small[b-1h442h20o7] {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.quiz-length:hover[b-1h442h20o7] {
    border-color: var(--brand-300);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.quiz-length:focus-visible[b-1h442h20o7] {
    outline: 0;
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

.quiz-length.is-selected[b-1h442h20o7] {
    border-color: var(--brand-600);
    background: var(--accent-soft);
    color: var(--brand-700);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.16);
}

.quiz-length.is-selected small[b-1h442h20o7] {
    color: var(--brand-600);
}

.quiz-setup-note[b-1h442h20o7] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: var(--r-md);
    background: var(--surface-muted);
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.quiz-setup-note i[b-1h442h20o7] {
    color: var(--brand-500);
    margin-top: 0.12rem;
}

.quiz-setup-start[b-1h442h20o7] {
    width: 100%;
    margin-top: 1.35rem;
}

@media (min-width: 576px) {
    .quiz-setup-start[b-1h442h20o7] {
        width: auto;
        min-width: 14rem;
    }
}

/* ------------------------------------------------------------------ *
 * Intro — what the prerendered page shows before the circuit connects
 * ------------------------------------------------------------------ */
.quiz-intro-desc[b-1h442h20o7] {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0.35rem 0 1.15rem;
}

.quiz-intro-facts[b-1h442h20o7] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.quiz-intro-facts li[b-1h442h20o7] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: var(--r-md);
    background: var(--surface-muted);
    color: var(--ink-800);
    font-size: 0.84rem;
    font-weight: 600;
}

.quiz-intro-facts i[b-1h442h20o7] {
    color: var(--brand-500);
}

.quiz-intro-by[b-1h442h20o7] {
    margin: 1.1rem 0 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}
/* /Components/Pages/Users/Profile.razor.rz.scp.css */
/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.profile-hero[b-1exebojyto] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-sm);
}

.profile-identity[b-1exebojyto] {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    min-width: 0;
}

.profile-avatar-wrap[b-1exebojyto] {
    position: relative;
    flex: none;
}

.profile-avatar-form[b-1exebojyto] {
    position: absolute;
    right: -0.3rem;
    bottom: -0.3rem;
    margin: 0;
}

.profile-avatar-edit[b-1exebojyto] {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: var(--r-pill);
    background: var(--ink-900);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    transition: background-color var(--t-fast), transform var(--t-fast);
}

.profile-avatar-edit:hover[b-1exebojyto] {
    background: var(--brand-600);
    transform: scale(1.08);
}

.profile-avatar-edit input[b-1exebojyto] {
    display: none;
}

.profile-kicker[b-1exebojyto] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-faint);
    margin-bottom: 0.2rem;
}

.profile h1[b-1exebojyto] {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading);
    margin: 0 0 0.2rem;
    overflow-wrap: anywhere;
}

.profile-email[b-1exebojyto] {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.profile-meta[b-1exebojyto] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.profile-meta strong[b-1exebojyto] {
    color: var(--heading);
    font-weight: 700;
}

.profile-actions[b-1exebojyto] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.profile-btn[b-1exebojyto],
.profile-btn-ghost[b-1exebojyto] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: var(--r-sm);
    font-weight: 650;
    font-size: 0.92rem;
    padding: 0.55rem 1.05rem;
    text-decoration: none;
    transition: all var(--t-fast);
}

.profile-btn[b-1exebojyto] {
    background: var(--brand-600);
    color: #fff;
    border: 1px solid var(--brand-600);
    box-shadow: var(--shadow-xs);
}

.profile-btn:hover:not(:disabled)[b-1exebojyto] {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: #fff;
    text-decoration: none;
}

.profile-btn-ghost[b-1exebojyto] {
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-700);
}

.profile-btn-ghost:hover:not(:disabled)[b-1exebojyto] {
    background: var(--ink-100);
    color: var(--ink-900);
    text-decoration: none;
}

/* ------------------------------------------------------------------ *
 * Stats
 * ------------------------------------------------------------------ */
.profile-stats[b-1exebojyto] {
    margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------------ *
 * Tabs
 * ------------------------------------------------------------------ */
.profile-tabs[b-1exebojyto] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.profile-tabs button[b-1exebojyto] {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-700);
    border-radius: var(--r-pill);
    padding: 0.42rem 1.05rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--t-fast);
}

.profile-tabs button:hover:not(.active)[b-1exebojyto] {
    border-color: var(--brand-200);
    background: var(--accent-soft);
    color: var(--brand-700);
}

.profile-tabs button.active[b-1exebojyto] {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.profile-tabs button:focus-visible[b-1exebojyto] {
    outline: none;
    box-shadow: var(--ring);
}

/* ------------------------------------------------------------------ *
 * Panels
 * ------------------------------------------------------------------ */
.profile-panel[b-1exebojyto] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-sm);
}

.profile-panel-head[b-1exebojyto] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.profile-panel-head h2[b-1exebojyto] {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0;
}

.profile-panel-head span[b-1exebojyto] {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.profile-empty[b-1exebojyto] {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0.5rem;
}

.profile-empty .bi[b-1exebojyto] {
    display: block;
    font-size: 1.9rem;
    color: var(--ink-300);
    margin-bottom: 0.6rem;
}

.profile-empty p[b-1exebojyto] {
    margin-bottom: 1rem;
}

/* ------------------------------------------------------------------ *
 * People grid
 * ------------------------------------------------------------------ */
.profile-people[b-1exebojyto] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 0.6rem;
}

.profile-person[b-1exebojyto] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--heading);
    font-weight: 600;
    font-size: 0.92rem;
    min-width: 0;
    transition: all var(--t-fast);
}

.profile-person > span[b-1exebojyto] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-person:hover[b-1exebojyto] {
    background: var(--surface-muted);
    border-color: var(--brand-200);
    color: var(--brand-700);
    text-decoration: none;
}
/* /Components/Shared/BrandLogo.razor.rz.scp.css */
.brand-mark[b-mqcpwtifsh] {
    width: 2rem;
    height: 2rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    /* Gloss over the brand gradient, so the badge reads as a lit surface. */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 62%), var(--grad-brand);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.brand-mark.lg[b-mqcpwtifsh] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--r-md);
}

.brand-mark.xl[b-mqcpwtifsh] {
    width: 3rem;
    height: 3rem;
    border-radius: var(--r-md);
}

.brand-mark.sm[b-mqcpwtifsh] {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: var(--r-xs);
}

/* For panels that are already brand-coloured, where the gradient badge would sink in. */
.brand-mark.ghost[b-mqcpwtifsh] {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-mark svg[b-mqcpwtifsh] {
    width: 100%;
    height: 100%;
    display: block;
}

.brand-ring[b-mqcpwtifsh],
.brand-check[b-mqcpwtifsh] {
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-ring[b-mqcpwtifsh] {
    stroke-width: 3.9;
}

.brand-check[b-mqcpwtifsh] {
    stroke-width: 4.1;
}
/* /Components/Shared/QuestionSearchResults.razor.rz.scp.css */
/* Question search results and the practice modal.
   ::deep is needed wherever the element comes from <RichContent>: that markup belongs to
   another component, so this file's scope attribute is never on it. */

.qsearch[b-ty6064ukcg] {
    margin-top: 2rem;
}

.qsearch-empty[b-ty6064ukcg] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
}

.qsearch-empty .bi[b-ty6064ukcg] {
    color: var(--text-faint);
}

.qsearch-list[b-ty6064ukcg] {
    display: grid;
    gap: 0.75rem;
}

.qsearch-item[b-ty6064ukcg] {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: var(--surface);
    padding: 1rem 1.15rem;
    transition: border-color var(--t-fast), box-shadow var(--t-base);
}

.qsearch-item:hover[b-ty6064ukcg] {
    border-color: var(--brand-200);
    box-shadow: var(--shadow-sm);
}

.qsearch-meta[b-ty6064ukcg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
}

.qsearch-cat[b-ty6064ukcg] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--brand-700);
    font-weight: 600;
}

.qsearch-quiz[b-ty6064ukcg] {
    color: var(--text-muted);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 22rem;
}

.qsearch-quiz:hover[b-ty6064ukcg] {
    color: var(--brand-600);
    text-decoration: underline;
}

[b-ty6064ukcg] .qsearch-text {
    color: var(--heading);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* A question written around a diagram should not turn the result list into a gallery. */
[b-ty6064ukcg] .qsearch-text img {
    max-height: 8rem;
    width: auto;
}

.qsearch-play[b-ty6064ukcg] {
    align-self: flex-start;
}

.qsearch-more[b-ty6064ukcg] {
    margin: 0.9rem 0 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ------------------------------------------------------------------ *
 * Practice modal
 * ------------------------------------------------------------------ */
.qsearch-modal .modal-title[b-ty6064ukcg] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
}

.qsearch-modal-quiz[b-ty6064ukcg] {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.82rem;
}

.qsearch-kicker[b-ty6064ukcg] {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-faint);
}

[b-ty6064ukcg] .qsearch-question {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--heading);
    line-height: 1.55;
    margin-bottom: 1.1rem;
}

.qsearch-options[b-ty6064ukcg] {
    display: grid;
    gap: 0.5rem;
}

.qsearch-option[b-ty6064ukcg] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    text-align: left;
    transition: all var(--t-fast);
}

.qsearch-option:not(:disabled):hover[b-ty6064ukcg] {
    border-color: var(--brand-400);
    background: var(--accent-soft);
}

.qsearch-option:disabled[b-ty6064ukcg] {
    /* Answered: the buttons stay readable rather than greying out. */
    opacity: 1;
    cursor: default;
}

.qsearch-option.is-correct[b-ty6064ukcg] {
    border-color: var(--success);
    background: var(--success-soft);
}

.qsearch-option.is-wrong[b-ty6064ukcg] {
    border-color: var(--danger);
    background: #fef2f2;
}

.qsearch-option.is-dim[b-ty6064ukcg] {
    opacity: 0.6;
}

.qsearch-letter[b-ty6064ukcg] {
    width: 1.8rem;
    height: 1.8rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-xs);
    border: 1px solid var(--border);
    background: var(--ink-50);
    color: var(--ink-600);
    font-size: 0.8rem;
    font-weight: 700;
}

.qsearch-option.is-correct .qsearch-letter[b-ty6064ukcg] {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.qsearch-option.is-wrong .qsearch-letter[b-ty6064ukcg] {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

.qsearch-option-text[b-ty6064ukcg] {
    flex: 1;
    min-width: 0;
    color: var(--ink-800);
    overflow-wrap: anywhere;
}

.qsearch-mark[b-ty6064ukcg] {
    flex: none;
    font-size: 1.05rem;
}

.qsearch-option.is-correct .qsearch-mark[b-ty6064ukcg] {
    color: var(--success);
}

.qsearch-option.is-wrong .qsearch-mark[b-ty6064ukcg] {
    color: var(--danger);
}

.qsearch-verdict[b-ty6064ukcg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--r-sm);
    font-size: 0.92rem;
}

.qsearch-verdict.is-correct[b-ty6064ukcg] {
    background: var(--success-soft);
    color: #065f46;
}

.qsearch-verdict.is-wrong[b-ty6064ukcg] {
    background: #fef2f2;
    color: #991b1b;
}
/* /Components/Shared/QuizCard.razor.rz.scp.css */
.quiz-card[b-aiq8u3x4pq] {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.15rem 1.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-fast);
}

/* Brand accent that reveals on hover. */
.quiz-card[b-aiq8u3x4pq]::before {
    content: "";
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 var(--r-pill) var(--r-pill);
    background: var(--grad-brand);
    opacity: 0;
    transition: opacity var(--t-base);
}

.quiz-card:hover[b-aiq8u3x4pq] {
    transform: translateY(-3px);
    border-color: var(--brand-200);
    box-shadow: var(--shadow-lg);
}

.quiz-card:hover[b-aiq8u3x4pq]::before {
    opacity: 1;
}

.quiz-card-top[b-aiq8u3x4pq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.quiz-card-cat[b-aiq8u3x4pq] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 75%;
    padding: 0.22rem 0.7rem;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--brand-700);
    font-size: 0.75rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quiz-card-cat i[b-aiq8u3x4pq] {
    font-size: 0.85em;
}

.quiz-card-qs[b-aiq8u3x4pq] {
    flex: none;
    color: var(--text-faint);
    font-size: 0.75rem;
    font-weight: 650;
}

.quiz-card-title[b-aiq8u3x4pq] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--heading);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quiz-card-desc-wrap[b-aiq8u3x4pq] {
    position: relative;
    min-width: 0;
    margin-top: 0.15rem;
}

.quiz-card-desc[b-aiq8u3x4pq] {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.quiz-card-desc.is-empty[b-aiq8u3x4pq] {
    font-style: italic;
    color: var(--ink-300);
}

.quiz-card-tip[b-aiq8u3x4pq] {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    z-index: 8;
    width: max-content;
    max-width: min(25rem, 70vw);
    padding: 0.7rem 0.95rem;
    background: var(--ink-800);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.6;
    white-space: normal;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}

.quiz-card-desc-wrap.has-tip:hover .quiz-card-tip[b-aiq8u3x4pq] {
    display: block;
}

.quiz-card-owner[b-aiq8u3x4pq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    margin-top: 0.3rem;
    text-decoration: none;
    color: var(--ink-700);
    font-size: 0.84rem;
    font-weight: 600;
}

.quiz-card-owner:hover[b-aiq8u3x4pq] {
    text-decoration: none;
}

.quiz-card-owner:hover .quiz-card-owner-name[b-aiq8u3x4pq] {
    color: var(--brand-600);
}

.quiz-card-owner-name[b-aiq8u3x4pq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color var(--t-fast);
}

.quiz-card-stats[b-aiq8u3x4pq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.quiz-card-stats > span[b-aiq8u3x4pq] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.quiz-card-rating[b-aiq8u3x4pq] {
    gap: 0.1rem !important;
    white-space: nowrap;
}

.quiz-card-rating .bi-star-fill[b-aiq8u3x4pq],
.quiz-card-rating .bi-star-half[b-aiq8u3x4pq] {
    color: var(--gold);
}

.quiz-card-rating .bi-star[b-aiq8u3x4pq] {
    color: var(--ink-300);
}

.quiz-card-rating > span[b-aiq8u3x4pq] {
    margin-left: 0.25rem;
    color: var(--ink-600);
}

.quiz-card-actions[b-aiq8u3x4pq] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.quiz-card-take[b-aiq8u3x4pq] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--brand-600);
    color: #fff;
    border-radius: var(--r-sm);
    font-size: 0.86rem;
    font-weight: 650;
    padding: 0.45rem 0.95rem;
    text-decoration: none;
    transition: background-color var(--t-fast), box-shadow var(--t-base), transform var(--t-fast);
}

.quiz-card-take:hover[b-aiq8u3x4pq] {
    background: var(--brand-700);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
/* /Components/Shared/QuizRatingStars.razor.rz.scp.css */
.rating-box[b-8g0hrg0u24] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1rem;
    margin: 0 0 1.5rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    text-align: center;
}

.rating-prompt[b-8g0hrg0u24] {
    margin: 0;
    color: var(--heading);
    font-weight: 650;
    font-size: 0.95rem;
}

.rating-stars[b-8g0hrg0u24] {
    display: flex;
    gap: 0.15rem;
}

.rating-star[b-8g0hrg0u24] {
    border: 0;
    background: transparent;
    color: var(--ink-300);
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.1rem 0.15rem;
    cursor: pointer;
    transition: color var(--t-fast), transform var(--t-fast);
}

.rating-star:hover[b-8g0hrg0u24] {
    transform: scale(1.15);
}

.rating-star:focus-visible[b-8g0hrg0u24] {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

.rating-star.is-on[b-8g0hrg0u24] {
    color: var(--gold);
}

.rating-hint[b-8g0hrg0u24] {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.rating-hint.is-saved[b-8g0hrg0u24] {
    color: var(--success);
    font-weight: 600;
}
/* /Components/Shared/ShareButtons.razor.rz.scp.css */
.quiz-share-compact[b-n4ct6h5xfh] {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-600);
    border-radius: var(--r-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    transition: all var(--t-fast);
}

.quiz-share-compact:hover[b-n4ct6h5xfh] {
    background: var(--accent-soft);
    border-color: var(--brand-200);
    color: var(--brand-600);
}

.quiz-share-compact:focus-visible[b-n4ct6h5xfh] {
    outline: none;
    box-shadow: var(--ring);
}

/* Full share bar */
.share-group .btn[b-n4ct6h5xfh] {
    --bs-btn-padding-x: 0.6rem;
    color: var(--ink-600);
    border-color: var(--border-strong);
    transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}

.share-group .btn:hover[b-n4ct6h5xfh] {
    background: var(--accent-soft);
    border-color: var(--brand-200);
    color: var(--brand-600);
}
/* /Components/Shared/UserAvatar.razor.rz.scp.css */
.user-avatar[b-chfeqsvfd6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--grad-brand);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.user-avatar.lg[b-chfeqsvfd6] {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: var(--r-lg);
    font-size: 1.3rem;
}

.user-avatar.md[b-chfeqsvfd6] {
    width: 6rem;
    height: 6rem;
    border-radius: var(--r-xl);
    font-size: 1.6rem;
}

.user-avatar.sm[b-chfeqsvfd6] {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: var(--r-sm);
    font-size: 0.72rem;
}

.user-avatar.xs[b-chfeqsvfd6] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--r-pill);
    font-size: 0.58rem;
}

.user-avatar img[b-chfeqsvfd6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stand-in for accounts with neither a photo nor a usable name. */
.user-avatar .bi[b-chfeqsvfd6] {
    font-size: 1.35em;
    line-height: 1;
    opacity: 0.9;
}
/* /Components/Shared/UserDashboard.razor.rz.scp.css */
/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */
.dash-hero[b-vovunk6dok] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.6rem 1.75rem;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 55%, #6366f1 100%);
    box-shadow: var(--shadow-md);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dash-hero[b-vovunk6dok]::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -8%;
    width: 45%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 62%);
    pointer-events: none;
}

.dash-hero > *[b-vovunk6dok] {
    position: relative;
    z-index: 1;
}

.dash-kicker[b-vovunk6dok] {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.3rem;
}

.dash h1[b-vovunk6dok] {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.25rem;
    overflow-wrap: anywhere;
}

.dash-sub[b-vovunk6dok] {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.dash-hero-actions[b-vovunk6dok] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.dash-btn[b-vovunk6dok],
.dash-btn-ghost[b-vovunk6dok] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: var(--r-sm);
    font-weight: 650;
    font-size: 0.92rem;
    padding: 0.55rem 1.05rem;
    text-decoration: none;
    transition: all var(--t-fast);
}

.dash-btn[b-vovunk6dok] {
    background: #fff;
    color: var(--brand-700);
    border: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.dash-btn:hover[b-vovunk6dok] {
    color: var(--brand-800);
    text-decoration: none;
    transform: translateY(-1px);
}

.dash-btn-ghost[b-vovunk6dok] {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.dash-btn-ghost:hover[b-vovunk6dok] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

/* ------------------------------------------------------------------ *
 * Panels
 * ------------------------------------------------------------------ */
.dash-stats[b-vovunk6dok] {
    margin-bottom: 1.25rem;
}

.dash-grid[b-vovunk6dok] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dash-panel[b-vovunk6dok] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-sm);
}

.dash-panel h2[b-vovunk6dok] {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.dash-panel-head[b-vovunk6dok] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.dash-panel-head a[b-vovunk6dok] {
    font-size: 0.85rem;
    font-weight: 600;
}

.dash-muted[b-vovunk6dok],
.dash-empty[b-vovunk6dok] {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.dash-empty[b-vovunk6dok] {
    padding: 1.5rem 0.5rem;
    text-align: center;
    background: var(--surface-muted);
    border-radius: var(--r-md);
    margin-bottom: 0;
}

/* ------------------------------------------------------------------ *
 * Activity chart
 * ------------------------------------------------------------------ */
.activity[b-vovunk6dok] {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 120px;
    margin-top: 1rem;
}

.activity-col[b-vovunk6dok] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.activity-bar[b-vovunk6dok] {
    width: 100%;
    max-width: 20px;
    border-radius: var(--r-xs) var(--r-xs) 2px 2px;
    background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand-600) 100%);
    transition: opacity var(--t-fast);
}

.activity-col:hover .activity-bar[b-vovunk6dok] {
    opacity: 0.75;
}

.activity-bar.is-empty[b-vovunk6dok] {
    background: var(--ink-200);
}

.activity-col span[b-vovunk6dok] {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: var(--text-faint);
    font-weight: 600;
}

/* ------------------------------------------------------------------ *
 * Category bars
 * ------------------------------------------------------------------ */
.cat-bars[b-vovunk6dok] {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.cat-row[b-vovunk6dok] {
    display: grid;
    grid-template-columns: minmax(0, 8.5rem) 1fr auto;
    gap: 0.7rem;
    align-items: center;
}

.cat-name[b-vovunk6dok] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--ink-700);
    font-weight: 550;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-name .bi[b-vovunk6dok] {
    color: var(--brand-500);
    flex: none;
}

.cat-track[b-vovunk6dok] {
    height: 0.5rem;
    background: var(--ink-100);
    border-radius: var(--r-pill);
    overflow: hidden;
}

.cat-fill[b-vovunk6dok] {
    height: 100%;
    background: var(--grad-brand);
    border-radius: var(--r-pill);
}

.cat-count[b-vovunk6dok] {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-600);
    min-width: 1.2rem;
    text-align: right;
}

/* ------------------------------------------------------------------ *
 * Tables and result rows
 * ------------------------------------------------------------------ */
.dash-table[b-vovunk6dok] {
    margin-bottom: 0;
}

.dash-table a[b-vovunk6dok] {
    text-decoration: none;
    font-weight: 650;
    color: var(--heading);
}

.dash-table a:hover[b-vovunk6dok] {
    color: var(--brand-600);
}

.dash-results[b-vovunk6dok] {
    display: grid;
    gap: 0.5rem;
}

.dash-result[b-vovunk6dok] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    transition: background-color var(--t-fast), border-color var(--t-fast);
}

.dash-result:hover[b-vovunk6dok] {
    background: var(--surface-muted);
    border-color: var(--brand-200);
    text-decoration: none;
}

.dash-result > span:first-child[b-vovunk6dok] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-result strong[b-vovunk6dok] {
    color: var(--heading);
    font-weight: 650;
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-result small[b-vovunk6dok] {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ------------------------------------------------------------------ *
 * Insights
 * ------------------------------------------------------------------ */
.dash-insight-grid[b-vovunk6dok] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
    margin-top: 0.9rem;
}

.dash-insight-label[b-vovunk6dok] {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.dash-insights strong[b-vovunk6dok] {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--heading);
    line-height: 1.1;
}

.dash-insights p[b-vovunk6dok] {
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
}

@media (min-width: 900px) {
    .dash-grid[b-vovunk6dok] {
        grid-template-columns: 1.15fr 0.85fr;
    }
}
