/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-cnv074mun0] {
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
}

.nav-brand[b-cnv074mun0] {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 21px;
    padding: 4px 24px 0;
}

.nav-brand-mark[b-cnv074mun0] {
    align-items: center;
    background-color: var(--color-primary);
    border-radius: 10px;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 19px;
    height: 38px;
    justify-content: center;
    width: 38px;
}

[b-cnv074mun0] .nav-brand-title {
    color: var(--color-primary);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}

[b-cnv074mun0] .nav-brand-subtitle {
    color: var(--color-text-secondary);
    font-size: 12px;
    line-height: 1.35;
    margin: 3px 0 0;
}

.nav-groups[b-cnv074mun0] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

.nav-section[b-cnv074mun0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
}

.nav-section-label[b-cnv074mun0] {
    display: block;
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin: 0 0 6px;
    padding: 0 16px;
    text-transform: uppercase;
}

[b-cnv074mun0] .mud-nav-link.nav-link,
[b-cnv074mun0] .nav-link > .mud-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 8px;
    margin: 0 var(--spacing-2);
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.2;
    border-left: 0;
    border-radius: 9px;
    transition: background-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
}

[b-cnv074mun0] .mud-nav-link.nav-link:hover,
[b-cnv074mun0] .nav-link > .mud-nav-link:hover {
    background-color: rgba(30, 58, 95, 0.045) !important;
    color: var(--color-primary) !important;
}

[b-cnv074mun0] .mud-nav-link.nav-link.active,
[b-cnv074mun0] .nav-link > .mud-nav-link.active {
    background-color: rgba(30, 58, 95, 0.045) !important;
    box-shadow: none !important;
    color: var(--color-primary) !important;
    font-weight: 600;
}

[b-cnv074mun0] .mud-nav-link.nav-link:focus:not(:focus-visible),
[b-cnv074mun0] .nav-link > .mud-nav-link:focus:not(:focus-visible) {
    outline: none;
}

[b-cnv074mun0] .mud-nav-link.nav-link.active .nav-icon,
[b-cnv074mun0] .nav-link > .mud-nav-link.active .nav-icon {
    color: var(--color-primary);
}

[b-cnv074mun0] .mud-nav-link.nav-link .mud-nav-link-text,
[b-cnv074mun0] .nav-link > .mud-nav-link .mud-nav-link-text {
    margin-left: 0;
}

.nav-icon[b-cnv074mun0] {
    width: 24px;
    min-width: 24px;
    height: auto;
    margin-right: 12px;
    color: var(--color-icon-secondary);
    flex-shrink: 0;
    font-size: 19px;
    line-height: 1;
    text-align: center;
}
/* /Components/Pages/AllRecords.razor.rz.scp.css */
/* All records page — adapted from designs/records-table.css, mapped onto Wiseplan app.css tokens. */

.all-records-loading[b-c7vzdoxuwl] {
    display: flex;
    justify-content: center;
    padding: 48px 24px;
}

.all-records-empty[b-c7vzdoxuwl] {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-secondary);
}

/* ---------- Toolbar ---------- */
.ar-toolbar[b-c7vzdoxuwl] {
    display: flex;
    align-items: flex-end; /* bottom-align so the search box, Type input and Expand all share a baseline */
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ar-search-field[b-c7vzdoxuwl] {
    flex: 1 1 280px;
    min-width: 220px;
}

/* Matches LabelledField's label so the search box and the Type select align. */
.ar-field-label[b-c7vzdoxuwl] {
    display: block;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 4px;
}

.ar-search[b-c7vzdoxuwl] {
    position: relative;
    display: flex;
    align-items: center;
}

/* Drop the field's default 24px bottom margin so its input bottom-aligns in the toolbar. */
.ar-filter[b-c7vzdoxuwl]  .labelled-field {
    margin-bottom: 0;
}

.ar-search[b-c7vzdoxuwl]  .mud-icon-root {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
    pointer-events: none;
}

.ar-search input[b-c7vzdoxuwl] {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 4px;
    padding: 10px 12px 10px 40px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body);
    color: var(--color-text-primary);
    min-height: 44px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.ar-search input[b-c7vzdoxuwl]::placeholder {
    color: var(--color-text-secondary);
}

.ar-search input:focus[b-c7vzdoxuwl] {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.10);
}

.ar-filter[b-c7vzdoxuwl] {
    flex: 0 0 auto;
    min-width: 200px;
}

.ar-toolbar-spacer[b-c7vzdoxuwl] {
    flex: 1 1 auto;
}

.ar-textbtn[b-c7vzdoxuwl] {
    background: none;
    border: none;
    color: var(--color-primary-light);
    cursor: pointer;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-body);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    min-height: 44px;
    white-space: nowrap;
}

.ar-textbtn:hover[b-c7vzdoxuwl] {
    text-decoration: underline;
}

.ar-link[b-c7vzdoxuwl] {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary-light);
    cursor: pointer;
    font-family: var(--font-family-primary);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ar-link:hover[b-c7vzdoxuwl] {
    color: var(--color-link-hover);
    text-decoration-thickness: 2px;
}

.ar-link:focus-visible[b-c7vzdoxuwl],
.ar-textbtn:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
    border-radius: 2px;
}

.ar-count-line[b-c7vzdoxuwl] {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    margin: -8px 0 20px;
}

/* ---------- Vault groups ---------- */
.ar-groups[b-c7vzdoxuwl] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 120px;
}

.ar-no-match[b-c7vzdoxuwl] {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-secondary);
}

.ar-group[b-c7vzdoxuwl] {
    background: var(--color-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 8px;
    overflow: hidden;
}

.ar-group-head[b-c7vzdoxuwl] {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    border: none;
    background: var(--color-surface);
    text-align: left;
    padding: 16px 18px;
    cursor: pointer;
    min-height: 44px;
    transition: background .15s ease;
}

.ar-group-head:hover[b-c7vzdoxuwl] {
    background: var(--color-primary-hover);
}

.ar-group-head:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: -2px;
}

.ar-glyph[b-c7vzdoxuwl] {
    font-size: 24px;
    line-height: 1;
    width: 26px;
    text-align: center;
}

