/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* ----------------------------------------------------------------------
   Admin shell — top bar + left sidebar + footer.
   Owned by Slice 05; reused by Slices 06/07/08/09.
   Responsive (NFR-12):
     ≤1180px — directory header wraps (handled in PersonsDirectory.razor.css).
     ≤980px  — sidebar collapses to slide-in drawer + scrim + hamburger.
     ≤380px  — brand wordmark hidden.
   ---------------------------------------------------------------------- */

.admin-shell[b-2egv0wpsvk] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg, #f5f5f3);
    color: var(--text-primary, #1a1a1a);
}

.admin-topbar[b-2egv0wpsvk] {
    height: 56px;
    background: var(--surface, #fff);
    border-bottom: 1px solid var(--border, #e5e5e3);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.admin-hamburger[b-2egv0wpsvk] {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.admin-hamburger .bar[b-2egv0wpsvk] {
    width: 22px;
    height: 2px;
    background: var(--text-primary, #1a1a1a);
}

.admin-brand[b-2egv0wpsvk] {
    font-weight: 600;
    font-size: 16px;
    color: var(--brand, #185fa5);
}

.admin-topbar-spacer[b-2egv0wpsvk] { flex: 1; }

.admin-user[b-2egv0wpsvk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-user-avatar[b-2egv0wpsvk] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--avatar-blue-bg, #e6f1fb);
    color: var(--avatar-blue-text, #185fa5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.admin-signout[b-2egv0wpsvk] {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #666);
    text-decoration: none;
    border-radius: 6px;
}

.admin-signout:hover[b-2egv0wpsvk] {
    background: var(--divider, #f0f0ee);
    color: var(--text-primary, #1a1a1a);
}

.admin-body[b-2egv0wpsvk] {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.admin-sidebar[b-2egv0wpsvk] {
    width: 240px;
    flex-shrink: 0;
    background: var(--surface, #fff);
    border-right: 1px solid var(--border, #e5e5e3);
    padding: 1rem 0;
}

.admin-nav[b-2egv0wpsvk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-item[b-2egv0wpsvk] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 10px 14px;
    margin: 0 8px;
    border-radius: 6px;
    color: var(--text-secondary, #666);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    border-left: 3px solid transparent;
    min-height: 44px;
}

.admin-nav-item:hover[b-2egv0wpsvk] {
    background: var(--divider, #f0f0ee);
    color: var(--text-primary, #1a1a1a);
}

[b-2egv0wpsvk] .admin-nav-item.active {
    background: #E8EEF6;
    color: var(--text-primary, #1a1a1a);
    font-weight: 600;
    border-left-color: var(--brand, #185fa5);
}

.admin-nav-icon[b-2egv0wpsvk] {
    width: 20px;
    text-align: center;
    color: var(--text-secondary, #666);
}

.admin-content[b-2egv0wpsvk] {
    flex: 1;
    padding: 1.5rem 2rem;
    min-width: 0;
}

.admin-scrim[b-2egv0wpsvk] {
    display: none;
    position: fixed;
    inset: 56px 0 0 0;
    background: rgba(0,0,0,.35);
    z-index: 18;
}

.admin-footer[b-2egv0wpsvk] {
    background: transparent;
    color: var(--text-disabled, #999);
    text-align: center;
    font-size: 11px;
    padding: 0.75rem 1rem;
}

.admin-footer-sep[b-2egv0wpsvk] {
    margin: 0 0.5rem;
    color: var(--text-disabled, #999);
}

@media (max-width: 980px) {
    .admin-hamburger[b-2egv0wpsvk] { display: flex; }
    .admin-sidebar[b-2egv0wpsvk] {
        position: fixed;
        top: 56px;
        left: -260px;
        height: calc(100vh - 56px);
        z-index: 19;
        transition: left .2s ease-out;
        box-shadow: 2px 0 4px rgba(0,0,0,.08);
    }
    .admin-shell.sidebar-open .admin-sidebar[b-2egv0wpsvk] { left: 0; }
    .admin-shell.sidebar-open .admin-scrim[b-2egv0wpsvk] { display: block; }
    .admin-content[b-2egv0wpsvk] { padding: 1rem; }
}

@media (max-width: 380px) {
    .admin-brand[b-2egv0wpsvk] { display: none; }
}
/* /Components/Pages/Admin/AdminPersonDetail.razor.rz.scp.css */
.admin-person-detail[b-57t6tx94qv] { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }

.page-header[b-57t6tx94qv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-card[b-57t6tx94qv] {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row[b-57t6tx94qv] {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.75rem;
    font-size: 13px;
}

.detail-row label[b-57t6tx94qv] {
    color: var(--text-secondary, #666);
}

.detail-note[b-57t6tx94qv] {
    color: var(--text-disabled, #999);
    font-size: 12px;
    font-style: italic;
}

@media (max-width: 980px) {
    .detail-row[b-57t6tx94qv] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Admin/CreatePerson.razor.rz.scp.css */
.create-person-page[b-5xhl2s5zuq] { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; }

.create-person-form[b-5xhl2s5zuq] {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row[b-5xhl2s5zuq] {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 0.75rem;
}

.form-row label[b-5xhl2s5zuq] {
    font-size: 13px;
    color: var(--text-secondary, #666);
}

.form-row input[b-5xhl2s5zuq],
.form-row select[b-5xhl2s5zuq] {
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--border, #e5e5e3);
    padding: 0 0.5rem;
    background: var(--bg, #f5f5f3);
    font: inherit;
    min-height: 44px;
}

.form-help[b-5xhl2s5zuq] {
    grid-column: 2;
    font-size: 11px;
    color: var(--text-disabled, #999);
}

.req[b-5xhl2s5zuq] { color: var(--danger, #a32d2d); margin-left: 2px; }

.form-actions[b-5xhl2s5zuq] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding-top: 0.5rem;
    border-top: 1px solid var(--divider, #f0f0ee);
}

.form-errors[b-5xhl2s5zuq] {
    background: #fdecea;
    border: 1px solid #f0b7b3;
    border-radius: 6px;
    color: #a32d2d;
    padding: 0.5rem 0.75rem;
    margin: 0;
}

.dup-warning[b-5xhl2s5zuq] {
    background: #fff5e0;
    border: 1px solid #f0c270;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dup-blocked[b-5xhl2s5zuq] {
    background: #fdecea;
    border-color: #e08580;
}

.dup-match-list[b-5xhl2s5zuq] {
    list-style: none;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 6px;
    padding: 0;
    margin: 0;
}

.dup-match-row[b-5xhl2s5zuq] {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--divider, #f0f0ee);
}

.dup-match-row:last-child[b-5xhl2s5zuq] { border-bottom: none; }

.dup-match-email[b-5xhl2s5zuq] { color: var(--text-secondary, #666); }

.dup-actions[b-5xhl2s5zuq] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}
/* /Components/Pages/Admin/PersonsDirectory.razor.rz.scp.css */
/* PersonsDirectory grid — A12 + Admin directory.
   Responsive: ≤1180px header wraps; ≤640px table swaps to row-cards;
   ≤768px row-action ⋯ hits the 44×44 target. */

.persons-directory[b-8nue952pcw] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dir-header[b-8nue952pcw] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dir-header-titlerow[b-8nue952pcw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dir-title[b-8nue952pcw] {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary, #1a1a1a);
}

.dir-create[b-8nue952pcw] {
    text-decoration: none;
}

.dir-header-toolbar[b-8nue952pcw] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.dir-search[b-8nue952pcw] {
    flex: 1;
    min-width: 200px;
    height: 36px;
    border-radius: 18px;
    border: 1px solid var(--border, #e5e5e3);
    padding: 0 1rem;
    background: var(--surface, #fff);
    font: inherit;
}

.dir-filter[b-8nue952pcw] {
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--border, #e5e5e3);
    padding: 0 0.5rem;
    background: var(--surface, #fff);
    font: inherit;
}

.dir-scope-label[b-8nue952pcw] {
    color: var(--text-secondary, #666);
    font-size: 13px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.link-btn[b-8nue952pcw] {
    background: transparent;
    border: none;
    color: var(--brand, #185fa5);
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font: inherit;
}

.dir-empty[b-8nue952pcw] {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* ── Table ── */
.dir-table[b-8nue952pcw] {
    width: 100%;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.dir-table thead[b-8nue952pcw] {
    background: var(--divider, #f0f0ee);
}

.dir-table th[b-8nue952pcw],
.dir-table td[b-8nue952pcw] {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border, #e5e5e3);
    vertical-align: middle;
}

.dir-table th.sortable[b-8nue952pcw] {
    cursor: pointer;
    user-select: none;
}

.dir-table tbody tr.row-inactive[b-8nue952pcw] {
    opacity: .55;
}

.row-avatar[b-8nue952pcw] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--avatar-blue-bg, #e6f1fb);
    color: var(--avatar-blue-text, #185fa5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
}

.row-preferred[b-8nue952pcw] {
    color: var(--text-secondary, #666);
    font-style: italic;
    margin-left: 0.5rem;
}

.col-actions[b-8nue952pcw] {
    text-align: right;
    width: 56px;
}

.row-action-btn[b-8nue952pcw] {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary, #666);
    border-radius: 6px;
}

.row-action-btn:hover[b-8nue952pcw] {
    background: var(--divider, #f0f0ee);
}

.dropdown[b-8nue952pcw] { position: relative; display: inline-block; }

.dropdown-menu[b-8nue952pcw] {
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e5e3);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    min-width: 160px;
    z-index: 10;
}

.dropdown-item[b-8nue952pcw] {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary, #1a1a1a);
    text-decoration: none;
    font-size: 13px;
    min-height: 44px;
    line-height: 32px;
}

.dropdown-item:hover[b-8nue952pcw] { background: var(--divider, #f0f0ee); }

/* ── Pagination ── */
.dir-pagination[b-8nue952pcw] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.dir-pagination-controls[b-8nue952pcw] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dir-pagination-controls .btn[b-8nue952pcw] {
    min-height: 44px;
}

/* Responsive MQs */
@media (max-width: 1180px) {
    /* directory header toolbar drops to second row below title row (already wraps via flex-wrap). */
    .dir-header-toolbar[b-8nue952pcw] { width: 100%; }
}

@media (max-width: 640px) {
    .dir-table[b-8nue952pcw],
    .dir-table thead[b-8nue952pcw],
    .dir-table tbody[b-8nue952pcw],
    .dir-table th[b-8nue952pcw],
    .dir-table td[b-8nue952pcw],
    .dir-table tr[b-8nue952pcw] {
        display: block;
    }
    .dir-table thead[b-8nue952pcw] { display: none; }
    .dir-table tr[b-8nue952pcw] {
        border: 1px solid var(--border, #e5e5e3);
        border-radius: 8px;
        margin-bottom: 0.5rem;
        background: var(--surface, #fff);
        padding: 0.5rem;
    }
    .dir-table td[b-8nue952pcw] {
        border-bottom: none;
        padding: 4px 0;
    }
    .col-photo[b-8nue952pcw] { display: inline-block; margin-right: 0.5rem; }
}
/* /Components/Pages/DevLogin.razor.rz.scp.css */
/* ──────────────────────────────────────────────────────────────
   Page layout
   ────────────────────────────────────────────────────────────── */
.dev-login-page[b-8u3nm90kp9] {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 20%, rgba(24, 95, 165, 0.08) 0, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(151, 196, 89, 0.08) 0, transparent 50%),
        var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
}

.dev-login-card[b-8u3nm90kp9] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.25rem;
    max-width: 540px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ──────────────────────────────────────────────────────────────
   Header
   ────────────────────────────────────────────────────────────── */
.dev-login-header[b-8u3nm90kp9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.dev-login-brand[b-8u3nm90kp9] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.dev-login-title[b-8u3nm90kp9] {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.dev-login-subtitle[b-8u3nm90kp9] {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────
   Sections
   ────────────────────────────────────────────────────────────── */
.dev-login-section[b-8u3nm90kp9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dev-login-section-title[b-8u3nm90kp9] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.dev-login-section-hint[b-8u3nm90kp9] {
    font-size: 12px;
    color: var(--text-disabled);
    margin-bottom: 4px;
}

.dev-login-preset-list[b-8u3nm90kp9] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dev-login-preset-form[b-8u3nm90kp9] {
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────
   Preset buttons
   ────────────────────────────────────────────────────────────── */
.dev-login-preset[b-8u3nm90kp9] {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label    outcome"
        "email    outcome";
    column-gap: 0.75rem;
    row-gap: 2px;
    width: 100%;
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.05s ease;
}

.dev-login-preset:hover[b-8u3nm90kp9] {
    border-color: var(--brand);
    background: var(--surface);
}

.dev-login-preset:active[b-8u3nm90kp9] {
    transform: translateY(1px);
}

.dev-login-preset:focus-visible[b-8u3nm90kp9] {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.dev-login-preset-primary[b-8u3nm90kp9] {
    background: var(--avatar-blue-bg);
    border-color: transparent;
}

.dev-login-preset-primary:hover[b-8u3nm90kp9] {
    background: #d8e8f7;
    border-color: var(--brand);
}

.dev-login-preset-label[b-8u3nm90kp9] {
    grid-area: label;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.dev-login-preset-email[b-8u3nm90kp9] {
    grid-area: email;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dev-login-preset-outcome[b-8u3nm90kp9] {
    grid-area: outcome;
    align-self: center;
    justify-self: end;
    font-size: 11px;
    color: var(--text-disabled);
    text-align: right;
    max-width: 180px;
    line-height: 1.35;
}

/* ──────────────────────────────────────────────────────────────
   Divider
   ────────────────────────────────────────────────────────────── */
.dev-login-divider[b-8u3nm90kp9] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-disabled);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.dev-login-divider[b-8u3nm90kp9]::before,
.dev-login-divider[b-8u3nm90kp9]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--divider);
}

/* ──────────────────────────────────────────────────────────────
   Custom email form
   ────────────────────────────────────────────────────────────── */
.dev-login-custom[b-8u3nm90kp9] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dev-login-custom-label[b-8u3nm90kp9] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.dev-login-custom-row[b-8u3nm90kp9] {
    display: flex;
    gap: 0.5rem;
}

.dev-login-custom-input[b-8u3nm90kp9] {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: inherit;
}

.dev-login-custom-input:focus[b-8u3nm90kp9] {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
}

.dev-login-custom-submit[b-8u3nm90kp9] {
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.dev-login-custom-submit:hover[b-8u3nm90kp9] {
    background: #145089;
}

.dev-login-custom-hint[b-8u3nm90kp9] {
    font-size: 11px;
    color: var(--text-disabled);
    line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────────── */
.dev-login-footer[b-8u3nm90kp9] {
    border-top: 1px solid var(--divider);
    padding-top: 0.75rem;
    font-size: 11px;
    color: var(--text-disabled);
}

.dev-login-footer code[b-8u3nm90kp9] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-secondary);
}

/* ──────────────────────────────────────────────────────────────
   Responsive: stack preset outcome below on narrow screens
   ────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
    .dev-login-card[b-8u3nm90kp9] {
        padding: 1.5rem 1.25rem;
    }

    .dev-login-preset[b-8u3nm90kp9] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "email"
            "outcome";
    }

    .dev-login-preset-outcome[b-8u3nm90kp9] {
        justify-self: start;
        text-align: left;
        max-width: none;
        margin-top: 2px;
    }

    .dev-login-custom-row[b-8u3nm90kp9] {
        flex-direction: column;
    }

    .dev-login-custom-submit[b-8u3nm90kp9] {
        width: 100%;
    }
}
/* /Components/Pages/Profile.razor.rz.scp.css */
/* ──────────────────────────────────────────────────────────────
   Page container
   ────────────────────────────────────────────────────────────── */
.profile-container[b-ojm4qa4z90] {
    max-width: 1180px;
    margin: 1rem auto 2rem;
    font-family: 'Mulish', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────────
   Header (page-level, transparent — flows with the page bg)
   ────────────────────────────────────────────────────────────── */
.header-card[b-ojm4qa4z90] {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0;
}

.header-roles[b-ojm4qa4z90] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.role-pill[b-ojm4qa4z90] {
    background: var(--pill-bg);
    color: var(--pill-ink);
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
}

.header-info[b-ojm4qa4z90] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-name[b-ojm4qa4z90] {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--ink);
}

.preferred-name[b-ojm4qa4z90] {
    font-style: italic;
}

.header-secondary[b-ojm4qa4z90] {
    font-size: 13px;
    color: var(--muted);
}

.header-roles[b-ojm4qa4z90] {
    font-size: 13px;
    color: var(--brand);
    margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────────
   Avatar
   ────────────────────────────────────────────────────────────── */
.avatar[b-ojm4qa4z90] {
    border-radius: 50%;
    background: var(--avatar-blue-bg);
    color: var(--avatar-blue-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-lg[b-ojm4qa4z90] {
    width: 80px;
    height: 80px;
    font-size: 28px;
    font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   Tab navigation
   ────────────────────────────────────────────────────────────── */
.tab-nav[b-ojm4qa4z90] {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    margin-top: 1rem;
}


.tab[b-ojm4qa4z90] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: -1px;
    /* Reserve width for the bold active state so clicking never shifts layout */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

/* Hidden duplicate at bold weight — occupies space without being visible */
.tab[b-ojm4qa4z90]::after {
    content: attr(data-label);
    font-weight: 700;
    font-size: 14px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    user-select: none;
    pointer-events: none;
}

.tab:hover[b-ojm4qa4z90] {
    color: var(--ink);
}

.tab-active[b-ojm4qa4z90] {
    font-weight: 700;
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────
   Tab content
   ────────────────────────────────────────────────────────────── */
.tab-content[b-ojm4qa4z90] {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 5rem; /* room for sticky save bar */
}

.tab-content.tab-overview[b-ojm4qa4z90] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.tab-content.tab-overview > .full-width[b-ojm4qa4z90] {
    grid-column: 1 / -1;
}

/* ──────────────────────────────────────────────────────────────
   Section cards
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .section-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 160px;
}

[b-ojm4qa4z90] .section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

[b-ojm4qa4z90] .section-note {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────
   Entry cards
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .entry-card {
    background: var(--input-bg);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

[b-ojm4qa4z90] .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[b-ojm4qa4z90] .entry-type {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

[b-ojm4qa4z90] .entry-type.truncate {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-ojm4qa4z90] .entry-subtext {
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.55;
    width: 100%;
    margin-top: 6px;
}

[b-ojm4qa4z90] .entry-value {
    font-size: 15px;
    color: var(--ink-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-ojm4qa4z90] .entry-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

[b-ojm4qa4z90] .action-sep {
    color: var(--line);
}

[b-ojm4qa4z90] .entry-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

[b-ojm4qa4z90] .meta-label {
    font-weight: 500;
    color: var(--ink-soft);
    margin-right: 4px;
}

/* ──────────────────────────────────────────────────────────────
   Primary badge
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .primary-badge {
    font-size: 11px;
    background: var(--accent-soft);
    color: var(--accent-soft-ink);
    border-radius: var(--radius-sm);
    padding: 3px 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────────
   Action links
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .action-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

[b-ojm4qa4z90] .action-link:hover {
    color: var(--ink);
}

[b-ojm4qa4z90] .action-link.danger:hover {
    color: var(--danger);
}

[b-ojm4qa4z90] .add-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    background: transparent;
    border: 1.5px dashed var(--ghost-border);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    cursor: pointer;
}

[b-ojm4qa4z90] .add-link:hover {
    color: var(--ink);
    border-color: var(--ink);
    background: var(--surface);
}

[b-ojm4qa4z90] .add-link-disabled {
    color: var(--ink-muted, #aaa);
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    align-self: flex-start;
    padding: 8px 18px;
    border: 1.5px dashed var(--ghost-border);
    border-radius: var(--radius-pill);
    cursor: default;
    user-select: none;
}

/* ──────────────────────────────────────────────────────────────
   Photo upload
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .photo-upload {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px dashed var(--ghost-border);
    background: var(--input-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

[b-ojm4qa4z90] .photo-upload-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}

[b-ojm4qa4z90] .photo-upload-hint {
    font-size: 10px;
    color: var(--muted);
}

/* ──────────────────────────────────────────────────────────────
   Accordion (Location Roles)
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface);
}

[b-ojm4qa4z90] .accordion + .accordion {
    margin-top: 0;
}

[b-ojm4qa4z90] .accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

[b-ojm4qa4z90] .accordion-header:hover {
    background: rgba(27, 30, 44, 0.02);
}

[b-ojm4qa4z90] .accordion-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

[b-ojm4qa4z90] .accordion-chevron {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--muted);
    transition: transform 0.2s;
}

[b-ojm4qa4z90] .chevron-open {
    transform: rotate(180deg);
    color: var(--ink);
}

[b-ojm4qa4z90] .accordion-body {
    padding: 6px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--line-soft);
    background: transparent;
}

[b-ojm4qa4z90] .accordion-save-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid var(--line-soft);
}

/* ──────────────────────────────────────────────────────────────
   Field rows (accordion body)
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .field-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}

[b-ojm4qa4z90] .field-row:last-of-type {
    border-bottom: none;
}

[b-ojm4qa4z90] .field-label {
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 400;
}

[b-ojm4qa4z90] .field-readonly {
    font-size: 15px;
    color: var(--muted);
}

[b-ojm4qa4z90] .field-input {
    background: var(--input-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

[b-ojm4qa4z90] .req {
    color: var(--danger);
    margin-left: 2px;
    font-weight: 600;
}

.modal-subtitle[b-ojm4qa4z90] {
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0 0 12px;
    line-height: 1.5;
}

[b-ojm4qa4z90] .field-input:focus {
    outline: none;
    border-color: var(--ink);
}

[b-ojm4qa4z90] .field-textarea {
    min-height: 80px;
    resize: vertical;
}

/* ──────────────────────────────────────────────────────────────
   Status pill
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .status-pill {
    font-size: 13px;
    padding: 5px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    background: var(--pill-bg);
    color: var(--pill-ink);
}

[b-ojm4qa4z90] .status-active {
    background: var(--pill-bg);
    color: var(--pill-ink);
}

[b-ojm4qa4z90] .status-inactive {
    background: var(--pill-bg);
    color: var(--muted);
}

/* ──────────────────────────────────────────────────────────────
   Toggle
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .toggle {
    width: 54px;
    height: 30px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: background 0.2s;
}

[b-ojm4qa4z90] .toggle-on {
    background: var(--ink);
}

[b-ojm4qa4z90] .toggle-off {
    background: var(--ghost-border);
}

[b-ojm4qa4z90] .toggle-thumb {
    position: absolute;
    top: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: left 0.2s;
}

[b-ojm4qa4z90] .toggle-on .toggle-thumb {
    left: 27px;
}

[b-ojm4qa4z90] .toggle-off .toggle-thumb {
    left: 3px;
}

/* ──────────────────────────────────────────────────────────────
   Language chips
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .language-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[b-ojm4qa4z90] .language-chip {
    background: var(--pill-bg);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pill-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-ojm4qa4z90] .chip-remove {
    width: 18px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--muted);
    padding: 0;
    line-height: 1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[b-ojm4qa4z90] .chip-remove:hover {
    background: rgba(27, 30, 44, 0.08);
    color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .btn {
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: none;
}

[b-ojm4qa4z90] .btn-primary {
    background: var(--ink);
    color: white;
    border: none;
}

[b-ojm4qa4z90] .btn-primary:hover {
    background: #0F1119;
}

[b-ojm4qa4z90] .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ghost-border);
}

[b-ojm4qa4z90] .btn-secondary:hover {
    border-color: var(--ink);
}

/* ──────────────────────────────────────────────────────────────
   In-flow save bar (Professional accordion + tab-level commit row)
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .save-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid var(--line-soft);
}


/* ──────────────────────────────────────────────────────────────
   Photo slot (placeholder until slice-02b ships)
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .photo-slot {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px dashed var(--ghost-border);
    background: var(--input-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

[b-ojm4qa4z90] .photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ──────────────────────────────────────────────────────────────
   Header edit button (preferred-name inline edit)
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .header-edit {
    background: none;
    border: none;
    padding: 0 0 0 0.5rem;
    cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────
   Action-link buttons — inherit anchor styling but render as buttons
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] button.action-link {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

[b-ojm4qa4z90] button.add-link {
    font: inherit;
    line-height: 1;
}

/* ──────────────────────────────────────────────────────────────
   Touch-class affordance (NFR-12 / AR-011) — 44×44 hit rect below md
   ────────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    [b-ojm4qa4z90] .entry-actions button.action-link,
    [b-ojm4qa4z90] .entry-actions .action-sep,
    [b-ojm4qa4z90] button.add-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 0 4px;
    }
}

/* ──────────────────────────────────────────────────────────────
   Modal
   ────────────────────────────────────────────────────────────── */
.modal-overlay[b-ojm4qa4z90] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal[b-ojm4qa4z90] {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.5rem 1.5rem 1.25rem;
    max-width: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.modal-title[b-ojm4qa4z90] {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.modal-body[b-ojm4qa4z90] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 14px;
}

.modal-actions[b-ojm4qa4z90] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line-soft);
}

@media (max-width: 767.98px) {
    .modal-actions[b-ojm4qa4z90] {
        flex-direction: column-reverse;
    }

    .modal-actions .btn[b-ojm4qa4z90] {
        width: 100%;
    }
}

[b-ojm4qa4z90] .field-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    color: var(--ink-soft);
}

/* ──────────────────────────────────────────────────────────────
   Success toast (5 s)
   ────────────────────────────────────────────────────────────── */
.success-toast[b-ojm4qa4z90] {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    z-index: 300;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ──────────────────────────────────────────────────────────────
   Error toast (5 s)
   ────────────────────────────────────────────────────────────── */
.error-toast[b-ojm4qa4z90] {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    z-index: 300;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ──────────────────────────────────────────────────────────────
   Error banner
   ────────────────────────────────────────────────────────────── */
[b-ojm4qa4z90] .error-banner {
    background: rgba(163, 45, 45, 0.08);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

/* FR-5.1 — inline per-field validation error anchored beneath the offending input. */
[b-ojm4qa4z90] .field-error {
    color: var(--danger);
    font-size: 12px;
    margin-top: 2px;
}
/* /Components/Profile/MaestroSystemNavigation.razor.rz.scp.css */
/* Slice-04 Phase 1 — disabled "Deep link pending" placeholder.
   Visually neutral container; Phase 2 (AR-004) will re-skin to system cards or callout. */

.msn-section[b-l95alf58w3] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-title[b-l95alf58w3] {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.msn-list[b-l95alf58w3] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.msn-item[b-l95alf58w3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    gap: 0.75rem;
    min-height: 44px;
}

.msn-name[b-l95alf58w3] {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.msn-pending[b-l95alf58w3] {
    background: none;
    border: 1px dashed var(--toggle-off, var(--border));
    color: var(--text-disabled);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: not-allowed;
    opacity: 0.75;
    pointer-events: none;
    min-height: 28px;
}

/* NFR-12 — single column reflow + 44×44 tap target below md. */
@media (max-width: 767.98px) {
    .msn-list[b-l95alf58w3] {
        grid-template-columns: 1fr;
    }

    .msn-item[b-l95alf58w3] {
        min-height: 44px;
    }

    .msn-pending[b-l95alf58w3] {
        min-height: 44px;
        width: 100%;
    }
}
