@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* Sidebar rail. Colours come from the --rail-* tokens in app.css so the rail follows
   the light/dark theme; the dark values are the design's. State lives on <html>
   (data-rail / data-nav-closed / data-drawer / data-logout) because the layout renders
   statically; see wwwroot/js/sidebar.js. */

.admin-shell[b-68nkk0vw8l] {
    display: grid;
    grid-template-columns: 256px 1fr;
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    /* The rail width is deliberately NOT transitioned. Animating a grid track relayouts
       the whole page — every card, chart and table — on each of ~16 frames, which reads
       as lag on a dense page. It snaps in one reflow instead; the chevron and the labels
       still animate, and those are composited. */
}

html[data-rail="collapsed"] .admin-shell[b-68nkk0vw8l] {
    grid-template-columns: 84px 1fr;
}

/* --- sidebar --- */

.admin-sidebar[b-68nkk0vw8l] {
    display: flex;
    flex-direction: column;
    background: var(--rail-bg);
    border-right: 1px solid var(--rail-border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    font-family: var(--font-body);
}

.admin-brand[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 16px 16px;
}

.brand-mark[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--gradient-brand);
    font: 700 13px/1 var(--font-body);
    color: var(--text-on-brand);
    letter-spacing: 0.5px;
    text-decoration: none;
    flex: none;
}

.brand-text[b-68nkk0vw8l] {
    display: flex;
    flex-direction: column;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.16s;
}

.brand-name[b-68nkk0vw8l] {
    font: 600 14px/1.2 var(--font-body);
    color: var(--rail-brand-ink);
}

.brand-tag[b-68nkk0vw8l] {
    font: 400 11px/1.2 var(--font-body);
    color: var(--rail-brand-tag);
}

.rail-collapse[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 8px;
    background: var(--rail-btn-bg);
    border: 1px solid var(--rail-btn-border);
    color: var(--rail-btn-ink);
    cursor: pointer;
    flex: none;
    transition: transform 0.26s, background 0.12s;
}

.rail-collapse:hover[b-68nkk0vw8l] {
    background: var(--rail-btn-hover);
}

html[data-rail="collapsed"] .rail-collapse[b-68nkk0vw8l] {
    transform: rotate(180deg);
}

.drawer-close[b-68nkk0vw8l] {
    display: none;
}

.brand-divider[b-68nkk0vw8l] {
    height: 1px;
    background: var(--rail-divider);
    margin: 0 16px 10px;
}

/* --- nav --- */

.admin-nav[b-68nkk0vw8l] {
    flex: 1;
    padding: 0 12px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-group-toggle[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 2px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.16s;
}

.nav-group-label[b-68nkk0vw8l] {
    margin: 0;
    font: 600 10px/1 var(--font-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rail-group-ink);
}

.nav-group-chevron[b-68nkk0vw8l] {
    margin-left: auto;
    color: var(--rail-group-ink);
    transition: transform 0.2s;
}

.nav-group[b-68nkk0vw8l] {
    margin-bottom: 8px;
}

html[data-nav-closed~="workflow"] .nav-group[data-group="workflow"][b-68nkk0vw8l],
html[data-nav-closed~="records"] .nav-group[data-group="records"][b-68nkk0vw8l],
html[data-nav-closed~="triage"] .nav-group[data-group="triage"][b-68nkk0vw8l],
html[data-nav-closed~="admin"] .nav-group[data-group="admin"][b-68nkk0vw8l] {
    display: none;
}

/* Triage's toggle sits inside a group rather than above one, so it carries an icon
   and a count and has to look like a nav link, not a section heading. */
.nav-parent-toggle[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    margin-bottom: 2px;
    border: 0;
    border-radius: 9px;
    background: none;
    color: inherit;
    font: inherit;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.nav-parent-toggle .nav-label[b-68nkk0vw8l] { flex: 1 1 auto; text-align: left; }

.nav-group[data-group="triage"][b-68nkk0vw8l] { margin-left: 10px; }

html[data-nav-closed~="workflow"] .nav-group-toggle[data-group="workflow"] .nav-group-chevron[b-68nkk0vw8l],
html[data-nav-closed~="records"] .nav-group-toggle[data-group="records"] .nav-group-chevron[b-68nkk0vw8l],
html[data-nav-closed~="triage"] .nav-group-toggle[data-group="triage"] .nav-group-chevron[b-68nkk0vw8l],
html[data-nav-closed~="admin"] .nav-group-toggle[data-group="admin"] .nav-group-chevron[b-68nkk0vw8l] {
    transform: rotate(-90deg);
}

.admin-nav[b-68nkk0vw8l]  .admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    margin-bottom: 2px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--rail-item-ink);
    font: 500 13.5px/1 var(--font-body);
    white-space: nowrap;
    transition: background 0.12s, color 0.12s;
}

.admin-nav[b-68nkk0vw8l]  .admin-nav-link:hover {
    background: var(--rail-item-hover);
    text-decoration: none;
}

.admin-nav[b-68nkk0vw8l]  .admin-nav-link.active {
    background: var(--rail-active-bg);
    color: var(--rail-active-ink);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--rail-active-bar);
}

.nav-icon[b-68nkk0vw8l] {
    flex: none;
}

.nav-label[b-68nkk0vw8l] {
    white-space: nowrap;
    transition: opacity 0.16s;
}

.nav-badge[b-68nkk0vw8l] {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 20px;
    background: var(--rail-badge-bg);
    color: var(--rail-badge-ink);
    font: 600 10.5px/1 var(--font-body);
    transition: opacity 0.16s;
}

.nav-count[b-68nkk0vw8l] {
    margin-left: auto;
    color: var(--rail-count-ink);
    font: 500 11.5px/1 var(--font-body);
    transition: opacity 0.16s;
}

/* --- rail foot: closes the rail off below the nav --- */

.rail-foot[b-68nkk0vw8l] {
    padding: 12px 12px 14px;
    border-top: 1px solid var(--rail-divider);
}

.rail-stat[b-68nkk0vw8l] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 0 12px 10px;
}

.rail-stat-value[b-68nkk0vw8l] {
    font: 600 17px/1 var(--font-body);
    color: var(--rail-brand-ink);
}

.rail-stat-label[b-68nkk0vw8l] {
    font: 500 11.5px/1.3 var(--font-body);
    color: var(--rail-item-ink);
}

.rail-build[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    font: 500 10.5px/1 var(--font-mono);
    letter-spacing: 0.04em;
    color: var(--rail-logout-ink);
}

.rail-env[b-68nkk0vw8l] {
    padding: 3px 6px;
    border-radius: 5px;
    background: var(--rail-card-bg);
    color: var(--rail-card-ink);
    text-transform: uppercase;
}

/* Collapsed to icons: the words have nowhere to go, so only the number stays. */
html[data-rail="collapsed"] .rail-stat[b-68nkk0vw8l] {
    justify-content: center;
    padding: 0 0 10px;
}

html[data-rail="collapsed"] .rail-stat-label[b-68nkk0vw8l],
html[data-rail="collapsed"] .rail-build[b-68nkk0vw8l] {
    display: none;
}

/* --- collapsed rail: everything but the icons fades out --- */

/* :not(.nav-parent-toggle) matters. Triage is a nav ITEM that owns a group, not a
   section header, so it carries an icon of its own — fading it out with the
   headers took the icon with it and left a gap where the row should be. */
html[data-rail="collapsed"] .brand-text[b-68nkk0vw8l],
html[data-rail="collapsed"] .nav-group-toggle:not(.nav-parent-toggle)[b-68nkk0vw8l],
html[data-rail="collapsed"] .nav-label[b-68nkk0vw8l],
html[data-rail="collapsed"] .nav-badge[b-68nkk0vw8l],
html[data-rail="collapsed"] .nav-count[b-68nkk0vw8l] {
    opacity: 0;
    pointer-events: none;
}

/* Sections always show their items while collapsed — there is no header to reopen them. */
html[data-rail="collapsed"] .nav-group[data-group][b-68nkk0vw8l] {
    display: block;
}

/* --- collapsed: the Triage block --- */

/* Only the chevron goes. The row deliberately keeps .admin-nav-link's padding and
   gap so its icon lands on the same vertical line as every other icon in the rail
   — the collapsed rail left-aligns, it does not centre, and centring this one row
   is exactly what made it look out of line with the rest. */
html[data-rail="collapsed"] .nav-parent-toggle .nav-group-chevron[b-68nkk0vw8l] {
    display: none;
}

/* The folder list is words with no icons, and the mailbox row is an avatar that
   only repeats the row above it. Neither survives 84px, and the generic
   "always show group items" rule above would force both back on — so they are
   hidden outright rather than faded, which would keep their height.

   ::deep on the mailbox because NavLink renders that anchor, so it never carries
   this stylesheet's scope attribute and a plain selector silently matches nothing.
   The folder wrapper is a div in this file, so it scopes normally. */
html[data-rail="collapsed"] .nav-group[data-group="triage"] .nav-sub[b-68nkk0vw8l],
html[data-rail="collapsed"] .nav-sub-work[b-68nkk0vw8l] {
    display: none;
}

html[data-rail="collapsed"] .admin-nav[b-68nkk0vw8l]  .nav-mailbox {
    display: none;
}

/* Left inset exists to nest the group under Triage; at 84px it just pushes the
   Drafts icon out of line with the others. */
html[data-rail="collapsed"] .nav-group[data-group="triage"][b-68nkk0vw8l] {
    margin-left: 0;
}

/* These sit on the content column now, not the dark rail, so they use the page
   tokens (--ink / --dim / --surface-2) rather than the --rail-* ones. */

/* Round, matching the landing header's chip — same person, same shape. */
.user-avatar[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-brand);
    font: 600 11px/1 var(--font-body);
    color: var(--text-on-brand);
    flex: none;
}

/* Collapsed to the avatar by default and revealed on hover, so a long address
   costs nothing at rest. Clipped rather than removed: the text stays in the
   accessibility tree and is still read out. max-width rather than width because
   the content sizes itself; it animates well enough on a string this short. */
.admin-user-name[b-68nkk0vw8l] {
    min-width: 0;
    max-width: 0;
    margin: 0;
    opacity: 0;
    font: 500 12.5px/1.3 var(--font-body);
    color: var(--ink);
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.22s ease, margin 0.22s ease, opacity 0.15s ease;
}

.admin-user-link:hover .admin-user-name[b-68nkk0vw8l],
.admin-user-link:focus-visible .admin-user-name[b-68nkk0vw8l],
html[data-usermenu] .admin-user-name[b-68nkk0vw8l] {
    max-width: 32ch;
    margin: 0 7px 0 9px;
    opacity: 1;
}

.admin-user-chevron[b-68nkk0vw8l] {
    flex: none;
    color: var(--dim);
    transition: transform 0.16s;
}

html[data-usermenu] .admin-user-chevron[b-68nkk0vw8l] {
    transform: rotate(180deg);
}

/* --- layout modals (log out, change password), centred over the page --- */

.logout-confirm[b-68nkk0vw8l] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 900;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: var(--rail-scrim);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    font-family: var(--font-body);
}

html[data-modal="logout"] #logout-modal[b-68nkk0vw8l],
html[data-modal="password"] #password-modal[b-68nkk0vw8l] {
    display: flex;
}

.logout-card[b-68nkk0vw8l] {
    width: 100%;
    max-width: 300px;
    padding: 20px;
    border-radius: 16px;
    background: var(--rail-modal-bg);
    border: 1px solid var(--rail-modal-border);
    box-shadow: var(--shadow-lg);
}

.logout-icon[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: var(--danger-tint);
    color: var(--danger);
}

.logout-title[b-68nkk0vw8l] {
    font: 600 15px/1.3 var(--font-body);
    color: var(--rail-modal-title);
    margin-bottom: 5px;
}

.logout-body[b-68nkk0vw8l] {
    font: 400 12.5px/1.45 var(--font-body);
    color: var(--rail-modal-body);
    margin-bottom: 18px;
}

.logout-actions[b-68nkk0vw8l] {
    display: flex;
    gap: 9px;
}

.logout-cancel[b-68nkk0vw8l] {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    background: var(--rail-cancel-bg);
    border: 1px solid var(--rail-cancel-border);
    color: var(--rail-cancel-ink);
    font: 600 12.5px/1 var(--font-body);
    cursor: pointer;
}

.logout-confirm-btn[b-68nkk0vw8l] {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    background: var(--danger-ink);
    border: none;
    color: var(--text-on-brand);
    font: 600 12.5px/1 var(--font-body);
    cursor: pointer;
}

/* --- change password: the logout card with fields in it --- */

.pw-card[b-68nkk0vw8l] {
    max-width: 340px;
}

.pw-icon[b-68nkk0vw8l] {
    background: var(--brand-primary-tint);
    color: var(--brand-primary-strong);
}

.pw-field[b-68nkk0vw8l] {
    display: block;
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--rail-cancel-border);
    background: var(--rail-cancel-bg);
    color: var(--rail-modal-title);
    font: 400 13px var(--font-body);
}

.pw-field:focus[b-68nkk0vw8l] {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: var(--focus-ring);
}

.pw-submit[b-68nkk0vw8l] {
    flex: 1;
    padding: 10px;
    border-radius: 9px;
    background: var(--brand-primary-strong);
    border: none;
    color: var(--text-on-brand);
    font: 600 12.5px/1 var(--font-body);
    cursor: pointer;
}

/* Outcome of the password post, which arrives as a redirect with a query flag. */
.pw-banner[b-68nkk0vw8l] {
    margin: 0 0 14px;
    padding: 11px 14px;
    border-radius: 10px;
    font: 400 12.5px/1.45 var(--font-body);
    border: 1px solid var(--rail-modal-border);
    background: var(--rail-modal-bg);
    color: var(--rail-modal-body);
}

.pw-banner.bad[b-68nkk0vw8l] {
    border-color: color-mix(in srgb, var(--danger) 40%, transparent);
    color: var(--danger-ink);
}

/* No gap: a flex gap would still be paid on both sides of the collapsed name,
   leaving a hole between the avatar and the chevron. The name carries its own
   margin instead, and animates it away with its width. */
.admin-user-link[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 4px 8px 4px 4px;
    margin-right: 2px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s;
}

.admin-user-link:hover[b-68nkk0vw8l] {
    background: var(--surface-2);
    border-color: var(--border);
}

/* --- mobile chrome, off until the drawer breakpoint --- */

.admin-topbar[b-68nkk0vw8l],
.admin-scrim[b-68nkk0vw8l] {
    display: none;
}

/* --- content --- */

.admin-main[b-68nkk0vw8l] {
    padding: 2rem 2.75rem 3rem;
    width: 100%;
    min-width: 0;
}

/* --- account bar, top right of the content column --- */

.admin-userbar[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -0.5rem 0 1.25rem;
}

/* Icon-only up here — the label it carried in the rail would just be noise
   beside the account chip. */
.theme-toggle[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--dim);
    cursor: pointer;
    flex: none;
    transition: background 0.12s, color 0.12s;
}

.theme-toggle:hover[b-68nkk0vw8l] {
    color: var(--ink);
    background: var(--surface-2);
}

/* The positioning context for the dropdown. */
.admin-account[b-68nkk0vw8l] {
    position: relative;
}

/* --- account dropdown --- */

.admin-usermenu[b-68nkk0vw8l],
.admin-menu-backdrop[b-68nkk0vw8l] {
    display: none;
}

html[data-usermenu] .admin-usermenu[b-68nkk0vw8l] {
    display: block;
}

/* Sits under the menu but over everything else, so a click anywhere on the page
   dismisses it. Transparent on purpose — this is a menu, not a modal. */
html[data-usermenu] .admin-menu-backdrop[b-68nkk0vw8l] {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
}

.admin-usermenu[b-68nkk0vw8l] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 41;
    min-width: 220px;
    padding: 5px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 11px;
    box-shadow: var(--shadow-lg);
    animation: userMenuIn-b-68nkk0vw8l 0.13s ease both;
}

@keyframes userMenuIn-b-68nkk0vw8l {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.admin-usermenu-head[b-68nkk0vw8l] {
    padding: 7px 10px 9px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    font: 500 11.5px/1.3 var(--font-body);
    color: var(--dim);
    overflow-wrap: anywhere;
}

.admin-usermenu-item[b-68nkk0vw8l] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--ink);
    font: 500 13px/1 var(--font-body);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s;
}

.admin-usermenu-item svg[b-68nkk0vw8l] {
    flex: none;
    color: var(--dim);
}

.admin-usermenu-item:hover[b-68nkk0vw8l] {
    background: var(--surface-2);
}

.admin-usermenu-item.danger[b-68nkk0vw8l],
.admin-usermenu-item.danger svg[b-68nkk0vw8l] {
    color: var(--danger);
}

.admin-usermenu-item.danger:hover[b-68nkk0vw8l] {
    background: var(--danger-soft);
}

.admin-usermenu-sep[b-68nkk0vw8l] {
    height: 1px;
    margin: 4px 6px;
    background: var(--border);
}

#blazor-error-ui[b-68nkk0vw8l] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--card);
    border-top: 2px solid var(--bad);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    padding: 0.8rem 2.5rem 0.8rem 1.25rem;
    box-shadow: var(--shadow-lg);
}

#blazor-error-ui .reload[b-68nkk0vw8l] {
    color: var(--accent);
}

#blazor-error-ui .dismiss[b-68nkk0vw8l] {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
}

/* --- mobile: rail becomes an overlay drawer behind a hamburger --- */

@media (max-width: 900px) {
    .admin-shell[b-68nkk0vw8l],
    html[data-rail="collapsed"] .admin-shell[b-68nkk0vw8l] {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        align-content: start;
        transition: none;
    }

    .admin-topbar[b-68nkk0vw8l] {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
        background: var(--rail-topbar-bg);
        border-bottom: 1px solid var(--rail-divider);
        position: sticky;
        top: 0;
        z-index: 30;
    }

    .topbar-burger[b-68nkk0vw8l] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 10px;
        background: var(--rail-btn-bg);
        border: 1px solid var(--rail-btn-border);
        cursor: pointer;
        flex: none;
    }

    .topbar-burger span[b-68nkk0vw8l] {
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: var(--rail-burger-bar);
    }

    .topbar-title[b-68nkk0vw8l] {
        font: 600 15px/1.1 var(--font-body);
        color: var(--rail-brand-ink);
    }

    .admin-scrim[b-68nkk0vw8l] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 40;
        background: var(--scrim);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s;
    }

    html[data-drawer="open"] .admin-scrim[b-68nkk0vw8l] {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar[b-68nkk0vw8l] {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 50;
        width: 250px;
        height: auto;
        background: var(--rail-drawer-bg);
        border-right: 1px solid var(--rail-border);
        box-shadow: var(--shadow-lg);
        transform: translateX(-102%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    html[data-drawer="open"] .admin-sidebar[b-68nkk0vw8l] {
        transform: translateX(0);
    }

    /* The rail toggle is desktop-only; the drawer is always full width. */
    html[data-rail="collapsed"] .brand-text[b-68nkk0vw8l],
    html[data-rail="collapsed"] .nav-group-toggle[b-68nkk0vw8l],
    html[data-rail="collapsed"] .nav-label[b-68nkk0vw8l],
    html[data-rail="collapsed"] .nav-badge[b-68nkk0vw8l],
    html[data-rail="collapsed"] .nav-count[b-68nkk0vw8l] {
        opacity: 1;
        pointer-events: auto;
    }

    /* Same reason: the drawer has the width for them, so the collapsed-rail rules
       that hide the Triage folders have to be undone here or a phone loses the
       folder list entirely. */
    html[data-rail="collapsed"] .nav-group[data-group="triage"] .nav-sub[b-68nkk0vw8l],
    html[data-rail="collapsed"] .nav-sub-work[b-68nkk0vw8l] {
        display: flex;
        flex-direction: column;
    }

    html[data-rail="collapsed"] .admin-nav[b-68nkk0vw8l]  .nav-mailbox {
        display: flex;
    }

    html[data-rail="collapsed"] .nav-parent-toggle .nav-group-chevron[b-68nkk0vw8l] {
        display: block;
    }

    html[data-rail="collapsed"] .nav-group[data-group="triage"][b-68nkk0vw8l] {
        margin-left: 10px;
    }

    /* Even expanded, the name must not crowd out the icons on a narrow screen. */
    .admin-user-link:hover .admin-user-name[b-68nkk0vw8l],
    .admin-user-link:focus-visible .admin-user-name[b-68nkk0vw8l],
    html[data-usermenu] .admin-user-name[b-68nkk0vw8l] {
        max-width: 12ch;
    }

    .rail-collapse[b-68nkk0vw8l],
    .brand-tag[b-68nkk0vw8l],
    .brand-divider[b-68nkk0vw8l] {
        display: none;
    }

    .brand-mark[b-68nkk0vw8l] {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 12px;
    }

    .brand-name[b-68nkk0vw8l] {
        font: 600 14px/1.1 var(--font-body);
    }

    .drawer-close[b-68nkk0vw8l] {
        display: block;
        margin-left: auto;
        padding: 0;
        background: none;
        border: none;
        color: var(--rail-brand-tag);
        font: 400 20px/1 var(--font-body);
        cursor: pointer;
    }

    .admin-nav[b-68nkk0vw8l] {
        padding: 6px 12px;
    }

    .admin-nav[b-68nkk0vw8l]  .admin-nav-link {
        padding: 11px 13px;
        margin-bottom: 3px;
        border-radius: 11px;
        font: 500 14px/1 var(--font-body);
    }

    .admin-nav[b-68nkk0vw8l]  .admin-nav-link.active {
        background: var(--brand-primary-strong);
        color: var(--text-on-brand);
        font-weight: 600;
        box-shadow: none;
    }

    .admin-main[b-68nkk0vw8l] {
        padding: 1.4rem 1rem 2rem;
    }
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
/* Login chrome — centred "vault" (design 5a).
   Colours come from the --lv-* tokens in app.css. */

.auth-shell[b-wjggac6l0o] {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:
        radial-gradient(120% 80% at 50% 120%, var(--lv-vignette), transparent 55%),
        var(--lv-bg);
    color: var(--lv-fg);
    font-family: var(--font-body);
}

/* layered glows */
.auth-shell[b-wjggac6l0o]::before,
.auth-shell[b-wjggac6l0o]::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.auth-shell[b-wjggac6l0o]::before {
    top: -200px;
    left: 50%;
    width: 820px;
    height: 520px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--lv-glow-1), transparent 60%);
    animation: vault-drift-b-wjggac6l0o 16s ease-in-out infinite;
}

.auth-shell[b-wjggac6l0o]::after {
    top: 60px;
    left: 20%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, var(--lv-glow-2), transparent 62%);
}

@keyframes vault-drift-b-wjggac6l0o {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50%      { transform: translate(calc(-50% + 30px), -24px) scale(1.08); }
}

.auth-topbar[b-wjggac6l0o] {
    position: relative;
    width: 100%;
    padding: 26px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-wordmark[b-wjggac6l0o] {
    font: 800 17px var(--font-heading);
    color: var(--lv-fg);
    letter-spacing: -0.01em;
}

.auth-actions[b-wjggac6l0o] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-note[b-wjggac6l0o] {
    font: 500 12.5px var(--font-body);
    color: var(--lv-fg-50);
}

.theme-btn[b-wjggac6l0o] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--lv-line-12);
    background: transparent;
    color: var(--lv-fg-60);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.theme-btn:hover[b-wjggac6l0o] {
    color: var(--lv-fg);
    border-color: var(--lv-line-hover);
}

.theme-btn svg[b-wjggac6l0o] {
    width: 16px;
    height: 16px;
}

.auth-body[b-wjggac6l0o] {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.auth-foot[b-wjggac6l0o] {
    position: relative;
    padding: 0 20px 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font: 400 11.5px var(--font-mono);
    color: var(--lv-fg-32);
    text-align: center;
}

.auth-foot-dot[b-wjggac6l0o] {
    color: var(--lv-teal);
}

.auth-foot-sep[b-wjggac6l0o],
.auth-foot-link[b-wjggac6l0o] {
    color: var(--lv-fg-32);
}

.auth-foot-link[b-wjggac6l0o] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-foot-link:hover[b-wjggac6l0o] {
    color: var(--lv-fg-60);
}

@media (prefers-reduced-motion: reduce) {
    .auth-shell[b-wjggac6l0o]::before { animation: none; }
}

@media (max-width: 520px) {
    .auth-topbar[b-wjggac6l0o] {
        padding: 20px;
    }
}
/* /Components/Layout/ClientPortalLayout.razor.rz.scp.css */
#blazor-error-ui[b-t7hw9ftdix] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--warning-tint);
    border-top: 1px solid var(--warning);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.8rem 2.5rem 0.8rem 1.25rem;
}

#blazor-error-ui .reload[b-t7hw9ftdix] {
    color: var(--brand-primary-strong);
}

#blazor-error-ui .dismiss[b-t7hw9ftdix] {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
}
/* /Components/Layout/LandingLayout.razor.rz.scp.css */
/* Landing chrome — "vault" shell (design 7a).
   Colours come from the --lv-* tokens in app.css, which resolve
   dark (the design) or light from the theme toggle. */

.landing-shell[b-ddiacmj9o7] {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--lv-bg);
    color: var(--lv-fg);
    font-family: var(--font-body);
}

/* ambient glows */
.landing-shell[b-ddiacmj9o7]::before,
.landing-shell[b-ddiacmj9o7]::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.landing-shell[b-ddiacmj9o7]::before {
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 640px;
    background: radial-gradient(circle, var(--lv-glow-1), transparent 58%);
}

.landing-shell[b-ddiacmj9o7]::after {
    top: 520px;
    left: -140px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, var(--lv-glow-2), transparent 62%);
}

.landing-header[b-ddiacmj9o7],
.landing-main[b-ddiacmj9o7],
.landing-footer[b-ddiacmj9o7] {
    position: relative;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding-left: 56px;
    padding-right: 56px;
}

.landing-header[b-ddiacmj9o7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    padding-bottom: 26px;
}

.brand[b-ddiacmj9o7] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark[b-ddiacmj9o7] {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: block;
}

.brand-name[b-ddiacmj9o7] {
    font: 800 16px var(--font-heading);
    color: var(--lv-fg);
    letter-spacing: -0.01em;
}

.header-actions[b-ddiacmj9o7] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-btn[b-ddiacmj9o7] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--lv-line-12);
    background: transparent;
    color: var(--lv-fg-60);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.theme-btn:hover[b-ddiacmj9o7] {
    color: var(--lv-fg);
    border-color: var(--lv-line-hover);
}

.theme-btn svg[b-ddiacmj9o7] {
    width: 16px;
    height: 16px;
}

.login-link[b-ddiacmj9o7] {
    height: 36px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--lv-line-strong);
    display: inline-flex;
    align-items: center;
    font: 600 11px var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--lv-fg);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.login-link:hover[b-ddiacmj9o7] {
    color: var(--lv-fg);
    border-color: var(--lv-line-hover);
    background: var(--lv-surface-3);
}

/* No gap: it would still be paid on both sides of the collapsed name, leaving a
   hole beside the avatar. The name carries its own margin and animates it away. */
.profile-chip[b-ddiacmj9o7] {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 4px;
    border-radius: 999px;
    border: 1px solid var(--lv-line-strong);
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.profile-chip:hover[b-ddiacmj9o7] {
    border-color: var(--lv-line-hover);
    background: var(--lv-surface-3);
}

.avatar[b-ddiacmj9o7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--brand-primary), var(--brand-primary-strong));
    color: var(--text-on-brand);
    font: 600 11px var(--font-body);
}

/* Collapsed to the avatar at rest, revealed on hover or keyboard focus — the
   same behaviour as the admin bar's account chip. Clipped rather than removed,
   so the address stays in the accessibility tree. */
.profile-name[b-ddiacmj9o7] {
    font: 400 11px var(--font-mono);
    color: var(--lv-fg-60);
    max-width: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.22s ease, margin 0.22s ease, opacity 0.15s ease;
}

.profile-chip:hover .profile-name[b-ddiacmj9o7],
.profile-chip:focus-visible .profile-name[b-ddiacmj9o7] {
    max-width: 14rem;
    margin: 0 10px 0 0.6rem;
    opacity: 1;
}

.landing-main[b-ddiacmj9o7] {
    flex: 1;
}

.landing-footer[b-ddiacmj9o7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 36px;
    padding-top: 34px;
    padding-bottom: 40px;
    border-top: 1px solid var(--lv-footline);
    font: 400 12px var(--font-body);
    color: var(--lv-fg-40);
}

.footer-links[b-ddiacmj9o7] {
    display: flex;
    align-items: center;
    gap: 18px;
}

.landing-footer a[b-ddiacmj9o7] {
    font: 400 12px var(--font-mono);
    color: var(--lv-violet-eyebrow);
    text-decoration: none;
}

.landing-footer a:hover[b-ddiacmj9o7] {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .landing-header[b-ddiacmj9o7],
    .landing-main[b-ddiacmj9o7],
    .landing-footer[b-ddiacmj9o7] {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* No hover on touch, so the chip stays an avatar on small screens. */
    .profile-chip:hover .profile-name[b-ddiacmj9o7],
    .profile-chip:focus-visible .profile-name[b-ddiacmj9o7] {
        max-width: 0;
        margin: 0;
        opacity: 0;
    }

    .landing-footer[b-ddiacmj9o7] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}
/* /Components/Layout/PortalLayout.razor.rz.scp.css */
.portal-shell[b-uep68zxsm0] {

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        
        var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
}

.portal-header[b-uep68zxsm0] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 1.5rem;
}

.wordmark[b-uep68zxsm0] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.header-rule[b-uep68zxsm0] {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.header-tag[b-uep68zxsm0] {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.portal-main[b-uep68zxsm0] {
    flex: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.portal-footer[b-uep68zxsm0] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.5rem 2rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.portal-footer a[b-uep68zxsm0] {
    color: var(--copper);
    text-decoration: none;
}

.portal-footer a:hover[b-uep68zxsm0] {
    text-decoration: underline;
}

#blazor-error-ui[b-uep68zxsm0] {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--warning-tint);
    border-top: 1px solid var(--warning);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    padding: 0.8rem 2.5rem 0.8rem 1.25rem;
}

#blazor-error-ui .reload[b-uep68zxsm0] {
    color: var(--copper);
}

#blazor-error-ui .dismiss[b-uep68zxsm0] {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .portal-header[b-uep68zxsm0] {
        padding: 1.5rem 1rem 1rem;
    }

    .portal-main[b-uep68zxsm0] {
        padding: 0 1rem 3rem;
    }

    .portal-footer[b-uep68zxsm0] {
        flex-direction: column;
        gap: 0.35rem;
        padding: 1rem;
    }
}

.theme-btn[b-uep68zxsm0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink-soft);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.12s ease, border-color 0.12s ease;
}

.theme-btn:hover[b-uep68zxsm0] {
    color: var(--ink);
    border-color: var(--accent);
}

.theme-btn svg[b-uep68zxsm0] {
    width: 16px;
    height: 16px;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kbm7j25jbd],
.components-reconnect-repeated-attempt-visible[b-kbm7j25jbd],
.components-reconnect-failed-visible[b-kbm7j25jbd],
.components-pause-visible[b-kbm7j25jbd],
.components-resume-failed-visible[b-kbm7j25jbd],
.components-rejoining-animation[b-kbm7j25jbd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-retrying[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-failed[b-kbm7j25jbd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kbm7j25jbd] {
    display: block;
}


#components-reconnect-modal[b-kbm7j25jbd] {
    background-color: var(--bg-surface);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-kbm7j25jbd 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kbm7j25jbd 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kbm7j25jbd 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kbm7j25jbd]::backdrop {
    background-color: var(--scrim);
    animation: components-reconnect-modal-fadeInOpacity-b-kbm7j25jbd 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kbm7j25jbd {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kbm7j25jbd {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kbm7j25jbd {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kbm7j25jbd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kbm7j25jbd] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kbm7j25jbd] {
    border: 0;
    background-color: var(--brand-primary-strong);
    color: var(--text-on-brand);
    padding: 4px 24px;
    border-radius: 8px;
}

    #components-reconnect-modal button:hover[b-kbm7j25jbd] {
        background-color: var(--brand-primary-hover);
    }

    #components-reconnect-modal button:active[b-kbm7j25jbd] {
        background-color: var(--brand-primary-strong);
    }

.components-rejoining-animation[b-kbm7j25jbd] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kbm7j25jbd] {
        position: absolute;
        border: 3px solid var(--brand-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kbm7j25jbd 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kbm7j25jbd] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kbm7j25jbd {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Checklists/Calendar.razor.rz.scp.css */
/* --- local design tokens (mirrors Calendar.dc.html) — AE Partners theme aliases --- */

.cal-shell[b-325jtrr1bf] {
    --surface: var(--bg-surface);
    --surface2: var(--bg-subtle);
    --head: var(--bg-subtle);
    --text: var(--text-primary);
    --dim: var(--text-secondary);
    --faint: var(--text-tertiary);

    --k-doc-fill: var(--warning-tint); --k-doc-border: var(--warning); --k-doc-text: var(--warning-ink);
    --k-sent-fill: var(--success-tint); --k-sent-border: var(--success); --k-sent-text: var(--success-ink);
    --k-email-fill: var(--info-tint); --k-email-border: var(--info); --k-email-text: var(--info-ink);
    --k-sms-fill: var(--brand-secondary-tint); --k-sms-border: var(--brand-secondary); --k-sms-text: var(--success-ink);
    --k-expired-fill: var(--danger-tint); --k-expired-border: var(--danger); --k-expired-text: var(--danger-ink);
}

/* --- page head --- */

/* --- toolbar --- */

.toolbar[b-325jtrr1bf] { margin-bottom: 16px; }

.cal-nav[b-325jtrr1bf] { display: inline-flex; align-items: center; gap: 8px; }

.cal-nav-btn[b-325jtrr1bf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 9px;
    cursor: pointer;
}

.cal-nav-btn:hover[b-325jtrr1bf] { background: var(--surface2); }
.cal-nav-btn svg[b-325jtrr1bf] { width: 15px; height: 15px; }

.cal-today[b-325jtrr1bf] {
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 550;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
}

.cal-today:hover[b-325jtrr1bf] { background: var(--surface2); }

.cal-period[b-325jtrr1bf] {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 19px;
    color: var(--text);
    min-width: 150px;
}

.pill-select[b-325jtrr1bf]::after { content: none; }

.pill-trigger[b-325jtrr1bf] {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 15px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 550;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
}

.pill-trigger:hover[b-325jtrr1bf] { background: var(--surface2); }
.pill-chev[b-325jtrr1bf] { flex: 0 0 auto; }

.pill-select.active .pill-trigger[b-325jtrr1bf] {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.clear-filters[b-325jtrr1bf] {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dim);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
}

.clear-filters:hover[b-325jtrr1bf] { color: var(--accent); text-decoration: underline; }

.menu-backdrop[b-325jtrr1bf] { position: fixed; inset: 0; z-index: 40; }

.filter-menu[b-325jtrr1bf] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 50;
    min-width: 11rem;
    max-height: 16rem;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
}

.filter-option[b-325jtrr1bf] {
    text-align: left;
    border: none;
    background: none;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-option:hover[b-325jtrr1bf] { background: var(--surface2); }

.filter-option.selected[b-325jtrr1bf] {
    color: var(--accent);
    font-weight: 600;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}

/* --- view tabs --- */

.view-switch[b-325jtrr1bf] {
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 3px;
    gap: 0;
}

.view-txt-btn[b-325jtrr1bf] {
    border: none;
    background: transparent;
    color: var(--dim);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 550;
    height: 28px;
    padding: 0 15px;
    border-radius: 7px;
    cursor: pointer;
}

.view-txt-btn.active[b-325jtrr1bf] {
    background: var(--accent);
    color: var(--text-on-brand);
    font-weight: 650;
}

/* --- legend --- */

.legend[b-325jtrr1bf] { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 14px; }
.legend-item[b-325jtrr1bf] { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--dim); }
.legend-icon[b-325jtrr1bf] { display: inline-flex; }
.legend-icon svg[b-325jtrr1bf] { width: 14px; height: 14px; }
.legend-icon.k-doc[b-325jtrr1bf] { color: var(--k-doc-border); }
.legend-icon.k-sent[b-325jtrr1bf] { color: var(--k-sent-border); }
.legend-icon.k-email[b-325jtrr1bf] { color: var(--k-email-border); }
.legend-icon.k-sms[b-325jtrr1bf] { color: var(--k-sms-border); }
.legend-icon.k-expired[b-325jtrr1bf] { color: var(--k-expired-border); }

/* --- card shell wrapping every view --- */

.cal-card[b-325jtrr1bf] {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

/* --- month: weekday header --- */

.cal-weekdays[b-325jtrr1bf] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    background: var(--head);
}

.cal-weekday[b-325jtrr1bf] {
    padding: 11px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--dim);
    border-left: 1px solid var(--border);
}

/* --- month: week rows --- */

.cal-week-wrap[b-325jtrr1bf] { position: relative; border-top: 1px solid var(--border); }

.cal-week-grid[b-325jtrr1bf] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal-daycell[b-325jtrr1bf] {
    min-height: 152px;
    border-left: 1px solid var(--border);
    padding: 8px 10px;
    cursor: pointer;
}

.cal-daycell:hover[b-325jtrr1bf] { background: var(--surface2); }
.cal-daycell.muted .daynum[b-325jtrr1bf] { color: var(--faint); }

.daynum[b-325jtrr1bf] {
    display: block;
    width: fit-content;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.daynum.today[b-325jtrr1bf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--text-on-brand);
    font-weight: 700;
}

/* --- month: spanning bars overlay --- */

.cal-bars-layer[b-325jtrr1bf] { position: absolute; inset: 0; pointer-events: none; }

.cal-bar[b-325jtrr1bf] {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 9px;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    border-left: 3px solid transparent;
    border-radius: 6px;
}

.cal-bar.lane-0[b-325jtrr1bf] { top: 36px; }
.cal-bar.lane-1[b-325jtrr1bf] { top: 65px; }
.cal-bar.lane-2[b-325jtrr1bf] { top: 94px; }

.cal-bar.cl[b-325jtrr1bf] { border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal-bar.cr[b-325jtrr1bf] { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.cal-bar.k-doc[b-325jtrr1bf] { background: var(--k-doc-fill); color: var(--k-doc-text); border-left-color: var(--k-doc-border); }
.cal-bar.k-sent[b-325jtrr1bf] { background: var(--k-sent-fill); color: var(--k-sent-text); border-left-color: var(--k-sent-border); }
.cal-bar.k-email[b-325jtrr1bf] { background: var(--k-email-fill); color: var(--k-email-text); border-left-color: var(--k-email-border); }
.cal-bar.k-sms[b-325jtrr1bf] { background: var(--k-sms-fill); color: var(--k-sms-text); border-left-color: var(--k-sms-border); }
.cal-bar.k-expired[b-325jtrr1bf] { background: var(--k-expired-fill); color: var(--k-expired-text); border-left-color: var(--k-expired-border); }

.bar-icon[b-325jtrr1bf] { flex: 0 0 auto; display: inline-flex; }
.bar-icon svg[b-325jtrr1bf] { width: 13px; height: 13px; }

.bar-title[b-325jtrr1bf] { font-weight: 600; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bar-client[b-325jtrr1bf] { opacity: .72; font-weight: 450; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.cal-more[b-325jtrr1bf] {
    position: absolute;
    top: 123px;
    width: calc(14.2857% - 12px);
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    color: var(--dim);
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
}

.cal-more:hover[b-325jtrr1bf] { color: var(--accent); }

/* --- month: empty state --- */

.cal-empty[b-325jtrr1bf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    gap: 14px;
    text-align: center;
}

.cal-empty-icon[b-325jtrr1bf] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faint);
}

.cal-empty-icon svg[b-325jtrr1bf] { width: 26px; height: 26px; }

.empty-title[b-325jtrr1bf] { font-size: 15px; font-weight: 600; color: var(--text); margin: 0; }
.empty-sub[b-325jtrr1bf] { font-size: 13px; color: var(--dim); max-width: 340px; margin: 0; }

.empty-cta[b-325jtrr1bf] {
    margin-top: 4px;
    height: 36px;
    padding: 0 18px;
    border-radius: 9px;
    border: none;
    background: var(--accent);
    color: var(--text-on-brand);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.empty-cta:hover[b-325jtrr1bf] { opacity: 0.9; }

/* --- shared item chip icon (week / day / agenda rows) --- */

.chip-icon[b-325jtrr1bf] {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-icon svg[b-325jtrr1bf] { width: 15px; height: 15px; }
.chip-icon.k-doc[b-325jtrr1bf] { background: var(--k-doc-fill); color: var(--k-doc-border); }
.chip-icon.k-sent[b-325jtrr1bf] { background: var(--k-sent-fill); color: var(--k-sent-border); }
.chip-icon.k-email[b-325jtrr1bf] { background: var(--k-email-fill); color: var(--k-email-border); }
.chip-icon.k-sms[b-325jtrr1bf] { background: var(--k-sms-fill); color: var(--k-sms-border); }
.chip-icon.k-expired[b-325jtrr1bf] { background: var(--k-expired-fill); color: var(--k-expired-border); }

/* --- week view (per-day columns) --- */

.cal-week-cols[b-325jtrr1bf] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }

.cal-wcol[b-325jtrr1bf] {
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.wcol-head[b-325jtrr1bf] {
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wcol-dow[b-325jtrr1bf] { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.wcol-dow.today[b-325jtrr1bf] { color: var(--accent); }

.wcol-date[b-325jtrr1bf] { font-size: 14px; font-weight: 650; color: var(--text); }

.wcol-date.today[b-325jtrr1bf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--accent);
    color: var(--text-on-brand);
    font-size: 12px;
    font-weight: 700;
}

.wcol-body[b-325jtrr1bf] { padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.wcol-item[b-325jtrr1bf] { display: flex; align-items: flex-start; gap: 7px; padding: 7px 8px; border-radius: 7px; background: var(--surface2); cursor: pointer; }

.wcol-text[b-325jtrr1bf] { min-width: 0; display: flex; flex-direction: column; }
.wcol-title[b-325jtrr1bf] { display: block; font-size: 12px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcol-client[b-325jtrr1bf] { display: block; font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcol-empty[b-325jtrr1bf] { font-size: 12px; color: var(--faint); padding: 6px 8px; }

/* --- day view --- */

.cal-day-view[b-325jtrr1bf] { padding: 24px 26px 30px; }

.day-header[b-325jtrr1bf] {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.day-num[b-325jtrr1bf] { font-size: 40px; font-weight: 750; color: var(--text); line-height: 1; }
.day-dow[b-325jtrr1bf] { display: block; font-size: 16px; font-weight: 650; color: var(--text); }
.day-mon[b-325jtrr1bf] { display: block; font-size: 13px; color: var(--dim); }

.day-items[b-325jtrr1bf] { display: flex; flex-direction: column; gap: 9px; max-width: 640px; }

.day-item[b-325jtrr1bf] { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 10px; background: var(--surface2); cursor: pointer; }

.day-item-text[b-325jtrr1bf] { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.day-item-title[b-325jtrr1bf] { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.day-item-client[b-325jtrr1bf] { display: block; font-size: 12.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day-item-range[b-325jtrr1bf] { font-size: 11.5px; color: var(--faint); white-space: nowrap; }

.day-empty[b-325jtrr1bf] { font-size: 13px; color: var(--dim); padding: 20px 0; }

/* --- agenda view --- */

.cal-agenda-list[b-325jtrr1bf] { padding: 6px 0; }

.agenda-row[b-325jtrr1bf] { display: flex; gap: 20px; padding: 16px 22px; border-top: 1px solid var(--border); }

.agenda-left[b-325jtrr1bf] { flex: none; width: 118px; text-align: right; }
.agenda-dow[b-325jtrr1bf] { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.agenda-dow.today[b-325jtrr1bf] { color: var(--accent); }
.agenda-daynum[b-325jtrr1bf] { font-size: 26px; font-weight: 750; color: var(--text); line-height: 1.1; }
.agenda-mon[b-325jtrr1bf] { font-size: 12px; color: var(--dim); }

.agenda-items[b-325jtrr1bf] { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.agenda-item[b-325jtrr1bf] { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 9px; background: var(--surface2); cursor: pointer; }

.agenda-item-title[b-325jtrr1bf] { font-size: 13.5px; font-weight: 600; color: var(--text); }
.agenda-item-client[b-325jtrr1bf] { font-size: 13px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-spacer[b-325jtrr1bf] { flex: 1; }
.agenda-range[b-325jtrr1bf] { font-size: 11px; color: var(--faint); white-space: nowrap; }

/* --- badges (popover only) --- */

/* --- hover popover (anchored at cursor, non-interactive) --- */

.cal-popover[b-325jtrr1bf] {
    position: fixed;
    z-index: 80;
    width: 20rem;
    max-width: calc(100vw - 2rem);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.1rem;
    pointer-events: none;
}

.pop-head[b-325jtrr1bf] { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }

.pop-avatar[b-325jtrr1bf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.pop-client[b-325jtrr1bf] { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.pop-kind[b-325jtrr1bf] { font-size: 0.78rem; color: var(--ink-soft); }
.pop-title[b-325jtrr1bf] { font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 0.6rem; line-height: 1.35; }
.pop-meta[b-325jtrr1bf] { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.pop-due[b-325jtrr1bf] { font-size: 0.82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pop-progress[b-325jtrr1bf] { display: flex; align-items: center; margin-bottom: 0.6rem; }

.progress-track[b-325jtrr1bf] {
    display: inline-block;
    flex: 1;
    height: 5px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
    margin-right: 0.6rem;
}

.progress-fill[b-325jtrr1bf] { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.progress-num[b-325jtrr1bf] { font-size: 0.76rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.pop-counts[b-325jtrr1bf] { font-size: 0.8rem; color: var(--ink-soft); }
.pop-counts .c-appr[b-325jtrr1bf] { color: var(--accent); font-weight: 600; }
.pop-counts .c-done[b-325jtrr1bf] { color: var(--good); font-weight: 600; }
.pop-counts .c-todo[b-325jtrr1bf] { color: var(--ink); font-weight: 600; }
/* /Components/Pages/Admin/Checklists/ChecklistAttachmentsPanel.razor.rz.scp.css */
.ra-panel[b-s8pq0g700d] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ra-list[b-s8pq0g700d] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ra-file[b-s8pq0g700d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
}

.ra-icon[b-s8pq0g700d] {
    display: inline-flex;
    color: var(--faint);
}

.ra-name[b-s8pq0g700d] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
    color: var(--accent);
}

.ra-size[b-s8pq0g700d] {
    font-size: 12px;
    color: var(--faint);
}

.ra-x[b-s8pq0g700d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--faint);
    cursor: pointer;
}

.ra-x:hover:not(:disabled)[b-s8pq0g700d] {
    background: var(--bg);
    color: var(--text);
}

.ra-drop[b-s8pq0g700d] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px;
    border: 1.5px dashed var(--border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
}

.ra-drop:hover[b-s8pq0g700d],
.ra-drop:focus-within[b-s8pq0g700d] {
    border-color: var(--accent);
}

.ra-drop.busy[b-s8pq0g700d] {
    opacity: 0.6;
    cursor: progress;
}

.ra-drop[b-s8pq0g700d]  input[type=file] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.ra-drop-title[b-s8pq0g700d] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}

.ra-drop-hint[b-s8pq0g700d] {
    font-size: 12px;
    color: var(--faint);
}

.ra-error[b-s8pq0g700d] {
    margin: 0;
    font-size: 12.5px;
    color: var(--danger);
}
/* /Components/Pages/Admin/Checklists/ChecklistBuilder.razor.rz.scp.css */
/* Checklist builder — mirrors the BUILDER step of Checklists.dc.html. */

.builder[b-8u1g6z8vql] {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 22px;
    align-items: start;
    width: auto;
    padding: 0% 2%
}

/* --- left page tree --- */

.builder-tree[b-8u1g6z8vql] {
    position: sticky;
    top: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 14px;
    box-shadow: none;
}

.tree-heading[b-8u1g6z8vql] {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--faint);
    padding: 2px 6px 10px;
    margin: 0;
}

.tree-list[b-8u1g6z8vql] { list-style: none; margin: 0; padding: 0; }

.tree-page[b-8u1g6z8vql],
.tree-section[b-8u1g6z8vql] {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-ui);
}

.tree-page[b-8u1g6z8vql] {
    font-size: 13px;
    font-weight: 650;
    color: var(--text);
    padding: 8px;
}

.tree-section[b-8u1g6z8vql] {
    font-size: 12.5px;
    font-weight: 450;
    color: var(--dim);
    padding: 6px 8px 6px 18px;
}

.tree-page:hover[b-8u1g6z8vql],
.tree-section:hover[b-8u1g6z8vql] { background: var(--surface2); }

.tree-sub[b-8u1g6z8vql] { list-style: none; margin: 0; padding: 0; border-left: none; }

.tree-add[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    border: none;
    border-top: 1px solid var(--border);
    background: none;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.tree-add svg[b-8u1g6z8vql] { width: 15px; height: 15px; }

/* --- canvas --- */

.builder-canvas[b-8u1g6z8vql] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.builder-error[b-8u1g6z8vql] {
    padding: 12px 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
    color: var(--danger);
    font-size: 13px;
    margin: 0;
}

.canvas-empty[b-8u1g6z8vql] {
    border: 1.5px dashed var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    color: var(--dim);
    font-size: 13.5px;
    background: transparent;
}

.canvas-empty p[b-8u1g6z8vql] { margin: 0; }

/* --- page (section) card --- */

/* No overflow:hidden — the inline editors open a dropdown inside the card. */
.page-card[b-8u1g6z8vql] {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    padding: 0;
    box-shadow: none;
}

.page-head[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 18px;
    border-bottom: 1px solid var(--border);
    margin: 0;
}

.page-title[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.page-no[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    flex: none;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 750;
}

.page-actions[b-8u1g6z8vql] {
    display: inline-flex;
    gap: 8px;
    flex: none;
}

.mini[b-8u1g6z8vql] {
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--dim);
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 550;
    cursor: pointer;
}

.mini:hover[b-8u1g6z8vql] { background: var(--surface2); color: var(--text); }
.mini.danger[b-8u1g6z8vql] { color: var(--danger); }
.mini.danger:hover[b-8u1g6z8vql] { background: var(--danger-soft); color: var(--danger); }

.mini.primary[b-8u1g6z8vql] {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--text-on-brand);
}

.mini.primary:hover[b-8u1g6z8vql] { background: var(--accent-hover); color: var(--text-on-brand); }

/* --- section block inside a page --- */

.section-block[b-8u1g6z8vql] {
    padding: 16px 18px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.section-head[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.section-title[b-8u1g6z8vql] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.section-blurb[b-8u1g6z8vql] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--dim);
    margin: 0 0 10px;
}

.section-blurb > :first-child[b-8u1g6z8vql] { margin-top: 0; }
.section-blurb > :last-child[b-8u1g6z8vql] { margin-bottom: 0; }
.section-blurb p[b-8u1g6z8vql] { margin: 0 0 .45rem; }
.section-blurb a[b-8u1g6z8vql] { color: var(--accent); }

/* --- question rows --- */

.field-list[b-8u1g6z8vql] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-row[b-8u1g6z8vql] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface2);
}

.field-row.internal[b-8u1g6z8vql] { border-style: dashed; }
.field-row.content[b-8u1g6z8vql] { border-style: dashed; }

.field-glyph[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex: none;
    margin-top: 2px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.field-main[b-8u1g6z8vql] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.field-label[b-8u1g6z8vql] {
    font-size: 15px;
    font-weight: 650;
    color: var(--text);
}

.field-desc[b-8u1g6z8vql],
.field-content-preview[b-8u1g6z8vql] {
    font-size: 13px;
    line-height: 1.45;
    color: var(--dim);
    margin-top: 3px;
}

.field-content-preview > :first-child[b-8u1g6z8vql] { margin-top: 0; }
.field-content-preview > :last-child[b-8u1g6z8vql] { margin-bottom: 0; }
.field-content-preview p[b-8u1g6z8vql] { margin: 0 0 .4rem; }

.field-tags[b-8u1g6z8vql] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag[b-8u1g6z8vql] {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--faint);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 6px;
    background: none;
}

.tag.internal-tag[b-8u1g6z8vql] { color: var(--accent); border-color: var(--accent); }

.field-tools[b-8u1g6z8vql] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
    color: var(--faint);
}

.field-tools button[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 6px;
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 550;
}

.field-tools button:hover[b-8u1g6z8vql] { color: var(--text); }
.field-tools button.danger[b-8u1g6z8vql] { color: var(--danger); }

/* the design paints Edit as the one accented tool */
.field-tools button[title="Edit"][b-8u1g6z8vql] { color: var(--accent); }

/* --- add buttons --- */

.add-field-row[b-8u1g6z8vql] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.add-field-btn[b-8u1g6z8vql],
.canvas-add[b-8u1g6z8vql] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 34px;
    padding: 0 14px;
    border: 1px dashed var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0;
}

.add-field-btn:hover[b-8u1g6z8vql],
.canvas-add:hover[b-8u1g6z8vql] { background: var(--accent-soft); }

.add-field-btn svg[b-8u1g6z8vql],
.canvas-add svg[b-8u1g6z8vql] { width: 14px; height: 14px; }

.canvas-add[b-8u1g6z8vql] {
    align-self: flex-start;
    height: 40px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 13px;
}

/* --- inline editors --- */

.inline-edit[b-8u1g6z8vql] {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.section-add[b-8u1g6z8vql],
.page-add[b-8u1g6z8vql] { margin: 0 18px 16px; }

.inline-edit input[type=text][b-8u1g6z8vql] {
    flex: 1;
    min-width: 12rem;
    height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13.5px;
}

.inline-edit input:focus[b-8u1g6z8vql] { outline: none; border-color: var(--accent); }

.section-editor[b-8u1g6z8vql] {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.field-editor[b-8u1g6z8vql] {
    flex: 1;
    border: 1px solid var(--accent);
    border-radius: 12px;
    background: var(--surface);
    padding: 14px;
}

.fe-grid[b-8u1g6z8vql] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fe-grid label[b-8u1g6z8vql] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
}

.fe-full[b-8u1g6z8vql] { grid-column: 1 / -1; }
.fe-hint[b-8u1g6z8vql] { font-weight: 400; color: var(--faint); }

.fe-rte[b-8u1g6z8vql] { display: flex; flex-direction: column; gap: 6px; }

.fe-rte-label[b-8u1g6z8vql] {
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
}

/* ::deep — InputText renders the <input>, so it carries no scope attribute. */
[b-8u1g6z8vql] .fe-grid input[type=text],
[b-8u1g6z8vql] .fe-grid textarea {
    padding: 10px 13px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13.5px;
}

[b-8u1g6z8vql] .fe-grid input:focus,
[b-8u1g6z8vql] .fe-grid textarea:focus { outline: none; border-color: var(--accent); }

[b-8u1g6z8vql] .fe-grid .validation-message { font-weight: 400; font-size: 12px; }

.fe-checks[b-8u1g6z8vql] {
    flex-direction: row !important;
    gap: 16px !important;
    align-items: center;
    font-weight: 500 !important;
    color: var(--text) !important;
}

.fe-checks span[b-8u1g6z8vql] { display: inline-flex; align-items: center; gap: 7px; }

.fe-actions[b-8u1g6z8vql] { display: flex; gap: 8px; margin-top: 12px; }

@media (max-width: 900px) {
    .builder[b-8u1g6z8vql] { grid-template-columns: 1fr; }
    .builder-tree[b-8u1g6z8vql] { position: static; }
    .fe-grid[b-8u1g6z8vql] { grid-template-columns: 1fr; }
}

/* "Client sees" — a dashed, faded frame so it reads as a sample, not a field to fill. */
.fe-sample[b-8u1g6z8vql] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px dashed var(--border);
    border-radius: 9px;
    opacity: 0.85;
}

.fe-sample input[type=number][b-8u1g6z8vql],
.fe-sample input[type=date][b-8u1g6z8vql] {
    width: 14rem;
    padding: 10px 13px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13.5px;
}

.fe-sample-drop[b-8u1g6z8vql] {
    cursor: not-allowed;
    padding: 14px;
    border: 1.5px dashed var(--border);
    border-radius: 9px;
    text-align: center;
    font-size: 13px;
    color: var(--dim);
}

.fe-sample-choices[b-8u1g6z8vql] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.fe-grid .fe-sample-choices label[b-8u1g6z8vql] {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text);
}

/* Option rows: a mark showing how the client picks (circle = one, square = many),
   the option's own box, and a remove button. */
.fe-options[b-8u1g6z8vql] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fe-option[b-8u1g6z8vql] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fe-option-mark[b-8u1g6z8vql] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
}

.fe-option-mark.radio[b-8u1g6z8vql] {
    border-radius: 50%;
}

[b-8u1g6z8vql] .fe-option input[type=text] {
    flex: 1;
    min-width: 0;
}

.fe-option-x[b-8u1g6z8vql] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--faint);
    cursor: pointer;
}

.fe-option-x:hover:not(:disabled)[b-8u1g6z8vql] {
    background: var(--bg);
    color: var(--text);
}

.fe-option-x:disabled[b-8u1g6z8vql] {
    opacity: 0.3;
    cursor: default;
}

.fe-option-add[b-8u1g6z8vql] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 25px;
    padding: 6px 10px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.fe-option-add:hover[b-8u1g6z8vql] {
    background: var(--bg);
}
/* /Components/Pages/Admin/Checklists/ChecklistDetailPage.razor.rz.scp.css */
/* Checklist detail / review — mirrors the DETAIL screen of Checklists.dc.html.
   The question column itself is ChecklistPreview, restyled under .req-shell
   in app.css; everything here is the chrome around it. */

/* --- header card --- */

.rq-dhead[b-0do3s8h1pt] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    padding: 24px 26px 24px 30px;
    margin-bottom: 20px;
}

/* the design clips the rail with overflow:hidden; that would clip the
   save-as-template dropdown, so the rail rounds itself instead */
.rq-dhead .st-rail[b-0do3s8h1pt] {
    width: 5px;
    border-radius: 18px 0 0 18px;
}

.rq-dhead-main[b-0do3s8h1pt] {
    flex: 1;
    min-width: 240px;
}

.rq-dhead-client[b-0do3s8h1pt] {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--accent);
    margin-bottom: 8px;
}

.rq-dhead-title[b-0do3s8h1pt] {
    font-family: var(--font-display);
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -.02em;
    color: var(--text);
}

.rq-dhead-meta[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--dim);
}

.rq-dhead-due[b-0do3s8h1pt] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rq-dhead-side[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.rq-dhead-actions[b-0do3s8h1pt] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- save as template --- */

.rq-template-save[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ::deep — InputText renders the <input>, so it carries no scope attribute. */
[b-0do3s8h1pt] .rq-template-save input {
    height: 38px;
    min-width: 18rem;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13px;
}

[b-0do3s8h1pt] .rq-template-save input:focus {
    outline: none;
    border-color: var(--accent);
}

[b-0do3s8h1pt] .rq-template-save .validation-message {
    flex-basis: 100%;
    margin: 0;
    font-size: 12.5px;
}

/* --- footer panels --- */

.rq-panel[b-0do3s8h1pt] {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    padding: 20px;
}

.rq-panel-row[b-0do3s8h1pt] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 20px;
}

.rq-panel-title[b-0do3s8h1pt] {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.rq-panel-text[b-0do3s8h1pt] {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dim);
    margin: 0 0 16px;
}

.rq-panel-text strong[b-0do3s8h1pt] {
    color: var(--text);
    font-weight: 600;
}

.rq-panel-hint[b-0do3s8h1pt] {
    font-size: 12px;
    color: var(--faint);
    margin: 10px 0 0;
}

.rq-issued[b-0do3s8h1pt] {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.rq-issued input[b-0do3s8h1pt] {
    flex: 1;
    height: 38px;
    padding: 0 13px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12px;
}

.rq-issued button[b-0do3s8h1pt] {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
}

.rq-issued button:hover[b-0do3s8h1pt] {
    background: var(--accent-soft);
}

/* --- expired --- */

.rq-expired[b-0do3s8h1pt] {
    border-color: color-mix(in srgb, var(--bad) 40%, transparent);
    background: color-mix(in srgb, var(--bad) 7%, var(--surface));
}

.rq-expired .rq-panel-title[b-0do3s8h1pt] { color: var(--bad); }

.rq-expired-actions[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rq-expired-label[b-0do3s8h1pt] {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dim);
}

[b-0do3s8h1pt] .rq-expired-actions .wiz-input {
    width: auto;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13px;
}

/* --- approved --- */

.rq-approved[b-0do3s8h1pt] {
    margin-top: 24px;
    border: 1px solid var(--ok-border);
    border-radius: 16px;
    background: var(--ok-soft);
    padding: 28px;
    text-align: center;
}

.rq-approved-check[b-0do3s8h1pt] {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ok);
    color: var(--text-on-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.rq-approved-title[b-0do3s8h1pt] {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 750;
    color: var(--text);
    margin-bottom: 6px;
}

.rq-approved-text[b-0do3s8h1pt] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--dim);
    max-width: 440px;
    margin: 0 auto;
}

/* --- activity feed drawer --- */

.act-backdrop[b-0do3s8h1pt] {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: var(--scrim);
}

/* Opaque on purpose: the page behind it is a client's answers, and reading the
   feed through them is unreadable. --surface is already solid; the explicit
   isolation stops the backdrop's dim from tinting it. */
.act-drawer[b-0do3s8h1pt] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 31;
    isolation: isolate;
    width: min(430px, 100vw);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.act-head[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.act-title[b-0do3s8h1pt] {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 750;
    color: var(--text);
}

.act-close[b-0do3s8h1pt] {
    display: flex;
    border: none;
    background: none;
    color: var(--faint);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
}

.act-close:hover[b-0do3s8h1pt] {
    color: var(--text);
    background: var(--surface2);
}

.act-filters[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.act-filters-label[b-0do3s8h1pt] {
    font-size: 12px;
    color: var(--dim);
    margin-right: 2px;
}

.act-chip[b-0do3s8h1pt] {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--dim);
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
}

/* Each chip wears the colour of the nodes it filters to, so the legend and the
   timeline read as one thing. */
.act-chip.on[b-0do3s8h1pt] {
    border-color: currentColor;
    color: var(--act-tone);
    background: var(--act-tone-soft);
}

.act-chip.cat-comment[b-0do3s8h1pt] { --act-tone: var(--accent); --act-tone-soft: var(--accent-soft); }
.act-chip.cat-warning[b-0do3s8h1pt] { --act-tone: var(--danger); --act-tone-soft: var(--danger-soft); }

.act-search[b-0do3s8h1pt] {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 12.5px;
}

.act-search:focus[b-0do3s8h1pt] {
    outline: none;
    border-color: var(--accent);
}

.act-search[b-0do3s8h1pt]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.act-empty[b-0do3s8h1pt] {
    font-size: 12.5px;
    color: var(--dim);
    margin: 12px 0 0;
}

.act-list[b-0do3s8h1pt] {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--dim) 28%, transparent) transparent;
}

/* Every item carries its own tone; the node, its ring and the spine below it all
   read from these two, so a kind is recoloured in one place. */
.act-item[b-0do3s8h1pt] {
    --act-tone: var(--dim);
    --act-tone-soft: var(--surface2);
    position: relative;
    display: flex;
    gap: 12px;
    padding: 14px 2px 16px 0;
}

.act-item.kind-published[b-0do3s8h1pt],
.act-item.kind-email[b-0do3s8h1pt],
.act-item.kind-sms[b-0do3s8h1pt] { --act-tone: var(--info-ink); --act-tone-soft: var(--info-tint); }

.act-item.kind-submitted[b-0do3s8h1pt],
.act-item.kind-approved[b-0do3s8h1pt],
.act-item.kind-upload[b-0do3s8h1pt] { --act-tone: var(--ok); --act-tone-soft: var(--ok-soft); }

.act-item.kind-integration[b-0do3s8h1pt] { --act-tone: var(--warning-ink); --act-tone-soft: var(--warning-tint); }

/* category wins over kind: a failed send is red whatever channel it used */
.act-item.cat-comment[b-0do3s8h1pt] { --act-tone: var(--accent); --act-tone-soft: var(--accent-soft); }
.act-item.cat-warning[b-0do3s8h1pt] { --act-tone: var(--danger); --act-tone-soft: var(--danger-soft); }

/* The connector: from under this node down to the next one. Drawn on the item
   rather than between them so the last entry ends the line cleanly. */
.act-item:not(:last-child)[b-0do3s8h1pt]::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 44px;
    bottom: -2px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--act-tone), var(--border));
    opacity: .55;
}

.act-node[b-0do3s8h1pt] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    border: 1.5px solid var(--act-tone);
    background: var(--act-tone-soft);
    color: var(--act-tone);
    /* punches the node out of the connector line behind it */
    box-shadow: 0 0 0 3px var(--surface);
}

.act-node svg[b-0do3s8h1pt] { width: 14px; height: 14px; }

/* --- who did it --- */

.act-actor[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
}

.act-avatar[b-0do3s8h1pt] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--text-on-brand);
}

/* the one distinction that matters when reading a thread: us or them */
.act-avatar.staff[b-0do3s8h1pt] { background: var(--accent); }
.act-avatar.client[b-0do3s8h1pt] { background: var(--info); }

.act-actor-text[b-0do3s8h1pt] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.act-actor-name[b-0do3s8h1pt] {
    font-size: 11.5px;
    font-weight: 650;
    color: var(--text);
}

.act-actor-contact[b-0do3s8h1pt] {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--faint);
    overflow-wrap: anywhere;
}

.act-body[b-0do3s8h1pt] {
    min-width: 0;
    flex: 1;
}

.act-text[b-0do3s8h1pt] {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text);
    margin: 0;
    overflow-wrap: anywhere;
}

.act-detail[b-0do3s8h1pt] {
    font-size: 12px;
    line-height: 1.45;
    color: var(--dim);
    margin: 4px 0 0;
    overflow-wrap: anywhere;
}

.act-badge[b-0do3s8h1pt] {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--surface2);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--dim);
}

.act-when[b-0do3s8h1pt] {
    font-size: 11px;
    color: var(--faint);
    margin: 6px 0 0;
}

/* --- connected apps (integration actions) --- */

.rq-actions[b-0do3s8h1pt] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.rq-actions-title[b-0do3s8h1pt] {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.rq-action-row[b-0do3s8h1pt] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.rq-action-dot[b-0do3s8h1pt] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex: none;
    background: var(--dim);
}

.rq-action-dot.ok[b-0do3s8h1pt] { background: var(--ok); }
.rq-action-dot.failed[b-0do3s8h1pt] { background: var(--danger); }

.rq-action-text[b-0do3s8h1pt] {
    min-width: 0;
}

.rq-action-name[b-0do3s8h1pt] {
    font-size: 13.5px;
    color: var(--text);
    margin: 0;
}

.rq-action-note[b-0do3s8h1pt] {
    font-size: 12.5px;
    color: var(--dim);
    margin: 2px 0 0;
}

/* The work link picker. Full width would read as the panel's main action; this
   is a setting on the checklist, so it sits at the size of its longest job name. */
.rq-worklink[b-0do3s8h1pt] {
    margin-top: 10px;
    max-width: 22rem;
}

.rq-worklink[b-0do3s8h1pt]  .dd-trigger {
    width: 100%;
}
/* /Components/Pages/Admin/Checklists/ChecklistPreview.razor.rz.scp.css */
.prev-none[b-efeuzt9vah] { color: var(--ink-soft); padding: 1.5rem; }

.prev-lockbar[b-efeuzt9vah] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--accent-soft);
    color: var(--ink);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}
.prev-lockbar svg[b-efeuzt9vah] { width: 18px; height: 18px; color: var(--accent); flex: none; }

.prev-shell[b-efeuzt9vah] {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

.prev-nav[b-efeuzt9vah] {
    position: sticky;
    top: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.prev-title[b-efeuzt9vah] { font-weight: 700; color: var(--ink-deep); margin: 0 0 0.15rem; font-size: 1rem; }
.prev-due[b-efeuzt9vah] { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 0.75rem; }

.prev-nav-list[b-efeuzt9vah] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }

.prev-nav-item[b-efeuzt9vah] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-ui);
    color: var(--ink);
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    font-size: 0.86rem;
}
.prev-nav-item:hover[b-efeuzt9vah] { background: var(--surface-2); }
.prev-nav-item.active[b-efeuzt9vah] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.prev-nav-row[b-efeuzt9vah] { display: flex; align-items: center; gap: 0.1rem; }
.prev-nav-row .prev-nav-item[b-efeuzt9vah] { flex: 1; min-width: 0; }

.prev-nav-toggle[b-efeuzt9vah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    color: var(--ink-soft);
}
.prev-nav-toggle:hover[b-efeuzt9vah] { background: var(--surface-2); }
.prev-nav-chevron[b-efeuzt9vah] { display: inline-flex; transition: transform 0.15s ease; }
.prev-nav-chevron svg[b-efeuzt9vah] { width: 14px; height: 14px; }
.prev-nav-chevron.open[b-efeuzt9vah] { transform: rotate(90deg); }

.prev-nav-count[b-efeuzt9vah] {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface-2);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    flex: none;
}
.prev-nav-count.done[b-efeuzt9vah] { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }

.prev-body[b-efeuzt9vah] { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.prev-card[b-efeuzt9vah] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.3rem 1.4rem;
}

/* A page is a transparent group: the heading sits on the page background and
   each question below it brings its own card. */
.prev-page[b-efeuzt9vah] { display: block; scroll-margin-top: 1rem; }

.prev-section-head[b-efeuzt9vah] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.4rem 0 0.7rem;
}

.prev-section-head.sub[b-efeuzt9vah] {
    margin-top: 1.4rem;
    scroll-margin-top: 1rem;
}

.prev-section-count[b-efeuzt9vah] {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface-2);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
    flex: none;
}

.prev-heading[b-efeuzt9vah] { font-size: 1.1rem; font-weight: 600; color: var(--ink-deep); margin: 0; }
.prev-subheading[b-efeuzt9vah] { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin: 0; }

.prev-instructions[b-efeuzt9vah] { font-size: 0.94rem; line-height: 1.65; color: var(--ink); }
.prev-instructions :is(h1,h2,h3)[b-efeuzt9vah] { font-weight: 600; margin: 0.8rem 0 0.4rem; }
.prev-instructions p[b-efeuzt9vah] { margin: 0 0 0.7rem; }
.prev-instructions ul[b-efeuzt9vah], .prev-instructions ol[b-efeuzt9vah] { margin: 0 0 0.7rem 1.4rem; }
.prev-instructions a[b-efeuzt9vah] { color: var(--accent); }

/* sanitised blurb under a page/section heading */
.prev-section-blurb[b-efeuzt9vah] { font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 1rem; }
.prev-section-blurb :is(h1,h2,h3)[b-efeuzt9vah] { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0.8rem 0 0.4rem; }
.prev-section-blurb > :first-child[b-efeuzt9vah] { margin-top: 0; }
.prev-section-blurb > :last-child[b-efeuzt9vah] { margin-bottom: 0; }
.prev-section-blurb p[b-efeuzt9vah] { margin: 0 0 0.55rem; }
.prev-section-blurb ul[b-efeuzt9vah], .prev-section-blurb ol[b-efeuzt9vah] { margin: 0 0 0.55rem 1.4rem; }
.prev-section-blurb a[b-efeuzt9vah] { color: var(--accent); }

@media (max-width: 860px) {
    .prev-shell[b-efeuzt9vah] { grid-template-columns: 1fr; }
    .prev-nav[b-efeuzt9vah] { position: static; }
}

/* client header in nav */
.prev-client[b-efeuzt9vah] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.prev-avatar[b-efeuzt9vah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.82rem;
    flex: none;
}
.prev-client-info[b-efeuzt9vah] { display: flex; flex-direction: column; min-width: 0; }
.prev-client-name[b-efeuzt9vah] { font-weight: 600; color: var(--ink-deep); font-size: 0.9rem; }
.prev-client-email[b-efeuzt9vah] { font-size: 0.78rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* subsection nav */
.prev-nav-sub[b-efeuzt9vah] {
    list-style: none;
    margin: 0.1rem 0 0.2rem 0.75rem;
    padding-left: 0.5rem;
    border-left: 1.5px solid var(--line);
}
.prev-nav-subitem[b-efeuzt9vah] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font-ui);
    color: var(--ink-soft);
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.82rem;
}
.prev-nav-subitem:hover[b-efeuzt9vah] { background: var(--surface-2); color: var(--ink); }

/* completion tick */
.prev-nav-tick[b-efeuzt9vah] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--on-dark);
    flex: none;
}
.prev-nav-tick svg[b-efeuzt9vah] { width: 12px; height: 12px; }

/* Files sent with the checklist, under the instructions. */
.prev-attachments[b-efeuzt9vah] {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prev-file[b-efeuzt9vah] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13px;
}
/* /Components/Pages/Admin/Checklists/ChecklistsDashboard.razor.rz.scp.css */
/* Checklists list — mirrors the LIST screen of Checklists.dc.html. Palette
   tokens come from .req-shell in app.css; every number here is the
   design's own px value. */

/* --- page head --- */

/* --- stat strip --- */

/* --- toolbar --- */

.req-toolbar[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.req-toolbar-gap[b-1h5y98m65r] {
    flex: 1;
}

.req-toolbar-label[b-1h5y98m65r] {
    font-size: 12.5px;
    font-weight: 650;
    color: var(--dim);
}

.req-toolbar-divider[b-1h5y98m65r] {
    width: 1px;
    height: 22px;
    background: var(--border);
    margin: 0 2px;
}

.req-search[b-1h5y98m65r] {
    position: relative;
}

.req-search-icon[b-1h5y98m65r] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--faint);
    pointer-events: none;
}

.req-search-input[b-1h5y98m65r] {
    width: 240px;
    height: 38px;
    padding: 0 14px 0 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 13px;
}

.req-search-input:focus[b-1h5y98m65r] {
    outline: none;
    border-color: var(--accent);
}

.req-search-input[b-1h5y98m65r]::placeholder {
    color: var(--faint);
}

.req-search-input[b-1h5y98m65r]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

/* the shared ViewSwitch, wearing the design's segmented control */
[b-1h5y98m65r] .view-switch {
    display: flex;
    gap: 0;
    padding: 3px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

[b-1h5y98m65r] .view-switch .view-btn {
    width: 32px;
    height: 30px;
    border-radius: 8px;
    background: transparent;
    color: var(--dim);
    box-shadow: none;
}

[b-1h5y98m65r] .view-switch .view-btn.active {
    background: var(--accent);
    color: var(--text-on-brand);
    box-shadow: none;
}

/* --- grid view --- */

.rq-grid[b-1h5y98m65r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.rq-card[b-1h5y98m65r] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    border: 1px solid var(--border);
    border-radius: 16px;
    /* The status rail rides in the background layer so border-radius clips it.
       Not a child element: overflow:hidden on the card would clip the row menu
       too, and a 4px-wide child with a 16px radius has its corners clamped to an
       ellipse whose ends sweep outside the card — the rail that was poking past
       the rounded corners. */
    background: linear-gradient(to right, var(--st) 0 4px, transparent 4px) var(--surface);
    padding: 22px 20px 18px 24px;
}

.rq-card-top[b-1h5y98m65r] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.rq-card-titles[b-1h5y98m65r] {
    flex: 1;
    min-width: 0;
}

.rq-card-name[b-1h5y98m65r] {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.28;
    color: var(--text);
    margin-bottom: 3px;
}

.rq-card-client[b-1h5y98m65r] {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rq-card-spacer[b-1h5y98m65r] {
    flex: 1;
}

.rq-card-foot[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 13px;
}

.rq-card-meta[b-1h5y98m65r] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--faint);
    /* keeps the meta and the row menu together on the right, rather than
       letting space-between strand the meta in the middle */
    margin-left: auto;
}

.rq-due[b-1h5y98m65r] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rq-done[b-1h5y98m65r] {
    color: var(--ok);
    font-weight: 600;
}

/* --- grouped list --- */

.rq-group[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 4px 9px;
    margin-top: 22px;
}

/* the first group sits straight under the toolbar, so it keeps the list's own gap */
.rq-group:first-of-type[b-1h5y98m65r] {
    margin-top: 0;
}

.rq-group-name[b-1h5y98m65r] {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 750;
    color: var(--text);
}

.rq-group-count[b-1h5y98m65r] {
    font-size: 11px;
    font-weight: 700;
    color: var(--faint);
    background: var(--surface2);
    padding: 2px 8px;
    border-radius: 20px;
}

/* --- table view --- */

/* No overflow:hidden — it would clip the row menu. The corners are rounded
   on the head and last row instead, which reads identically. */
.rq-table[b-1h5y98m65r] {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

/* Was a CSS grid of `2.4fr 2fr 1.1fr 1.1fr .8fr 1.4fr` with a 12px gap. Under
   table-layout:fixed the same ratios become percentages of the 8.8fr total,
   and the gap becomes right-padding on every cell but the last. QuickGrid
   renders the table/th/td, hence `::deep`. */
[b-1h5y98m65r] .rq-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Column 1 is the selection tick; the rest keep the design's ratios, scaled to
   the remaining width. */
[b-1h5y98m65r] .rq-grid th:nth-child(1) { width: 4%; }
[b-1h5y98m65r] .rq-grid th:nth-child(2) { width: 26%; }
[b-1h5y98m65r] .rq-grid th:nth-child(3) { width: 22%; }
[b-1h5y98m65r] .rq-grid th:nth-child(4) { width: 12%; }
[b-1h5y98m65r] .rq-grid th:nth-child(5) { width: 12%; }
[b-1h5y98m65r] .rq-grid th:nth-child(6) { width: 9%; }
[b-1h5y98m65r] .rq-grid th:nth-child(7) { width: 15%; }

/* position:relative on the <tr> is what the absolutely-positioned .st-rail
   anchors to, so the rail still spans the full row height. */
[b-1h5y98m65r] .rq-grid tbody tr.rq-trow {
    position: relative;
    cursor: pointer;
}

[b-1h5y98m65r] .rq-grid tbody tr[aria-rowindex]:not(:has(~ tr[aria-rowindex])) td:first-child { border-radius: 0 0 0 16px; }
[b-1h5y98m65r] .rq-grid tbody tr[aria-rowindex]:not(:has(~ tr[aria-rowindex])) td:last-child { border-radius: 0 0 16px 0; }

[b-1h5y98m65r] .rq-grid .st-rail {
    width: 3px;
}

[b-1h5y98m65r] .rq-grid tbody tr[aria-rowindex]:not(:has(~ tr[aria-rowindex])) .st-rail {
    border-radius: 0 0 0 16px;
}

.rq-tname[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.rq-tname span[b-1h5y98m65r] {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rq-tdim[b-1h5y98m65r] {
    font-size: 12.5px;
    color: var(--dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rq-tprogress[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.rq-tpct[b-1h5y98m65r] {
    font-size: 11.5px;
    color: var(--faint);
    width: 30px;
    text-align: right;
}

/* --- board view --- */

/* One lane per status in a single row, however many statuses there are;
   lanes that don't fit scroll sideways instead of wrapping to a second row. */
.rq-board[b-1h5y98m65r] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
}

.rq-board > *[b-1h5y98m65r] {
    scroll-snap-align: start;
}

.rq-col[b-1h5y98m65r] {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface2);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    /* Cap to the viewport (the board starts ~15rem down) so a full column
       scrolls its own cards instead of scrolling the whole page. */
    max-height: calc(100vh - 17rem);
}

.rq-col-body[b-1h5y98m65r] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    /* room for the card's hover lift and focus ring */
    padding: 2px;
    margin: -2px;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--dim) 28%, transparent) transparent;
}

.rq-col-body[b-1h5y98m65r]::-webkit-scrollbar { width: 8px; }
.rq-col-body[b-1h5y98m65r]::-webkit-scrollbar-track { background: transparent; }

.rq-col-body[b-1h5y98m65r]::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--dim) 28%, transparent);
    border-radius: 8px;
}

.rq-col-head[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 8px;
    border-bottom: 1px solid var(--border);
}

.rq-col-dot[b-1h5y98m65r] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--st);
    flex: none;
}

.rq-col-name[b-1h5y98m65r] {
    flex: 1;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}

.rq-col-count[b-1h5y98m65r] {
    font-size: 11px;
    font-weight: 700;
    color: var(--faint);
    background: var(--surface);
    padding: 2px 8px;
    border-radius: 20px;
}

.rq-mini[b-1h5y98m65r] {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(to right, var(--st) 0 3px, transparent 3px) var(--surface);
    padding: 14px 14px 13px 16px;
}

.rq-mini[draggable="true"][b-1h5y98m65r] {
    cursor: grab;
}

.rq-mini[draggable="true"]:active[b-1h5y98m65r] {
    cursor: grabbing;
}

.rq-mini-top[b-1h5y98m65r] {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 12px;
}

.rq-mini-titles[b-1h5y98m65r] {
    flex: 1;
    min-width: 0;
}

.rq-mini-name[b-1h5y98m65r] {
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 2px;
}

.rq-mini-client[b-1h5y98m65r] {
    font-size: 11px;
    font-weight: 600;
    color: var(--dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rq-mini-progress[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.rq-mini-progress .req-bar[b-1h5y98m65r] {
    height: 5px;
    border-radius: 3px;
}

.rq-mini-pct[b-1h5y98m65r] {
    font-size: 11px;
    color: var(--faint);
}

.rq-mini-foot[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rq-mini-due[b-1h5y98m65r] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--faint);
}

/* --- row actions (not in the design) ---
   Same slot in all three views: the trailing end of the card's foot row,
   or the end of the table row. In the flow rather than pinned to a
   corner, so it never lands on the ring or the progress figure. */

.rq-menu[b-1h5y98m65r] {
    position: relative;
    flex: none;
    align-self: center;
    margin-left: 2px;
}

.rq-dots[b-1h5y98m65r] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--faint);
    cursor: pointer;
    transition: color .12s, background-color .12s;
}

.rq-dots svg[b-1h5y98m65r] { width: 16px; height: 16px; }

.rq-dots:hover[b-1h5y98m65r] {
    color: var(--text);
    background: var(--surface2);
}

/* Card menus open upward — the trigger sits at the bottom of the card. */
.rq-menu-list[b-1h5y98m65r] {
    position: absolute;
    right: 0;
    bottom: 30px;
    z-index: 21;
    min-width: 9rem;
    padding: 6px;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.rq-trow .rq-menu-list[b-1h5y98m65r] {
    top: 30px;
    bottom: auto;
}

.rq-menu-list button[b-1h5y98m65r] {
    text-align: left;
    border: none;
    background: none;
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 550;
    color: var(--text);
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.rq-menu-list button:hover[b-1h5y98m65r] {
    background: var(--surface2);
}

.rq-menu-list .menu-danger[b-1h5y98m65r] {
    color: var(--danger);
}

.menu-backdrop[b-1h5y98m65r] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

/* --- empty state --- */

.req-empty[b-1h5y98m65r] {
    text-align: center;
    padding: 70px 20px;
    color: var(--dim);
}

.req-empty-title[b-1h5y98m65r] {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.req-empty-sub[b-1h5y98m65r] {
    font-size: 13px;
}

/* /Components/Pages/Admin/Checklists/ChecklistWizard.razor.rz.scp.css */
/* Checklist wizard — mirrors the WIZARD screens of Checklists.dc.html. The
   stepper, builder and preview are their own components; this is the
   top bar plus the four narrow steps around them. */

.wiz-topbar[b-l71zx1gsqz] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.wiz-next[b-l71zx1gsqz] {
    height: 40px;
    padding: 0 20px;
    border-radius: 11px;
    border: none;
    background: var(--accent);
    color: var(--text-on-brand);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    flex: none;
    white-space: nowrap;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.wiz-next:hover[b-l71zx1gsqz] { background: var(--accent-hover); }
.wiz-next:disabled[b-l71zx1gsqz] { opacity: .5; cursor: not-allowed; }

.wiz-error[b-l71zx1gsqz] {
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 12px 16px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
    color: var(--danger);
    font-size: 13px;
}

/* --- step widths --- */

.wiz-wide[b-l71zx1gsqz] { max-width: 950px; margin: 0 auto; }
.wiz-narrow[b-l71zx1gsqz] { max-width:900px; margin: 0 auto; }
.wiz-slim[b-l71zx1gsqz] { max-width: 640px; margin: 0 auto; }

.wiz-h1[b-l71zx1gsqz] {
    font-family: var(--font-display);
    text-align: center;
    margin: 8px 0 6px;
    font-size: 27px;
    font-weight: 750;
    color: var(--text);
}

.wiz-h1.tight[b-l71zx1gsqz] { margin: 8px 0 28px; }

.wiz-sub[b-l71zx1gsqz] {
    text-align: center;
    font-size: 14px;
    color: var(--dim);
    margin: 0 0 28px;
}

.wiz-sub strong[b-l71zx1gsqz] { color: var(--text); font-weight: 650; }

.wiz-h2[b-l71zx1gsqz] {
    font-family: var(--font-display);
    margin: 0;
    font-size: 23px;
    font-weight: 750;
    color: var(--text);
}

.wiz-sub2[b-l71zx1gsqz] {
    font-size: 13px;
    color: var(--dim);
    margin: 3px 0 0;
}

.wiz-builder-head[b-l71zx1gsqz] { margin-bottom: 18px; }

/* --- step 1: templates --- */

.wiz-blank[b-l71zx1gsqz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 1.5px dashed var(--border);
    border-radius: 16px;
    background: transparent;
    padding: 28px;
    margin-bottom: 30px;
    text-align: center;
    cursor: pointer;
    font-family: var(--font-ui);
}

.wiz-blank:hover[b-l71zx1gsqz] { border-color: var(--accent); }
.wiz-blank:disabled[b-l71zx1gsqz] { opacity: .6; cursor: not-allowed; }

.wiz-blank-icon[b-l71zx1gsqz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.wiz-blank-title[b-l71zx1gsqz] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.wiz-blank-note[b-l71zx1gsqz] {
    font-size: 13px;
    color: var(--dim);
}

.wiz-divider[b-l71zx1gsqz] {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 16px;
}

.wiz-tpl-grid[b-l71zx1gsqz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.wiz-tpl[b-l71zx1gsqz] {
    display: block;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 18px;
    cursor: pointer;
    font-family: var(--font-ui);
    transition: border-color .15s, transform .15s;
}

.wiz-tpl:hover[b-l71zx1gsqz] {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.wiz-tpl:disabled[b-l71zx1gsqz] { opacity: .6; cursor: not-allowed; }

.wiz-tpl-name[b-l71zx1gsqz] {
    display: block;
    min-height: 38px;
    font-size: 14.5px;
    font-weight: 650;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 10px;
}

.wiz-tpl-meta[b-l71zx1gsqz] {
    font-size: 12.5px;
    color: var(--dim);
}

.wiz-tpl-count[b-l71zx1gsqz] { font-weight: 600; }
.wiz-tpl-cat[b-l71zx1gsqz] { color: var(--accent); }

/* --- fields (steps 2 and 5) --- */

.wiz-label[b-l71zx1gsqz] {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--text);
    margin-bottom: 8px;
}

.wiz-label.spaced[b-l71zx1gsqz] { margin-top: 22px; }

.wiz-optional[b-l71zx1gsqz] {
    color: var(--faint);
    font-weight: 400;
}

.wiz-input[b-l71zx1gsqz] {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 14px;
    margin-bottom: 20px;
}

.wiz-input:focus[b-l71zx1gsqz] {
    outline: none;
    border-color: var(--accent);
}

.wiz-input[b-l71zx1gsqz]::placeholder { color: var(--faint); }

/* step 2 stacks with its own label margins, so no trailing gap there */
.wiz-narrow .wiz-input[b-l71zx1gsqz] { margin-bottom: 0; }

.req-select[b-l71zx1gsqz] { margin-bottom: 20px; }
.wiz-narrow .req-select[b-l71zx1gsqz] { margin-bottom: 0; }

/* Quill, wearing the design's instructions box */
.wiz-rte[b-l71zx1gsqz] {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

[b-l71zx1gsqz] .wiz-rte .rte { border: none; border-radius: 0; }

[b-l71zx1gsqz] .wiz-rte .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: var(--head);
    padding: 7px 10px;
}

[b-l71zx1gsqz] .wiz-rte .ql-container.ql-snow {
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
}

[b-l71zx1gsqz] .wiz-rte .ql-editor {
    min-height: 150px;
    max-height: none;
    padding: 16px 18px;
    line-height: 1.7;
    color: var(--text);
}

/* --- checkbox --- */

.wiz-check[b-l71zx1gsqz] {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13.5px;
    color: var(--text);
    cursor: pointer;
    margin-bottom: 20px;
}

.wiz-check input[b-l71zx1gsqz] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wiz-check-box[b-l71zx1gsqz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--faint);
    color: transparent;
    flex: none;
}

.wiz-check input:checked + .wiz-check-box[b-l71zx1gsqz] {
    border: none;
    background: var(--accent);
    color: var(--text-on-brand);
}

/* --- publish --- */

.wiz-publish-row[b-l71zx1gsqz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.wiz-publish[b-l71zx1gsqz] {
    height: 44px;
    padding: 0 28px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: var(--text-on-brand);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--brand-primary) 40%, transparent);
}

.wiz-publish:hover[b-l71zx1gsqz] {
    background: var(--accent-hover);
    color: var(--text-on-brand);
    text-decoration: none;
}

.wiz-publish:disabled[b-l71zx1gsqz] { opacity: .5; cursor: not-allowed; }

.wiz-draft-link[b-l71zx1gsqz] {
    border: none;
    background: none;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 550;
    text-decoration: underline;
    cursor: pointer;
}

.wiz-draft-link:hover[b-l71zx1gsqz] { opacity: .82; }

.wiz-client-links[b-l71zx1gsqz] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.wiz-link-btn[b-l71zx1gsqz] {
    border: none;
    background: none;
    padding: 0;
    color: var(--accent);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 550;
    text-decoration: underline;
    cursor: pointer;
}

.wiz-link-btn:hover[b-l71zx1gsqz] { opacity: .82; }
.wiz-link-btn:disabled[b-l71zx1gsqz] { opacity: .5; cursor: default; }

/* --- new-client modal --- */

.modal-scrim[b-l71zx1gsqz] {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--scrim);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-box[b-l71zx1gsqz] {
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 26px 22px;
    box-shadow: var(--shadow-lg);
}

.modal-title[b-l71zx1gsqz] {
    font-family: var(--font-display, var(--font-ui));
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ink);
}

.modal-body[b-l71zx1gsqz] {
    margin-top: 14px;
}

.modal-actions[b-l71zx1gsqz] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

.modal-cancel[b-l71zx1gsqz] {
    border: 1px solid var(--border);
    background: none;
    color: var(--ink);
    border-radius: 10px;
    height: 38px;
    padding: 0 16px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
}

.modal-confirm[b-l71zx1gsqz] {
    border: none;
    border-radius: 10px;
    height: 38px;
    padding: 0 18px;
    color: var(--text-on-brand);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.modal-confirm.go[b-l71zx1gsqz] { background: var(--accent); }

.modal-cancel:disabled[b-l71zx1gsqz],
.modal-confirm:disabled[b-l71zx1gsqz] { opacity: .55; cursor: default; }

.wiz-hint[b-l71zx1gsqz] {
    font-size: 12px;
    color: var(--faint);
    text-align: center;
}

/* --- publish success --- */

.wiz-success[b-l71zx1gsqz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.wiz-success-check[b-l71zx1gsqz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ok);
    color: var(--text-on-brand);
    margin-bottom: 14px;
}
/* /Components/Pages/Admin/Checklists/PageSummary.razor.rz.scp.css */
.sum[b-38svwog60s] {
    margin-top: 2rem;
}

.sum-title[b-38svwog60s] {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 0.7rem;
}

.sum-tiles[b-38svwog60s] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-bottom: 0.7rem;
}

.sum-tile[b-38svwog60s] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 0.9rem 1rem;
}

.sum-figure[b-38svwog60s] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
}

.sum-label[b-38svwog60s] {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.sum-card[b-38svwog60s] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.1rem 1.2rem;
}

.sum-head[b-38svwog60s] {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    margin: 0 0 0.2rem;
}

.sum-note[b-38svwog60s] {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
}

.sum-list[b-38svwog60s] {
    list-style: none;
    margin: 0.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.sum-list li + li[b-38svwog60s] {
    border-top: 1px solid var(--line);
}

.sum-link[b-38svwog60s] {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0.55rem 0;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--accent);
    cursor: pointer;
}

.sum-link:hover[b-38svwog60s] {
    text-decoration: underline;
}

.sum-done[b-38svwog60s] {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.sum-check[b-38svwog60s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

@media (max-width: 620px) {
    .sum-tiles[b-38svwog60s] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Admin/Checklists/WizardStepper.razor.rz.scp.css */
/* Wizard stepper — mirrors the step rail of Checklists.dc.html. */

.stepper[b-1slb4syrdo] {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.step[b-1slb4syrdo] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-ui);
}

.step:disabled[b-1slb4syrdo] { cursor: default; }

.step-dot[b-1slb4syrdo] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex: none;
    border: 1.5px solid var(--border);
    background: var(--surface2);
    color: var(--dim);
    font-size: 12.5px;
    font-weight: 700;
}

.step-label[b-1slb4syrdo] {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dim);
    white-space: nowrap;
}

.step.active .step-dot[b-1slb4syrdo],
.step.done .step-dot[b-1slb4syrdo] {
    border: none;
    background: var(--accent);
    color: var(--text-on-brand);
}

.step.active .step-dot[b-1slb4syrdo] {
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.step.active .step-label[b-1slb4syrdo] {
    font-weight: 700;
    color: var(--text);
}

.step.done .step-label[b-1slb4syrdo] { color: var(--text); }

.step-track[b-1slb4syrdo] {
    position: relative;
    flex: 1;
    min-width: 20px;
    height: 2px;
    margin: 0 12px;
    border-radius: 2px;
    background: var(--border);
    overflow: hidden;
}

.step-fill[b-1slb4syrdo] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--accent);
}

.step-fill.on[b-1slb4syrdo] { width: 100%; }

@media (max-width: 860px) {
    .step-label[b-1slb4syrdo] { display: none; }
    .step-track[b-1slb4syrdo] { margin: 0 8px; }
}
/* /Components/Pages/Admin/Clients/ClientContactsPanel.razor.rz.scp.css */
.panel-hint[b-7fmmk580d2] {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.contact-row[b-7fmmk580d2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-row:last-of-type[b-7fmmk580d2] {
    border-bottom: none;
}

.contact-info[b-7fmmk580d2] {
    min-width: 0;
}

.contact-name[b-7fmmk580d2] {
    margin: 0 0 0.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.primary-badge[b-7fmmk580d2] {
    margin-left: 0.4rem;
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.05rem 0.35rem;
    vertical-align: middle;
}

.contact-line[b-7fmmk580d2] {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-line:hover[b-7fmmk580d2] {
    text-decoration: underline;
}

.contact-actions[b-7fmmk580d2] {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.mini-action[b-7fmmk580d2] {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    cursor: pointer;
}

.mini-action:hover[b-7fmmk580d2] {
    background: var(--surface-2);
}

.mini-action.danger[b-7fmmk580d2] {
    color: var(--bad);
}

.mini-action:disabled[b-7fmmk580d2] {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-form[b-7fmmk580d2] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

/* ::deep — InputText renders the <input>, so it carries no scope attribute. */
[b-7fmmk580d2] .mini-input {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-1, var(--card));
    color: var(--ink);
    width: 100%;
    box-sizing: border-box;
}

[b-7fmmk580d2] .validation-message {
    margin: -0.15rem 0 0;
    font-size: 0.78rem;
}

.mini-check[b-7fmmk580d2] {
    font-size: 0.8rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mini-form-actions[b-7fmmk580d2] {
    display: flex;
    gap: 0.4rem;
}

.panel-add[b-7fmmk580d2] {
    margin-top: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.panel-add:hover[b-7fmmk580d2] {
    text-decoration: underline;
}
/* /Components/Pages/Admin/Clients/ClientModals.razor.rz.scp.css */
/* Clients module dialog — a direct port of the redesign's modal. */

@keyframes clientFadeIn-b-6gygcfup6m {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-scrim[b-6gygcfup6m] {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--c-scrim);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: clientFadeIn-b-6gygcfup6m 0.16s ease both;
}

.modal-box[b-6gygcfup6m] {
    width: 100%;
    max-width: 440px;
    background: var(--c-modal);
    border: 1px solid var(--c-line-menu);
    border-radius: 15px;
    padding: 22px 24px 20px;
    box-shadow: var(--c-shadow-modal);
    font-family: var(--font-body);
}

.modal-title[b-6gygcfup6m] {
    font: 600 17px var(--font-heading);
    letter-spacing: -0.015em;
    color: var(--c-g0);
}

.modal-body[b-6gygcfup6m] {
    font-size: 13px;
    color: var(--c-g8);
    line-height: 1.55;
    margin-top: 9px;
}

.modal-select[b-6gygcfup6m] {
    margin-top: 15px;
}

.modal-select[b-6gygcfup6m]  .dd-wrap .dd-trigger {
    width: 100%;
    background: var(--c-field);
    border: 1px solid var(--c-line-2);
    border-radius: 9px;
    height: 40px;
    padding: 0 11px;
    color: var(--c-g-input);
    font: 400 13px var(--font-body);
}

.modal-select[b-6gygcfup6m]  .dd-wrap .dd-menu {
    background: var(--c-menu);
    border: 1px solid var(--c-line-menu);
    border-radius: 10px;
    padding: 5px;
    box-shadow: var(--c-shadow-menu);
}

.modal-select[b-6gygcfup6m]  .dd-wrap .dd-option {
    color: var(--c-g2);
    font: 400 12.5px var(--font-body);
    padding: 8px 10px;
    border-radius: 7px;
}

.modal-select[b-6gygcfup6m]  .dd-wrap .dd-option:hover {
    background: var(--c-menu-hover);
}

.modal-select[b-6gygcfup6m]  .dd-wrap .dd-option.selected {
    background: var(--c-chip-on);
    color: var(--c-chip-ink);
}

.modal-actions[b-6gygcfup6m] {
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-cancel[b-6gygcfup6m] {
    border: 1px solid var(--c-line-14);
    background: var(--c-modal-cancel);
    color: var(--c-g2);
    border-radius: 9px;
    height: 36px;
    padding: 0 15px;
    font: 500 12.5px var(--font-body);
    cursor: pointer;
}

.modal-confirm[b-6gygcfup6m] {
    border: none;
    border-radius: 9px;
    height: 36px;
    padding: 0 16px;
    color: var(--text-on-brand);
    font: 600 12.5px var(--font-body);
    cursor: pointer;
}

.modal-confirm.danger[b-6gygcfup6m] {
    background: var(--c-confirm);
}

.modal-confirm.go[b-6gygcfup6m] {
    background: var(--c-accent);
}

.modal-cancel:disabled[b-6gygcfup6m],
.modal-confirm:disabled[b-6gygcfup6m] {
    opacity: 0.6;
    cursor: default;
}
/* /Components/Pages/Admin/Clients/ClientRelationshipsPanel.razor.rz.scp.css */
.panel-hint[b-3k336g6qqf] {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.rel-row[b-3k336g6qqf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
}

.rel-row:last-of-type[b-3k336g6qqf] {
    border-bottom: none;
}

.rel-info[b-3k336g6qqf] {
    min-width: 0;
}

.rel-label[b-3k336g6qqf] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink);
}

.rel-label strong[b-3k336g6qqf] {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.1rem;
}

.rel-client[b-3k336g6qqf] {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.rel-client:hover[b-3k336g6qqf] {
    text-decoration: underline;
}

.rel-detail[b-3k336g6qqf] {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.rel-actions[b-3k336g6qqf] {
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.mini-action[b-3k336g6qqf] {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    cursor: pointer;
}

.mini-action:hover[b-3k336g6qqf] {
    background: var(--surface-2);
}

.mini-action.danger[b-3k336g6qqf] {
    color: var(--bad);
}

.mini-action:disabled[b-3k336g6qqf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.rel-form[b-3k336g6qqf] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

.mini-input[b-3k336g6qqf] {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-1, var(--card));
    color: var(--ink);
    width: 100%;
    box-sizing: border-box;
}

.mini-label[b-3k336g6qqf] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.rel-selected[b-3k336g6qqf] {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rel-candidates[b-3k336g6qqf] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.rel-candidates li + li[b-3k336g6qqf] {
    border-top: 1px solid var(--line);
}

.rel-candidate[b-3k336g6qqf] {
    display: block;
    width: 100%;
    text-align: left;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--ink);
    background: none;
    border: none;
    padding: 0.45rem 0.6rem;
    cursor: pointer;
}

.rel-candidate:hover[b-3k336g6qqf] {
    background: var(--surface-2);
}

.rel-dates[b-3k336g6qqf] {
    display: flex;
    gap: 0.5rem;
}

.rel-dates .mini-label[b-3k336g6qqf] {
    flex: 1;
}

.mini-form-actions[b-3k336g6qqf] {
    display: flex;
    gap: 0.4rem;
}

.panel-add[b-3k336g6qqf] {
    margin-top: 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.panel-add:hover[b-3k336g6qqf] {
    text-decoration: underline;
}
/* /Components/Pages/Admin/Clients/ClientsImportModal.razor.rz.scp.css */
.import-backdrop[b-g52e6tu8w8] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--scrim);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.import-box[b-g52e6tu8w8] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    width: min(640px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: width 0.18s ease;
}

/* The design's box is a fixed 640px, but the preview table needs more room
   once a file's been picked — widen only then. */
.import-box.import-box-wide[b-g52e6tu8w8] {
    width: min(900px, 100%);
}

/* --- upload steps --- */

.import-steps[b-g52e6tu8w8] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0.4rem 0 1.2rem;
}

.import-step[b-g52e6tu8w8] {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.step-num[b-g52e6tu8w8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.import-step:not(:first-child) .step-num[b-g52e6tu8w8] {
    background: var(--surface-2);
    color: var(--ink-soft);
}

.step-title[b-g52e6tu8w8] {
    margin: 0 0 0.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}

.step-text[b-g52e6tu8w8] {
    margin: 0;
    font-size: 0.83rem;
    color: var(--ink-soft);
}

.step-text code[b-g52e6tu8w8] {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--ink);
}

.sample-link[b-g52e6tu8w8] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.sample-link:hover[b-g52e6tu8w8] {
    text-decoration: underline;
}

.sample-link :global(svg)[b-g52e6tu8w8] {
    width: 1rem;
    height: 1rem;
}

/* --- dropzone (drag & drop or click; the invisible input covers the zone,
       so native file drops land on it — no JS needed) --- */

.dropzone[b-g52e6tu8w8] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent);
    border-radius: 14px;
    background: var(--accent-soft);
    padding: 2.1rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.dropzone:hover[b-g52e6tu8w8],
.dropzone:focus-within[b-g52e6tu8w8] {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.dropzone[b-g52e6tu8w8]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dz-icon[b-g52e6tu8w8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--card);
    color: var(--accent);
    box-shadow: 0 2px 8px -2px color-mix(in srgb, var(--accent) 40%, transparent);
    margin-bottom: 0.25rem;
}

.dz-title[b-g52e6tu8w8] {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-hover);
}

.dz-hint[b-g52e6tu8w8] {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.import-head[b-g52e6tu8w8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.4rem;
}

.import-head-title[b-g52e6tu8w8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.import-icon[b-g52e6tu8w8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent);
}

.import-title[b-g52e6tu8w8] {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink);
}

.import-close[b-g52e6tu8w8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 9px;
    border: none;
    background: var(--surface-2);
    color: var(--ink-soft);
    cursor: pointer;
}

.import-close:hover[b-g52e6tu8w8] {
    color: var(--ink);
}

.import-help[b-g52e6tu8w8] {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0 0 1rem;
}

.import-help code[b-g52e6tu8w8] {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink);
}

.parse-error[b-g52e6tu8w8] {
    color: var(--bad);
    margin-top: 0.8rem;
}

.preview-head[b-g52e6tu8w8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1.1rem 0 0.6rem;
}

.preview-summary[b-g52e6tu8w8] {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.import-button[b-g52e6tu8w8] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--on-dark);
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    cursor: pointer;
}

.import-button:hover[b-g52e6tu8w8] {
    background: var(--accent-hover);
}

.import-button:disabled[b-g52e6tu8w8] {
    opacity: 0.5;
    cursor: not-allowed;
}

.preview-scroll[b-g52e6tu8w8] {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.preview-table[b-g52e6tu8w8] {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
}

.preview-table th[b-g52e6tu8w8] {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: left;
    color: var(--ink-soft);
    padding: 0.6rem 0.8rem;
    background: color-mix(in srgb, var(--ink) 3%, var(--card));
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.preview-table td[b-g52e6tu8w8] {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.84rem;
    color: var(--ink);
}

.preview-table tbody tr:last-child td[b-g52e6tu8w8] {
    border-bottom: none;
}

.row-invalid[b-g52e6tu8w8] {
    background: color-mix(in srgb, var(--bad) 6%, transparent);
}
.row-warning[b-g52e6tu8w8] {
    background: color-mix(in srgb, var(--warning-ink) 6%, transparent);
}
.row-success[b-g52e6tu8w8] {
    background: color-mix(in srgb, var(--good) 6%, transparent);
}
.cell-mono[b-g52e6tu8w8] {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--ink-soft);
}

.badge-warn[b-g52e6tu8w8],
.badge-ok[b-g52e6tu8w8],
.badge-bad[b-g52e6tu8w8] {
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    white-space: nowrap;
}
.badge-warn[b-g52e6tu8w8] {
    color: var(--warning-ink);
    background: color-mix(in srgb, var(--warning-ink) 12%, transparent);
}
.badge-ok[b-g52e6tu8w8] {
    color: var(--good);
    background: color-mix(in srgb, var(--good) 12%, transparent);
}

.badge-bad[b-g52e6tu8w8] {
    color: var(--bad);
    background: color-mix(in srgb, var(--bad) 12%, transparent);
}

.import-result[b-g52e6tu8w8] {
    margin-top: 1.1rem;
}

.result-line[b-g52e6tu8w8] {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    color: var(--ink);
}

.error-list[b-g52e6tu8w8] {
    margin: 0 0 0.9rem;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    color: var(--bad);
}
/* /Components/Pages/Admin/Dashboard/Dashboard.razor.rz.scp.css */
/* ---- base ---- */
/* ---- period switch ---- */
.seg[b-14rxcrz8ze] {
    display: inline-flex;
    gap: 0.15rem;
    padding: 0.2rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.seg-btn[b-14rxcrz8ze] {
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.42rem 1rem;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}
.seg-btn:hover[b-14rxcrz8ze] { color: var(--ink); }
.seg-btn.on[b-14rxcrz8ze] { background: var(--accent); color: var(--on-dark); box-shadow: var(--shadow-sm); }

.dash-cta svg[b-14rxcrz8ze] { width: 16px; height: 16px; }

.panel[b-14rxcrz8ze] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 0.9rem 1rem;
}
.panel-head[b-14rxcrz8ze] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
}
.panel-title[b-14rxcrz8ze] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.94rem;
    margin: 0 0 0.6rem;
    color: var(--ink-deep);
}
.panel-head .panel-title[b-14rxcrz8ze] { margin: 0; }

/* ---- tone chips (shared by kpi + tiles) ---- */
/* ---- KPI cards ---- */
.kpi-chip svg[b-14rxcrz8ze] { width: 16px; height: 16px; }
.trend[b-14rxcrz8ze] { font-size: 0.8rem; font-weight: 600; display: inline-flex; gap: 0.3rem; align-items: center; margin-top: 0.15rem; }
.trend-arrow[b-14rxcrz8ze] { font-size: 0.7rem; }
.trend.up[b-14rxcrz8ze] { color: var(--good); }
.trend.down[b-14rxcrz8ze] { color: var(--bad); }
.trend.flat[b-14rxcrz8ze] { color: var(--ink-soft); }

/* ---- draggable widget grid (4-col) ---- */
.widget-grid[b-14rxcrz8ze] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    grid-auto-flow: row dense;
}
.widget[b-14rxcrz8ze] { display: flex; min-width: 0; }
.widget > .panel[b-14rxcrz8ze] { flex: 1; min-width: 0; }
.widget.span-1[b-14rxcrz8ze] { grid-column: span 1; }
.widget.span-2[b-14rxcrz8ze] { grid-column: span 2; }
.widget.span-4[b-14rxcrz8ze] { grid-column: span 4; }
.widget[draggable="true"][b-14rxcrz8ze] { cursor: grab; }
.widget[draggable="true"]:active[b-14rxcrz8ze] { cursor: grabbing; }
.widget.dragging[b-14rxcrz8ze] { opacity: 0.45; }
.widget .panel[b-14rxcrz8ze] { transition: box-shadow 0.15s ease, border-color 0.15s ease; }
.widget:hover > .panel[b-14rxcrz8ze] { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
@media (max-width: 1200px) {
    .widget-grid[b-14rxcrz8ze] { grid-template-columns: repeat(2, 1fr); }
    .widget.span-2[b-14rxcrz8ze], .widget.span-4[b-14rxcrz8ze] { grid-column: span 2; }
    .widget.span-1[b-14rxcrz8ze] { grid-column: span 1; }
}
@media (max-width: 768px) {
    .widget-grid[b-14rxcrz8ze] { grid-template-columns: 1fr; }
    .widget.span-1[b-14rxcrz8ze], .widget.span-2[b-14rxcrz8ze], .widget.span-4[b-14rxcrz8ze] { grid-column: span 1; }
}

/* ---- chart chrome ---- */
.chart-legend[b-14rxcrz8ze] { display: flex; gap: 0.9rem; font-size: 0.72rem; color: var(--ink-soft); }
.chart-legend span[b-14rxcrz8ze] { display: inline-flex; align-items: center; gap: 0.3rem; }
.legend-dot[b-14rxcrz8ze] { width: 0.55rem; height: 0.55rem; border-radius: 3px; flex: none; display: inline-block; }
.chart-hint[b-14rxcrz8ze] { font-size: 0.72rem; color: var(--ink-soft); margin: 0.1rem 0 0; text-align: center; }
.drill-sep[b-14rxcrz8ze] { color: var(--ink-soft); font-weight: 400; margin: 0 0.15rem; }
.drill-label[b-14rxcrz8ze] { color: var(--accent); }
.back-chip[b-14rxcrz8ze] {
    display: inline-flex; align-items: center; gap: 0.2rem;
    background: var(--accent-soft); color: var(--accent);
    border: none; border-radius: 999px; padding: 0.2rem 0.6rem 0.2rem 0.4rem;
    font-size: 0.75rem; font-weight: 600; cursor: pointer; font-family: inherit;
    transition: background 0.12s ease;
}
.back-chip:hover[b-14rxcrz8ze] { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.back-chip svg[b-14rxcrz8ze] { width: 14px; height: 14px; }


/* ---- recent activity ---- */
.activity-list[b-14rxcrz8ze] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.activity-item[b-14rxcrz8ze] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.12s ease;
}
.activity-item:hover[b-14rxcrz8ze] { background: var(--surface-2); }
.act-icon[b-14rxcrz8ze] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    flex: none;
}
.act-icon svg[b-14rxcrz8ze] { width: 16px; height: 16px; }
.act-body[b-14rxcrz8ze] { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.act-title[b-14rxcrz8ze] { font-weight: 600; font-size: 0.86rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-meta[b-14rxcrz8ze] { font-size: 0.76rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* status-tinted icon backgrounds (reuse status colours) */
.act-icon.status-draft[b-14rxcrz8ze] { background: var(--surface-2); color: var(--ink-soft); }
.act-icon.status-sent[b-14rxcrz8ze] { background: var(--accent-soft); color: var(--accent); }
.act-icon.status-inprogress[b-14rxcrz8ze] { background: var(--warning-tint); color: var(--warning-ink); }
.act-icon.status-submitted[b-14rxcrz8ze] { background: var(--info-tint); color: var(--info-ink); }
.act-icon.status-approved[b-14rxcrz8ze] { background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }

/* ---- record tiles ---- */
.tile-row[b-14rxcrz8ze] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
@media (max-width: 768px) { .tile-row[b-14rxcrz8ze] { grid-template-columns: repeat(2, 1fr); } }
.tile[b-14rxcrz8ze] {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.6rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    background: var(--paper);
    transition: border-color 0.12s ease, transform 0.12s ease;
}
.tile:hover[b-14rxcrz8ze] { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.tile-chip[b-14rxcrz8ze] {
    grid-row: 1 / span 2;
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 9px;
}
.tile-chip svg[b-14rxcrz8ze] { width: 15px; height: 15px; }
.tile-value[b-14rxcrz8ze] { grid-column: 2; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink-deep); line-height: 1.1; }
.tile-label[b-14rxcrz8ze] { grid-column: 2; font-size: 0.78rem; color: var(--ink-soft); }

/* ---- status chips ---- */
/* /Components/Pages/Admin/Integrations/ConfigureActions.razor.rz.scp.css */
/* Tokens come from app.css and are redefined per theme there, so no literal
   colours or fallbacks here — a fallback would silently win in dark mode. */

.field-label[b-d99hli0jl5] {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.3rem;
}

.config-picker[b-d99hli0jl5] {
    max-width: 26rem;
    margin-bottom: 1.8rem;
}

.config-section[b-d99hli0jl5] {
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
    background: var(--card);
}

.config-section-head[b-d99hli0jl5] {
    margin-bottom: 0.9rem;
}

.config-section-title[b-d99hli0jl5] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    margin: 0;
}

.config-section-sub[b-d99hli0jl5] {
    font-size: 0.83rem;
    color: var(--ink-soft);
    margin: 0.15rem 0 0;
}

.config-row[b-d99hli0jl5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.config-control[b-d99hli0jl5] {
    flex: 1 1 13rem;
    min-width: 12rem;
}

.mapping-table[b-d99hli0jl5] {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--line);
}

.mapping-table th[b-d99hli0jl5] {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: left;
    font-weight: 500;
    padding: 0.6rem 0.6rem 0.5rem 0;
}

.mapping-table td[b-d99hli0jl5] {
    padding: 0.4rem 0.6rem 0.4rem 0;
    border-top: 1px solid var(--line);
    vertical-align: middle;
}

.mapping-table td:last-child[b-d99hli0jl5],
.mapping-table th:last-child[b-d99hli0jl5] {
    width: 45%;
    padding-right: 0;
}

.mapping-label[b-d99hli0jl5] {
    color: var(--ink);
    font-size: 0.9rem;
}
/* /Components/Pages/Admin/Integrations/Integrations.razor.rz.scp.css */
/* Tokens come from app.css and are redefined per theme there, so no literal
   colours or fallbacks here — a fallback would silently win in dark mode. */

.integration-grid[b-fad1frgktp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 1.1rem;
}

.integration-card[b-fad1frgktp] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    background: var(--card);
}

.integration-head[b-fad1frgktp] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.integration-logo[b-fad1frgktp] {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.55rem;
    object-fit: contain;
    flex: none;
}

.integration-monogram[b-fad1frgktp] {
    display: grid;
    place-items: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
}

.integration-name[b-fad1frgktp] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    margin: 0;
}

.integration-status[b-fad1frgktp] {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0.15rem 0 0;
}

.status-on[b-fad1frgktp] { color: var(--good); }
.status-off[b-fad1frgktp] { color: var(--ink-soft); }
.status-error[b-fad1frgktp] { color: var(--bad); }

.integration-desc[b-fad1frgktp] {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.integration-meta[b-fad1frgktp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    margin: 0;
}

.integration-meta dt[b-fad1frgktp] {
    font-family: var(--font-mono);
    font-size: 0.63rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.integration-meta dd[b-fad1frgktp] {
    margin: 0.1rem 0 0;
    font-size: 0.88rem;
    color: var(--ink);
}

.integration-result[b-fad1frgktp] {
    font-size: 0.83rem;
    color: var(--ink-soft);
    background: var(--surface-2);
    border-radius: 0.45rem;
    padding: 0.5rem 0.65rem;
    margin: 0;
}

.integration-actions[b-fad1frgktp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.2rem;
}

/* /Components/Pages/Admin/Integrations/MailAccounts.razor.rz.scp.css */
/* Page-scoped rather than added to app.css: none of this is reused, and app.css
   is already long enough that a one-page style landing in it is a style nobody
   can later prove is dead. */

.callout[b-6raozuhtka] {
    border: 1px solid var(--line);
    border-left: 3px solid var(--role-reviewer);
    border-radius: 6px;
    background: var(--surface-2);
    padding: 0.9rem 1.1rem;
    margin: 1rem 0 1.5rem;
}

.callout p[b-6raozuhtka] {
    margin: 0 0 0.6rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.callout p:last-child[b-6raozuhtka] { margin-bottom: 0; }

.mail-probe[b-6raozuhtka] {
    font-size: 0.82rem;
    color: var(--ink-soft);
    /* Graph error text runs long; wrapping beats a table that scrolls sideways. */
    overflow-wrap: anywhere;
}

.mail-probe.ok[b-6raozuhtka] { color: var(--good); }
.mail-probe.bad[b-6raozuhtka] { color: var(--bad); }
.mail-probe.skip[b-6raozuhtka] { font-style: italic; }

.mail-probe-adhoc[b-6raozuhtka] {
    margin-top: 1.75rem;
    max-width: 32rem;
}

.mail-probe-adhoc label[b-6raozuhtka] {
    display: block;
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 0.4rem;
}

.mail-probe-adhoc-row[b-6raozuhtka] {
    display: flex;
    gap: 0.5rem;
}

.form-hint[b-6raozuhtka] {
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin: 0.4rem 0 0;
}

.mail-status[b-6raozuhtka] {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mail-status.on[b-6raozuhtka] { color: var(--good); }
.mail-status.error[b-6raozuhtka] { color: var(--bad); }
.mail-status.off[b-6raozuhtka] { color: var(--ink-soft); }

/* Wraps rather than forcing the table wider: three small buttons in a narrow
   column is the common case on a laptop. */
.mail-actions[b-6raozuhtka] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}
/* /Components/Pages/Admin/Profile/Profile.razor.rz.scp.css */
/* The header, panels and field grid match the team member page — this is the
   same object seen from the inside, so it should not look like a different app.
   Scoped CSS can't be shared, so the shape is repeated rather than abstracted. */

.profile-page[b-vil09hch6f] {
    animation: profileFadeUp-b-vil09hch6f 0.28s ease both;
}

@keyframes profileFadeUp-b-vil09hch6f {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- header ---------- */

.member-head[b-vil09hch6f] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 16px 0 0;
    flex-wrap: wrap;
}

.avatar-xl[b-vil09hch6f] {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 16px;
    color: var(--t-avatar-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 18px var(--font-mono);
}

.member-id[b-vil09hch6f] {
    flex: 1;
    min-width: 220px;
}

.member-h1[b-vil09hch6f] {
    font: 600 26px var(--font-heading);
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--t-g0);
}

.member-meta[b-vil09hch6f] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.member-mail[b-vil09hch6f] {
    font-size: 13px;
    color: var(--t-grey-dot);
}

.sep[b-vil09hch6f] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--t-sep);
}

.role-chip[b-vil09hch6f] {
    font: 600 11px var(--font-mono);
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
}

.joined[b-vil09hch6f] {
    font-size: 12.5px;
    color: var(--t-g11);
}

/* ---------- panels ---------- */

.detail-grid[b-vil09hch6f] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.panel[b-vil09hch6f] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
    padding: 18px 20px;
}

.panel.profile[b-vil09hch6f] {
    padding: 20px 22px;
}

.micro[b-vil09hch6f] {
    font: 600 10px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.panel-cap[b-vil09hch6f] {
    margin-bottom: 14px;
}

.profile .panel-cap[b-vil09hch6f] {
    margin-bottom: 16px;
}

.side[b-vil09hch6f] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-blurb[b-vil09hch6f] {
    font-size: 12px;
    color: var(--t-g9);
    line-height: 1.55;
    margin: 0 0 14px;
}

.side-note[b-vil09hch6f] {
    font-size: 11.5px;
    color: var(--t-g11);
    margin: 0;
}

.access-role[b-vil09hch6f] {
    font: 600 13px var(--font-body);
    color: var(--role);
    margin-bottom: 8px;
}

/* ---------- fields ---------- */

.fieldgrid[b-vil09hch6f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pfield[b-vil09hch6f] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pfield-cap[b-vil09hch6f] {
    font-size: 11.5px;
    color: var(--t-g10);
}

.pfield input[b-vil09hch6f] {
    background: var(--t-field);
    border: 1px solid var(--t-line-3);
    border-radius: 8px;
    height: 36px;
    padding: 0 11px;
    color: var(--t-g1);
    font-size: 13px;
    font-family: inherit;
}

.pfield input:focus[b-vil09hch6f] {
    outline: none;
    border-color: var(--t-dash-accent-hi);
}

.pfield input[readonly][b-vil09hch6f] {
    color: var(--t-grey-dot);
}

.profile-actions[b-vil09hch6f] {
    display: flex;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--t-line-5);
}

/* Full-width button with the icon and label on one line. */
.btn-block[b-vil09hch6f] {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.btn-block svg[b-vil09hch6f] {
    width: 15px;
    height: 15px;
}

@media (max-width: 1100px) {
    .detail-grid[b-vil09hch6f] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .fieldgrid[b-vil09hch6f] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.share-week[b-vil09hch6f] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}
/* /Components/Pages/Admin/Team/AddTeamMember.razor.rz.scp.css */
.detail-head[b-vjkueejmcf] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.8rem;
}

.detail-name[b-vjkueejmcf] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    color: var(--ink);
}

.invite-card[b-vjkueejmcf] {
    max-width: 30rem;
    margin: 0 auto;
}

.field-label[b-vjkueejmcf] {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink);
    margin: 1.1rem 0 0.4rem;
}

.field-label:first-of-type[b-vjkueejmcf] {
    margin-top: 0;
}

/* ::deep — InputText renders the <input>, so it carries no scope attribute.
   Still matches the plain <textarea class="field-input"> below it. */
[b-vjkueejmcf] .field-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 0.92rem;
    padding: 0.7rem 0.8rem;
}

[b-vjkueejmcf] .field-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--card);
}

[b-vjkueejmcf] .validation-message {
    margin: 0.3rem 0 0;
    font-size: 0.82rem;
}

.field-textarea[b-vjkueejmcf] {
    min-height: 5rem;
    resize: vertical;
}

.field-foot[b-vjkueejmcf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.4rem;
    font-size: 0.76rem;
    color: var(--ink-soft);
}

.field-hint[b-vjkueejmcf] {
    color: var(--copper, var(--accent));
}

.detail-note[b-vjkueejmcf] {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-top: 1.4rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.detail-note-icon[b-vjkueejmcf] {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.detail-note p[b-vjkueejmcf] {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.invite-actions[b-vjkueejmcf] {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.primary-button[b-vjkueejmcf] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-on-brand);
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.primary-button:hover:not(:disabled)[b-vjkueejmcf] {
    background: var(--accent-hover);
}

.primary-button:disabled[b-vjkueejmcf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.secondary-button[b-vjkueejmcf] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.secondary-button:hover[b-vjkueejmcf] {
    background: var(--surface-2);
}
/* /Components/Pages/Admin/Team/AdminUsers.razor.rz.scp.css */
/* Team roster — a direct port of the "Team Page Redesign" mockup. Every colour
   comes from the --t-* tokens in app.css so the module follows the app's
   light/dark toggle; the dark values are the mockup's exact palette. */

@keyframes teamFadeUp-b-79muhpm8gx {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes teamFadeIn-b-79muhpm8gx {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes teamGrowBar-b-79muhpm8gx {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.team-page[b-79muhpm8gx] {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--t-g0);
}

.team-page a[b-79muhpm8gx] {
    color: var(--t-link);
    text-decoration: none;
}

.team-page a:hover[b-79muhpm8gx] {
    color: var(--t-link-hi);
}


/* ---------- tabs ---------- */

.pane[b-79muhpm8gx] {
    animation: teamFadeUp-b-79muhpm8gx 0.28s ease both;
}

.pane-inactive[b-79muhpm8gx] {
    margin-top: 22px;
}

/* ---------- stat cards ---------- */

/* ---------- toolbar ---------- */

.toolbar[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.searchbox[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--t-panel-2);
    border: 1px solid var(--t-line-2);
    border-radius: 9px;
    padding: 0 12px;
    height: 36px;
    min-width: 270px;
}

.search-icon[b-79muhpm8gx] {
    color: var(--t-g14);
    font-size: 13px;
}

.searchbox input[b-79muhpm8gx] {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    color: var(--t-g0);
    font-size: 13px;
    font-family: inherit;
}

.searchbox input:focus[b-79muhpm8gx] {
    outline: none;
}

.searchbox input[b-79muhpm8gx]::placeholder {
    color: var(--t-g14);
}

.segbar[b-79muhpm8gx] {
    display: flex;
    gap: 6px;
    background: var(--t-panel-3);
    border: 1px solid var(--t-line);
    border-radius: 9px;
    padding: 3px;
}

.seg[b-79muhpm8gx] {
    border: none;
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 11px;
    font: 500 12px var(--font-body);
    background: transparent;
    color: var(--t-grey-dot);
}

.seg.on[b-79muhpm8gx] {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
}

.chip-toggle[b-79muhpm8gx] {
    border: 1px solid var(--t-line-2);
    background: var(--t-panel-2);
    color: var(--t-grey-dot);
    border-radius: 9px;
    height: 36px;
    padding: 0 13px;
    font: 500 12px var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}

.chip-toggle.on[b-79muhpm8gx] {
    border-color: var(--t-amber-border);
    background: var(--t-amber-tint);
    color: var(--t-amber);
}

.toolbar-gap[b-79muhpm8gx] {
    flex: 1;
}

.viewtoggle[b-79muhpm8gx] {
    display: flex;
    gap: 3px;
    background: var(--t-panel-3);
    border: 1px solid var(--t-line);
    border-radius: 9px;
    padding: 3px;
}

.viewtoggle button[b-79muhpm8gx] {
    border: none;
    cursor: pointer;
    border-radius: 6px;
    width: 32px;
    height: 28px;
    font-size: 12px;
    background: transparent;
    color: var(--t-grey-dot);
}

.viewtoggle button.on[b-79muhpm8gx] {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
}

.sortbox[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--t-g12b);
    font-size: 12px;
}

.sortbox[b-79muhpm8gx]  .dd-trigger {
    background: var(--t-panel-2);
    border: 1px solid var(--t-line-2);
    color: var(--t-g2);
    border-radius: 8px;
    height: 36px;
    padding: 0 9px;
    font: 500 12.5px var(--font-body);
    gap: 8px;
}

/* ---------- list view ---------- */

/* No overflow clipping: the row "⋯" menu is a child of the last rows and
   would be cut off by the card. Corners are rounded on the edge rows instead. */
.tablecard[b-79muhpm8gx] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
}

.tablecard > :first-child[b-79muhpm8gx] {
    border-radius: 12px 12px 0 0;
}

.tablecard > :last-child[b-79muhpm8gx] {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.trow[b-79muhpm8gx] {
    display: grid;
    grid-template-columns: 2.3fr 0.9fr 0.7fr 0.7fr 1.5fr 0.9fr 40px;
    gap: 14px;
}

.trow-off[b-79muhpm8gx] {
    display: grid;
    grid-template-columns: 2.3fr 1fr 1.4fr 1fr 150px;
    gap: 14px;
}

.thead[b-79muhpm8gx] {
    padding: 11px 18px;
    background: var(--t-panel-2);
    border-bottom: 1px solid var(--t-line);
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.trow.tbody[b-79muhpm8gx] {
    padding: 12px 18px;
    align-items: center;
    border-bottom: 1px solid var(--t-line-soft);
    background: transparent;
}

.trow-off.tbody[b-79muhpm8gx] {
    padding: 13px 18px;
    align-items: center;
    border-bottom: 1px solid var(--t-line-soft);
}

.trow.tbody.menu-on[b-79muhpm8gx] {
    background: var(--t-hover);
}

.thead .r[b-79muhpm8gx] {
    text-align: right;
}

.trow .r[b-79muhpm8gx] {
    text-align: right;
}

.cell-member[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.avatar[b-79muhpm8gx] {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 10px;
    color: var(--t-avatar-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 11px var(--font-mono);
}

.avatar-md[b-79muhpm8gx] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 11.5px;
}

.avatar-lg[b-79muhpm8gx] {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 12.5px;
}

.avatar-off[b-79muhpm8gx] {
    background: var(--t-idle);
    color: var(--t-off-ink);
}

.member-text[b-79muhpm8gx] {
    min-width: 0;
}

.member-line[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.member-name[b-79muhpm8gx] {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--t-g0);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-name:hover[b-79muhpm8gx] {
    color: var(--t-link);
}

.member-name.off[b-79muhpm8gx] {
    color: var(--t-g5);
}

.member-email[b-79muhpm8gx] {
    font-size: 11.5px;
    color: var(--t-g11);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-email.off[b-79muhpm8gx] {
    color: var(--t-g13);
}

.role-dd[b-79muhpm8gx]  .dd-trigger {
    background: var(--t-field-2);
    border: 1px solid var(--t-line-3);
    color: var(--role);
    border-radius: 7px;
    height: 28px;
    padding: 0 6px;
    font: 500 11.5px var(--font-body);
    gap: 4px;
}

/* ---------- dropdowns (shared Dropdown component) ---------- */

/* The native <select> popup can't be themed, so the team module drives the
   app's Dropdown and restyles its trigger and menu to the design. */
.team-page[b-79muhpm8gx]  .dd-trigger::after {
    width: 5px;
    height: 5px;
    border-width: 1.4px;
    border-color: currentColor;
    opacity: 0.7;
}

.team-page[b-79muhpm8gx]  .dd-trigger:hover {
    border-color: var(--t-line-strong);
}

.team-page[b-79muhpm8gx]  .dd-menu {
    background: var(--t-field-2);
    border: 1px solid var(--t-line-4);
    border-radius: 10px;
    box-shadow: var(--t-shadow-menu);
    padding: 5px;
}

.team-page[b-79muhpm8gx]  .dd-option {
    color: var(--t-g2);
    font: 500 12.5px var(--font-body);
    padding: 8px 10px;
    border-radius: 7px;
}

.team-page[b-79muhpm8gx]  .dd-option:hover {
    background: var(--t-hover-3);
}

.team-page[b-79muhpm8gx]  .dd-option.selected {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
    font-weight: 600;
}

.num[b-79muhpm8gx] {
    font: 500 13px var(--font-mono);
    color: var(--t-g3);
}

.late[b-79muhpm8gx] {
    font: 600 10.5px var(--font-mono);
    margin-left: 6px;
    color: var(--t-red);
}

.cell-load[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.load-track[b-79muhpm8gx] {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: var(--t-track);
    overflow: hidden;
}

.load-fill[b-79muhpm8gx] {
    height: 100%;
    border-radius: 4px;
    transform-origin: left;
    animation: teamGrowBar-b-79muhpm8gx 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.load-pct[b-79muhpm8gx] {
    width: 38px;
    font: 500 11.5px var(--font-mono);
}

.cell-seen[b-79muhpm8gx] {
    font-size: 12px;
    color: var(--t-g11);
}

.cell-plain[b-79muhpm8gx] {
    font-size: 12.5px;
    color: var(--t-grey-dot);
}

.cell-menu[b-79muhpm8gx] {
    display: flex;
    justify-content: flex-end;
}

.empty-row[b-79muhpm8gx] {
    padding: 44px 18px;
    text-align: center;
    color: var(--t-g11);
    font-size: 13px;
}

.empty-block[b-79muhpm8gx] {
    padding: 34px 18px;
    text-align: center;
    color: var(--t-g11);
    font-size: 13px;
}

/* ---------- row menu ---------- */

.rowmenu[b-79muhpm8gx] {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.dots[b-79muhpm8gx] {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    border: 1px solid var(--t-line);
    background: transparent;
    color: var(--t-grey-dot);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.menu-on .dots[b-79muhpm8gx],
.dots:hover[b-79muhpm8gx] {
    background: var(--t-hover-3);
}

.menu-backdrop[b-79muhpm8gx] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.menu[b-79muhpm8gx] {
    position: absolute;
    right: 0;
    z-index: 30;
    width: 206px;
    background: var(--t-field-2);
    border: 1px solid var(--t-line-4);
    border-radius: 10px;
    padding: 5px;
    box-shadow: var(--t-shadow-menu);
    animation: teamFadeUp-b-79muhpm8gx 0.14s ease both;
}

.menu > a[b-79muhpm8gx],
.menu > button[b-79muhpm8gx] {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    color: var(--t-g2);
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
}

.menu > a:hover[b-79muhpm8gx],
.menu > button:hover[b-79muhpm8gx] {
    background: var(--t-hover-3);
    color: var(--t-g2);
}

.menu > .danger[b-79muhpm8gx] {
    color: var(--t-red);
}

/* ---------- card view ---------- */

.cardgrid[b-79muhpm8gx] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 12px;
}

.mcard[b-79muhpm8gx] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
    padding: 16px 17px 14px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    /* backwards, not both: the final keyframe is `transform: none`, and a retained
       animation value outranks every normal declaration — including the shared
       .grid-card:hover lift, which is why this card never popped. */
    animation: teamFadeUp-b-79muhpm8gx 0.24s ease backwards;
}

.mcard.menu-on[b-79muhpm8gx] {
    border-color: var(--t-line-strong);
}

.mcard-off:hover[b-79muhpm8gx] {
    border-color: var(--t-line-strong-2);
}

.mcard-head[b-79muhpm8gx] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.mcard-id[b-79muhpm8gx] {
    flex: 1;
    min-width: 0;
}

.mcard-name[b-79muhpm8gx] {
    font: 600 14px var(--font-heading);
    color: var(--t-g0);
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mcard-name:hover[b-79muhpm8gx] {
    color: var(--t-link);
}

.mcard-name.off[b-79muhpm8gx] {
    color: var(--t-g5);
}

.mcard-id .member-email[b-79muhpm8gx] {
    margin-top: 2px;
}

.off-badge[b-79muhpm8gx] {
    font: 600 9px var(--font-mono);
    letter-spacing: 0.08em;
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--t-grey-tint);
    color: var(--t-g9c);
    flex: none;
}

.mcard-menu[b-79muhpm8gx] {
    position: relative;
    flex: none;
}

.mcard-menu .dots[b-79muhpm8gx] {
    width: 26px;
    height: 26px;
}

.mcard-role[b-79muhpm8gx] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mcard-role.dim[b-79muhpm8gx] {
    opacity: 0.7;
}

.dot[b-79muhpm8gx] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
}

.mcard-rolename[b-79muhpm8gx] {
    font: 500 12px var(--font-body);
    color: var(--t-g4);
    flex: 1;
}

.mcard-rolename.off[b-79muhpm8gx] {
    color: var(--t-g6);
}

.mcard-seen[b-79muhpm8gx] {
    font-size: 11.5px;
    color: var(--t-g11);
}

.mcard-seen.off[b-79muhpm8gx] {
    color: var(--t-g13);
}

.mcard-loadhead[b-79muhpm8gx] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.micro[b-79muhpm8gx] {
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.load-pct-inline[b-79muhpm8gx] {
    font: 500 11.5px var(--font-mono);
}

.mcard-stats[b-79muhpm8gx] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 11px;
    border-top: 1px solid var(--t-line-hair);
}

.mcard-stats.two[b-79muhpm8gx] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mcard-stats .micro[b-79muhpm8gx] {
    letter-spacing: 0.11em;
}

.mcard-stat[b-79muhpm8gx] {
    font: 500 15px var(--font-mono);
    color: var(--t-g2);
    margin-top: 3px;
}

.handover[b-79muhpm8gx] {
    font-size: 12.5px;
    color: var(--t-g4);
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deact[b-79muhpm8gx] {
    font: 500 12.5px var(--font-mono);
    color: var(--t-grey-dot);
    margin-top: 4px;
}

.invite-card[b-79muhpm8gx] {
    min-height: 200px;
    background: none;
    border: 1px dashed var(--t-dash-accent);
    border-radius: 13px;
    color: var(--t-link);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: 500 13px var(--font-body);
}

.invite-card:hover[b-79muhpm8gx] {
    background: var(--t-invite-hover);
    border-color: var(--t-dash-accent-hi);
}

.invite-plus[b-79muhpm8gx] {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--t-invite-plus);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.roster-foot[b-79muhpm8gx] {
    margin-top: 11px;
    font-size: 12px;
    color: var(--t-g14);
}

/* ---------- inactive tab ---------- */

.notice[b-79muhpm8gx] {
    background: var(--t-panel-2);
    border: 1px solid var(--t-line);
    border-radius: 12px;
    padding: 15px 17px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.notice-icon[b-79muhpm8gx] {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 8px;
    background: var(--t-amber-tint);
    color: var(--t-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.notice-text[b-79muhpm8gx] {
    flex: 1;
    font-size: 12.5px;
    color: var(--t-g7b);
    line-height: 1.55;
}

.notice-text strong[b-79muhpm8gx] {
    color: var(--t-g-strong);
}

.notice .viewtoggle[b-79muhpm8gx] {
    flex: none;
    align-self: center;
}

.mcard-actions[b-79muhpm8gx] {
    display: flex;
    gap: 7px;
    padding-top: 3px;
}

.cell-offactions[b-79muhpm8gx] {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
}

/* ---------- narrow screens ---------- */

@media (max-width: 1100px) {
}

@media (max-width: 900px) {
    .tablecard[b-79muhpm8gx] {
        overflow-x: auto;
    }

    .trow[b-79muhpm8gx],
    .trow-off[b-79muhpm8gx] {
        min-width: 900px;
    }
}

@media (max-width: 640px) {
}
/* /Components/Pages/Admin/Team/PermissionsPanel.razor.rz.scp.css */
/* Role permissions — the "Team Page Redesign" mockup's PERMISSIONS tab.
   Themed through the --t-* tokens, same as AdminUsers.razor.css. */

@keyframes permsFadeUp-b-do5vxws8sx {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.perms[b-do5vxws8sx] {
    animation: permsFadeUp-b-do5vxws8sx 0.28s ease both;
    margin-top: 24px;
    font-family: var(--font-body);
    color: var(--t-g0);
}

.perms-head[b-do5vxws8sx] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.perms-title[b-do5vxws8sx] {
    font: 600 19px var(--font-heading);
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--t-g0);
}

.perms-sub[b-do5vxws8sx] {
    margin: 6px 0 0;
    color: var(--t-g8);
    font-size: 13px;
    max-width: 520px;
}

.perms-sub strong[b-do5vxws8sx] {
    color: var(--t-g-strong);
    font-weight: 600;
}

.perms-empty[b-do5vxws8sx] {
    color: var(--t-g11);
    font-size: 13px;
}

.perms-tools[b-do5vxws8sx] {
    display: flex;
    gap: 9px;
    align-items: center;
}

.modeseg[b-do5vxws8sx] {
    display: flex;
    background: var(--t-panel-3);
    border: 1px solid var(--t-line);
    border-radius: 9px;
    padding: 3px;
}

.modeseg button[b-do5vxws8sx] {
    border: none;
    cursor: pointer;
    border-radius: 6px;
    padding: 7px 13px;
    font: 500 12px var(--font-body);
    background: transparent;
    color: var(--t-grey-dot);
}

.modeseg button.on[b-do5vxws8sx] {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
}

/* ---------- focused mode ---------- */

.focus-grid[b-do5vxws8sx] {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.rolerail[b-do5vxws8sx] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rolecard[b-do5vxws8sx] {
    text-align: left;
    cursor: pointer;
    background: var(--t-panel-3);
    border: 1px solid var(--t-line);
    border-radius: 12px;
    padding: 13px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rolecard.on[b-do5vxws8sx] {
    background: var(--tint);
    border-color: color-mix(in srgb, var(--dot) 40%, transparent);
}

.rolecard-top[b-do5vxws8sx] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dot[b-do5vxws8sx] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
}

.rolecard-name[b-do5vxws8sx] {
    font: 600 13.5px var(--font-heading);
    color: var(--t-g0);
}

.lockchip[b-do5vxws8sx] {
    font: 600 9px var(--font-mono);
    letter-spacing: 0.08em;
    color: var(--t-g9c);
    background: var(--t-grey-tint);
    padding: 2px 5px;
    border-radius: 4px;
}

.rolecard-desc[b-do5vxws8sx] {
    font-size: 11.5px;
    color: var(--t-g9);
}

.rolecard-sum[b-do5vxws8sx] {
    font: 500 11px var(--font-mono);
    color: var(--t-g12c);
}

.rolehint[b-do5vxws8sx] {
    margin-top: 6px;
    padding: 13px 14px;
    border: 1px dashed var(--t-line-dash);
    border-radius: 12px;
    color: var(--t-g11);
    font-size: 12px;
    line-height: 1.5;
}

.permcard[b-do5vxws8sx] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
    overflow: auto;
}

.permcard-head[b-do5vxws8sx] {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--t-line);
    flex-wrap: wrap;
    min-width: 520px;
}

.rolebadge[b-do5vxws8sx] {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.permcard-id[b-do5vxws8sx] {
    flex: 1;
    min-width: 160px;
}

.permcard-name[b-do5vxws8sx] {
    font: 600 15px var(--font-heading);
    color: var(--t-g0);
}

.permcard-people[b-do5vxws8sx] {
    font-size: 12px;
    color: var(--t-g9);
}

.presets[b-do5vxws8sx] {
    display: flex;
    gap: 7px;
}

.presets button[b-do5vxws8sx] {
    border: 1px solid var(--t-line-2);
    background: var(--t-field);
    color: var(--t-g4);
    border-radius: 8px;
    padding: 7px 11px;
    font: 500 11.5px var(--font-body);
    cursor: pointer;
}

.presets button:hover[b-do5vxws8sx] {
    background: var(--t-hover-2);
}

.permrow[b-do5vxws8sx] {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) 76px 66px 66px 66px;
    gap: 10px;
    padding: 13px 18px;
    align-items: center;
    border-bottom: 1px solid var(--t-line-soft);
    min-width: 520px;
}

.permrow.off[b-do5vxws8sx] {
    opacity: 0.45;
}

.permhead[b-do5vxws8sx] {
    padding: 10px 18px;
    background: var(--t-panel-2);
    border-bottom: 1px solid var(--t-line-5);
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.permrow .c[b-do5vxws8sx] {
    display: flex;
    justify-content: center;
}

.permhead .c[b-do5vxws8sx] {
    display: block;
    text-align: center;
}

.permlead[b-do5vxws8sx] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.pageicon[b-do5vxws8sx] {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 8px;
    background: var(--t-field-2);
    color: var(--t-grey-dot);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.pageicon.sm[b-do5vxws8sx] {
    width: 26px;
    height: 26px;
}

.pagename[b-do5vxws8sx] {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--t-g0);
}

.pagedesc[b-do5vxws8sx] {
    display: block;
    font-size: 11.5px;
    color: var(--t-g11);
}

.switch[b-do5vxws8sx] {
    width: 40px;
    height: 22px;
    border-radius: 12px;
    border: 1px solid var(--t-line-3);
    background: var(--t-track-2);
    cursor: pointer;
    padding: 0;
    position: relative;
}

.switch.on[b-do5vxws8sx] {
    background: var(--t-switch-on);
}

.switch:disabled[b-do5vxws8sx] {
    cursor: default;
}

.knob[b-do5vxws8sx] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--t-g12);
    transition: left 0.16s ease;
}

.switch.on .knob[b-do5vxws8sx] {
    left: 20px;
    background: var(--t-on-accent);
}

.actbtn[b-do5vxws8sx] {
    width: 100%;
    min-width: 52px;
    border: 1px solid var(--t-line-3);
    background: transparent;
    color: var(--t-g14);
    border-radius: 7px;
    padding: 6px 0;
    font: 500 11.5px var(--font-body);
    cursor: pointer;
}

.actbtn:disabled[b-do5vxws8sx] {
    cursor: default;
}

.actbtn.on[b-do5vxws8sx] {
    border-color: transparent;
}

.act-add.on[b-do5vxws8sx] {
    background: var(--t-green-tint-2);
    color: var(--t-green);
}

.act-edit.on[b-do5vxws8sx] {
    background: var(--t-blue-tint);
    color: var(--t-blue);
}

.act-del.on[b-do5vxws8sx] {
    background: var(--t-red-tint);
    color: var(--t-red);
}

/* ---------- matrix mode ---------- */

.matrixcard[b-do5vxws8sx] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
    overflow: auto;
}

.mx[b-do5vxws8sx] {
    display: grid;
    grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(140px, 1fr));
    gap: 0;
}

.mx-h[b-do5vxws8sx] {
    background: var(--t-panel-2);
    border-bottom: 1px solid var(--t-line);
}

.mx-h-page[b-do5vxws8sx] {
    padding: 12px 18px;
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.mx-h-role[b-do5vxws8sx] {
    padding: 12px 14px;
    border-left: 1px solid var(--t-line-faint-2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mx-h-role .dot[b-do5vxws8sx] {
    width: 7px;
    height: 7px;
}

.mx-rolename[b-do5vxws8sx] {
    font: 600 11.5px var(--font-body);
    color: var(--t-g4);
}

.mx-page[b-do5vxws8sx] {
    padding: 13px 18px;
    border-bottom: 1px solid var(--t-line-soft);
    display: flex;
    align-items: center;
    gap: 11px;
}

.mx-cell[b-do5vxws8sx] {
    padding: 13px 14px;
    border-bottom: 1px solid var(--t-line-soft);
    border-left: 1px solid var(--t-line-faint-2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chip[b-do5vxws8sx] {
    width: 24px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 10px var(--font-mono);
    flex: none;
}

.chip-add[b-do5vxws8sx] {
    background: var(--t-green-tint-2);
    color: var(--t-green);
}

.chip-edit[b-do5vxws8sx] {
    background: var(--t-blue-tint);
    color: var(--t-blue);
}

.chip-del[b-do5vxws8sx] {
    background: var(--t-red-tint);
    color: var(--t-red);
}

.mx-note[b-do5vxws8sx] {
    font-size: 11.5px;
    color: var(--t-g14);
}

.mx-legend[b-do5vxws8sx] {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--t-g11);
    flex-wrap: wrap;
}

.mx-legend > span[b-do5vxws8sx] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mx-legend .chip[b-do5vxws8sx] {
    width: 20px;
    height: 18px;
    border-radius: 5px;
    font-size: 9px;
}

/* ---------- narrow screens ---------- */

@media (max-width: 900px) {
    .focus-grid[b-do5vxws8sx] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Admin/Team/TeamMemberDetail.razor.rz.scp.css */
/* Team member profile — the "Team Page Redesign" mockup's member view.
   Themed through the --t-* tokens, same as AdminUsers.razor.css. */

@keyframes memberFadeUp-b-uaftf36kyn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes memberFadeIn-b-uaftf36kyn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.team-page[b-uaftf36kyn] {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--t-g0);
}

.team-page a[b-uaftf36kyn] {
    color: var(--t-link);
    text-decoration: none;
}

.team-page a:hover[b-uaftf36kyn] {
    color: var(--t-link-hi);
}

.member[b-uaftf36kyn] {
    animation: memberFadeUp-b-uaftf36kyn 0.28s ease both;
}

/* ---------- header ---------- */

.member-head[b-uaftf36kyn] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 16px 0 0;
    flex-wrap: wrap;
}

.avatar-xl[b-uaftf36kyn] {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 16px;
    color: var(--t-avatar-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 18px var(--font-mono);
}

.member-id[b-uaftf36kyn] {
    flex: 1;
    min-width: 220px;
}

.member-h1[b-uaftf36kyn] {
    font: 600 26px var(--font-heading);
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--t-g0);
}

.member-meta[b-uaftf36kyn] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.member-mail[b-uaftf36kyn] {
    font-size: 13px;
    color: var(--t-grey-dot);
}

.sep[b-uaftf36kyn] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--t-sep);
}

.role-chip[b-uaftf36kyn] {
    font: 600 11px var(--font-mono);
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
}

.joined[b-uaftf36kyn] {
    font-size: 12.5px;
    color: var(--t-g11);
}

.member-actions[b-uaftf36kyn] {
    display: flex;
    gap: 8px;
}

/* ---------- stats ---------- */

/* ---------- tabs ---------- */

/* ---------- shared table shell ---------- */

/* No overflow clipping — the client-group dropdowns open below the last row
   and would otherwise be cut off by the card. */
.tablecard[b-uaftf36kyn] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
}

.tablecard > :first-child[b-uaftf36kyn] {
    border-radius: 12px 12px 0 0;
}

.tablecard > :last-child[b-uaftf36kyn] {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.reqcard[b-uaftf36kyn] {
    margin-top: 18px;
    animation: memberFadeIn-b-uaftf36kyn 0.2s both;
}

.thead[b-uaftf36kyn] {
    padding: 11px 18px;
    background: var(--t-panel-2);
    border-bottom: 1px solid var(--t-line);
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.r[b-uaftf36kyn] {
    text-align: right;
}

.empty-row[b-uaftf36kyn] {
    padding: 44px 18px;
    text-align: center;
    color: var(--t-g11);
    font-size: 13px;
}

/* ---------- checklists tab ---------- */

.row-clickable[b-uaftf36kyn] {
    cursor: pointer;
}

.req-name[b-uaftf36kyn] {
    font-weight: 600;
    font-size: 13px;
    color: var(--t-g0);
}

.req-client[b-uaftf36kyn] {
    font-size: 12.5px;
    color: var(--t-grey-dot);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.req-due[b-uaftf36kyn] {
    font: 500 12px var(--font-mono);
}

/* ---------- details tab ---------- */

.detail-grid[b-uaftf36kyn] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    animation: memberFadeIn-b-uaftf36kyn 0.2s both;
}

.panel[b-uaftf36kyn] {
    background: var(--t-panel);
    border: 1px solid var(--t-line);
    border-radius: 13px;
    padding: 18px 20px;
}

.panel.profile[b-uaftf36kyn] {
    padding: 20px 22px;
}

.micro[b-uaftf36kyn] {
    font: 600 10px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.panel-cap[b-uaftf36kyn] {
    margin-bottom: 14px;
}

.profile .panel-cap[b-uaftf36kyn] {
    margin-bottom: 16px;
}

.fieldgrid[b-uaftf36kyn] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pfield[b-uaftf36kyn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pfield-cap[b-uaftf36kyn] {
    font-size: 11.5px;
    color: var(--t-g10);
}

.pfield input[b-uaftf36kyn] {
    background: var(--t-field);
    border: 1px solid var(--t-line-3);
    border-radius: 8px;
    height: 36px;
    padding: 0 11px;
    color: var(--t-g1);
    font-size: 13px;
    font-family: inherit;
}

.pfield input:focus[b-uaftf36kyn] {
    outline: none;
    border-color: var(--t-dash-accent-hi);
}

.pfield input[readonly][b-uaftf36kyn] {
    color: var(--t-grey-dot);
}

.profile-actions[b-uaftf36kyn] {
    display: flex;
    gap: 9px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--t-line-5);
}

.side[b-uaftf36kyn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessrow[b-uaftf36kyn] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.access-dd[b-uaftf36kyn] {
    flex: 1;
    min-width: 0;
}

.accessrow[b-uaftf36kyn]  .dd-trigger {
    background: var(--t-field);
    border: 1px solid var(--t-line-3);
    color: var(--t-g1);
    border-radius: 8px;
    height: 36px;
    padding: 0 10px;
    font: 500 13px var(--font-body);
}

.accessrow[b-uaftf36kyn]  .dd-trigger .dd-trigger-text {
    color: var(--role);
    font-weight: 600;
}

.access-blurb[b-uaftf36kyn] {
    font-size: 12px;
    color: var(--t-g9);
    line-height: 1.55;
}

.access-link[b-uaftf36kyn] {
    display: inline-block;
    margin-top: 11px;
    font-size: 12.5px;
}

/* An .access-link that posts instead of navigating. */
.access-link-btn[b-uaftf36kyn] {
    display: block;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: var(--t-dash-accent-hi);
    cursor: pointer;
    text-align: left;
}

.access-link-btn:hover[b-uaftf36kyn] {
    text-decoration: underline;
}

.access-link-btn:disabled[b-uaftf36kyn] {
    opacity: 0.55;
    cursor: default;
    text-decoration: none;
}

.act[b-uaftf36kyn] {
    display: flex;
    gap: 11px;
    padding: 8px 0;
    border-bottom: 1px solid var(--t-line-faint);
}

.act-dot[b-uaftf36kyn] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--t-arrow);
    margin-top: 6px;
    flex: none;
}

.act-body[b-uaftf36kyn] {
    flex: 1;
}

.act-text[b-uaftf36kyn] {
    font-size: 12.5px;
    color: var(--t-g4);
}

.act-when[b-uaftf36kyn] {
    font: 500 11px var(--font-mono);
    color: var(--t-g13);
    margin-top: 2px;
}

/* ---------- client groups tab ---------- */

.groups[b-uaftf36kyn] {
    margin-top: 18px;
    animation: memberFadeIn-b-uaftf36kyn 0.2s both;
}

.groups-head[b-uaftf36kyn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.groups-intro[b-uaftf36kyn] {
    margin: 0;
    font-size: 13px;
    color: var(--t-g8);
    max-width: 560px;
}

.groups-create[b-uaftf36kyn] {
    display: flex;
    gap: 8px;
}

.groups-create input[b-uaftf36kyn] {
    background: var(--t-panel-2);
    border: 1px solid var(--t-line-2);
    border-radius: 9px;
    height: 36px;
    padding: 0 12px;
    color: var(--t-g1);
    font-size: 13px;
    font-family: inherit;
    min-width: 210px;
}

.groups-create input:focus[b-uaftf36kyn] {
    outline: none;
    border-color: var(--t-dash-accent-hi);
}

.grow-row[b-uaftf36kyn] {
    display: grid;
    grid-template-columns: 1.6fr 1.3fr 0.7fr 1.4fr 92px;
    gap: 14px;
}

.grow-row.tbody[b-uaftf36kyn] {
    padding: 12px 18px;
    align-items: center;
    border-bottom: 1px solid var(--t-line-soft);
}

.grow-row.tbody:hover[b-uaftf36kyn] {
    background: var(--t-hover);
}

.group-name[b-uaftf36kyn] {
    font-weight: 600;
    font-size: 13px;
    color: var(--t-g0);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.rename-input[b-uaftf36kyn] {
    flex: 1;
    min-width: 0;
    background: var(--t-field);
    border: 1px solid var(--t-line-2);
    border-radius: 7px;
    height: 30px;
    padding: 0 8px;
    color: var(--t-g1);
    font-size: 12.5px;
    font-family: inherit;
}

.admin-dd[b-uaftf36kyn]  .dd-trigger {
    width: 100%;
    background: var(--t-field-2);
    border: 1px solid var(--t-line-3);
    color: var(--t-g2);
    border-radius: 7px;
    height: 30px;
    padding: 0 7px;
    font: 500 12px var(--font-body);
    gap: 6px;
}

.group-count[b-uaftf36kyn] {
    font: 500 13px var(--font-mono);
}

.group-open[b-uaftf36kyn] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.open-track[b-uaftf36kyn] {
    flex: 1;
    max-width: 90px;
    height: 5px;
    border-radius: 4px;
    background: var(--t-track);
    overflow: hidden;
}

.open-fill[b-uaftf36kyn] {
    height: 100%;
    background: var(--t-blue);
}

.open-count[b-uaftf36kyn] {
    font: 500 11.5px var(--font-mono);
    color: var(--t-grey-dot);
}

.group-actions[b-uaftf36kyn] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.mini[b-uaftf36kyn] {
    border: 1px solid var(--t-line-3);
    background: none;
    color: var(--t-g6);
    border-radius: 7px;
    padding: 5px 9px;
    font: 500 11.5px var(--font-body);
    cursor: pointer;
}

.mini:hover[b-uaftf36kyn] {
    background: var(--t-hover-2);
}

.mini.x[b-uaftf36kyn] {
    border-color: var(--t-line-5);
    color: var(--t-g9b);
    padding: 5px 8px;
}

.mini.x:hover[b-uaftf36kyn] {
    background: none;
    color: var(--t-red);
}

/* ---------- narrow screens ---------- */

@media (max-width: 1100px) {
    .detail-grid[b-uaftf36kyn] {
        grid-template-columns: minmax(0, 1fr);
    }

}

@media (max-width: 900px) {
    .tablecard[b-uaftf36kyn] {
        overflow-x: auto;
    }

    .grow-row[b-uaftf36kyn] {
        min-width: 760px;
    }
}

@media (max-width: 640px) {
    .fieldgrid[b-uaftf36kyn] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- dropdowns (shared Dropdown component) ---------- */

.team-page[b-uaftf36kyn]  .dd-trigger::after {
    width: 5px;
    height: 5px;
    border-width: 1.4px;
    border-color: currentColor;
    opacity: 0.7;
}

.team-page[b-uaftf36kyn]  .dd-trigger:hover {
    border-color: var(--t-line-strong);
}

.team-page[b-uaftf36kyn]  .dd-menu {
    background: var(--t-field-2);
    border: 1px solid var(--t-line-4);
    border-radius: 10px;
    box-shadow: var(--t-shadow-menu);
    padding: 5px;
}

.team-page[b-uaftf36kyn]  .dd-option {
    color: var(--t-g2);
    font: 500 12.5px var(--font-body);
    padding: 8px 10px;
    border-radius: 7px;
}

.team-page[b-uaftf36kyn]  .dd-option:hover {
    background: var(--t-hover-3);
}

.team-page[b-uaftf36kyn]  .dd-option.selected {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
    font-weight: 600;
}
/* /Components/Pages/Admin/Team/TeamModals.razor.rz.scp.css */
/* Team dialogs — invite, role change, deactivate, reassign. Themed through
   the --t-* tokens. Class names are t-prefixed because Bootstrap already
   owns .modal and its display:none would hide the card. */

@keyframes modalFadeUp-b-zl0w8w9ket {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes modalFadeIn-b-zl0w8w9ket {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scrim[b-zl0w8w9ket] {
    position: fixed;
    inset: 0;
    background: var(--t-scrim);
    backdrop-filter: blur(3px);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    animation: modalFadeIn-b-zl0w8w9ket 0.15s both;
    font-family: var(--font-body);
}

.tmodal[b-zl0w8w9ket] {
    width: 100%;
    max-width: 480px;
    background: var(--t-modal);
    border: 1px solid var(--t-line-4);
    border-radius: 16px;
    box-shadow: var(--t-shadow-modal);
    animation: modalFadeUp-b-zl0w8w9ket 0.2s ease both;
    overflow: hidden;
}

.tmodal.wide[b-zl0w8w9ket] {
    max-width: 520px;
}

.tmodal-head[b-zl0w8w9ket] {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--t-line);
}

.tmodal-head h3[b-zl0w8w9ket] {
    margin: 0;
    font: 600 17px var(--font-heading);
    letter-spacing: -0.015em;
    color: var(--t-g0);
}

.tmodal-head p[b-zl0w8w9ket] {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--t-g8);
    line-height: 1.55;
}

.tmodal-body[b-zl0w8w9ket] {
    padding: 20px 24px;
}

.stack[b-zl0w8w9ket] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stack.gap15[b-zl0w8w9ket] {
    gap: 15px;
}

.stack.gap12[b-zl0w8w9ket] {
    gap: 12px;
}

.field[b-zl0w8w9ket] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-cap[b-zl0w8w9ket] {
    font-size: 11.5px;
    color: var(--t-g10);
}

.field-cap.mb8[b-zl0w8w9ket] {
    display: block;
    margin-bottom: 8px;
}

.field input[b-zl0w8w9ket] {
    background: var(--t-field);
    border: 1px solid var(--t-line-2);
    border-radius: 9px;
    height: 38px;
    padding: 0 12px;
    color: var(--t-g1);
    font-size: 13px;
    font-family: inherit;
}

.field input:focus[b-zl0w8w9ket] {
    outline: none;
    border-color: var(--t-dash-accent-hi);
}

.field input[b-zl0w8w9ket]::placeholder {
    color: var(--t-g14);
}

.rolepick[b-zl0w8w9ket] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.rolepick-btn[b-zl0w8w9ket] {
    text-align: left;
    cursor: pointer;
    background: var(--t-field);
    border: 1px solid var(--t-line-3);
    border-radius: 10px;
    padding: 11px 12px;
    display: block;
}

.rolepick-btn.on[b-zl0w8w9ket] {
    background: var(--tint);
    border-color: color-mix(in srgb, var(--dot) 40%, transparent);
}

.rolepick-top[b-zl0w8w9ket] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rolepick-name[b-zl0w8w9ket] {
    font: 600 12.5px var(--font-body);
    color: var(--t-g1);
}

.rolepick-desc[b-zl0w8w9ket] {
    display: block;
    font-size: 11px;
    color: var(--t-g9);
    margin-top: 4px;
}

.dot[b-zl0w8w9ket] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
}

.who[b-zl0w8w9ket] {
    display: flex;
    align-items: center;
    gap: 11px;
}

.avatar-md[b-zl0w8w9ket] {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    color: var(--t-avatar-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 11.5px var(--font-mono);
}

.who-name[b-zl0w8w9ket] {
    font: 600 14px var(--font-heading);
    color: var(--t-g0);
}

.rolediff[b-zl0w8w9ket] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--t-field);
    border: 1px solid var(--t-line);
    border-radius: 11px;
    padding: 13px 15px;
}

.rolediff-side[b-zl0w8w9ket] {
    flex: 1;
}

.rolediff-side.to[b-zl0w8w9ket] {
    border-radius: 8px;
    padding: 8px 11px;
}

.micro[b-zl0w8w9ket] {
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--t-g12);
}

.micro.light[b-zl0w8w9ket] {
    color: var(--t-grey-dot);
}

.rolediff-row[b-zl0w8w9ket] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
}

.rolediff-from[b-zl0w8w9ket] {
    font-size: 13px;
    color: var(--t-g6);
}

.rolediff-to[b-zl0w8w9ket] {
    font: 600 13px var(--font-body);
    color: var(--t-g0);
}

.rolediff-arrow[b-zl0w8w9ket] {
    color: var(--t-arrow);
    font-size: 15px;
}

.tmodal-note[b-zl0w8w9ket] {
    font-size: 12.5px;
    color: var(--t-grey-dot);
    line-height: 1.55;
}

.tmodal-hint[b-zl0w8w9ket] {
    font-size: 12px;
    color: var(--t-g9);
    line-height: 1.55;
}

.warn-box[b-zl0w8w9ket] {
    background: var(--t-amber-tint);
    border: 1px solid var(--t-amber-border-2);
    border-radius: 11px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: var(--t-amber-ink);
    line-height: 1.55;
}

.danger-box[b-zl0w8w9ket] {
    background: var(--t-red-bg);
    border: 1px solid var(--t-red-border);
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 12.5px;
    color: var(--t-red-ink);
    line-height: 1.55;
}

.moveto[b-zl0w8w9ket] {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12.5px;
    color: var(--t-grey-dot);
}

.handover-dd.grow[b-zl0w8w9ket] {
    flex: 1;
    min-width: 0;
}

.picklist[b-zl0w8w9ket] {
    border: 1px solid var(--t-line-3);
    border-radius: 11px;
    overflow: hidden;
}

.pickrow[b-zl0w8w9ket] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--t-line-faint-2);
    cursor: pointer;
    text-align: left;
}

.pickrow.on[b-zl0w8w9ket] {
    background: var(--t-pick-on);
}

.pickbox[b-zl0w8w9ket] {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid var(--t-line-box);
    background: transparent;
    color: var(--t-on-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex: none;
}

.pickrow.on .pickbox[b-zl0w8w9ket] {
    border-color: var(--t-accent);
    background: var(--t-accent);
}

.pickname[b-zl0w8w9ket] {
    flex: 1;
    font-size: 13px;
    color: var(--t-g1);
    font-weight: 600;
}

.pickcount[b-zl0w8w9ket] {
    font: 500 11.5px var(--font-mono);
    color: var(--t-g9);
}

.pick-empty[b-zl0w8w9ket] {
    padding: 22px 14px;
    text-align: center;
    color: var(--t-g11);
    font-size: 12.5px;
}

.tmodal-foot[b-zl0w8w9ket] {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--t-line);
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

@media (max-width: 640px) {
    .rolepick[b-zl0w8w9ket] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- dropdowns (shared Dropdown component) ---------- */

/* Native <select> popups can't be themed, so the dialogs use the app's
   Dropdown and restyle its trigger and menu to match the design. */
.handover-dd[b-zl0w8w9ket]  .dd-trigger {
    background: var(--t-field);
    border: 1px solid var(--t-line-2);
    color: var(--t-g1);
    border-radius: 9px;
    height: 38px;
    padding: 0 11px;
    font: 500 13px var(--font-body);
}

.scrim[b-zl0w8w9ket]  .dd-trigger::after {
    width: 5px;
    height: 5px;
    border-width: 1.4px;
    border-color: currentColor;
    opacity: 0.7;
}

.scrim[b-zl0w8w9ket]  .dd-trigger:hover {
    border-color: var(--t-line-strong);
}

.scrim[b-zl0w8w9ket]  .dd-menu {
    background: var(--t-field-2);
    border: 1px solid var(--t-line-4);
    border-radius: 10px;
    box-shadow: var(--t-shadow-menu);
    padding: 5px;
}

.scrim[b-zl0w8w9ket]  .dd-option {
    color: var(--t-g2);
    font: 500 12.5px var(--font-body);
    padding: 8px 10px;
    border-radius: 7px;
}

.scrim[b-zl0w8w9ket]  .dd-option:hover {
    background: var(--t-hover-3);
}

.scrim[b-zl0w8w9ket]  .dd-option.selected {
    background: var(--t-violet-tint);
    color: var(--t-link-hi);
    font-weight: 600;
}
/* /Components/Pages/Admin/Time/TimesheetPage.razor.rz.scp.css */
/* Rows open the entry to edit. */
.wt-click[b-5vt5and8vu] {
    cursor: pointer;
}

.ts-actions[b-5vt5and8vu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.ts-spacer[b-5vt5and8vu] {
    flex: 1;
}
/* /Components/Pages/Admin/Time/TimeTimer.razor.rz.scp.css */
/* Sits in the account bar beside the theme toggle and matches it. */
.tt[b-sohoid2uup] {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 6px;
}

.tt-btn[b-sohoid2uup] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--dim);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.tt-btn:hover[b-sohoid2uup] {
    color: var(--ink);
    background: var(--surface-2);
}

/* Running: a chip, so it's noticed from across the room. */
.tt-chip[b-sohoid2uup] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    background: var(--c-panel);
    color: var(--ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}

.tt-dot[b-sohoid2uup] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-red);
    animation: tt-pulse-b-sohoid2uup 1.6s ease-in-out infinite;
}

.tt-job[b-sohoid2uup] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    color: var(--dim);
}

.tt-stop[b-sohoid2uup] {
    color: var(--c-link);
}

@keyframes tt-pulse-b-sohoid2uup {
    50% {
        opacity: 0.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-dot[b-sohoid2uup] {
        animation: none;
    }
}
/* /Components/Pages/Admin/Todo/MyWeekCalendar.razor.rz.scp.css */
/* The Outlook day beside My Week, laid out like Karbon's: the day and its
   buttons on top, all-day events or "no events" under that, then the working
   day with events placed by time. A card like the tabs and rows beside it.

   Its height is the window below the tab strip, and only the hours scroll — so a
   short list never gives the page a scrollbar just because the day is long.
   ponytail: 250px is where the tab strip sits (layout padding + account bar +
   page header) plus the layout's bottom padding; if that header grows, this is
   the number to change. Placement in the page grid is in app.css. Not
   "DayCalendar": that is the DTO. */

.day-panel[b-ri0us42kyc] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 250px);
    min-height: 360px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-panel);
    overflow: hidden;
}

.day-scroll[b-ri0us42kyc] {
    flex: 1;
    overflow-y: auto;
}

/* Same height as the tab strip's cells beside it, so the two tops line up. */
.day-head[b-ri0us42kyc] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 12px 0 16px;
    border-bottom: 1px solid var(--c-line);
}

.day-name[b-ri0us42kyc] {
    flex: 1;
    font: 600 16px var(--font-heading);
    color: var(--c-g0);
    white-space: nowrap;
}

/* ‹ Today › as one joined group, sized like the page's other small controls. */
.day-nav[b-ri0us42kyc] {
    display: flex;
    height: 32px;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    overflow: hidden;
}

.day-nav button[b-ri0us42kyc] {
    min-width: 32px;
    border: none;
    border-left: 1px solid var(--c-line);
    background: var(--c-panel);
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    color: var(--c-g0);
    cursor: pointer;
}

.day-nav button:first-child[b-ri0us42kyc] {
    border-left: none;
}

.day-nav button:hover[b-ri0us42kyc] {
    background: var(--c-panel-2);
}

.day-close[b-ri0us42kyc] {
    border: none;
    background: none;
    padding: 0 2px;
    font-size: 22px;
    line-height: 1;
    color: var(--c-g0);
    cursor: pointer;
}

.day-close:hover[b-ri0us42kyc] {
    color: var(--c-link);
}

/* Collapsed: a thin strip as tall as the open panel, the reopen button on top. */
.day-rail[b-ri0us42kyc] {
    height: calc(100vh - 250px);
    min-height: 360px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-panel);
    padding-top: 12px;
    display: flex;
    justify-content: center;
}

.day-rail-open[b-ri0us42kyc] {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 32px;
    padding: 0 6px;
    border: none;
    border-radius: 8px;
    background: none;
    font-size: 16px;
    color: var(--c-g0);
    cursor: pointer;
}

.day-rail-open:hover[b-ri0us42kyc] {
    background: var(--c-panel-2);
    color: var(--c-link);
}

.day-allday[b-ri0us42kyc] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-line);
}

.day-note[b-ri0us42kyc] {
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: var(--c-g13);
}

/* Top and bottom padding give the first and last labels room, since each
   label is centred on its line. */
.day-grid[b-ri0us42kyc] {
    position: relative;
    padding: 14px 14px 14px 0;
}

/* Keep in step with HourPx in MyWeekCalendar.razor. */
.day-hour-row[b-ri0us42kyc] {
    display: flex;
    height: 44px;
}

/* The last row is only its line — the end of the day. A class, not
   :last-of-type: the event divs come after the rows. */
.day-hour-row.day-end[b-ri0us42kyc] {
    height: 0;
}

.day-hour-row.drop-over .day-line[b-ri0us42kyc] {
    background: color-mix(in srgb, var(--c-link) 12%, transparent);
    border-top-color: var(--c-link);
}

/* A 12px box moved up by half its height: centred exactly on its line. */
.day-hour[b-ri0us42kyc] {
    width: 58px;
    flex: none;
    height: 12px;
    padding-right: 10px;
    text-align: right;
    font-size: 11px;
    line-height: 12px;
    color: var(--c-g13);
    white-space: nowrap;
    transform: translateY(-6px);
}

.day-line[b-ri0us42kyc] {
    flex: 1;
    border-top: 1px solid var(--c-line);
}

.day-event[b-ri0us42kyc] {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--c-link) 14%, var(--c-panel));
    border-left: 3px solid var(--c-link);
    color: var(--c-g0);
    overflow: hidden;
}

/* Offset by the grid's top padding (14px) and the label column (58px). */
.day-grid .day-event[b-ri0us42kyc] {
    position: absolute;
    left: 62px;
    right: 16px;
    margin-top: 14px;
    pointer-events: none;
}

.day-event.all-day[b-ri0us42kyc] {
    margin-bottom: 4px;
}

.day-time[b-ri0us42kyc] {
    display: block;
    font-size: 11px;
    color: var(--c-g13);
}

.day-confirm[b-ri0us42kyc] {
    margin: 0 0 12px;
    font-size: 13px;
}
/* /Components/Pages/Admin/Todo/TodoAddModal.razor.rz.scp.css */
/* Add Item. Its own stylesheet rather than the page's: this is a separate
   component, so the page's scoped rules carry the page's attribute and would
   never match this markup. The fields inside come from the unscoped
   .work-shell block in app.css, which is why the dialog carries that class.
   The dialog frame (.todo-modal*) is in app.css too: Time's entry dialog
   shares it. */

/* --- note and attachments ------------------------------------------- */

.todo-note[b-zqfy4m82ww] {
    margin-top: 16px;
}

.todo-note .field-label[b-zqfy4m82ww] {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    color: var(--c-g10);
}

/* RichTextEditor renders its own Quill container, so this has to pierce the
   scope to reach it. */
.todo-note[b-zqfy4m82ww]  .ql-container {
    min-height: 7rem;
    border-radius: 0 0 9px 9px;
}

.todo-note[b-zqfy4m82ww]  .ql-toolbar {
    border-radius: 9px 9px 0 0;
}

.todo-files[b-zqfy4m82ww] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

/* The native file input is unstylable across browsers, so it is hidden inside
   its own label and the label is what people see. */
.todo-attach[b-zqfy4m82ww] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px dashed var(--c-line-2);
    border-radius: 9px;
    color: var(--c-link);
    font-size: 12px;
    cursor: pointer;
}

.todo-attach:hover[b-zqfy4m82ww] {
    background: var(--c-panel-2);
}

.todo-attach[b-zqfy4m82ww]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.todo-files-note[b-zqfy4m82ww] {
    font-size: 11px;
    color: var(--c-g14);
}

.todo-chips[b-zqfy4m82ww] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.todo-chip[b-zqfy4m82ww] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 16rem;
    padding: 4px 6px 4px 10px;
    border: 1px solid var(--c-line);
    border-radius: 20px;
    background: var(--c-panel-2);
    font-size: 11.5px;
    color: var(--c-g3);
}

.todo-chip-name[b-zqfy4m82ww] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.todo-chip-size[b-zqfy4m82ww] {
    flex: none;
    color: var(--c-g16);
    font-variant-numeric: tabular-nums;
}

.todo-chip button[b-zqfy4m82ww] {
    flex: none;
    border: none;
    background: none;
    color: var(--c-g16);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

.todo-chip button:hover[b-zqfy4m82ww] {
    color: var(--c-red-ink);
}
/* /Components/Pages/Admin/Todo/TodoDetail.razor.rz.scp.css */
/* A row opened in place. Its own stylesheet because it is its own component —
   the page's scoped rules carry the page's attribute and would never match. */

.todo-detail[b-e52f5s5xq2] {
    margin: -2px 0 6px;
    border: 1px solid var(--c-line-2);
    border-top: none;
    border-radius: 0 0 11px 11px;
    background: var(--c-panel);
}

.todo-detail-body[b-e52f5s5xq2] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15rem;
}

@media (max-width: 860px) {
    .todo-detail-body[b-e52f5s5xq2] {
        grid-template-columns: 1fr;
    }
}

.todo-detail-main[b-e52f5s5xq2] {
    padding: 16px 18px;
    min-width: 0;
}

/* The note, on its own sheet. Tinted rather than plain so a pasted paragraph
   reads as quoted material and not as part of the page. */
.todo-detail-note[b-e52f5s5xq2] {
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--c-panel-2);
    color: var(--c-g3);
    font-size: 12.5px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* Pasted mail brings its own markup. These keep it inside the card rather than
   letting one wide table push the whole list sideways. */
.todo-detail-note[b-e52f5s5xq2]  img,
.todo-detail-note[b-e52f5s5xq2]  table {
    max-width: 100%;
}

.todo-detail-note[b-e52f5s5xq2]  p:first-child { margin-top: 0; }
.todo-detail-note[b-e52f5s5xq2]  p:last-child { margin-bottom: 0; }

.todo-detail-empty[b-e52f5s5xq2] {
    margin: 0;
    font-size: 12px;
    color: var(--c-g16);
}

.todo-detail-files[b-e52f5s5xq2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.todo-detail-file[b-e52f5s5xq2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 16rem;
    padding: 5px 11px;
    border: 1px solid var(--c-line);
    border-radius: 20px;
    background: var(--c-panel-2);
    color: var(--c-g3);
    font-size: 11.5px;
    text-decoration: none;
}

.todo-detail-file:hover[b-e52f5s5xq2] {
    border-color: var(--c-link);
}

.todo-detail-file-name[b-e52f5s5xq2] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.todo-detail-file-size[b-e52f5s5xq2] {
    flex: none;
    color: var(--c-g16);
    font-variant-numeric: tabular-nums;
}

.todo-detail-link[b-e52f5s5xq2] {
    display: inline-block;
    margin-top: 14px;
    color: var(--c-link);
    font-size: 12px;
    text-decoration: none;
}

.todo-detail-link:hover[b-e52f5s5xq2] {
    text-decoration: underline;
}

/* --- the side panel -------------------------------------------------- */

.todo-detail-side[b-e52f5s5xq2] {
    padding: 16px 18px;
    border-left: 1px solid var(--c-line);
}

@media (max-width: 860px) {
    .todo-detail-side[b-e52f5s5xq2] {
        border-left: none;
        border-top: 1px solid var(--c-line);
    }
}

.todo-detail-group + .todo-detail-group[b-e52f5s5xq2] {
    margin-top: 16px;
}

.todo-detail-label[b-e52f5s5xq2] {
    display: block;
    margin-bottom: 8px;
    font: 600 10px var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--c-g10);
    text-transform: uppercase;
}

.todo-detail-row[b-e52f5s5xq2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 30px;
    font-size: 12px;
    color: var(--c-g13);
}

.todo-detail-row + .todo-detail-row[b-e52f5s5xq2] {
    margin-top: 4px;
}

.todo-detail-row strong[b-e52f5s5xq2] {
    font-weight: 500;
    color: var(--c-g0);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Right-aligned and only as wide as they need: this is a settings column, not
   a form, and full-width controls made it look like one. */
.todo-detail-row[b-e52f5s5xq2]  .dd-trigger {
    height: 28px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: none;
    color: var(--c-g0);
    font: 400 12px var(--font-body);
}

.todo-detail-row[b-e52f5s5xq2]  .dd-trigger:hover {
    border-color: var(--c-line-2);
    background: var(--c-panel-2);
}

.todo-detail-row input[type="date"][b-e52f5s5xq2] {
    height: 28px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: none;
    color: var(--c-g0);
    font: 400 12px var(--font-body);
}

.todo-detail-row input[type="date"]:hover[b-e52f5s5xq2] {
    border-color: var(--c-line-2);
    background: var(--c-panel-2);
}

/* Context, not navigation: where this row lives, so the panel can be read
   without opening anything. */
.todo-detail-crumbs[b-e52f5s5xq2] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11.5px;
    color: var(--c-g13);
}

.todo-detail-crumbs a[b-e52f5s5xq2] {
    color: var(--c-link);
    text-decoration: none;
}

.todo-detail-crumbs a:hover[b-e52f5s5xq2] {
    text-decoration: underline;
}

.todo-detail-crumb-sep[b-e52f5s5xq2] {
    color: var(--c-g16);
}

/* Dropdown draws its menu absolutely inside a 15rem column. Left-aligned and
   at its natural width it ran off the right of the screen — right-align it to
   the control and cap it, so it opens back over the panel instead. */
.todo-detail-side[b-e52f5s5xq2]  .dd-menu {
    left: auto;
    right: 0;
    min-width: 13rem;
    max-width: min(22rem, 70vw);
    max-height: 18rem;
    overflow-y: auto;
}

.todo-detail-side[b-e52f5s5xq2]  .dd-option,
.todo-detail-side[b-e52f5s5xq2]  .dd-search {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The client picker is the full width of the column, so its menu matches the
   control rather than hanging off one end of it. */
.todo-detail-group[b-e52f5s5xq2]  .dd-wrap.block .dd-menu {
    left: 0;
    right: 0;
    max-width: none;
}

/* An email row shows the Inbox's reader. It sizes itself to a full pane, so
   it gets a framed, capped box here and scrolls inside it. */
.todo-detail-mail[b-e52f5s5xq2] {
    display: flex;
    max-height: 70vh;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-surface);
    overflow: hidden;
}

.todo-detail-group .btn[b-e52f5s5xq2] { margin-top: 8px; }
/* /Components/Pages/Admin/Todo/TodoPage.razor.rz.scp.css */
/* The To-Do list. Sits on .work-shell for the palette, toolbar and empty states
   three work screens already share; the tabs and the row are its own.

   Rows rather than cards: this is a list you read top to bottom deciding what to
   do next, and a grid of cards makes that a scan instead of a read. */

/* --- period tabs ---------------------------------------------------- */

/* The tabs themselves are in app.css: the timesheet's day tabs share them. */

/* --- row ------------------------------------------------------------ */

/* A fixed grid, not a flex row. Status, waiting-reason and due each get a
   column of their own so they line up down the list — flexed, they drifted
   with the length of the title and the row read as unfinished. */
.todo-row[b-l26i36nh44] {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) 7.5rem 6rem 7rem auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--c-line);
    border-radius: 11px;
    background: var(--c-panel);
}

.todo-row + .todo-row[b-l26i36nh44] {
    margin-top: 6px;
}

.todo-row:hover[b-l26i36nh44] {
    border-color: var(--c-line-2);
}

.todo-row.done .todo-title[b-l26i36nh44] {
    color: var(--c-g14);
    text-decoration: line-through;
}

.todo-tick[b-l26i36nh44] {
    width: 19px;
    height: 19px;
    border: 1px solid var(--c-line-2);
    border-radius: 5px;
    background: var(--c-field);
    color: var(--c-green);
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.todo-tick.on[b-l26i36nh44] {
    border-color: var(--c-green);
}

.todo-tick:disabled[b-l26i36nh44] {
    cursor: default;
    opacity: 0.55;
}

/* Keeps the grid true where there is nothing to tick. Not a disabled checkbox:
   an empty box invites a click that will never do anything. */
.todo-tick.placeholder[b-l26i36nh44] {
    border-color: transparent;
    background: none;
    cursor: default;
}

.todo-icon[b-l26i36nh44] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    color: var(--c-g13);
    font-size: 13px;
}

.todo-main[b-l26i36nh44] {
    min-width: 0;
    cursor: pointer;
}

.todo-title[b-l26i36nh44] {
    font-size: 13px;
    color: var(--c-g0);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.todo-sub[b-l26i36nh44] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--c-g14);
    min-width: 0;
}

.todo-sub > span:first-child[b-l26i36nh44] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Says the row has more behind it than its title, without pretending you can
   read the note from here. */
.todo-mark[b-l26i36nh44] {
    flex: none;
    padding: 1px 6px;
    border-radius: 20px;
    background: var(--c-panel-2);
    color: var(--c-g13);
    font-size: 10px;
}

/* --- status badge --------------------------------------------------- */

/* A real pill with a background, the same weight as the status badges on the
   work board. Bare tinted text in a column of its own was the thing that made
   the row look half-styled. */
.todo-state[b-l26i36nh44] {
    justify-self: start;
    max-width: 100%;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.todo-state.tone-indigo[b-l26i36nh44] {
    background: var(--c-chip-on);
    color: var(--c-chip-ink);
}

.todo-state.tone-amber[b-l26i36nh44] {
    background: color-mix(in srgb, var(--c-amber) 16%, transparent);
    color: var(--c-amber);
}

.todo-state.tone-grey[b-l26i36nh44] {
    background: var(--c-panel-2);
    color: var(--c-g13);
}

.todo-state.tone-green[b-l26i36nh44] {
    background: color-mix(in srgb, var(--c-green) 16%, transparent);
    color: var(--c-green);
}

/* The reason, in its own column so the badges stay aligned whether or not a
   row has one. Empty on most rows, which is why it is not inside the badge. */
.todo-waiting[b-l26i36nh44] {
    font-size: 10.5px;
    color: var(--c-g16);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- due ------------------------------------------------------------ */

.todo-due[b-l26i36nh44] {
    justify-self: end;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Late and today are the two worth a tint. Everything further out is a
   position in the queue, not a problem, so it stays plain — tinting all of
   them would make the column a stripe of colour saying nothing. */
.todo-due.late[b-l26i36nh44] {
    background: color-mix(in srgb, var(--c-red) 14%, transparent);
    color: var(--c-red);
    font-weight: 600;
}

.todo-due.today[b-l26i36nh44] {
    background: color-mix(in srgb, var(--c-amber) 16%, transparent);
    color: var(--c-amber);
    font-weight: 600;
}

.todo-due.ahead[b-l26i36nh44] {
    color: var(--c-g13);
}

.todo-due.none[b-l26i36nh44] {
    color: var(--c-g16);
}

/* --- remove --------------------------------------------------------- */

/* Only a standalone to-do can be deleted from here; everything else belongs to
   a module that owns its own deletion. The placeholder keeps the grid true. */
.todo-remove[b-l26i36nh44] {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--c-g16);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.todo-remove:hover[b-l26i36nh44] {
    background: var(--c-menu-hover);
    color: var(--c-red-ink);
}

.todo-remove.placeholder[b-l26i36nh44] {
    cursor: default;
}

@media (max-width: 960px) {
    /* Seven columns needs the width. Below it the row becomes two lines: the
       identity on top, the state and date beneath. */
    .todo-row[b-l26i36nh44] {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        row-gap: 8px;
    }

    .todo-state[b-l26i36nh44] {
        grid-column: 3;
    }

    .todo-waiting[b-l26i36nh44] {
        display: none;
    }

    .todo-due[b-l26i36nh44] {
        grid-column: 4;
        justify-self: end;
    }
}

/* --- which list -------------------------------------------------------- */

.todo-scope[b-l26i36nh44]  .dd-trigger {
    background: var(--c-panel-2);
    border: 1px solid var(--c-line-2);
    border-radius: 9px;
    color: var(--c-g3);
    height: 36px;
    padding: 0 10px;
    font: 400 12.5px var(--font-body);
}

.todo-scope-who[b-l26i36nh44] {
    min-width: 12rem;
}

/* An opened row loses its bottom corners to the panel beneath it, so the two
   read as one object rather than a row with a card stuck under it. */
.todo-row:has(+ .todo-detail)[b-l26i36nh44] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.todo-tab.drop-over[b-l26i36nh44] {
    outline: 2px solid var(--c-link);
    outline-offset: -2px;
}

.todo-row[draggable="true"][b-l26i36nh44] {
    cursor: grab;
}

/* --- My Week: Working on Now ------------------------------------------ */

/* A dashed drop zone above the list, so it reads as a place to put things
   rather than another section of the list. */
.todo-now[b-l26i36nh44] {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1.5px dashed var(--c-line);
    border-radius: 12px;
}

.todo-now.drop-over[b-l26i36nh44] {
    border-color: var(--c-link);
    background: var(--c-panel-2);
}

.todo-now-head[b-l26i36nh44] {
    margin-bottom: 8px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-g13);
}

.todo-now-empty[b-l26i36nh44] {
    font-size: 13px;
    color: var(--c-g13);
}
/* /Components/Pages/Admin/Triage/InboxPicker.razor.rz.scp.css */
/* Values from the Inbox Redesign mock; colours come from the page's --ib-* tokens. */

.pk-backdrop[b-inl5f4mclu] { position: fixed; inset: 0; z-index: 40; }

.pk[b-inl5f4mclu] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 41;
    width: 300px;
    background: var(--ib-panel);
    border: 1px solid var(--ib-line);
    border-radius: 10px;
    box-shadow: var(--ib-shadow);
    overflow: hidden;
    animation: ib-pop-b-inl5f4mclu .14s ease-out;
    cursor: default;
    text-align: left;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ib-ink);
}

.pk.up[b-inl5f4mclu] { top: auto; bottom: calc(100% + 6px); }
.pk.right[b-inl5f4mclu] { left: auto; right: 0; }

/* Inside the reading-pane rail, which clips anything wider than itself: take
   exactly its width instead of the usual 300px. */
.pk.fill[b-inl5f4mclu] { left: 0; right: 0; width: auto; }

@keyframes ib-pop-b-inl5f4mclu { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

.pk-search[b-inl5f4mclu] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border-bottom: 1px solid var(--ib-line);
    color: var(--ib-ink3);
}

.pk-search input[b-inl5f4mclu] {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink);
    border: 0;
    outline: 0;
    background: none;
}

.pk-kbd[b-inl5f4mclu] {
    font: 10.5px var(--ib-mono);
    border: 1px solid var(--ib-line-strong);
    border-radius: 4px;
    padding: 0 4px;
}

.pk-list[b-inl5f4mclu] { max-height: 300px; overflow: auto; padding: 4px; }

.pk-title[b-inl5f4mclu] {
    font: 500 10px var(--ib-mono);
    letter-spacing: .08em;
    color: var(--ib-ink3);
    padding: 8px 10px 4px;
}

.pk-title.sug[b-inl5f4mclu] { color: var(--ib-brand-text); }

.pk-sug[b-inl5f4mclu],
.pk-item[b-inl5f4mclu] {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pk-sug[b-inl5f4mclu] { background: var(--ib-brand-soft); color: var(--ib-brand-text); }
.pk-sug svg[b-inl5f4mclu] { flex: none; }
.pk-sug-label[b-inl5f4mclu] { font-size: 13px; color: var(--ib-brand-text); font-weight: 500; }

.pk-item[b-inl5f4mclu] { min-height: 34px; padding: 6px 10px; }
.pk-item:hover[b-inl5f4mclu] { background: var(--ib-hover); }
.pk-item.current[b-inl5f4mclu] { background: var(--ib-active); }
.pk-item svg[b-inl5f4mclu] { flex: none; }

.pk-text[b-inl5f4mclu] { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.pk-label[b-inl5f4mclu] {
    font-size: 13px;
    color: var(--ib-ink);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pk-label.none[b-inl5f4mclu] { color: var(--ib-ink3); }

.pk-sub[b-inl5f4mclu] {
    font-size: 11.5px;
    color: var(--ib-ink3);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pk-square[b-inl5f4mclu] { width: 9px; height: 9px; flex: none; border-radius: 2px; }

.pk-av[b-inl5f4mclu] {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-size: 8.5px;
    font-weight: 600;
    display: grid;
    place-items: center;
}

.pk-empty[b-inl5f4mclu] { padding: 16px 10px; font-size: 13px; color: var(--ib-ink3); }

.pk-foot[b-inl5f4mclu] {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid var(--ib-line);
    font: 11px var(--ib-mono);
    color: var(--ib-ink3);
}
/* /Components/Pages/Admin/Triage/MailComposer.razor.rz.scp.css */
/* Scrim and box repeat what ClientModals and ChecklistWizard each carry in their own
   scoped sheets. Following the existing pattern rather than hoisting a shared modal
   into app.css — that refactor belongs on its own, not inside a send feature. */
.modal-scrim[b-c2nolqzbpg] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--scrim);
}

.modal-box[b-c2nolqzbpg] {
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.tri-composer[b-c2nolqzbpg] {
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    /* The editor grows; the box must not grow past the viewport with it. */
    max-height: calc(100vh - 3rem);
}

.tri-composer-head[b-c2nolqzbpg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.tri-composer-head h2[b-c2nolqzbpg] { margin: 0; font-size: 1.05rem; }

.tri-composer-fields[b-c2nolqzbpg] {
    padding: 0.8rem 1.1rem 0;
    display: grid;
    gap: 0.5rem;
}

.tri-composer-fields label[b-c2nolqzbpg] {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.tri-composer-body[b-c2nolqzbpg] {
    padding: 0.8rem 1.1rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 12rem;
}

.tri-composer-actions[b-c2nolqzbpg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.8rem 1.1rem;
    border-top: 1px solid var(--line);
}

.tri-composer-note[b-c2nolqzbpg] {
    margin: 0;
    max-width: 24rem;
    font-size: 0.76rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

.tri-composer-buttons[b-c2nolqzbpg] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.iconbtn[b-c2nolqzbpg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: none;
    color: var(--ink-soft);
    cursor: pointer;
}

.iconbtn:hover[b-c2nolqzbpg] { background: var(--surface-2); color: inherit; }

/* Same two-column shape as the To/Cc/Subject labels. */
.tri-composer-row[b-c2nolqzbpg] {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.tri-composer-warn[b-c2nolqzbpg] {
    display: block;
    color: var(--danger);
    font-weight: 600;
    margin-bottom: 0.2rem;
}
/* /Components/Pages/Admin/Triage/MailReader.razor.rz.scp.css */
/* Reader layout and type from the Inbox Redesign mock; --ib-* tokens come from the page. */

.rd-main[b-vw2pz1rk7r] {
    flex: 1;
    min-width: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.rd-bar[b-vw2pz1rk7r] {
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 16px;
    border-bottom: 1px solid var(--ib-line);
}

.rd-close[b-vw2pz1rk7r] {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: none;
    color: var(--ib-ink2);
    cursor: pointer;
}

.rd-close:hover[b-vw2pz1rk7r] { background: var(--ib-hover); }

.rd-btn[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink2);
    cursor: pointer;
}

.rd-btn:hover[b-vw2pz1rk7r] { background: var(--ib-hover); color: var(--ib-ink); }

.rd-move[b-vw2pz1rk7r] { position: relative; }
.rd-menu-backdrop[b-vw2pz1rk7r] { position: fixed; inset: 0; z-index: 40; }

.rd-menu[b-vw2pz1rk7r] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 41;
    min-width: 160px;
    padding: 4px;
    background: var(--ib-panel);
    border: 1px solid var(--ib-line);
    border-radius: 10px;
    box-shadow: var(--ib-shadow);
}

.rd-menu button[b-vw2pz1rk7r] {
    display: block;
    width: 100%;
    min-height: 32px;
    padding: 6px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink);
    text-align: left;
    cursor: pointer;
}

.rd-menu button:hover:not(:disabled)[b-vw2pz1rk7r] { background: var(--ib-hover); }
.rd-menu button.current[b-vw2pz1rk7r] { background: var(--ib-active); cursor: default; }
/* Follow up's own date: a native picker beside a small Set button. */
.rd-menu-date[b-vw2pz1rk7r] { display: flex; gap: 6px; padding: 6px 4px 2px; border-top: 1px solid var(--ib-line); margin-top: 4px; }
.rd-menu-date input[b-vw2pz1rk7r] { flex: 1; min-width: 0; padding: 4px 6px; border: 1px solid var(--ib-line); border-radius: 6px; background: var(--ib-panel); color: var(--ib-ink); font: inherit; }
.rd-menu .rd-menu-date button[b-vw2pz1rk7r] { width: auto; min-height: 0; font-weight: 500; }

.grow[b-vw2pz1rk7r] { flex: 1; }

.rd-time[b-vw2pz1rk7r] { font: 12px var(--ib-mono); color: var(--ib-ink3); }

.rd-content[b-vw2pz1rk7r] {
    padding: 28px 40px 40px;
    max-width: 760px;
    width: 100%;
    box-sizing: border-box;
}

.rd-subject[b-vw2pz1rk7r] {
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.015em;
    text-wrap: pretty;
}

.tri-message + .tri-message[b-vw2pz1rk7r] {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--ib-line);
}

.rd-who[b-vw2pz1rk7r] {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.rd-av[b-vw2pz1rk7r] {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-size: 12px;
    font-weight: 600;
    display: grid;
    place-items: center;
}

.rd-who-text[b-vw2pz1rk7r] { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; }
.rd-from[b-vw2pz1rk7r] { font-weight: 600; }
.rd-addr[b-vw2pz1rk7r], .rd-to[b-vw2pz1rk7r] { color: var(--ib-ink3); }
.rd-when[b-vw2pz1rk7r] { font: 12px var(--ib-mono); color: var(--ib-ink3); }

.ell[b-vw2pz1rk7r] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.rd-reply[b-vw2pz1rk7r] {
    margin-top: 36px;
    border: 1px solid var(--ib-line);
    border-radius: 10px;
    overflow: hidden;
}

.rd-reply-box[b-vw2pz1rk7r] {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 14px 16px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13.5px;
    color: var(--ib-ink3);
    text-align: left;
    cursor: text;
}

.rd-reply-bar[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-top: 1px solid var(--ib-line);
    background: var(--ib-bg);
}

.rd-primary[b-vw2pz1rk7r],
.rd-secondary[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.rd-primary[b-vw2pz1rk7r] { border: 0; background: var(--ib-brand); color: var(--text-on-brand); font-weight: 500; }
.rd-secondary[b-vw2pz1rk7r] { border: 1px solid var(--ib-line); background: var(--ib-panel); color: var(--ib-ink); }
.rd-secondary:hover[b-vw2pz1rk7r] { border-color: var(--ib-line-strong); }

.tri-imagebar[b-vw2pz1rk7r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.7rem 0;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    background: color-mix(in srgb, var(--role-reviewer) 16%, transparent);
    color: var(--role-reviewer);
    font-size: 0.8rem;
}

.tri-truncated[b-vw2pz1rk7r] {
    margin: 0.6rem 0 0;
    font-size: 0.8rem;
    color: var(--ink-soft);
}

/* The body is its own document in a sandboxed frame (see FrameFor in the .razor),
   so the sender's CSS and ours never meet and the body's styles live there.
   mailframe.js sets the height to fit the content; min-height covers the moment
   before it loads. */
.mail-frame[b-vw2pz1rk7r] {
    display: block;
    width: 100%;
    min-height: 40px;
    border: 0;
    background: transparent;
}

/* --- attachments, Outlook style --------------------------------------
   Above the body: image thumbnails first, then a card per file, then a
   one-line total with Download all. */

.tri-att[b-vw2pz1rk7r] {
    margin: 0.2rem 0 1rem;
}

.tri-att-thumbs[b-vw2pz1rk7r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Fixed-size tiles cropped with object-fit, like Outlook's strip. A tall
   screenshot and a wide one then sit in a tidy row instead of a ragged one. */
.tri-thumb[b-vw2pz1rk7r] {
    width: 160px;
    height: 120px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    overflow: hidden;
    cursor: zoom-in;
}

.tri-thumb:hover[b-vw2pz1rk7r] {
    border-color: var(--accent);
}

.tri-thumb img[b-vw2pz1rk7r] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.tri-att-files[b-vw2pz1rk7r] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tri-file[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 16.5rem;
    max-width: 100%;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface-2);
    color: var(--ink);
    text-decoration: none;
}

.tri-file:hover[b-vw2pz1rk7r] {
    border-color: var(--accent);
    text-decoration: none;
}

/* A letter on a coloured tile rather than an icon font: Word blue, Excel
   green, PDF red. Close enough to Outlook's to read at a glance, and no
   third-party icon set to load for it. */
.tri-file-icon[b-vw2pz1rk7r] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: var(--file-generic);
    color: var(--text-on-dark);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tri-kind-word[b-vw2pz1rk7r] { background: var(--file-word); font-size: 0.9rem; }
.tri-kind-excel[b-vw2pz1rk7r] { background: var(--file-excel); font-size: 0.9rem; }
.tri-kind-powerpoint[b-vw2pz1rk7r] { background: var(--file-powerpoint); font-size: 0.9rem; }
.tri-kind-pdf[b-vw2pz1rk7r] { background: var(--file-pdf); }
.tri-kind-zip[b-vw2pz1rk7r] { background: var(--file-zip); }
.tri-kind-image[b-vw2pz1rk7r] { background: var(--file-image); }
.tri-kind-mail[b-vw2pz1rk7r] { background: var(--file-mail); font-size: 0.9rem; }

.tri-file-text[b-vw2pz1rk7r] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* A long filename must not push the size off the card. */
.tri-file-name[b-vw2pz1rk7r] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.82rem;
}

.tri-file-size[b-vw2pz1rk7r] {
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-variant-numeric: tabular-nums;
}

.tri-att-foot[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.55rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.tri-att-all[b-vw2pz1rk7r] {
    color: var(--accent);
}

/* --- the image viewer -------------------------------------------------- */

.tri-viewer[b-vw2pz1rk7r] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--scrim-strong);
    outline: none;
}

.tri-viewer-bar[b-vw2pz1rk7r] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.7rem 1rem;
    color: var(--text-on-dark);
    font-size: 0.85rem;
}

.tri-viewer-size[b-vw2pz1rk7r] {
    color: color-mix(in srgb, var(--text-on-dark) 60%, transparent);
}

.tri-viewer-gap[b-vw2pz1rk7r] {
    flex: 1;
}

.tri-viewer-close[b-vw2pz1rk7r] {
    border: none;
    background: none;
    color: var(--text-on-dark);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

/* Fitted to the space left under the bar, never upscaled past its own size:
   a small screenshot blown up to fill the screen is harder to read, not easier. */
.tri-viewer-img[b-vw2pz1rk7r] {
    max-width: calc(100% - 2rem);
    max-height: calc(100% - 4.5rem);
    object-fit: contain;
    border-radius: 4px;
    background: var(--text-on-dark);
}
/* /Components/Pages/Admin/Triage/ThreadComments.razor.rz.scp.css */
/* Sits at the foot of the reading pane, so it borrows the Inbox's --ib-* tokens. */
.tc[b-ao5tmp2zc5] {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ib-line);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tc-head[b-ao5tmp2zc5] { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--ib-ink); }
.tc-note[b-ao5tmp2zc5] { font-weight: 400; font-size: 0.8rem; color: var(--dim); }

.tc-item[b-ao5tmp2zc5] { display: flex; gap: 0.6rem; }
.tc-av[b-ao5tmp2zc5] {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}
.tc-text[b-ao5tmp2zc5] { min-width: 0; }
.tc-meta[b-ao5tmp2zc5] { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.8rem; color: var(--dim); }
.tc-author[b-ao5tmp2zc5] { font-weight: 600; color: var(--ib-ink); }
/* Plain text, so line breaks are the author's own. */
.tc-body[b-ao5tmp2zc5] { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ib-ink); font-size: 0.9rem; }
.tc-tags[b-ao5tmp2zc5] { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.3rem; }
.tc-tag[b-ao5tmp2zc5] { font-size: 0.75rem; padding: 1px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

.tc-input[b-ao5tmp2zc5] {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--ib-line);
    border-radius: 9px;
    background: var(--ib-panel);
    color: var(--ib-ink);
    font: inherit;
    resize: vertical;
}

.tc-bar[b-ao5tmp2zc5] { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
/* The bar is the last thing in the reading pane, so a menu dropping down is
   cut off by the pane's scroll edge. Open upward, over the comment box. */
.tc-bar[b-ao5tmp2zc5]  .dd-menu { top: auto; bottom: calc(100% + 6px); min-width: 14rem; }
.tc-bar .grow[b-ao5tmp2zc5] { flex: 1; }
.tc-post[b-ao5tmp2zc5] {
    border: 0;
    border-radius: 8px;
    padding: 0.45rem 1rem;
    background: var(--ib-brand);
    color: var(--text-on-brand);
    font-weight: 500;
    cursor: pointer;
}
.tc-post:disabled[b-ao5tmp2zc5] { opacity: 0.5; cursor: default; }
/* /Components/Pages/Admin/Triage/TriageList.razor.rz.scp.css */
/* Values from the Inbox Redesign mock; colours come from the page's --ib-* tokens. */

/* ---------- Table (lanes) ---------- */

.tb-scroll[b-sldbu0apco] {
    flex: 1;
    min-width: 0;
    overflow: auto;
    background: var(--ib-panel);
    padding: 14px 16px 90px;
}

.tb[b-sldbu0apco] {
    position: relative;
    box-sizing: border-box;
    /* Grows with the lanes once they are stretched past the window, so the border,
       background and the right-anchored resize handles stay on the lanes. */
    min-width: min-content;
    background: var(--ib-bg);
    border: 1px solid var(--ib-line);
    border-radius: 18px;
    padding: 0 0 10px;
}

.tb-grid[b-sldbu0apco],
.tb-lanes[b-sldbu0apco] {
    display: grid;
    grid-template-columns: 32px minmax(300px, 1fr) var(--w-client, 200px) var(--w-job, 180px) var(--w-mgr, 150px) 104px;
    column-gap: 10px;
}

/* The lane cards, drawn once behind every row. */
.tb-lanes[b-sldbu0apco] {
    position: absolute;
    inset: 8px 0 8px 0;
    padding: 0 14px;
    grid-template-rows: 1fr;
    pointer-events: none;
}

.tb-lane[b-sldbu0apco] {
    grid-row: 1;
    background: var(--ib-panel);
    border: 1px solid var(--ib-line);
    border-radius: 12px;
}

.tb-lane.conv[b-sldbu0apco] { grid-column: 1 / 3; margin: 0 0 0 -8px; }

.tb-head[b-sldbu0apco] {
    position: relative;
    align-items: stretch;
    height: 44px;
    padding: 8px 14px 0;
    font: 500 10.5px var(--ib-mono);
    letter-spacing: .08em;
    color: var(--ib-ink3);
    box-sizing: border-box;
}

.tb-head > span[b-sldbu0apco] { display: flex; align-items: center; }
.tb-head > .pad[b-sldbu0apco] { padding: 0 21px; }
.tb-head > .hd-act[b-sldbu0apco] { justify-content: center; padding: 0 12px; }

/* ---------- Resize handles, in the gaps between lanes ---------- */

.rz[b-sldbu0apco] {
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 10px;
    z-index: 4;
    cursor: col-resize;
    touch-action: none;
}

.rz[b-sldbu0apco]::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 1px;
    background: transparent;
    transition: background-color .12s ease;
}

.rz:hover[b-sldbu0apco]::after,
.rz.on[b-sldbu0apco]::after { background: var(--ib-brand-line); }

.rz-overlay[b-sldbu0apco] {
    position: fixed;
    inset: 0;
    z-index: 60;
    cursor: col-resize;
    user-select: none;
}

.tb-row[b-sldbu0apco] {
    position: relative;
    align-items: stretch;
    min-height: 64px;
    padding: 0 14px;
    cursor: pointer;
}

.tb-row:hover[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-ink) 4%, transparent); }
.tb-row.active[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-brand) 7%, transparent); }
.tb-row.checked[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-brand) 14%, transparent); }

.tb-dot[b-sldbu0apco] {
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--ib-brand);
}

/* Hairlines under each cell, inset from the lane edges. */
.tb-c0[b-sldbu0apco] {
    width: 32px;
    margin-right: -10px;
    padding-right: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(var(--ib-line), var(--ib-line)) right bottom / calc(100% - 2px) 1px no-repeat;
}

.tb-conv[b-sldbu0apco] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding-right: 12px;
    background: linear-gradient(var(--ib-line), var(--ib-line)) left bottom / calc(100% - 8px) 1px no-repeat;
}

.tb-cell[b-sldbu0apco],
.tb-acts[b-sldbu0apco] {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: linear-gradient(var(--ib-line), var(--ib-line)) center bottom / calc(100% - 16px) 1px no-repeat;
    cursor: default;
}

.tb-acts[b-sldbu0apco] { justify-content: center; gap: 2px; padding: 0 6px; }

/* ---------- Checkbox / avatar swap ---------- */

.cb[b-sldbu0apco] {
    display: none;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 4px;
    border: 1.5px solid var(--ib-line-strong);
    background: var(--ib-panel);
    place-items: center;
    color: var(--text-on-brand);
    cursor: pointer;
}

.cb.on[b-sldbu0apco] { border-color: var(--ib-brand); background: var(--ib-brand); }

.tb-row:hover .cb[b-sldbu0apco], .tb-row.checked .cb[b-sldbu0apco], .any .cb[b-sldbu0apco],
.sp-row:hover .cb[b-sldbu0apco], .sp-row.checked .cb[b-sldbu0apco] { display: grid; }

.tb-row:hover .av30[b-sldbu0apco], .tb-row.checked .av30[b-sldbu0apco], .any .av30[b-sldbu0apco],
.sp-row:hover .av30[b-sldbu0apco], .sp-row.checked .av30[b-sldbu0apco] { display: none; }

.av30[b-sldbu0apco] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-size: 11px;
    font-weight: 600;
    display: grid;
    place-items: center;
}

.av20[b-sldbu0apco] {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-size: 8.5px;
    font-weight: 600;
    display: grid;
    place-items: center;
}

/* ---------- Conversation text ---------- */

.tb-l1[b-sldbu0apco], .sp-l1[b-sldbu0apco] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    min-width: 0;
}

.tb-from[b-sldbu0apco] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread .tb-from[b-sldbu0apco] { font-weight: 600; }

.tb-count[b-sldbu0apco] {
    font: 11px var(--ib-mono);
    color: var(--ib-ink3);
    background: var(--ib-chip);
    border-radius: 4px;
    padding: 0 5px;
}

.grow[b-sldbu0apco] { flex: 1; }

.tb-time[b-sldbu0apco] {
    font: 11.5px var(--ib-mono);
    color: var(--ib-ink3);
    white-space: nowrap;
    padding-right: 4px;
}

.tb-l2[b-sldbu0apco] {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tb-subj[b-sldbu0apco] { color: var(--ib-ink2); font-weight: 400; }
.unread .tb-subj[b-sldbu0apco], .unread .sp-subj[b-sldbu0apco] { color: var(--ib-ink); font-weight: 500; }
.tb-prev[b-sldbu0apco] { color: var(--ib-ink3); }

.ell[b-sldbu0apco] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- Lane values ---------- */

.chip-client[b-sldbu0apco],
.chip-job[b-sldbu0apco],
.chip-mgr[b-sldbu0apco] {
    display: flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-width: 0;
    height: 26px;
    padding: 0 9px;
    border-radius: 6px;
    border: 0;
    font: inherit;
    font-size: 12.5px;
    color: var(--ib-ink);
    cursor: pointer;
}

.chip-client[b-sldbu0apco] { border: 1px solid var(--ib-line); background: var(--ib-panel); }
.chip-client:hover:not(:disabled)[b-sldbu0apco] { border-color: var(--ib-line-strong); }
.chip-job[b-sldbu0apco] { background: var(--ib-chip); }
.chip-mgr[b-sldbu0apco] { padding: 0 8px 0 3px; border-radius: 13px; background: none; }
.chip-mgr:hover:not(:disabled)[b-sldbu0apco] { background: var(--ib-hover); }

.chip-client:disabled[b-sldbu0apco], .chip-job:disabled[b-sldbu0apco], .chip-mgr:disabled[b-sldbu0apco], .ghost:disabled[b-sldbu0apco] { cursor: default; }

.sq[b-sldbu0apco] { width: 8px; height: 8px; flex: none; border-radius: 2px; }
.sq7[b-sldbu0apco] { width: 7px; height: 7px; flex: none; border-radius: 2px; }

.chip-sug[b-sldbu0apco] {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-width: 0;
    height: 26px;
    padding: 0 3px 0 8px;
    border-radius: 6px;
    border: 1px dashed var(--ib-brand-line);
    background: var(--ib-brand-soft);
    color: var(--ib-brand-text);
    font-size: 12.5px;
    box-sizing: border-box;
    cursor: pointer;
}

.sug-ok[b-sldbu0apco] {
    flex: none;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--ib-brand);
    color: var(--text-on-brand);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.sug-no[b-sldbu0apco] {
    flex: none;
    width: 18px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    display: grid;
    place-items: center;
    color: var(--ib-brand-text);
    cursor: pointer;
}

.sug-job[b-sldbu0apco] {
    height: 26px;
    display: flex;
    align-items: center;
    padding: 0 9px;
    font-size: 12.5px;
    color: var(--ib-brand-text);
    opacity: .8;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* "—" at rest, "+ Client" while the row is hovered. */
.ghost[b-sldbu0apco] {
    height: 26px;
    padding: 0 9px;
    border-radius: 6px;
    border: 1px dashed transparent;
    background: none;
    font: inherit;
    font-size: 12.5px;
    color: var(--ib-ink3);
    cursor: pointer;
}

.ghost:hover:not(:disabled)[b-sldbu0apco] { border-color: var(--ib-line-strong); color: var(--ib-ink2); }
.ghost .plus[b-sldbu0apco] { display: none; }
.tb-row:hover .ghost:not(:disabled) .plus[b-sldbu0apco] { display: inline; }
.tb-row:hover .ghost:not(:disabled) .dash[b-sldbu0apco] { display: none; }

.act[b-sldbu0apco] {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: none;
    color: var(--ib-ink3);
    cursor: pointer;
}

.tb-row:hover .act[b-sldbu0apco] { color: var(--ib-ink2); }

/* Split rows: the actions replace the time on hover, and stay while their
   Work picker is open (it renders as the button's sibling). */
.sp-acts[b-sldbu0apco] { display: none; gap: 2px; margin: -6px -4px -6px 0; }
.sp-pick[b-sldbu0apco] { position: relative; }
.sp-row:hover .sp-acts[b-sldbu0apco], .sp-acts:has(.sp-pick > :nth-child(2))[b-sldbu0apco] { display: flex; }
.sp-row:hover .tb-time[b-sldbu0apco], .sp-row:has(.sp-pick > :nth-child(2)) .tb-time[b-sldbu0apco] { display: none; }
.sp-row:hover .act[b-sldbu0apco] { color: var(--ib-ink2); }
.act:hover[b-sldbu0apco] { background: var(--ib-chip); color: var(--ib-ink) !important; }
.act.on[b-sldbu0apco] { color: var(--ib-brand-text); }

/* ---------- Empty ---------- */

.empty[b-sldbu0apco] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 120px 20px;
    text-align: center;
}

.sp-list .empty[b-sldbu0apco] { padding: 100px 24px; }

/* Table with nothing in it: one empty card instead of the message straddling
   the lane cards, and no resize handles over it. */
.tb:has(> .empty) .tb-lanes[b-sldbu0apco],
.tb:has(> .empty) .rz[b-sldbu0apco] {
    display: none;
}

.tb > .empty[b-sldbu0apco] {
    margin: 0 14px;
    padding: 110px 20px;
    background: var(--ib-panel);
    border: 1px solid var(--ib-line);
    border-radius: 12px;
}

.empty-icon[b-sldbu0apco] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ib-brand-soft);
    color: var(--ib-brand-text);
    display: grid;
    place-items: center;
}

.empty-title[b-sldbu0apco] { font-size: 15px; font-weight: 600; }

.empty-body[b-sldbu0apco] {
    font-size: 13px;
    color: var(--ib-ink3);
    max-width: 340px;
    line-height: 1.5;
    text-wrap: pretty;
}

.empty-btn[b-sldbu0apco] {
    margin-top: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--ib-line);
    background: none;
    font: inherit;
    font-size: 13px;
    color: inherit;
    cursor: pointer;
}

.empty-btn:hover[b-sldbu0apco] { background: var(--ib-hover); }

/* ---------- Split ---------- */

.sp-list[b-sldbu0apco] {
    width: 380px;
    flex: none;
    overflow: auto;
    border-right: 1px solid var(--ib-line);
}

.sp-row[b-sldbu0apco] {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 16px 12px 14px;
    border-bottom: 1px solid var(--ib-line);
    cursor: pointer;
}

.sp-row:hover[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-ink) 4%, transparent); }
.sp-row.active[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-brand) 7%, transparent); box-shadow: inset 2px 0 0 var(--ib-brand); }
.sp-row.checked[b-sldbu0apco] { background: color-mix(in oklch, var(--ib-brand) 14%, transparent); }

.sp-c0[b-sldbu0apco] { width: 32px; height: 32px; display: grid; place-items: center; }

.sp-body[b-sldbu0apco] { min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.sp-dot[b-sldbu0apco] { width: 6px; height: 6px; border-radius: 50%; background: var(--ib-brand); flex: none; }

.sp-subj[b-sldbu0apco] {
    font-size: 13px;
    color: var(--ib-ink2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-prev[b-sldbu0apco] {
    font-size: 12.5px;
    color: var(--ib-ink3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-tags[b-sldbu0apco] { display: flex; align-items: center; gap: 6px; margin-top: 6px; min-width: 0; }

.sp-client[b-sldbu0apco] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 22px;
    padding: 0 7px;
    border-radius: 5px;
    border: 1px solid var(--ib-line);
    font-size: 11.5px;
    color: var(--ib-ink2);
}

.sp-sug[b-sldbu0apco] {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    height: 22px;
    padding: 0 2px 0 7px;
    border-radius: 5px;
    border: 1px dashed var(--ib-brand-line);
    background: var(--ib-brand-soft);
    color: var(--ib-brand-text);
    font-size: 11.5px;
}

.sp-accept[b-sldbu0apco] {
    flex: none;
    height: 18px;
    padding: 0 6px;
    border: 0;
    border-radius: 4px;
    background: var(--ib-brand);
    color: var(--text-on-brand);
    font: inherit;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}
/* /Components/Pages/Admin/Triage/TriagePage.razor.rz.scp.css */
/* The Inbox, from the Inbox Redesign mock. Its palette is the mock's own, as
   --ib-* tokens (.ib-tokens in app.css, so To-Do can show the reader too), and
   every Inbox component (list, picker, reader, rail) reads the same values in
   light and dark. The page fills the content column edge to edge; app.css
   drops .admin-main's padding for it.

   A mail client, not a document: the chrome stays put and the panes scroll
   inside it. */

.ibx[b-fn0sqs8drb] {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    /* Inherited by every scroller inside: the mock's line colour on a clear track. */
    scrollbar-color: var(--ib-line-strong) transparent;
    background: var(--ib-panel);
    color: var(--ib-ink);
    border-top: 1px solid var(--ib-line);
    font-size: 14px;
    overflow: hidden;
}

.grow[b-fn0sqs8drb] { flex: 1; }
.ib-mono[b-fn0sqs8drb] { font: 12px var(--ib-mono); color: var(--ib-ink3); }

/* ---------- Header ---------- */

.ib-head[b-fn0sqs8drb] {
    height: 60px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-bottom: 1px solid var(--ib-line);
}

.ib-title[b-fn0sqs8drb] { display: flex; align-items: baseline; gap: 10px; }

.ib-title h1[b-fn0sqs8drb] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ib-ink);
}

.ib-total[b-fn0sqs8drb] { font: 12px var(--ib-mono); color: var(--ib-ink3); }

.ib-search[b-fn0sqs8drb] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 300px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--ib-bg);
    border: 1px solid var(--ib-line);
    color: var(--ib-ink3);
    box-sizing: border-box;
    cursor: text;
}

.ib-search input[b-fn0sqs8drb] {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink);
    border: 0;
    outline: 0;
    background: none;
}

.ib-kbd[b-fn0sqs8drb] {
    font: 11px var(--ib-mono);
    border: 1px solid var(--ib-line-strong);
    border-radius: 4px;
    padding: 0 5px;
}

.ib-seg[b-fn0sqs8drb] {
    display: flex;
    padding: 3px;
    gap: 2px;
    border-radius: 8px;
    background: var(--ib-bg);
    border: 1px solid var(--ib-line);
}

.ib-seg button[b-fn0sqs8drb] {
    width: 28px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--ib-ink3);
    cursor: pointer;
}

.ib-seg button.on[b-fn0sqs8drb] { background: var(--ib-panel); color: var(--ib-ink); }

.ib-new[b-fn0sqs8drb] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: var(--ib-brand);
    color: var(--text-on-brand);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.ib-new:hover[b-fn0sqs8drb] { filter: brightness(1.08); }

/* ---------- Tabs row ---------- */

.ib-tabs[b-fn0sqs8drb] {
    height: 46px;
    flex: none;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    border-bottom: 1px solid var(--ib-line);
}

.ib-cb[b-fn0sqs8drb] {
    width: 16px;
    height: 16px;
    margin: 0 14px 0 2px;
    padding: 0;
    border-radius: 4px;
    border: 1.5px solid var(--ib-line-strong);
    background: var(--ib-panel);
    display: grid;
    place-items: center;
    color: var(--text-on-brand);
    cursor: pointer;
}

.ib-cb.on[b-fn0sqs8drb] { border-color: var(--ib-brand); background: var(--ib-brand); }

.ib-tab[b-fn0sqs8drb] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ib-ink2);
    cursor: pointer;
}

.ib-tab:hover[b-fn0sqs8drb] { color: var(--ib-ink); }
.ib-tab.on[b-fn0sqs8drb] { background: var(--ib-chip); color: var(--ib-ink); }
.ib-tab-n[b-fn0sqs8drb] { font: 11px var(--ib-mono); color: var(--ib-ink3); }

.ib-sync[b-fn0sqs8drb] { margin-right: 12px; }
.ib-page[b-fn0sqs8drb] { margin-right: 6px; }

.ib-arrow[b-fn0sqs8drb] {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: none;
    color: var(--ib-ink3);
    cursor: pointer;
}

.ib-arrow.next[b-fn0sqs8drb] { color: var(--ib-ink2); }
.ib-arrow:hover:not(:disabled)[b-fn0sqs8drb] { background: var(--ib-hover); }
.ib-arrow:disabled[b-fn0sqs8drb] { opacity: .4; cursor: default; }

/* ---------- Body: list, and the reader over it (table) or beside it (split) ---------- */

.ib-body[b-fn0sqs8drb] {
    flex: 1;
    min-height: 0;
    display: flex;
    position: relative;
}

.ib-reader[b-fn0sqs8drb] {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    background: var(--ib-panel);
    z-index: 5;
}

.ib-reader.over[b-fn0sqs8drb] {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(960px, 80%);
    border-left: 1px solid var(--ib-line);
    box-shadow: var(--ib-shadow-lg);
    animation: ib-slide-b-fn0sqs8drb .2s ease-out;
}

@keyframes ib-slide-b-fn0sqs8drb { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Floating bulk bar ---------- */

.ib-bulk[b-fn0sqs8drb] {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    width: max-content;
    margin-inline: auto;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: 12px;
    background: var(--ib-ink);
    color: var(--ib-panel);
    box-shadow: var(--ib-shadow);
    font-size: 13px;
    animation: ib-pop-b-fn0sqs8drb .18s ease-out;
}

@keyframes ib-pop-b-fn0sqs8drb { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }

.ib-bulk-n[b-fn0sqs8drb] { padding: 0 10px 0 8px; font-weight: 500; white-space: nowrap; }

.ib-bulk-sep[b-fn0sqs8drb] {
    width: 1px;
    height: 18px;
    background: var(--ib-ink3);
    opacity: .5;
    margin: 0 4px;
}

.ib-bulk-anchor[b-fn0sqs8drb] { position: relative; }

.ib-bulk button[b-fn0sqs8drb] {
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: none;
    font: inherit;
    color: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.ib-bulk button:hover[b-fn0sqs8drb] { background: color-mix(in srgb, var(--text-muted) 25%, transparent); }
.ib-bulk .ib-bulk-sug[b-fn0sqs8drb] { display: flex; align-items: center; gap: 6px; }
.ib-bulk .ib-bulk-x[b-fn0sqs8drb] { width: 30px; padding: 0; display: grid; place-items: center; }

/* ---------- Drafts (read live from Microsoft 365) ---------- */

.ib-drafts[b-fn0sqs8drb] { flex: 1; min-height: 0; overflow: auto; padding: 14px 20px 40px; }

.ib-draft[b-fn0sqs8drb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    border-bottom: 1px solid var(--ib-line);
}

.ib-draft-text[b-fn0sqs8drb] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ib-draft-l1[b-fn0sqs8drb] { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 500; }

.ib-draft-subj[b-fn0sqs8drb] {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ib-dim[b-fn0sqs8drb] { color: var(--ib-ink3); }

.ib-outlook[b-fn0sqs8drb] {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    border: 1px solid var(--ib-line);
    font-size: 13px;
    color: var(--ib-ink);
    white-space: nowrap;
}

.ib-note[b-fn0sqs8drb] { font-size: 12.5px; color: var(--ib-ink3); margin: 14px 4px; }
/* /Components/Pages/Admin/Triage/TriageRail.razor.rz.scp.css */
/* Values from the Inbox Redesign mock; --ib-* tokens come from the page. */

.rail[b-q4d67eicqe] {
    width: 276px;
    flex: none;
    border-left: 1px solid var(--ib-line);
    background: var(--ib-bg);
    overflow: auto;
    padding: 18px 18px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.rail-sug[b-q4d67eicqe] {
    border: 1px dashed var(--ib-brand-line);
    background: var(--ib-brand-soft);
    border-radius: 10px;
    padding: 12px 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rail-sug-head[b-q4d67eicqe] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ib-brand-text);
    font: 500 10.5px var(--ib-mono);
    letter-spacing: .08em;
}

.rail-sug-client[b-q4d67eicqe] { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.rail-sug-job[b-q4d67eicqe] { font-size: 12.5px; color: var(--ib-ink2); margin-top: -4px; }
.rail-sug-why[b-q4d67eicqe] { font-size: 12px; color: var(--ib-ink3); line-height: 1.45; }
.rail-sug-btns[b-q4d67eicqe] { display: flex; gap: 6px; margin-top: 2px; }

.rail-accept[b-q4d67eicqe],
.rail-dismiss[b-q4d67eicqe] {
    height: 28px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
}

.rail-accept[b-q4d67eicqe] { background: var(--ib-brand); color: var(--text-on-brand); font-weight: 500; }
.rail-dismiss[b-q4d67eicqe] { padding: 0 10px; background: none; color: var(--ib-ink2); }
.rail-dismiss:hover[b-q4d67eicqe] { background: var(--ib-panel); }

.rail-sec[b-q4d67eicqe] { display: flex; flex-direction: column; gap: 8px; }
.rail-sec.gap10[b-q4d67eicqe] { gap: 10px; }

.rail-head[b-q4d67eicqe] {
    font: 500 10.5px var(--ib-mono);
    letter-spacing: .08em;
    color: var(--ib-ink3);
}

.rail-field[b-q4d67eicqe] { position: relative; }

.rail-pick[b-q4d67eicqe] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--ib-panel);
    border: 1px solid var(--ib-line);
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink);
    text-align: left;
    cursor: pointer;
}

.rail-pick:hover:not(:disabled)[b-q4d67eicqe] { border-color: var(--ib-line-strong); }
.rail-pick:disabled[b-q4d67eicqe] { cursor: default; }

.rail-label[b-q4d67eicqe] { width: 44px; flex: none; color: var(--ib-ink3); font-size: 12px; }

.rail-value[b-q4d67eicqe] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rail-value.none[b-q4d67eicqe] { color: var(--ib-ink3); }

.rail-note[b-q4d67eicqe] { font-size: 12px; line-height: 1.5; color: var(--ib-ink3); text-wrap: pretty; }

.rail-switch[b-q4d67eicqe] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    color: var(--ib-ink);
    cursor: pointer;
}

.track[b-q4d67eicqe] {
    width: 30px;
    height: 18px;
    border-radius: 9px;
    background: var(--ib-line-strong);
    position: relative;
    flex: none;
}

.track.on[b-q4d67eicqe] { background: var(--ib-brand); }

.knob[b-q4d67eicqe] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text-on-dark);
    box-shadow: var(--shadow-sm);
}

.track.on .knob[b-q4d67eicqe] { left: 14px; }

.rail-vis[b-q4d67eicqe] { font-size: 12.5px; color: var(--ib-ink2); line-height: 1.5; }

/* Timelines: one row per work or contact, ✕ at the end. */
.rail-link[b-q4d67eicqe] { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--ib-line); }
.rail-link-kind[b-q4d67eicqe] { flex: none; width: 52px; font-size: 11px; color: var(--ib-ink3); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 2px; }
.rail-link-text[b-q4d67eicqe] { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rail-link-title[b-q4d67eicqe] { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.rail-link-sub[b-q4d67eicqe] { font-size: 12px; color: var(--ib-ink3); }
.rail-link-x[b-q4d67eicqe] { flex: none; border: 0; background: none; color: var(--ib-ink3); cursor: pointer; padding: 0 4px; border-radius: 4px; }
.rail-link-x:hover[b-q4d67eicqe] { background: var(--ib-chip); color: var(--ib-ink); }

.rail-owner[b-q4d67eicqe] { display: flex; align-items: center; gap: 8px; font-size: 13px; }

.av22[b-q4d67eicqe] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-size: 9px;
    font-weight: 600;
    display: grid;
    place-items: center;
}
/* /Components/Pages/Admin/Work/JobBudgetPanel.razor.rz.scp.css */
/* Time and budget. The table comes from the shared .wt- block in app.css; this
   is the totals strip, the team list and the breakdown bars. */

.tb-totals[b-hu0v98kza1] {
    display: flex;
    gap: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 4px;
}

.tb-label[b-hu0v98kza1] {
    display: block;
    font: 600 11px var(--font-body);
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--c-g13);
}

.tb-value[b-hu0v98kza1] {
    display: block;
    margin-top: 4px;
    font-size: 19px;
    font-weight: 600;
    color: var(--c-g0);
}

.tb-value.over[b-hu0v98kza1],
.tb-sub.over[b-hu0v98kza1] {
    color: var(--c-red-ink);
}

.tb-sub[b-hu0v98kza1] {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--c-g13);
}

/* --- the team --------------------------------------------------------- */

.tb-list[b-hu0v98kza1] {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
}

.tb-row[b-hu0v98kza1] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    border-bottom: 1px solid var(--c-line);
}

.tb-row:last-child[b-hu0v98kza1] {
    border-bottom: none;
}

.tb-info[b-hu0v98kza1] {
    flex: 1;
    min-width: 0;
}

.tb-name[b-hu0v98kza1] {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-g0);
}

.tb-meta[b-hu0v98kza1] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--c-g13);
}

.tb-tag[b-hu0v98kza1] {
    margin-left: 7px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--c-link);
    color: var(--text-on-brand);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* --- the inline forms -------------------------------------------------- */

.tb-form[b-hu0v98kza1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-panel-2);
}

.tb-form-row[b-hu0v98kza1] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tb-form-row > *[b-hu0v98kza1] {
    flex: 1;
    min-width: 180px;
}

/* --- the breakdown bars ------------------------------------------------ */

.tb-slices[b-hu0v98kza1] {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.tb-slice-group[b-hu0v98kza1] {
    flex: 1;
    min-width: 240px;
}

.tb-slice-title[b-hu0v98kza1] {
    display: block;
    font: 600 11px var(--font-body);
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--c-g13);
    margin-bottom: 10px;
}

.tb-slice[b-hu0v98kza1] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 10px;
    margin-bottom: 11px;
}

.tb-slice-label[b-hu0v98kza1] {
    font-size: 12.5px;
    color: var(--c-g0);
    overflow-wrap: anywhere;
}

.tb-slice-value[b-hu0v98kza1] {
    font-size: 12px;
    color: var(--c-g13);
    white-space: nowrap;
}

.tb-bar[b-hu0v98kza1] {
    grid-column: 1 / -1;
    height: 6px;
    border-radius: 999px;
    background: var(--c-line);
    overflow: hidden;
}

.tb-fill[b-hu0v98kza1] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--c-link);
}

.tb-fill.over[b-hu0v98kza1] {
    background: var(--c-red);
}
/* /Components/Pages/Admin/Work/JobDocumentsPanel.razor.rz.scp.css */
/* Files on a work item. A list, not a grid of thumbnails: these are documents
   with names people search by eye, and a tile of a PDF icon says nothing a name
   does not say better. */

.jd-bar[b-3c67rssgqb] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

/* The real input is hidden and the label is the button — the browser's own file
   control cannot be styled and looks like nothing else on the page. */
.jd-attach input[type="file"][b-3c67rssgqb] {
    display: none;
}

.jd-attach[b-3c67rssgqb] {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border: 1px solid var(--c-line);
    border-radius: 8px;
    background: var(--c-panel);
    font: 500 12.5px var(--font-body);
    color: var(--c-g0);
    cursor: pointer;
}

.jd-attach:hover[b-3c67rssgqb] {
    border-color: var(--c-link);
    color: var(--c-link);
}

.jd-attach.busy[b-3c67rssgqb] {
    cursor: default;
    opacity: .6;
}

.jd-note[b-3c67rssgqb] {
    font-size: 12px;
    color: var(--c-g13);
}

.jd-list[b-3c67rssgqb] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jd-row[b-3c67rssgqb] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--c-line);
}

.jd-row:last-child[b-3c67rssgqb] {
    border-bottom: none;
}

.jd-icon[b-3c67rssgqb] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--c-line);
    border-radius: 7px;
    color: var(--c-g13);
}

.jd-icon svg[b-3c67rssgqb] {
    width: 15px;
    height: 15px;
}

.jd-info[b-3c67rssgqb] {
    flex: 1;
    min-width: 0;
}

.jd-name[b-3c67rssgqb] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-link);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jd-name:hover[b-3c67rssgqb] {
    text-decoration: underline;
}

.jd-meta[b-3c67rssgqb] {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--c-g13);
}
/* /Components/Pages/Admin/Work/JobTimelinePanel.razor.rz.scp.css */
/* The timeline. A single rail with a node per line, rather than cards: the feed
   is read top to bottom looking for one thing, and cards make every line look
   like it wants equal attention. */

.tl-compose[b-evw6ud6drm] {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
}

.tl-compose-actions[b-evw6ud6drm] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.tl-error[b-evw6ud6drm] {
    font-size: 12.5px;
    color: var(--c-red-ink);
}

/* --- category chips --------------------------------------------------- */

.tl-chips[b-evw6ud6drm] {
    display: flex;
    gap: 6px;
    padding: 14px 0 4px;
}

.tl-chip[b-evw6ud6drm] {
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: none;
    color: var(--c-g13);
    font: 500 12px var(--font-body);
    padding: 4px 11px;
    cursor: pointer;
}

.tl-chip.on[b-evw6ud6drm] {
    border-color: var(--c-link);
    background: var(--c-link);
    color: var(--text-on-brand);
}

/* --- months ----------------------------------------------------------- */

.tl-month[b-evw6ud6drm] {
    font: 600 11.5px var(--font-body);
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--c-g13);
    padding: 20px 0 8px;
}

.tl-list[b-evw6ud6drm] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-row[b-evw6ud6drm] {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    position: relative;
}

/* The rail is drawn by the rows, not by a container, so it stops at the last
   line of a month instead of running past it into the next heading. */
.tl-row:not(:last-child)[b-evw6ud6drm]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 1px;
    background: var(--c-line);
}

.tl-node[b-evw6ud6drm] {
    flex: none;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    background: var(--c-panel);
    color: var(--c-g13);
    z-index: 1;
}

.tl-node svg[b-evw6ud6drm] {
    width: 14px;
    height: 14px;
}

.tl-node.tl-t-cm[b-evw6ud6drm] {
    border-color: var(--c-link);
    color: var(--c-link);
}

.tl-node.tl-t-wn[b-evw6ud6drm] {
    border-color: var(--c-red-bd);
    color: var(--c-red-ink);
    background: var(--c-red-tint);
}

/* --- the line --------------------------------------------------------- */

.tl-body[b-evw6ud6drm] {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.tl-line[b-evw6ud6drm] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 13px;
    color: var(--c-g0);
}

.tl-who[b-evw6ud6drm] {
    font-weight: 600;
}

.tl-what[b-evw6ud6drm] {
    color: var(--c-g13);
}

.tl-when[b-evw6ud6drm] {
    color: var(--c-g13);
    font-size: 12px;
    margin-left: auto;
    white-space: nowrap;
}

.tl-del[b-evw6ud6drm] {
    border: none;
    background: none;
    color: var(--c-g13);
    cursor: pointer;
    padding: 0 2px;
    opacity: 0;
}

.tl-row:hover .tl-del[b-evw6ud6drm] {
    opacity: 1;
}

.tl-del:hover[b-evw6ud6drm] {
    color: var(--c-red-ink);
}

.tl-del svg[b-evw6ud6drm] {
    width: 13px;
    height: 13px;
}

/* The note body. Bordered rather than tinted so a pasted email with its own
   background does not end up sitting on two. */
.tl-note[b-evw6ud6drm] {
    margin-top: 7px;
    padding: 10px 12px;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-g0);
    overflow-wrap: anywhere;
}

.tl-note :first-child[b-evw6ud6drm] { margin-top: 0; }
.tl-note :last-child[b-evw6ud6drm] { margin-bottom: 0; }

.tl-note img[b-evw6ud6drm] {
    max-width: 100%;
    height: auto;
}
/* /Components/Pages/Admin/Work/WorkItemPage.razor.rz.scp.css */
/* The work item page: summary bar, tabs, and the panels inside them.

   Carries over the checklist and linked-checklist styling from the old edit form,
   which is what these panels used to sit in — only the container changed. The
   shared field styling lives in app.css under .work-shell. */

.detail-bar[b-rwa78r7542] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.toolbar-gap[b-rwa78r7542] {
    flex: 1;
}

.form-h1[b-rwa78r7542] {
    font: 600 22px var(--font-heading);
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--c-g0);
}

.empty-note[b-rwa78r7542] {
    padding: 48px 20px;
    text-align: center;
    color: var(--c-g13);
    font-size: 13px;
}

/* --- linked checklists ------------------------------------------------ */

.wi-panel[b-rwa78r7542]  .link-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid var(--c-line);
}

.wi-panel[b-rwa78r7542]  .link-info {
    flex: 1;
    min-width: 0;
}

.wi-panel[b-rwa78r7542]  .link-name {
    font-size: 12.5px;
    color: var(--c-link);
    text-decoration: none;
}

.wi-panel[b-rwa78r7542]  .link-name:hover {
    text-decoration: underline;
}

.wi-panel[b-rwa78r7542]  .link-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 4px 0 0;
    font-size: 11px;
    color: var(--c-g14);
}

.wi-panel[b-rwa78r7542]  .link-progress {
    font-variant-numeric: tabular-nums;
}

.wi-panel[b-rwa78r7542]  .link-add {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--c-line);
}

.wi-panel[b-rwa78r7542]  .link-add .dd-wrap {
    flex: 1;
    min-width: 0;
}

/* --- identity ------------------------------------------------------- */

.wi-id[b-rwa78r7542] {
    min-width: 0;
}

.wi-title[b-rwa78r7542] {
    margin: 0;
    font: 600 20px var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--c-g0);
}

.wi-client[b-rwa78r7542] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--c-g13);
}

/* --- summary bar ---------------------------------------------------- */

/* Above the tabs on purpose. These are the fields people change most, and
   burying the assignee behind a tab is how a job sits on the wrong person for
   a week. auto-fit so it reflows rather than scrolling sideways. */
.wi-summary[b-rwa78r7542] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 18px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-panel);
}

/* Separators drawn as borders rather than a gap over a coloured background.
   The gap trick needs overflow:hidden to keep its corners, and that clips the
   assignee dropdown the moment it opens — the menu is absolutely positioned
   and belongs outside the cell. */
.wi-cell[b-rwa78r7542] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    min-width: 0;
    border-left: 1px solid var(--c-line);
}

.wi-cell:first-child[b-rwa78r7542] {
    border-left: none;
}

.wi-label[b-rwa78r7542] {
    font: 600 10px var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-g10);
}

.wi-value[b-rwa78r7542] {
    font-size: 13px;
    color: var(--c-g0);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.wi-value:hover[b-rwa78r7542] {
    color: var(--c-link);
}

/* The days-remaining note under the date, and the percentage under the task
   count — the number people are actually reading the field for. */
.wi-sub[b-rwa78r7542] {
    display: block;
    margin-top: 1px;
    font-size: 11px;
    color: var(--c-g14);
}

/* Borderless inside a cell: the cell is the control's frame. */
.wi-cell[b-rwa78r7542]  .dd-trigger {
    height: 22px;
    padding: 0;
    border: none;
    background: none;
    color: var(--c-g0);
    font: 400 13px var(--font-body);
    gap: 6px;
}

.wi-cell[b-rwa78r7542]  .dd-trigger:hover {
    color: var(--c-link);
}

/* The menu anchors to the trigger, as Dropdown intends. All this does is stop
   it being narrower than its own options in a 160px cell. */
.wi-cell[b-rwa78r7542]  .dd-menu {
    min-width: 14rem;
    max-width: min(20rem, 80vw);
    max-height: 18rem;
}

/* --- tabs ------------------------------------------------------------ */

.wi-tabs[b-rwa78r7542] {
    display: flex;
    gap: 4px;
    margin: 18px 0 0;
    border-bottom: 1px solid var(--c-line);
}

.wi-tab[b-rwa78r7542] {
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 9px 9px 0 0;
    background: none;
    color: var(--c-g13);
    padding: 9px 18px;
    font: 500 13px var(--font-body);
    cursor: pointer;
    margin-bottom: -1px;
}

.wi-tab:hover[b-rwa78r7542] {
    color: var(--c-g0);
}

.wi-tab.on[b-rwa78r7542] {
    border-color: var(--c-line);
    background: var(--c-panel);
    color: var(--c-g0);
}

/* --- panels ---------------------------------------------------------- */

/* One card fills the width; two sit side by side. The Tasks tab has two, the
   Details tab has one, and neither needs a layout of its own. */
.wi-panel[b-rwa78r7542] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 18px;
    align-items: start;
}

.wi-panel .formcard[b-rwa78r7542] {
    margin-top: 18px;
}

/* A cell whose value is preceded by a small ring. Baseline alignment would put
   the ring on the text baseline and leave it sitting low; aligning on the first
   line's centre is what makes it read as a bullet for the number. */
.wi-ring[b-rwa78r7542] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    white-space: normal;
}

.wi-ring[b-rwa78r7542]  .ring {
    flex: none;
    margin-top: 1px;
}

.wi-ring > span[b-rwa78r7542] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The checklist owns its tab, so its card does not need a second heading. */
.wi-panel-wide[b-rwa78r7542] {
    grid-template-columns: 1fr;
}
/* /Components/Pages/Admin/Work/WorkPage.razor.rz.scp.css */
/* Board and card only. Everything the work pages share — the shell, the
   toolbar, the table and the list cells — lives in app.css under .work-shell,
   because three pages need it and a scoped stylesheet cannot be shared. This
   is the only page that draws a board. */

/* --- board --------------------------------------------------------- */

/* Auto columns rather than a fixed count: the column set changes with the
   grouping — up to eight due bands, seven statuses, or one per person — so a
   hard-coded repeat(n) would be wrong for two of the three. */
.work-board[b-faqorik9ov] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.work-col[b-faqorik9ov] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: var(--c-panel-2);
    min-height: 220px;
    /* Cap to the viewport so a full column scrolls its own cards rather than
       scrolling the whole page away from the other columns. */
    max-height: calc(100vh - 21rem);
}

/* No dashed outline on every column. Almost all of them take a drop now, so
   marking that would just draw a dashed box round the whole board; the empty
   placeholder below carries the affordance where it is actually useful. */
.work-col.droppable[b-faqorik9ov] {
    border-color: var(--c-line-2);
}

.work-col-head[b-faqorik9ov] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 8px;
    border-bottom: 1px solid var(--c-line);
}

.work-col-dot[b-faqorik9ov] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
    background: var(--c-g13);
}

.work-col-dot.tone-red[b-faqorik9ov] { background: var(--c-red); }
.work-col-dot.tone-amber[b-faqorik9ov] { background: var(--c-amber); }
.work-col-dot.tone-green[b-faqorik9ov] { background: var(--c-green); }
.work-col-dot.tone-blue[b-faqorik9ov] { background: var(--info); }
.work-col-dot.tone-indigo[b-faqorik9ov] { background: var(--c-link); }

.work-col-name[b-faqorik9ov] {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c-g0);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-col-count[b-faqorik9ov] {
    flex: none;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--c-panel);
    color: var(--c-g13);
    font-size: 11px;
    font-weight: 700;
}

.work-col-body[b-faqorik9ov] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    /* Room for the shared .grid-card hover lift, which would otherwise be
       clipped by the scroll container. */
    padding: 2px;
    margin: -2px;
    scrollbar-width: thin;
}

.work-col-empty[b-faqorik9ov] {
    padding: 18px 8px;
    text-align: center;
    font-size: 11.5px;
    color: var(--c-g16);
}

/* Only where a drop will actually do something: the dashed box is the promise,
   so a column that cannot take a card must not make it. */
.work-col.droppable .work-col-empty[b-faqorik9ov] {
    border: 1px dashed var(--c-line-2);
    border-radius: 10px;
}

/* --- card ---------------------------------------------------------- */

.work-card[b-faqorik9ov] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid var(--c-line);
    border-radius: 11px;
    background: var(--c-panel);
    cursor: pointer;
}

.work-card[draggable="true"][b-faqorik9ov] {
    cursor: grab;
}

.work-card[draggable="true"]:active[b-faqorik9ov] {
    cursor: grabbing;
}

.work-card-top[b-faqorik9ov] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.work-card-titles[b-faqorik9ov] {
    flex: 1;
    min-width: 0;
}

.work-card-name[b-faqorik9ov] {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-g0);
}

.work-card-client[b-faqorik9ov] {
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--c-g13);
}

.work-card-mid[b-faqorik9ov] {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.work-card-type[b-faqorik9ov] {
    font-size: 11px;
    color: var(--c-g13);
}

.work-card-progress[b-faqorik9ov] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-card-task[b-faqorik9ov] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--c-panel-2);
}

.work-card-task-name[b-faqorik9ov] {
    font-size: 11.5px;
    color: var(--c-g3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-card-task-who[b-faqorik9ov] {
    font-size: 10.5px;
    color: var(--c-g16);
}

.work-card-foot[b-faqorik9ov] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 11.5px;
}

.work-card-due[b-faqorik9ov] {
    font-variant-numeric: tabular-nums;
}

.work-card-who[b-faqorik9ov] {
    color: var(--c-g13);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-card-who.none[b-faqorik9ov] {
    color: var(--c-g16);
}

.work-card-meta[b-faqorik9ov] {
    display: flex;
    gap: 10px;
    padding-top: 7px;
    border-top: 1px solid var(--c-line);
    font-size: 11px;
    color: var(--c-g16);
}

/* --- the date a drop asks for -------------------------------------- */

/* Its own dialog rather than ConfirmDialog: that one confirms a decision
   already made, this one collects a value, and the buttons have to say so. */
.drop-backdrop[b-faqorik9ov] {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--c-scrim);
}

.drop-box[b-faqorik9ov] {
    width: min(22rem, 100%);
    padding: 20px;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: var(--c-panel);
    box-shadow: var(--c-shadow-menu);
}

.drop-title[b-faqorik9ov] {
    margin: 0;
    font: 600 15px var(--font-heading);
    color: var(--c-g0);
}

.drop-text[b-faqorik9ov] {
    margin: 4px 0 16px;
    font-size: 12.5px;
    color: var(--c-g13);
}

.drop-field[b-faqorik9ov] {
    display: block;
}

.drop-field .field-label[b-faqorik9ov] {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    color: var(--c-g10);
}

.drop-field input[b-faqorik9ov] {
    width: 100%;
    height: 38px;
    padding: 0 11px;
    border: 1px solid var(--c-line-2);
    border-radius: 9px;
    background: var(--c-field);
    color: var(--c-g-input);
    font: 400 13px var(--font-body);
}

.drop-field input:focus[b-faqorik9ov] {
    outline: none;
    border-color: var(--c-accent);
}

.drop-field .field-note[b-faqorik9ov] {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--c-g14);
}

.drop-note[b-faqorik9ov] {
    margin: 10px 0 0;
    font-size: 11px;
    color: var(--c-g14);
}

.drop-actions[b-faqorik9ov] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.drop-cancel[b-faqorik9ov],
.drop-confirm[b-faqorik9ov] {
    border-radius: 8px;
    padding: 8px 14px;
    font: 500 12.5px var(--font-body);
    cursor: pointer;
}

.drop-cancel[b-faqorik9ov] {
    border: 1px solid var(--c-line-2);
    background: var(--c-panel-2);
    color: var(--c-g3);
}

.drop-confirm[b-faqorik9ov] {
    border: 1px solid transparent;
    background: var(--c-link);
    color: var(--text-on-brand);
}

.drop-confirm:disabled[b-faqorik9ov],
.drop-cancel:disabled[b-faqorik9ov] {
    opacity: 0.55;
    cursor: default;
}

/* The browser draws the date picker itself and takes its colours from
   color-scheme — see the same note in JobForm.razor.css. */
:root[data-theme="dark"] .drop-box[b-faqorik9ov] {
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .drop-box[b-faqorik9ov] {
        color-scheme: dark;
    }
}

/* Saved views: the chip row above the board's filters, and the share checkbox


   in its dialog. */





.wv-bar[b-faqorik9ov] {


    display: flex;


    align-items: center;


    flex-wrap: wrap;


    gap: 7px;


    padding: 2px 0 12px;


}





.wv-label[b-faqorik9ov] {


    font: 600 11px var(--font-body);


    letter-spacing: .07em;


    text-transform: uppercase;


    color: var(--c-g13);


    margin-right: 3px;


}





.wv-chip[b-faqorik9ov] {


    display: inline-flex;


    align-items: center;


    gap: 6px;


    padding: 4px 11px;


    border: 1px solid var(--c-line);


    border-radius: 999px;


    background: var(--c-panel);


    font: 500 12px var(--font-body);


    color: var(--c-g0);


    cursor: pointer;


}





.wv-chip:hover[b-faqorik9ov] {


    border-color: var(--c-link);


    color: var(--c-link);


}





.wv-chip.on[b-faqorik9ov] {


    border-color: var(--c-link);


    background: var(--c-link);


    color: var(--text-on-brand);


}





/* A shared view looks different from one of your own, because "why can everybody


   see this" is the question people ask about them. */


.wv-shared-dot[b-faqorik9ov] {


    width: 5px;


    height: 5px;


    border-radius: 50%;


    background: var(--c-g13);


}





.wv-chip.on .wv-shared-dot[b-faqorik9ov] {


    background: color-mix(in srgb, var(--text-on-brand) 80%, transparent);


}





.wv-edit[b-faqorik9ov] {


    border: none;


    background: none;


    padding: 0;


    margin-left: 1px;


    color: inherit;


    opacity: .6;


    cursor: pointer;


    font-size: 11px;


}





.wv-edit:hover[b-faqorik9ov] {


    opacity: 1;


}





.wv-save[b-faqorik9ov] {


    border: 1px dashed var(--c-line);


    border-radius: 999px;


    background: none;


    padding: 4px 11px;


    font: 500 12px var(--font-body);


    color: var(--c-g13);


    cursor: pointer;


}





.wv-save:hover[b-faqorik9ov] {


    border-color: var(--c-link);


    border-style: solid;


    color: var(--c-link);


}
/* /Components/Pages/Admin/Work/WorkQuickView.razor.rz.scp.css */
/* The card's quick view. Its own stylesheet because it is its own component —
   the board's scoped rules carry the board's attribute and never match here. */

.wq-backdrop[b-4k4wflk8jb] {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 1rem;
    overflow-y: auto;
    background: var(--rail-scrim);
}

.wq-box[b-4k4wflk8jb] {
    width: min(34rem, 100%);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: var(--c-panel);
    box-shadow: var(--c-shadow-menu);
}

/* --- head ------------------------------------------------------------ */

.wq-head[b-4k4wflk8jb] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--c-line);
}

.wq-id[b-4k4wflk8jb] {
    flex: 1;
    min-width: 0;
}

.wq-title[b-4k4wflk8jb] {
    margin: 0;
    font: 600 15px var(--font-heading);
    color: var(--c-g0);
}

.wq-client[b-4k4wflk8jb] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--c-g13);
}

.wq-close[b-4k4wflk8jb] {
    flex: none;
    border: none;
    background: none;
    color: var(--c-g13);
    font-size: 20px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}

.wq-close:hover[b-4k4wflk8jb] {
    color: var(--c-g0);
}

/* --- body ------------------------------------------------------------ */

.wq-body[b-4k4wflk8jb] {
    padding: 16px 20px;
}

/* The four things the card already says, repeated here because the dialog has
   to stand on its own once it covers the card. */
.wq-facts[b-4k4wflk8jb] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12.5px;
    color: var(--c-g3);
}

.wq-section[b-4k4wflk8jb] {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--c-line);
}

.wq-label[b-4k4wflk8jb] {
    display: block;
    margin-bottom: 8px;
    font: 600 10px var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-g10);
}

.wq-empty[b-4k4wflk8jb] {
    margin: 0;
    font-size: 12px;
    color: var(--c-g16);
}

.wq-line[b-4k4wflk8jb] {
    margin: 0;
    font-size: 12.5px;
    color: var(--c-g0);
}

.wq-by[b-4k4wflk8jb] {
    margin-left: 6px;
    font-size: 11px;
    color: var(--c-g14);
}

.wq-progress[b-4k4wflk8jb] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- steps ----------------------------------------------------------- */

.wq-step[b-4k4wflk8jb] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 12.5px;
}

.wq-step-title[b-4k4wflk8jb] {
    flex: 1;
    min-width: 0;
    color: var(--c-g0);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wq-step-who[b-4k4wflk8jb] {
    flex: none;
    font-size: 11px;
    color: var(--c-g14);
}

.wq-tick[b-4k4wflk8jb] {
    flex: none;
    width: 17px;
    height: 17px;
    border: 1px solid var(--c-line-2);
    border-radius: 5px;
    background: var(--c-field);
    color: var(--c-green);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}

.wq-tick.on[b-4k4wflk8jb] {
    border-color: var(--c-green);
}

.wq-tick:disabled[b-4k4wflk8jb] {
    cursor: default;
    opacity: 0.55;
}

/* Keeps the rows aligned for a viewer who cannot tick anything. */
.wq-tick.placeholder[b-4k4wflk8jb] {
    border-color: transparent;
    background: none;
    cursor: default;
}

.wq-more[b-4k4wflk8jb] {
    margin: 8px 0 0;
    font-size: 11.5px;
    color: var(--c-g14);
}

/* --- foot ------------------------------------------------------------ */

.wq-foot[b-4k4wflk8jb] {
    display: flex;
    justify-content: flex-end;
    padding: 14px 20px;
    border-top: 1px solid var(--c-line);
}

/* The progress bar is the board's, and the board's stylesheet does not reach
   this component. */
.wq-progress .task-bar[b-4k4wflk8jb] {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--c-panel-2);
    overflow: hidden;
}

.wq-progress .task-bar > span[b-4k4wflk8jb] {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--c-link);
}

.wq-progress .task-pct[b-4k4wflk8jb] {
    flex: none;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
    color: var(--c-g13);
}
/* /Components/Pages/Admin/Work/WorkSchedulesPage.razor.rz.scp.css */
/* The schedules list and its form. The table itself comes from the templates
   page's .wt- block, since it is the same table. */

.ws-paused td[b-e96hpdc0io] {
    opacity: .6;
}

/* A row's name opens the form rather than navigating — a schedule is small
   enough to edit in a dialog, so it gets no page of its own. */
.ws-link[b-e96hpdc0io] {
    border: none;
    background: none;
    padding: 0;
    font: 600 13px var(--font-body);
    color: var(--c-link);
    cursor: pointer;
}

.ws-link:hover[b-e96hpdc0io] {
    text-decoration: underline;
}

/* --- the preview ------------------------------------------------------ */

.ws-preview[b-e96hpdc0io] {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-panel-2);
}

.ws-preview-label[b-e96hpdc0io] {
    display: block;
    font: 600 11px var(--font-body);
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--c-g13);
    margin-bottom: 9px;
}

.ws-preview-dates[b-e96hpdc0io] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ws-date[b-e96hpdc0io] {
    padding: 4px 10px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: var(--c-panel);
    font-size: 12.5px;
    color: var(--c-g0);
    white-space: nowrap;
}

.ws-preview-note[b-e96hpdc0io],
.ws-preview-empty[b-e96hpdc0io] {
    display: block;
    margin-top: 9px;
    font-size: 12.5px;
    color: var(--c-g13);
}
/* /Components/Pages/Admin/Work/WorkTemplateTasksPanel.razor.rz.scp.css */
/* What a template's checklist has that a job's does not. The sections, rows and
   buttons come from the shared .tk- block in app.css. */

/* The "-7 days from the job's due date" control. A number and a sentence rather
   than a date picker, because the date does not exist until there is a job. */
.wt-offset[b-2tty3uma00] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.wt-offset input[b-2tty3uma00] {
    width: 84px;
    flex: none;
}

.wt-offset-unit[b-2tty3uma00] {
    font-size: 12px;
    color: var(--c-g13);
}
/* /Components/Pages/Admin/Work/WorkViewModal.razor.rz.scp.css */
/* The save-a-view dialog. Its chip row is styled by WorkPage, which draws it. */

.wv-share[b-zh9iszlsk0] {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-top: 14px;

    cursor: pointer;

}



.wv-share input[b-zh9iszlsk0] {

    margin-top: 2px;

}



.wv-share-title[b-zh9iszlsk0] {

    display: block;

    font-size: 13px;

    color: var(--c-g0);

}

/* /Components/Pages/Home.razor.rz.scp.css */
/* Landing page — "vault" composition (design 7a).
   Colours come from the --lv-* tokens in app.css: dark resolves to the
   design's literal values, light to the paper equivalent. */

/* ---------- hero ---------- */

.hero[b-99uheb9vne] {
    position: relative;
    text-align: center;
    padding: 56px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge[b-99uheb9vne] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--lv-violet-line);
    background: var(--lv-violet-soft);
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lv-violet-text);
    margin-bottom: 26px;
}

.badge-dot[b-99uheb9vne] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lv-teal);
}

.hero-title[b-99uheb9vne] {
    font: 700 62px/1.0 var(--font-heading);
    color: var(--lv-fg);
    margin: 0 0 22px;
    letter-spacing: -0.035em;
    max-width: 820px;
}

.hero-grad[b-99uheb9vne] {
    background: linear-gradient(110deg, var(--lv-grad-a), var(--lv-grad-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text[b-99uheb9vne] {
    font: 400 17px/1.6 var(--font-body);
    color: var(--lv-fg-55);
    margin: 0 0 30px;
    max-width: 560px;
}

.hero-cta[b-99uheb9vne] {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-proof[b-99uheb9vne] {
    font: 400 12.5px var(--font-body);
    color: var(--lv-fg-40);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.proof-dot[b-99uheb9vne] {
    color: var(--lv-teal);
}

/* ---------- product preview ----------
   A living dashboard: the frame tilts flat as it scrolls into view, a gradient
   border drifts round it, numbers count up, bars grow, rings fill, the search
   types, and two notification cards float over the edges. Every animation
   rests on its final frame, so reduced motion (bottom of file) shows the
   finished dashboard. */

@property --pv-n { syntax: "<integer>"; initial-value: 0; inherits: false; }
@property --pv-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --pv-p { syntax: "<percentage>"; initial-value: 0%; inherits: false; }

.preview[b-99uheb9vne] {
    position: relative;
    margin: 44px 0 0;
    animation: pv-rise-b-99uheb9vne 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.preview-stage[b-99uheb9vne] {
    perspective: 1800px;
}

/* 1px gradient border that slowly travels round the frame */
.preview-frame[b-99uheb9vne] {
    position: relative;
    border-radius: 18px 18px 0 0;
    padding: 1px 1px 0;
    background: conic-gradient(from var(--pv-angle),
        var(--brand-primary-soft), var(--brand-accent-soft), var(--brand-secondary),
        var(--lv-hairline) 40%, var(--lv-hairline) 60%, var(--brand-primary-soft));
    box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--brand-primary) 45%, transparent),
        0 18px 40px -24px color-mix(in srgb, var(--text-primary) 18%, transparent);
    transform-origin: 50% 0;
    animation: pv-orbit-b-99uheb9vne 9s linear infinite;
}

.preview-frame > *[b-99uheb9vne] {
    background: var(--bg-surface);
}

.preview-chrome[b-99uheb9vne] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 17px 17px 0 0;
    background: linear-gradient(180deg, var(--bg-surface), var(--bg-subtle));
    border-bottom: 1px solid var(--lv-line-mid);
}

.chrome-dot[b-99uheb9vne] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.85;
}

.chrome-dot--r[b-99uheb9vne] { background: var(--danger); }
.chrome-dot--y[b-99uheb9vne] { background: var(--warning); }
.chrome-dot--g[b-99uheb9vne] { background: var(--success); }

.chrome-url[b-99uheb9vne] {
    margin: 0 auto;
    width: 320px;
    height: 24px;
    border-radius: 999px;
    background: var(--bg-surface);
    border: 1px solid var(--lv-line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 400 10px var(--font-mono);
    color: var(--lv-fg-40);
}

.preview-body[b-99uheb9vne] {
    position: relative;
    padding: 22px 24px 28px;
    background:
        radial-gradient(60% 50% at 85% 0%, color-mix(in srgb, var(--brand-accent-soft) 22%, transparent), transparent 70%),
        var(--bg-surface);
}

/* content sits above the waves drawn behind it (BrandWaves is the first child) */
.preview-body > div[b-99uheb9vne] {
    position: relative;
}

.preview-fade[b-99uheb9vne] {
    position: absolute;
    left: -40px;
    right: -40px;
    bottom: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, var(--lv-bg) 88%);
    pointer-events: none;
}

/* --- top bar --- */

.pv-top[b-99uheb9vne] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.pv-logo[b-99uheb9vne] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--gradient-brand);
    box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--brand-primary) 60%, transparent);
}

.pv-brand[b-99uheb9vne] {
    font: 700 13px var(--font-heading);
    color: var(--lv-fg);
}

.pv-nav[b-99uheb9vne] {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-secondary-tint);
    font: 500 11px var(--font-body);
    color: var(--success-ink);
}

.pv-live[b-99uheb9vne] {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.pv-live[b-99uheb9vne]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--success);
    animation: pv-ping-b-99uheb9vne 1.8s ease-out infinite;
}

.pv-top-right[b-99uheb9vne] {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.pv-search[b-99uheb9vne] {
    width: 220px;
    height: 30px;
    border-radius: 999px;
    background: var(--bg-subtle);
    border: 1px solid var(--lv-line);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    font: 500 10.5px var(--font-body);
    color: var(--lv-fg);
}

.pv-search svg[b-99uheb9vne] {
    flex: none;
    color: var(--lv-fg-40);
}

.pv-typed[b-99uheb9vne] {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: pv-type-b-99uheb9vne 7s 1.6s steps(14, end) infinite;
}

.pv-caret[b-99uheb9vne] {
    width: 1px;
    height: 12px;
    margin-left: 1px;
    background: var(--brand-primary);
    animation: pv-blink-b-99uheb9vne 1s steps(1) infinite;
}

.pv-add[b-99uheb9vne] {
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--lv-violet-strong);
    color: var(--text-on-brand);
    font: 600 11px var(--font-body);
    display: flex;
    align-items: center;
    box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand-primary) 70%, transparent);
}

/* --- KPI tiles --- */

.pv-tiles[b-99uheb9vne] {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.4fr;
    gap: 12px;
}

.pv-tile[b-99uheb9vne] {
    position: relative;
    overflow: hidden;
    /* frosted, so the card's waves show through */
    background: color-mix(in srgb, var(--bg-surface) 78%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--lv-line);
    border-radius: 14px;
    padding: 14px 16px;
    animation: pv-rise-b-99uheb9vne 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pv-tile:hover[b-99uheb9vne] {
    transform: translateY(-3px);
    border-color: var(--brand-primary-soft);
    box-shadow: var(--shadow-md);
}

/* a soft coral wash in the corner of each number tile */
.pv-tile:not(.pv-tile--chart)[b-99uheb9vne]::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--brand-accent-soft) 45%, transparent), transparent 70%);
}

.pv-tile:nth-child(1)[b-99uheb9vne] { animation-delay: 0.45s; }
.pv-tile:nth-child(2)[b-99uheb9vne] { animation-delay: 0.55s; }
.pv-tile:nth-child(3)[b-99uheb9vne] { animation-delay: 0.65s; }
.pv-tile:nth-child(4)[b-99uheb9vne] { animation-delay: 0.75s; }

.pv-tile--chart[b-99uheb9vne] {
    display: flex;
    flex-direction: column;
}

.pv-tile-l[b-99uheb9vne] {
    font: 500 10px var(--font-body);
    color: var(--lv-fg-40);
}

.pv-tile--chart .pv-tile-l[b-99uheb9vne] {
    margin-bottom: 10px;
}

/* the number counts up from 0 to --to */
.pv-tile-n[b-99uheb9vne] {
    --pv-n: var(--to);
    counter-reset: pv-n var(--pv-n);
    font: 700 28px/1.1 var(--font-heading);
    font-variant-numeric: tabular-nums;
    color: var(--lv-fg);
    margin: 6px 0 2px;
    animation: pv-count-b-99uheb9vne 1.6s 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pv-tile-n[b-99uheb9vne]::after {
    content: counter(pv-n);
}

.pv-tile-t[b-99uheb9vne] {
    font: 500 10px var(--font-body);
    color: var(--lv-fg-35);
}

.pv-tile-t--up[b-99uheb9vne] {
    color: var(--success-ink);
}

.pv-bars[b-99uheb9vne] {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    min-height: 44px;
}

.pv-bars > div[b-99uheb9vne] {
    flex: 1;
    background: var(--lv-bar);
    border-radius: 5px 5px 3px 3px;
    transform-origin: bottom;
    animation: pv-grow-b-99uheb9vne 0.8s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

.pv-bars > div:nth-child(1)[b-99uheb9vne] { animation-delay: 0.9s; }
.pv-bars > div:nth-child(2)[b-99uheb9vne] { animation-delay: 0.98s; }
.pv-bars > div:nth-child(3)[b-99uheb9vne] { animation-delay: 1.06s; }
.pv-bars > div:nth-child(4)[b-99uheb9vne] { animation-delay: 1.14s; }
.pv-bars > div:nth-child(5)[b-99uheb9vne] { animation-delay: 1.22s; }
.pv-bars > div:nth-child(6)[b-99uheb9vne] { animation-delay: 1.3s; }

.pv-bar--on[b-99uheb9vne] {
    background: var(--gradient-brand) !important;
    box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand-primary) 70%, transparent);
}

/* --- checklist rows --- */

.pv-list[b-99uheb9vne] {
    margin-top: 14px;
    background: color-mix(in srgb, var(--bg-surface) 84%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--lv-line-mid);
    border-radius: 14px;
    overflow: hidden;
}

.pv-row[b-99uheb9vne] {
    position: relative;
    display: grid;
    grid-template-columns: 170px 1fr 128px 62px 54px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--lv-line-soft);
    animation: pv-slide-b-99uheb9vne 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    transition: background 0.2s ease;
}

.pv-row:not(.pv-row--head):hover[b-99uheb9vne] {
    background: var(--bg-subtle);
}

.pv-row:nth-child(1)[b-99uheb9vne] { animation-delay: 0.85s; }
.pv-row:nth-child(2)[b-99uheb9vne] { animation-delay: 0.95s; }
.pv-row:nth-child(3)[b-99uheb9vne] { animation-delay: 1.05s; }
.pv-row:nth-child(4)[b-99uheb9vne] { animation-delay: 1.15s; }
.pv-row:nth-child(5)[b-99uheb9vne] { animation-delay: 1.25s; }
.pv-row:nth-child(6)[b-99uheb9vne] { animation-delay: 1.35s; }

.pv-row--head[b-99uheb9vne] {
    padding: 11px 18px;
    background: color-mix(in srgb, var(--bg-subtle) 70%, transparent);
    border-bottom: 1px solid var(--lv-line-mid);
    font: 600 9.5px var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--lv-fg-40);
}

.pv-row--last[b-99uheb9vne] {
    border-bottom: none;
}

/* the top row "just updated": a coral bar and a wash sweep through it now and then */
.pv-row--live[b-99uheb9vne]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--brand-primary);
    opacity: 0;
    animation: pv-flag-b-99uheb9vne 6s 2.6s ease-in-out infinite;
}

.pv-row--live[b-99uheb9vne]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand-primary-tint) 80%, transparent), transparent);
    transform: translateX(-100%);
    pointer-events: none;
    animation: pv-sweep-b-99uheb9vne 6s 2.6s ease-in-out infinite;
}

.pv-row .c[b-99uheb9vne] { display: flex; justify-content: center; }
.pv-row--head .c[b-99uheb9vne] { display: block; text-align: center; }
.pv-row .r[b-99uheb9vne] { text-align: right; }

.pv-client[b-99uheb9vne] {
    font: 700 12px var(--font-heading);
    color: var(--lv-fg);
}

.pv-req[b-99uheb9vne] {
    font: 500 12px var(--font-body);
    color: var(--lv-fg-60);
}

.pv-pill[b-99uheb9vne] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font: 600 10.5px var(--font-body);
}

.pv-pill-dot[b-99uheb9vne] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.pv-pill--review[b-99uheb9vne] { color: var(--lv-violet-text); background: var(--lv-violet-soft); }
.pv-pill--wait[b-99uheb9vne]   { color: var(--lv-amber); background: var(--lv-amber-soft); }
.pv-pill--done[b-99uheb9vne]   { color: var(--lv-teal); background: var(--lv-teal-soft); }

.pv-pill--review .pv-pill-dot[b-99uheb9vne] {
    animation: pv-blink-b-99uheb9vne 1.6s ease-in-out infinite;
}

/* rings fill from 0 to --pv-p */
.pv-ring[b-99uheb9vne] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: conic-gradient(var(--brand-primary) var(--pv-p), var(--lv-line-strong) 0);
    -webkit-mask: radial-gradient(circle, transparent 7px, black 7.5px);
    mask: radial-gradient(circle, transparent 7px, black 7.5px);
    animation: pv-fill-b-99uheb9vne 1.4s 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pv-ring--done[b-99uheb9vne] {
    background: conic-gradient(var(--success) var(--pv-p), var(--lv-line-strong) 0);
}

.pv-due[b-99uheb9vne] {
    font: 500 11px var(--font-body);
    font-variant-numeric: tabular-nums;
    color: var(--lv-fg-50);
}

.pv-due--done[b-99uheb9vne] {
    color: var(--success-ink);
}

/* --- floating notification cards, breaking out of the frame --- */

.pv-float[b-99uheb9vne] {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--lv-line);
    box-shadow: var(--shadow-lg);
}

.pv-float--upload[b-99uheb9vne] {
    left: -36px;
    top: 150px;
    animation: pv-pop-b-99uheb9vne 0.6s 1.8s cubic-bezier(0.3, 1.5, 0.5, 1) both, pv-bob-b-99uheb9vne 5s 2.4s ease-in-out infinite;
}

.pv-float--approved[b-99uheb9vne] {
    right: -32px;
    top: 330px;
    animation: pv-pop-b-99uheb9vne 0.6s 2.4s cubic-bezier(0.3, 1.5, 0.5, 1) both, pv-bob-b-99uheb9vne 5.5s 3s ease-in-out infinite reverse;
}

.pv-float-icon[b-99uheb9vne] {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 9px;
    display: grid;
    place-items: center;
}

.pv-float-icon--doc[b-99uheb9vne] { background: var(--brand-primary-tint); color: var(--brand-primary-strong); }
.pv-float-icon--ok[b-99uheb9vne]  { background: var(--success-tint); color: var(--success-ink); }

.pv-float-text[b-99uheb9vne] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pv-float-h[b-99uheb9vne] {
    font: 600 11.5px var(--font-heading);
    color: var(--lv-fg);
}

.pv-float-s[b-99uheb9vne] {
    font: 400 10px var(--font-body);
    color: var(--lv-fg-50);
}

.pv-float-bar[b-99uheb9vne] {
    margin-top: 4px;
    height: 3px;
    width: 140px;
    border-radius: 3px;
    background: var(--lv-line);
    overflow: hidden;
}

.pv-float-bar > span[b-99uheb9vne] {
    display: block;
    height: 100%;
    background: var(--gradient-brand);
    transform-origin: left;
    animation: pv-upload-b-99uheb9vne 1.6s 2.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* --- keyframes --- */

@keyframes pv-rise-b-99uheb9vne {
    from { opacity: 0; transform: translateY(18px); }
}

@keyframes pv-slide-b-99uheb9vne {
    from { opacity: 0; transform: translateX(-12px); }
}

@keyframes pv-grow-b-99uheb9vne {
    from { transform: scaleY(0); }
}

@keyframes pv-count-b-99uheb9vne {
    from { --pv-n: 0; }
}

@keyframes pv-fill-b-99uheb9vne {
    from { --pv-p: 0%; }
}

@keyframes pv-orbit-b-99uheb9vne {
    to { --pv-angle: 360deg; }
}

@keyframes pv-pop-b-99uheb9vne {
    from { opacity: 0; transform: translateY(14px) scale(0.85); }
}

@keyframes pv-bob-b-99uheb9vne {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}

@keyframes pv-upload-b-99uheb9vne {
    from { transform: scaleX(0); }
}

@keyframes pv-ping-b-99uheb9vne {
    from { transform: scale(1); opacity: 0.7; }
    to { transform: scale(3); opacity: 0; }
}

@keyframes pv-blink-b-99uheb9vne {
    50% { opacity: 0.25; }
}

@keyframes pv-type-b-99uheb9vne {
    0%, 8% { max-width: 0; }
    35%, 75% { max-width: 120px; }
    90%, 100% { max-width: 0; }
}

@keyframes pv-flag-b-99uheb9vne {
    0%, 100% { opacity: 0; }
    10%, 40% { opacity: 1; }
}

@keyframes pv-sweep-b-99uheb9vne {
    0% { transform: translateX(-100%); }
    25%, 100% { transform: translateX(100%); }
}

/* The frame starts tilted back and lands flat as it scrolls into view.
   ponytail: scroll-driven animations; other browsers just show it flat. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .preview-stage[b-99uheb9vne] {
            animation: pv-tilt-b-99uheb9vne linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 45%;
        }
    }
}

@keyframes pv-tilt-b-99uheb9vne {
    from { transform: rotateX(22deg) scale(0.92) translateY(30px); opacity: 0.6; }
    to { transform: none; opacity: 1; }
}

/* the floats sit outside the frame, which only has room on wide screens */
@media (max-width: 1100px) {
    .pv-float[b-99uheb9vne] { display: none; }
}

/* ---------- proof pills ---------- */

.proof-pills[b-99uheb9vne] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 8px 0;
}

.proof-pill[b-99uheb9vne] {
    font: 500 12px var(--font-body);
    color: var(--lv-fg-55);
    border: 1px solid var(--lv-line-10);
    border-radius: 999px;
    padding: 8px 16px;
}

.proof-pill b[b-99uheb9vne] {
    color: var(--lv-violet-strong);
    font-weight: 700;
}

/* ---------- shared eyebrow ---------- */

.eyebrow[b-99uheb9vne] {
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lv-violet-eyebrow);
}

.eyebrow--center[b-99uheb9vne] {
    display: block;
    text-align: center;
}

/* ---------- step timeline ---------- */

.steps[b-99uheb9vne] {
    position: relative;
    padding: 56px 0 20px;
}

.steps-grid[b-99uheb9vne] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.steps-line[b-99uheb9vne] {
    position: absolute;
    top: 19px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, var(--lv-violet-line-2), var(--lv-violet-line));
}

.step[b-99uheb9vne] {
    position: relative;
    text-align: center;
    padding: 0 24px;
}

.step-no[b-99uheb9vne] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lv-bg);
    border: 1px solid var(--lv-violet-line-2);
    color: var(--lv-violet-text);
    font: 600 13px var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-h[b-99uheb9vne] {
    font: 700 19px var(--font-heading);
    color: var(--lv-fg);
    margin-bottom: 8px;
}

.step-p[b-99uheb9vne] {
    font: 400 13px/1.55 var(--font-body);
    color: var(--lv-fg-50);
}

/* ---------- bento features ---------- */

.bento[b-99uheb9vne] {
    position: relative;
    padding: 52px 0 20px;
    /* Definite width: the track's percentage columns collapse to content-size in a shrink-to-fit parent. */
    width: 100%;
    min-width: 0;
}

.bento-head[b-99uheb9vne] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 14px 0 28px;
}

.bento-title[b-99uheb9vne] {
    font: 700 34px var(--font-heading);
    color: var(--lv-fg);
    margin: 0;
    letter-spacing: -0.02em;
}

.bento-nav[b-99uheb9vne] {
    display: flex;
    gap: 8px;
    flex: none;
}

.bento-arrow[b-99uheb9vne] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--lv-line-strong);
    background: var(--lv-surface);
    color: var(--lv-fg);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.bento-arrow:hover:not(:disabled)[b-99uheb9vne] {
    border-color: var(--lv-violet-line);
    background: var(--lv-surface-3);
}

.bento-arrow:disabled[b-99uheb9vne] {
    opacity: 0.35;
    cursor: default;
}

/* The carousel itself is entirely CSS: scroll-snap gives touch swipe, trackpad
   and keyboard scrolling for free. The arrows below only call scrollBy, so the
   section still works with the script blocked. */
.bento-track[b-99uheb9vne] {
    /* Cards per view; a card's width is derived from it (see .bento-card). Flex,
       not grid: percentage grid columns collapsed when the container's width was
       intrinsic, squeezing every card into the visible area. */
    --bento-per-view: 3;
    display: flex;
    width: calc(100% + 8px); /* offsets the -4px side margins below */
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Room for the lifted hover state, which would otherwise be clipped. */
    padding: 4px;
    margin: -4px;
}

.bento-track[b-99uheb9vne]::-webkit-scrollbar {
    display: none;
}

.bento-track:focus-visible[b-99uheb9vne] {
    outline: 2px solid var(--lv-violet-line);
    outline-offset: 4px;
    border-radius: 18px;
}

/* Content flows from the top. Anything that should sit at the foot of a card
   (the expiry meter) claims the slack itself with margin-top: auto — spreading
   every child with space-between left short cards with a hole under the icon. */
.bento-card[b-99uheb9vne] {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 16px * (var(--bento-per-view) - 1)) / var(--bento-per-view));
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 218px;
    background: var(--lv-surface);
    border: 1px solid var(--lv-line);
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

/* Every card gets the highlight on hover rather than one card wearing it
   permanently — the tint marks "what you're looking at", not "the important one". */
.bento-card:hover[b-99uheb9vne] {
    background: linear-gradient(160deg, var(--lv-tint), var(--lv-surface));
    border-color: var(--lv-violet-line);
    transform: translateY(-2px);
}


.bento-icon[b-99uheb9vne] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--lv-violet-icon-bg);
    border: 1px solid var(--lv-violet-icon-line);
    color: var(--lv-violet-icon-fg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.bento-h[b-99uheb9vne] {
    font: 700 15px var(--font-heading);
    color: var(--lv-fg);
    margin-bottom: 6px;
}

.bento-p[b-99uheb9vne] {
    font: 400 12.5px/1.5 var(--font-body);
    color: var(--lv-fg-50);
}

/* Takes the leftover height so it sits on the card floor, whatever the copy
   above it runs to. */
.bento-meter[b-99uheb9vne] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.bento-meter span[b-99uheb9vne] {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: var(--lv-bar);
}

.bento-meter-on[b-99uheb9vne] {
    background: linear-gradient(90deg, var(--lv-violet-strong), var(--lv-violet)) !important;
}

.bento-meter em[b-99uheb9vne] {
    font: 500 10px var(--font-mono);
    font-style: normal;
    color: var(--lv-fg-40);
    white-space: nowrap;
}

/* ---------- CTA ---------- */

.cta-strip[b-99uheb9vne] {
    position: relative;
    margin: 60px 0 8px;
    border-radius: 14px;
    border: 1px solid var(--lv-line-mid);
    background: linear-gradient(120deg, var(--lv-surface), var(--lv-tint-2));
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-h[b-99uheb9vne] {
    font: 700 19px var(--font-heading);
    color: var(--lv-fg);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cta-p[b-99uheb9vne] {
    font: 400 13.5px var(--font-body);
    color: var(--lv-fg-50);
}

.cta-button[b-99uheb9vne] {
    display: inline-flex;
    height: 46px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--lv-violet-strong);
    color: var(--text-on-brand);
    font: 600 13.5px var(--font-body);
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--brand-primary) 55%, transparent);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover[b-99uheb9vne] {
    color: var(--text-on-brand);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -8px color-mix(in srgb, var(--brand-primary) 70%, transparent);
}

/* ---------- responsive ----------
   The design is a fixed-width canvas; below that the same blocks
   reflow rather than scale. */

@media (max-width: 1000px) {
    .hero-title[b-99uheb9vne] { font-size: 48px; }
    /* Two per view, with the next one peeking so the track reads as scrollable. */
    .bento-track[b-99uheb9vne] { --bento-per-view: 2.2; }
    .pv-row[b-99uheb9vne] { grid-template-columns: 130px 1fr 120px 50px 44px; }
}

@media (max-width: 720px) {
    .hero[b-99uheb9vne] { padding-top: 36px; }
    .hero-title[b-99uheb9vne] { font-size: 36px; }
    .hero-text[b-99uheb9vne] { font-size: 15px; }
    .hero-cta[b-99uheb9vne] { flex-direction: column; align-self: stretch; }
    .preview[b-99uheb9vne] { display: none; }
    .steps-grid[b-99uheb9vne] { grid-template-columns: 1fr; gap: 32px; }
    .steps-line[b-99uheb9vne] { display: none; }
    .bento-track[b-99uheb9vne] { --bento-per-view: 1.15; }
    .bento-title[b-99uheb9vne] { font-size: 26px; }
    /* Swipe is the obvious gesture on a phone; the arrows are just clutter. */
    .bento-nav[b-99uheb9vne] { display: none; }
    .bento-head[b-99uheb9vne] { display: block; }
    .cta-strip[b-99uheb9vne] { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    /* Every preview animation rests on its final frame, so dropping them shows the finished dashboard. */
    .preview[b-99uheb9vne],
    .preview *[b-99uheb9vne],
    .preview *[b-99uheb9vne]::before,
    .preview *[b-99uheb9vne]::after {
        animation: none !important;
    }

    .pv-typed[b-99uheb9vne] { max-width: none; }
    .pv-tile:hover[b-99uheb9vne] { transform: none; }

    .bento-card:hover[b-99uheb9vne],
    .cta-button:hover[b-99uheb9vne] { transform: none; }

    /* Jumping straight to the card beats a long slide for anyone who asked
       the OS to stop animating things. */
    .bento-track[b-99uheb9vne] { scroll-behavior: auto; }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.notfound-state[b-iyab3ui3do] {
    margin: 14vh auto 0;
    max-width: 30rem;
    text-align: center;
    animation: rise-in-b-iyab3ui3do 0.5s ease-out;
}

.mono-note[b-iyab3ui3do] {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--copper);
}

.notfound-title[b-iyab3ui3do] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0.6rem 0 0.75rem;
    color: var(--ink);
}

.notfound-text[b-iyab3ui3do] {
    color: var(--ink-soft);
    line-height: 1.6;
}

.notfound-home[b-iyab3ui3do] {
    display: inline-block;
    margin-top: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--copper);
    border: 1px solid currentColor;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.notfound-home:hover[b-iyab3ui3do] {
    background: var(--copper);
    color: var(--on-dark);
}

@keyframes rise-in-b-iyab3ui3do {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
/* /Components/Pages/Portal/IntakePortal.razor.rz.scp.css */
/* Client intake portal shell.
   Tokens follow the app convention: light in the base block, dark applied by an
   explicit data-theme="dark" or by the OS preference when nothing is pinned. */

.cp-shell[b-j36u8uqlak] {
    --cp-bg: var(--bg-app);
    --cp-panel: var(--bg-surface);
    --cp-card: var(--bg-surface);
    --cp-strip: var(--bg-subtle);
    --cp-field: var(--bg-subtle);
    --cp-line: var(--border-strong);
    --cp-hair: var(--border);
    --cp-text: var(--text-primary);
    --cp-dim: var(--text-secondary);
    --cp-faint: var(--text-tertiary);
    --cp-accent: var(--brand-primary-strong);
    --cp-accent2: var(--brand-primary-strong);
    --cp-soft: var(--brand-primary-tint);
    --cp-ok: var(--success-ink);
    --cp-ok-bg: var(--success-tint);
    --cp-ok-line: color-mix(in srgb, var(--success) 35%, transparent);
    --cp-ok-solid: var(--success-ink);
    --cp-ok-solid-text: var(--text-on-brand);
    --cp-warn: var(--warning-ink);
    --cp-warn-bg: var(--warning-tint);
    --cp-warn-line: color-mix(in srgb, var(--warning) 40%, transparent);
    --cp-bad: var(--danger-ink);
    --cp-hover: color-mix(in srgb, var(--text-primary) 4%, transparent);
    --cp-ph: var(--text-muted);
    --cp-shadow: var(--shadow-sm);

    display: flex;
    min-height: 100vh;
    background: var(--cp-bg);
    color: var(--cp-text);
    font-family: var(--font-body);
    font-size: 14px;
    transition: background .25s ease, color .25s ease;
}

/* --- sidebar --- */

.cp-side[b-j36u8uqlak] {
    width: 286px;
    flex: none;
    background: var(--cp-panel);
    border-right: 1px solid var(--cp-hair);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.cp-side-head[b-j36u8uqlak] {
    padding: 18px;
    border-bottom: 1px solid var(--cp-hair);
}

.cp-brand[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cp-mark[b-j36u8uqlak] {
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 8px;
    background: linear-gradient(140deg, var(--cp-accent), var(--cp-accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 11px var(--font-heading);
    color: var(--text-on-brand);
}

.cp-brand-tag[b-j36u8uqlak] {
    font: 500 10.5px var(--font-mono);
    letter-spacing: 0.14em;
    color: var(--cp-faint);
    flex: 1;
}

.cp-theme[b-j36u8uqlak] {
    border: 1px solid var(--cp-line);
    background: var(--cp-field);
    border-radius: 8px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    color: var(--cp-dim);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cp-theme-sun[b-j36u8uqlak] {
    display: none;
}

:root[data-theme="dark"] .cp-shell .cp-theme-sun[b-j36u8uqlak] {
    display: inline;
}

:root[data-theme="dark"] .cp-shell .cp-theme-moon[b-j36u8uqlak] {
    display: none;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .cp-shell .cp-theme-sun[b-j36u8uqlak] {
        display: inline;
    }

    :root:not([data-theme="light"]) .cp-shell .cp-theme-moon[b-j36u8uqlak] {
        display: none;
    }
}

.cp-req-title[b-j36u8uqlak] {
    font: 600 17px/1.3 var(--font-heading);
    letter-spacing: -0.02em;
    margin-top: 14px;
}

.cp-due-row[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cp-due[b-j36u8uqlak] {
    font: 400 11.5px var(--font-mono);
    color: var(--cp-faint);
}

.cp-due-badge[b-j36u8uqlak] {
    font: 500 10px var(--font-mono);
    letter-spacing: 0.11em;
    border-radius: 99px;
    padding: 3px 8px;
    white-space: nowrap;
}

.cp-due-badge.warn[b-j36u8uqlak] {
    background: var(--cp-warn-bg);
    border: 1px solid var(--cp-warn-bg);
    color: var(--cp-warn);
}

.cp-due-badge.ok[b-j36u8uqlak] {
    background: var(--cp-ok-bg);
    border: 1px solid var(--cp-ok-line);
    color: var(--cp-ok);
}

.cp-progress[b-j36u8uqlak] {
    margin-top: 16px;
    background: var(--cp-field);
    border: 1px solid var(--cp-hair);
    border-radius: 11px;
    padding: 12px 13px;
}

.cp-progress-top[b-j36u8uqlak] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cp-pct[b-j36u8uqlak] {
    font: 600 21px var(--font-heading);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.cp-pct span[b-j36u8uqlak] {
    font-size: 12.5px;
    color: var(--cp-faint);
}

.cp-done-label[b-j36u8uqlak] {
    font: 400 11.5px var(--font-mono);
    color: var(--cp-faint);
    flex: 1;
}

.cp-track[b-j36u8uqlak] {
    height: 4px;
    border-radius: 99px;
    background: var(--cp-hair);
    margin-top: 9px;
    overflow: hidden;
}

.cp-fill[b-j36u8uqlak] {
    height: 100%;
    border-radius: 99px;
    background: var(--cp-accent2);
    transition: width .35s ease;
}

.cp-saved-label[b-j36u8uqlak] {
    font-size: 11.5px;
    color: var(--cp-faint);
    margin-top: 9px;
}

.cp-side-label[b-j36u8uqlak] {
    padding: 14px 12px 8px;
    font: 500 10px var(--font-mono);
    letter-spacing: 0.14em;
    color: var(--cp-faint);
}

.cp-nav[b-j36u8uqlak] {
    padding: 0 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cp-nav-item[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    border: none;
    border-radius: 9px;
    padding: 9px 11px;
    cursor: pointer;
    background: transparent;
    box-shadow: none;
}

.cp-nav-item:hover[b-j36u8uqlak] {
    background: var(--cp-hover);
}

.cp-nav-item.on[b-j36u8uqlak] {
    background: var(--cp-soft);
    box-shadow: inset 2px 0 0 var(--cp-accent);
}

.cp-nav-label[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
    font: 500 13px var(--font-body);
    color: var(--cp-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-nav-item.on .cp-nav-label[b-j36u8uqlak] {
    font-weight: 600;
    color: var(--cp-text);
}

.cp-nav-meta[b-j36u8uqlak] {
    font: 400 11px var(--font-mono);
    color: var(--cp-faint);
}

.cp-nav-item.on .cp-nav-meta[b-j36u8uqlak] {
    color: var(--cp-accent);
}

.cp-tick[b-j36u8uqlak] {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 99px;
    background: transparent;
    border: 1px solid var(--cp-line);
    color: var(--cp-ok-solid-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.cp-tick.on[b-j36u8uqlak] {
    background: var(--cp-ok-solid);
    border-color: var(--cp-ok-solid);
}

.cp-tick-sm[b-j36u8uqlak] {
    width: 15px;
    height: 15px;
    font-size: 8.5px;
}

.cp-kids[b-j36u8uqlak] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 3px 0 6px 14px;
    padding-left: 11px;
    border-left: 1px solid var(--cp-hair);
}

.cp-kid[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 9px;
    border-radius: 7px;
}

.cp-kid-label[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
    font-size: 12.3px;
    color: var(--cp-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-kid-label.done[b-j36u8uqlak] {
    color: var(--cp-faint);
}

.cp-side-foot[b-j36u8uqlak] {
    margin-top: auto;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--cp-hair);
    font-size: 12.4px;
    line-height: 1.55;
    color: var(--cp-faint);
}

.cp-side-link[b-j36u8uqlak] {
    display: block;
    margin-top: 8px;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cp-side-link:hover[b-j36u8uqlak] {
    color: var(--cp-text);
}

/* --- main column --- */

.cp-main-col[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cp-header[b-j36u8uqlak] {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--cp-bg);
    border-bottom: 1px solid var(--cp-hair);
}

.cp-header-top[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
}

.cp-header-title[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
}

.cp-sec-num[b-j36u8uqlak] {
    font: 500 10px var(--font-mono);
    letter-spacing: 0.15em;
    color: var(--cp-accent);
}

.cp-page-label[b-j36u8uqlak] {
    font: 600 15px var(--font-heading);
    letter-spacing: -0.015em;
    margin-top: 3px;
}

.cp-cta[b-j36u8uqlak] {
    border: 1px solid var(--cp-accent2);
    background: var(--cp-accent2);
    color: var(--text-on-brand);
    border-radius: 99px;
    height: 32px;
    padding: 0 17px;
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
    flex: none;
}

.cp-header-nav[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px 11px;
}

.cp-step[b-j36u8uqlak] {
    border: 1px solid var(--cp-line);
    background: none;
    color: var(--cp-text);
    border-radius: 99px;
    height: 29px;
    padding: 0 14px;
    font: 500 11.5px var(--font-body);
    cursor: pointer;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: none;
}

.cp-step:hover:not(.off)[b-j36u8uqlak] {
    background: var(--cp-hover);
}

.cp-step.off[b-j36u8uqlak] {
    color: var(--cp-faint);
    cursor: default;
}

.cp-pend-wrap[b-j36u8uqlak] {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cp-pend[b-j36u8uqlak] {
    background: var(--cp-field);
    border: 1px solid var(--cp-line);
    border-radius: 99px;
    padding: 6px 14px;
    font: 500 11.5px var(--font-mono);
    letter-spacing: 0.06em;
    text-align: center;
}

.cp-pend.warn[b-j36u8uqlak] {
    color: var(--cp-warn);
}

.cp-pend.ok[b-j36u8uqlak] {
    color: var(--cp-ok);
}

.cp-main[b-j36u8uqlak] {
    flex: 1;
    padding: 26px 28px 110px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    animation: cp-fade-up-b-j36u8uqlak .28s ease both;
}

/* --- blocks --- */

.cp-block-head[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--cp-line);
}

.cp-block-title[b-j36u8uqlak] {
    font: 600 15px var(--font-heading);
    letter-spacing: -0.015em;
    flex: 1;
}

.cp-block-meta[b-j36u8uqlak] {
    font: 400 11px var(--font-mono);
    color: var(--cp-faint);
    white-space: nowrap;
}

/* Sanitised section blurb, styled to match the card prose. */
.cp-block-blurb[b-j36u8uqlak] {
    margin-top: 14px;
    max-width: 660px;
    font-size: 13.6px;
    line-height: 1.62;
    color: var(--cp-dim);
}

.cp-block-blurb > :first-child[b-j36u8uqlak] {
    margin-top: 0;
}

.cp-block-blurb p[b-j36u8uqlak] {
    margin: 11px 0 0;
}

.cp-block-blurb ul[b-j36u8uqlak],
.cp-block-blurb ol[b-j36u8uqlak] {
    margin: 9px 0 0;
    padding-left: 19px;
    font-size: 13.3px;
    line-height: 1.72;
}

/* Client-authored rich text can carry any heading level — pin them all to the
   card-title scale so a pasted <h1> can't tower over the section header. */
.cp-block-blurb h1[b-j36u8uqlak],
.cp-block-blurb h2[b-j36u8uqlak] {
    font: 600 19px/1.3 var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--cp-text);
    margin: 18px 0 0;
}

.cp-block-blurb h3[b-j36u8uqlak],
.cp-block-blurb h4[b-j36u8uqlak],
.cp-block-blurb h5[b-j36u8uqlak],
.cp-block-blurb h6[b-j36u8uqlak] {
    font: 600 15px var(--font-heading);
    letter-spacing: -0.015em;
    color: var(--cp-text);
    margin: 16px 0 0;
}

.cp-block-blurb strong[b-j36u8uqlak] {
    color: var(--cp-text);
    font-weight: 600;
}

.cp-block-blurb blockquote[b-j36u8uqlak] {
    margin: 13px 0 0;
    background: var(--cp-strip);
    border-left: 2px solid var(--cp-accent);
    border-radius: 0 9px 9px 0;
    padding: 10px 14px;
    font-size: 13.2px;
    line-height: 1.58;
}

.cp-block-blurb a[b-j36u8uqlak] {
    color: var(--cp-accent);
    text-decoration: none;
}

.cp-block-blurb img[b-j36u8uqlak],
.cp-block-blurb iframe[b-j36u8uqlak],
.cp-block-blurb video[b-j36u8uqlak] {
    max-width: 660px;
    width: 100%;
    margin-top: 13px;
    border-radius: 10px;
    border: 1px solid var(--cp-hair);
}

.cp-cards[b-j36u8uqlak] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.cp-cards:empty[b-j36u8uqlak] {
    margin-top: 0;
}

/* --- section summary --- */

.cp-stats[b-j36u8uqlak] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.cp-stat[b-j36u8uqlak] {
    background: var(--cp-card);
    border: 1px solid var(--cp-hair);
    border-radius: 12px;
    padding: 15px 17px;
    box-shadow: var(--cp-shadow);
}

.cp-stat-value[b-j36u8uqlak] {
    font: 600 26px var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--cp-text);
    font-variant-numeric: tabular-nums;
}

.cp-stat-value.ok[b-j36u8uqlak] {
    color: var(--cp-ok);
}

.cp-stat-value.accent[b-j36u8uqlak] {
    color: var(--cp-accent);
}

.cp-stat-label[b-j36u8uqlak] {
    font: 500 10.5px var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--cp-faint);
    margin-top: 7px;
}

.cp-summary[b-j36u8uqlak] {
    margin-top: 14px;
    background: var(--cp-card);
    border: 1px solid var(--cp-hair);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--cp-shadow);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cp-summary.ok[b-j36u8uqlak] {
    border-color: var(--cp-ok-line);
}

.cp-summary-icon[b-j36u8uqlak] {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 99px;
    background: var(--cp-warn-bg);
    color: var(--cp-warn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cp-summary.ok .cp-summary-icon[b-j36u8uqlak] {
    background: var(--cp-ok-solid);
    color: var(--cp-ok-solid-text);
}

.cp-summary-main[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
}

.cp-summary-title[b-j36u8uqlak] {
    font: 600 17px var(--font-heading);
    letter-spacing: -0.02em;
}

.cp-summary-body[b-j36u8uqlak] {
    margin: 7px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--cp-dim);
    max-width: 580px;
}

.cp-outstanding[b-j36u8uqlak] {
    margin-top: 16px;
}

.cp-outstanding-label[b-j36u8uqlak] {
    font: 500 10.5px var(--font-mono);
    letter-spacing: 0.12em;
    color: var(--cp-faint);
}

.cp-outstanding-list[b-j36u8uqlak] {
    margin-top: 9px;
    border: 1px solid var(--cp-hair);
    background: var(--cp-strip);
    border-radius: 12px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

.cp-outstanding-row[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
}

.cp-dot[b-j36u8uqlak] {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 99px;
    background: var(--cp-warn);
}

.cp-outstanding-name[b-j36u8uqlak] {
    flex: 1;
    min-width: 0;
    font-size: 13.2px;
    color: var(--cp-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cp-outstanding-tag[b-j36u8uqlak] {
    font: 500 10px var(--font-mono);
    letter-spacing: 0.1em;
    color: var(--cp-faint);
    white-space: nowrap;
}

.cp-summary-actions[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cp-submit[b-j36u8uqlak] {
    border: 1px solid var(--cp-line);
    background: var(--cp-strip);
    color: var(--cp-faint);
    border-radius: 99px;
    height: 36px;
    padding: 0 20px;
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: not-allowed;
}

.cp-submit.on[b-j36u8uqlak] {
    border-color: var(--cp-accent2);
    background: var(--cp-accent2);
    color: var(--text-on-brand);
    cursor: pointer;
}

.cp-next-sec[b-j36u8uqlak] {
    border: 1px solid var(--cp-accent);
    background: none;
    color: var(--cp-accent);
    border-radius: 99px;
    height: 36px;
    padding: 0 18px;
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

.cp-next-sec:hover[b-j36u8uqlak] {
    background: var(--cp-soft);
}

.cp-submit-hint[b-j36u8uqlak] {
    font-size: 12.8px;
    color: var(--cp-faint);
    max-width: 330px;
    line-height: 1.5;
}

.cp-submit-error[b-j36u8uqlak] {
    margin-top: 12px;
    font-size: 13px;
    color: var(--cp-bad);
}

/* --- submitted banner --- */

.cp-submitted[b-j36u8uqlak] {
    border: 1px solid var(--cp-ok-line);
    background: var(--cp-ok-bg);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: cp-fade-up-b-j36u8uqlak .3s ease both;
}

.cp-submitted.warn[b-j36u8uqlak] {
    border-color: var(--cp-warn-line);
    background: var(--cp-warn-bg);
}

.cp-submitted-icon[b-j36u8uqlak] {
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 99px;
    background: var(--cp-ok-solid);
    color: var(--cp-ok-solid-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cp-submitted.warn .cp-submitted-icon[b-j36u8uqlak] {
    background: transparent;
    border: 1px solid var(--cp-warn);
    color: var(--cp-warn);
}

.cp-submitted-title[b-j36u8uqlak] {
    font: 600 17px var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--cp-ok);
}

.cp-submitted.warn .cp-submitted-title[b-j36u8uqlak] {
    color: var(--cp-warn);
}

.cp-submitted-body[b-j36u8uqlak] {
    margin: 7px 0 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--cp-dim);
    max-width: 560px;
}

/* --- dead-link state --- */

.cp-shell-plain[b-j36u8uqlak] {
    display: block;
    padding: 0 1.5rem;
}

.portal-state[b-j36u8uqlak] {
    margin: 14vh auto 0;
    max-width: 30rem;
    text-align: center;
    animation: cp-fade-up-b-j36u8uqlak .4s ease both;
}

.state-title[b-j36u8uqlak] {
    font: 600 28px var(--font-heading);
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    color: var(--cp-text);
}

.state-text[b-j36u8uqlak] {
    color: var(--cp-dim);
    font-size: 13.8px;
    line-height: 1.65;
    margin: 0;
}

@keyframes cp-fade-up-b-j36u8uqlak {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes cp-fade-in-b-j36u8uqlak {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- narrow screens: sidebar stacks above the questions --- */

@media (max-width: 860px) {
    .cp-shell[b-j36u8uqlak] {
        flex-direction: column;
    }

    .cp-side[b-j36u8uqlak] {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--cp-hair);
    }

    .cp-header-top[b-j36u8uqlak],
    .cp-header-nav[b-j36u8uqlak] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cp-header-nav[b-j36u8uqlak] {
        flex-wrap: wrap;
    }

    .cp-pend-wrap[b-j36u8uqlak] {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .cp-main[b-j36u8uqlak] {
        padding: 20px 16px 80px;
        gap: 26px;
    }

    .cp-stats[b-j36u8uqlak] {
        grid-template-columns: 1fr;
    }

    .cp-summary[b-j36u8uqlak] {
        padding: 18px;
    }
}

/* Files AE Partners sent with the checklist, on the instructions page. */
.cp-sent-files[b-j36u8uqlak] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    max-width: 660px;
}

.cp-sent-files-head[b-j36u8uqlak] {
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--cp-faint);
}

.cp-sent-file[b-j36u8uqlak] {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--cp-line);
    border-radius: 12px;
    background: var(--cp-field);
    color: var(--cp-text);
    font-size: 13.6px;
    text-decoration: none;
}

.cp-sent-file:hover[b-j36u8uqlak] {
    border-color: var(--cp-accent);
    color: var(--cp-accent);
}
/* /Components/Pages/Portal/PortalField.razor.rz.scp.css */
/* One question = one card. The section heading above a run of these is what
   groups them, so the card carries its own surface rather than sitting on a
   shared panel with divider rules. */
.field-row[b-ztj4lirv9s] {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0 0.9rem;
    padding: 1.15rem 1.2rem;
    margin-bottom: 0.7rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius, 10px);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    animation: rise-in-b-ztj4lirv9s 0.5s ease-out forwards;
}

/* Staff-only question: flagged so it's obvious the client never sees it. */
.field-row.internal[b-ztj4lirv9s] {
    border-left: 3px solid var(--copper);
}

@keyframes rise-in-b-ztj4lirv9s {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.field-no[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--copper);
    padding-top: 0.2rem;
}

.field-label[b-ztj4lirv9s] {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

/* Rich text: the blurb is sanitised HTML, so its own <p>/<ul>/<h3> carry the
   spacing. No white-space: pre-line here — it would turn the markup's source
   newlines into blank gaps. */
.field-description[b-ztj4lirv9s] {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0 0 0.6rem;
}

.field-description > :first-child[b-ztj4lirv9s] {
    margin-top: 0;
}

.field-description > :last-child[b-ztj4lirv9s] {
    margin-bottom: 0;
}

.field-description p[b-ztj4lirv9s] {
    margin: 0 0 0.5rem;
}

.field-description h3[b-ztj4lirv9s] {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0.8rem 0 0.4rem;
}

.field-description ul[b-ztj4lirv9s],
.field-description ol[b-ztj4lirv9s] {
    margin: 0 0 0.5rem;
    padding-left: 1.25rem;
}

.field-description li[b-ztj4lirv9s] {
    margin-bottom: 0.2rem;
}

/* Content block (FieldType.Content): free-form instructions between questions.
   Not a question card — reads as prose, no number column or border. */
.portal-content[b-ztj4lirv9s] {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 0.9rem;
    padding: 0 0.2rem;
}

.portal-content > :first-child[b-ztj4lirv9s] { margin-top: 0; }
.portal-content > :last-child[b-ztj4lirv9s] { margin-bottom: 0; }
.portal-content p[b-ztj4lirv9s] { margin: 0 0 0.6rem; }
.portal-content :is(h1, h2, h3)[b-ztj4lirv9s] {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    margin: 1rem 0 0.5rem;
}
.portal-content ul[b-ztj4lirv9s], .portal-content ol[b-ztj4lirv9s] { margin: 0 0 0.6rem; padding-left: 1.25rem; }
.portal-content li[b-ztj4lirv9s] { margin-bottom: 0.2rem; }
.portal-content a[b-ztj4lirv9s] { color: var(--accent); }
.portal-content img[b-ztj4lirv9s] { max-width: 100%; height: auto; border-radius: var(--radius); }

.yesno-group[b-ztj4lirv9s] {
    display: flex;
    gap: 1.5rem;
}

.checkbox-group[b-ztj4lirv9s] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-option[b-ztj4lirv9s] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.98rem;
    line-height: 1.4;
    color: var(--ink);
    cursor: pointer;
}

.checkbox-option input[b-ztj4lirv9s] {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.field-row.locked .checkbox-option[b-ztj4lirv9s] {
    cursor: default;
}

.yesno-option[b-ztj4lirv9s] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.98rem;
    color: var(--ink);
    cursor: pointer;
}

.optional[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-left: 0.5rem;
}

/* Review verdict. Shown to both sides — the client sees where their answer
   stands, staff see what they've already cleared. */
.review-tag[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    margin-left: 0.5rem;
    vertical-align: 0.1em;
    border: 1px solid currentColor;
}

.review-tag.approved[b-ztj4lirv9s] {
    color: var(--good);
}

.review-tag.changes[b-ztj4lirv9s] {
    color: var(--copper);
}

/* Footer row: review verdict on the left, thread toggle pushed to the right. */
.field-actions[b-ztj4lirv9s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--line);
}

.review[b-ztj4lirv9s] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.review-hint[b-ztj4lirv9s] {
    font-size: 0.78rem;
    color: var(--ink-soft);
}

/* One pill for every action on the row, so approve / checklist changes / comment
   read as the same class of control. */
.pill[b-ztj4lirv9s] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    flex: none;
}

.pill:hover:not(:disabled)[b-ztj4lirv9s] {
    border-color: currentColor;
}

.pill:disabled[b-ztj4lirv9s] {
    opacity: 0.5;
    cursor: default;
}

.pill.approve[b-ztj4lirv9s] {
    color: var(--good);
}

.pill.changes[b-ztj4lirv9s] {
    color: var(--copper);
}

.pill.comment[b-ztj4lirv9s] {
    color: var(--accent);
}

.pill.comment.has-comments[b-ztj4lirv9s] {
    border-color: currentColor;
}

.pill-count[b-ztj4lirv9s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text-on-brand);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    line-height: 1;
}

/* Comment thread: sits under the footer row, inside the question's card. */
.thread[b-ztj4lirv9s] {
    margin-top: 0.7rem;
}

.thread-list[b-ztj4lirv9s] {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.thread-item[b-ztj4lirv9s] {
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    background: var(--surface-2);
}

/* Staff replies get the accent edge so the two voices are tellable apart. */
.thread-item.staff[b-ztj4lirv9s] {
    background: var(--accent-soft);
    border-left: 2px solid var(--accent);
}

.thread-head[b-ztj4lirv9s] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.thread-author[b-ztj4lirv9s] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
}

.thread-when[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ink-soft);
}

.thread-body[b-ztj4lirv9s] {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--ink);
    /* Author's newlines survive; the value itself is escaped by Razor. */
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.thread-compose[b-ztj4lirv9s] {
    margin-top: 0.6rem;
}

.thread-compose textarea[b-ztj4lirv9s] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
    padding: 0.45rem 0.55rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    resize: vertical;
}

.thread-actions[b-ztj4lirv9s] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.thread-send[b-ztj4lirv9s] {
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text-on-brand);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
}

.thread-send:disabled[b-ztj4lirv9s] {
    opacity: 0.5;
    cursor: default;
}

.internal-tag[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--copper);
    border: 1px solid currentColor;
    border-radius: 3px;
    padding: 0.05rem 0.3rem;
    margin-left: 0.5rem;
    vertical-align: 0.1em;
}

input[type="text"][b-ztj4lirv9s],
input[type="number"][b-ztj4lirv9s],
input[type="date"][b-ztj4lirv9s],
textarea[b-ztj4lirv9s] {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 0.98rem;
    color: var(--ink);
    padding: 0.4rem 0.1rem;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

input:focus[b-ztj4lirv9s],
textarea:focus[b-ztj4lirv9s] {
    outline: none;
    border-bottom-color: var(--ink);
    background: var(--surface-2);
}

input:disabled[b-ztj4lirv9s],
textarea:disabled[b-ztj4lirv9s] {
    color: var(--ink-soft);
    border-bottom-style: dashed;
}

textarea[b-ztj4lirv9s] {
    resize: vertical;
    border: 1.5px solid var(--line);
    padding: 0.6rem 0.7rem;
}

textarea:focus[b-ztj4lirv9s] {
    border-color: var(--accent);
}

.field-meta[b-ztj4lirv9s] {
    min-height: 1.4rem;
    padding-top: 0.35rem;
}

.stamp[b-ztj4lirv9s] {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border: 1px solid currentColor;
    border-radius: 6px;
    transform: rotate(-1.5deg);
}

.stamp-saving[b-ztj4lirv9s] {
    color: var(--ink-soft);
    animation: pulse-b-ztj4lirv9s 1.1s ease-in-out infinite;
}

.stamp-saved[b-ztj4lirv9s] {
    color: var(--good);
    animation: stamp-in-b-ztj4lirv9s 0.25s cubic-bezier(0.2, 1.6, 0.4, 1), fade-away-b-ztj4lirv9s 0.6s ease-in 2.4s forwards;
}

.stamp-error[b-ztj4lirv9s] {
    color: var(--bad);
    text-transform: none;
    letter-spacing: 0.02em;
}

@keyframes stamp-in-b-ztj4lirv9s {
    from {
        opacity: 0;
        transform: rotate(-1.5deg) scale(1.35);
    }

    to {
        opacity: 1;
        transform: rotate(-1.5deg) scale(1);
    }
}

@keyframes fade-away-b-ztj4lirv9s {
    to {
        opacity: 0;
    }
}

@keyframes pulse-b-ztj4lirv9s {
    50% {
        opacity: 0.45;
    }
}

/* --- documents --- */

.doc-list[b-ztj4lirv9s] {
    list-style: none;
    margin: 0 0 0.7rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doc-chip[b-ztj4lirv9s] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: color-mix(in srgb, var(--text-primary) 5%, transparent);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
}

.doc-name[b-ztj4lirv9s] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-size[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-soft);
}

.doc-remove[b-ztj4lirv9s] {
    border: none;
    background: none;
    color: var(--bad);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.1rem;
}

.doc-remove:hover[b-ztj4lirv9s] {
    transform: scale(1.2);
}

.dropzone[b-ztj4lirv9s] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    border: 1.5px dashed var(--copper);
    border-radius: 8px;
    background: color-mix(in srgb, var(--brand-primary) 4%, transparent);
    padding: 1.4rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.dropzone:hover[b-ztj4lirv9s],
.dropzone:focus-within[b-ztj4lirv9s] {
    background: color-mix(in srgb, var(--brand-primary) 9%, transparent);
}

.dropzone[b-ztj4lirv9s]  input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dz-title[b-ztj4lirv9s] {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
}

.dz-hint[b-ztj4lirv9s] {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.field-row.locked .dropzone[b-ztj4lirv9s] {
    display: none;
}

@media (max-width: 768px) {
    .field-row[b-ztj4lirv9s] {
        grid-template-columns: 2rem 1fr;
        gap: 0 0.6rem;
    }

    .doc-name[b-ztj4lirv9s] {
        max-width: 9rem;
    }
}

/* Internal notes: copper edge + tint, so nobody mistakes one for what the client sees. */
.thread-item.internal[b-ztj4lirv9s] {
    background: color-mix(in srgb, var(--brand-primary) 8%, transparent);
    border-left: 2px solid var(--copper);
}

.thread-item .internal-tag[b-ztj4lirv9s] {
    margin-left: 0.4rem;
}

.thread-compose.internal textarea[b-ztj4lirv9s] {
    border-color: var(--copper);
    background: color-mix(in srgb, var(--brand-primary) 5%, transparent);
}

.thread-item .doc-list[b-ztj4lirv9s],
.thread-compose .doc-list[b-ztj4lirv9s] {
    margin-top: 0.4rem;
}

.thread-attach[b-ztj4lirv9s],
.thread-internal[b-ztj4lirv9s] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--ink-soft);
    cursor: pointer;
}

/* Left-align the two toggles; the error and send button stay right. */
.thread-internal[b-ztj4lirv9s] {
    margin-right: auto;
}

.thread-attach:hover[b-ztj4lirv9s] {
    color: var(--accent);
}

.thread-attach[b-ztj4lirv9s]  input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
/* /Components/Pages/Portal/PortalQuestion.razor.rz.scp.css */
/* Client-portal question card. Colour tokens (--cp-*) are declared on
   .cp-shell in IntakePortal.razor.css and inherit down into here. */

.cp-card[b-htgqr5of4p] {
    border: 1px solid var(--cp-hair);
    border-radius: 14px;
    overflow: hidden;
    background: var(--cp-card);
    box-shadow: var(--cp-shadow);
}

.cp-card.ok[b-htgqr5of4p] {
    border-color: var(--cp-ok-line);
}

.cp-card.warn[b-htgqr5of4p] {
    border-color: var(--cp-warn-line);
}

/* --- status strip --- */

.cp-strip[b-htgqr5of4p] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--cp-strip);
    border-bottom: 1px solid var(--cp-hair);
}

.cp-card.ok .cp-strip[b-htgqr5of4p] {
    background: var(--cp-ok-bg);
    border-bottom-color: var(--cp-ok-line);
}

.cp-card.warn .cp-strip[b-htgqr5of4p] {
    background: var(--cp-warn-bg);
    border-bottom-color: var(--cp-warn-line);
}

.cp-strip-icon[b-htgqr5of4p] {
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 99px;
    background: transparent;
    border: 1px solid var(--cp-line);
    color: var(--cp-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.cp-card.ok .cp-strip-icon[b-htgqr5of4p] {
    background: var(--cp-ok-solid);
    border-color: var(--cp-ok-solid);
    color: var(--cp-ok-solid-text);
}

.cp-card.warn .cp-strip-icon[b-htgqr5of4p] {
    border-color: var(--cp-warn);
    color: var(--cp-warn);
}

.cp-strip-status[b-htgqr5of4p] {
    flex: 1;
    font: 500 12.5px var(--font-body);
    color: var(--cp-dim);
}

.cp-card.ok .cp-strip-status[b-htgqr5of4p] {
    color: var(--cp-ok);
}

.cp-card.warn .cp-strip-status[b-htgqr5of4p] {
    color: var(--cp-warn);
}

.cp-tag[b-htgqr5of4p] {
    font: 500 10.5px var(--font-mono);
    letter-spacing: 0.08em;
    border-radius: 99px;
    padding: 3px 9px;
    white-space: nowrap;
}

.cp-tag.req[b-htgqr5of4p] {
    background: var(--cp-warn-bg);
    color: var(--cp-warn);
}

.cp-tag.opt[b-htgqr5of4p] {
    background: var(--cp-strip);
    color: var(--cp-faint);
}

/* --- body --- */

.cp-card-body[b-htgqr5of4p] {
    padding: 20px 22px 18px;
}

.cp-kicker[b-htgqr5of4p] {
    font: 500 10.5px var(--font-mono);
    letter-spacing: 0.13em;
    color: var(--cp-faint);
}

.cp-title[b-htgqr5of4p] {
    font: 600 19px/1.3 var(--font-heading);
    letter-spacing: -0.02em;
    margin-top: 9px;
    text-wrap: pretty;
    color: var(--cp-text);
}

/* Sanitised rich text from the checklist description. Note there is deliberately
   no first-child margin reset: the design puts an 11px gap between the question
   title and the first paragraph. */
.cp-prose p[b-htgqr5of4p] {
    margin: 11px 0 0;
    font-size: 13.6px;
    line-height: 1.62;
    color: var(--cp-dim);
    max-width: 660px;
    text-wrap: pretty;
}

.cp-prose ul[b-htgqr5of4p],
.cp-prose ol[b-htgqr5of4p] {
    margin: 9px 0 0;
    padding-left: 19px;
    color: var(--cp-dim);
    font-size: 13.3px;
    line-height: 1.72;
}

.cp-prose blockquote[b-htgqr5of4p] {
    margin: 13px 0 0;
    background: var(--cp-strip);
    border-left: 2px solid var(--cp-accent);
    border-radius: 0 9px 9px 0;
    padding: 10px 14px;
    font-size: 13.2px;
    line-height: 1.58;
    color: var(--cp-dim);
    max-width: 660px;
}

/* Client-authored rich text can carry any heading level — pin them all to one
   scale so a pasted <h1> can't tower over the question title above it. */
.cp-prose h1[b-htgqr5of4p],
.cp-prose h2[b-htgqr5of4p],
.cp-prose h3[b-htgqr5of4p],
.cp-prose h4[b-htgqr5of4p],
.cp-prose h5[b-htgqr5of4p],
.cp-prose h6[b-htgqr5of4p] {
    font: 600 15px var(--font-heading);
    letter-spacing: -0.015em;
    color: var(--cp-text);
    margin: 16px 0 0;
}

.cp-prose strong[b-htgqr5of4p] {
    color: var(--cp-text);
    font-weight: 600;
}

.cp-prose a[b-htgqr5of4p] {
    color: var(--cp-accent);
    text-decoration: none;
}

.cp-prose a:hover[b-htgqr5of4p] {
    opacity: 0.82;
}

.cp-prose img[b-htgqr5of4p],
.cp-prose iframe[b-htgqr5of4p],
.cp-prose video[b-htgqr5of4p] {
    max-width: 660px;
    width: 100%;
    margin-top: 13px;
    border-radius: 10px;
    border: 1px solid var(--cp-hair);
}

.cp-card-content .cp-prose > :first-child[b-htgqr5of4p] {
    margin-top: 0;
}

.cp-input[b-htgqr5of4p] {
    margin-top: 18px;
}

.cp-input:empty[b-htgqr5of4p] {
    margin-top: 0;
}

/* --- checks (MultiSelect) --- */

.cp-checks[b-htgqr5of4p] {
    max-width: 680px;
    border: 1px solid var(--cp-hair);
    border-radius: 12px;
    background: var(--cp-strip);
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
}

.cp-check[b-htgqr5of4p] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
    cursor: pointer;
    border-radius: 8px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font: inherit;
}

.cp-check:hover:not(:disabled)[b-htgqr5of4p] {
    background: var(--cp-hover);
}

.cp-check:disabled[b-htgqr5of4p] {
    cursor: default;
}

.cp-box[b-htgqr5of4p] {
    width: 16px;
    height: 16px;
    flex: none;
    border-radius: 4px;
    border: 1px solid var(--cp-line);
    background: transparent;
    color: var(--text-on-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
}

.cp-check.on .cp-box[b-htgqr5of4p] {
    background: var(--cp-accent2);
    border-color: var(--cp-accent2);
}

.cp-check-label[b-htgqr5of4p] {
    font-size: 13.4px;
    line-height: 1.4;
    color: var(--cp-dim);
}

.cp-check.on .cp-check-label[b-htgqr5of4p] {
    color: var(--cp-text);
}

/* --- radios (YesNo / Select) --- */

.cp-radios[b-htgqr5of4p] {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.cp-radio[b-htgqr5of4p] {
    border: 1px solid var(--cp-line);
    background: var(--cp-field);
    color: var(--cp-dim);
    border-radius: 99px;
    padding: 9px 18px;
    font: 500 13px var(--font-body);
    cursor: pointer;
}

.cp-radio:hover:not(:disabled):not(.on)[b-htgqr5of4p] {
    background: var(--cp-hover);
}

.cp-radio.on[b-htgqr5of4p] {
    background: var(--cp-accent2);
    border-color: var(--cp-accent2);
    color: var(--text-on-brand);
}

.cp-radio:disabled[b-htgqr5of4p] {
    cursor: default;
}

/* --- text inputs --- */

.cp-textarea[b-htgqr5of4p] {
    width: 100%;
    max-width: 680px;
    background: var(--cp-field);
    border: 1px solid var(--cp-line);
    border-radius: 10px;
    padding: 11px 13px;
    font-family: var(--font-body);
    font-size: 13.6px;
    line-height: 1.6;
    resize: vertical;
    color: var(--cp-text);
}

.cp-short[b-htgqr5of4p] {
    width: 100%;
    max-width: 420px;
    height: 42px;
    background: var(--cp-field);
    border: 1px solid var(--cp-line);
    border-radius: 10px;
    padding: 0 13px;
    font-family: var(--font-body);
    font-size: 13.6px;
    color: var(--cp-text);
}

.cp-textarea:focus[b-htgqr5of4p],
.cp-short:focus[b-htgqr5of4p] {
    outline: none;
    border-color: var(--cp-accent);
}

.cp-textarea[b-htgqr5of4p]::placeholder,
.cp-short[b-htgqr5of4p]::placeholder {
    color: var(--cp-ph);
}

.cp-textarea:disabled[b-htgqr5of4p],
.cp-short:disabled[b-htgqr5of4p] {
    opacity: 1;
    color: var(--cp-dim);
}

/* --- files --- */

.cp-files[b-htgqr5of4p] {
    max-width: 680px;
}

.cp-drop[b-htgqr5of4p] {
    display: block;
    border: 1.5px dashed var(--cp-line);
    border-radius: 12px;
    background: var(--cp-field);
    padding: 22px;
    text-align: center;
    cursor: pointer;
}

.cp-drop:hover[b-htgqr5of4p] {
    border-color: var(--cp-accent);
    background: var(--cp-hover);
}

.cp-drop[b-htgqr5of4p]  input[type=file] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cp-drop-title[b-htgqr5of4p] {
    display: block;
    font: 500 13.4px var(--font-body);
    color: var(--cp-text);
}

.cp-drop-hint[b-htgqr5of4p] {
    display: block;
    font: 400 11.5px var(--font-mono);
    color: var(--cp-faint);
    margin-top: 6px;
}

.cp-file-list[b-htgqr5of4p] {
    display: flex;
    flex-direction: column;
    margin-top: 9px;
}

.cp-file[b-htgqr5of4p] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--cp-hair);
}

.cp-file-tick[b-htgqr5of4p] {
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 99px;
    background: var(--cp-ok-bg);
    color: var(--cp-ok);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.cp-file-name[b-htgqr5of4p] {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cp-text);
    text-decoration: none;
}

.cp-file-name:hover[b-htgqr5of4p] {
    text-decoration: underline;
}

.cp-file-size[b-htgqr5of4p] {
    font: 400 11px var(--font-mono);
    color: var(--cp-faint);
}

.cp-file-x[b-htgqr5of4p] {
    border: none;
    background: none;
    color: var(--cp-faint);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    line-height: 1;
}

.cp-file-x:hover[b-htgqr5of4p] {
    color: var(--cp-text);
}

/* --- footer row --- */

.cp-foot[b-htgqr5of4p] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--cp-hair);
}

.cp-comment-btn[b-htgqr5of4p] {
    border: 1px solid var(--cp-accent);
    background: none;
    color: var(--cp-accent);
    border-radius: 99px;
    height: 29px;
    padding: 0 15px;
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

.cp-comment-btn:hover[b-htgqr5of4p] {
    background: var(--cp-soft);
}

.cp-note-flag[b-htgqr5of4p] {
    font: 500 11.5px var(--font-mono);
    letter-spacing: 0.06em;
    color: var(--cp-warn);
}

.cp-foot-gap[b-htgqr5of4p] {
    flex: 1;
}

.cp-state[b-htgqr5of4p] {
    font: 400 11.5px var(--font-mono);
    color: var(--cp-faint);
}

.cp-state.ok[b-htgqr5of4p] {
    color: var(--cp-ok);
}

.cp-state.bad[b-htgqr5of4p] {
    color: var(--cp-bad);
}

/* --- comment thread --- */

.cp-thread[b-htgqr5of4p] {
    margin-top: 14px;
    border-top: 1px solid var(--cp-hair);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 660px;
    animation: cp-fade-in 0.2s ease both;
}

.cp-msg[b-htgqr5of4p] {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}

.cp-avatar[b-htgqr5of4p] {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 99px;
    background: var(--cp-soft);
    color: var(--cp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font: 600 9.5px var(--font-mono);
}

.cp-msg-main[b-htgqr5of4p] {
    flex: 1;
    min-width: 0;
}

.cp-msg-head[b-htgqr5of4p] {
    display: flex;
    gap: 9px;
    align-items: baseline;
}

.cp-msg-who[b-htgqr5of4p] {
    font: 600 12.5px var(--font-body);
    color: var(--cp-text);
}

.cp-msg-when[b-htgqr5of4p] {
    font: 400 11px var(--font-mono);
    color: var(--cp-faint);
}

.cp-msg-body[b-htgqr5of4p] {
    font-size: 13.3px;
    line-height: 1.55;
    color: var(--cp-dim);
    margin-top: 4px;
    white-space: pre-wrap;
}

.cp-compose[b-htgqr5of4p] {
    display: flex;
    gap: 9px;
    align-items: center;
}

.cp-compose-input[b-htgqr5of4p] {
    flex: 1;
    min-width: 0;
    height: 36px;
    background: var(--cp-field);
    border: 1px solid var(--cp-line);
    border-radius: 99px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--cp-text);
}

.cp-compose-input:focus[b-htgqr5of4p] {
    outline: none;
    border-color: var(--cp-accent);
}

.cp-compose-input[b-htgqr5of4p]::placeholder {
    color: var(--cp-ph);
}

.cp-send[b-htgqr5of4p] {
    border: 1px solid var(--cp-accent2);
    background: var(--cp-accent2);
    color: var(--text-on-brand);
    border-radius: 99px;
    height: 36px;
    padding: 0 17px;
    font: 600 10.5px var(--font-mono);
    letter-spacing: 0.11em;
    cursor: pointer;
    flex: none;
}

.cp-send:disabled[b-htgqr5of4p] {
    opacity: 0.45;
    cursor: not-allowed;
}

.cp-compose-error[b-htgqr5of4p] {
    font: 400 11.5px var(--font-mono);
    color: var(--cp-bad);
}

@media (max-width: 860px) {
    .cp-card-body[b-htgqr5of4p] {
        padding: 16px 15px 15px;
    }

    .cp-strip[b-htgqr5of4p] {
        padding: 10px 14px;
    }
}

/* Paperclip beside the comment box — a round button matching the send pill. */
.cp-attach[b-htgqr5of4p] {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--cp-line);
    border-radius: 99px;
    background: var(--cp-field);
    color: var(--cp-faint);
    cursor: pointer;
}

.cp-attach:hover[b-htgqr5of4p] {
    border-color: var(--cp-accent);
    color: var(--cp-accent);
}

.cp-attach[b-htgqr5of4p]  input[type=file] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cp-thread .cp-file[b-htgqr5of4p] {
    margin: 6px 0;
}
/* /Components/Pages/Privacy.razor.rz.scp.css */
.policy[b-77sr9pl1xp] {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 0 24px;
    color: var(--lv-fg);
}

.policy-head[b-77sr9pl1xp] {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--lv-hairline);
}

.policy-eyebrow[b-77sr9pl1xp] {
    display: block;
    font: 500 11px var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lv-violet-eyebrow);
}

.policy-title[b-77sr9pl1xp] {
    margin: 10px 0 0;
    font: 600 34px/1.15 var(--font-heading);
    letter-spacing: -0.02em;
}

.policy-sub[b-77sr9pl1xp] {
    margin: 12px 0 0;
    font: 400 16px/1.6 var(--font-ui);
    color: var(--lv-fg-60);
}

.policy-date[b-77sr9pl1xp] {
    margin: 16px 0 0;
    font: 400 12px var(--font-mono);
    color: var(--lv-fg-40);
}

.policy-section[b-77sr9pl1xp] {
    margin-top: 36px;
}

.policy-section h2[b-77sr9pl1xp] {
    margin: 0 0 12px;
    font: 600 19px/1.3 var(--font-body);
    letter-spacing: -0.01em;
}

.policy-section p[b-77sr9pl1xp] {
    margin: 0 0 12px;
    font: 400 15px/1.7 var(--font-ui);
    color: var(--lv-fg-60);
}

.policy-list[b-77sr9pl1xp] {
    margin: 0;
    padding-left: 20px;
}

.policy-list li[b-77sr9pl1xp] {
    margin-bottom: 8px;
    font: 400 15px/1.7 var(--font-ui);
    color: var(--lv-fg-60);
}

/* The table is the part an assessor reads first, so it stays a table on a phone
   rather than collapsing — it scrolls inside its own box instead. */
.policy-table-wrap[b-77sr9pl1xp] {
    overflow-x: auto;
    margin: 18px 0 14px;
    border: 1px solid var(--lv-line);
    border-radius: 10px;
    background: var(--lv-surface);
}

.policy-table[b-77sr9pl1xp] {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.policy-table th[b-77sr9pl1xp] {
    padding: 12px 16px;
    text-align: left;
    font: 500 11px var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lv-fg-40);
    border-bottom: 1px solid var(--lv-line);
}

.policy-table td[b-77sr9pl1xp] {
    padding: 16px;
    vertical-align: top;
    font: 400 14px/1.6 var(--font-ui);
    color: var(--lv-fg-60);
    border-bottom: 1px solid var(--lv-line-soft);
}

.policy-table tr:last-child td[b-77sr9pl1xp] {
    border-bottom: 0;
}

.policy-table td strong[b-77sr9pl1xp] {
    display: block;
    font-weight: 600;
    color: var(--lv-fg);
}

.policy-org[b-77sr9pl1xp] {
    display: block;
    margin-top: 2px;
    font: 400 11px var(--font-mono);
    color: var(--lv-fg-40);
}

.policy-note[b-77sr9pl1xp] {
    font-size: 14px;
}

.policy a[b-77sr9pl1xp] {
    color: var(--lv-violet-text);
}

@media (max-width: 720px) {
    .policy[b-77sr9pl1xp] {
        padding: 32px 0 16px;
    }

    .policy-title[b-77sr9pl1xp] {
        font-size: 27px;
    }
}
/* /Components/Shared/Avatar.razor.rz.scp.css */
.avatar[b-6m7ycxrn82] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--text-on-brand);
    font-weight: 600;
    letter-spacing: 0.02em;
    /* The palette is mid-tone by design, so white text always clears contrast
       without needing a per-colour luminance check. */
    line-height: 1;
    user-select: none;
}

.avatar-sm[b-6m7ycxrn82] {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
}

.avatar-md[b-6m7ycxrn82] {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
}
/* /Components/Shared/BrandWaves.razor.rz.scp.css */
.brand-waves[b-1a28mld616] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Long scrolling pages: the waves fill the first screen and fade out at the bottom
   instead of ending on a hard line where the page keeps going. */
.brand-waves--hero[b-1a28mld616] {
    bottom: auto;
    height: 100vh;
    min-height: 640px;
    -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent);
    mask-image: linear-gradient(to bottom, black 65%, transparent);
}

/* Parallax on scroll, pure CSS: over the first screen of scrolling the waves drift
   down at about half the page's speed and fade, while the top arc rises away faster.
   ponytail: scroll-driven animations (Chrome/Edge 115+, Safari 26); other browsers
   keep the static, faded waves. */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .brand-waves--hero[b-1a28mld616],
        .brand-waves--hero .wave-top[b-1a28mld616],
        .brand-waves--hero .wave-coral[b-1a28mld616] {
            animation-timing-function: linear;
            animation-fill-mode: both;
            animation-timeline: scroll(root);
            animation-range: 0 100vh;
        }

        .brand-waves--hero[b-1a28mld616] { animation-name: waves-lag-b-1a28mld616; }
        .brand-waves--hero .wave-top[b-1a28mld616] { animation-name: waves-rise-b-1a28mld616; }
        .brand-waves--hero .wave-coral[b-1a28mld616] { animation-name: waves-sink-b-1a28mld616; }
    }
}

@keyframes waves-lag-b-1a28mld616 {
    to { transform: translateY(45vh); opacity: 0.35; }
}

@keyframes waves-rise-b-1a28mld616 {
    to { transform: translateY(-160px); }
}

@keyframes waves-sink-b-1a28mld616 {
    to { transform: translateY(70px); }
}

/* Inside the landing page's dashboard card: softer, and the layers sway slowly
   against each other so the card feels alive. */
.brand-waves--card[b-1a28mld616] {
    opacity: 0.8;
}

@media (prefers-reduced-motion: no-preference) {
    .brand-waves--card .wave-peach[b-1a28mld616] { animation: waves-sway-b-1a28mld616 14s ease-in-out infinite alternate; }
    .brand-waves--card .wave-sage[b-1a28mld616] { animation: waves-sway-b-1a28mld616 18s ease-in-out infinite alternate-reverse; }
    .brand-waves--card .wave-coral[b-1a28mld616] { animation: waves-sway-b-1a28mld616 11s ease-in-out infinite alternate; }
    .brand-waves--card .wave-top[b-1a28mld616] { animation: waves-sway-b-1a28mld616 20s ease-in-out infinite alternate-reverse; }
}

/* scaled a touch wider than the card so the sway never uncovers its side edges */
.brand-waves--card path[b-1a28mld616] {
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes waves-sway-b-1a28mld616 {
    from { transform: translateX(-40px) translateY(6px) scaleX(1.1); }
    to { transform: translateX(40px) translateY(-6px) scaleX(1.1); }
}

.wave-top[b-1a28mld616] { fill: color-mix(in srgb, var(--brand-accent-soft) 30%, transparent); }
.wave-peach[b-1a28mld616] { fill: color-mix(in srgb, var(--brand-accent-soft) 40%, transparent); }
.wave-sage[b-1a28mld616] { fill: color-mix(in srgb, var(--brand-secondary) 20%, transparent); }
.wave-coral[b-1a28mld616] { fill: color-mix(in srgb, var(--brand-accent) 18%, transparent); }

.wave-line[b-1a28mld616] {
    fill: none;
    stroke: color-mix(in srgb, var(--brand-accent) 50%, transparent);
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
}
/* /Components/Shared/ConfirmDialog.razor.rz.scp.css */
.confirm-backdrop[b-8va0wlzzsa] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--scrim);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: backdrop-in-b-8va0wlzzsa 0.15s ease-out;
}

.confirm-box[b-8va0wlzzsa] {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 26rem;
    width: calc(100% - 2rem);
    padding: 1.6rem 1.8rem 1.5rem;
    animation: box-in-b-8va0wlzzsa 0.18s cubic-bezier(0.2, 1.2, 0.4, 1);
}

.confirm-title[b-8va0wlzzsa] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
    margin: 0 0 0.5rem;
}

.confirm-text[b-8va0wlzzsa] {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 1.4rem;
}

.confirm-actions[b-8va0wlzzsa] {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
}

.confirm-cancel[b-8va0wlzzsa] {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.confirm-cancel:hover[b-8va0wlzzsa] {
    border-color: var(--accent);
    color: var(--ink);
}

.confirm-danger[b-8va0wlzzsa] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-on-brand);
    background: var(--danger-ink);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.confirm-danger:hover[b-8va0wlzzsa] {
    background: color-mix(in srgb, var(--danger-ink) 85%, var(--text-primary));
}

@keyframes backdrop-in-b-8va0wlzzsa {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes box-in-b-8va0wlzzsa {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
.confirm-danger[b-8va0wlzzsa] {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-on-brand);
    background: var(--danger-ink);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
/* /Components/Shared/Dropdown.razor.rz.scp.css */
.dd-wrap[b-8q5sd4bcgc] {
    position: relative;
    display: inline-block;
}

.dd-wrap.block[b-8q5sd4bcgc] {
    display: block;
    width: 100%;
}

.dd-trigger[b-8q5sd4bcgc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
    text-align: left;
}

.dd-trigger[b-8q5sd4bcgc]::after {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--ink-soft);
    border-bottom: 1.5px solid var(--ink-soft);
    transform: translateY(-2px) rotate(45deg);
}

.dd-trigger:hover[b-8q5sd4bcgc] {
    border-color: var(--ink-soft);
}

.dd-trigger:focus-visible[b-8q5sd4bcgc] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.dd-trigger:disabled[b-8q5sd4bcgc] {
    opacity: 0.5;
    cursor: not-allowed;
}

.dd-trigger-text[b-8q5sd4bcgc] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dd-backdrop[b-8q5sd4bcgc] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.dd-menu[b-8q5sd4bcgc] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 50;
    min-width: 100%;
    max-height: 16rem;
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius, 8px);
    box-shadow: var(--shadow-lg);
    padding: 0.3rem;
    display: flex;
    flex-direction: column;
}

.dd-search[b-8q5sd4bcgc] {
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.3rem;
}

.dd-search:focus-visible[b-8q5sd4bcgc] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.dd-empty[b-8q5sd4bcgc] {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--ink-soft);
    padding: 0.5rem 0.7rem;
}

/* Actions pinned to the bottom of the menu — stays visible while options scroll. */
.dd-footer[b-8q5sd4bcgc] {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 0.55rem 0.7rem;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.dd-option[b-8q5sd4bcgc] {
    text-align: left;
    border: none;
    background: none;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

.dd-option:hover[b-8q5sd4bcgc] {
    background: var(--surface-2);
}

.dd-option.selected[b-8q5sd4bcgc] {
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-soft);
}
/* /Components/Shared/LoadingOverlay.razor.rz.scp.css */
.app-loader[b-02brgmwe6q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem;
}

.app-loader--full[b-02brgmwe6q] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 0;
    background: color-mix(in srgb, var(--paper) 70%, transparent);
    backdrop-filter: blur(2px);
}

.app-loader-rings[b-02brgmwe6q] {
    position: relative;
    width: 56px;
    height: 56px;
}

    .app-loader-rings div[b-02brgmwe6q] {
        position: absolute;
        border: 3px solid var(--accent);
        opacity: 1;
        border-radius: 50%;
        animation: app-loader-ring-b-02brgmwe6q 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .app-loader-rings div:nth-child(2)[b-02brgmwe6q] {
            animation-delay: -0.5s;
        }

.app-loader-text[b-02brgmwe6q] {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

@keyframes app-loader-ring-b-02brgmwe6q {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 56px;
        height: 56px;
        opacity: 0;
    }
}
/* /Components/Shared/RichTextEditor.razor.rz.scp.css */
/* Retheme Quill (Snow) onto the app's design tokens so it matches every other
   input and follows the light/dark theme. Quill injects its toolbar and editor at
   runtime, outside Blazor's CSS-isolation scope, so these reach in with ::deep. */
.rte[b-3z5upmrbag] {
    border-radius: var(--radius);
}

/* Toolbar */
.rte[b-3z5upmrbag]  .ql-toolbar.ql-snow {
    border: 1px solid var(--line);
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    background: var(--surface-2);
    font-family: var(--font-ui);
}

/* Editor container. Quill's base CSS sets height:100%; against the flex/grid
   wrapper that resolves to a fixed height, so the editor overflows and paints over
   the Save/Cancel buttons below it. Let it size to content instead. */
.rte[b-3z5upmrbag]  .ql-container.ql-snow {
    height: auto;
    border: 1px solid var(--line);
    border-top: none;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    background: var(--card);
    font-family: var(--font-ui);
    font-size: 0.92rem;
}

.rte[b-3z5upmrbag]  .ql-editor {
    min-height: 6rem;
    max-height: 22rem;
    color: var(--ink);
    line-height: 1.6;
}

.rte[b-3z5upmrbag]  .ql-editor.ql-blank::before {
    color: var(--ink-soft);
    font-style: normal;
}

.rte[b-3z5upmrbag]  .ql-editor a { color: var(--accent); }

/* Icons + pickers: stroke/fill/text map onto the theme, active state on accent */
.rte[b-3z5upmrbag]  .ql-snow .ql-stroke { stroke: var(--ink-soft); }
.rte[b-3z5upmrbag]  .ql-snow .ql-fill { fill: var(--ink-soft); }
.rte[b-3z5upmrbag]  .ql-snow .ql-picker { color: var(--ink-soft); }

.rte[b-3z5upmrbag]  .ql-snow.ql-toolbar button:hover .ql-stroke,
.rte[b-3z5upmrbag]  .ql-snow .ql-toolbar button:hover .ql-stroke,
.rte[b-3z5upmrbag]  .ql-snow.ql-toolbar button.ql-active .ql-stroke,
.rte[b-3z5upmrbag]  .ql-snow .ql-picker-label:hover,
.rte[b-3z5upmrbag]  .ql-snow .ql-picker-item:hover { stroke: var(--accent); color: var(--accent); }

.rte[b-3z5upmrbag]  .ql-snow.ql-toolbar button:hover .ql-fill,
.rte[b-3z5upmrbag]  .ql-snow.ql-toolbar button.ql-active .ql-fill { fill: var(--accent); }

/* Dropdown menus (heading/colour) inherit the card surface */
.rte[b-3z5upmrbag]  .ql-snow .ql-picker-options {
    background: var(--card);
    border-color: var(--line);
    color: var(--ink);
}
/* /Components/Shared/Toasts.razor.rz.scp.css */
.toast-stack[b-rl0e8quk8a] {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 26rem;
}

.toast[b-rl0e8quk8a] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 9px;
    padding: 0.9rem 1.15rem;
    box-shadow: var(--shadow-md);
    font-size: 0.98rem;
    color: var(--ink);
    cursor: pointer;
    /* Slide in fast, then fade out over the last 500ms of the 10s lifetime,
       landing on opacity 0 exactly as ToastService removes it. */
    animation: toast-in-b-rl0e8quk8a 160ms ease-out, toast-out-b-rl0e8quk8a 500ms ease-in 9.5s both;
}

/* Click dismiss: run the fade-out now instead of waiting for the 10s timeout. */
.toast-leaving[b-rl0e8quk8a] {
    animation: toast-out-b-rl0e8quk8a 400ms ease-in both;
}

.toast-success[b-rl0e8quk8a] { border-left-color: var(--good); }
.toast-error[b-rl0e8quk8a]   { border-left-color: var(--bad); }
.toast-warning[b-rl0e8quk8a] { border-left-color: var(--warning); }

.toast-text[b-rl0e8quk8a] {
    flex: 1;
    line-height: 1.4;
}

.toast-close[b-rl0e8quk8a] {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.2;
    cursor: pointer;
    padding: 0;
}

.toast-close:hover[b-rl0e8quk8a] {
    color: var(--ink);
}

@keyframes toast-in-b-rl0e8quk8a {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

@keyframes toast-out-b-rl0e8quk8a {
    to { opacity: 0; transform: translateY(-6px); }
}