.ar-gname[b-c7vzdoxuwl] {
    flex: 1;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.ar-group-head[b-c7vzdoxuwl]  .ar-chev {
    color: var(--color-primary);
    transition: transform .15s ease;
}

.ar-group.collapsed .ar-group-head[b-c7vzdoxuwl]  .ar-chev {
    transform: rotate(-180deg);
}

.ar-group-body[b-c7vzdoxuwl] {
    border-top: 1px solid var(--color-border-default);
    overflow-x: auto;
}

/* ---------- Table ---------- */
.ar-table[b-c7vzdoxuwl] {
    width: 100%;
    border-collapse: collapse;
}

.ar-table thead th[b-c7vzdoxuwl] {
    text-align: left;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border-default);
    background: var(--color-surface-subtle);
    white-space: nowrap;
}

.ar-table thead th.col-cmp[b-c7vzdoxuwl] {
    width: 90px;
    text-align: center;
}

.ar-table thead th.col-actions[b-c7vzdoxuwl] {
    width: 84px;
}

.ar-table thead th.col-key[b-c7vzdoxuwl] {
    width: 34%;
}

.ar-table thead th.col-updated[b-c7vzdoxuwl] {
    width: 150px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.ar-table tbody td[b-c7vzdoxuwl] {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}

.ar-row[b-c7vzdoxuwl] {
    cursor: pointer;
    transition: background .12s ease;
}

.ar-row:hover[b-c7vzdoxuwl] {
    background: var(--color-surface-hover);
}

.ar-row.open[b-c7vzdoxuwl] {
    background: var(--color-surface-hover);
}

.ar-row.picked[b-c7vzdoxuwl] {
    background: rgba(212, 149, 106, 0.10);
}

.ar-row.picked:hover[b-c7vzdoxuwl] {
    background: rgba(212, 149, 106, 0.16);
}

.ar-name[b-c7vzdoxuwl] {
    font-size: var(--font-size-body);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
}

.ar-table tbody td.col-key[b-c7vzdoxuwl] {
    max-width: 0;
}

.ar-ident[b-c7vzdoxuwl] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
}

.ar-ident .id-main[b-c7vzdoxuwl] {
    font-size: var(--font-size-body);
    color: var(--color-text-primary);
    flex-shrink: 0;
}

.ar-ident .id-meta[b-c7vzdoxuwl] {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.ar-ident .id-meta[b-c7vzdoxuwl]::before {
    content: '·';
    margin-right: 10px;
    color: var(--color-border);
}

.ar-updated[b-c7vzdoxuwl] {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    white-space: nowrap;
    cursor: default;
}

.ar-sortbtn[b-c7vzdoxuwl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    margin-left: -8px;
    border-radius: 4px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    white-space: nowrap;
    min-height: 32px;
}

.ar-sortbtn:hover[b-c7vzdoxuwl] {
    color: var(--color-primary);
    background: var(--color-primary-active);
}

.ar-sortbtn:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 1px;
}

.ar-sortbtn[b-c7vzdoxuwl]  .mud-icon-root {
    color: var(--color-primary-light);
}

/* expand chevron */
.ar-expand[b-c7vzdoxuwl] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
}

.ar-expand:hover[b-c7vzdoxuwl] {
    background: var(--color-primary-active);
    color: var(--color-primary);
}

.ar-expand:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 1px;
}

.ar-expand[b-c7vzdoxuwl]  .mud-icon-root {
    transition: transform .15s ease;
}

.ar-expand.open[b-c7vzdoxuwl]  .mud-icon-root {
    transform: rotate(180deg);
    color: var(--color-primary);
}

/* ---------- Compare checkbox ---------- */
.ar-check-cell[b-c7vzdoxuwl] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-check[b-c7vzdoxuwl] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.ar-check:disabled[b-c7vzdoxuwl] {
    opacity: 0.4;
    cursor: not-allowed;
}

.ar-check:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

/* ---------- Inline detail ---------- */
.ar-detail-row > td[b-c7vzdoxuwl] {
    padding: 0 !important;
    border-bottom: 1px solid var(--color-border-light);
    background: var(--color-surface-subtle);
}

.ar-detail[b-c7vzdoxuwl] {
    padding: 20px 24px 22px 56px;
}

.ar-fieldgrid[b-c7vzdoxuwl] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 32px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .ar-fieldgrid[b-c7vzdoxuwl] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ar-field .f-label[b-c7vzdoxuwl] {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.ar-field .f-value[b-c7vzdoxuwl] {
    font-size: var(--font-size-body);
    color: var(--color-text-primary);
}

.ar-detail-actions[b-c7vzdoxuwl] {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-default);
}

/* ---------- Compare bar (sticky) ---------- */
.ar-comparebar[b-c7vzdoxuwl] {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-default);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    padding: 14px 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateY(110%);
    transition: transform .22s ease;
    z-index: 50;
}

.ar-comparebar.show[b-c7vzdoxuwl] {
    transform: none;
}

.ar-comparebar .cb-lead[b-c7vzdoxuwl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.ar-comparebar .cb-count[b-c7vzdoxuwl] {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

.ar-comparebar .cb-type[b-c7vzdoxuwl] {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
}

.ar-comparebar .cb-chips[b-c7vzdoxuwl] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.ar-chip[b-c7vzdoxuwl] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border-light);
    border-radius: 999px;
    padding: 5px 8px 5px 14px;
    font-size: var(--font-size-small);
    color: var(--color-text-primary);
}

.ar-chip button[b-c7vzdoxuwl] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    padding: 2px;
    border-radius: 50%;
}

.ar-chip button:hover[b-c7vzdoxuwl] {
    color: var(--color-error);
    background: rgba(197, 48, 48, 0.08);
}

.ar-chip button:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
    border-radius: 50%;
}

.ar-comparebar .cb-actions[b-c7vzdoxuwl] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 959px) {
    .ar-comparebar[b-c7vzdoxuwl] {
        left: 0;
        padding: 14px 16px;
    }

    .ar-comparebar .cb-chips[b-c7vzdoxuwl] {
        display: none;
    }
}

/* ---------- Help tip ---------- */
.ar-tip[b-c7vzdoxuwl] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 640px;
    background: var(--color-surface);
    border: 1px solid var(--color-border-default);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    padding: 16px 12px 16px 16px;
    margin-bottom: 24px;
}

.ar-tip[b-c7vzdoxuwl]  .mud-icon-root {
    color: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 1px;
}

.ar-tip-body[b-c7vzdoxuwl] {
    min-width: 0;
}

