/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-y1l5nql0cf] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-y1l5nql0cf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/PortalShell.razor.rz.scp.css */
.shell[b-t4067a1jfi] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.shell__topbar[b-t4067a1jfi] {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.shell__bar[b-t4067a1jfi] {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.shell__brand[b-t4067a1jfi] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--ink);
    border-radius: var(--radius-sm);
}

    .shell__brand:focus-visible[b-t4067a1jfi] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

.shell__logo[b-t4067a1jfi] {
    height: 32px;
    width: auto;
    display: block;
}

.shell__app[b-t4067a1jfi] {
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink-2);
    letter-spacing: .01em;
}

.shell__user[b-t4067a1jfi] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.shell__username[b-t4067a1jfi] {
    font-size: .85rem;
    color: var(--ink-3);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Preference controls (language switcher + theme toggle) in the topbar. */
.shell__pref[b-t4067a1jfi] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    margin: 0;
}

.shell__select[b-t4067a1jfi] {
    box-sizing: border-box;
    min-height: 32px;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230056b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: var(--space-2) calc(var(--space-4) + 14px) var(--space-2) var(--space-4);
    max-width: 160px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

    .shell__select:focus-visible[b-t4067a1jfi] {
        outline: none;
        box-shadow: var(--focus-ring);
        border-color: var(--accent);
    }

.shell__pref-btn[b-t4067a1jfi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 32px;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: var(--space-2) var(--space-4);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .shell__pref-btn:hover[b-t4067a1jfi] {
        background: var(--bg);
        border-color: var(--brand-soft);
    }

    .shell__pref-btn:focus-visible[b-t4067a1jfi] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

.shell__logout[b-t4067a1jfi] {
    margin: 0;
}

.shell__account-link[b-t4067a1jfi],
.shell__logout-btn[b-t4067a1jfi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 32px;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: var(--space-2) var(--space-4);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .shell__account-link:hover[b-t4067a1jfi],
    .shell__logout-btn:hover[b-t4067a1jfi] {
        background: var(--bg);
        border-color: var(--brand-soft);
    }

    .shell__account-link:focus-visible[b-t4067a1jfi],
    .shell__logout-btn:focus-visible[b-t4067a1jfi] {
        outline: none;
        box-shadow: var(--focus-ring);
    }

.shell__main[b-t4067a1jfi] {
    flex: 1;
}

.shell__container[b-t4067a1jfi] {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--space-6) var(--space-4);
}

@media (max-width: 599px) {
    .shell__app[b-t4067a1jfi] {
        display: none;
    }

    /* Keep the topbar to one row on phones: drop the e-mail and the language switcher,
       leaving the brand + theme toggle + sign-out. Language stays changeable on wider screens. */
    .shell__username[b-t4067a1jfi],
    .shell__pref--lang[b-t4067a1jfi] {
        display: none;
    }

    .shell__container[b-t4067a1jfi] {
        padding: var(--space-4) var(--space-3);
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/*
 * Scoped styles for the placeholder home page. Bundled into the external
 * Lassist.Portal.styles.css (served from 'self'), so nothing here is an inline
 * style attribute or <style> block — required by the strict CSP (style-src 'self').
 */

.portal-hero[b-z2pdp05thy] {
    background-color: var(--brand);
    color: #ffffff;
    padding: 3rem 2rem 2.5rem;
    font-family: var(--font-sans);
}

.brand-logo[b-z2pdp05thy] {
    display: block;
    height: 64px;
    width: auto;
    margin: 0 0 1.25rem;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.portal-hero__eyebrow[b-z2pdp05thy] {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-soft-2);
}

.portal-hero__title[b-z2pdp05thy] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.portal-hero__subtitle[b-z2pdp05thy] {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    font-weight: 300;
    color: var(--brand-soft-2);
}

.portal-main[b-z2pdp05thy] {
    padding: 2rem;
    font-family: var(--font-sans);
}

.portal-card[b-z2pdp05thy] {
    max-width: 640px;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.75rem;
    box-shadow: 0 1px 2px rgba(14, 32, 42, 0.06);
}

.portal-card__title[b-z2pdp05thy] {
    margin: 0 0 0.5rem;
    color: var(--brand);
    font-size: 1.25rem;
    font-weight: 600;
}

.portal-card__body[b-z2pdp05thy] {
    margin: 0 0 1.5rem;
    color: var(--ink-2);
    line-height: 1.55;
}

.portal-meta[b-z2pdp05thy] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    margin: 0 0 1.5rem;
}

.portal-meta dt[b-z2pdp05thy] {
    color: var(--ink-3);
    font-size: 0.85rem;
    align-self: center;
}

.portal-meta dd[b-z2pdp05thy] {
    margin: 0;
}

.portal-chip[b-z2pdp05thy] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background-color: var(--bg);
    border: 1px solid var(--line);
    color: var(--brand-700);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.portal-button[b-z2pdp05thy] {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    border-radius: 4px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.portal-button:hover[b-z2pdp05thy] {
    filter: brightness(0.95);
}