.ar-tip-body strong[b-c7vzdoxuwl] {
    display: block;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

.ar-tip-body p[b-c7vzdoxuwl] {
    margin: 4px 0 0;
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.ar-tip-close[b-c7vzdoxuwl] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: -8px -6px 0 0;
}

.ar-tip-close:hover[b-c7vzdoxuwl] {
    background: var(--color-surface-muted);
    color: var(--color-text-primary);
}

.ar-tip-close:focus-visible[b-c7vzdoxuwl] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 1px;
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
.dashboard-container[b-44754merkg] {
    max-width: 840px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.dashboard-loading[b-44754merkg] {
    min-height: 300px;
}

.dashboard-page-heading[b-44754merkg] {
    margin-bottom: 32px;
}

.dashboard-page-heading .mud-typography-body1[b-44754merkg] {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.dashboard-section-heading[b-44754merkg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.dashboard-section-heading .mud-typography-h5[b-44754merkg] {
    color: var(--color-primary);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
}

[b-44754merkg] .dashboard-toggle-button {
    background: #fff;
    border-color: var(--color-border-default);
    border-radius: 6px;
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 500;
    min-height: 38px;
    padding: 8px 13px;
}

[b-44754merkg] .dashboard-toggle-button:hover {
    background: var(--color-surface-subtle);
    border-color: var(--color-border);
}

[b-44754merkg] .dashboard-toggle-button .mud-icon-root {
    color: var(--color-primary);
    font-size: 18px;
}

.dashboard-vault-list[b-44754merkg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-vault-order-item[b-44754merkg] {
    cursor: pointer;
}

@media (max-width: 600px) {
    .dashboard-container[b-44754merkg] {
        max-width: none;
    }

    .dashboard-section-heading[b-44754merkg] {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .dashboard-vault-order-item[b-44754merkg] {
        cursor: default;
    }
}
/* /Components/Pages/Delegates.razor.rz.scp.css */
.delegate-page-lede[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 60ch;
}

.delegate-tabs-host[b-le1p8jvr95] {
    border-bottom: 1px solid var(--color-border, #D1D5DB);
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: 8px;
    padding: 0;
}

.delegate-tabs-host .delegate-tab[b-le1p8jvr95] {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 7px 7px 0 0;
    color: var(--color-primary-light, #4A6FA5);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto !important;
    font-size: 1rem;
    font-weight: 400;
    gap: 8px;
    justify-content: flex-start;
    letter-spacing: 0;
    line-height: 1.5;
    margin-bottom: -1px;
    min-height: 44px;
    padding: 10px 16px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: none;
    width: auto !important;
}

.delegate-tabs-host .delegate-tab:hover:not(.is-on)[b-le1p8jvr95] {
    background: var(--color-surface-subtle, #F8FAFC);
    color: var(--color-primary, #1E3A5F);
    text-decoration-thickness: 2px;
}

.delegate-tabs-host .delegate-tab.is-on[b-le1p8jvr95] {
    background: var(--color-surface, #fff);
    border-color: var(--color-border, #D1D5DB);
    border-bottom-color: var(--color-surface, #fff);
    color: var(--color-text-primary, #1A2B3C);
    font-weight: 600;
    text-decoration: none;
}

.delegate-tabs-host .delegate-tab:focus-visible[b-le1p8jvr95] {
    border-radius: 4px;
    outline: 2px solid var(--color-primary-light, #4A6FA5);
    outline-offset: 2px;
}

.delegate-tab-count[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.875rem;
    font-weight: 400;
}

.delegate-tab-panel[b-le1p8jvr95] {
    margin-top: 24px;
    padding: 0;
}

.delegate-card[b-le1p8jvr95],
.delegate-table-card[b-le1p8jvr95] {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #D1D5DB);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.delegate-card[b-le1p8jvr95] {
    padding: 24px;
}

.delegate-card--wide[b-le1p8jvr95] {
    max-width: 760px;
}

.delegate-section-heading[b-le1p8jvr95] {
    color: var(--color-primary, #1E3A5F);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 12px;
}

.delegate-form-head[b-le1p8jvr95] {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.delegate-edit-badge[b-le1p8jvr95] {
    align-items: center;
    background: var(--color-surface-subtle, #F8FAFC);
    border: 1px solid var(--color-border-light, #E2E8F0);
    border-radius: 999px;
    color: var(--color-primary-light, #4A6FA5);
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 500;
    gap: 6px;
    line-height: 1.5;
    margin-left: 12px;
    padding: 4px 10px;
    vertical-align: middle;
}

.delegate-card[b-le1p8jvr95]  .delegate-field {
    margin-bottom: 20px;
}

.delegate-expiry-preview[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: -16px 0 20px;
}

.delegate-expiry-preview strong[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-weight: 600;
}

.delegate-card[b-le1p8jvr95]  #delegate-email-input {
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 12px;
}

.delegate-section-heading--tab[b-le1p8jvr95] {
    margin-top: 28px;
}

.delegate-subsection-heading[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 8px 0 6px;
}

.delegate-copy[b-le1p8jvr95] {
    max-width: 60ch;
}

.delegate-card-lede[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 24px;
}

.delegate-helper-copy[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0 0 14px;
}

.delegate-preset-row[b-le1p8jvr95] {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

.delegate-preset[b-le1p8jvr95] {
    background: var(--color-surface, #fff);
    border: 2px solid var(--color-border, #D1D5DB);
    border-radius: 10px;
    color: var(--color-text-primary, #1A2B3C);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    padding: 16px 18px 18px;
    position: relative;
}

.delegate-preset input[b-le1p8jvr95] {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.delegate-preset:hover[b-le1p8jvr95] {
    border-color: var(--color-primary-light, #4A6FA5);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.10);
}

.delegate-preset.is-on[b-le1p8jvr95] {
    border-color: var(--color-primary, #1E3A5F);
    box-shadow: 0 0 0 1px rgba(30, 58, 95, 0.08), 0 2px 8px rgba(30, 58, 95, 0.10);
}

.delegate-preset:focus-within[b-le1p8jvr95] {
    outline: 2px solid var(--color-primary-light, #4A6FA5);
    outline-offset: 2px;
}

.delegate-preset__top[b-le1p8jvr95] {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.delegate-preset__title[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
}

.delegate-preset__dot[b-le1p8jvr95] {
    border: 2px solid var(--color-border, #D1D5DB);
    border-radius: 999px;
    flex: 0 0 auto;
    height: 18px;
    width: 18px;
}

.delegate-preset.is-on .delegate-preset__dot[b-le1p8jvr95] {
    background: radial-gradient(circle, var(--color-primary, #1E3A5F) 0 45%, transparent 50%);
    border-color: var(--color-primary, #1E3A5F);
}

.delegate-preset__summary[b-le1p8jvr95] {
    align-items: center;
    color: var(--color-primary, #1E3A5F);
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 8px;
    line-height: 1.5;
}

.delegate-preset__desc[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.delegate-custom-detail[b-le1p8jvr95] {
    border: 1px solid var(--color-border-light, #E2E8F0);
    border-radius: 8px;
    overflow: hidden;
}

.delegate-custom-detail__head[b-le1p8jvr95] {
    background: var(--color-surface-subtle, #F8FAFC);
    border-bottom: 1px solid var(--color-border-light, #E2E8F0);
    padding: 14px 16px;
}

.delegate-custom-detail__head h3[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.delegate-section-list[b-le1p8jvr95] {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border-light, #E2E8F0);
}

.delegate-section-row[b-le1p8jvr95] {
    align-items: center;
    border-bottom: 1px solid var(--color-border-light, #E2E8F0);
    column-gap: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 16px 14px 8px;
}

.delegate-section-row__meta[b-le1p8jvr95] {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.delegate-section-row__glyph[b-le1p8jvr95] {
    align-items: center;
    background: var(--color-surface-subtle, #F8FAFC);
    border-radius: 6px;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 18px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    width: 32px;
}

.delegate-custom-detail .delegate-section-list[b-le1p8jvr95] {
    border-top: 0;
}

.delegate-section-row__name[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.delegate-section-row__sub[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-top: 1px;
}

.delegate-table-card[b-le1p8jvr95]  table {
    border-collapse: collapse;
    table-layout: auto;
    width: 100%;
}

.delegate-table-card[b-le1p8jvr95]  th {
    background: var(--color-surface-subtle, #F8FAFC);
    border-bottom: 1px solid var(--color-border-light, #E2E8F0);
    color: var(--color-text-secondary, #5C6B7A) !important;
    font-size: 0.8125rem !important;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    padding: 12px 16px;
    text-align: left;
    text-transform: uppercase;
}

.delegate-table-card[b-le1p8jvr95]  th:first-child,
.delegate-table-card[b-le1p8jvr95]  td:first-child {
    padding-left: 24px;
}

.delegate-table-card[b-le1p8jvr95]  th:last-child,
.delegate-table-card[b-le1p8jvr95]  td:last-child {
    padding-right: 24px;
}

.delegate-table-card[b-le1p8jvr95]  td {
    border-bottom: 1px solid var(--color-border-light, #E2E8F0);
    color: var(--color-text-secondary, #5C6B7A) !important;
    font-size: 0.9375rem !important;
    font-weight: 400;
    line-height: 1.5;
    padding: 16px;
    vertical-align: middle;
}

.delegate-table-card[b-le1p8jvr95]  .delegate-table-col--delegate {
    white-space: nowrap;
    width: 1%;
}

.delegate-table-card[b-le1p8jvr95]  .delegate-table-col--status {
    width: 12%;
}

.delegate-table-card[b-le1p8jvr95]  .delegate-table-col--access {
    width: 31%;
}

.delegate-table-card[b-le1p8jvr95]  .delegate-table-col--expires {
    width: 16%;
}

.delegate-table-card[b-le1p8jvr95]  .delegate-table-col--action {
    width: 20%;
}

.delegate-table-card[b-le1p8jvr95]  tbody tr:last-child td {
    border-bottom: 0;
}

.delegate-table-name[b-le1p8jvr95] {
    color: var(--color-text-primary, #1A2B3C);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.delegate-table-meta[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: nowrap;
}

.delegate-status-badge[b-le1p8jvr95] {
    align-items: center;
    background: var(--color-surface-muted, #F3F4F6);
    border-radius: 999px;
    color: var(--color-text-secondary, #5C6B7A);
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 500;
    gap: 6px;
    line-height: 1.5;
    padding: 4px 10px;
}

.delegate-status-badge--pending[b-le1p8jvr95] {
    background: rgba(217, 119, 6, 0.12);
    color: var(--color-warning, #D97706);
}

.delegate-status-badge--accepted[b-le1p8jvr95] {
    background: rgba(46, 125, 107, 0.12);
    color: var(--color-success, #2E7D6B);
}

.delegate-status-badge__dot[b-le1p8jvr95] {
    background: currentColor;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.delegate-permission-summary[b-le1p8jvr95] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.delegate-permission-pill[b-le1p8jvr95] {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 500;
    gap: 6px;
    padding: 4px 10px;
}

.delegate-permission-pill[b-le1p8jvr95]  .mud-icon-root {
    font-size: 14px;
}

.delegate-permission-pill--edit[b-le1p8jvr95] {
    background: rgba(30, 58, 95, 0.10);
    color: var(--color-primary, #1E3A5F);
}

.delegate-permission-pill--view[b-le1p8jvr95] {
    background: rgba(74, 111, 165, 0.12);
    color: var(--color-primary-light, #4A6FA5);
}

.delegate-permission-pill--none[b-le1p8jvr95] {
    background: var(--color-surface-muted, #F3F4F6);
    color: var(--color-text-secondary, #5C6B7A);
}

.delegate-empty-state[b-le1p8jvr95],
.delegate-empty-row[b-le1p8jvr95] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.9375rem;
    padding: 32px 16px;
    text-align: center;
}

.delegate-empty-row[b-le1p8jvr95] {
    padding: 24px;
}

.delegate-row-actions[b-le1p8jvr95]  .mud-button-root {
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 0;
    padding: 0 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

[b-le1p8jvr95] .delegate-row-actions .mud-button-root {
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 0;
    padding: 0 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

[b-le1p8jvr95] .delegate-row-actions {
    gap: 20px !important;
}

.delegate-submit-button[b-le1p8jvr95],
[b-le1p8jvr95] .delegate-submit-button {
    margin-top: 24px;
    min-height: 48px;
    width: 100%;
}

/* Backdrop colour/position/z-index come from the shared .modal-backdrop class in app.css */
.delegate-modal-backdrop[b-le1p8jvr95] {
    align-items: flex-start;
    padding: 72px 24px 24px;
}

.delegate-modal[b-le1p8jvr95] {
    background: var(--color-surface, #fff);
    border-radius: 12px;
    color: var(--color-text-primary, #1A2B3C);
    box-shadow: 0 12px 40px rgba(21, 45, 74, 0.32);
    max-width: 460px;
    padding: 28px 28px 24px;
    width: 100%;
}

.delegate-modal__icon[b-le1p8jvr95] {
    align-items: center;
    background: var(--color-secondary, #E8DED1);
    border-radius: 50%;
    color: var(--color-primary, #1E3A5F);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 14px;
    width: 44px;
}

.delegate-modal__actions[b-le1p8jvr95] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

@media (max-width: 599px) {
    .delegate-card[b-le1p8jvr95] {
        padding: 16px;
    }

    .delegate-form-head[b-le1p8jvr95] {
        align-items: stretch;
        flex-direction: column;
    }

    .delegate-edit-badge[b-le1p8jvr95] {
        margin-left: 0;
        margin-top: 8px;
    }

    .delegate-preset-row[b-le1p8jvr95] {
        grid-template-columns: 1fr;
    }

    .delegate-preset[b-le1p8jvr95] {
        min-height: 0;
    }

    .delegate-section-row[b-le1p8jvr95] {
        align-items: start;
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .delegate-modal-backdrop[b-le1p8jvr95] {
        padding: 24px 16px;
    }

    .delegate-modal__actions[b-le1p8jvr95] {
        flex-direction: column-reverse;
    }

    .delegate-modal__actions .mud-button-root[b-le1p8jvr95] {
        width: 100%;
    }
}
/* /Components/Pages/RequestSummary.razor.rz.scp.css */
.request-summary-section[b-qlr7x7ha5q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.request-summary-link[b-qlr7x7ha5q] {
    font-weight: 600;
    color: var(--color-info);
    text-decoration: underline;
    white-space: nowrap;
}

.request-summary-link:hover[b-qlr7x7ha5q] {
    text-decoration: underline;
}

.request-summary-loading[b-qlr7x7ha5q] {
    min-height: 240px;
}
/* /Components/Pages/ViewDebt.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Every section on this page now renders through RecordDetailCard, so no local card styling
   is needed here. */
.view-record-header-actions[b-xh9xpmlehc] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-xh9xpmlehc] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewHouseholdBill.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Every section on this page now renders through RecordDetailCard, so no local card styling
   is needed here. */
.view-record-header-actions[b-np4byqdmof] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-np4byqdmof] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewInsurancePolicy.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Every section on this page now renders through RecordDetailCard, so no local card styling
   is needed here. */
.view-record-header-actions[b-puc9e1ri3l] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-puc9e1ri3l] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewLpa.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Blazor scopes this per component, so every view page carries its own copy. */
.view-record-header-actions[b-4j47bf2bm8] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-4j47bf2bm8] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewProperty.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Every section on this page now renders through RecordDetailCard, so no local card styling
   is needed here. */
.view-record-header-actions[b-y9nkez97sg] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-y9nkez97sg] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewTrust.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Blazor scopes this per component, so every view page carries its own copy. */
.view-record-header-actions[b-4xzkqp4cgn] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-4xzkqp4cgn] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewVehicle.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Every section on this page now renders through RecordDetailCard, so no local card styling
   is needed here. */
.view-record-header-actions[b-d5nqoiis77] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-d5nqoiis77] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Pages/ViewWill.razor.rz.scp.css */
/* Completion meter and the edit/delete buttons sit side by side in the header actions slot,
   as the design shows. They wrap onto separate lines only when the header runs out of room.
   Blazor scopes this per component, so every view page carries its own copy. */
.view-record-header-actions[b-zz7nrgfnnq] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-end;
}

@media (max-width: 599px) {
    .view-record-header-actions[b-zz7nrgfnnq] {
        gap: 16px;
        justify-content: flex-start;
    }
}
/* /Components/Shared/CompareRecordsDialog.razor.rz.scp.css */
/* Transposed compare matrix — records down the left, fields across the top.
   Adapted from designs/records-table.css (.rt-cmp), mapped onto app.css tokens. */

.cmp-scroll[b-q9spwl6qti] {
    overflow: auto;
    max-height: 70vh;
}

.cmp-table[b-q9spwl6qti] {
    border-collapse: collapse;
    width: 100%;
}

.cmp-table thead th.cmp-collab[b-q9spwl6qti] {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
    text-align: left;
    vertical-align: bottom;
    white-space: nowrap;
    padding: 12px 14px;
    background: var(--color-surface-subtle);
    border-bottom: 2px solid var(--color-border-default);
    position: sticky;
    top: 0;
    z-index: 1;
}

.cmp-table thead th.cmp-corner[b-q9spwl6qti] {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 3;
    background: var(--color-surface-subtle);
    border-bottom: 2px solid var(--color-border-default);
    border-right: 1px solid var(--color-border-default);
    min-width: 200px;
    padding: 12px 14px;
    text-align: left;
    vertical-align: bottom;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}

/* Keep the th as a table-cell so position:sticky is honoured in Firefox; the flex layout
   lives on the inner wrapper instead. */
.cmp-table tbody th.cmp-rowrec[b-q9spwl6qti] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
    border-right: 1px solid var(--color-border-default);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    min-width: 200px;
}

.cmp-rowrec-inner[b-q9spwl6qti] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.cmp-table tbody td[b-q9spwl6qti] {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border-light);
    text-align: left;
    vertical-align: top;
    font-size: var(--font-size-body);
    color: var(--color-text-primary);
}

.cmp-table tbody tr:hover td[b-q9spwl6qti],
.cmp-table tbody tr:hover th.cmp-rowrec[b-q9spwl6qti] {
    background: var(--color-surface-hover);
}

.cmp-reclink[b-q9spwl6qti] {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    line-height: 1.25;
    text-decoration: none;
}

.cmp-reclink:hover[b-q9spwl6qti] {
    color: var(--color-primary-light);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.cmp-reclink:focus-visible[b-q9spwl6qti] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
    border-radius: 2px;
}
/* /Components/Shared/Dashboard/DashboardAlerts.razor.rz.scp.css */
.alert-card[b-1zwt1kcg2u] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 8px;
    min-height: 100%;
}

.alert-icon[b-1zwt1kcg2u] {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1.4;
}

.alert-warning[b-1zwt1kcg2u] {
    background: var(--color-alert-warning-bg);
    border: 1px solid var(--color-alert-warning-border);
}

.alert-info[b-1zwt1kcg2u] {
    background: var(--color-alert-info-bg);
    border: 1px solid var(--color-alert-info-border);
}

.alert-body[b-1zwt1kcg2u] {
    min-width: 0;
    flex: 1 1 auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.alert-title[b-1zwt1kcg2u] {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.alert-desc[b-1zwt1kcg2u] {
    font-size: 14px;
    line-height: 1.45;
    color: var(--color-text-primary);
}

.alert-actions[b-1zwt1kcg2u] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    margin-top: auto;
    padding-top: 8px;
}

.alert-link[b-1zwt1kcg2u] {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-info);
    text-decoration: underline;
    width: fit-content;
}

.alert-link:hover[b-1zwt1kcg2u] {
    text-decoration: underline;
}

.alert-secondary-action[b-1zwt1kcg2u] {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-primary);
    text-decoration: underline;
    width: fit-content;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.alert-secondary-action:hover[b-1zwt1kcg2u] {
    text-decoration: underline;
}

.alert-dismiss[b-1zwt1kcg2u] {
    flex: 0 0 auto;
    margin-top: -4px;
    margin-right: -4px;
}
/* /Components/Shared/Dashboard/DashboardHero.razor.rz.scp.css */
.dashboard-hero[b-ydnjfj3r85] {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-gradient-mid) 50%, var(--color-primary) 100%);
    border-radius: 12px;
    padding: 32px 40px;
}

.hero-heading[b-ydnjfj3r85] {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px 0;
}

.hero-subtitle[b-ydnjfj3r85] {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 18px 0;
    line-height: 1.5;
}

/* White text for stat values and labels */
.hero-stat-val[b-ydnjfj3r85],
.hero-stat-lbl[b-ydnjfj3r85] {
    color: #fff;
}

.hero-info[b-ydnjfj3r85] {
    min-width: 0;
}

.hero-stats[b-ydnjfj3r85] {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-stat[b-ydnjfj3r85] {
    text-align: left;
}

.hero-stat-val[b-ydnjfj3r85] {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    display: block;
}

.hero-stat-val.warn[b-ydnjfj3r85] {
    color: var(--color-dashboard-on-dark-warning) !important;
}

.hero-stat-val.accent[b-ydnjfj3r85] {
    color: var(--color-dashboard-on-dark-accent) !important;
}

.hero-stat-lbl[b-ydnjfj3r85] {
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.7;
}

.hero-meta[b-ydnjfj3r85] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-meta span[b-ydnjfj3r85] {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
    padding: 5px 12px;
}

@media (max-width: 600px) {
    .dashboard-hero[b-ydnjfj3r85] {
        padding: 24px;
    }

    .hero-stats[b-ydnjfj3r85] {
        gap: 20px;
    }

    .hero-stat[b-ydnjfj3r85] {
        min-width: 96px;
    }
}
/* /Components/Shared/Dashboard/DashboardRecentActivity.razor.rz.scp.css */
.dashboard-activity-card[b-legphez015] {
    height: 100%;
}

.activity-card-heading[b-legphez015] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.activity-card-heading .mud-typography-h5[b-legphez015] {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.activity-view-all[b-legphez015] {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.no-activity-text[b-legphez015] {
    color: var(--color-text-secondary);
    font-style: italic;
}

.activity-item[b-legphez015] {
    padding: 8px 0 !important;
    border-bottom: 1px solid var(--color-surface-muted);
}

.activity-item:last-child[b-legphez015] {
    border-bottom: none;
}

.activity-row[b-legphez015] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.activity-dot[b-legphez015] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.dot-green[b-legphez015] { background: var(--color-success-chart); }
.dot-blue[b-legphez015] { background: var(--color-info-chart); }
.dot-red[b-legphez015] { background: var(--color-error-chart); }
.dot-grey[b-legphez015] { background: var(--color-grey-muted); }

.activity-content[b-legphez015] {
    flex: 1;
    min-width: 0;
}
/* /Components/Shared/Dashboard/DashboardVaultAccordion.razor.rz.scp.css */
.vault-panel[b-rpuwravn6d] {
    border: 1px solid var(--color-border-light);
    border-radius: 8px !important;
    overflow: hidden;
}

.vault-header[b-rpuwravn6d] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.vault-drag-handle[b-rpuwravn6d] {
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: var(--color-text-secondary);
    cursor: grab;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
}

.vault-drag-handle:focus-visible[b-rpuwravn6d] {
    box-shadow: 0 0 0 2px var(--color-primary);
    outline: none;
}

.vault-icon[b-rpuwravn6d] {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.vault-name[b-rpuwravn6d] {
    flex: 1;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-primary);
}

.vault-expand-toggle[b-rpuwravn6d] {
    flex-shrink: 0;
}

.vault-body[b-rpuwravn6d] {
    padding: 8px 0;
}

.vault-item-types[b-rpuwravn6d] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.item-type-chip[b-rpuwravn6d] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--color-surface-subtle);
    border: 1px solid var(--color-border-light);
    font-size: 14px;
    line-height: 1.5;
}

.item-type-chip:hover[b-rpuwravn6d] {
    border-color: var(--color-info);
}

.item-type-empty[b-rpuwravn6d] {
    background: var(--color-surface-muted);
    color: var(--color-grey-muted);
    cursor: default;
}

.item-type-count[b-rpuwravn6d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    flex-shrink: 0;
}

.item-type-empty .item-type-count[b-rpuwravn6d] {
    background: var(--color-grey-muted);
}

.item-type-name[b-rpuwravn6d] {
    color: var(--color-text-primary);
}

.item-type-link[b-rpuwravn6d] {
    text-decoration: none;
}

.item-type-link:hover[b-rpuwravn6d] {
    color: var(--color-primary);
    text-decoration: underline;
}

.item-type-empty .item-type-name[b-rpuwravn6d] {
    color: var(--color-grey-muted);
}

.item-type-details[b-rpuwravn6d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.item-type-add-link[b-rpuwravn6d] {
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none !important;
}

.item-type-add-link:hover[b-rpuwravn6d],
.item-type-add-link:focus-visible[b-rpuwravn6d] {
    text-decoration: none !important;
}

.item-type-add-text[b-rpuwravn6d] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.item-type-add-link:hover .item-type-add-text[b-rpuwravn6d],
.item-type-add-link:focus-visible .item-type-add-text[b-rpuwravn6d] {
    text-decoration-thickness: 2px;
}

@media (max-width: 960px) {
    .vault-drag-handle[b-rpuwravn6d] {
        display: none;
    }
}

@media (max-width: 600px) {
    .vault-header[b-rpuwravn6d] {
        gap: 8px;
    }

    .vault-item-types[b-rpuwravn6d] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/DelegatePermissionLevelSelector.razor.rz.scp.css */
.delegate-permission-level[b-0z0f8pvr8e] {
    background: var(--color-surface-subtle, #F8FAFC);
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0;
    margin: 0;
    padding: 3px;
}

.delegate-permission-level__option[b-0z0f8pvr8e] {
    align-items: center;
    border-radius: 6px;
    color: var(--color-text-secondary, #5C6B7A);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 6px;
    justify-content: center;
    min-height: 36px;
    min-width: 100px;
    padding: 8px 14px;
    position: relative;
    transition: background-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
    user-select: none;
    white-space: nowrap;
}

.delegate-permission-level__option input[b-0z0f8pvr8e] {
    cursor: pointer;
    height: 100%;
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.delegate-permission-level__option:hover[b-0z0f8pvr8e] {
    background: var(--color-secondary, #E8DED1);
    color: var(--color-primary, #1E3A5F);
    box-shadow:
        inset 0 0 0 1px var(--color-accent, #D4956A),
        0 1px 2px rgba(30, 58, 95, 0.10);
}

.delegate-permission-level__option.is-selected[b-0z0f8pvr8e] {
    background: var(--color-primary, #1E3A5F);
    color: #fff;
    box-shadow:
        inset 0 -1px 0 var(--color-primary-dark, #152D4A),
        0 1px 2px rgba(30, 58, 95, 0.12);
}

.delegate-permission-level__option.is-selected:hover[b-0z0f8pvr8e] {
    background: var(--color-primary-dark, #152D4A);
    color: #fff;
}

.delegate-permission-level__option:focus-within[b-0z0f8pvr8e] {
    outline: 2px solid var(--color-primary-light, #4A6FA5);
    outline-offset: 2px;
}
/* /Components/Shared/DocumentReauthDialog.razor.rz.scp.css */
/* Backdrop colour/position/z-index come from the shared .modal-backdrop class in app.css. */
.document-reauth-modal-backdrop[b-k4mw997g7d] {
    align-items: flex-start;
    padding: 72px 24px 24px;
}

.document-reauth-modal[b-k4mw997g7d] {
    background: var(--color-surface, #fff);
    border-radius: 12px;
    color: var(--color-text-primary, #1A2B3C);
    box-shadow: 0 12px 40px rgba(21, 45, 74, 0.32);
    max-width: 460px;
    padding: 28px 28px 24px;
    width: 100%;
}

.document-reauth-modal__icon[b-k4mw997g7d] {
    align-items: center;
    background: var(--color-secondary, #E8DED1);
    border-radius: 50%;
    color: var(--color-primary, #1E3A5F);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-bottom: 14px;
    width: 44px;
}

.document-reauth-modal__actions[b-k4mw997g7d] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

@media (max-width: 599px) {
    .document-reauth-modal-backdrop[b-k4mw997g7d] {
        padding: 24px 16px;
    }

    .document-reauth-modal__actions[b-k4mw997g7d] {
        flex-direction: column-reverse;
    }

    .document-reauth-modal__actions .mud-button-root[b-k4mw997g7d] {
        width: 100%;
    }
}
/* /Components/Shared/LabelledField.razor.rz.scp.css */
.labelled-field[b-41mfdh7t3w] {
    border: 0;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    padding: 0;
}

.labelled-field__label[b-41mfdh7t3w] {
    color: var(--color-text-primary, #1A2B3C);
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 4px;
}

.labelled-field--group .labelled-field__label[b-41mfdh7t3w] {
    margin-bottom: 8px;
    padding: 0;
}

.labelled-field__hint[b-41mfdh7t3w] {
    color: var(--color-text-secondary, #5C6B7A);
    font-size: 0.875rem;
    line-height: 1.43;
    margin: 0 0 8px;
}

.labelled-field__error[b-41mfdh7t3w] {
    color: var(--color-error);
    font-weight: 700;
    margin: 0 0 8px;
}
/* /Components/Shared/RecordCompletionMeter.razor.rz.scp.css */
.record-completion-meter[b-nr4x50b6xn] {
    min-width: 190px;
}

.completion-meter-row[b-nr4x50b6xn] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.completion-meter-label[b-nr4x50b6xn] {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.completion-meter-count[b-nr4x50b6xn] {
    font-size: 14px;
    color: var(--color-text-secondary);
}

.completion-meter-track[b-nr4x50b6xn] {
    height: 8px;
    border-radius: 999px;
    background: var(--color-secondary);
    overflow: hidden;
}

.completion-meter-fill[b-nr4x50b6xn] {
    height: 100%;
    border-radius: 999px;
    background: var(--color-accent);
    width: 0%;
}

.completion-meter-fill-0[b-nr4x50b6xn] { width: 0%; }
.completion-meter-fill-5[b-nr4x50b6xn] { width: 5%; }
.completion-meter-fill-10[b-nr4x50b6xn] { width: 10%; }
.completion-meter-fill-15[b-nr4x50b6xn] { width: 15%; }
.completion-meter-fill-20[b-nr4x50b6xn] { width: 20%; }
.completion-meter-fill-25[b-nr4x50b6xn] { width: 25%; }
.completion-meter-fill-30[b-nr4x50b6xn] { width: 30%; }
.completion-meter-fill-35[b-nr4x50b6xn] { width: 35%; }
.completion-meter-fill-40[b-nr4x50b6xn] { width: 40%; }
.completion-meter-fill-45[b-nr4x50b6xn] { width: 45%; }
.completion-meter-fill-50[b-nr4x50b6xn] { width: 50%; }
.completion-meter-fill-55[b-nr4x50b6xn] { width: 55%; }
.completion-meter-fill-60[b-nr4x50b6xn] { width: 60%; }
.completion-meter-fill-65[b-nr4x50b6xn] { width: 65%; }
.completion-meter-fill-70[b-nr4x50b6xn] { width: 70%; }
.completion-meter-fill-75[b-nr4x50b6xn] { width: 75%; }
.completion-meter-fill-80[b-nr4x50b6xn] { width: 80%; }
.completion-meter-fill-85[b-nr4x50b6xn] { width: 85%; }
.completion-meter-fill-90[b-nr4x50b6xn] { width: 90%; }
.completion-meter-fill-95[b-nr4x50b6xn] { width: 95%; }
.completion-meter-fill-100[b-nr4x50b6xn] { width: 100%; }
/* /Components/Shared/RecordDetailCard.razor.rz.scp.css */
.record-detail-card[b-jjpdrhxtne] {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--color-card-shadow);
    overflow: hidden;
    padding-bottom: 8px;
}

.record-detail-card__title[b-jjpdrhxtne] {
    color: var(--color-text-primary);
    font-size: 18px;
    margin: 0;
    padding: 16px 24px 8px;
}

.record-detail-card__list[b-jjpdrhxtne] {
    margin: 0;
}
/* /Components/Shared/RecordDetailRow.razor.rz.scp.css */
.record-detail-row[b-gaitmwuoyo] {
    align-items: baseline;
    display: grid;
    font-size: 16px;
    gap: 24px;
    grid-template-columns: 250px minmax(0, 1fr) 130px;
    padding: 16px 24px;
}

.record-detail-row--changed[b-gaitmwuoyo] {
    background: var(--color-row-changed-bg);
}

.record-detail-row__label[b-gaitmwuoyo] {
    color: var(--color-text-primary);
    font-weight: 600;
    margin: 0;
}

.record-detail-row__value[b-gaitmwuoyo] {
    color: var(--color-text-primary);
    margin: 0;
}

/* Body-secondary ink, not the muted grey: the muted grey falls below the 4.5:1 contrast
   WCAG AA needs, and "Not provided" is real content on every record. */
.record-detail-row__empty[b-gaitmwuoyo] {
    color: var(--color-text-secondary);
}

.record-detail-row__previous[b-gaitmwuoyo] {
    color: var(--color-text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* text-transform gives the badge its all-caps look. Screen readers announce the DOM text
   ("Changed"); CSS casing does not affect how assistive tech reads it either way. */
.record-detail-row__changed-badge[b-gaitmwuoyo] {
    background: var(--color-surface);
    border-radius: 4px;
    color: var(--color-primary);
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-left: 8px;
    padding: 4px 8px;
    text-transform: uppercase;
}

.record-detail-row__action[b-gaitmwuoyo] {
    margin: 0;
    text-align: right;
}

.record-detail-row__add-link[b-gaitmwuoyo],
.record-detail-row__add-link--button[b-gaitmwuoyo] {
    background: none;
    border: none;
    color: var(--color-primary-light);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    text-decoration: underline;
}

@media (max-width: 959px) {
    .record-detail-row[b-gaitmwuoyo] {
        grid-template-columns: 1fr;
    }

    .record-detail-row__action[b-gaitmwuoyo] {
        text-align: right;
    }
}
/* /Components/Shared/RelatedRecordsSection.razor.rz.scp.css */
.related-records-group[b-6v62l871m4] {
    margin-bottom: 24px;
}

.related-records-group:last-child[b-6v62l871m4] {
    margin-bottom: 0;
}

.related-records-group-heading[b-6v62l871m4] {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border, #D1D5DB);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary, #5C6B7A);
}

.related-record-row[b-6v62l871m4] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
}

.related-record-row-present[b-6v62l871m4] {
    background-color: var(--color-surface-subtle, #F8FAFC);
}

.related-record-row-missing[b-6v62l871m4] {
    border: 1px dashed var(--color-border, #D1D5DB);
}

.related-record-icon[b-6v62l871m4] {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.related-record-icon-faded[b-6v62l871m4] {
    opacity: 0.4;
}

.related-record-body[b-6v62l871m4] {
    flex: 1;
    min-width: 0;
}

.related-record-subtitle[b-6v62l871m4] {
    font-size: 14px;
    color: var(--color-text-secondary, #5C6B7A);
}

/* Body-secondary ink, not the muted grey: the muted grey falls below the 4.5:1 contrast
   WCAG AA needs for normal text. */
.related-record-empty-text[b-6v62l871m4] {
    color: var(--color-text-secondary);
}
/* /Components/Shared/RenewalPromptCard.razor.rz.scp.css */
.renewal-prompt-card[b-6bla5bvmlb] {
    background: var(--color-alert-warning-bg);
    border: 1px solid var(--color-alert-warning-border);
    border-radius: 6px;
    padding: 16px 24px;
}

.renewal-prompt-heading[b-6bla5bvmlb] {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.renewal-prompt-detail[b-6bla5bvmlb] {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-primary);
    margin-top: 4px;
}
/* /Components/Shared/SectionConsentSelector.razor.rz.scp.css */
.consent-permission-level[b-85wvaycsmk] {
    background: var(--color-surface-subtle, #F8FAFC);
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0;
    margin: 0;
    padding: 3px;
}

.consent-permission-level__option[b-85wvaycsmk] {
    align-items: center;
    border-radius: 6px;
    color: var(--color-text-secondary, #5C6B7A);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 500;
    gap: 6px;
    justify-content: center;
    min-height: 36px;
    min-width: 100px;
    padding: 8px 14px;
    position: relative;
    transition: background-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
    user-select: none;
    white-space: nowrap;
}

.consent-permission-level__option input[b-85wvaycsmk] {
    cursor: pointer;
    height: 100%;
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.consent-permission-level__option:hover[b-85wvaycsmk] {
    background: var(--color-secondary, #E8DED1);
    color: var(--color-primary, #1E3A5F);
    box-shadow:
        inset 0 0 0 1px var(--color-accent, #D4956A),
        0 1px 2px rgba(30, 58, 95, 0.10);
}

.consent-permission-level__option.is-selected[b-85wvaycsmk] {
    background: var(--color-primary, #1E3A5F);
    color: #fff;
    box-shadow:
        inset 0 -1px 0 var(--color-primary-dark, #152D4A),
        0 1px 2px rgba(30, 58, 95, 0.12);
}

.consent-permission-level__option.is-selected:hover[b-85wvaycsmk] {
    background: var(--color-primary-dark, #152D4A);
    color: #fff;
}

.consent-permission-level__option:focus-within[b-85wvaycsmk] {
    outline: 2px solid var(--color-primary-light, #4A6FA5);
    outline-offset: 2px;
}

.consent-permission-level.is-disabled[b-85wvaycsmk] {
    opacity: 0.5;
}

.consent-permission-level.is-disabled .consent-permission-level__option[b-85wvaycsmk] {
    cursor: not-allowed;
    pointer-events: none;
}
/* /Components/Shared/SessionTimeoutMonitor.razor.rz.scp.css */
/* Backdrop colour/position/z-index come from the shared .modal-backdrop class in app.css */
.session-timeout-backdrop[b-h6hsf7zp03] {
    align-items: center;
    padding: 24px;
}

.session-timeout-dialog[b-h6hsf7zp03] {
    max-width: 31rem;
    width: 100%;
}
