/* _content/Ledgerwise/Components/Account/Pages/ForgotPassword.razor.rz.scp.css */
/* Source: ledgerwise-app src/app/(auth)/forgot-password/page.tsx.
   Page-level layout + typography only — field/button chrome lives in the
   LwTextField / LwButton atoms. Spec mirrors Login (h1 22px/32px/700
   tracking-tight; gaps 40/16px); subtitle here is MUTED-foreground (unlike
   Login's, which is foreground); back link 14px/600 foreground, centered,
   hover -> brand accent. */

.lw-fp[b-puqv7ccjt1]  .lw-fp-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: var(--lw-font-family);
    color: var(--lw-gray-phantom);
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-fields {
    display: flex;
    flex-direction: column;
    /* 16px + 4px internal space below MudBlazor's input control = 20px. */
    gap: 16px;
}

.lw-fp[b-puqv7ccjt1]  .mud-typography {
    font-family: inherit;
    color: var(--lw-gray-phantom);
}

.lw-fp[b-puqv7ccjt1]  h5.mud-typography {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -0.025em; /* tracking-tight */
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-sub {
    color: var(--lw-gray-space); /* text-muted-foreground */
    line-height: 22px;
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-validation {
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-status-error-fg);
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    color: var(--lw-gray-phantom);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lw-fp[b-puqv7ccjt1]  .lw-fp-back:hover {
    color: var(--lw-primary-blue);
}
/* _content/Ledgerwise/Components/Account/Pages/Login.razor.rz.scp.css */
/* Source: ledgerwise-app src/app/(auth)/login/page.tsx.
   Page-level layout + typography only — field/button chrome lives in the
   LwTextField / LwButton atoms (Components/Shared/Atoms). */

.lw-login[b-qhs3rru1rn]  .lw-login-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: var(--lw-font-family);
    color: var(--lw-gray-phantom);
}

.lw-login[b-qhs3rru1rn]  .lw-login-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lw-login[b-qhs3rru1rn]  .lw-login-fields {
    display: flex;
    flex-direction: column;
    /* 16px + 4px internal space below MudBlazor's input control = 20px
       effective, matching ledgerwise-app's gap-5. */
    gap: 16px;
}

.lw-login[b-qhs3rru1rn]  .mud-typography {
    font-family: inherit;
    color: var(--lw-gray-phantom);
}

.lw-login[b-qhs3rru1rn]  h5.mud-typography {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -0.025em; /* tracking-tight */
}

/* Mud's color helper classes on links are !important; match specificity. */
.lw-login[b-qhs3rru1rn]  a.mud-link {
    font-family: inherit;
    color: var(--lw-primary-dark) !important;
    font-weight: 600;
}

.lw-login[b-qhs3rru1rn]  a.lw-login-forgot {
    color: var(--lw-gray-phantom) !important;
    font-weight: 400;
    text-decoration: underline;
}

/* AB#638: staff-account auto-redirect step (email-first routing to Entra ID). */
.lw-login[b-qhs3rru1rn]  .lw-login-sso-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lw-login[b-qhs3rru1rn]  .lw-login-sso-message {
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Account/Pages/Register.razor.rz.scp.css */
/* Source: ledgerwise-app src/app/(auth)/register/page.tsx.
   Page-level layout + typography only — chrome lives in the atoms.
   Ref: header gaps as Login; fields = outer gap-6 (24px) wrapping an inner
   gap-5 (20px effective) group of text fields. */

.lw-reg[b-87om8yd10z]  .lw-reg-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: var(--lw-font-family);
    color: var(--lw-gray-phantom);
}

.lw-reg[b-87om8yd10z]  .lw-reg-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lw-reg[b-87om8yd10z]  .lw-reg-fields {
    display: flex;
    flex-direction: column;
    gap: 24px; /* ref gap-6 between field group / terms / error / button */
}

.lw-reg[b-87om8yd10z]  .lw-reg-fieldgroup {
    display: flex;
    flex-direction: column;
    /* 16px + 4px Mud internal space = 20px effective (ref gap-5) */
    gap: 16px;
}

.lw-reg[b-87om8yd10z]  .mud-typography {
    font-family: inherit;
    color: var(--lw-gray-phantom);
}

.lw-reg[b-87om8yd10z]  h5.mud-typography {
    font-size: 22px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -0.025em; /* tracking-tight */
}

/* Mud's color helper classes on links are !important; match specificity. */
.lw-reg[b-87om8yd10z]  a.mud-link {
    font-family: inherit;
    color: var(--lw-primary-dark) !important;
    font-weight: 600;
}

.lw-reg[b-87om8yd10z]  .lw-reg-validation {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-status-error-fg);
}

/* Proposal-acceptance variant -- reference invite-accept page
   (src/app/(invite)/invite/[token]/accept/page.tsx, measured 2026-07-19):
   invite layout = full-height muted surface, centered max-w-[420px] column
   (top-aligned mobile, centered md+); header gap-2, title text-xl md:2xl
   bold tracking-tight, sub 14/relaxed w/ font-medium foreground strong;
   form mt-6 md:mt-8 gap-5. */

.reg-invite[b-87om8yd10z] {
    min-height: 100dvh;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--lw-bg-muted);
    padding: 32px 20px;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .reg-invite[b-87om8yd10z] { align-items: center; padding: 40px 20px; }
}

.reg-invite__col[b-87om8yd10z] {
    width: 100%;
    max-width: 420px;
}

.reg-invite[b-87om8yd10z]  .reg-invite__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reg-invite[b-87om8yd10z]  .reg-invite__title {
    margin: 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}

@media (min-width: 768px) {
    .reg-invite[b-87om8yd10z]  .reg-invite__title { font-size: 1.5rem; }
}

.reg-invite[b-87om8yd10z]  .reg-invite__sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.reg-invite[b-87om8yd10z]  .reg-invite__sub strong {
    font-weight: 500;
    color: var(--lw-text-primary);
}

.reg-invite[b-87om8yd10z]  .reg-invite__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: var(--lw-font-family);
}

@media (min-width: 768px) {
    .reg-invite[b-87om8yd10z]  .reg-invite__form { gap: 32px; }
}

.reg-invite[b-87om8yd10z]  .reg-invite__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reg-invite[b-87om8yd10z]  .reg-invite__alt {
    margin: 0;
    font-size: 0.875rem;
    line-height: 22px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Layout/MainLayout.razor.rz.scp.css */
/* ================================================================
   MainLayout -- shell styles
   ================================================================ */

/* AppBar styling (border, height, toolbar padding) lives in wwwroot/app.css --
   MudAppBar is a subcomponent so it never receives this file's scope attribute. */

/* -- Sidebar toggle (inline in header) -- */
.lw-header-toggle[b-abq463np8y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    padding: 0;
    transition: color 0.15s;
}

.lw-header-toggle:hover[b-abq463np8y] {
    color: var(--lw-text-primary);
}

/* -- Breadcrumb -- */
.lw-breadcrumb[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
    line-height: 22px;
}

.lw-breadcrumb-root[b-abq463np8y] {
    color: var(--lw-text-primary);
    text-decoration: none;
    transition: color 0.15s;
}

.lw-breadcrumb-root:hover[b-abq463np8y] {
    color: var(--lw-gray-graphite);
}

.lw-breadcrumb-sep[b-abq463np8y] {
    /* ledgerwise-ui: lucide ChevronRight 14px, muted-foreground */
    color: var(--lw-gray-space);
    flex-shrink: 0;
}

.lw-breadcrumb-current[b-abq463np8y] {
    color: var(--lw-gray-space);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -- Header round icon button (help; bell later) -- reference:
   ledgerwise-ui button.tsx variant ghost + size icon-round ("size-8
   rounded-full"), text-content-secondary, hover:bg-accent
   (rgba(145,158,171,.16) -- same fill as the account trigger hover). */
.lw-header-iconbtn[b-abq463np8y] {
    align-items: center;
    border-radius: 9999px;
    color: var(--lw-gray-graphite);
    display: flex;
    height: 32px;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
    width: 32px;
}

.lw-header-iconbtn:hover[b-abq463np8y] {
    background-color: rgba(145, 158, 171, 0.16);
    color: var(--lw-gray-graphite);
    text-decoration: none;
}

/* The class was born on an <a> (help); the assistant trigger (US-693) is a
   <button>, which brings default UA border/background/padding to neutralize. */
button.lw-header-iconbtn[b-abq463np8y] {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* -- Give feedback -- small labeled outline button (reference:
   ledgerwise-ui button.tsx variant outline + size sm: h-7, px-2.5,
   0.8rem, border-border, bg-background, hover:bg-muted, 14px icon). */
.lw-header-feedback[b-abq463np8y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    margin-left: 4px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lw-header-feedback:hover[b-abq463np8y] {
    background: var(--lw-bg-muted);
}

.lw-header-feedback svg[b-abq463np8y] {
    flex-shrink: 0;
}

/* -- Account menu separator -- */
.lw-header-account-sep[b-abq463np8y] {
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(145, 158, 171, 0.2);
    padding-left: 12px;
    margin-left: 4px;
}

/* -- Account trigger button -- */
.lw-account-trigger[b-abq463np8y] {
    border-radius: 9999px; /* reference trigger is a pill (rounded-full) */
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    padding: 6px 10px;
    font-family: var(--lw-font-family, sans-serif);
    transition: border-color 0.2s, background-color 0.2s;
}

.lw-account-trigger:hover[b-abq463np8y],
.lw-account-trigger-open[b-abq463np8y] {
    border-color: rgba(145, 158, 171, 0.2);
    background-color: rgba(145, 158, 171, 0.16);
}

.lw-account-avatar[b-abq463np8y] {
    border-radius: 9999px; /* person avatar = circle (ledgerwise-ui avatar.tsx) */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-color: var(--lw-primary-blue);
}

.lw-account-initials[b-abq463np8y] {
    font-size: 10px;
    font-weight: 600;
    color: var(--lw-white);
    line-height: 1;
}

.lw-account-name[b-abq463np8y] {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 22px;
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.lw-account-chevron[b-abq463np8y] {
    color: var(--lw-gray-space);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.lw-account-trigger:hover .lw-account-chevron[b-abq463np8y],
.lw-account-trigger-open .lw-account-chevron[b-abq463np8y] {
    color: var(--lw-gray-graphite);
}

.lw-account-chevron-open[b-abq463np8y] {
    transform: rotate(180deg);
}

/* -- Account dropdown (fixed, outside stacking contexts) -- */
.lw-account-backdrop[b-abq463np8y] {
    position: fixed;
    inset: 0;
    z-index: 1999;
}

@keyframes lw-account-dropdown-in-b-abq463np8y {
    from { opacity: 0; transform: scale(0.95) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.lw-account-dropdown[b-abq463np8y] {
    transform-origin: top right;
    animation: lw-account-dropdown-in-b-abq463np8y 150ms ease-out both;
    position: fixed;
    top: 60px; /* small gap below the 56px bar, like the reference */
    right: 24px;
    width: 231px;
    border-radius: var(--lw-radius-card); /* reference rounded-card = 8px */
    overflow: hidden;
    background: var(--lw-white);
    padding: 8px 0;
    z-index: 2000;
    box-shadow: 0px 0px 2px rgba(145, 158, 171, 0.24), -20px 20px 40px rgba(145, 158, 171, 0.24);
}

.lw-account-info-row[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
}

.lw-account-avatar-lg[b-abq463np8y] {
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: var(--lw-primary-blue);
}

.lw-account-initials-lg[b-abq463np8y] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-white);
}

.lw-account-info-text[b-abq463np8y] {
    min-width: 0;
    flex: 1;
}

.lw-account-info-name[b-abq463np8y] {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 22px;
    color: var(--lw-text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-account-info-email[b-abq463np8y] {
    font-size: 0.875rem;
    line-height: 22px;
    color: var(--lw-gray-graphite);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-account-divider[b-abq463np8y] {
    border-top: 1px solid rgba(145, 158, 171, 0.2);
    margin: 0 8px;
}

.lw-account-item[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 6px 20px;
    font-size: 0.875rem;
    line-height: 22px;
    color: var(--lw-text-primary);
    text-decoration: none;
    transition: background-color 0.15s;
    font-family: var(--lw-font-family, sans-serif);
}

.lw-account-item:hover[b-abq463np8y] {
    background-color: rgba(145, 158, 171, 0.16);
}

.lw-account-item svg[b-abq463np8y] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.lw-account-logout-form[b-abq463np8y] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lw-account-item-btn[b-abq463np8y] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    padding: 6px 20px !important;
    font-size: 0.875rem !important;
    line-height: 22px !important;
    color: var(--lw-text-primary) !important;
    font-family: var(--lw-font-family, sans-serif) !important;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
    transition: background-color 0.15s;
}

.lw-account-item-btn:hover[b-abq463np8y] {
    background-color: rgba(145, 158, 171, 0.16);
}

.lw-account-item-btn svg[b-abq463np8y] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

/* -- Drawer (sidebar) -- */
[b-abq463np8y] .lw-drawer,
[b-abq463np8y] .lw-drawer.mud-drawer {
    background-color: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

[b-abq463np8y] .lw-drawer .mud-drawer-content,
[b-abq463np8y] .mud-drawer.lw-drawer .mud-drawer-content {
    background-color: var(--lw-primary-dark, #020B2B);
}

/* -- Drawer header / logo area -- */
[b-abq463np8y] .lw-drawer-header {
    background-color: var(--lw-primary-dark, #020B2B);
    padding: 0 24px;
    min-height: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lw-brand-link[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lw-brand-link-mini[b-abq463np8y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.lw-brand-emblem[b-abq463np8y] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Full wordmark (emblem + "Ledgerwise") shown in the expanded drawer. The
   wordmark glyphs are baked into the SVG so the brand typeface renders exactly
   as designed -- do NOT substitute an HTML text span in a web font. Matches
   ledgerwise-ui's side-nav: h-6 (24px) w-auto. */
.lw-brand-full[b-abq463np8y] {
    height: 24px;
    width: auto;
    display: block;
}

/* -- Main content area -- */
/* Match ledgerwise-ui's <main className="...bg-muted">: the full-bleed content
   area carries the muted (#F0F3F6) background, and the centered .lw-content-shell
   sits transparently on top. Painting white here (the old behavior) clipped each
   page's own muted wrap to the 1400px shell, producing a gray-on-white boundary. */
/* WARNING (verified via live DOM, 2026-07-12): these ::deep rules NEVER
   MATCH -- MainLayout has no plain ancestor element above MudMainContent to
   carry the scope attribute, so this block is dead code. The live
   main-content height-chain rules are in wwwroot/css/mudblazor-overrides.css.
   Kept for the record of intent (muted bg / 1400px cap were never applied);
   deleting or resurrecting them is a separate, visible design decision. */
[b-abq463np8y] .lw-main-content {
    background-color: var(--lw-bg-muted);
    min-height: 100vh;
    font-family: var(--lw-font-family, sans-serif);
}

/* Match ledgerwise-ui: center page content and cap at 1400px instead of
   stretching edge-to-edge. MudBlazor's MaxWidth enum has no 1400px step,
   so this is applied as a class override. */
[b-abq463np8y] .lw-content-shell {
    max-width: 1400px;
    margin-inline: auto;
}

/* -- Admin shadow banner -- */
/* Plain element authored in MainLayout.razor, so (unlike the dead ::deep rules
   above) these scoped selectors match. Restyled 2026-07-28 off the solid gold
   strip onto the status-warning tint vocabulary (same family as the warning
   StatusChip/LwCardNote): soft amber band, warning-fg text, outline-action
   stop button. */
.lw-shadow-banner[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background-color: var(--lw-status-warning-bg);
    border-bottom: 1px solid var(--lw-border);
    color: var(--lw-status-warning-fg);
    font-family: var(--lw-font-family, sans-serif);
    font-size: 13px;
    line-height: 18px;
}

.lw-shadow-banner svg[b-abq463np8y] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.lw-shadow-banner-text strong[b-abq463np8y] {
    font-weight: 600;
}

/* US-825: the admin holds a white-glove membership on the shadowed builder (full
   team access). Gold keeps it visually distinct from the warning-toned view shadow. */
.lw-shadow-banner--white-glove[b-abq463np8y] {
    background-color: var(--lw-primary-gold);
    color: var(--lw-primary-gold-fg);
}

.lw-shadow-banner-stop[b-abq463np8y] {
    margin-left: auto;
    flex-shrink: 0;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    border-radius: var(--lw-radius-control, 8px);
    padding: 4px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lw-shadow-banner-stop:hover[b-abq463np8y] {
    background-color: var(--lw-bg-muted);
}

/* -- Error UI --
   Blazor toggles #blazor-error-ui with an inline display:block, so the flex
   layout lives on the inner row. Styled as the canonical navy toast surface
   (lw-snackbar.css) instead of the template's lightyellow, where inherited
   white text was unreadable (US-926). Full-width bottom bar at every size;
   the row wraps on phones so Reload never clips. */
#blazor-error-ui[b-abq463np8y] {
    color-scheme: light only;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    bottom: 0;
    /* Upward shadow: --lw-shadow-lg's navy at 15%, cast above the bar. */
    box-shadow: 0 -4px 12px color-mix(in srgb, var(--lw-primary-dark) 15%, transparent);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 12px 16px;
    position: fixed;
    width: 100%;
    z-index: 1600; /* above toasts (1500) and Mud dialogs (~1400) */
}

.lw-error-ui-row[b-abq463np8y] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 36px; /* room for the absolutely placed dismiss */
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.lw-error-ui-text[b-abq463np8y] {
    margin: 0;
    color: var(--lw-white);
}

#blazor-error-ui .reload[b-abq463np8y] {
    color: var(--lw-primary-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#blazor-error-ui .reload:hover[b-abq463np8y] {
    color: var(--lw-white);
}

#blazor-error-ui .dismiss[b-abq463np8y] {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--lw-white) 60%, transparent);
    cursor: pointer;
}

#blazor-error-ui .dismiss:hover[b-abq463np8y] {
    color: var(--lw-white);
}

/* ================================================================
   Mobile shell -- mirrors ledgerwise-ui mobile-header.tsx +
   mobile-drawer.tsx. Everything below is gated by media queries:
   mobile bits render < 768px; desktop bits hide there.
   ================================================================ */

.lw-mobile-menu-btn[b-abq463np8y],
.lw-mobile-emblem[b-abq463np8y] {
    display: none;
}

/* Backdrop: black/40 + blur (reference), above the appbar. */
.lw-mobile-backdrop[b-abq463np8y] {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

.lw-mobile-backdrop.lw-open[b-abq463np8y] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Sheet: full width, slides from the top, max 85vh. Mounted once and toggled
   via .lw-open so NavMenu state survives; transform transition gives enter
   AND exit animation. */
.lw-mobile-sheet[b-abq463np8y] {
    display: none;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 2600;
    max-height: 85vh;
    flex-direction: column;
    background: var(--lw-white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1.1, 0.36, 1), visibility 0.3s;
    pointer-events: none;
}

.lw-mobile-sheet.lw-open[b-abq463np8y] {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.lw-mobile-sheet-header[b-abq463np8y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    flex-shrink: 0;
    padding: 0 16px;
    border-bottom: 1px solid var(--lw-border);
}

.lw-mobile-sheet-logo[b-abq463np8y] {
    height: 26px;
    width: auto;
}

.lw-mobile-sheet-close[b-abq463np8y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--lw-gray-space);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-mobile-sheet-close:hover[b-abq463np8y] {
    background: var(--lw-bg-muted);
    color: var(--lw-text-primary);
}

.lw-mobile-sheet-nav[b-abq463np8y] {
    flex: 1;
    min-height: 0; /* lets the list shrink inside the 85vh sheet so it scrolls instead of pushing the footer off */
    overflow-y: auto;
    overscroll-behavior: contain; /* US-1043: a scroll at the list's end must not scroll the page under the backdrop */
}

.lw-mobile-divider[b-abq463np8y] {
    border-top: 1px solid var(--lw-border);
    margin: 0 16px;
}

/* Footer: user row + actions (reference mobile-drawer account footer). */
.lw-mobile-sheet-footer[b-abq463np8y] {
    flex-shrink: 0;
    border-top: 1px solid var(--lw-border);
    padding-bottom: 8px;
}

.lw-mobile-user-row[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

.lw-mobile-user-avatar[b-abq463np8y] {
    width: 36px;
    height: 36px;
}

.lw-mobile-user-avatar .lw-account-initials[b-abq463np8y] {
    font-size: 13px;
}

.lw-mobile-user-text[b-abq463np8y] {
    min-width: 0;
    flex: 1;
}

.lw-mobile-user-name[b-abq463np8y] {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-mobile-user-email[b-abq463np8y] {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-mobile-action[b-abq463np8y] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.lw-mobile-action svg[b-abq463np8y] {
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.lw-mobile-action:active[b-abq463np8y],
.lw-mobile-action:hover[b-abq463np8y] {
    background: var(--lw-bg-muted);
}

.lw-mobile-logout-form[b-abq463np8y] {
    display: block;
    margin: 0;
    padding: 0;
}

.lw-mobile-action-btn[b-abq463np8y] {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    /* native buttons center their content; align like the anchor rows */
    justify-content: flex-start;
    text-align: left;
}

/* -- Breakpoint wiring -- */
@media (max-width: 767.98px) {
    .lw-mobile-menu-btn[b-abq463np8y] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        color: var(--lw-text-primary);
        cursor: pointer;
        padding: 0;
    }

    .lw-mobile-emblem[b-abq463np8y] {
        display: block;
        width: 20px;
        height: 20px;
        margin-left: 4px;
    }

    .lw-mobile-backdrop[b-abq463np8y] { display: block; }
    .lw-mobile-sheet[b-abq463np8y] { display: flex; }

    /* Hide desktop-only appbar parts (reference mobile header: hamburger +
       emblem left, compact account right -- no toggle/breadcrumb). */
    .lw-header-toggle[b-abq463np8y],
    .lw-breadcrumb[b-abq463np8y],
    .lw-header-feedback[b-abq463np8y] {
        display: none;
    }

    /* Compact account trigger: avatar only (24px, no name/chevron/divider). */
    .lw-header-account-sep[b-abq463np8y] {
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
    }

    .lw-account-name[b-abq463np8y],
    .lw-account-chevron[b-abq463np8y] {
        display: none;
    }

    .lw-account-trigger[b-abq463np8y] {
        padding: 6px;
    }

    /* Header trigger only -- the sheet footer avatar (.lw-mobile-user-avatar)
       shares .lw-account-avatar and must stay 36px. */
    .lw-account-trigger .lw-account-avatar[b-abq463np8y] {
        width: 24px;
        height: 24px;
    }

    /* US-1043: 16px phone gutter (O10); 231px + 16px still clears a 360px viewport,
       and the max-width guards any narrower screen. */
    .lw-account-dropdown[b-abq463np8y] {
        right: 16px;
        max-width: calc(100vw - 32px);
    }

    /* US-1043 (1.4): the shadow banner wraps on phones -- icon + sentence on the
       first row, "Stop shadowing" on its own full-width 44px row below (A3) instead
       of squeezing the sentence beside it. */
    .lw-shadow-banner[b-abq463np8y] {
        flex-wrap: wrap;
        padding: 8px 16px;
    }

    .lw-shadow-banner-text[b-abq463np8y] {
        flex: 1 1 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .lw-shadow-banner-stop[b-abq463np8y] {
        flex: 0 0 100%;
        width: 100%;
        min-height: 44px;
        margin-left: 0;
        margin-top: 4px;
    }
}
/* _content/Ledgerwise/Components/Layout/NavMenu.razor.rz.scp.css */
/* ================================================================
   NavMenu -- mirrors ledgerwise-ui nav-item.tsx + nav-category-header.tsx
   Source tokens: ledgerwise-ui/src/app/globals.css :root sidebar-* vars
   ================================================================ */

/* -- Outer wrappers -- px-2 pt-4 (8px horizontal, 16px top) -- */
.lw-nav-wrapper[b-78vpinrwl0] {
    padding: 16px 8px 0 8px;
}

[b-78vpinrwl0] .lw-nav-menu,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-menu {
    padding: 0;
}

/* side-nav.tsx list: flex-col gap-0.5 (2px between items) */
[b-78vpinrwl0] .lw-nav-menu .mud-nav-menu,
[b-78vpinrwl0] .lw-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-78vpinrwl0] .lw-nav-menu .mud-nav-link {
    /* nav-item.tsx (2026-07-10 rev): gap-3 px-3 py-3 rounded-md(8px) */
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 0;
    border-radius: var(--lw-radius-control);

    /* label: text-sm / 500 / 22px */
    font-family: var(--lw-font-family, sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;

    color: var(--lw-sidebar-text-muted);
    transition: background-color 150ms, color 150ms;
}

[b-78vpinrwl0] .lw-nav-menu .mud-nav-link:hover {
    background-color: var(--lw-sidebar-hover-bg);
    color: var(--lw-sidebar-text-hover);
}

/* Mirror Mud's own high-specificity active selector
   (.mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(...)) or its
   palette colors win over ours. */
[b-78vpinrwl0] .lw-nav-menu.mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled),
[b-78vpinrwl0] .lw-nav-menu.mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled):hover:not(.mud-nav-link-disabled) {
    background-color: var(--lw-sidebar-active-bg);
    color: var(--lw-sidebar-text-active);
    font-weight: 500;
}

/* Active item's tapered gold accent bar (nav-item.tsx: 4px warning-solid,
   inset 6px top/bottom, angled ends via clip-path). */
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lw-warning-solid);
    clip-path: polygon(0 0, 100% 3px, 100% calc(100% - 3px), 0 100%);
}

/* Icons -- Icon className="size-[18px] shrink-0" */
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link .mud-nav-link-icon,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link .mud-nav-link-icon .mud-icon-root,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link .mud-icon-root {
    color: var(--lw-sidebar-text-muted) !important;
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    margin-right: 0;
}

/* Mud adds margin-inline-start: 12px to the label span, which stacks on the
   12px flex gap above and doubles the icon-label distance -- zero it so the
   gap alone matches nav-item.tsx gap-3 (12px).
   Mud also wraps ALL child content (label + count badge) in this one span, so
   it has to stretch and lay out as a flex row for the badge's margin-left:auto
   to push it to the right edge of the nav row. */
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link .mud-nav-link-text {
    margin-left: 0;
    margin-inline-start: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

[b-78vpinrwl0] .lw-nav-menu .mud-nav-link:hover .mud-nav-link-icon,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link:hover .mud-nav-link-icon .mud-icon-root,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link:hover .mud-icon-root {
    color: var(--lw-sidebar-text-hover) !important;
}

[b-78vpinrwl0] .lw-nav-menu .mud-nav-link.active .mud-nav-link-icon,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link.active .mud-nav-link-icon .mud-icon-root,
[b-78vpinrwl0] .lw-nav-menu .mud-nav-link.active .mud-icon-root {
    color: var(--lw-sidebar-text-active) !important;
}

/* Section headers -- nav-category-header.tsx: pl-4 py-2, text-xs font-bold uppercase leading-[18px] */
[b-78vpinrwl0] .lw-nav-section-label {
    font-family: var(--lw-font-family, sans-serif);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    padding: 8px 0 8px 16px;
    margin: 0;
    user-select: none;
}

/* Nav count badge -- rendered by the shared CountBadge (Sidebar tone);
   NavMenu only owns its right-alignment within the nav row. */
[b-78vpinrwl0] .lw-nav-badge-pos {
    margin-left: auto;
}

/* -- Bottom section pinned to drawer bottom -- workspace-badge.tsx container: border-t p-2 (2026-07-12) -- */
.lw-nav-bottom[b-78vpinrwl0] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--lw-primary-dark);
}

/* -- Workspace badge pinned at bottom of sidebar -- workspace-badge.tsx link: gap-3 px-2.5 py-2 rounded-md border border-transparent -- */
.lw-workspace-badge[b-78vpinrwl0] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: var(--lw-radius-control);
    text-decoration: none;
    transition: background-color 200ms, border-color 200ms;
}

.lw-workspace-badge:hover[b-78vpinrwl0] {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.lw-workspace-collapsed[b-78vpinrwl0] {
    justify-content: center;
    padding: 8px;
}

.lw-workspace-avatar[b-78vpinrwl0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
    background: linear-gradient(135deg, var(--lw-primary-blue) 0%, var(--lw-primary-blue-light) 50%, var(--lw-primary-gold) 100%);
}

.lw-workspace-initials[b-78vpinrwl0] {
    font-family: var(--lw-font-family, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--lw-white);
}

.lw-workspace-info[b-78vpinrwl0] {
    min-width: 0;
    flex: 1;
}

.lw-workspace-name[b-78vpinrwl0] {
    font-family: var(--lw-font-family, sans-serif);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--lw-sidebar-text-active);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-workspace-role[b-78vpinrwl0] {
    font-family: var(--lw-font-family, sans-serif);
    font-size: 11px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-workspace-logo[b-78vpinrwl0] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: var(--lw-radius-control);
}

.lw-workspace-caret[b-78vpinrwl0] {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.48);
    transition: transform 200ms, color 200ms;
}

.lw-workspace-badge:hover .lw-workspace-caret[b-78vpinrwl0] {
    color: var(--lw-sidebar-text-active);
    transform: translateX(2px);
}

/* ================================================================
   Mobile-sheet variant -- mirrors ledgerwise-ui mobile-nav-item.tsx +
   mobile-drawer.tsx: light surface, full-bleed rows (15px/500, 20px
   icons), brand-accent active state with a 3px straight left bar.
   ================================================================ */
.lw-nav-mobile[b-78vpinrwl0] {
    padding: 8px 0;
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu,
.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-menu {
    gap: 0;
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-link {
    position: relative;
    border-radius: 0;
    min-height: 44px; /* US-1043: phone tap target (A3) */
    padding: 12px 16px;
    gap: 12px;
    font-size: 15px;
    color: var(--lw-text-primary);
}

/* US-1043: Mud's label span is overflow:hidden; keep the label the shrinking part so
   the count badge (margin-left:auto, flex-shrink:0) always sits fully inside the row's
   16px trailing gutter instead of being pushed out of the clipped span. */
.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-link .mud-nav-link-text > span:first-child {
    min-width: 0;
    padding-right: 12px; /* minimum label-to-badge gap; the badge's margin-left:auto does the rest */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-link .mud-icon-root {
    color: var(--lw-text-primary) !important;
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-link:hover {
    background-color: var(--lw-bg-muted);
    color: var(--lw-text-primary);
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu.mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled),
.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu.mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled):hover:not(.mud-nav-link-disabled) {
    background-color: var(--lw-status-primary-bg);
    color: var(--lw-primary-blue);
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu.mud-navmenu .mud-nav-link.active:not(.mud-nav-link-disabled) .mud-icon-root {
    color: var(--lw-primary-blue) !important;
}

/* Straight 3px accent bar, full row height (no taper on mobile). */
.lw-nav-mobile[b-78vpinrwl0]  .lw-nav-menu .mud-nav-link.active::before {
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lw-primary-blue);
    clip-path: none;
}

/* US-1020: the company badge as the sheet's last row -- same full-bleed row recipe as the
   links above (12px 16px, 15px/500), on the light surface. */
.lw-nav-mobile[b-78vpinrwl0]  .lw-workspace-badge {
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--lw-border);
    margin-top: 4px;
    padding: 12px 16px;
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-workspace-badge:hover {
    background-color: var(--lw-bg-muted);
    border-color: var(--lw-border);
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-workspace-name {
    font-size: 15px;
    color: var(--lw-text-primary);
}

.lw-nav-mobile[b-78vpinrwl0]  .lw-workspace-role,
.lw-nav-mobile[b-78vpinrwl0]  .lw-workspace-caret {
    color: var(--lw-gray-graphite);
}

/* _content/Ledgerwise/Components/Layout/OnboardingLayout.razor.rz.scp.css */
/* ============================================================
   OnboardingLayout -- dark navy wizard rail + content area
   Rail source: ledgerwise-app src/components/organisms/onboarding/
   wizard-shell.tsx + onboarding-step-nav.tsx + atoms/step-donut-ring.tsx
   Measured 2026-07-13 (localhost:3005/sub/onboarding):
   - rail var(--lw-wizard-rail-width), bg #020B2B
   - logo header 56px, border-b rgba(255,255,255,.1), px 24, logo 157x24
   - progress: px 24 / pt 20; label 12/18 #B8C9D6, count 12/18 #5C7080,
     6px gap to track; track 6px, radius full, rgba(249,250,251,.3);
     fill = 90deg gradient #3980A5 -> #5BA3C4 -> #EEB66F, 200% size shimmer
   - step nav: px 12 / pt 16, row gap 2; rows 48px (pad 10/12, radius 8,
     flex gap 12), icon box 28px w/ 16px icon, label 14/22 medium
   - state tiers (white alpha): current icon/label #fff on
     rgba(255,255,255,.12) + 4px gold #C9872A tapered notch (inset 6px);
     completed .7/.8; available .5/.6; locked .2/.3
   - donut 18px stroke 2: complete = filled #3980A5 + 10px check;
     current = breathing rgba(255,255,255,.15); locked/upcoming = .08 ring

   All values reference design tokens from wwwroot/css/branding.css
   where a token exists. Do not redefine brand colors here.
   ============================================================ */

/* -- Shell -- */
.ob-shell[b-ws7rt4aygf] {
    display: flex;
    height: 100vh;
    background-color: var(--lw-bg-muted);
}

/* -- Sidebar (dark navy rail) -- */
.ob-sidebar[b-ws7rt4aygf] {
    flex: 0 0 var(--lw-wizard-rail-width);
    max-width: var(--lw-wizard-rail-width);
    display: flex;
    flex-direction: column;
    background-color: var(--lw-primary-dark);
    overflow: hidden;
}

/* Logo header -- h-14, bottom hairline, full logo pinned 157x24 */
.ob-sidebar__logo[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    height: 56px;
    flex-shrink: 0;
    padding: 0 24px;
    border-bottom: 1px solid var(--lw-sidebar-border);
}

[b-ws7rt4aygf] .ob-sidebar__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

[b-ws7rt4aygf] .ob-sidebar__logo-img {
    width: 157px;
    height: 24px;
    display: block;
}

/* Setup progress -- px-6 pt-5, label row then 6px-gapped track */
.ob-sidebar__progress[b-ws7rt4aygf] {
    flex-shrink: 0;
    padding: 20px 24px 0;
}

.ob-sidebar__progress-text[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ob-sidebar__progress-title[b-ws7rt4aygf] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--lw-sidebar-text-hover);
}

.ob-sidebar__progress-meta[b-ws7rt4aygf] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--lw-sidebar-text-subtle);
}

.ob-sidebar__progress-track[b-ws7rt4aygf] {
    position: relative;
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 9999px;
    background-color: rgba(249, 250, 251, 0.3);
}

/* Animated gradient fill -- wizard-shell.tsx shimmers background-position
   over a 200%-wide blue->gold gradient while width eases to the new value. */
.ob-sidebar__progress-fill[b-ws7rt4aygf] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        90deg,
        var(--lw-primary-blue),
        var(--lw-primary-blue-light),
        var(--lw-primary-gold)
    );
    background-size: 200% 100%;
    animation: ob-progress-shimmer-b-ws7rt4aygf 4s linear infinite;
    transition: width 0.8s ease-out;
}

@keyframes ob-progress-shimmer-b-ws7rt4aygf {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

/* Step list -- px-3 pt-4 scroll region, 2px row gap */
.ob-sidebar__steps[b-ws7rt4aygf] {
    list-style: none;
    margin: 0;
    padding: 16px 12px 0;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* The <li> is a transparent wrapper so its child (an <a> link or a <div>) becomes
   the flex row -- this preserves the existing .ob-sidebar__step layout and spacing. */
.ob-sidebar__step-item[b-ws7rt4aygf] {
    display: contents;
}

/* Row chrome -- px-3 py-2.5 rounded-md gap-3; icon and label colors are set
   per state tier below (the reference colors them independently). */
.ob-sidebar__step[b-ws7rt4aygf] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: normal;
    transition: background-color 0.15s ease, color 0.15s ease;
}

/* Default (inert upcoming step) reads in the locked tier. */
.ob-sidebar__step .ob-sidebar__step-icon[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.2); }
.ob-sidebar__step .ob-sidebar__step-label[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.3); }

/* Reachable link that is not yet complete (client frontier) = available tier. */
a.ob-sidebar__step:not(.is-complete) .ob-sidebar__step-icon[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.5); }
a.ob-sidebar__step:not(.is-complete) .ob-sidebar__step-label[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.6); }

/* Completed tier */
.ob-sidebar__step.is-complete .ob-sidebar__step-icon[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.7); }
.ob-sidebar__step.is-complete .ob-sidebar__step-label[b-ws7rt4aygf] { color: rgba(255, 255, 255, 0.8); }

/* Current step -- white text on the active fill */
.ob-sidebar__step.is-active[b-ws7rt4aygf] { background-color: var(--lw-sidebar-active-bg); }
.ob-sidebar__step.is-active .ob-sidebar__step-icon[b-ws7rt4aygf],
.ob-sidebar__step.is-active .ob-sidebar__step-label[b-ws7rt4aygf] { color: var(--lw-white); }

/* Tapered gold accent notch on the current row (same recipe as the main
   nav's active item: 4px warning-solid, inset 6px, angled ends). */
.ob-sidebar__step.is-active[b-ws7rt4aygf]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lw-warning-solid);
    clip-path: polygon(0 0, 100% 3px, 100% calc(100% - 3px), 0 100%);
}

/* Only real links hover; inert divs stay flat. */
a.ob-sidebar__step[b-ws7rt4aygf] {
    text-decoration: none;
    cursor: pointer;
}

a.ob-sidebar__step:hover:not(.is-active)[b-ws7rt4aygf] {
    background-color: var(--lw-sidebar-hover-bg);
    text-decoration: none;
}

/* Locked future steps: dimmed (locked tier is already the default) and inert. */
.ob-sidebar__step.is-locked[b-ws7rt4aygf] {
    pointer-events: none;
    cursor: default;
}

/* Icon box -- size-7 wrapping a 16px glyph */
.ob-sidebar__step-icon[b-ws7rt4aygf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

[b-ws7rt4aygf] .ob-sidebar__step-icon .mud-icon-root {
    color: currentColor !important;
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0;
}

.ob-sidebar__step-label[b-ws7rt4aygf] {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

/* Donut ring (step-donut-ring.tsx) -- 18px, 2px stroke.
   Upcoming/locked = faint ring; complete = filled accent circle + check;
   current-but-incomplete = breathing ring (overrides below). */
.ob-sidebar__step-donut[b-ws7rt4aygf] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Available (reachable, not complete): brighter track ring. */
a.ob-sidebar__step:not(.is-complete) .ob-sidebar__step-donut[b-ws7rt4aygf] {
    border-color: rgba(255, 255, 255, 0.25);
}

.ob-sidebar__step-donut.is-complete[b-ws7rt4aygf] {
    border-color: transparent;
    background-color: var(--lw-primary-blue);
    color: var(--lw-white);
}

.ob-sidebar__step-donut svg[b-ws7rt4aygf] {
    width: 10px;
    height: 10px;
    display: block;
}

/* Current + incomplete: breathing white ring. */
.ob-sidebar__step.is-active .ob-sidebar__step-donut:not(.is-complete)[b-ws7rt4aygf] {
    border-color: rgba(255, 255, 255, 0.15);
    animation: ob-donut-breathe-b-ws7rt4aygf 2.5s ease-in-out infinite;
}

@keyframes ob-donut-breathe-b-ws7rt4aygf {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Viewing an already-finished step: plain ring with a white check. */
.ob-sidebar__step.is-active .ob-sidebar__step-donut.is-complete[b-ws7rt4aygf] {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
}

/* -- Right content area -- */
.ob-content[b-ws7rt4aygf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: var(--lw-bg-muted);
}

/* Top bar (top-bar.tsx, onboarding variant). Measured 2026-07-13:
   h 56, bg white, border-b --lw-border, px 24; crumbs 14/22 gap 16
   (foreground -> muted-foreground for the current page, 14px chevron sep);
   right cluster gap 12: 32px round ghost help button (18px glyph,
   content-secondary), account menu behind a 1px left hairline + 12px pad. */
.ob-topbar[b-ws7rt4aygf] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    font-family: var(--lw-font-family);
}

.ob-topbar__crumbs[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    font-size: 14px;
    line-height: 22px;
}

.ob-topbar__crumb[b-ws7rt4aygf] {
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.ob-topbar__crumb.is-current[b-ws7rt4aygf] {
    color: var(--lw-gray-space);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ob-topbar__crumb-sep[b-ws7rt4aygf] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

.ob-topbar__actions[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Small labeled outline give-feedback button (ledgerwise-ui button.tsx
   outline + size sm: h-7, px-2.5, 0.8rem, border-border, bg-background, hover:bg-muted),
   placed right before the account divider. */
.ob-topbar__feedback[b-ws7rt4aygf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ob-topbar__feedback:hover[b-ws7rt4aygf] {
    background: var(--lw-bg-muted);
}

.ob-topbar__feedback svg[b-ws7rt4aygf] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Ghost round help button (Button variant=ghost size=icon-round). */
.ob-topbar__help[b-ws7rt4aygf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.ob-topbar__help:hover[b-ws7rt4aygf] {
    background-color: var(--lw-accent);
}

.ob-topbar__help svg[b-ws7rt4aygf] {
    width: 18px;
    height: 18px;
}

.ob-topbar__account[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    border-left: 1px solid var(--lw-border);
    padding-left: 12px;
}

/* -- Account menu (onboarding-account-menu.tsx; mirrors MainLayout's
      hand-rolled dropdown) -- */
.ob-account-trigger[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 9999px;
    background: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: border-color 0.2s, background-color 0.2s;
}

.ob-account-trigger:hover[b-ws7rt4aygf],
.ob-account-trigger.is-open[b-ws7rt4aygf] {
    border-color: var(--lw-border);
    background-color: var(--lw-accent);
}

/* Avatar + online dot (dot: 6px, 2px background ring, -2px offsets;
   the 40px dropdown variant scales to 8px / 2.5px ring). */
.ob-account-avatar[b-ws7rt4aygf] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.ob-account-status-dot[b-ws7rt4aygf] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: var(--lw-indicator-online);
    box-shadow: 0 0 0 2px var(--lw-white);
}

.ob-account-status-dot--lg[b-ws7rt4aygf] {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 2.5px var(--lw-white);
}

.ob-account-name[b-ws7rt4aygf] {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.ob-account-chevron[b-ws7rt4aygf] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
    transition: transform 0.2s, color 0.2s;
}

.ob-account-trigger:hover .ob-account-chevron[b-ws7rt4aygf],
.ob-account-trigger.is-open .ob-account-chevron[b-ws7rt4aygf] {
    color: var(--lw-gray-graphite);
}

.ob-account-trigger.is-open .ob-account-chevron[b-ws7rt4aygf] {
    transform: rotate(180deg);
}

.ob-account-backdrop[b-ws7rt4aygf] {
    position: fixed;
    inset: 0;
    z-index: 1999;
}

@keyframes ob-account-dropdown-in-b-ws7rt4aygf {
    from { opacity: 0; transform: scale(0.95) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ob-account-dropdown[b-ws7rt4aygf] {
    position: fixed;
    top: 60px;
    right: 24px;
    z-index: 2000;
    width: 231px;
    padding: 8px 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-popover);
    overflow: hidden;
    transform-origin: top right;
    animation: ob-account-dropdown-in-b-ws7rt4aygf 150ms ease-out both;
}

.ob-account-info-row[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
}

.ob-account-info-text[b-ws7rt4aygf] {
    min-width: 0;
    flex: 1;
}

.ob-account-info-name[b-ws7rt4aygf] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ob-account-info-email[b-ws7rt4aygf] {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ob-account-divider[b-ws7rt4aygf] {
    border-top: 1px solid var(--lw-border);
    margin: 0 8px;
}

.ob-account-items[b-ws7rt4aygf] {
    padding: 4px 0;
}

.ob-account-logout-form[b-ws7rt4aygf] {
    margin: 0;
}

.ob-account-item[b-ws7rt4aygf] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 6px 20px;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
    text-align: left;
    transition: background-color 0.15s;
}

.ob-account-item:hover[b-ws7rt4aygf] {
    background-color: var(--lw-accent);
}

.ob-account-item svg[b-ws7rt4aygf] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

/* Inner scrollable container that holds the page card */
.ob-content__inner[b-ws7rt4aygf] {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Mirrors wizard-shell.tsx content wrapper: md:px-10 md:py-8. Bottom stays
       larger to clear the sticky step footer. */
    padding: 32px 40px 48px;
    overflow-y: auto;
}

/* -- Responsive -- */
@media (max-width: 960px) {
    .ob-shell[b-ws7rt4aygf] {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .ob-sidebar[b-ws7rt4aygf] {
        flex: none;
        max-width: 100%;
        overflow: visible;
    }

    .ob-sidebar__logo[b-ws7rt4aygf] {
        height: 48px;
        padding: 0 16px;
    }

    .ob-sidebar__progress[b-ws7rt4aygf] {
        padding: 12px 16px 0;
    }

    .ob-sidebar__steps[b-ws7rt4aygf] {
        flex-direction: row;
        overflow-x: auto;
        gap: 4px;
        padding: 12px;
    }

    .ob-sidebar__step[b-ws7rt4aygf] {
        white-space: nowrap;
        padding: 8px 12px;
    }

    .ob-sidebar__step-donut[b-ws7rt4aygf] {
        display: none;
    }

    .ob-topbar[b-ws7rt4aygf] {
        padding: 0 16px;
    }

    .ob-account-name[b-ws7rt4aygf] {
        display: none;
    }

    .ob-account-dropdown[b-ws7rt4aygf] {
        right: 16px;
    }

    .ob-content__inner[b-ws7rt4aygf] {
        /* wizard-shell.tsx mobile: px-4 py-6 */
        padding: 24px 16px 32px;
    }
}

/* -- Phone (US-798) -- */
/* Order on a phone is logo, top bar, then setup progress (Cody, 2026-09-06:
   "the top bar should be above the progress bar"). The two live in different
   wrappers -- the logo/progress/steps in .ob-sidebar, the top bar in
   .ob-content -- so both wrappers dissolve (display: contents) and their
   children are ordered directly on .ob-shell. The navy that .ob-sidebar used
   to paint moves onto the blocks that need it. */
@media (max-width: 767.98px) {
    .ob-sidebar[b-ws7rt4aygf],
    .ob-content[b-ws7rt4aygf] {
        display: contents;
    }

    /* The logo band is desktop rail chrome: on a phone it costs 48px of a
       short screen and says nothing the top bar does not (Cody, 2026-09-06:
       "remove the ledgerwise logo section at the top while you're in a
       stepper"). */
    .ob-sidebar__logo[b-ws7rt4aygf] {
        display: none;
    }

    .ob-topbar[b-ws7rt4aygf] {
        order: 2;
    }

    .ob-sidebar__progress[b-ws7rt4aygf] {
        order: 3;
        background-color: var(--lw-primary-dark);
        padding-bottom: 12px;
    }

    .ob-sidebar__steps[b-ws7rt4aygf] {
        order: 4;
        background-color: var(--lw-primary-dark);
        padding-top: 0;
    }

    .ob-content__inner[b-ws7rt4aygf] {
        order: 5;
    }
}

/* Below 768px three step chips do not fit: the rail scrolls sideways and the
   last step is simply clipped, with nothing to say more exists. The progress
   bar and its "N of M" counter above already carry position, so the rail
   collapses to the current step alone -- no clipping, no hidden scroll. The
   768-960px band keeps the full scrolling rail. */
@media (max-width: 767.98px) {
    .ob-sidebar__steps > .ob-sidebar__step-item[b-ws7rt4aygf] {
        display: none;
    }

    .ob-sidebar__steps > .ob-sidebar__step-item:has(.is-active)[b-ws7rt4aygf] {
        display: block;
    }

    /* Some screens (bank verification, fund account) are not one of the listed
       steps, so nothing is active. Collapse the rail rather than leaving an
       empty navy strip where the chip would be. */
    .ob-sidebar__steps:not(:has(.is-active))[b-ws7rt4aygf] {
        display: none;
    }

    .ob-sidebar__steps[b-ws7rt4aygf] {
        overflow-x: visible;
    }
}

/* Phones (US-926): "Give feedback" collapses to its icon so the breadcrumb
   keeps room for the current step ("Onboarding > W" before) -- the same
   treatment as WizardTopBar on the lien waiver / creation wizards. */
@media (max-width: 767.98px) {
    .ob-topbar__crumbs[b-ws7rt4aygf] {
        gap: 8px;
    }

    .ob-topbar__feedback[b-ws7rt4aygf] {
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
        gap: 0;
        font-size: 0;
    }
}

/* Phones (US-1043): 44px tap targets in the top bar. Help and feedback grow
   from 32 to 44 and the 12px gaps between them go, so the action cluster is
   exactly as wide as before (177px) and the breadcrumb keeps its room at 360;
   the crumb row clips rather than ever pushing the actions off. */
@media (max-width: 767.98px) {
    .ob-topbar[b-ws7rt4aygf] {
        gap: 8px;
    }

    .ob-topbar__crumbs[b-ws7rt4aygf] {
        flex: 1 1 auto;
        overflow: hidden;
    }

    .ob-topbar__crumb.is-current[b-ws7rt4aygf] {
        min-width: 0;
    }

    .ob-topbar__actions[b-ws7rt4aygf] {
        gap: 0;
    }

    .ob-topbar__help[b-ws7rt4aygf],
    .ob-topbar__feedback[b-ws7rt4aygf] {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .ob-account-trigger[b-ws7rt4aygf] {
        min-height: 44px;
    }

    .ob-account-item[b-ws7rt4aygf] {
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Modals/AcceptProposalModal.razor.rz.scp.css */
/* AcceptProposalModal content chrome only -- the dialog frame, header, body,
   and footer regions come from the canonical lw-modal pattern
   (LwModalHeader/Body/Footer + global .lw-modal rules).
   Source: organisms/kickoff/accept-proposal-modal.tsx (measured 2026-07-19):
   title-only header (US-1043: no icon in dialog headers); copy 14/1.625
   content-secondary w/ semibold-foreground strongs; total row rounded-md
   border bg-muted px-4 py-3, label 14/500, value 16/700 tabular. */

.apm-copy[b-a34y9yx6v7] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.apm-copy strong[b-a34y9yx6v7] {
    font-weight: 600;
    color: var(--lw-text-primary);
}

.apm-total[b-a34y9yx6v7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    padding: 12px 16px;
}

.apm-total__label[b-a34y9yx6v7] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

.apm-total__value[b-a34y9yx6v7] {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Modals/AddArchitectInlineDialog.razor.rz.scp.css */
/* Field stack per add-contact-dialog.tsx DialogBody (gap-4); footer bleeds
   out of the 24px LwModalBody padding like AddVendorModal. */
.dlg-fields[b-limdgiruab] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-footbleed[b-limdgiruab] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): LwModalBody insets 16px under 768px, so the bleed must
   match or the footer overshoots the sheet by 8px per side (A1). */
@media (max-width: 767.98px) {
    .dlg-footbleed[b-limdgiruab] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddClientInlineDialog.razor.rz.scp.css */
/* Field stack per add-contact-dialog.tsx DialogBody (gap-4); name row is a
   3-up grid; footer bleeds out of the 24px LwModalBody padding. */
.dlg-fields[b-9k8f0pcyiz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-grid3[b-9k8f0pcyiz] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.dlg-footbleed[b-9k8f0pcyiz] {
    margin: 16px -24px -24px;
}

@media (max-width: 640px) {
    .dlg-grid3[b-9k8f0pcyiz] {
        grid-template-columns: 1fr;
    }
}
/* _content/Ledgerwise/Components/Modals/AddEmailAddressesModal.razor.rz.scp.css */
/* Add email addresses modal -- canonical lw-modal + the tag-composer idiom
   (source: ImportSubcontractorsModal.razor.css ism-tagbox recipe).
   Elements are authored in this file and carry the isolation scope
   themselves (the dialog teleports, so ::deep from a page root never
   reaches them). */

.aem-stack[b-xegl3ifvpy] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aem-copy[b-xegl3ifvpy] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

.aem-note[b-xegl3ifvpy] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.aem-tagbox[b-xegl3ifvpy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 54px;
    padding: 8px 10px;
    background: var(--lw-white);
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    cursor: text;
    transition: border-color 0.15s ease;
}

.aem-tagbox:focus-within[b-xegl3ifvpy] {
    border-color: var(--lw-gray-phantom);
}

.aem-tag[b-xegl3ifvpy] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 6px 4px 10px;
    background: var(--lw-bg-muted);
    border: 1px solid var(--lw-border);
    border-radius: 9999px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
}

.aem-tag-text[b-xegl3ifvpy] {
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aem-tag-x[b-xegl3ifvpy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 9999px;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.aem-tag-x:hover[b-xegl3ifvpy] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.aem-tag-x svg[b-xegl3ifvpy] {
    width: 10px;
    height: 10px;
}

.aem-tag-input[b-xegl3ifvpy] {
    flex: 1;
    min-width: 180px;
    border: 0;
    outline: none;
    padding: 4px 4px;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: var(--lw-input-font-size, 14px); /* 16px on phones: no iOS focus zoom */
    line-height: 22px;
    color: var(--lw-text-primary);
}

.aem-tag-input[b-xegl3ifvpy]::placeholder {
    color: var(--lw-gray-space);
}

/* CSV upload: the shared FileDropZone in the body (drag-and-drop + click),
   replacing the click-only footer button (US-1043). Compact so the small
   dialog keeps its height; the zone's chrome stays the shared recipe. */
.aem-drop[b-xegl3ifvpy]  .fdz {
    min-height: 112px;
    padding: 16px;
}

/* Phones (US-1043): tags grow to 36px with a 44px hit area on the remove
   button (the ::after reaches 4px past the pill; the 8px gaps keep
   neighbouring targets from overlapping). */
@media (max-width: 767.98px) {
    .aem-tagbox[b-xegl3ifvpy] {
        gap: 8px;
        padding: 8px;
    }

    .aem-tag[b-xegl3ifvpy] {
        gap: 0;
        min-height: 36px;
        padding: 0 0 0 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .aem-tag-x[b-xegl3ifvpy] {
        position: relative;
        width: 36px;
        height: 36px;
    }

    .aem-tag-x[b-xegl3ifvpy]::after {
        content: "";
        position: absolute;
        inset: -4px;
    }

    .aem-tag-x svg[b-xegl3ifvpy] {
        width: 12px;
        height: 12px;
    }

    .aem-tag-input[b-xegl3ifvpy] {
        min-width: 120px;
        min-height: 36px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddFundsModal.razor.rz.scp.css */
/* AddFundsModal content chrome only -- the dialog frame, header, body, and
   footer regions come from the canonical lw-modal pattern (LwModalHeader/
   Body/Footer atoms + global .lw-modal rules in app.css).
   Reference idioms (ledgerwise-ui-app, measured 2026-07-20):
   - Header is title + close only (US-1043: no icon in dialog headers).
   - molecules/trust-account-widget.tsx: label/value rows, label 14/500
     content-secondary, value 14/700 tabular foreground.
   - organisms/project/request-funds-panel.tsx: TextField with a "$"
     start icon (16px semibold content-secondary) -- the sandbox wire tool. */

/* -- US-1060: the amount-to-transfer calculation (trust-account-widget row
   idiom: label 14/500 content-secondary, value 14/700 tabular foreground),
   laid out as the insufficient-funds email's "How this is calculated":
   an operator column, the label with an optional hint under it, the figure,
   and a ruled total row. -- */
.afm-calc[b-gfqzgu5trj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    padding: 12px 16px;
}

.afm-calc-row[b-gfqzgu5trj] {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 8px;
}

.afm-calc-op[b-gfqzgu5trj] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    text-align: center;
}

.afm-calc-text[b-gfqzgu5trj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.afm-calc-label[b-gfqzgu5trj] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

.afm-calc-hint[b-gfqzgu5trj] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
    opacity: 0.85;
}

.afm-calc-value[b-gfqzgu5trj] {
    font-size: 0.875rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--lw-text-primary);
}

/* The total: set off by a hairline, label and figure in the foreground. */
.afm-calc-row--total[b-gfqzgu5trj] {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--lw-border);
}

.afm-calc-row--total .afm-calc-op[b-gfqzgu5trj],
.afm-calc-row--total .afm-calc-label[b-gfqzgu5trj] {
    font-weight: 700;
    color: var(--lw-text-primary);
}

.afm-calc-row--total .afm-calc-value[b-gfqzgu5trj] {
    font-size: 1rem;
}

/* An amount actually due reads in the brand accent; $0.00 stays neutral. */
.afm-calc-value--due[b-gfqzgu5trj] {
    color: var(--lw-primary-blue);
}

.afm-calc-caption[b-gfqzgu5trj] {
    margin: 8px 0 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* -- Amount field: MudNumericField restyled to the FieldShell look
   (mirrors LwTextField.razor.css -- LwTextField itself is string-typed and
   cannot bind the decimal amount). FieldShell (text-field.tsx +
   ui/field-shell.tsx): 54px white box, 8px radius, 14/400 text,
   rest border --lw-input-border, focus border foreground, no hover change. -- */
.afm-amount[b-gfqzgu5trj]  .mud-input-control {
    margin-top: 0;
}

.afm-amount[b-gfqzgu5trj]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.afm-amount[b-gfqzgu5trj]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px 16px 4px;
    font-size: 14px;
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
    font-variant-numeric: tabular-nums;
}

/* "$" start icon (request-funds-panel.tsx: text-base font-semibold
   content-secondary). */
.afm-amount[b-gfqzgu5trj]  .mud-input-adornment-start .mud-input-adornment-text {
    font-size: 16px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-gray-graphite);
}

/* Label states mirror LwTextField: resting muted, floated content-secondary,
   focused foreground; Mud pins its own font, so override directly. */
.afm-amount[b-gfqzgu5trj]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label sits after the "$" adornment (40px in from the box edge);
   Mud's padding is !important, so ours must be too. */
.afm-amount[b-gfqzgu5trj]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(40px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Floated label returns to the 13px notch -- mirror Mud's own shrink/focus
   selectors (they carry 4-class specificity); 12px = FieldShell text-xs. */
.afm-amount[b-gfqzgu5trj]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.afm-amount[b-gfqzgu5trj]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.afm-amount[b-gfqzgu5trj]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

/* Focused wins over floated (declared last at equal specificity). */
.afm-amount[b-gfqzgu5trj]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states: rest = input-border, hover = no change, focus = 1px
   foreground (error state keeps Mud's destructive border). */
.afm-amount[b-gfqzgu5trj]  .mud-input.mud-input-outlined:not(.mud-disabled):not(.mud-input-error):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.afm-amount[b-gfqzgu5trj]  .mud-input.mud-input-outlined:not(.mud-input-error):focus-within > .mud-input-outlined-border,
.afm-amount[b-gfqzgu5trj]  .mud-input.mud-input-outlined:not(.mud-input-error):focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Validation message under the field: 12px destructive. */
.afm-amount[b-gfqzgu5trj]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-top: 4px;
}

.afm-amount[b-gfqzgu5trj]  .mud-input-helper-text.mud-input-error {
    color: var(--lw-destructive);
}

/* Inline sandbox error under the simulate button. */
.afm-error[b-gfqzgu5trj] {
    margin: 6px 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--lw-destructive);
}

/* -- Result state (sandbox wire simulated): centered confirmation block
   with a large tinted mark, headline and supporting text. */
.afm-result[b-gfqzgu5trj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 4px 4px;
}

.afm-result-mark[b-gfqzgu5trj] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.afm-result-mark[b-gfqzgu5trj]  .mud-icon-root {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.afm-result-mark--success[b-gfqzgu5trj] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.afm-result-title[b-gfqzgu5trj] {
    margin: 0 0 4px;
    font-family: var(--lw-font-family-heading, sans-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lw-text-primary);
}

.afm-result-text[b-gfqzgu5trj] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* -- US-998: how wire funding works, under the balance box. -- */
.afm-wire[b-gfqzgu5trj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.afm-wire-text[b-gfqzgu5trj] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* -- Non-production sandbox wire tool, set off by a hairline. -- */
.afm-sim[b-gfqzgu5trj] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lw-border);
}

.afm-sim-button[b-gfqzgu5trj] {
    align-self: flex-start;
}

/* Sandbox tool caption. */
.afm-hint[b-gfqzgu5trj] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite, #6E7180);
}
/* _content/Ledgerwise/Components/Modals/AddInteriorDesignerInlineDialog.razor.rz.scp.css */
/* Field stack per add-contact-dialog.tsx DialogBody (gap-4); footer bleeds
   out of the 24px LwModalBody padding like AddVendorModal. */
.dlg-fields[b-o59wm8rafm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-footbleed[b-o59wm8rafm] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): LwModalBody insets 16px under 768px, so the bleed must
   match or the footer overshoots the sheet by 8px per side (A1). */
@media (max-width: 767.98px) {
    .dlg-footbleed[b-o59wm8rafm] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddInvoiceModal.razor.rz.scp.css */
/* Invoice switcher for the multi-invoice Review step.
   Mirrors the chip/tab strip in AssignInvoiceToDrawRequestModal so the two
   review workflows feel consistent. Tokens come from branding.css (--lw-*). */

.aim-nav[b-oo8i5ulztw] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.aim-nav-count[b-oo8i5ulztw] {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    padding-left: 0.25rem;
}

[b-oo8i5ulztw] .lw-invoice-tabs {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    flex: 1;
    border-bottom: 1px solid var(--lw-border);
    scrollbar-width: none;
}

[b-oo8i5ulztw] .lw-invoice-tabs::-webkit-scrollbar {
    height: 0;
    display: none;
}

[b-oo8i5ulztw] .lw-invoice-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

[b-oo8i5ulztw] .lw-invoice-tab:hover {
    background: var(--lw-status-neutral-bg);
}

[b-oo8i5ulztw] .lw-invoice-tab--active {
    border-bottom-color: var(--lw-text-primary);
}

[b-oo8i5ulztw] .lw-invoice-tab-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

[b-oo8i5ulztw] .lw-invoice-tab--active .lw-invoice-tab-name {
    color: var(--lw-text-primary);
}

[b-oo8i5ulztw] .lw-invoice-tab--complete .lw-invoice-tab-name {
    color: var(--lw-success-dark);
}

[b-oo8i5ulztw] .lw-invoice-tab-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lw-success-dark);
    flex-shrink: 0;
}

[b-oo8i5ulztw] .lw-invoice-tab-check .mud-icon-root {
    font-size: 9px;
    color: #fff;
}

/* -- Upload step. The drop zone is the shared FileDropZone (US-1043: dashed
   canonical zone, drag + click-to-browse); this file only spaces it and draws
   the busy panel that replaces it while the picked bytes stream in. -- */

.aim-dropwrap[b-oo8i5ulztw] { margin-bottom: 16px; }

/* Hidden (not unmounted) while the picked files are read -- see the markup. */
.aim-dropwrap--reading[b-oo8i5ulztw] { display: none; }

.aim-dropbusy[b-oo8i5ulztw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 150px;
    margin-bottom: 16px;
    padding: 24px;
    border: 2px dashed var(--lw-input-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    text-align: center;
}

.aim-drop-title[b-oo8i5ulztw] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.aim-drop-sub[b-oo8i5ulztw] { margin: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

.aim-files[b-oo8i5ulztw] { display: flex; flex-direction: column; gap: 8px; }

.aim-file[b-oo8i5ulztw] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.aim-file[b-oo8i5ulztw]  .aim-file-icon { width: 1.25rem; height: 1.25rem; color: var(--lw-filetype-pdf-fg); flex-shrink: 0; }

.aim-file-name[b-oo8i5ulztw] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aim-file-size[b-oo8i5ulztw] { flex-shrink: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

.aim-file-remove[b-oo8i5ulztw] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: none;
    background: none;
    padding: 0;
    color: var(--lw-destructive);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.aim-file-remove:hover[b-oo8i5ulztw] { opacity: 0.8; }
.aim-file-remove[b-oo8i5ulztw]  .mud-icon-root { width: 1rem; height: 1rem; }

/* Count chip inside the primary Continue button (reference bg-white/20). */
.aim-count-chip[b-oo8i5ulztw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    min-width: 20px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: var(--lw-radius-control);
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.6875rem;
    font-weight: var(--lw-font-semibold);
    line-height: 1;
}

/* -- Manual entry (US-678): seam under the dropzone + typed-details form. -- */

.aim-alt-entry[b-oo8i5ulztw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.aim-alt-entry-seam[b-oo8i5ulztw] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.aim-alt-entry-seam[b-oo8i5ulztw]::before,
.aim-alt-entry-seam[b-oo8i5ulztw]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--lw-border);
}

.aim-manual[b-oo8i5ulztw] { display: flex; flex-direction: column; gap: 16px; }

.aim-manual .aim-files[b-oo8i5ulztw] { margin-top: 12px; }

/* "Reading file(s)..." line under the attachments drop zone. */
.aim-manual-reading[b-oo8i5ulztw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* Vendor option rows inside the SearchableDropdown menu (name over one
   sub-line; replaces the MudText pair, US-1043). */
.aim-opt-name[b-oo8i5ulztw] {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.aim-opt-sub[b-oo8i5ulztw] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
    overflow-wrap: anywhere;
}

/* Inline field error under the vendor picker. */
.aim-field-error[b-oo8i5ulztw] {
    margin: -10px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-status-error-fg);
}


/* Split body over the muted surface. */
.aim-take[b-oo8i5ulztw] {
    display: flex;
    /* Fullscreen viewport minus the 56px takeover header and the modal
       footer band (~72px). */
    height: calc(100vh - 128px);
    background: var(--lw-bg-muted);
}

.aim-take-form[b-oo8i5ulztw] {
    flex: 0 0 58%;
    min-width: 0;
    overflow-y: auto;
}

.aim-take-form-inner[b-oo8i5ulztw] {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 760px;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
}

.aim-take-viewer[b-oo8i5ulztw] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.aim-take-iframe[b-oo8i5ulztw] { width: 100%; height: 100%; border: none; display: block; }

.aim-take-viewer-state[b-oo8i5ulztw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    text-align: center;
    padding: 24px;
}

.aim-take-viewer-state[b-oo8i5ulztw]  .aim-take-viewer-icon { width: 3rem; height: 3rem; font-size: 3rem; }

.aim-take-viewer-caption[b-oo8i5ulztw] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.43;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* Form internals. */
.aim-fields[b-oo8i5ulztw] { display: flex; flex-direction: column; gap: 16px; }

.aim-field-payee[b-oo8i5ulztw] { display: flex; align-items: flex-end; gap: 4px; }
.aim-field-payee-input[b-oo8i5ulztw] { flex: 1; min-width: 0; }

/* "Add new vendor" beside the picker: the lw-row-icon-btn ghost recipe at a
   44px tap target (was a 48px MudIconButton), centered on the 54px field. */
.aim-payee-add[b-oo8i5ulztw] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-bottom: 5px;
    color: var(--lw-primary-blue);
}

.aim-payee-add[b-oo8i5ulztw]  .mud-icon-root {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.aim-date-grid[b-oo8i5ulztw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767.98px) {
    .aim-date-grid[b-oo8i5ulztw] { grid-template-columns: 1fr; }
}

.aim-vendor-copy[b-oo8i5ulztw] {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.aim-vendor-actions[b-oo8i5ulztw] { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* -- Processing step: a calm working state. File rows carry the activity
   (spinner + shimmering progress fill); one quiet centered status block sits
   below them. The step renders no footer band (nothing to click). -- */

.aim-processing[b-oo8i5ulztw] { padding-bottom: 8px; }

.aim-file--processing[b-oo8i5ulztw] { display: flex; flex-direction: column; gap: 10px; }
.aim-file-row[b-oo8i5ulztw] { display: flex; align-items: center; gap: 12px; }

.aim-file-spinner[b-oo8i5ulztw] {
    border-color: var(--lw-primary-dark);
    border-top-color: transparent;
}

.aim-file-track[b-oo8i5ulztw] {
    height: 4px;
    width: 100%;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
}

.aim-file-fill[b-oo8i5ulztw] {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: var(--lw-primary-dark);
    transition: width 0.2s ease;
}

/* Soft light sweep across the fill so slow extractions still read as live
   work rather than a stalled bar. */
.aim-file-fill[b-oo8i5ulztw]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    animation: aim-fill-sweep-b-oo8i5ulztw 1.6s ease-in-out infinite;
}

@keyframes aim-fill-sweep-b-oo8i5ulztw {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .aim-file-fill[b-oo8i5ulztw]::after { animation: none; display: none; }
}

.aim-processing-status[b-oo8i5ulztw] {
    margin-top: 20px;
    text-align: center;
}

.aim-processing-title[b-oo8i5ulztw] {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.aim-processing-sub[b-oo8i5ulztw] {
    margin: 4px auto 0;
    max-width: 380px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--lw-gray-space);
}

/* -- FieldShell chrome for the vendor picker in "Invoice details" (recipe
   mirrors LwTextField.razor.css, 2026-07-08 spec: 54px white box, 8px radius,
   border --lw-input-border, 14/400 value -- 16px on phones via
   --lw-input-font-size -- muted -> graphite -> phantom label states).
   .aim-field-payee-input reaches the MudTextField inside SearchableDropdown
   (its search behavior stays untouched). Amount is LwNumericField since
   US-1043 and carries its own chrome. -- */

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-control {
    margin-top: 0;
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-outlined {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label geometrically centered in the 54px box (FieldShell: left
   13px). Mud's padding is !important, so ours must be too. */
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Floated label: mirror Mud's shrink/focus selectors (4-class specificity);
   12px like FieldShell text-xs (scale 12/14 = .857). */
.aim-field-payee-input[b-oo8i5ulztw]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

/* Focused wins over floated (declared last at equal specificity). */
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states -- FieldShell: rest --lw-input-border 1px; hover no change;
   focus 1px foreground (phantom). */
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.aim-field-payee-input[b-oo8i5ulztw]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Dropdown caret / clear buttons: gray-space like the LwSelect caret. */
.aim-field-payee-input[b-oo8i5ulztw]  .mud-input-adornment .mud-icon-button,
.aim-field-payee-input[b-oo8i5ulztw]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* -- "Add Invoice and Create Payment Request" footer shortcut (US-1007). The full
   label sits beside Cancel and Add Invoice on wider screens; on a phone the footer
   has room for a short one -- the same "Add to PR" the Invoices tab's bulk bar uses. */
.aim-pr-short[b-oo8i5ulztw] { display: none; }

/* ================================================================
   Phones (US-1043). The Review takeover's stacking (Details | Document
   pane switch) and the footer wrap live in mudblazor-overrides.css with the
   rest of the .aim-dialog frame rules, because they size elements this
   file's scope cannot reach (.mud-dialog-content, .lw-modal-body,
   .lw-modal-footer-actions).
   ================================================================ */
@media (max-width: 767.98px) {
    .aim-pr-long[b-oo8i5ulztw] { display: none; }
    .aim-pr-short[b-oo8i5ulztw] { display: inline; }

    /* Upload: the manual-entry seam action is a full-width 44px outline. */
    .aim-alt-entry[b-oo8i5ulztw] { align-items: stretch; }

    .aim-alt-entry-btn[b-oo8i5ulztw] {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        white-space: normal;
    }

    /* Processing + attachment rows: 44px, name ellipsizes, the size and the
       spinner (status) sit together on the right. */
    .aim-file[b-oo8i5ulztw] { padding: 10px 12px; }

    .aim-file:not(.aim-file--processing)[b-oo8i5ulztw],
    .aim-file-row[b-oo8i5ulztw] { min-height: 44px; }

    .aim-file--processing[b-oo8i5ulztw] { padding-top: 0; }

    .aim-file-row[b-oo8i5ulztw] { gap: 8px; }

    .aim-file-row .aim-file-spinner[b-oo8i5ulztw] { order: 2; flex-shrink: 0; }

    .aim-file-remove[b-oo8i5ulztw] {
        width: 44px;
        height: 44px;
        margin: -10px -12px -10px 0;
    }

    .aim-file-remove[b-oo8i5ulztw]  .mud-icon-root { width: 1.25rem; height: 1.25rem; }

    /* Vendor confirm card: stacked full-width 44px answers. */
    .aim-vendor-actions[b-oo8i5ulztw] { flex-direction: column; align-items: stretch; }

    .aim-vendor-actions > button[b-oo8i5ulztw] {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        white-space: normal;
    }

    /* Footer: 44px actions (LwModalFooter owns the row: secondary at label
       width, primary fills); the payment-request shortcut takes its own row. */
    .lw-modal-footer-actions button.aim-foot-btn[b-oo8i5ulztw] {
        height: var(--lw-button-action-height, 44px);
        min-height: 44px;
    }

    .lw-modal-footer-actions button.aim-foot-extra[b-oo8i5ulztw] {
        order: -1;
        flex: 1 1 100%;
    }

    .aim-processing-sub[b-oo8i5ulztw] { max-width: none; }
}
/* _content/Ledgerwise/Components/Modals/AddProjectClientUserDialog.razor.rz.scp.css */
/* Add project-client-user dialog body -- canonical lw-modal internals
   (cf. OrganizationInviteUserModal / AddProjectCommunicationRecipientDialog). */

.apcu-form[b-qk40714wod] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apcu-grid2[b-qk40714wod] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.apcu-copy[b-qk40714wod] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.apcu-copy--hint[b-qk40714wod] {
    font-size: 12px;
    line-height: 17px;
}

.apcu-footbleed[b-qk40714wod] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): LwModalBody insets 16px under 768px, so the bleed must match or
   the footer overshoots the sheet by 8px per side (A1); First / Last name stack. */
@media (max-width: 767.98px) {
    .apcu-grid2[b-qk40714wod] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .apcu-footbleed[b-qk40714wod] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddProjectCommunicationRecipientDialog.razor.rz.scp.css */
/* Add-recipient dialog body -- helper line per the canonical modal pattern;
   footer bleeds out of the 24px LwModalBody padding. */
.arc-help[b-s66j586ole] {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.arc-empty[b-s66j586ole] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-text-primary);
}

.arc-footbleed[b-s66j586ole] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): LwModalBody insets 16px under 768px, so the bleed must
   match or the footer overshoots the sheet by 8px per side (A1). */
@media (max-width: 767.98px) {
    .arc-footbleed[b-s66j586ole] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddProjectDocumentModal.razor.rz.scp.css */
/* Upload dialog internals. Source: ledgerwise-app gc-documents.tsx
   AddFilesModal (measured 2026-07-20): dashed rounded-lg dropzone px-8 py-12
   with a 56px navy-tint FileUp tile; ready rows on rounded-md border
   bg-muted/30 px-4 py-3; slim progress track. */

.apdm-dropzone[b-9sa1isff40] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 32px;
    border: 2px dashed rgba(145, 158, 171, 0.32);
    border-radius: var(--lw-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

/* Hover / drag-over ride the wrapper: FileDropZone's transparent input sits
   on top of the zone, so the zone itself never matches :hover. */
.apdm-drop:hover .apdm-dropzone[b-9sa1isff40],
.apdm-drop--over .apdm-dropzone[b-9sa1isff40] {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 8%, transparent);
}

/* Inert while an upload is in flight (the handler guards as well). */
.apdm-drop--busy[b-9sa1isff40] { opacity: 0.5; pointer-events: none; }

.apdm-dropzone-tile[b-9sa1isff40] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: var(--lw-radius-sm);
    background: color-mix(in srgb, var(--lw-primary-dark) 10%, transparent);
    color: var(--lw-primary-dark);
}

.apdm-dropzone-tile[b-9sa1isff40]  .mud-icon-root { width: 28px; height: 28px; }

.apdm-dropzone-title[b-9sa1isff40] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.apdm-dropzone-sub[b-9sa1isff40] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.apdm-dropzone-browse[b-9sa1isff40] { color: var(--lw-primary-blue); }
.apdm-drop:hover .apdm-dropzone-browse[b-9sa1isff40] { text-decoration: underline; text-underline-offset: 2px; }

.apdm-dropzone-hint[b-9sa1isff40] {
    margin: 16px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space);
}

/* Selected-file rows (reference "ready" state). */
.apdm-files[b-9sa1isff40] { display: flex; flex-direction: column; gap: 8px; }

.apdm-file[b-9sa1isff40] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.apdm-file[b-9sa1isff40]  .apdm-file-icon { width: 1rem; height: 1rem; color: var(--lw-gray-graphite); flex-shrink: 0; }

.apdm-file-name[b-9sa1isff40] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apdm-file-size[b-9sa1isff40] { flex-shrink: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

.apdm-file-remove[b-9sa1isff40] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: none;
    background: none;
    padding: 0;
    color: var(--lw-destructive);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.apdm-file-remove:hover[b-9sa1isff40] { opacity: 0.8; }
.apdm-file-remove[b-9sa1isff40]  .mud-icon-root { width: 1rem; height: 1rem; }

/* Upload progress (reference processing-state slim track). */
.apdm-progress[b-9sa1isff40] { display: flex; flex-direction: column; gap: 6px; }

.apdm-progress-track[b-9sa1isff40] {
    height: 4px;
    width: 100%;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
}

.apdm-progress-fill[b-9sa1isff40] {
    height: 100%;
    background: var(--lw-primary-dark);
    transition: width 0.2s ease;
}

.apdm-progress-label[b-9sa1isff40] { margin: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* Phones (US-1043): the zone gives back height so the file rows, Description
   and footer stay in reach at 360; the remove button is a 44px target that
   bleeds into the row padding so rows keep their height. */
@media (max-width: 767.98px) {
    .apdm-dropzone[b-9sa1isff40] { padding: 24px 16px; }

    .apdm-dropzone-tile[b-9sa1isff40] {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .apdm-dropzone-hint[b-9sa1isff40] { margin-top: 10px; }

    .apdm-file[b-9sa1isff40] {
        gap: 10px;
        padding: 12px;
    }

    .apdm-file-remove[b-9sa1isff40] {
        width: 44px;
        height: 44px;
        margin: -10px -10px -10px -6px;
    }

    .apdm-file-remove[b-9sa1isff40]  .mud-icon-root { width: 1.125rem; height: 1.125rem; }

    .apdm-progress-label[b-9sa1isff40] { font-size: 0.8125rem; }
}
/* _content/Ledgerwise/Components/Modals/AddProposalToBudgetModal.razor.rz.scp.css */
/* Add to Budget wizard takeover -- source: ledgerwise-app
   organisms/gc/add-to-budget-modal.tsx on the shared WizardShell
   (organisms/onboarding/wizard-shell.tsx). Shell/rail/topbar/footer recipes
   duplicated from AddRfpModal.razor.css (arm-*) under the apb- prefix.
   Flow molecules below mirror the reference exactly:
   - category band: bg-table-header-bg px-5 py-2.5 12px bold uppercase
     content-secondary (add-to-budget-modal.tsx:416)
   - select row: border-t px-5 py-3, hover bg-accent/50, selected
     brand-accent/5 tint; 20px rounded-sm checkbox, filled brand-accent w/
     white 14px check (:419-457)
   - allocate row: name/sublabel left, w-48 $-amount field right (:658-685)
   - running-total band: colored strip, NO progress bar (:688-726)
   Ported 2026-07-23. */

.apb-shell[b-j764ewu3x3] {
    position: fixed;
    inset: 0;
    z-index: 1310; /* above the MudAppBar (1300), below MudDialog (1400) so
                      the nested AddVendorModal / AddEmails dialogs stack on top */
    display: grid;
    grid-template-columns: var(--lw-wizard-rail-width) minmax(0, 1fr);
    height: 100dvh;
    overflow: hidden;
    background: var(--lw-bg-muted);
}

/* ---- Left rail (navy sidebar) ---- */

.apb-rail[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    background: var(--lw-primary-dark);
}

.apb-rail__logo[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apb-rail__emblem[b-j764ewu3x3] {
    width: 22px;
    height: 22px;
}

.apb-rail__wordmark[b-j764ewu3x3] {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    font-family: var(--lw-font-family-heading, inherit);
}

.apb-rail__progress[b-j764ewu3x3] {
    padding: 20px 24px 4px;
}

.apb-rail__progress-head[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apb-rail__progress-label[b-j764ewu3x3] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.apb-rail__progress-count[b-j764ewu3x3] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.apb-rail__progress-track[b-j764ewu3x3] {
    margin-top: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.apb-rail__progress-fill[b-j764ewu3x3] {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3980A5, #5ba3c4, #EEB66F);
    transition: width 0.4s ease;
}

.apb-rail__steps[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.apb-rail__step[b-j764ewu3x3] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

/* Future steps are locked with aria-disabled + a handler guard, never the
   disabled attribute (O14). */
.apb-rail__step:hover:not([aria-disabled="true"])[b-j764ewu3x3] {
    background: rgba(255, 255, 255, 0.08);
}

.apb-rail__step.is-active[b-j764ewu3x3] {
    background: rgba(255, 255, 255, 0.12);
}

.apb-rail__step[aria-disabled="true"][b-j764ewu3x3] {
    cursor: default;
}

.apb-rail__accent[b-j764ewu3x3] {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lw-primary-gold);
    clip-path: polygon(0 0, 100% 3px, 100% calc(100% - 3px), 0 100%);
}

.apb-rail__icon[b-j764ewu3x3] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.apb-rail__icon[b-j764ewu3x3]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: color 0.15s ease;
}

.apb-rail__step.is-active .apb-rail__icon[b-j764ewu3x3]  .mud-icon-root {
    color: #fff !important;
}

.apb-rail__step.is-complete .apb-rail__icon[b-j764ewu3x3]  .mud-icon-root {
    color: rgba(255, 255, 255, 0.7) !important;
}

.apb-rail__label[b-j764ewu3x3] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apb-rail__step.is-active .apb-rail__label[b-j764ewu3x3] {
    color: #fff;
}

.apb-rail__step.is-complete .apb-rail__label[b-j764ewu3x3] {
    color: rgba(255, 255, 255, 0.8);
}

.apb-rail__ring[b-j764ewu3x3] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apb-rail__ring--done[b-j764ewu3x3] {
    background: var(--lw-primary-blue);
}

.apb-rail__ring--done[b-j764ewu3x3]  .mud-icon-root {
    width: 10px;
    height: 10px;
    font-size: 10px;
    color: #fff !important;
}

.apb-rail__ring--active[b-j764ewu3x3] {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.apb-rail__ring--locked[b-j764ewu3x3] {
    border: 2px solid rgba(255, 255, 255, 0.08);
}

/* ---- Content top bar (reference WizardShell breadcrumb chrome) ---- */

.apb-topbar[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    flex-shrink: 0;
    padding: 0 16px 0 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.apb-crumbs[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.apb-crumb[b-j764ewu3x3] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.apb-crumb--link[b-j764ewu3x3] {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: color 0.15s;
}

.apb-crumb--link:hover[b-j764ewu3x3] {
    color: var(--lw-text-primary);
}

.apb-crumb--current[b-j764ewu3x3] {
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-medium);
    overflow: hidden;
    text-overflow: ellipsis;
}

.apb-crumbs[b-j764ewu3x3]  .apb-crumb-sep.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-smoke);
    flex-shrink: 0;
}

.apb-topbar__close[b-j764ewu3x3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.apb-topbar__close:hover[b-j764ewu3x3] {
    background: var(--lw-bg-secondary);
    color: var(--lw-text-primary);
}

/* ---- Main content ---- */

.apb-main[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.apb-content[b-j764ewu3x3] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 32px 40px 40px;
}

.apb-step-wrap[b-j764ewu3x3] {
    max-width: 760px;
    margin: 0 auto;
}

.apb-stack[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Footer ---- */

.apb-footer[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 40px;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
}

.apb-footer__back[b-j764ewu3x3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
}

.apb-footer__back:hover:not([aria-busy="true"])[b-j764ewu3x3] {
    background: var(--lw-bg-secondary);
}

.apb-footer__continue[b-j764ewu3x3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 26px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: #fff;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    cursor: pointer;
    transition: background 0.15s;
}

.apb-footer__continue:hover:not([aria-busy="true"])[b-j764ewu3x3] {
    background: var(--lw-primary-dark-hover, color-mix(in srgb, var(--lw-primary-dark) 90%, #fff));
}

/* Saving: the buttons stay enabled and the handlers refuse the press (O14);
   aria-busy keeps the dimmed look the disabled state had. */
.apb-footer__back[aria-busy="true"][b-j764ewu3x3],
.apb-footer__continue[aria-busy="true"][b-j764ewu3x3] {
    opacity: 0.6;
    cursor: default;
}



/* ---- Step 1: select line items (flat category-grouped checkbox list) ---- */

.apb-list[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
}

.apb-cat[b-j764ewu3x3] {
    margin: 0;
    padding: 10px 20px;
    background: var(--lw-bg-table-header);
    border-top: 1px solid var(--lw-border);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.apb-list > .apb-cat:first-child[b-j764ewu3x3] {
    border-top: 0;
}

.apb-row[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--lw-border);
    background: transparent;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: background-color 0.15s ease;
}

.apb-row:hover[b-j764ewu3x3] {
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, transparent);
}

.apb-row--selected[b-j764ewu3x3],
.apb-row--selected:hover[b-j764ewu3x3] {
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

.apb-row__label[b-j764ewu3x3] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apb-row__sub[b-j764ewu3x3] {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* "+ Add Line Item" list-footer affordance (reference :528-537) */
.apb-addrow[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--lw-border);
    background: transparent;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    transition: background-color 0.15s ease;
}

.apb-addrow:hover[b-j764ewu3x3] {
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, transparent);
}

.apb-addrow[b-j764ewu3x3]  .apb-addrow__icon.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* ---- Step 2: allocate amounts ---- */

.apb-alloc[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--lw-border);
    padding: 12px 20px;
}

.apb-alloc:first-child[b-j764ewu3x3] {
    border-top: 0;
}

.apb-alloc__text[b-j764ewu3x3] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apb-alloc__name[b-j764ewu3x3] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apb-alloc__sub[b-j764ewu3x3] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.apb-alloc__field[b-j764ewu3x3] {
    flex-shrink: 0;
    width: 192px;
}

/* Running-total band (reference :688-726): colored copy strip, no meter. */
.apb-total[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--lw-border);
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
    padding: 16px 20px;
    font-size: 14px;
}

.apb-total--under[b-j764ewu3x3] {
    background: var(--lw-bg-muted);
}

.apb-total--under .apb-total__right[b-j764ewu3x3] {
    color: var(--lw-status-warning-fg);
    font-weight: var(--lw-font-medium);
}

.apb-total--match[b-j764ewu3x3] {
    background: var(--lw-status-success-bg);
    border-top-color: color-mix(in srgb, var(--lw-status-success-fg) 30%, transparent);
}

.apb-total--match .apb-total__right[b-j764ewu3x3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lw-status-success-fg);
    font-weight: var(--lw-font-medium);
}

.apb-total--over[b-j764ewu3x3] {
    background: var(--lw-status-error-bg);
    border-top-color: color-mix(in srgb, var(--lw-status-error-fg) 30%, transparent);
}

.apb-total--over .apb-total__right[b-j764ewu3x3] {
    color: var(--lw-status-error-fg);
    font-weight: var(--lw-font-medium);
}

.apb-total__left[b-j764ewu3x3] {
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.apb-total[b-j764ewu3x3]  .apb-total__check.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* ---- Step 3: review table ---- */

.apb-review[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
}

.apb-review__row[b-j764ewu3x3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--lw-border);
    padding: 12px 20px;
}

.apb-review__row:first-child[b-j764ewu3x3] {
    border-top: 0;
}

.apb-review__text[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.apb-review__name[b-j764ewu3x3] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    line-height: 20px;
    color: var(--lw-text-primary);
}

.apb-review__sub[b-j764ewu3x3] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.apb-review__amount[b-j764ewu3x3] {
    font-size: 14px;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.apb-review__with-chip[b-j764ewu3x3] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.apb-review__row--total[b-j764ewu3x3] {
    background: var(--lw-bg-table-header);
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
}

.apb-review__row--total .apb-review__name[b-j764ewu3x3],
.apb-review__row--total .apb-review__amount[b-j764ewu3x3] {
    font-weight: var(--lw-font-semibold);
}

/* ---- Add Line Item sub-dialog ---- */

.apb-additem[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* A field and the secondary action under it (Category + Create New Category, cost code
   budget): one item of the .apb-additem stack, the action tucked under its field. */
.apb-additem__field[b-j764ewu3x3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apb-additem__field .mud-input-control[b-j764ewu3x3],
.apb-additem__field[b-j764ewu3x3]  .mud-input-control {
    margin-bottom: 0;
}

.apb-additem__toggle[b-j764ewu3x3] {
    align-self: flex-start;
    border: 0;
    background: transparent;
    padding: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.apb-additem__toggle:hover[b-j764ewu3x3] {
    text-decoration: underline;
}

/* US-1244 stage 5: the cost code search fields of Add Line Item on a cost code budget. The
   field is the budget table's BudgetCodeSearchField (a child component, so its input is reached
   with ::deep) dressed as the FieldShell box LwTextField draws: 54px white box, 8px radius,
   --lw-input-border outline, accent on focus, label floated into the top border. The picked
   code sits ahead of the name in the box, as the budget table's number prefix does. */
.apb-codefield[b-j764ewu3x3] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    box-sizing: border-box;
    padding: 0 14px;
    background: var(--lw-white);
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    transition: border-color 0.12s, box-shadow 0.12s;
}

.apb-codefield:hover[b-j764ewu3x3] {
    border-color: var(--lw-gray-graphite);
}

.apb-codefield:focus-within[b-j764ewu3x3] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 1px var(--lw-primary-blue);
}

.apb-codefield:has(.bt-cell-input--invalid)[b-j764ewu3x3] {
    border-color: var(--lw-destructive);
    box-shadow: inset 0 0 0 1px var(--lw-destructive);
}

.apb-codefield__label[b-j764ewu3x3] {
    position: absolute;
    top: -8px;
    left: 11px;
    padding: 0 4px;
    background: var(--lw-white);
    font-size: 12px;
    line-height: 14px;
    color: var(--lw-gray-graphite);
    pointer-events: none;
}

.apb-codefield:focus-within .apb-codefield__label[b-j764ewu3x3] {
    color: var(--lw-primary-blue);
}

.apb-codefield__code[b-j764ewu3x3] {
    flex: 0 0 auto;
    font-size: var(--lw-input-font-size);
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.apb-codefield[b-j764ewu3x3]  .bt-code-search-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: var(--lw-input-font-size);
    font-weight: var(--lw-font-regular);
    color: var(--lw-text-primary);
    text-overflow: ellipsis;
}

.apb-codefield[b-j764ewu3x3]  .bt-code-search-field::placeholder {
    color: var(--lw-gray-space);
}

.apb-additem__hint[b-j764ewu3x3] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* ---- Phones (US-1043) ----
   Same anatomy as the shared wizard chrome (lw-wizard.css, .pw-shell phone
   block) and AddRfpModal's arm-* copy: the rail and main wrappers dissolve so
   their children order directly on a 100dvh column -- top bar (exit crumb +
   44px X), navy progress band, the active step as a chip, the scrolling step
   body, then the footer pinned under it. Only .apb-content scrolls.
   Collapses at the house phone breakpoint (767.98px), not the shared chrome's
   860px, so tablet / desktop widths keep the rail exactly as before. */
@media (max-width: 767.98px) {
    .apb-shell[b-j764ewu3x3] {
        display: flex;
        flex-direction: column;
    }

    .apb-rail[b-j764ewu3x3],
    .apb-main[b-j764ewu3x3] {
        display: contents;
    }

    .apb-rail__logo[b-j764ewu3x3] {
        display: none;
    }

    .apb-topbar[b-j764ewu3x3] {
        order: 1;
        padding: 0 4px 0 16px;
    }

    .apb-crumb--link[b-j764ewu3x3] {
        flex-shrink: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .apb-crumb--current[b-j764ewu3x3] {
        min-width: 0;
    }

    .apb-topbar__close[b-j764ewu3x3] {
        width: 44px;
        height: 44px;
    }

    /* Insets match the shared chrome's phone values. */
    .apb-rail__progress[b-j764ewu3x3] {
        order: 2;
        padding: 12px 16px;
        background: var(--lw-primary-dark);
    }

    .apb-rail__steps[b-j764ewu3x3] {
        order: 3;
        flex: none;
        overflow: visible;
        padding: 0 12px 12px;
        background: var(--lw-primary-dark);
    }

    /* The bar and its "n of N" count carry position; show only the current step. */
    .apb-rail__step:not(.is-active)[b-j764ewu3x3] {
        display: none;
    }

    .apb-rail__step.is-active[b-j764ewu3x3] {
        cursor: default;
    }

    .apb-content[b-j764ewu3x3] {
        order: 4;
        flex: 1 1 auto;
        padding: 16px 16px 24px;
    }

    /* Card bodies: 16px insets (flush bodies own theirs). */
    .apb-step-wrap[b-j764ewu3x3]  .cc-body:not(.cc-body--flush) {
        padding: 16px;
    }

    /* Footer: pinned bar under the scroller; Back keeps its label width and
       the primary fills (the LwModalFooter phone rule). */
    .apb-footer[b-j764ewu3x3] {
        order: 5;
        flex-shrink: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .apb-footer > span:empty[b-j764ewu3x3] {
        display: none;
    }

    .apb-footer__back[b-j764ewu3x3] {
        flex-shrink: 0;
    }

    .apb-footer__continue[b-j764ewu3x3] {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    /* Select step: 16px insets, 48px rows; a long description wraps instead
       of ellipsizing beside the amount. */
    .apb-cat[b-j764ewu3x3] {
        padding: 10px 16px;
    }

    .apb-row[b-j764ewu3x3] {
        min-height: 48px;
        padding: 12px 16px;
    }

    .apb-row__label[b-j764ewu3x3] {
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .apb-addrow[b-j764ewu3x3] {
        min-height: 48px;
        padding: 12px 16px;
    }

    /* Allocate step: label over a full-width amount field. */
    .apb-alloc[b-j764ewu3x3] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 16px 16px;
    }

    .apb-alloc__name[b-j764ewu3x3] {
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .apb-alloc__field[b-j764ewu3x3] {
        width: 100%;
    }

    /* Running total stays in view while the stacked rows scroll: it sticks to
       the bottom of the step scroller. The flush card body clips (overflow:
       hidden), which would capture the sticky box, so the clip is lifted for
       a body that holds the strip -- the strip carries its own bottom radius.
       The match / over tints are translucent, so they are laid over the card
       surface to stay opaque above the rows passing underneath. */
    .apb-step-wrap[b-j764ewu3x3]  .cc-body--flush:has(.apb-total) {
        overflow: visible;
    }

    .apb-total[b-j764ewu3x3] {
        position: sticky;
        bottom: 0;
        z-index: 1;
        flex-wrap: wrap;
        gap: 4px 12px;
        padding: 12px 16px;
    }

    .apb-total--match[b-j764ewu3x3] {
        background: linear-gradient(var(--lw-status-success-bg), var(--lw-status-success-bg)), var(--lw-form-surface);
    }

    .apb-total--over[b-j764ewu3x3] {
        background: linear-gradient(var(--lw-status-error-bg), var(--lw-status-error-bg)), var(--lw-form-surface);
    }

    /* Review step: name wraps, the amount keeps one line. */
    .apb-review__row[b-j764ewu3x3] {
        gap: 12px;
        padding: 12px 16px;
    }

    .apb-review__text[b-j764ewu3x3] {
        flex: 1 1 auto;
    }

    .apb-review__name[b-j764ewu3x3] {
        overflow-wrap: anywhere;
    }

    .apb-review__amount[b-j764ewu3x3],
    .apb-review__with-chip[b-j764ewu3x3] {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Add Line Item sheet: the category toggle is a 12px text link. */
    .apb-additem__toggle[b-j764ewu3x3] {
        min-height: 44px;
        font-size: 14px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddRfpModal.razor.rz.scp.css */
/* Create RFP wizard takeover -- source: ledgerwise-app
   organisms/gc/create-rfp-stepper.tsx on the shared WizardShell
   (organisms/onboarding/wizard-shell.tsx). Shell/rail/footer recipes mirror
   SendProposalStepper.razor.css (sp-*): navy token-width rail w/ gradient progress
   bar, gold active accent, donut step rings; muted content column with
   ControlCard step bodies; white footer w/ Back + navy Continue.
   Field chrome: LwTextField (Interactive) / LwDateField.
   Dropzone: shared dashed recipe; vendor rows: 28px avatar + checkbox. */

.arm-shell[b-sao3dab557] {
    position: fixed;
    inset: 0;
    z-index: 1310; /* above the MudAppBar (1300), below MudDialog (1400) so
                      the nested AddVendorModal / AddEmails dialogs stack on top */
    display: grid;
    grid-template-columns: var(--lw-wizard-rail-width) minmax(0, 1fr);
    height: 100dvh;
    overflow: hidden;
    background: var(--lw-bg-muted);
}

/* ---- Left rail (navy sidebar) ---- */

.arm-rail[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    background: var(--lw-primary-dark);
}

.arm-rail__logo[b-sao3dab557] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.arm-rail__emblem[b-sao3dab557] {
    width: 22px;
    height: 22px;
}

.arm-rail__wordmark[b-sao3dab557] {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    font-family: var(--lw-font-family-heading, inherit);
}

.arm-rail__progress[b-sao3dab557] {
    padding: 20px 24px 4px;
}

.arm-rail__progress-head[b-sao3dab557] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.arm-rail__progress-label[b-sao3dab557] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.arm-rail__progress-count[b-sao3dab557] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.arm-rail__progress-track[b-sao3dab557] {
    margin-top: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.arm-rail__progress-fill[b-sao3dab557] {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3980A5, #5ba3c4, #EEB66F);
    transition: width 0.4s ease;
}

.arm-rail__steps[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.arm-rail__step[b-sao3dab557] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

/* Future steps are locked with aria-disabled + a handler guard, never the
   disabled attribute (O14). */
.arm-rail__step:hover:not([aria-disabled="true"])[b-sao3dab557] {
    background: rgba(255, 255, 255, 0.08);
}

.arm-rail__step.is-active[b-sao3dab557] {
    background: rgba(255, 255, 255, 0.12);
}

.arm-rail__step[aria-disabled="true"][b-sao3dab557] {
    cursor: default;
}

.arm-rail__accent[b-sao3dab557] {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lw-primary-gold);
    clip-path: polygon(0 0, 100% 3px, 100% calc(100% - 3px), 0 100%);
}

.arm-rail__icon[b-sao3dab557] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.arm-rail__icon[b-sao3dab557]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: color 0.15s ease;
}

.arm-rail__step.is-active .arm-rail__icon[b-sao3dab557]  .mud-icon-root {
    color: #fff !important;
}

.arm-rail__step.is-complete .arm-rail__icon[b-sao3dab557]  .mud-icon-root {
    color: rgba(255, 255, 255, 0.7) !important;
}

.arm-rail__label[b-sao3dab557] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arm-rail__step.is-active .arm-rail__label[b-sao3dab557] {
    color: #fff;
}

.arm-rail__step.is-complete .arm-rail__label[b-sao3dab557] {
    color: rgba(255, 255, 255, 0.8);
}

.arm-rail__ring[b-sao3dab557] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.arm-rail__ring--done[b-sao3dab557] {
    background: var(--lw-primary-blue);
}

.arm-rail__ring--done[b-sao3dab557]  .mud-icon-root {
    width: 10px;
    height: 10px;
    font-size: 10px;
    color: #fff !important;
}

.arm-rail__ring--active[b-sao3dab557] {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.arm-rail__ring--locked[b-sao3dab557] {
    border: 2px solid rgba(255, 255, 255, 0.08);
}

/* ---- Content top bar (reference WizardShell breadcrumb chrome) ---- */

.arm-topbar[b-sao3dab557] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    flex-shrink: 0;
    padding: 0 16px 0 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.arm-crumbs[b-sao3dab557] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.arm-crumb[b-sao3dab557] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.arm-crumb--link[b-sao3dab557] {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: color 0.15s;
}

.arm-crumb--link:hover[b-sao3dab557] {
    color: var(--lw-text-primary);
}

.arm-crumb--current[b-sao3dab557] {
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-medium);
    overflow: hidden;
    text-overflow: ellipsis;
}

.arm-crumbs[b-sao3dab557]  .arm-crumb-sep.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-smoke);
    flex-shrink: 0;
}

.arm-topbar__close[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.arm-topbar__close:hover[b-sao3dab557] {
    background: var(--lw-bg-secondary);
    color: var(--lw-text-primary);
}

/* ---- Main content ---- */

.arm-main[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.arm-content[b-sao3dab557] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 32px 40px 40px;
}

.arm-step-wrap[b-sao3dab557] {
    max-width: 760px;
    margin: 0 auto;
}

.arm-stack[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Footer ---- */

.arm-footer[b-sao3dab557] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 40px;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
}

.arm-footer__back[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
}

.arm-footer__back:hover:not([aria-busy="true"])[b-sao3dab557] {
    background: var(--lw-bg-secondary);
}

.arm-footer__continue[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 26px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: #fff;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    cursor: pointer;
    transition: background 0.15s;
}

.arm-footer__continue:hover:not([aria-busy="true"])[b-sao3dab557] {
    background: var(--lw-primary-dark-hover, color-mix(in srgb, var(--lw-primary-dark) 90%, #fff));
}

/* Busy (staging / sending): the buttons stay enabled and the handlers refuse
   the press (O14); aria-busy keeps the dimmed look the disabled state had. */
.arm-footer__back[aria-busy="true"][b-sao3dab557],
.arm-footer__continue[aria-busy="true"][b-sao3dab557] {
    opacity: 0.6;
    cursor: default;
}

/* ---- Documents step (reference documents-manager.tsx) ---- */

.arm-add-picker[b-sao3dab557] {
    width: 100%;
    min-width: 0;
}

/* Reference PickerField option row: label over muted sublabel, no icon. */
.arm-pick-option[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.arm-pick-name[b-sao3dab557] {
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arm-pick-size[b-sao3dab557] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

/* Upload: the shared FileDropZone (drag-and-drop + click) owns its dashed
   chrome and doubles as the empty state -- the old paperclip empty card went
   with the hidden file input it stood in for (US-1043). */
.arm-drop[b-sao3dab557] {
    width: 100%;
    min-width: 0;
}

/* Attached doc cards (reference: rounded-card border bg-white px-4 py-3,
   type-tinted icon, two-line text, trash button). */
.arm-files[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arm-file[b-sao3dab557] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 12px 16px;
}

.arm-file[b-sao3dab557]  .arm-file-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.arm-file-text[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.arm-file-name[b-sao3dab557] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arm-file-size[b-sao3dab557] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.arm-file-remove[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: transparent;
    padding: 0;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.arm-file-remove:hover[b-sao3dab557] {
    background: var(--lw-bg-secondary);
    color: var(--bs-danger, #dc3545);
}

.arm-file-remove[b-sao3dab557]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.arm-empty-note[b-sao3dab557] {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* ---- Vendors step (reference rfp-vendors-step.tsx) ----
   Flush ControlCard body -> three full-bleed strips:
   1. white search+invite toolbar (px-24 py-12, hairline bottom)
   2. table-header select-all bar (px-24 py-10, 13/500 secondary, count right)
   3. selectable list (max-h 420 / min-h 260, rows px-24 py-12, 36px avatar,
      trailing 20px circular SelectIndicator; selected = 3px accent rail +
      info-bg/40 tint). */

.arm-vstep[b-sao3dab557] {
    display: flex;
    flex-direction: column;
}

.arm-vstep__toolbar[b-sao3dab557] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    padding: 12px 24px;
    border-radius: 0;
}

.arm-vstep__search[b-sao3dab557] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.arm-vstep__search[b-sao3dab557]  .arm-vstep__search-icon.mud-icon-root {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-space);
    pointer-events: none;
}

.arm-vstep__search-input[b-sao3dab557] {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding: 0 12px 0 36px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    outline: none;
    font-family: var(--lw-font-family);
    font-size: 14px;
    color: var(--lw-text-primary);
    transition: border-color 0.15s ease;
}

.arm-vstep__search-input[b-sao3dab557]::placeholder {
    color: var(--lw-gray-space);
}

.arm-vstep__search-input:focus[b-sao3dab557] {
    border-color: var(--lw-primary-dark);
}

/* Select-all bar */
.arm-vstep__selectbar[b-sao3dab557] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--lw-bg-table-header);
    border-bottom: 1px solid var(--lw-border);
    padding: 10px 24px;
}

.arm-vstep__selectall[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: color 0.15s;
}

.arm-vstep__selectall:hover:not([aria-disabled="true"])[b-sao3dab557] {
    color: var(--lw-text-primary);
}

/* Nothing to select (empty search): dimmed, still pressable -- the handler
   says why (O14). */
.arm-vstep__selectall[aria-disabled="true"][b-sao3dab557] {
    opacity: 0.5;
    cursor: default;
}

.arm-vstep__count[b-sao3dab557] {
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.arm-vstep__count strong[b-sao3dab557] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Circular SelectIndicator: 20px, hollow steel border; filled = brand
   accent bg + white 12px check / minus. */
.arm-si[b-sao3dab557] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1px solid var(--lw-gray-steel);
    background: transparent;
    color: var(--lw-primary-blue-fg);
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.arm-si--filled[b-sao3dab557] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-primary-blue);
}

.arm-si[b-sao3dab557]  .mud-icon-root {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

/* List */
.arm-vstep__list[b-sao3dab557] {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 420px;
    min-height: 260px;
    overflow-y: auto;
}

.arm-vstep__li[b-sao3dab557] {
    border-bottom: 1px solid var(--lw-border);
}

.arm-vstep__li:last-child[b-sao3dab557] {
    border-bottom: none;
}

.arm-vrow[b-sao3dab557] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 24px;
    text-align: left;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s;
}

.arm-vrow:hover[b-sao3dab557] {
    background: color-mix(in srgb, var(--lw-accent) 40%, transparent);
}

.arm-vrow--selected[b-sao3dab557],
.arm-vrow--selected:hover[b-sao3dab557] {
    background: color-mix(in srgb, var(--lw-status-info-bg) 40%, transparent);
}

.arm-vrow__rail[b-sao3dab557] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lw-primary-blue);
}

.arm-vrow__text[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.arm-vrow__name[b-sao3dab557] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arm-vrow__email[b-sao3dab557] {
    font-size: 12px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty / no-results */
.arm-vstep__empty[b-sao3dab557] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 260px;
    padding: 0 24px;
    text-align: center;
}

.arm-vstep__empty-title[b-sao3dab557] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.arm-vstep__empty-desc[b-sao3dab557] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.arm-vstep__progress[b-sao3dab557] {
    padding: 12px 24px;
    border-top: 1px solid var(--lw-border);
}

.arm-empty-note[b-sao3dab557] {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Bug-751: files are copied to temp storage as soon as they are picked, so the
   wizard can upload them after this step unmounts. Show that it is working. */
.arm-staging[b-sao3dab557] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
}

.arm-staging__text[b-sao3dab557] {
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* ---- Phones (US-1043) ----
   Same anatomy as the shared wizard chrome (lw-wizard.css, .pw-shell phone
   block) rebuilt on the arm-* classes: the rail and main wrappers dissolve so
   their children order directly on a 100dvh column -- top bar (exit crumb +
   44px X), navy progress band, the active step as a chip, the scrolling step
   body, then the footer pinned under it. Only .arm-content scrolls.
   Collapses at the house phone breakpoint (767.98px), not the shared chrome's
   860px, so tablet / desktop widths keep the rail exactly as before. */
@media (max-width: 767.98px) {
    .arm-shell[b-sao3dab557] {
        display: flex;
        flex-direction: column;
    }

    /* Recipient rows: the shared list-card type (lw-page.css tokens) -- name
       14 / medium / 20, email 12 / 16. */
    .arm-vrow__name[b-sao3dab557] {
        line-height: var(--lw-row-title-line);
    }

    .arm-vrow__email[b-sao3dab557] {
        line-height: var(--lw-row-sub-line);
    }

    .arm-rail[b-sao3dab557],
    .arm-main[b-sao3dab557] {
        display: contents;
    }

    .arm-rail__logo[b-sao3dab557] {
        display: none;
    }

    .arm-topbar[b-sao3dab557] {
        order: 1;
        padding: 0 4px 0 16px;
    }

    .arm-crumb--link[b-sao3dab557] {
        flex-shrink: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .arm-crumb--current[b-sao3dab557] {
        min-width: 0;
    }

    .arm-topbar__close[b-sao3dab557] {
        width: 44px;
        height: 44px;
    }

    /* Insets match the shared chrome's phone values. */
    .arm-rail__progress[b-sao3dab557] {
        order: 2;
        padding: 12px 16px;
        background: var(--lw-primary-dark);
    }

    .arm-rail__steps[b-sao3dab557] {
        order: 3;
        flex: none;
        overflow: visible;
        padding: 0 12px 12px;
        background: var(--lw-primary-dark);
    }

    /* The bar and its "n of N" count carry position; show only the current step. */
    .arm-rail__step:not(.is-active)[b-sao3dab557] {
        display: none;
    }

    .arm-rail__step.is-active[b-sao3dab557] {
        cursor: default;
    }

    .arm-content[b-sao3dab557] {
        order: 4;
        flex: 1 1 auto;
        padding: 16px 16px 24px;
    }

    /* Card bodies: 16px insets (flush bodies own theirs). */
    .arm-step-wrap[b-sao3dab557]  .cc-body:not(.cc-body--flush) {
        padding: 16px;
    }

    /* Footer: pinned bar under the scroller; Back keeps its label width and
       the primary fills (the LwModalFooter phone rule). */
    .arm-footer[b-sao3dab557] {
        order: 5;
        flex-shrink: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .arm-footer > span:empty[b-sao3dab557] {
        display: none;
    }

    .arm-footer__back[b-sao3dab557] {
        flex-shrink: 0;
    }

    .arm-footer__continue[b-sao3dab557] {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }

    /* Documents step */
    .arm-drop[b-sao3dab557]  .fdz {
        min-height: 120px;
        padding: 16px;
    }

    /* Trash button: 44px target around the 16px glyph; the negative margins
       keep the card the height of its two text lines. */
    .arm-file-remove[b-sao3dab557] {
        width: 44px;
        height: 44px;
        margin: -6px -12px -6px 0;
    }

    .arm-file-remove[b-sao3dab557]  .mud-icon-root {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    /* Vendors step: search takes the full row, the two actions share the next;
       every control is 44px and the search types at 16px (no iOS focus zoom). */
    .arm-vstep__toolbar[b-sao3dab557] {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .arm-vstep__search[b-sao3dab557] {
        flex: 1 1 100%;
    }

    .arm-vstep__search-input[b-sao3dab557] {
        height: 44px;
        font-size: 16px;
    }

    .arm-vstep__toolbar .lw-page-action[b-sao3dab557] {
        flex: 1 1 0;
        min-width: 0;
        height: 44px;
        justify-content: center;
    }

    .arm-vstep__selectbar[b-sao3dab557] {
        padding: 0 16px;
    }

    .arm-vstep__selectall[b-sao3dab557] {
        min-height: 44px;
    }

    /* No nested scroller on a phone: the list runs its full length and the
       step body scrolls. */
    .arm-vstep__list[b-sao3dab557] {
        max-height: none;
        min-height: 0;
        overflow-y: visible;
    }

    .arm-vrow[b-sao3dab557] {
        min-height: 60px;
        padding: 12px 16px;
    }

    .arm-vstep__empty[b-sao3dab557] {
        min-height: 160px;
        padding: 24px 16px;
    }

    .arm-vstep__progress[b-sao3dab557] {
        padding: 12px 16px;
    }
}
/* _content/Ledgerwise/Components/Modals/AddRfpRecipientModal.razor.rz.scp.css */
/* Add RFP recipient -- canonical lw-modal chrome; picker layout only
   (source shell: ledgerwise-app organisms/gc/invite-vendors-modal.tsx,
   2026-07-23). */

.arr-picker-field[b-kao9my05rs] {
    width: 100%;
    min-width: 0;
}

/* Option rows: label over muted sublabel (PickerField pattern). */
.arr-option[b-kao9my05rs] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.arr-option-name[b-kao9my05rs] {
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Trading name (DBA) line, so the payee can be found by the name printed
   on the invoice (US-914). */
.arr-option-dba[b-kao9my05rs],
.arr-option-sub[b-kao9my05rs] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arr-error[b-kao9my05rs] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-status-error-fg);
}
/* _content/Ledgerwise/Components/Modals/AddSubcontractorInvoiceModal.razor.rz.scp.css */
/* Sub invoice submission mirroring the GC AddInvoiceModal anatomy:
   upload dropzone / ready row, per-file processing state, and the review
   takeover (58/42 ControlCard column beside the document viewer). Takeover
   sizing lives in mudblazor-overrides.css (.asim-dialog:has(.asim-take)). */

/* Upload step: the shared FileDropZone (canonical drop + browse chrome). */

.asim-file[b-0tn03j8wa5] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.asim-file[b-0tn03j8wa5]  .asim-file-icon { width: 1.25rem; height: 1.25rem; color: var(--lw-filetype-pdf-fg); flex-shrink: 0; }

.asim-file-name[b-0tn03j8wa5] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asim-file-size[b-0tn03j8wa5] { flex-shrink: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* -- Processing step: file row carries the activity (spinner + shimmering
   fill); one quiet centered status block below. -- */

.asim-processing[b-0tn03j8wa5] { padding-bottom: 8px; }

/* align-items: stretch (US-926): the base .asim-file centers its children,
   which in this column layout sized the row to the file name's full width --
   a long name overflowed the card on both sides (spinner off the left edge,
   size off the right). Stretched + min-width 0, the name ellipsizes instead. */
.asim-file--processing[b-0tn03j8wa5] { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.asim-file-row[b-0tn03j8wa5] { display: flex; align-items: center; gap: 12px; min-width: 0; }

.asim-file-spinner[b-0tn03j8wa5] {
    border-color: var(--lw-primary-dark);
    border-top-color: transparent;
}

.asim-file-track[b-0tn03j8wa5] {
    height: 4px;
    width: 100%;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
}

.asim-file-fill[b-0tn03j8wa5] {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: var(--lw-primary-dark);
    transition: width 0.2s ease;
}

.asim-file-fill[b-0tn03j8wa5]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    animation: asim-fill-sweep-b-0tn03j8wa5 1.6s ease-in-out infinite;
}

@keyframes asim-fill-sweep-b-0tn03j8wa5 {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .asim-file-fill[b-0tn03j8wa5]::after { animation: none; display: none; }
}

.asim-processing-status[b-0tn03j8wa5] {
    margin-top: 20px;
    text-align: center;
}

.asim-processing-title[b-0tn03j8wa5] {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.asim-processing-sub[b-0tn03j8wa5] {
    margin: 4px auto 0;
    max-width: 380px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--lw-gray-space);
}

/* -- Review takeover (mirrors the GC add-invoice takeover): h-14 header with
   file chip + live amount (LwModalHeader); 58/42 split of a muted ControlCard form column
   beside the document viewer. -- */

.asim-inv-chip[b-0tn03j8wa5] {
    flex-shrink: 0;
    max-width: 260px;
    padding: 2px 8px;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-blue) 10%, transparent);
    font-size: 0.75rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asim-take-amount[b-0tn03j8wa5] {
    font-size: 1rem;
    font-weight: var(--lw-font-bold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.asim-take[b-0tn03j8wa5] {
    display: flex;
    /* Fullscreen viewport minus the 61px LwModalHeader and the modal
       footer band (~72px). */
    height: calc(100vh - 133px);
    background: var(--lw-bg-muted);
}

.asim-take-form[b-0tn03j8wa5] {
    flex: 0 0 58%;
    min-width: 0;
    overflow-y: auto;
}

.asim-take-form-inner[b-0tn03j8wa5] {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 760px;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
}

.asim-take-viewer[b-0tn03j8wa5] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.asim-take-iframe[b-0tn03j8wa5] { width: 100%; height: 100%; border: none; display: block; }

.asim-take-viewer-state[b-0tn03j8wa5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    text-align: center;
    padding: 24px;
}

/* Form internals. */
.asim-fields[b-0tn03j8wa5] { display: flex; flex-direction: column; gap: 16px; }

.asim-date-grid[b-0tn03j8wa5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 639px) {
    .asim-date-grid[b-0tn03j8wa5] { grid-template-columns: 1fr; }
}

/* LwNumericField (US-926) replaced the restyled MudNumericField, so its
   .asim-numfield chrome is gone. */

.asim-error[b-0tn03j8wa5] {
    margin-bottom: 12px;
}

.asim-take-switch[b-0tn03j8wa5] {
    display: none;
}

.asim-take-viewer-state--loading[b-0tn03j8wa5] {
    align-items: stretch;
    justify-content: flex-start;
}

.asim-take-viewer-caption[b-0tn03j8wa5] {
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* ================================================================
   Phone review takeover (US-926) -- the owner ViewInvoiceModal pattern
   (US-798): the form column and the PDF viewer stack, and an LwPaneSwitch
   shows one at a time. Height uses dvh so the iOS toolbar cannot hide the
   bottom of the form.
   ================================================================ */
@media (max-width: 767.98px) {
    .asim-take[b-0tn03j8wa5] {
        flex-direction: column;
        /* The phone review is the O1 bottom sheet (app.css, capped at
           100dvh - 48px), minus the 61px LwModalHeader and 73px footer band. */
        height: calc(100dvh - 182px);
    }

    .asim-take-switch[b-0tn03j8wa5] {
        display: block;
        padding: 12px 16px 0;
        flex-shrink: 0;
    }

    .asim-take-form[b-0tn03j8wa5] {
        flex: 1 1 auto;
    }

    .asim-take-form-inner[b-0tn03j8wa5] {
        padding: 16px;
    }

    .asim-take-viewer[b-0tn03j8wa5] {
        display: none;
        border-left: 0;
    }

    .asim-take--doc .asim-take-form[b-0tn03j8wa5] {
        display: none;
    }

    .asim-take--doc .asim-take-viewer[b-0tn03j8wa5] {
        display: flex;
        flex: 1 1 auto;
        padding: 12px 16px 16px;
    }

    /* Takeover header: no room for the file-name chip beside the title and
       amount; the Document pane shows the file itself. */
    .asim-inv-chip[b-0tn03j8wa5] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Modals/AddVendorModal.razor.rz.scp.css */
/* Add-vendor dialog internals (US-983: brought in line with the Add Vendor page). The
   dialog frame, header, body and footer regions come from the canonical lw-modal pattern
   (LwModalHeader/Body/Footer + the global .lw-modal rules); lw-modal--scroll clips the body,
   so .avm-scroll is the region that scrolls and the footer stays pinned. Fields are the Lw
   atoms; the company search, vendor type chooser and vendor summary carry their own chrome. */

.avm-scroll[b-cmieart4zi] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.avm-fields[b-cmieart4zi] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.avm-grid2[b-cmieart4zi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

/* Phone (US-1043): the name and email/phone pairs stack at the shared phone
   breakpoint (was 640px, which left two ~150px fields side by side in the
   bottom sheet between 641 and 767px). The summary actions the dialog hands
   to VendorSummary ("Change", "Use this vendor") are authored here, so their
   44px tap height is set here too. Field text is 16px on phones through the
   Lw atoms and VendorSearchSelect (--lw-input-font-size). */
@media (max-width: 767.98px) {
    .avm-grid2[b-cmieart4zi] {
        grid-template-columns: minmax(0, 1fr);
    }

    .avm-fields .lw-page-action[b-cmieart4zi] {
        height: 44px;
    }
}

/* Section label inside the dialog body (the wizard field-label recipe: 11px uppercase
   muted), with room above every section after the first. */
.avm-section[b-cmieart4zi] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 -4px;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.avm-section:first-child[b-cmieart4zi] {
    margin-top: 0;
}

/* Status line under the company search: says, in words, that a new vendor is being created. */
.avm-hint[b-cmieart4zi] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Embedded mode inherits the invoice drawer's scrolling region. The fields take the
   place of the host's Payee row, so the action row sheds its modal-footer chrome
   (hairline and 24px gutters) and sits flush with the fields above it. */
.avm-inline[b-cmieart4zi] { min-width: 0; }
.avm-inline .avm-scroll[b-cmieart4zi] { overflow-y: visible; }
.avm-inline-actions[b-cmieart4zi] { margin-top: 16px; }
.avm-inline-actions[b-cmieart4zi]  .lw-modal-footer { padding: 0; border-top: 0; }
/* _content/Ledgerwise/Components/Modals/AgreementSignedModal.razor.rz.scp.css */
/* AgreementSignedModal -- mirrors ledgerwise-ui-app
   organisms/kickoff/flow-complete-modal.tsx (re-measured from source
   2026-07-19): body p-7 center (md:p-9); 64px success-dark check circle w/
   32px white glyph; title mt-5 text-xl bold tracking-tight foreground; body
   mt-2 14/1.625 content-secondary max-44ch; primary mt-7 Button size=action
   (h-10, 14/500, radius-control, hover primary/90) full width.
   Frame (rounded-card form-surface panel) comes from the canonical global
   .lw-modal pattern (Class="lw-modal lw-modal--sm" in app.css). */

.asm-body[b-y7bn9lt5my] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px;
}

@media (min-width: 768px) {
    .asm-body[b-y7bn9lt5my] { padding: 36px; }
}

.asm-check[b-y7bn9lt5my] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lw-success-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[b-y7bn9lt5my] .asm-check .mud-icon-root {
    width: 32px;
    height: 32px;
    font-size: 32px;
}

.asm-title[b-y7bn9lt5my] {
    margin: 20px 0 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lw-text-primary);
    letter-spacing: var(--lw-tracking-tight);
}

.asm-message[b-y7bn9lt5my] {
    margin: 8px 0 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
    max-width: 44ch;
}

/* CTA renders via LwButton (Interactive, Size=Action, full width). */
.asm-cta-slot[b-y7bn9lt5my] { margin-top: 28px; width: 100%; }
/* _content/Ledgerwise/Components/Modals/AssignInvoiceToDrawRequestModal.razor.rz.scp.css */
/* Force the fullscreen dialog overlay above the MudBlazor
   AppBar (z-index 1100) and Drawer (z-index 1200) */
[b-ae1376d817] .mud-overlay.mud-overlay-dialog {
    z-index: 1400 !important;
}

/* Invoice card - draggable */
.invoice-card-draggable[b-ae1376d817] {
    border: 1px solid var(--lw-border);
    border-radius: 0;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.invoice-card-draggable.has-remaining[b-ae1376d817] {
    cursor: grab;
}

.invoice-card-draggable.has-remaining:hover[b-ae1376d817] {
    background: linear-gradient(135deg, rgba(57, 128, 165, 0.06) 0%, rgba(57, 128, 165, 0.12) 100%);
    border-color: var(--lw-primary-blue);
    box-shadow: 0 2px 12px rgba(57, 128, 165, 0.15);
}

.invoice-card-draggable.dragging[b-ae1376d817] {
    cursor: grabbing;
    opacity: 0.5;
    border: 2px dashed var(--lw-primary-blue);
    background: linear-gradient(135deg, rgba(57, 128, 165, 0.04) 0%, rgba(57, 128, 165, 0.08) 100%);
    transform: scale(0.98);
}

/* Fully allocated invoice card -- full green background */
.invoice-card-draggable.fully-allocated[b-ae1376d817] {
    border-color: var(--lw-success-dark);
    background: var(--lw-status-success-bg);
}

/* Drop zone rows */
[b-ae1376d817] .drop-zone-row {
    transition: background 0.2s ease, outline 0.2s ease, transform 0.15s ease;
}

[b-ae1376d817] .drop-zone-row.drag-active {
    background: rgba(57, 128, 165, 0.04);
}

[b-ae1376d817] .drop-zone-row.drag-active:nth-child(even) {
    background: rgba(57, 128, 165, 0.10);
}

[b-ae1376d817] .drop-zone-row.drag-over {
    background: rgba(57, 128, 165, 0.18) !important;
    outline: 2px solid var(--lw-primary-blue) !important;
    outline-offset: -2px;
}

/* Nested allocation rows */
[b-ae1376d817] .allocation-nested-row {
    background: var(--lw-bg-muted);
    animation: slide-in-b-ae1376d817 0.25s ease-out;
}

[b-ae1376d817] .allocation-nested-row td {
    border-bottom: 1px solid var(--lw-border);
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Over-budget highlighting -- destructive red, matching ledgerwise-ui
   (allocation-budget-table.tsx: bg-destructive/[0.04] + border-l-destructive). */
[b-ae1376d817] tr.over-budget-row > td {
    background: rgba(184, 53, 48, 0.04) !important;
}

[b-ae1376d817] tr.over-budget-row > td:first-child {
    box-shadow: inset 3px 0 0 0 var(--lw-destructive);
}

/* Negative "Available" figure on an over-budget line (text-destructive font-bold). */
[b-ae1376d817] .over-budget-amount {
    color: var(--lw-destructive) !important;
    font-weight: 700 !important;
}

/* Allocation state badges. Mirror the small pills in ledgerwise-ui's allocation
   rows / invoice cards: solid-red "Over Budget", blue-tinted "+$ Requested",
   gold "Over Budget" once a budget adjustment has been requested. */
[b-ae1376d817] .lw-alloc-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

[b-ae1376d817] .lw-alloc-badge--over {
    background: var(--lw-destructive);
    color: #fff;
    font-size: 9px;
}

[b-ae1376d817] .lw-alloc-badge--requested {
    background: var(--lw-status-primary-bg);
    color: var(--lw-status-primary-fg);
    font-size: 10px;
}

[b-ae1376d817] .lw-alloc-badge--ba {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
    font-size: 10px;
}

/* Over-budget pill that carries its own action (US-933): two segments of one pill --
   the "Over Budget" label and the "Move $X to Contingency" chip -- stretched to the
   same height with the same padding, so their top and bottom edges are one line
   whatever the global button reset does to line boxes. The chip is a real button
   (keyboard reachable), lighter on the red; the pill clips the shared corners. */
[b-ae1376d817] .lw-alloc-badge--with-action {
    padding: 0;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    font-size: 10px;
}

[b-ae1376d817] .lw-alloc-badge-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;
    line-height: 1;
}

[b-ae1376d817] .lw-alloc-badge-action {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 3px 7px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
}

[b-ae1376d817] .lw-alloc-badge-action:hover { background: rgba(255, 255, 255, 0.34); }

[b-ae1376d817] .lw-alloc-badge-action:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

/* Invoice switcher -- underline tabs (allocation-invoice-panel.tsx tab row). */
[b-ae1376d817] .lw-invoice-tabs {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    border-bottom: 1px solid var(--lw-border);
    margin-bottom: 0.75rem;
    scrollbar-width: none;
}

[b-ae1376d817] .lw-invoice-tabs::-webkit-scrollbar {
    height: 0;
    display: none;
}

[b-ae1376d817] .lw-invoice-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

[b-ae1376d817] .lw-invoice-tab:hover {
    background: var(--lw-status-neutral-bg);
}

[b-ae1376d817] .lw-invoice-tab--active {
    border-bottom-color: var(--lw-text-primary);
}

[b-ae1376d817] .lw-invoice-tab-name {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

[b-ae1376d817] .lw-invoice-tab--active .lw-invoice-tab-name {
    color: var(--lw-text-primary);
}

[b-ae1376d817] .lw-invoice-tab--complete .lw-invoice-tab-name {
    color: var(--lw-success-dark);
}

[b-ae1376d817] .lw-invoice-tab-num {
    flex-shrink: 0;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    line-height: 1.4;
}

/* Remove-from-request affordance: quiet until the tab is hovered or focused,
   so the strip still reads as navigation rather than a row of delete buttons. */
[b-ae1376d817] .lw-invoice-tab-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: none;
    color: var(--lw-gray-space);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

[b-ae1376d817] .lw-invoice-tab:hover .lw-invoice-tab-remove,
[b-ae1376d817] .lw-invoice-tab--active .lw-invoice-tab-remove,
[b-ae1376d817] .lw-invoice-tab-remove:focus-visible {
    opacity: 1;
}

[b-ae1376d817] .lw-invoice-tab-remove:hover {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

[b-ae1376d817] .lw-invoice-tab-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lw-success-dark);
    flex-shrink: 0;
}

[b-ae1376d817] .lw-invoice-tab-check .mud-icon-root {
    font-size: 9px;
    color: #fff;
}

/* Count badge next to the "Invoices" heading. */
[b-ae1376d817] .lw-count-badge {
    display: inline-flex;
    align-items: center;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Previous / "x of y" / Next footer (allocation-invoice-panel.tsx nav footer). */
[b-ae1376d817] .lw-invoice-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--lw-border);
    padding-top: 0.5rem;
    margin-top: 0.75rem;
}

[b-ae1376d817] .lw-invoice-nav-btn,
[b-ae1376d817] .lw-invoice-nav-btn .mud-icon-root {
    color: var(--lw-gray-graphite) !important;
}

[b-ae1376d817] .lw-invoice-nav-btn {
    text-transform: none;
    font-weight: 500;
}

[b-ae1376d817] .lw-invoice-nav-btn:disabled,
[b-ae1376d817] .lw-invoice-nav-btn:disabled .mud-icon-root {
    opacity: 0.4;
}

@keyframes slide-in-b-ae1376d817 {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- Add-to-payment-request chooser (reference add-to-payment-request-modal,
   2026-07-20): brand-accent selection summary bar + radio cards. -- */

.aidr-summary[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--lw-primary-blue) 25%, transparent);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

.aidr-summary-count[b-ae1376d817] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); color: var(--lw-text-primary); }
.aidr-summary-total[b-ae1376d817] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); font-variant-numeric: tabular-nums; color: var(--lw-text-primary); }

.aidr-options[b-ae1376d817] { display: flex; flex-direction: column; gap: 10px; }

.aidr-option[b-ae1376d817] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.aidr-option:hover[b-ae1376d817] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    background: color-mix(in srgb, var(--lw-accent) 40%, transparent);
}

.aidr-option--selected[b-ae1376d817],
.aidr-option--selected:hover[b-ae1376d817] {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

.aidr-radio[b-ae1376d817] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--lw-primary-dark);
    cursor: pointer;
}

.aidr-option-text[b-ae1376d817] { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.aidr-option-title[b-ae1376d817] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); color: var(--lw-text-primary); }
.aidr-option-sub[b-ae1376d817] { font-size: 0.75rem; color: var(--lw-gray-space); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -- Step 2 (full-screen allocation workspace) section heads + actions.
   Section labels mirror ledgerwise-app allocation-invoice-panel / -budget-table
   headers (text-sm semibold); the budget head keeps a right-aligned running
   total (Blazor-only affordance). -- */

.aidr-section-head[b-ae1376d817] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* Full-screen allocation workspace shell (inside .lw-modal--takeover):
   split panes fill the content region; the right pane owns the budget grid. */
.aidr-split[b-ae1376d817] {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.aidr-left[b-ae1376d817] {
    width: 42%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* Left panel: full-bleed section header + tabs, padded scroll body, pinned nav. */
.aidr-inv-header[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    min-height: 48px;
    border-bottom: 1px solid var(--lw-border);
    flex: 0 0 auto;
}

.aidr-inv-header-title[b-ae1376d817] { display: flex; align-items: center; gap: 8px; }

.aidr-inv-count[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.aidr-left-body[b-ae1376d817] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    overflow-y: auto;
}

/* Invoice card */
.aidr-inv-card[b-ae1376d817] {
    flex: 0 0 auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: #fff;
    box-shadow: var(--lw-shadow-card);
    padding: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.aidr-inv-card[draggable="true"][b-ae1376d817] { cursor: grab; }
.aidr-inv-card--done[b-ae1376d817] { border-color: color-mix(in srgb, var(--lw-success-dark) 25%, transparent); background: var(--lw-status-success-bg); box-shadow: none; }
.aidr-inv-card--dragging[b-ae1376d817] { opacity: 0.5; cursor: grabbing; }

.aidr-inv-cardhead[b-ae1376d817] { display: flex; align-items: flex-start; gap: 8px; }

/* Click-to-allocate "+" (reference allocation-invoice-panel.tsx: size-7 rounded-md
   brand-accent icon button, hover bg-accent) -- the non-drag path into the
   budget-line picker popover. */
.aidr-allocpop-anchor[b-ae1376d817] { position: relative; flex-shrink: 0; margin-left: auto; }
.aidr-plus[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-primary-blue);
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.aidr-plus:hover[b-ae1376d817], .aidr-plus--open[b-ae1376d817] { background: var(--lw-accent); }
.aidr-plus:focus-visible[b-ae1376d817] { outline: 2px solid var(--lw-primary-blue); outline-offset: 1px; }

/* Invisible click-catcher that closes the popover on outside click. Lives in
   the dialog's stacking context (1400) so it sits under the teleported popover. */
.aidr-allocpop-catcher[b-ae1376d817] { position: fixed; inset: 0; background: transparent; }

/* Header "Show me how" replay action for the allocation tour. The row wrapper is the
   phone re-flow hook (lw-drawer.css); flex keeps the button centered on the title line. */
.aidr-howto-row[b-ae1376d817] { display: flex; align-items: center; }
.aidr-howto[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.aidr-howto:hover[b-ae1376d817] { background: var(--lw-accent); color: var(--lw-text-primary); }
.aidr-howto svg[b-ae1376d817] { color: var(--lw-primary-blue); }
.aidr-inv-lead[b-ae1376d817] { display: inline-flex; align-items: center; flex-shrink: 0; margin-top: 4px; }
.aidr-inv-grip[b-ae1376d817] { color: var(--lw-gray-space); }
.aidr-inv-lead--check[b-ae1376d817] { color: var(--lw-success-dark); }

.aidr-inv-avatar[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lw-primary-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.aidr-inv-avatar--done[b-ae1376d817] { background: var(--lw-success-dark); }

.aidr-inv-meta[b-ae1376d817] { min-width: 0; flex: 1; }
.aidr-inv-nrow[b-ae1376d817] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.aidr-inv-name[b-ae1376d817] { font-size: 14px; font-weight: 600; color: var(--lw-text-primary); }
.aidr-inv-name--done[b-ae1376d817] { color: var(--lw-success-dark); }
.aidr-inv-num[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-graphite); }

.aidr-inv-summary[b-ae1376d817] {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aidr-inv-progress[b-ae1376d817] {
    margin-top: 12px;
    height: 5px;
    width: 100%;
    border-radius: 999px;
    background: var(--lw-bg-muted);
    overflow: hidden;
}

.aidr-inv-progress-fill[b-ae1376d817] { height: 100%; border-radius: 999px; background: var(--lw-primary-blue); transition: width 0.3s ease; }
.aidr-inv-progress-fill--done[b-ae1376d817] { background: var(--lw-success-dark); }
.aidr-inv-progress-fill--over[b-ae1376d817] { background: var(--lw-destructive); }

.aidr-inv-info[b-ae1376d817] { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.aidr-inv-alloc[b-ae1376d817] { display: flex; align-items: baseline; gap: 4px; }
.aidr-inv-alloc-cur[b-ae1376d817] { font-size: 12px; font-weight: 600; color: var(--lw-text-primary); font-variant-numeric: tabular-nums; }
.aidr-inv-alloc-cur--done[b-ae1376d817] { color: var(--lw-success-dark); }
.aidr-inv-alloc-of[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-space); font-variant-numeric: tabular-nums; }
.aidr-inv-remaining[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-graphite); }

.aidr-inv-done[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--lw-status-success-bg);
    color: var(--lw-success-dark);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
}

/* Attachments + preview. The left body is the scroll region; the preview takes
   whatever height is left below the invoice card so the document reads at a
   usable size, and falls back to a tall minimum when the pane has to scroll. */
.aidr-attach[b-ae1376d817] { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.aidr-attach-head[b-ae1376d817] { font-size: 12px; font-weight: 600; color: var(--lw-text-primary); margin-bottom: 8px; }
.aidr-attach-chips[b-ae1376d817] { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.aidr-attach-chip[b-ae1376d817] {
    border: 1px solid var(--lw-border);
    background: #fff;
    border-radius: var(--lw-radius-control);
    padding: 4px 10px;
    font-size: 12px;
    color: var(--lw-text-primary);
    cursor: pointer;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.aidr-attach-chip:hover[b-ae1376d817] { border-color: var(--lw-primary-blue); }
.aidr-attach-chip--active[b-ae1376d817] { background: var(--lw-primary-dark); border-color: var(--lw-primary-dark); color: #fff; }

.aidr-preview[b-ae1376d817] {
    flex: 1 1 auto;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
    background: #fff;
}

.aidr-preview-head[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--lw-border);
    flex: 0 0 auto;
}

.aidr-preview-name[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-graphite); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aidr-preview-open[b-ae1376d817] { border: none; background: none; cursor: pointer; color: var(--lw-gray-graphite); display: inline-flex; padding: 2px; flex-shrink: 0; }
.aidr-preview-open:hover[b-ae1376d817] { color: var(--lw-primary-blue); }
.aidr-preview-body[b-ae1376d817] { flex: 1; min-height: 0; overflow: hidden; }
.aidr-preview-body iframe[b-ae1376d817] { width: 100%; height: 100%; border: none; }
.aidr-preview-img[b-ae1376d817] { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; background: var(--lw-bg-muted); }
.aidr-preview-img img[b-ae1376d817] { max-width: 100%; max-height: 100%; object-fit: contain; }
.aidr-preview-center[b-ae1376d817] { height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.aidr-preview-muted[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-graphite); }

/* Prev / next nav */
.aidr-inv-nav[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--lw-border);
    flex: 0 0 auto;
}

.aidr-inv-navbtn[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    transition: color 0.15s ease;
}

/* Never disabled (O14): at the first / last invoice the button only dims. */
.aidr-inv-navbtn:hover:not(.aidr-inv-navbtn--edge)[b-ae1376d817] { color: var(--lw-text-primary); }
.aidr-inv-navbtn--edge[b-ae1376d817] { opacity: 0.4; cursor: default; }
.aidr-inv-nav-count[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-space); }

.aidr-right[b-ae1376d817] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-left: 1px solid var(--lw-border);
}

/* Same min-height as .aidr-inv-header so the two header borders meet in one line
   across the split now that the right head holds the 24px search box. */
.aidr-right-head[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    min-height: 48px;
    border-bottom: 1px solid var(--lw-border);
    flex: 0 0 auto;
}

/* Full-width pinned footer bar (DialogActions), reference OnboardingFooter. */
.aidr-footerbar[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--lw-border);
    background: #fff;
}

/* Allocation progress readout: why the add is (or is not) ready, so the
   button never has to be disabled to say it (guarded continue). */
.aidr-footer-status[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}
.aidr-footer-status--done[b-ae1376d817] { color: var(--lw-success-dark); }
.aidr-footer-spacer[b-ae1376d817] { flex: 1; }
.aidr-submit-anchor[b-ae1376d817] { display: inline-flex; }

.aidr-footer-cancel[b-ae1376d817] {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    transition: color 0.15s ease;
}

.aidr-footer-cancel:hover[b-ae1376d817] { color: var(--lw-text-primary); }
/* Never disabled (O14): dimmed while a save runs; CancelFromFooter ignores the tap. */
.aidr-footer-cancel--busy[b-ae1376d817],
.aidr-footer-cancel--busy:hover[b-ae1376d817] { opacity: 0.5; cursor: default; color: var(--lw-gray-graphite); }

.aidr-section-title[b-ae1376d817] {
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.aidr-section-total[b-ae1376d817] {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Budget table search (US-933): the + popover's search chrome, sitting in the
   right-column header between the title and the request total. */
.aidr-budget-search[b-ae1376d817] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 240px;
    min-width: 120px;
    height: 24px;
    margin-left: auto;
    margin-right: 12px;
    padding: 0 8px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    transition: border-color 0.15s ease;
}

.aidr-budget-search:focus-within[b-ae1376d817] { border-color: var(--lw-primary-dark); }

.aidr-budget-search input[b-ae1376d817] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-text-primary);
}

.aidr-budget-search input[b-ae1376d817]::placeholder { color: var(--lw-gray-graphite); }

.aidr-budget-search-clear[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--lw-gray-graphite);
}

.aidr-budget-search-clear:hover[b-ae1376d817] { color: var(--lw-text-primary); }

/* Nothing matched the budget search. */
.bt-empty[b-ae1376d817] {
    padding: 24px 16px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    text-align: center;
}

/* -- Budget allocation table: reference grid (allocation-budget-table.tsx).
   Shared 7-col template across every row type:
   28px chevron | 44px # | 1fr desc | 140 Budgeted | 140 Available | 140 This Request | 36 actions. -- */

.bt-scroll[b-ae1376d817] { flex: 1; overflow-y: auto; min-height: 0; }

.bt-row[b-ae1376d817] {
    display: grid;
    grid-template-columns: 28px var(--aidr-num-w, 44px) minmax(0, 1fr) 140px 140px 140px 36px;
    align-items: center;
    border-left: 3px solid transparent;
}

/* Sticky column header */
.bt-colhead[b-ae1376d817] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--lw-bg-muted);
    border-bottom: 1px solid var(--lw-border);
    padding: 8px 12px;
}

.bt-hcell[b-ae1376d817] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--lw-gray-graphite);
}

.bt-hcell--r[b-ae1376d817] { text-align: right; }

/* Category header row */
.bt-cat[b-ae1376d817] {
    background: var(--lw-bg-muted);
    border-bottom: 1px solid var(--lw-border);
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bt-cat:hover[b-ae1376d817] { background: var(--lw-accent); }

/* While a budget search is active every matching category is held open, so the
   header stops advertising a click it would ignore. */
.bt-cat--locked[b-ae1376d817] { cursor: default; }
.bt-cat--locked:hover[b-ae1376d817] { background: var(--lw-bg-muted); }

.bt-chevron[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lw-gray-graphite);
}

.bt-num[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-space); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bt-num--cat[b-ae1376d817] { font-weight: 700; color: var(--lw-text-primary); }

.bt-cat-name[b-ae1376d817] {
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 8px;
}

/* Line-item row */
.bt-line[b-ae1376d817] {
    border-bottom: 1px solid var(--lw-border);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--lw-text-primary);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.bt-line--allocated[b-ae1376d817] { background: rgba(57, 128, 165, 0.02); }
.bt-line--over[b-ae1376d817] { background: rgba(184, 53, 48, 0.04); border-left-color: var(--lw-destructive); }
.bt-line--drop[b-ae1376d817] { border-left-color: var(--lw-primary-blue); background: rgba(57, 128, 165, 0.06); }

.bt-desc[b-ae1376d817] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 8px;
}

.bt-money[b-ae1376d817] { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.bt-money--cat[b-ae1376d817] { font-weight: 500; }
.bt-money--req[b-ae1376d817] { color: var(--lw-primary-blue); }
.bt-money--over[b-ae1376d817] { color: var(--lw-destructive); font-weight: 700; }
.bt-money--ok[b-ae1376d817] { color: var(--lw-success-dark); }
.bt-money--adj[b-ae1376d817] { color: var(--lw-primary-blue); font-weight: 700; }

/* Nested allocation row */
.bt-alloc[b-ae1376d817] {
    background: color-mix(in srgb, var(--lw-bg-muted) 55%, #fff);
    border-bottom: 1px solid var(--lw-border);
    padding: 6px 12px;
}

.bt-arrow[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-space); }

.bt-alloc-vendor[b-ae1376d817] { display: flex; align-items: center; gap: 6px; min-width: 0; }

.bt-avatar[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
}

.bt-alloc-name[b-ae1376d817] {
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bt-alloc-sep[b-ae1376d817] { color: var(--lw-gray-space); }

/* The invoice numbers never shrink on their own (the vendor name gives way first) and
   are capped at half the vendor block, ellipsized, as the last resort -- two invoices
   from the same vendor on one line stay tellable apart. */
.bt-alloc-num[b-ae1376d817] {
    font-size: 10px;
    color: var(--lw-gray-space);
    flex-shrink: 0;
    max-width: 50%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Vendor + status pill + links in one cell spanning the Description, Budgeted and
   Available columns (US-933). Three ways the row gives way before anything overlaps:
   the vendor name ellipsizes; below a 200px vendor block the status group wraps to its
   own right-aligned line under the vendor; and when the cell is narrower than the group
   itself, the links wrap under the pill inside the group. */
.bt-alloc-main[b-ae1376d817] {
    grid-column: 3 / 6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    min-width: 0;
}

/* Basis 0, not auto, so a long invoice-number list alone never forces the wrap; the
   200px floor is what a readable vendor name plus one invoice number need. On a 1440px
   screen an over-budget row therefore takes two lines rather than squeezing the vendor
   to a few letters. */
.bt-alloc-vendor[b-ae1376d817] {
    flex: 1 1 0;
    min-width: 200px;
}

.bt-alloc-status[b-ae1376d817] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 8px;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
}

.bt-alloc-link[b-ae1376d817] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    color: var(--lw-primary-blue);
    text-decoration: underline;
    white-space: nowrap;
}

.bt-alloc-link:hover[b-ae1376d817] { color: var(--lw-primary-blue-dark); }

.bt-alloc-x[b-ae1376d817] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-space);
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.bt-alloc-x:hover[b-ae1376d817] { color: var(--lw-destructive); }

/* Compound $/% amount input */
.bt-alloc-amtcell[b-ae1376d817] { display: flex; justify-content: flex-end; }

.bt-amt[b-ae1376d817] {
    display: inline-flex;
    align-items: stretch;
    max-width: 128px;
    border: 1px solid var(--lw-border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease;
}

.bt-amt:focus-within[b-ae1376d817] { border-color: var(--lw-primary-blue); }

.bt-amt-mode[b-ae1376d817] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    font-size: 10px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    background: var(--lw-bg-muted);
    border: none;
    border-right: 1px solid var(--lw-border);
    cursor: pointer;
    flex-shrink: 0;
}

.bt-amt-mode:hover[b-ae1376d817] { background: var(--lw-accent); }
.bt-amt-mode svg[b-ae1376d817] { opacity: 0.6; }

.bt-amt-input[b-ae1376d817] {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 4px 6px;
    font-size: 12px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    -moz-appearance: textfield;
}

.bt-amt-input[b-ae1376d817]::-webkit-inner-spin-button,
.bt-amt-input[b-ae1376d817]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.bt-alloc-removecell[b-ae1376d817] { display: flex; justify-content: center; }

.bt-alloc-remove[b-ae1376d817] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-space);
    display: inline-flex;
    padding: 2px;
}

.bt-alloc-remove:hover[b-ae1376d817] { color: var(--lw-destructive); }

/* -- Fee-summary footer (FeeSummaryFooter): always-visible total row that
   expands upward to the cost-of-work + Ledgerwise fee breakdown. -- */

.bt-fee[b-ae1376d817] { border-top: 1px solid var(--lw-border); }
.bt-fee-breakdown[b-ae1376d817] { border-bottom: 1px solid var(--lw-border); }

.bt-fee-line[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--lw-text-primary);
}

.bt-fee-formula[b-ae1376d817] { font-size: 12px; color: var(--lw-gray-graphite); }

.bt-fee-total[b-ae1376d817] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bt-fee-total:hover[b-ae1376d817] { background: var(--lw-accent); }

.bt-fee-total-label[b-ae1376d817] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.bt-fee-caret[b-ae1376d817] { display: inline-flex; align-items: center; color: var(--lw-gray-graphite); }
.bt-fee-sub[b-ae1376d817] { color: var(--lw-gray-graphite); font-weight: 400; }

.bt-fee-total-amt[b-ae1376d817] {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* US-1019: an invoice already saved to the request. The tab says so where the remove "x"
   was, the card's pill names the request, and its allocation rows stay for the figures but
   read as settled -- inputs disabled, actions gone. */
[b-ae1376d817] .lw-invoice-tab--added .lw-invoice-tab-name { color: var(--lw-text-primary); }

[b-ae1376d817] .lw-invoice-tab-added {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: var(--lw-status-success-bg);
    color: var(--lw-success-dark);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aidr-inv-done--added[b-ae1376d817] { background: var(--lw-status-success-bg); }

.aidr-footer-hint[b-ae1376d817] { font-weight: 400; color: var(--lw-gray-graphite); }

.bt-alloc--added .bt-alloc-name[b-ae1376d817],
.bt-alloc--added .bt-alloc-num[b-ae1376d817] { color: var(--lw-gray-graphite); }
.bt-alloc--added .bt-amt-input:disabled[b-ae1376d817],
.bt-alloc--added .bt-amt-mode--locked[b-ae1376d817] { opacity: 0.7; cursor: default; }
.bt-alloc--added .bt-amt-mode--locked:hover[b-ae1376d817] { background: var(--lw-bg-muted); }

/* ==========================================================================
   Phones (US-1043, Batch 10 item 7). Desktop keeps every rule above; the
   elements below only exist for the phone layout and stay hidden from 768px.
   ========================================================================== */

/* Phone-only pieces: the "Allocate" label on the + button, the attachments
   toggle, and the inline budget-line picker (rendered only when _isPhone). */
.aidr-plus-label[b-ae1376d817],
.aidr-attach-toggle[b-ae1376d817] { display: none; }

/* Touch has no HTML5 drag: no grip, no grab cursor. The + button is the path. */
@media (hover: none) {
    .aidr-inv-grip[b-ae1376d817] { display: none; }
    .aidr-inv-card[draggable="true"][b-ae1376d817] { cursor: default; }
}

@media (max-width: 767.98px) {
    /* ---- Step 1 picker ---- */
    .aidr-summary[b-ae1376d817] { flex-wrap: wrap; gap: 4px 12px; }
    .aidr-option[b-ae1376d817] { min-height: 44px; padding: 12px; }
    .aidr-option-sub[b-ae1376d817] { white-space: normal; }

    /* ---- Step 2 header ---- */
    .aidr-howto[b-ae1376d817] { height: 44px; padding: 0 12px; font-size: 14px; }

    /* ---- Step 2 shell: the invoices strip above the budget grid. The split is
       the outer scroll; the budget column is never shorter than the screen's
       content area (header + footer ~ 232px), so once the strip is scrolled
       past, the grid scrolls inside it with its search and fee total pinned. */
    .aidr-split[b-ae1376d817] {
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .aidr-left[b-ae1376d817] {
        width: 100%;
        flex: 0 0 auto;
        overflow: visible;
    }

    .aidr-inv-header[b-ae1376d817] { padding: 8px 16px; min-height: 40px; }

    .aidr-left-body[b-ae1376d817] {
        flex: 0 0 auto;
        overflow: visible;
        padding: 12px 16px;
    }

    .aidr-right[b-ae1376d817] {
        flex: 1 1 0;
        min-height: max(320px, calc(100dvh - 232px));
        border-left: 0;
        border-top: 1px solid var(--lw-border);
    }

    /* ---- Invoice tab strip ---- */
    [b-ae1376d817] .lw-invoice-tabs { margin-bottom: 0; padding: 0 4px; }
    [b-ae1376d817] .lw-invoice-tab { min-height: 44px; padding: 0 12px; }
    [b-ae1376d817] .lw-invoice-tab-name { max-width: 140px; font-size: 14px; }
    [b-ae1376d817] .lw-invoice-tab-num,
    [b-ae1376d817] .lw-invoice-tab-added { font-size: 11px; }
    [b-ae1376d817] .lw-invoice-tab-remove { width: 32px; height: 44px; margin-right: -8px; }

    /* ---- Invoice card ---- */
    .aidr-inv-cardhead[b-ae1376d817] { flex-wrap: wrap; align-items: center; }
    .aidr-inv-lead[b-ae1376d817] { margin-top: 0; }
    /* Shared list-card title type (lw-page.css tokens): 14 / medium / 20. */
    .aidr-inv-name[b-ae1376d817] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }
    .aidr-inv-num[b-ae1376d817],
    .aidr-inv-summary[b-ae1376d817],
    .aidr-inv-alloc-cur[b-ae1376d817],
    .aidr-inv-alloc-of[b-ae1376d817],
    .aidr-inv-remaining[b-ae1376d817] { font-size: 13px; }
    .aidr-inv-info[b-ae1376d817] { flex-wrap: wrap; gap: 4px 12px; }

    /* The touch path: a full-width, labelled 44px "Allocate" button on the card. */
    .aidr-allocpop-anchor[b-ae1376d817] {
        flex: 1 1 100%;
        margin: 4px 0 0;
    }

    .aidr-plus[b-ae1376d817] {
        width: 100%;
        height: 44px;
        gap: 8px;
        border: 1px solid var(--lw-primary-blue);
        background: var(--lw-white);
        font-family: var(--lw-font-family);
        font-size: 14px;
        font-weight: 600;
    }

    .aidr-plus-label[b-ae1376d817] { display: inline; }

    /* Budget-line picker as a list under the card: capped height with its own
       scroll, so it never leaves the viewport. Row chrome is the popover's
       (.aidr-allocpop-* in mudblazor-overrides.css) at phone sizes. */
    .aidr-allocsheet[b-ae1376d817] {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        max-height: min(360px, 55dvh);
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
        overflow: hidden;
    }

    .aidr-allocsheet .aidr-allocpop-search[b-ae1376d817] { height: 44px; padding: 0 12px; }
    .aidr-allocsheet .aidr-allocpop-search input[b-ae1376d817] { font-size: 16px; }
    .aidr-allocsheet .aidr-allocpop-cat[b-ae1376d817] { padding: 8px 12px; font-size: 12px; }
    .aidr-allocsheet .aidr-allocpop-line[b-ae1376d817] { min-height: 44px; padding: 8px 12px; font-size: 14px; }
    .aidr-allocsheet .aidr-allocpop-desc[b-ae1376d817] { white-space: normal; overflow-wrap: anywhere; }
    .aidr-allocsheet .aidr-allocpop-num[b-ae1376d817],
    .aidr-allocsheet .aidr-allocpop-avail[b-ae1376d817] { font-size: 13px; }

    /* ---- Attachments: collapsed behind the toggle ---- */
    .aidr-attach[b-ae1376d817] { flex: 0 0 auto; }
    .aidr-attach-head[b-ae1376d817] { display: none; }

    .aidr-attach-toggle[b-ae1376d817] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-control);
        background: var(--lw-white);
        font-family: var(--lw-font-family);
        font-size: 14px;
        font-weight: 600;
        color: var(--lw-text-primary);
        cursor: pointer;
    }

    .aidr-attach-toggle svg[b-ae1376d817] { flex-shrink: 0; color: var(--lw-gray-graphite); }
    .aidr-attach:not(.aidr-attach--open) > :not(.aidr-attach-toggle)[b-ae1376d817] { display: none; }
    .aidr-attach--open .aidr-attach-toggle[b-ae1376d817] { margin-bottom: 12px; }
    .aidr-attach-chip[b-ae1376d817] { min-height: 44px; padding: 0 12px; font-size: 14px; }
    .aidr-preview[b-ae1376d817] { flex: 0 0 auto; height: 60dvh; min-height: 320px; }
    .aidr-preview-name[b-ae1376d817] { font-size: 13px; }
    .aidr-preview-open[b-ae1376d817] { width: 44px; height: 44px; align-items: center; justify-content: center; margin: -6px -10px -6px 0; }
    .aidr-preview-muted[b-ae1376d817] { font-size: 13px; }

    /* ---- Prev / next ---- */
    .aidr-inv-nav[b-ae1376d817] { padding: 0 8px; }
    .aidr-inv-navbtn[b-ae1376d817] { min-height: 44px; padding: 0 8px; font-size: 14px; }
    .aidr-inv-nav-count[b-ae1376d817] { font-size: 13px; }

    /* ---- Budget column head: title + total, search on its own 44px row ---- */
    .aidr-right-head[b-ae1376d817] { flex-wrap: wrap; gap: 8px 12px; }

    .aidr-budget-search[b-ae1376d817] {
        order: 3;
        flex: 1 1 100%;
        height: 44px;
        margin: 0;
        padding: 0 4px 0 12px;
    }

    .aidr-budget-search input[b-ae1376d817] { font-size: 16px; }
    .aidr-budget-search-clear[b-ae1376d817] { width: 40px; height: 40px; justify-content: center; }

    /* ---- Budget grid: each row re-flows onto two lines (no sideways scroll).
       Line 1: chevron | # | name | This Request. Line 2: the figures, labelled.
       The desktop 7-column template cannot fit 360px (507px of columns). ---- */
    .bt-row[b-ae1376d817] {
        grid-template-columns: 18px var(--aidr-num-w, 34px) minmax(0, 1fr) auto;
        column-gap: 6px;
        row-gap: 2px;
    }

    .bt-colhead[b-ae1376d817],
    .bt-cat[b-ae1376d817],
    .bt-line[b-ae1376d817],
    .bt-alloc[b-ae1376d817] { padding: 10px 16px 10px 13px; }

    .bt-row > :nth-child(1)[b-ae1376d817] { grid-column: 1; grid-row: 1; }
    .bt-row > :nth-child(2)[b-ae1376d817] { grid-column: 2; grid-row: 1; }
    .bt-row > :nth-child(3)[b-ae1376d817] { grid-column: 3; grid-row: 1; }

    /* Header: # | Description | This Request (Budgeted / Available are labelled
       on each row's second line instead). */
    .bt-colhead > :nth-child(4)[b-ae1376d817],
    .bt-colhead > :nth-child(5)[b-ae1376d817],
    .bt-colhead > :nth-child(7)[b-ae1376d817] { display: none; }
    .bt-colhead > :nth-child(6)[b-ae1376d817] { grid-column: 4; grid-row: 1; }

    /* Category: name + request total, budgeted beneath. */
    .bt-cat[b-ae1376d817] { min-height: 44px; }
    .bt-cat > :nth-child(5)[b-ae1376d817],
    .bt-cat > :nth-child(7)[b-ae1376d817] { display: none; }
    .bt-cat > :nth-child(6)[b-ae1376d817] { grid-column: 4; grid-row: 1; }
    .bt-cat > :nth-child(4)[b-ae1376d817] { grid-column: 2 / 5; grid-row: 2; text-align: left; font-size: 12px; }
    .bt-cat > :nth-child(4)[b-ae1376d817]::before { content: "Budgeted "; font-weight: 400; color: var(--lw-gray-graphite); }
    .bt-cat-name[b-ae1376d817] { white-space: normal; overflow-wrap: anywhere; padding-right: 0; }

    /* Line item: description + this request, then Budgeted | Available. */
    .bt-line > :nth-child(7)[b-ae1376d817] { display: none; }
    .bt-line > :nth-child(6)[b-ae1376d817] { grid-column: 4; grid-row: 1; }
    .bt-line > :nth-child(4)[b-ae1376d817] { grid-column: 2 / 4; grid-row: 2; text-align: left; font-size: 12px; }
    .bt-line > :nth-child(5)[b-ae1376d817] { grid-column: 4; grid-row: 2; font-size: 12px; }
    .bt-line > :nth-child(4)[b-ae1376d817]::before { content: "Budgeted "; font-weight: 400; color: var(--lw-gray-graphite); }
    .bt-line > :nth-child(5)[b-ae1376d817]::before { content: "Available "; font-weight: 400; color: var(--lw-gray-graphite); }
    .bt-desc[b-ae1376d817] { white-space: normal; overflow-wrap: anywhere; padding-right: 0; }

    /* Allocation: vendor + status (wrapping) with remove top-right, then the
       $ / % toggle and the amount input full width at 44px / 16px. */
    .bt-alloc-main[b-ae1376d817] { grid-column: 3; grid-row: 1; gap: 4px 8px; }
    .bt-alloc-vendor[b-ae1376d817] { flex: 1 1 100%; min-width: 0; }
    .bt-alloc-name[b-ae1376d817] { font-size: 13px; }
    .bt-alloc-num[b-ae1376d817] { font-size: 12px; }
    .bt-alloc-status[b-ae1376d817] { margin-left: 0; justify-content: flex-start; }
    .bt-alloc-link[b-ae1376d817] { min-height: 44px; padding: 0 4px; font-size: 13px; }
    .bt-alloc-x[b-ae1376d817] { width: 44px; height: 44px; font-size: 18px; }

    .bt-alloc > .bt-alloc-removecell[b-ae1376d817] { grid-column: 4; grid-row: 1; align-self: start; }
    .bt-alloc-remove[b-ae1376d817] { width: 44px; height: 44px; align-items: center; justify-content: center; margin: -8px -12px 0 0; padding: 0; }

    .bt-alloc > .bt-alloc-amtcell[b-ae1376d817] { grid-column: 2 / 5; grid-row: 2; margin-top: 4px; }

    .bt-amt[b-ae1376d817] {
        width: 100%;
        max-width: none;
        height: 44px;
        border-radius: var(--lw-radius-control);
    }

    .bt-amt-mode[b-ae1376d817] { min-width: 48px; justify-content: center; gap: 4px; padding: 0 10px; font-size: 14px; }
    .bt-amt-input[b-ae1376d817] { padding: 0 12px; font-size: 16px; }

    /* Over-budget pill with its move action: both segments reach 44px and the
       action wraps under the label when the row is narrower than the pill. */
    [b-ae1376d817] .lw-alloc-badge--over,
    [b-ae1376d817] .lw-alloc-badge--requested,
    [b-ae1376d817] .lw-alloc-badge--ba { font-size: 11px; }
    [b-ae1376d817] .lw-alloc-badge--with-action { flex-wrap: wrap; max-width: 100%; white-space: normal; font-size: 12px; }
    [b-ae1376d817] .lw-alloc-badge-label { padding: 4px 8px; }
    [b-ae1376d817] .lw-alloc-badge-action { flex: 1 1 auto; justify-content: center; min-height: 44px; padding: 4px 10px; white-space: normal; text-align: center; }

    .bt-empty[b-ae1376d817] { padding: 24px 16px; font-size: 14px; }

    /* ---- Fee footer: labels wrap, figures keep their width ---- */
    .bt-fee-line[b-ae1376d817] { align-items: flex-start; gap: 12px; padding: 8px 16px; }
    .bt-fee-line > span:first-child[b-ae1376d817] { min-width: 0; }
    .bt-fee-line .bt-money[b-ae1376d817] { flex-shrink: 0; }
    .bt-fee-formula[b-ae1376d817] { display: block; }
    .bt-fee-total[b-ae1376d817] { min-height: 44px; gap: 12px; padding: 10px 16px; }
    .bt-fee-total-label[b-ae1376d817] { flex-wrap: wrap; min-width: 0; }
    .bt-fee-total-amt[b-ae1376d817] { flex-shrink: 0; }

    /* ---- Footer bar: status on top, Cancel at label width, primary fills ---- */
    .aidr-footerbar[b-ae1376d817] { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
    .aidr-footer-status[b-ae1376d817] { flex: 1 1 100%; flex-wrap: wrap; }
    .aidr-footer-spacer[b-ae1376d817] { display: none; }
    .aidr-footer-cancel[b-ae1376d817] { flex: 0 0 auto; min-height: 44px; padding: 0 12px; }
    .aidr-submit-anchor[b-ae1376d817] { flex: 1 1 auto; min-width: 0; }
    .aidr-submit-anchor[b-ae1376d817]  .lw-button,
    .aidr-submit-anchor[b-ae1376d817]  .lw-button .lw-button-native { width: 100%; }
}
/* _content/Ledgerwise/Components/Modals/AvatarCropModal.razor.rz.scp.css */
/* AvatarCropModal -- source: ledgerwise-app avatar-crop-dialog.tsx
   (2026-07-24): 280px rounded-card crop viewport on muted bg, grab cursor;
   zoom row = 16px muted icons around an accent range slider; previews strip
   on muted card with 10px labels. */

.lw-crop[b-50agqfbfxx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lw-crop__center[b-50agqfbfxx] {
    display: flex;
    justify-content: center;
}

.lw-crop__viewport[b-50agqfbfxx] {
    position: relative;
    width: 280px;
    height: 280px;
    overflow: hidden;
    border-radius: var(--lw-radius-card);
    border: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
    touch-action: none;
    user-select: none;
    cursor: grab;
}

.lw-crop__viewport--dragging[b-50agqfbfxx] {
    cursor: grabbing;
}

.lw-crop__viewport img[b-50agqfbfxx] {
    position: absolute;
    max-width: none;
    pointer-events: none;
}

.lw-crop__zoom-row[b-50agqfbfxx] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

.lw-crop__zoom-row[b-50agqfbfxx]  .lw-crop__zoom-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-space) !important;
    flex-shrink: 0;
}

.lw-crop__zoom[b-50agqfbfxx] {
    width: 100%;
    height: 6px;
    cursor: pointer;
    appearance: none;
    border-radius: 9999px;
    background: var(--lw-gray-smoke);
    accent-color: var(--lw-primary-blue);
}

.lw-crop__zoom[b-50agqfbfxx]::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--lw-primary-blue);
    border: 0;
}

.lw-crop__previews[b-50agqfbfxx] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    padding: 12px 16px;
}

.lw-crop__preview-item[b-50agqfbfxx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.lw-crop__preview[b-50agqfbfxx] {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--lw-border);
}

.lw-crop__preview[data-size="56"][b-50agqfbfxx] { width: 56px; height: 56px; }
.lw-crop__preview[data-size="40"][b-50agqfbfxx] { width: 40px; height: 40px; }
.lw-crop__preview[data-size="24"][b-50agqfbfxx] { width: 24px; height: 24px; }

.lw-crop__preview img[b-50agqfbfxx] {
    position: absolute;
    max-width: none;
    pointer-events: none;
}

.lw-crop__preview-label[b-50agqfbfxx] {
    font-size: 10px;
    font-weight: 500;
    color: var(--lw-gray-space);
}

/* Phones (US-1043): the global lw-modal rule turns the dialog into a bottom
   sheet and LwModalBody insets 16px, leaving 328px at 360. The 280px stage is
   fixed (avatar-crop.js VIEWPORT = 280 drives drag/zoom/export geometry and
   the previews scale from it), so it simply stays centered. The zoom slider
   becomes a 44px-tall hit area with a 24px thumb (A3) -- the 6px bar is drawn
   on the track pseudo-elements instead of the input box. */
@media (max-width: 767.98px) {
    .lw-crop__zoom-row[b-50agqfbfxx] {
        padding: 0;
        gap: 8px;
    }

    .lw-crop__zoom-row[b-50agqfbfxx]  .lw-crop__zoom-icon {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .lw-crop__zoom[b-50agqfbfxx] {
        height: 44px;
        background: transparent;
    }

    .lw-crop__zoom[b-50agqfbfxx]::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 9999px;
        background: var(--lw-gray-smoke);
    }

    .lw-crop__zoom[b-50agqfbfxx]::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
        margin-top: -9px;
    }

    .lw-crop__zoom[b-50agqfbfxx]::-moz-range-track {
        height: 6px;
        border-radius: 9999px;
        background: var(--lw-gray-smoke);
    }

    .lw-crop__zoom[b-50agqfbfxx]::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border: 0;
        border-radius: 50%;
        background: var(--lw-primary-blue);
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetAdjustmentCompletionModal.razor.rz.scp.css */
/* Allocation completion dialog internals.
   Source: ledgerwise-ui-app src/components/molecules/allocation-completion-modal.tsx
   (measured spec 2026-07-20; migrated 2026-07-21). Dialog size=sm 480px,
   hideHeader; centered column: size-14 success disc (bg success-bg, check
   success-dark), 16px semibold title, muted subtitle, teal BA info box
   (border brand-accent/20, bg brand-accent/5). */

.bacm-stack[b-leh96b2rg9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0 8px;
}

/* Success disc: size-14 rounded-full bg-success-bg, Check size-7. */
.bacm-disc[b-leh96b2rg9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 9999px;
    background: var(--lw-status-success-bg);
    color: var(--lw-success-dark);
}

.bacm-disc[b-leh96b2rg9]  .mud-icon-root { width: 28px; height: 28px; }

.bacm-title[b-leh96b2rg9] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 16px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.bacm-sub[b-leh96b2rg9] {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* BA info box: mt-4 w-full rounded-md border brand-accent/20 bg /5 p-3. */
.bacm-info[b-leh96b2rg9] {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    text-align: left;
    border: 1px solid color-mix(in srgb, var(--lw-primary-blue) 20%, transparent);
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
    border-radius: var(--lw-radius-control);
}

.bacm-info-head[b-leh96b2rg9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bacm-info-icon[b-leh96b2rg9] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-primary-blue);
}

.bacm-info-icon[b-leh96b2rg9]  .mud-icon-root { width: 1rem; height: 1rem; }

.bacm-info-title[b-leh96b2rg9] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.bacm-info-sub[b-leh96b2rg9] {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* US-1019: the "left for later" note under the headline; quieter than the headline. */
.bacm-sub--note[b-leh96b2rg9] { font-size: 13px; }

/* Phones (US-1043): the footer follows the LwModalFooter rule on its own (View
   Payment Request keeps its label width, Done fills the rest) and the 56px disc
   fits a 360px sheet; a long payment request name wraps instead of widening it. */
@media (max-width: 767.98px) {
    .bacm-sub[b-leh96b2rg9],
    .bacm-info-sub[b-leh96b2rg9] {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetAdjustmentSummaryModal.razor.rz.scp.css */
/* BA summary modal internals.
   Source: ledgerwise-ui-app src/components/molecules/co-summary-modal.tsx
   (measured spec 2026-07-20; migrated 2026-07-21). Dialog size=md 640px;
   kicker-labeled sections; expandable grouped line items; fee breakdown box;
   dashed dropzone + uploaded file rows. Title / description are LwTextField
   atoms (US-1043); the Mud upload stays for its binding behavior. */

/* Section kicker: mb-2 text-xs font-bold uppercase tracking-wide. */
.bas-section[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
}

.bas-kicker[b-l1t274s0vk] {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

/* Affected line item groups (space-y-1, rounded-md bordered). */
.bas-groups[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bas-group[b-l1t274s0vk] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    overflow: hidden;
    background: transparent;
}

.bas-group-head[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: background 0.15s ease;
}

.bas-group-head:hover[b-l1t274s0vk] {
    background: var(--lw-accent);
}

.bas-group-caret[b-l1t274s0vk] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.bas-group-caret[b-l1t274s0vk]  .mud-icon-root { width: 1rem; height: 1rem; }

.bas-group-name[b-l1t274s0vk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.bas-group-amounts[b-l1t274s0vk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bas-group-old[b-l1t274s0vk] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.bas-group-arrow[b-l1t274s0vk] {
    display: inline-flex;
    color: var(--lw-gray-graphite);
}

.bas-group-arrow[b-l1t274s0vk]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

.bas-group-new[b-l1t274s0vk] {
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Expanded per-BA rows: border-t, bg-muted/50, text-xs pairs. */
.bas-group-detail[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 8px 36px;
    border-top: 1px solid var(--lw-border);
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, var(--lw-white));
}

.bas-detail-row[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
}

.bas-detail-label[b-l1t274s0vk] {
    color: var(--lw-gray-graphite);
}

.bas-detail-value[b-l1t274s0vk] {
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Cost breakdown box: rounded-md border p-3 space-y-2, text-sm rows. */
.bas-breakdown[b-l1t274s0vk] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bas-breakdown-row[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

.bas-breakdown-label[b-l1t274s0vk] {
    color: var(--lw-gray-graphite);
}

.bas-breakdown-rate[b-l1t274s0vk] {
    margin-left: 4px;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.bas-breakdown-value[b-l1t274s0vk] {
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.bas-breakdown-total[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid var(--lw-border);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.bas-breakdown-total-value[b-l1t274s0vk] {
    font-variant-numeric: tabular-nums;
}

/* Dropzone: border-2 dashed p-6 centered, hover brand-accent tint. */
.bas-dropzone[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 24px;
    text-align: center;
    border: 2px dashed var(--lw-border);
    border-radius: var(--lw-radius-control);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.bas-dropzone:hover[b-l1t274s0vk] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

.bas-drop-icon[b-l1t274s0vk] {
    display: inline-flex;
    color: var(--lw-gray-space);
}

.bas-drop-icon[b-l1t274s0vk]  .mud-icon-root { width: 24px; height: 24px; }

.bas-drop-text[b-l1t274s0vk] {
    font-size: 14px;
    color: var(--lw-gray-space);
}

/* Uploaded rows: mt-2 space-y-1; bordered pill rows. */
.bas-files[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.bas-file[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.bas-file-icon[b-l1t274s0vk] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.bas-file-icon[b-l1t274s0vk]  .mud-icon-root { width: 1rem; height: 1rem; }

.bas-file-name[b-l1t274s0vk] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: var(--lw-text-primary);
}

.bas-file-size[b-l1t274s0vk] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.bas-file-remove[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 0;
    background: none;
    padding: 0;
    border-radius: var(--lw-radius-control);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.bas-file-remove:hover[b-l1t274s0vk] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.bas-file-remove[b-l1t274s0vk]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* "Don't apply to <calculated line>" switch per line group (US-889 v2), same recipe as the submit sheet. */
.bas-group-exclude[b-l1t274s0vk] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem 0.75rem;
}

.bas-group-exclude-text[b-l1t274s0vk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bas-group-exclude-label[b-l1t274s0vk] {
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.bas-group-exclude-help[b-l1t274s0vk] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): the summary rows wrap at 360px instead of ellipsizing the
   line name against the old -> new figures; taps reach 44px. */
@media (max-width: 767.98px) {
    .bas-group-head[b-l1t274s0vk] {
        flex-wrap: wrap;
        row-gap: 4px;
        min-height: 44px;
    }

    .bas-group-name[b-l1t274s0vk] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Figures drop under the name, aligned with it (caret 16px + 8px gap). */
    .bas-group-amounts[b-l1t274s0vk] {
        flex: 1 1 100%;
        flex-wrap: wrap;
        padding-left: 24px;
    }

    .bas-group-old[b-l1t274s0vk],
    .bas-group-new[b-l1t274s0vk] { font-size: 13px; }

    .bas-group-detail[b-l1t274s0vk] { padding-left: 12px; }

    .bas-detail-row[b-l1t274s0vk],
    .bas-breakdown-row[b-l1t274s0vk],
    .bas-breakdown-total[b-l1t274s0vk] { align-items: flex-start; gap: 12px; }

    .bas-detail-row[b-l1t274s0vk] { font-size: 13px; }
    .bas-detail-label[b-l1t274s0vk],
    .bas-breakdown-label[b-l1t274s0vk] { min-width: 0; overflow-wrap: anywhere; }
    .bas-detail-value[b-l1t274s0vk],
    .bas-breakdown-value[b-l1t274s0vk],
    .bas-breakdown-total-value[b-l1t274s0vk] { flex-shrink: 0; }
    .bas-breakdown-rate[b-l1t274s0vk] { display: block; margin-left: 0; }

    .bas-group-exclude[b-l1t274s0vk] { align-items: flex-start; }

    .bas-file[b-l1t274s0vk] { padding: 4px 4px 4px 12px; }
    .bas-file-remove[b-l1t274s0vk] { width: 44px; height: 44px; }
}
/* _content/Ledgerwise/Components/Modals/BudgetDeltaAuditModal.razor.rz.scp.css */
/* Budget delta audit modal (Product/UX Sync 2026-09-18). Source: none in ledgerwise-app;
   composed from the canonical lw-table + lw-modal-summary primitives. Layout only here:
   column tracks and the two-line cells. Chrome comes from lw-table.css / lw-modal. */
.bda[b-13mxn91o5m] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* lw-table carries row chrome only and expects a Card around it (its header comment:
   "Wrapper inside a Card"). On the modal's form-surface body that frame was missing, so
   the table floated: give it the card's own border, radius and white surface
   (Cody, 2026-09-20). */
.bda-table[b-13mxn91o5m] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

/* The frame closes the last row; its own hairline would double it. */
.bda-table > .lw-table-tr:last-child[b-13mxn91o5m] {
    border-bottom: 0;
}

.bda[b-13mxn91o5m]  .bda-col-date { flex: 0 0 7.5rem; }
.bda[b-13mxn91o5m]  .bda-col-source { flex: 1.4 1 0; min-width: 0; }
.bda[b-13mxn91o5m]  .bda-col-line { flex: 1 1 0; min-width: 0; }
.bda[b-13mxn91o5m]  .bda-col-reason { flex: 1.6 1 0; min-width: 0; }
.bda[b-13mxn91o5m]  .bda-col-status { flex: 0 0 9rem; }
.bda[b-13mxn91o5m]  .bda-col-amount { flex: 0 0 8rem; justify-content: flex-end; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
/* Fixed box for the chevron: at the cell's default 16px padding the icon outgrew a 1.5rem
   basis, widened the cell on link rows only, and pushed their columns out of line with the
   header and the contingency rows. */
.bda[b-13mxn91o5m]  .bda-col-chevron { flex: 0 0 40px; box-sizing: border-box; padding: 0 12px 0 0; justify-content: flex-end; color: var(--lw-gray-graphite); }

/* Two-line body cells only -- the header cells in these columns stay a single row. */
.lw-table-td.bda-col-source[b-13mxn91o5m],
.lw-table-td.bda-col-reason[b-13mxn91o5m] {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.bda-source-name[b-13mxn91o5m] {
    font-weight: 600;
    color: var(--lw-text-primary);
}

.bda-source-sub[b-13mxn91o5m],
.bda-note[b-13mxn91o5m] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.bda-row--link[b-13mxn91o5m] {
    cursor: pointer;
}

.bda-row--link:focus-visible[b-13mxn91o5m] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
}

.bda-muted[b-13mxn91o5m] {
    color: var(--lw-gray-graphite);
}

/* ---- Phone cards (US-1043): one card per audit row below 768 ----
   The card chrome is LwListCard phone-cards / LwListRow's; only the card's internal
   stack is laid out here. Desktop table above md; cards below (ProjectChangeOrders). */
.bda-cards[b-13mxn91o5m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bda-card[b-13mxn91o5m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.bda-card-top[b-13mxn91o5m] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.bda-card-title[b-13mxn91o5m] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bda-card-status[b-13mxn91o5m] {
    flex-shrink: 0;
    display: inline-flex;
}

.bda-card-line[b-13mxn91o5m] {
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.bda-card-reason[b-13mxn91o5m] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.bda-card-bottom[b-13mxn91o5m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.bda-card-date[b-13mxn91o5m] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.bda-card-amount[b-13mxn91o5m] {
    flex-shrink: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* The pager under the card stack has no table frame of its own: give it the card's. */
.bda-cards-pager .lw-table-pager[b-13mxn91o5m] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.bda-cards-pager .lw-table-pager-range[b-13mxn91o5m] {
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .bda-table[b-13mxn91o5m] {
        display: none;
    }

    /* Shared list-card type (lw-page.css tokens): title 14 / medium / 20 (the
       .bda-source-name it also carries is semibold), secondary lines 12 / 16. The
       cards only render below 768px. */
    .bda-card .bda-card-title[b-13mxn91o5m] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .bda-card-reason[b-13mxn91o5m],
    .bda-card-date[b-13mxn91o5m] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    /* Recap: the long labels wrap and the figure keeps its width at 360. */
    .bda .lw-modal-summary-row[b-13mxn91o5m] {
        align-items: flex-start;
    }

    .bda .lw-modal-summary-label[b-13mxn91o5m] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .bda .lw-modal-summary-value[b-13mxn91o5m] {
        flex-shrink: 0;
    }
}

@media (min-width: 768px) {
    .bda-cards[b-13mxn91o5m] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetDownloadOptionsModal.razor.rz.scp.css */
/* Budget download options (US-504). Option rows follow the Preferences-panel
   toggle-row recipe: title + hint on the left, LwToggle on the right, hairline
   dividers between rows. */
.bdo-options[b-d7wcoj5tl8] {
    display: flex;
    flex-direction: column;
}

.bdo-option[b-d7wcoj5tl8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--lw-border);
    cursor: pointer;
}

.bdo-option:last-child[b-d7wcoj5tl8] {
    border-bottom: 0;
}

.bdo-option__text[b-d7wcoj5tl8] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.bdo-option__title[b-d7wcoj5tl8] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
}

.bdo-option__hint[b-d7wcoj5tl8] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

/* US-781: section headings between the toggle groups, and a dimmed row for a
   toggle whose parent is off (pending details without activity, notes
   without line items). */
.bdo-group[b-d7wcoj5tl8] {
    margin: 0;
    padding: 12px 0 2px;
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.bdo-group + .bdo-option[b-d7wcoj5tl8] {
    padding-top: 10px;
}

.bdo-option--off[b-d7wcoj5tl8] {
    opacity: 0.55;
    cursor: default;
}

/* US-945: the notice that one switch turned the other off (Proposed vs pending). */
.bdo-options[b-d7wcoj5tl8]  .bdo-notice {
    margin-top: 12px;
}

/* Phones (US-1043, A3): each toggle row is at least a 44px tap target (the
   whole label activates the switch), the title and hint wrap in the text
   column, and the LwToggle keeps its place at the right edge. */
@media (max-width: 767.98px) {
    .bdo-option[b-d7wcoj5tl8] {
        min-height: 44px;
        gap: 12px;
    }

    .bdo-option__title[b-d7wcoj5tl8],
    .bdo-option__hint[b-d7wcoj5tl8] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetHistoryDrawer.razor.rz.scp.css */
/* Budget history sheet interiors. The shell (bottom sheet, header, footer,
   details column, phone inset) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) since US-1043; this file lays out the toolbar
   and the snapshot cards. */

/* Toolbar: search + sort row over the LwChip Tab rail. */
.bhd-toolbar[b-9oljzhl5sr] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bhd-tools[b-9oljzhl5sr] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bhd-search[b-9oljzhl5sr] {
    flex: 1 1 auto;
    min-width: 0;
}

.bhd-sort[b-9oljzhl5sr] {
    flex-shrink: 0;
}

.bhd-chips[b-9oljzhl5sr] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    min-width: 0;
}

/* List of snapshot cards. The details column owns the inset; the gap is the
   only thing this layer decides -- all card chrome comes from the Card primitive. */
.bhd-list[b-9oljzhl5sr] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* The card currently being viewed: a brand-accent edge so it is findable while
   scrolling a long history. Everything else is the stock Card surface.

   ::deep is REQUIRED here. Card renders its own root div, which never carries
   this sheet's scope attribute, so a bare .bhd-card--active rule would compile
   to .bhd-card--active[b-xxx] and silently match nothing. Hanging it off
   .bhd-list -- an element this component does render -- scopes the ancestor
   instead and reaches the child component's root. */
.bhd-list[b-9oljzhl5sr]  .bhd-card--active {
    border-color: var(--lw-primary-blue);
}

/* Event glyph inside the LwCardHeader tile. The tile provides the 44px box and
   radius; these rules only carry the per-event tone and size the svg. */
.bhd-event-glyph[b-9oljzhl5sr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.bhd-event-contract[b-9oljzhl5sr]          { background: var(--lw-status-info-bg);    color: var(--lw-status-info-fg); }
.bhd-event-budget-adjustment[b-9oljzhl5sr] { background: var(--lw-status-warning-bg); color: var(--lw-status-warning-fg); }
.bhd-event-payment-request[b-9oljzhl5sr]   { background: var(--lw-status-success-bg); color: var(--lw-status-success-fg); }

/* Card body: the event's own sentence, then the three figures. */
.bhd-card-desc[b-9oljzhl5sr] {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    line-height: 1.45;
}

.bhd-card-stats[b-9oljzhl5sr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

/* Phone (US-1043): the chip rail hides behind the section trigger, which
   fills the first row beside sort; search takes a full row beneath. Sort,
   the section trigger and the search box take the 44px tap height (A3).
   The three card figures (Budget / Paid / Remaining, N0 currency) go 2 + 1 so
   an eight-figure budget never truncates inside a 288px card body; the
   "View this version" LwCardCta is already 44px full width and the "Viewing"
   chip keeps its header slot. */
@media (max-width: 767.98px) {
    .bhd-chips[b-9oljzhl5sr] {
        display: none;
    }

    .bhd-tools[b-9oljzhl5sr] {
        flex-wrap: wrap;
    }

    .bhd-sort[b-9oljzhl5sr],
    .bhd-search[b-9oljzhl5sr],
    .bhd-tools[b-9oljzhl5sr]  .lw-page-section-trigger {
        height: 44px;
    }

    .bhd-card-stats[b-9oljzhl5sr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bhd-tools[b-9oljzhl5sr]  .lw-page-section-menu {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    .bhd-tools[b-9oljzhl5sr]  .lw-page-section-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .bhd-tools[b-9oljzhl5sr]  .lw-page-section-label {
        margin-right: auto;
    }

    .bhd-search[b-9oljzhl5sr] {
        order: 10;
        flex: 1 1 100%;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetImportCostCodeReviewModal.razor.rz.scp.css */
/* Match Cost Codes review (US-1244 stage 6). Chrome is the lw-modal frame (app.css) and
   lw-modal-summary; the budget-shaped table and phone cards are the Import Cost Codes preview's
   recipe (ImportCostCodesModal.razor.css .icc-*), copied here because scoped rules do not reach
   another component. The cost code field is Add to budget's .apb-codefield box
   (AddProposalToBudgetModal.razor.css) at table-row height. */

/* Inner scroll region: lw-modal--scroll clips LwModalBody so the footer stays pinned. */
.crr-scroll[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    margin-right: -12px;
    padding-right: 12px;
}

.crr-busy[b-sdvw709ns6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
}

.crr-busy__spinner[b-sdvw709ns6] {
    color: var(--lw-primary-blue);
}

.crr-help[b-sdvw709ns6] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.crr-group[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lw-modal-summary-value.crr-summary--check[b-sdvw709ns6] {
    color: var(--lw-status-warning-fg);
}

.lw-modal-summary-value.crr-summary--unmapped[b-sdvw709ns6] {
    color: var(--lw-status-error-fg);
}

/* ---- the framed two-level table (icc recipe) ---- */
.icc-table[b-sdvw709ns6] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.icc-table .lw-table-tr[b-sdvw709ns6] {
    cursor: default;
}

.icc-table .lw-table-tr:hover[b-sdvw709ns6] {
    background: transparent;
}

.icc-table .lw-table-tr:last-child[b-sdvw709ns6] {
    border-bottom: 0;
}

.icc-table .lw-table-th[b-sdvw709ns6],
.icc-table .lw-table-td[b-sdvw709ns6] {
    padding: 8px 12px;
    min-width: 0;
}

.icc-col-expand[b-sdvw709ns6] {
    flex: 0 0 40px;
    box-sizing: border-box;
    justify-content: center;
    padding-left: 8px !important;
    padding-right: 0 !important;
}

.crr-col-imported[b-sdvw709ns6] {
    flex: 1 1 0;
}

.crr-col-amount[b-sdvw709ns6] {
    flex: 0 0 104px;
    box-sizing: border-box;
    justify-content: flex-end;
    text-align: right;
}

.crr-col-code[b-sdvw709ns6] {
    flex: 1.6 1 0;
}

.crr-col-status[b-sdvw709ns6] {
    flex: 0 0 164px;
    box-sizing: border-box;
}

.crr-col-action[b-sdvw709ns6] {
    flex: 0 0 84px;
    box-sizing: border-box;
    justify-content: flex-end;
}

.crr-table .lw-table-td[b-sdvw709ns6] {
    align-items: center;
}

.crr-imported[b-sdvw709ns6] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.icc-row--category .crr-text[b-sdvw709ns6] {
    font-weight: var(--lw-font-semibold);
}

/* Line items sit one step in under their category. The indent is a spacer INSIDE the Imported
   cell, never cell padding: the flexible columns start from a zero basis, so extra padding on one
   row's cell widened that cell and pushed Amount, Cost code, Match and Leave out out of line with
   the category rows and the header (US-1244 review 2). Spacer 8px + gap 8px = 16px in. */
.crr-imported--child[b-sdvw709ns6]::before {
    content: "";
    flex: 0 0 8px;
}

.crr-text[b-sdvw709ns6] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--lw-text-primary);
}

/* The code the file carried: read as an identifier, quieter than the text. */
.crr-source-code[b-sdvw709ns6] {
    flex-shrink: 0;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.crr-amount[b-sdvw709ns6] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.icc-row--category .crr-amount[b-sdvw709ns6] {
    font-weight: var(--lw-font-semibold);
}

/* Left out: the row reads quieter and its text is struck through. */
.crr-row--out .crr-text[b-sdvw709ns6],
.crr-row--out .crr-amount[b-sdvw709ns6],
.crr-card--out .crr-text[b-sdvw709ns6],
.crr-card--out .icc-card__meta[b-sdvw709ns6] {
    color: var(--lw-gray-graphite);
    text-decoration: line-through;
}

/* Pressed Import with rows that need a code: those rows carry a destructive rail and wash. */
.crr-row--attention[b-sdvw709ns6],
.crr-card--attention[b-sdvw709ns6] {
    background: color-mix(in srgb, var(--lw-destructive) 5%, var(--lw-white)) !important;
    box-shadow: inset 3px 0 0 var(--lw-destructive);
}

/* ---- the status chip and its reason (a hover on desktop) ---- */
.crr-status[b-sdvw709ns6] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.crr-status--note[b-sdvw709ns6] {
    cursor: help;
}

.crr-status[b-sdvw709ns6]  .crr-status__icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite);
}

/* ---- Leave out / Include: an inline text action (the icc-link recipe) ---- */
.crr-action[b-sdvw709ns6] {
    flex-shrink: 0;
    padding: 4px 6px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: none;
    color: var(--lw-primary-blue);
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.crr-action:hover[b-sdvw709ns6] {
    background: var(--lw-accent);
}

.crr-action:focus-visible[b-sdvw709ns6] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
}

/* ---- the cost code field (the .apb-codefield box at row height) ---- */
.crr-codefield[b-sdvw709ns6] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding: 0 10px;
    background: var(--lw-white);
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    transition: border-color 0.12s, box-shadow 0.12s;
}

.crr-codefield:hover[b-sdvw709ns6] {
    border-color: var(--lw-gray-graphite);
}

.crr-codefield:focus-within[b-sdvw709ns6] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 1px var(--lw-primary-blue);
}

.crr-codefield:has(.bt-cell-input--invalid)[b-sdvw709ns6] {
    border-color: var(--lw-destructive);
    box-shadow: inset 0 0 0 1px var(--lw-destructive);
}

.crr-codefield__code[b-sdvw709ns6] {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.crr-codefield[b-sdvw709ns6]  .bt-code-search-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-regular);
    color: var(--lw-text-primary);
    text-overflow: ellipsis;
}

.crr-codefield[b-sdvw709ns6]  .bt-code-search-field::placeholder {
    color: var(--lw-gray-space);
}

/* ---- the category chevron and the header's expand-all (icc recipe) ---- */
.icc-expand[b-sdvw709ns6],
.icc-expand-all[b-sdvw709ns6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.icc-expand:hover[b-sdvw709ns6],
.icc-expand-all:hover[b-sdvw709ns6] {
    background: var(--lw-accent);
    color: var(--lw-primary-blue);
}

.icc-expand:focus-visible[b-sdvw709ns6],
.icc-expand-all:focus-visible[b-sdvw709ns6] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
}

.icc-expand-all[b-sdvw709ns6] {
    color: var(--lw-primary-blue);
}

.icc-expand[b-sdvw709ns6]  .mud-icon-root {
    font-size: 20px;
    transition: transform 0.15s ease;
}

.icc-expand--open[b-sdvw709ns6]  .mud-icon-root {
    transform: rotate(90deg);
}

.icc-expand-all[b-sdvw709ns6]  .mud-icon-root {
    font-size: 1.0625rem;
}

.icc-expand-spacer[b-sdvw709ns6] {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ---- phones: framed cards, one per row (icc recipe) ---- */
.icc-phone[b-sdvw709ns6] {
    display: none;
}

.icc-cards[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.icc-card[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--lw-border);
}

.icc-card:last-child[b-sdvw709ns6] {
    border-bottom: 0;
}

.icc-card--child[b-sdvw709ns6] {
    padding-left: 48px;
}

.icc-card__top[b-sdvw709ns6] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.icc-card__text[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.icc-card__title[b-sdvw709ns6] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.icc-card__name[b-sdvw709ns6] {
    font-size: 14px;
    color: var(--lw-text-primary);
}

.icc-card .crr-text[b-sdvw709ns6] {
    white-space: normal;
    overflow-wrap: anywhere;
}

.icc-card__meta[b-sdvw709ns6] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.icc-card .icc-expand[b-sdvw709ns6],
.icc-card .icc-expand-spacer[b-sdvw709ns6] {
    width: 32px;
    height: 32px;
    margin: -4px 0 -4px -4px;
}

.crr-card .crr-codefield[b-sdvw709ns6] {
    height: 44px;
}

.crr-card__status[b-sdvw709ns6] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.crr-note[b-sdvw709ns6] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.crr-card .crr-action[b-sdvw709ns6] {
    min-height: 44px;
    margin: -10px -6px -10px 0;
}

@media (max-width: 599.98px) {
    .icc-desktop[b-sdvw709ns6] {
        display: none;
    }

    .icc-phone[b-sdvw709ns6] {
        display: block;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetLineItemComputationModal.razor.rz.scp.css */
/* Computed line item modal (US-889). Composed from primitives already in the
   system, no new chrome:
   - option rows: the canonical modal chooser row (SelectRfpRecipientModal
     .srr-row / AssignInvoiceToDrawRequestModal recipe);
   - selection table: lw-table-selectbar + lw-select-indicator
     (css/components/lw-table.css), the port of rfp-vendors-step.tsx's select-all
     bar and circular SelectIndicator; rows follow AddRfpModal's arm-vrow recipe
     (12px 16px row, accent hover, info-tinted selected row with a 3px left rail);
   - section labels / hints in the modal body voice (12px / 13px graphite);
   - preview strip on --lw-bg-muted.
   Only layout and the row recipe live here. */

.blc[b-0l3l8ysgqp] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.blc-section-label[b-0l3l8ysgqp] {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.blc-section-label:first-child[b-0l3l8ysgqp] {
    margin-top: 0;
}

.blc-help[b-0l3l8ysgqp] {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

/* Option rows: the canonical modal chooser (SelectRfpRecipientModal .srr-row,
   from the AssignInvoiceToDrawRequestModal recipe; reference chooser anatomy):
   16px radio dot left, 14/600 name over a 12px graphite subtitle, 1px hairline
   card, 12px 14px padding; active = accent border + 30% ring + 50% info tint.
   Stacked full width (Cody, 2026-09-17). */
.blc-opts[b-0l3l8ysgqp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blc-opt[b-0l3l8ysgqp] {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
}

.blc-opt:hover[b-0l3l8ysgqp] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

.blc-opt--active[b-0l3l8ysgqp] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
}

.blc-opt__head[b-0l3l8ysgqp] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
}

.blc-opt--active .blc-opt__head[b-0l3l8ysgqp] {
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

/* Body of the selected option: the control-card body (ControlCard.razor.css
   .cc-body: form-surface panel under a hairline, 24px inset; 20px on phones). */
.blc-opt__body[b-0l3l8ysgqp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
}

@media (max-width: 767.98px) {
    .blc-opt__body[b-0l3l8ysgqp] {
        padding: 20px;
    }
}

.blc-field[b-0l3l8ysgqp] {
    max-width: 16rem;
}

.blc-opt__radio[b-0l3l8ysgqp] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--lw-gray-smoke);
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.blc-opt--active .blc-opt__radio[b-0l3l8ysgqp] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
    background: var(--lw-primary-blue);
}

.blc-opt__text[b-0l3l8ysgqp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.blc-opt__name[b-0l3l8ysgqp] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.blc-opt__sub[b-0l3l8ysgqp] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Selection table: hairline card holding the select-all header and the rows. */
.blc-table[b-0l3l8ysgqp] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    overflow: hidden;
}

.blc-table--error[b-0l3l8ysgqp] {
    border-color: var(--lw-destructive);
}

/* The header's indicator sits in the same trailing column as the row
   indicators: the bar's right inset matches the row's (16px), and the
   label precedes the dot. */
.blc-selectbar[b-0l3l8ysgqp] {
    padding-right: 16px;
}

.blc-list[b-0l3l8ysgqp],
.blc-lines[b-0l3l8ysgqp] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blc-list[b-0l3l8ysgqp] {
    max-height: 18rem;
    overflow-y: auto;
}

.blc-li + .blc-li[b-0l3l8ysgqp] {
    border-top: 1px solid var(--lw-border);
}

.blc-row[b-0l3l8ysgqp] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding-left: 0.5rem;
    transition: background 0.15s;
}

.blc-row:hover[b-0l3l8ysgqp] {
    background: color-mix(in srgb, var(--lw-accent) 40%, transparent);
}

.blc-row--selected[b-0l3l8ysgqp],
.blc-row--selected:hover[b-0l3l8ysgqp] {
    background: color-mix(in srgb, var(--lw-status-info-bg) 40%, transparent);
}

.blc-row--disabled[b-0l3l8ysgqp],
.blc-row--disabled:hover[b-0l3l8ysgqp] {
    background: transparent;
    color: var(--lw-gray-graphite);
}

.blc-row__rail[b-0l3l8ysgqp] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--lw-primary-blue);
}

.blc-row__main[b-0l3l8ysgqp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0 1rem 0 0.25rem;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: var(--lw-font-family);
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    cursor: pointer;
}

.blc-row__main[aria-disabled="true"][b-0l3l8ysgqp] {
    cursor: default;
    color: var(--lw-gray-graphite);
}

.blc-row--cat .blc-row__name[b-0l3l8ysgqp] {
    font-weight: 600;
}

.blc-row__name[b-0l3l8ysgqp] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blc-row__amount[b-0l3l8ysgqp] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* Nested line rows: indented under the category, no expand slot. */
.blc-lines .blc-row[b-0l3l8ysgqp] {
    padding-left: 2.25rem;
    border-top: 1px solid var(--lw-border);
}

.blc-lines .blc-row__main[b-0l3l8ysgqp] {
    min-height: 2.25rem;
}

.blc-expand[b-0l3l8ysgqp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    border-radius: var(--lw-radius-control);
    flex-shrink: 0;
}

.blc-expand:hover[b-0l3l8ysgqp] {
    color: var(--lw-text-primary);
}

.blc-expand[aria-disabled="true"][b-0l3l8ysgqp] {
    opacity: 0.35;
    cursor: default;
}

/* Select-all with nothing to select: the same muted look lw-table.css gives
   :disabled, kept on aria-disabled because the button is never disabled (O14). */
.blc-selectbar .lw-table-selectall[aria-disabled="true"][b-0l3l8ysgqp] {
    opacity: 0.5;
    cursor: default;
}

.blc-expand[b-0l3l8ysgqp]  .mud-icon-root {
    font-size: 1.125rem;
    width: 1.125rem;
    height: 1.125rem;
}

.blc-error[b-0l3l8ysgqp] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-destructive);
}

/* Phones (US-1043, A3): the selection tree at 360px. The select-all bar wraps
   (count over the action, 44px); category rows keep the chevron on a 44px
   box, the name and the indicator share the first line, and the amount drops
   under the name; nested lines lose most of their indent. The Flat /
   Calculated cards already stack (column flex) and their field fills the
   body instead of stopping at 16rem. */
@media (max-width: 767.98px) {
    .blc-selectbar[b-0l3l8ysgqp] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .blc-selectbar .lw-table-selectall[b-0l3l8ysgqp] {
        min-height: 44px;
    }

    .blc-field[b-0l3l8ysgqp] {
        max-width: none;
    }

    .blc-row[b-0l3l8ysgqp] {
        padding-left: 0;
    }

    .blc-expand[b-0l3l8ysgqp] {
        width: 2.75rem;
        height: 2.75rem;
    }

    .blc-row__main[b-0l3l8ysgqp],
    .blc-lines .blc-row__main[b-0l3l8ysgqp] {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0;
        min-height: 2.75rem;
        padding: 6px 1rem 6px 0.25rem;
    }

    .blc-row__name[b-0l3l8ysgqp] {
        flex: 1 1 0;
        white-space: normal;
        overflow: visible;
        line-height: 1.3;
    }

    .blc-row__main .lw-select-indicator[b-0l3l8ysgqp] {
        order: 1;
    }

    .blc-row__amount[b-0l3l8ysgqp] {
        order: 2;
        flex: 1 1 100%;
        margin-top: 2px;
    }

    .blc-lines .blc-row[b-0l3l8ysgqp] {
        padding-left: 1.5rem;
    }
}
/* _content/Ledgerwise/Components/Modals/BudgetLineItemNoteModal.razor.rz.scp.css */
/* Line Item Notes modal (US-781): character budget under the canonical textarea. */
.bln-counter[b-eful7lt3jr] {
    margin: 6px 0 0;
    font-size: 12px;
    text-align: right;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.bln-counter--over[b-eful7lt3jr] {
    color: var(--lw-destructive);
}
/* _content/Ledgerwise/Components/Modals/ChangeOrderApprovalModal.razor.rz.scp.css */
/* Owner budget-adjustment review sheet. Source: ledgerwise-ui-app
   organisms/owner/owner-adjustment-detail-drawer.tsx + ui/drawer.tsx +
   molecules/adjustment-cost-breakdown.tsx + kickoff/control-card.tsx
   (measured spec 2026-07-20; migrated 2026-07-21). The shell (bottom sheet,
   header, footer, details column, attachment preview pane, phone pane swap)
   is the shared drawer spec (lw-drawer.css + LwModalHeader/Body/Footer) since
   US-1043; this file keeps the card interiors. Needs-review status is
   deliberately NEUTRAL gray (spec 1.4); signed deltas: positive = destructive
   red, negative = success green. */

/* Signed impact in the header figure. */
.coa-amount-pos[b-tbcfb3rj3h] { color: var(--lw-status-error-fg); }
.coa-amount-neg[b-tbcfb3rj3h] { color: var(--lw-status-success-fg); }

/* -- Overview grid (label/value pairs, spec 3.1 section 1) -- */
.coa-overview-grid[b-tbcfb3rj3h] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1rem;
}

.coa-overview-cell[b-tbcfb3rj3h] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.coa-overview-label[b-tbcfb3rj3h] {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.coa-overview-value[b-tbcfb3rj3h] {
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -- Description -- */
.coa-description-block[b-tbcfb3rj3h] {
    margin-top: 1.25rem;
}

.coa-section-label[b-tbcfb3rj3h] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
    margin: 0;
}

.coa-description-text[b-tbcfb3rj3h] {
    margin: 0.375rem 0 0;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* -- Impact banner (under review only): increase = info tint, decrease =
      success tint (spec 3.1 section 1). -- */
.coa-impact-banner[b-tbcfb3rj3h] {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--lw-radius-lg, 4px);
    font-size: 14px;
    line-height: 1.45;
}

.coa-impact-banner-pos[b-tbcfb3rj3h] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.coa-impact-banner-neg[b-tbcfb3rj3h] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.coa-impact-amount[b-tbcfb3rj3h] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* -- Line item cards (white cards inside the ControlCard body) -- */
.coa-lineitem-list[b-tbcfb3rj3h] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.coa-lineitem[b-tbcfb3rj3h] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 1rem;
}

.coa-lineitem-head[b-tbcfb3rj3h] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.coa-lineitem-titlewrap[b-tbcfb3rj3h] {
    min-width: 0;
    flex: 1;
}

.coa-lineitem-title[b-tbcfb3rj3h] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
    line-height: 1.4;
}

.coa-lineitem-cat[b-tbcfb3rj3h] {
    margin: 0.125rem 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Delta chip: 11px bold tabular, destructive tint (+) / success tint (-). */
.coa-lineitem-pill[b-tbcfb3rj3h] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.125rem 0.5rem;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    white-space: nowrap;
}

.coa-lineitem-pill-pos[b-tbcfb3rj3h] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.coa-lineitem-pill-neg[b-tbcfb3rj3h] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

/* Value strip: hairline-top 3-col grid, 11px uppercase labels (the reference
   Previous / New / Difference strip recipe, spec 3.1 section 2). */
.coa-lineitem-meta[b-tbcfb3rj3h] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--lw-border);
    padding-top: 0.75rem;
}

.coa-meta-cell[b-tbcfb3rj3h] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.coa-meta-value[b-tbcfb3rj3h] {
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Difference-style cell: semibold, keeps the red/green delta color. */
.coa-meta-value--delta[b-tbcfb3rj3h] {
    font-weight: 600;
}

.coa-lineitem-reason[b-tbcfb3rj3h] {
    margin: 0.75rem 0 0;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* -- Cost breakdown (bare rows in the ControlCard body, spec 3.3) -- */
.coa-costbreakdown[b-tbcfb3rj3h] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.coa-costbreakdown-row[b-tbcfb3rj3h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 14px;
}

.coa-costbreakdown-label[b-tbcfb3rj3h] {
    color: var(--lw-text-primary);
}

.coa-costbreakdown-rate[b-tbcfb3rj3h] {
    margin-left: 0.25rem;
    color: var(--lw-gray-graphite);
}

.coa-costbreakdown-amount[b-tbcfb3rj3h] {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.coa-costbreakdown-divider[b-tbcfb3rj3h] {
    margin: 0.5rem 0;
    height: 1px;
    background: var(--lw-border);
}

.coa-costbreakdown-row-total[b-tbcfb3rj3h],
.coa-costbreakdown-row-total .coa-costbreakdown-label[b-tbcfb3rj3h],
.coa-costbreakdown-row-total .coa-costbreakdown-amount[b-tbcfb3rj3h] {
    font-weight: 600;
}

/* -- Attachments (spec 3.1 section 4): white rows, teal border when the
      preview is active / on hover. -- */
.coa-attachment-list[b-tbcfb3rj3h] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coa-attachment[b-tbcfb3rj3h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: var(--lw-font-family);
}

.coa-attachment:hover:not(:disabled)[b-tbcfb3rj3h] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 50%, transparent);
}

.coa-attachment-active[b-tbcfb3rj3h] {
    border-color: var(--lw-primary-blue);
}

.coa-attachment:disabled[b-tbcfb3rj3h] {
    opacity: 0.6;
    cursor: not-allowed;
}

.coa-attachment-icon[b-tbcfb3rj3h],
.coa-attachment-chev[b-tbcfb3rj3h] {
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.coa-attachment-info[b-tbcfb3rj3h] {
    flex: 1;
    min-width: 0;
}

.coa-attachment-name[b-tbcfb3rj3h] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coa-attachment-meta[b-tbcfb3rj3h] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* -- Error banner -- */
.coa-readonly-note[b-tbcfb3rj3h] {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
}

/* Phone (US-1043): the overview and line-item grids collapse to one column. */
@media (max-width: 767.98px) {
    .coa-overview-grid[b-tbcfb3rj3h],
    .coa-lineitem-meta[b-tbcfb3rj3h] {
        grid-template-columns: 1fr;
    }
}

/* Calculated-line markers (US-889): the fee's own row, and a change the builder left out of
   the calculated line items, which is why the fee row can be smaller than the percentage. */
.coa-lineitem-notes[b-tbcfb3rj3h] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.375rem 0 0;
}

.coa-lineitem-note[b-tbcfb3rj3h] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}
/* _content/Ledgerwise/Components/Modals/ChangeOrderDetailModal.razor.rz.scp.css */
/* ChangeOrderDetailModal -- the builder's budget-adjustment sheet.
   Source: ledgerwise-ui-app organisms/owner/owner-adjustment-detail-drawer.tsx
   + kickoff/control-card.tsx (measured spec 2026-07-20). The shell (bottom
   sheet, header, footer, body inset, phone stacking) is the shared drawer spec
   (lw-drawer.css + LwModalHeader/Body/Footer) since US-1043; this file keeps the
   card interiors. Signed deltas: positive = destructive red, negative = success
   green. */

.cod-amount-pos[b-beft7l2s7q] { color: var(--lw-status-error-fg); }
.cod-amount-neg[b-beft7l2s7q] { color: var(--lw-status-success-fg); }

/* -- Overview grid (label/value pairs) -- */
.cod-overview-grid[b-beft7l2s7q] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1rem;
}

.cod-overview-cell[b-beft7l2s7q] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.cod-overview-label[b-beft7l2s7q] {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.cod-overview-value[b-beft7l2s7q] {
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -- Description -- */
.cod-description-block[b-beft7l2s7q] {
    margin-top: 1.25rem;
}

.cod-section-label[b-beft7l2s7q] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
    margin: 0;
}

.cod-description-text[b-beft7l2s7q] {
    margin: 0.375rem 0 0;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* -- Line item cards (white cards inside the ControlCard body) -- */
.cod-lineitem-list[b-beft7l2s7q] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cod-lineitem[b-beft7l2s7q] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 1rem;
}

.cod-lineitem-head[b-beft7l2s7q] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cod-lineitem-titlewrap[b-beft7l2s7q] {
    min-width: 0;
    flex: 1;
}

.cod-lineitem-title[b-beft7l2s7q] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
    line-height: 1.4;
}

.cod-lineitem-cat[b-beft7l2s7q] {
    margin: 0.125rem 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Delta chip: 11px bold tabular, destructive tint (+) / success tint (-). */
.cod-lineitem-pill[b-beft7l2s7q] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.125rem 0.5rem;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    white-space: nowrap;
}

.cod-lineitem-pill-pos[b-beft7l2s7q] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.cod-lineitem-pill-neg[b-beft7l2s7q] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

/* Value strip: hairline-top 3-col grid, 11px uppercase labels (the reference
   Previous / New / Difference strip recipe). */
.cod-lineitem-meta[b-beft7l2s7q] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--lw-border);
    padding-top: 0.75rem;
}

.cod-meta-cell[b-beft7l2s7q] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.cod-meta-value[b-beft7l2s7q] {
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.cod-meta-value--delta[b-beft7l2s7q] {
    font-weight: 600;
}

.cod-lineitem-reason[b-beft7l2s7q] {
    margin: 0.75rem 0 0;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Net total row under the line item cards. */
/* Net sits beside its amount on the right (Cody, 2026-09-30), under the amounts column. */
.cod-net-row[b-beft7l2s7q] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--lw-border);
    padding-top: 0.75rem;
    font-size: 14px;
    font-weight: 600;
}

.cod-net-label[b-beft7l2s7q] {
    color: var(--lw-text-primary);
}

.cod-net-amount[b-beft7l2s7q] {
    font-variant-numeric: tabular-nums;
}

/* -- Empty state -- */
.cod-empty[b-beft7l2s7q] {
    padding: 2rem 1rem;
    text-align: center;
}

.cod-empty-text[b-beft7l2s7q] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.cod-btn-outline[b-beft7l2s7q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 36px;
    padding: 0 1rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cod-btn-outline:hover[b-beft7l2s7q] {
    background: var(--lw-accent, rgba(145, 158, 171, 0.16));
}

/* Footer Delete: the outline footer button in the destructive colour. */
.cod-btn-danger[b-beft7l2s7q] {
    color: var(--lw-status-error-fg);
    border-color: var(--lw-status-error-fg);
}

.cod-btn-danger[b-beft7l2s7q]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.cod-btn-danger:hover[b-beft7l2s7q] {
    background: rgba(220, 38, 38, 0.06);
}

/* Calculated-line markers (US-889), twin of ChangeOrderApprovalModal's coa-lineitem-note. */
.cod-lineitem-notes[b-beft7l2s7q] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.375rem 0 0;
}

.cod-lineitem-note[b-beft7l2s7q] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.cod-lineitem-note--system[b-beft7l2s7q] {
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

/* -- Draft editing (US-947) ----------------------------------------------------------------
   The Overview card's title and description fields, the primary footer action, and the
   supporting-documents file list. The drop zone itself is the shared FileDropZone (US-1043),
   as in SubmitChangeOrderModal; the button and file-row recipes match its sco-btn-submit and
   sco-file so the two ways of sending an adjustment read as one. */

/* Title and description fields, on show until the Project Owner approves (US-1050); the
   same stack the Submit sheet's sco-card-fields uses. */
.cod-edit[b-beft7l2s7q] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Approved: the title reads as text above the description, at the description's size. */
.cod-detail-title[b-beft7l2s7q] {
    margin: 0.375rem 0 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 1.5;
    color: var(--lw-text-primary);
}

/* Date / submitted by / approved, below the title and description. */
.cod-overview-meta[b-beft7l2s7q] {
    margin-top: 1.25rem;
}

/* Draft: Overview and Supporting Documents share a row at equal height, the drop zone filling
   its card; the line items table takes the full width below. Phones stack them. */
.cod-top[b-beft7l2s7q] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.cod-top--split[b-beft7l2s7q] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cod-docs[b-beft7l2s7q],
.cod-overview-wrap[b-beft7l2s7q] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cod-docs[b-beft7l2s7q]  .cc-card,
.cod-overview-wrap[b-beft7l2s7q]  .cc-card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.cod-docs[b-beft7l2s7q]  .cc-body,
.cod-docs[b-beft7l2s7q]  .cc-body__content,
.cod-docs[b-beft7l2s7q]  .fdz-wrap,
.cod-docs[b-beft7l2s7q]  .mud-file-upload,
.cod-docs[b-beft7l2s7q]  .mud-input-control-input-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.cod-docs[b-beft7l2s7q]  .mud-input-control-input-container {
    display: flex !important; /* Mud pins this one to block */
}

.cod-docs[b-beft7l2s7q]  .mud-input-control-input-container > div {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.cod-docs[b-beft7l2s7q]  .fdz {
    flex: 1 1 auto;
}

.cod-docs-empty[b-beft7l2s7q] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    .cod-top--split[b-beft7l2s7q] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* US-1232: an open document takes 40% of the sheet, so the two cards stack whenever the
   details column itself gets narrow -- measured on the column, not the viewport. The host
   wraps only these two cards, so containment never reaches the line items table. */
.cod-top-host[b-beft7l2s7q] {
    container-type: inline-size;
}

@container (max-width: 719.98px) {
    .cod-top--split[b-beft7l2s7q] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cod-btn-primary[b-beft7l2s7q] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 36px;
    padding: 0 1.25rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--lw-font-family);
    white-space: nowrap;
    transition: background 0.15s;
}

.cod-btn-primary:hover[b-beft7l2s7q] {
    background: var(--lw-primary-dark-hover);
}

.cod-btn-primary:active[b-beft7l2s7q] {
    transform: translateY(1px);
}

/* Never disabled (O14): a button whose handler is waiting on a save keeps its chrome
   and says so through aria-busy. */
.cod-btn-primary[aria-busy="true"][b-beft7l2s7q],
.cod-btn-outline[aria-busy="true"][b-beft7l2s7q],
.cod-btn-danger[aria-busy="true"][b-beft7l2s7q],
.cod-head-btn[aria-busy="true"][b-beft7l2s7q] {
    cursor: progress;
}

/* The attached-file rows are BudgetAdjustmentDocumentList's (Bug-1112), shared with the batch
   submit sheet; their rules live in its scoped CSS. */

/* -- Phone (app breakpoint 767.98, US-1043 Batch 11) -----------------------------------------
   The sheet shell, 16px inset and footer stacking come from lw-drawer.css; these are the
   card interiors. */
@media (max-width: 767.98px) {
    /* Card header actions (Edit, Edit amounts): the shared icon-only recipe
       (lw-card-action in lw-page.css) owns the 44px square and the hidden label. */

    /* Overview and the read-only line meta: one label / value row per fact instead of
       three squeezed columns. Values wrap so nothing is cut off (A2). */
    .cod-overview-grid[b-beft7l2s7q],
    .cod-lineitem-meta[b-beft7l2s7q] {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.5rem;
    }

    .cod-overview-cell[b-beft7l2s7q],
    .cod-meta-cell[b-beft7l2s7q] {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .cod-overview-label[b-beft7l2s7q] {
        flex-shrink: 0;
    }

    .cod-overview-value[b-beft7l2s7q],
    .cod-meta-value[b-beft7l2s7q] {
        min-width: 0;
        text-align: right;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    /* Inline title / description edit: 44px actions, Cancel at its own width and Save
       filling the rest (O8). The fields are LwTextField, 16px on phones from the atom. */
    .cod-edit-actions .cod-btn-outline[b-beft7l2s7q],
    .cod-edit-actions .cod-btn-primary[b-beft7l2s7q] {
        height: 44px;
    }

    .cod-edit-actions .cod-btn-primary[b-beft7l2s7q] {
        flex: 1 1 auto;
    }

    /* Read-only line cards: 12px inset, long descriptions break instead of pushing
       the delta chip out; a long calculated-line note wraps inside its chip. */
    .cod-lineitem[b-beft7l2s7q] {
        padding: 0.75rem;
    }

    .cod-lineitem-title[b-beft7l2s7q],
    .cod-lineitem-cat[b-beft7l2s7q],
    .cod-lineitem-reason[b-beft7l2s7q] {
        overflow-wrap: anywhere;
    }

    .cod-lineitem-note[b-beft7l2s7q] {
        max-width: 100%;
        border-radius: var(--lw-radius-control);
    }

    /* Net: label and amount stay together on the right and wrap if the figure is long. */
    .cod-net-row[b-beft7l2s7q] {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .cod-net-amount[b-beft7l2s7q] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .cod-empty[b-beft7l2s7q] {
        padding: 1.5rem 1rem;
    }
}
/* _content/Ledgerwise/Components/Modals/ChooseExistingOwnerDialog.razor.rz.scp.css */
/* Choose-existing project-owner picker -- source: ledgerwise-app
   gc/project-create/client-picker-dialog.tsx (2026-07-24): search strip
   (border-b, px-20 py-12) holding a 40px bordered search box (16px muted
   icon, 14px input, focus border = primary); list max-h 320 py-4 with
   px-20 py-10 rows -- 32px initials avatar, 14/500 name, accent hover;
   centered muted empty-state line. */

.cep[b-61dlyem5pb] {
    display: flex;
    flex-direction: column;
}

.cep__search-strip[b-61dlyem5pb] {
    border-bottom: 1px solid var(--lw-border);
    padding: 12px 20px;
}

.cep__search[b-61dlyem5pb] {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    transition: border-color 0.15s ease;
}

.cep__search:focus-within[b-61dlyem5pb] {
    border-color: var(--lw-primary-dark);
}

.cep__search[b-61dlyem5pb]  .cep__search-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-space) !important;
    flex-shrink: 0;
}

.cep__search-input[b-61dlyem5pb] {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: var(--lw-input-font-size, 14px); /* 16px on phones: no iOS focus zoom */
    color: var(--lw-text-primary);
}

.cep__search-input[b-61dlyem5pb]::placeholder {
    color: var(--lw-gray-space);
}

.cep__empty[b-61dlyem5pb] {
    margin: 0;
    padding: 32px 20px;
    text-align: center;
    font-size: 14px;
    color: var(--lw-gray-space);
}

.cep__list[b-61dlyem5pb] {
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 0;
}

.cep__row[b-61dlyem5pb] {
    display: flex;
    align-items: center;
    /* A global modal-button rule centers button content; rows are leading. */
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.12s ease;
}

.cep__row:hover[b-61dlyem5pb] {
    background: var(--lw-accent);
}

.cep__avatar[b-61dlyem5pb] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.cep__text[b-61dlyem5pb] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Phone (US-1043): the dialog is a bottom sheet (global lw-modal rule) whose
   body already scrolls, so the list gives up its own 320px scroll box (one
   scroll region, not two); 16px insets; rows stay >= 44px tall. The 320px
   min-width came off the body above so the sheet fits a 360px screen. */
@media (max-width: 767.98px) {
    .cep__search-strip[b-61dlyem5pb] {
        padding: 12px 16px;
    }

    .cep__search[b-61dlyem5pb] {
        height: 44px;
    }

    .cep__list[b-61dlyem5pb] {
        max-height: none;
        overflow-y: visible;
    }

    .cep__row[b-61dlyem5pb] {
        min-height: 44px;
        padding: 10px 16px;
    }

    .cep__empty[b-61dlyem5pb] {
        padding: 24px 16px;
    }
}

.cep__name[b-61dlyem5pb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

.cep__email[b-61dlyem5pb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--lw-gray-space);
}
/* _content/Ledgerwise/Components/Modals/ClientQuickTipsDialog.razor.rz.scp.css */
/* ClientQuickTipsDialog content chrome only -- the dialog frame, header,
   body, and footer regions come from the canonical lw-modal pattern
   (LwModalHeader/Body/Footer atoms + global .lw-modal rules in app.css). */

/* Tips grid -- preserves the previous MudGrid md="6" two-column split
   (24px = MudGrid default gutter; 960px = MudBlazor md breakpoint). */
.qt-grid[b-frgz07hv66] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 960px) {
    .qt-grid[b-frgz07hv66] { grid-template-columns: repeat(2, 1fr); }
}

/* 12px = the previous MudStack Spacing="3". */
.qt-col[b-frgz07hv66] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qt-tip-title[b-frgz07hv66] {
    display: flex;
    align-items: center;
    gap: 6px; /* icon-to-label gap, mirrors the previous mr-1 */
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.qt-tip-title[b-frgz07hv66]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-primary-blue);
}

.qt-tip-body[b-frgz07hv66] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list[b-frgz07hv66] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qt-tip-list li[b-frgz07hv66] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list b[b-frgz07hv66],
.qt-tip-body b[b-frgz07hv66] {
    font-weight: 600;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Modals/CompareProposalsModal.razor.rz.scp.css */
/* Compare proposals -- the shell (nested bottom sheet, header, footer) and
   the viewer-pane anatomy (toolbar, dot-grid stage, page card, loading,
   empty state) are the shared drawer spec (lw-drawer.css + LwModalHeader/
   Body/Footer) since US-1043. This file lays the two panes side by side,
   keeps the SearchableDropdown picker band and its two-line options
   (reference PickerField), and swaps the panes behind an LwPaneSwitch on
   phones. Source: ledgerwise-app documents-manager.tsx (2026-07-23). */

.cpm-body[b-zwrqadzrzz] {
    display: flex;
    height: 100%;
    min-height: 0;
    background: var(--lw-bg-muted);
}

.cpm-switch[b-zwrqadzrzz] {
    display: none;
}

/* Each pane is a white viewer column; the right one carries the hairline. */
.cpm-pane[b-zwrqadzrzz] {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lw-white);
}

.cpm-pane--right[b-zwrqadzrzz] {
    border-left: 1px solid var(--lw-border);
}

.cpm-pane-picker[b-zwrqadzrzz] {
    flex-shrink: 0;
    padding: 16px 16px 12px;
}

/* Vendor / amount chip beside the file name in the pane toolbar. */
.cpm-pane-meta[b-zwrqadzrzz] {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cpm-option[b-zwrqadzrzz] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cpm-option-name[b-zwrqadzrzz] {
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cpm-option-sub[b-zwrqadzrzz] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
    font-variant-numeric: tabular-nums;
}

/* Phone (US-1043): one pane at a time behind the Proposal A | Proposal B
   switch. The pane toolbar wraps: file name + open-in-new-tab (44px) on the
   first row, the vendor / amount chip on its own row beneath. */
@media (max-width: 767.98px) {
    .cpm-body[b-zwrqadzrzz] {
        flex-direction: column;
    }

    .cpm-switch[b-zwrqadzrzz] {
        display: block;
        flex-shrink: 0;
        padding: 12px 16px;
    }

    .cpm-pane[b-zwrqadzrzz] {
        display: none;
    }

    .cpm-body--left .cpm-pane--left[b-zwrqadzrzz],
    .cpm-body--right .cpm-pane--right[b-zwrqadzrzz] {
        display: flex;
        flex: 1 1 auto;
    }

    .cpm-pane--right[b-zwrqadzrzz] {
        border-left: 0;
    }

    .cpm-pane .lw-drawer-pane-toolbar[b-zwrqadzrzz] {
        flex-wrap: wrap;
        row-gap: 0;
        padding: 4px 4px 8px 16px;
    }

    /* Basis leaves room for the 44px tool only, which pushes the chip to row two. */
    .cpm-pane .lw-drawer-pane-file[b-zwrqadzrzz] {
        order: 1;
        flex: 1 1 calc(100% - 60px);
    }

    .cpm-pane .lw-drawer-pane-tools[b-zwrqadzrzz] {
        order: 2;
    }

    .cpm-pane .lw-drawer-pane-icon[b-zwrqadzrzz] {
        width: 44px;
        height: 44px;
    }

    .cpm-pane-meta[b-zwrqadzrzz] {
        order: 3;
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 12px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* _content/Ledgerwise/Components/Modals/ConfirmDepositModal.razor.rz.scp.css */
/* ConfirmDepositModal -- Project Owner confirms or disputes each incoming deposit (US-755).
   Shell/header/footer chrome comes from the lw-modal atoms (US-798, 2026-09-02:
   migrated off the bespoke cdm-* shell so it picks up the shared phone
   bottom-sheet geometry); only the body content is styled here. */

/* -- Summary panel -- */
.cdm-summary[b-igczgvk4ea] {
    border: 1px solid rgba(145, 158, 171, 0.2);
    border-radius: 6px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    background: var(--lw-white);
    /* US-1020: the panel is keyed on the deposit, so moving to the next one
       remounts it and this plays -- the owner sees the card change hands. */
    animation: cdm-enter-b-igczgvk4ea 220ms ease-out;
}

@keyframes cdm-enter-b-igczgvk4ea {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cdm-summary[b-igczgvk4ea] { animation: none; }
}

.cdm-summary-row[b-igczgvk4ea] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.375rem 0;
}

.cdm-summary-row + .cdm-summary-row[b-igczgvk4ea] {
    border-top: 1px solid rgba(145, 158, 171, 0.16);
}

.cdm-summary-label[b-igczgvk4ea] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lw-gray-graphite, #6E7180);
}

.cdm-summary-amount[b-igczgvk4ea] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lw-primary-dark, #020B2B);
    font-variant-numeric: tabular-nums;
}

.cdm-summary-value[b-igczgvk4ea] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lw-primary-dark, #020B2B);
}

/* -- Body copy: the question lives in the header (US-1020); the explainer
   introduces the deposit facts below it. -- */
.cdm-explainer[b-igczgvk4ea] {
    margin: 0 0 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite, #6E7180);
}
/* _content/Ledgerwise/Components/Modals/ConfirmPaymentModal.razor.rz.scp.css */
/* -- MudDialog shell overrides (scoped via ::deep) -- */
[b-efdueeuvbm] .mud-dialog.cpm-dialog {
    width: 100%;
    max-width: 580px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px -8px rgba(2, 11, 43, 0.18),
                0 0 0 1px rgba(145, 158, 171, 0.16);
    background: var(--lw-white);
    color: var(--lw-primary-dark, #020B2B);
    font-family: var(--lw-font-family, sans-serif);
}

[b-efdueeuvbm] .mud-dialog.cpm-dialog .mud-dialog-title {
    padding: 1.25rem 1.5rem;
    border-bottom: 0;
}

[b-efdueeuvbm] .mud-dialog.cpm-dialog .mud-dialog-content {
    padding: 0 1.5rem 0.5rem;
}

[b-efdueeuvbm] .mud-dialog.cpm-dialog .mud-dialog-actions {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 0;
    gap: 0.625rem;
}

/* -- Header -- */
.cpm-header[b-efdueeuvbm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.cpm-title[b-efdueeuvbm] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lw-primary-dark, #020B2B);
    font-family: var(--lw-font-family, sans-serif);
}

.cpm-close[b-efdueeuvbm] {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--lw-gray-graphite, #6E7180);
    cursor: pointer;
    transition: color 0.15s;
}

.cpm-close:hover:not(:disabled)[b-efdueeuvbm] {
    color: var(--lw-primary-dark, #020B2B);
}

.cpm-close:disabled[b-efdueeuvbm] {
    cursor: not-allowed;
    opacity: 0.4;
}

/* -- Payment method -- */
.cpm-section-label[b-efdueeuvbm] {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite, #6E7180);
}

/* Consent note above the funding section (US-898 security deposit release). */
.cpm-note[b-efdueeuvbm] {
    margin: 0 0 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 6px;
    background: var(--lw-status-warning-bg);
    border: 1px solid rgba(238, 182, 111, 0.45);
    color: var(--lw-status-warning-fg);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.cpm-methods[b-efdueeuvbm] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* US-998: the one funding method (wire), shown as a fact rather than a choice. */
.cpm-method[b-efdueeuvbm] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.875rem;
    width: 100%;
    padding: 1rem 1.125rem;
    border-radius: 10px;
    border: 1px solid rgba(145, 158, 171, 0.3);
    background: var(--lw-white);
    text-align: left;
}

.cpm-method--selected[b-efdueeuvbm] {
    border-color: var(--lw-primary-dark, #020B2B);
    box-shadow: 0 0 0 1px var(--lw-primary-dark, #020B2B);
    background: var(--lw-bg-muted, #F7F7F5);
}

/* Payment-rail icon before the label */
.cpm-method-icon[b-efdueeuvbm] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lw-gray-graphite, #6E7180);
}

.cpm-method--selected .cpm-method-icon[b-efdueeuvbm] {
    color: var(--lw-primary-dark, #020B2B);
}

.cpm-method-body[b-efdueeuvbm] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    text-align: left;
}

.cpm-method-title[b-efdueeuvbm] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
}

.cpm-method-sub[b-efdueeuvbm] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite, #6E7180);
}

/* -- Inline error -- */
.cpm-error[b-efdueeuvbm] {
    margin-top: 0.875rem;
    padding: 0.625rem 0.75rem;
    border-radius: 6px;
    background: rgba(184, 53, 48, 0.08);
    border: 1px solid rgba(184, 53, 48, 0.2);
    color: var(--lw-status-error-fg);
    font-size: 0.8125rem;
    line-height: 1.4;
}

/* -- Buttons -- */
.cpm-btn[b-efdueeuvbm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 40px;
    padding: 0 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    font-family: var(--lw-font-family, sans-serif);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.cpm-btn:disabled[b-efdueeuvbm] {
    cursor: not-allowed;
    opacity: 0.55;
}

.cpm-btn-cancel[b-efdueeuvbm] {
    background: var(--lw-white);
    color: var(--lw-primary-dark, #020B2B);
    border: 1px solid rgba(145, 158, 171, 0.3);
}

.cpm-btn-cancel:hover:not(:disabled)[b-efdueeuvbm] {
    background: var(--lw-bg-muted, #F7F7F5);
    border-color: rgba(145, 158, 171, 0.45);
}

.cpm-btn-approve[b-efdueeuvbm] {
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    border: 1px solid var(--lw-primary-dark, #020B2B);
}

.cpm-btn-approve:hover:not(:disabled)[b-efdueeuvbm] {
    background: var(--lw-primary-dark-hover);
    border-color: var(--lw-primary-dark-hover);
}

/* -- Inline spinner inside the approve button -- */
.cpm-spinner[b-efdueeuvbm] {
    width: 12px;
    height: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--lw-white);
    border-radius: 50%;
    animation: cpm-spin 0.7s linear infinite;
}


    to[b-efdueeuvbm] { transform: rotate(360deg); }


/* US-733: fee explanation info icon inside the breakdown label. */
.cpm-breakdown-label[b-efdueeuvbm]  .cpm-breakdown-info {
    width: 14px;
    height: 14px;
    font-size: 14px;
    vertical-align: -2px;
    margin-left: 4px;
    color: var(--lw-gray-graphite);
    cursor: help;
}
/* _content/Ledgerwise/Components/Modals/ContractorQuickTipsDialog.razor.rz.scp.css */
/* ContractorQuickTipsDialog content chrome only -- the dialog frame, header, body and footer
   come from the canonical lw-modal pattern (LwModalHeader/Body/Footer atoms).
   US-1191: one column of tips in the flow's order. Each tip is the ControlCard head anatomy
   at a smaller size: a 36px muted icon tile (--lw-bg-muted, brand-blue glyph) beside a 14/600
   title over 13px graphite lines; hairlines between tips. Lists follow ProjectQuickTipsDialog. */

.qt-list[b-77z4dif1j2] {
    display: flex;
    flex-direction: column;
}

.qt-tip[b-77z4dif1j2] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
}

.qt-tip:first-child[b-77z4dif1j2] {
    padding-top: 0;
}

.qt-tip:last-child[b-77z4dif1j2] {
    padding-bottom: 0;
}

.qt-tip + .qt-tip[b-77z4dif1j2] {
    border-top: 1px solid var(--lw-border);
}

.qt-tip-icon[b-77z4dif1j2] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    color: var(--lw-primary-blue);
}

.qt-tip-icon[b-77z4dif1j2]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.qt-tip-text[b-77z4dif1j2] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qt-tip-title[b-77z4dif1j2] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 20px;
    color: var(--lw-text-primary);
}

.qt-tip-body[b-77z4dif1j2] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list[b-77z4dif1j2] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.qt-tip-list li[b-77z4dif1j2] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list b[b-77z4dif1j2] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Phones (US-1043): the tips are the whole sheet, so they read at body size. */
@media (max-width: 767.98px) {
    .qt-tip-body[b-77z4dif1j2],
    .qt-tip-list li[b-77z4dif1j2] {
        font-size: 14px;
    }

    .qt-tip-title[b-77z4dif1j2],
    .qt-tip-body[b-77z4dif1j2] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/ContractorRfpDetailModal.razor.rz.scp.css */
/* ContractorRfpDetailModal (US-926). Shell, header, split layout, attachment
   preview pane and the phone Details | Document swap are the shared drawer spec
   (wwwroot/css/components/lw-drawer.css) -- the same one the invoice detail
   drawer uses. Sections are ControlCards, rows .lw-field-rows, files
   LwListCard/LwListRow, statuses StatusChip, notes LwCardNote. What lives here
   is only this drawer's own content: stacks inside cards, notes text and the
   file-row lead/trailing. */

.crdm-stack[b-c8c1rqts4i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crdm-notes-body[b-c8c1rqts4i] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--lw-text-primary);
    white-space: pre-wrap;
}

[b-c8c1rqts4i] .crdm-skeleton {
    border-radius: var(--lw-radius-card);
}

/* File rows (LwListRow Lead / Trailing). */
.crdm-file[b-c8c1rqts4i] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.crdm-file[b-c8c1rqts4i]  .crdm-file-icon.mud-icon-root {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.crdm-file-name[b-c8c1rqts4i] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.crdm-file-size[b-c8c1rqts4i] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}
/* _content/Ledgerwise/Components/Modals/CostCodeModal.razor.rz.scp.css */
/* Two stacked fields, the 1rem gap the other org modals use (InsuranceCertificateModal). */
.cc-modal-fields[b-04dc6pewt6] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* _content/Ledgerwise/Components/Modals/CreateChangeOrderModal.razor.rz.scp.css */
/* New Budget Adjustment modal internals.
   Canonicalized 2026-07-21 onto the lw-modal shell; closest reference
   recipes: ledgerwise-ui-app request-adjustment-modal.tsx (640px form
   dialog) and co-summary-modal.tsx (kicker section + dropzone + file rows).
   FieldShell recipe mirrors LwTextField.razor.css / AddInvoiceModal
   .aim-numfield; the Mud autocomplete/numeric/text inputs stay for their
   binding behavior. (The previous searchable-dropdown rules in this file
   were dead: this modal uses MudAutocomplete, and SearchableDropdown owns
   its own scoped css.) */

/* Autocomplete popover items (teleported by MudPopoverProvider, so ::deep
   from the scoped field wrapper cannot reach them -- these classes ride on
   plain elements authored here, which keep the scope attribute). */
.cco-option[b-2bu1iv100j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

/* One line: number, name, amount -- the Budget tab's own row order (US-947). */
.cco-option-num[b-2bu1iv100j] {
    flex-shrink: 0;
    min-width: 36px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.cco-option-name[b-2bu1iv100j] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category header row: the budget table's group-row treatment (uppercase 11px
   graphite). It is a disabled list item, so Mud fades it; restore full strength. */
.cco-option-group[b-2bu1iv100j] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    opacity: 1;
}

.cco-option-group-name[b-2bu1iv100j] {
    font-size: 11px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

/* A calculated line follows its sources, so it is listed but cannot be chosen. */
.cco-option--calculated .cco-option-name[b-2bu1iv100j] {
    color: var(--lw-gray-graphite);
}

.cco-option-tag[b-2bu1iv100j] {
    flex-shrink: 0;
    padding: 0 6px;
    font-size: 10px;
    font-weight: var(--lw-font-semibold);
    line-height: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-status-neutral-fg);
    background: var(--lw-status-neutral-bg);
}

.cco-option-amount[b-2bu1iv100j] {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.cco-option-empty[b-2bu1iv100j] {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--lw-gray-space);
}

/* Field hint / character counter under a field (text-xs muted). */
.cco-hint[b-2bu1iv100j] {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* The Current + Adjustment = New total row is the AdjustmentEquation component. */

/* Section kicker (co-summary-modal.tsx). Bottom margin keeps the dropzone
   from sitting flush against the modal body edge above the footer. */
.cco-section[b-2bu1iv100j] {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.cco-kicker[b-2bu1iv100j] {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

/* The dropzone is the shared FileDropZone component (US-1043). */

/* Selected file rows. */
.cco-files[b-2bu1iv100j] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.cco-file[b-2bu1iv100j] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.cco-file-icon[b-2bu1iv100j] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.cco-file-icon[b-2bu1iv100j]  .mud-icon-root { width: 1rem; height: 1rem; }

.cco-file-name[b-2bu1iv100j] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.cco-file-size[b-2bu1iv100j] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.cco-file-remove[b-2bu1iv100j] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 0;
    background: none;
    padding: 0;
    border-radius: var(--lw-radius-control);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.cco-file-remove:hover:not([aria-busy="true"])[b-2bu1iv100j] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

/* Never disabled (O14): while the adjustment saves the handler ignores the press. */
.cco-file-remove[aria-busy="true"][b-2bu1iv100j] {
    opacity: 0.5;
    cursor: default;
}

.cco-file-remove[b-2bu1iv100j]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* -- FieldShell chrome for the Mud inputs (recipe: LwTextField.razor.css /
   .aim-numfield, 2026-07-08 spec). -- */

.cco-field[b-2bu1iv100j]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.cco-field[b-2bu1iv100j]  .mud-input-control {
    margin-top: 0;
}

.cco-field[b-2bu1iv100j]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.cco-field[b-2bu1iv100j]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    /* 14px desktop, 16px on phones (no iOS focus zoom). */
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
}

/* Start adornment ($) hugs the value; trim the input's left pad so the pair
   still reads as one 14px-inset text block. */
.cco-field[b-2bu1iv100j]  .mud-input-adornment-start + input.mud-input-slot {
    padding-left: 6px;
}

/* The picker's search glyph sits in Mud's 36px icon slot; drop the slot's own
   right margin so the glyph and the text read as one inset block. */
.cco-field[b-2bu1iv100j]  .mud-input-adornment-start.mud-select-input {
    margin-right: 0;
}

.cco-field[b-2bu1iv100j]  .mud-input-adornment-text {
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.cco-field[b-2bu1iv100j]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label geometrically centered in the 54px box (FieldShell: left
   13px). Mud's padding is !important, so ours must be too. */
.cco-field[b-2bu1iv100j]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Floated label: mirror Mud's shrink/focus selectors (4-class specificity);
   12px like FieldShell text-xs (scale 12/14 = .857). */
.cco-field[b-2bu1iv100j]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.cco-field[b-2bu1iv100j]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.cco-field[b-2bu1iv100j]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

/* Focused wins over floated (declared last at equal specificity). */
.cco-field[b-2bu1iv100j]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states -- FieldShell: rest --lw-input-border 1px; hover no change;
   focus 1px foreground (phantom). */
.cco-field[b-2bu1iv100j]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.cco-field[b-2bu1iv100j]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.cco-field[b-2bu1iv100j]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Autocomplete caret / clear adornments: quiet gray like the LwSelect caret. */
.cco-field[b-2bu1iv100j]  .mud-input-adornment .mud-icon-button,
.cco-field[b-2bu1iv100j]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* The Reason / Notes fields (LwTextField) stack with the modal's field gap. */
.cco-stack[b-2bu1iv100j] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

/* -- Phones (US-1043). The shell is the global lw-modal bottom sheet; this
   block only covers the modal's own pieces. -- */
@media (max-width: 767.98px) {
    /* Picker rows (teleported popover): a 44px tap row; a long line name wraps
       instead of being cut off between the number and the amount. */
    .cco-option[b-2bu1iv100j],
    .cco-option-group[b-2bu1iv100j] {
        min-height: 44px;
        gap: 12px;
    }

    .cco-option-name[b-2bu1iv100j] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Clear / caret adornments on the picker: 44px targets. */
    .cco-field[b-2bu1iv100j]  .mud-input-adornment .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }

    /* File rows: the name keeps the line, the remove button is a 44px target
       seated in the row's trailing gutter so the row stays compact. */
    .cco-file[b-2bu1iv100j] {
        min-height: 48px;
        padding: 2px 2px 2px 12px;
    }

    .cco-file-remove[b-2bu1iv100j] {
        width: 44px;
        height: 44px;
    }

    .cco-file-remove[b-2bu1iv100j]  .mud-icon-root { width: 1.125rem; height: 1.125rem; }
}
/* _content/Ledgerwise/Components/Modals/DocumentQrCodeModal.razor.rz.scp.css */
/* QR code modal (US-1115). Body chrome only -- the header, body and footer atoms carry the
   canonical lw-modal shell. Every color and radius comes from --lw-* tokens. */

.qrm-lead[b-tjbg0xsv09] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.qrm-field[b-tjbg0xsv09] {
    margin-top: 16px;
}

.qrm-count[b-tjbg0xsv09] {
    margin-top: 4px;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: right;
    color: var(--lw-gray-graphite);
}

.qrm-count--over[b-tjbg0xsv09] {
    color: var(--lw-status-error-fg);
}

.qrm-callout[b-tjbg0xsv09] {
    margin-top: 16px;
}

.qrm-ack[b-tjbg0xsv09] {
    margin-top: 14px;
}

.qrm-error[b-tjbg0xsv09] {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lw-status-error-fg);
}

/* -- Card state -- */

.qrm-preview[b-tjbg0xsv09] {
    display: flex;
    justify-content: center;
    padding: 4px 0 16px;
}

/* The preview is the printed card at its physical width (248pt), with the design's soft
   drop shadow so it reads as a placard sitting on the page. */
.qrm-card[b-tjbg0xsv09] {
    display: block;
    width: 248px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--lw-border);
    box-shadow: 0 12px 40px rgba(2, 11, 43, 0.12);
}

.qrm-row[b-tjbg0xsv09] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--lw-border);
}

.qrm-row__body[b-tjbg0xsv09] {
    flex: 1 1 auto;
    min-width: 0;
}

.qrm-row__label[b-tjbg0xsv09] {
    margin-bottom: 2px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.qrm-row__value[b-tjbg0xsv09] {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.qrm-row__value--mono[b-tjbg0xsv09] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8125rem;
}

.qrm-link-btn[b-tjbg0xsv09] {
    flex: none;
    margin: 0;
    padding: 2px 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
    white-space: nowrap;
}

.qrm-link-btn:hover[b-tjbg0xsv09],
.qrm-link-btn:focus-visible[b-tjbg0xsv09] {
    text-decoration: underline;
    outline: none;
}

.qrm-link-btn:disabled[b-tjbg0xsv09] {
    opacity: 0.5;
    cursor: default;
}

.qrm-link-btn--danger[b-tjbg0xsv09] {
    color: var(--lw-status-error-fg);
}

.qrm-edit[b-tjbg0xsv09] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.qrm-edit__actions[b-tjbg0xsv09] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.qrm-revoke[b-tjbg0xsv09] {
    margin-top: 16px;
}

.qrm-confirm[b-tjbg0xsv09] {
    padding: 12px 14px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--lw-text-primary);
}

.qrm-confirm__actions[b-tjbg0xsv09] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}
/* _content/Ledgerwise/Components/Modals/DocumentViewerModal.razor.rz.scp.css */
/* DocumentViewerModal (US-926). Everything visual is the shared drawer spec
   (wwwroot/css/components/lw-drawer.css), pane-only variant, on an
   lw-modal--sheet dialog -- the same drawer as the invoice, RFP and document
   detail drawers. No local chrome remains. */
/* _content/Ledgerwise/Components/Modals/DrawRequestApprovalModal.razor.rz.scp.css */
/* Owner payment request review sheet. Source: ledgerwise-ui-app
   organisms/payment-request-detail-drawer.tsx (owner wiring) +
   molecules/budget-impact-summary.tsx + atoms/stacked-progress-bar.tsx
   (measured 2026-07-20). The shell (bottom sheet, header, footer, details
   column, phone inset) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) since US-1043; this file keeps the card
   interiors. */

/* -- Fund control: this request against the whole project (US-478) --
   Three figures over one share bar, mirroring page 3 of the Patriot owner progress
   report attached to the work item. The middle figure is the one being decided, so it
   is the only one tinted; the outer two are context. */
.dra-fund[b-wr6i9fr767] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dra-fund-figures[b-wr6i9fr767] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.dra-fund-fig[b-wr6i9fr767] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
    border-left: 1px solid var(--lw-border);
    min-width: 0;
}

.dra-fund-fig:first-child[b-wr6i9fr767] {
    padding-left: 0;
    border-left: none;
}

.dra-fund-label[b-wr6i9fr767] {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.dra-fund-val[b-wr6i9fr767] {
    font-family: var(--lw-font-family-heading);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

/* The amount under review reads in the same brand accent as its bar segment. */
/* Gold family for the amount under review, matching the gold bar segment
   (2026-08-10 feedback); dark gold step -- raw gold is illegible on white. */
.dra-fund-fig--this .dra-fund-val[b-wr6i9fr767] {
    color: var(--lw-primary-gold-dark);
}

.dra-fund-meta[b-wr6i9fr767] {
    font-size: 0.6875rem;
    color: var(--lw-gray-space);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Info icon beside the invoice count: the tooltip explains that the "This request"
   figure is fee-inclusive. ::deep because MudTooltip/MudIcon are child components
   and would not receive this component's scope attribute. */
.dra-fund-meta[b-wr6i9fr767]  .dra-fund-info-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    display: block;
    color: var(--lw-gray-graphite, #6E7180);
    opacity: 0.85;
}

@media (max-width: 599px) {
    /* Three currency columns do not fit, and two left an odd third figure
       stranded under the first (Cody, 2026-09-06: stack them as full-width
       rows). Each figure takes its own row -- label and caption left, figure
       right -- so all three share a right edge and the dividing rules, which
       only make sense between columns, fall away. */
    .dra-fund-figures[b-wr6i9fr767] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .dra-fund-fig[b-wr6i9fr767] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        column-gap: 0.75rem;
        row-gap: 0;
        padding: 0.5rem 0;
        border-left: none;
        border-top: 1px solid var(--lw-border);
    }

    .dra-fund-fig:first-child[b-wr6i9fr767] {
        border-top: none;
        padding-top: 0;
    }

    .dra-fund-label[b-wr6i9fr767] {
        grid-row: 1;
        grid-column: 1;
    }

    .dra-fund-val[b-wr6i9fr767] {
        grid-row: 1;
        grid-column: 2;
        font-size: 1.125rem;
    }

    .dra-fund-meta[b-wr6i9fr767] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    /* Tighten the air around the share bar: at desktop spacing the 12px track
       floated in a band of whitespace between the figures and the vendor list
       (Cody, 2026-09-06). */
    .dra-fund[b-wr6i9fr767] {
        gap: 0.75rem;
    }

    .dra-work--under-fund[b-wr6i9fr767] {
        padding-top: 0.875rem;
    }
}

/* -- The work: payee accordion (PaymentRequestVendorList) under the fund figures (US-731) -- */
.dra-work[b-wr6i9fr767] {
    display: flex;
    flex-direction: column;
}

.dra-work--under-fund[b-wr6i9fr767] {
    padding-top: 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.dra-empty-row[b-wr6i9fr767] {
    margin: 0;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--lw-gray-space);
}

/* -- Budget Adjustment callout (warning-tint summary card) -- */
.dra-ba-callout[b-wr6i9fr767] {
    border: 1px solid color-mix(in srgb, var(--lw-status-warning-fg) 30%, transparent);
    border-radius: var(--lw-radius-lg, 4px);
    background: var(--lw-status-warning-bg);
    padding: 0.85rem 1rem;
}

.dra-ba-callout-head[b-wr6i9fr767] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.dra-ba-callout-title[b-wr6i9fr767] {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.dra-ba-callout-sub[b-wr6i9fr767] {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.dra-ba-callout-amt[b-wr6i9fr767] {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.dra-ba-callout-amt--warn[b-wr6i9fr767] { color: var(--lw-status-warning-fg); }

.dra-ba-callout-items[b-wr6i9fr767] {
    margin-top: 0.6rem;
    border-top: 1px solid color-mix(in srgb, var(--lw-status-warning-fg) 25%, transparent);
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dra-ba-callout-item[b-wr6i9fr767] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--lw-text-primary);
}

.dra-ba-callout-item-amt[b-wr6i9fr767] {
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* "Calculated automatically" / "Not applied to ..." under a line (US-889); the full review is one click away. */
.dra-ba-callout-item-note[b-wr6i9fr767] {
    display: block;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.dra-ba-callout-note[b-wr6i9fr767] {
    margin-top: 0.6rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* -- "Where this sits" merged card (2026-08-10 feedback): the fund control is the
   header, the budget-impact breakdown expands beneath a hairline rule. Ported 1:1
   from the builder's submit sheet (DrawRequestSubmitModal .drs-sits/.drs-bi-*) so
   the two sheets read identically. -- */
.dra-sits[b-wr6i9fr767] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* -- Error banner -- */
.dra-readonly-note[b-wr6i9fr767] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Modals/DrawRequestReviewModal.razor.rz.scp.css */
/* Payment-request review modal. Split-pane anatomy per the reference
   inbox-assign drawer (ledgerwise-app organisms/inbox-assign-drawer.tsx,
   2026-07-20): details column beside a muted document-viewer pane; cards on
   rounded-card border + shadow-card; 12/16px meta typography. */

.drr-split[b-9chyujtqyu] {
    display: flex;
    height: calc(100vh - 160px);
}

.drr-left[b-9chyujtqyu] {
    flex: 0 0 42%;
    overflow-y: auto;
    border-right: 1px solid var(--lw-border);
    padding: 16px;
}

.drr-title[b-9chyujtqyu] {
    margin: 0 0 2px;
    font-family: var(--lw-font-family);
    font-size: 1rem;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.drr-subtitle[b-9chyujtqyu] {
    margin: 0 0 16px;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.drr-section-title[b-9chyujtqyu] {
    margin: 0 0 12px;
    font-family: var(--lw-font-family);
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Card shell (budget impact) */
.drr-card[b-9chyujtqyu] {
    margin-bottom: 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.drr-card-head[b-9chyujtqyu] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.drr-card-head[b-9chyujtqyu]  .drr-card-icon { width: 1rem; height: 1rem; color: var(--lw-primary-blue); }

.drr-card-title[b-9chyujtqyu] {
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.drr-card-body[b-9chyujtqyu] { padding: 12px 16px; }

/* Per-line budget impact block */
.drr-impact[b-9chyujtqyu] { padding: 8px 0; }
.drr-impact + .drr-impact[b-9chyujtqyu] { border-top: 1px solid var(--lw-border); }

.drr-impact-head[b-9chyujtqyu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.drr-impact-names[b-9chyujtqyu] { display: flex; flex-direction: column; min-width: 0; }
.drr-impact-line[b-9chyujtqyu] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); color: var(--lw-text-primary); }
.drr-impact-cat[b-9chyujtqyu] { font-size: 0.75rem; color: var(--lw-gray-graphite); }

.drr-impact-track[b-9chyujtqyu] {
    height: 6px;
    width: 100%;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
    margin-bottom: 8px;
}

.drr-impact-fill[b-9chyujtqyu] { height: 100%; border-radius: 9999px; background: var(--lw-success-dark, #2D7A5F); }

.drr-impact-grid[b-9chyujtqyu] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.drr-impact-cell[b-9chyujtqyu] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drr-impact-label[b-9chyujtqyu] { font-size: 0.75rem; color: var(--lw-gray-graphite); }
.drr-impact-value[b-9chyujtqyu] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); font-variant-numeric: tabular-nums; color: var(--lw-text-primary); }
.drr-impact-value--negative[b-9chyujtqyu] { color: var(--lw-destructive); }
.drr-impact-value--positive[b-9chyujtqyu] { color: var(--lw-status-success-fg); }

/* Invoice expansion rows: token chrome over Mud panels */
.drr-panels[b-9chyujtqyu] { border: 1px solid var(--lw-border); border-radius: var(--lw-radius-card); overflow: hidden; box-shadow: var(--lw-shadow-card); }
.drr-panels[b-9chyujtqyu]  .mud-expand-panel { box-shadow: none !important; }
.drr-panels[b-9chyujtqyu]  .mud-expand-panel-header { padding: 12px 16px; }

.drr-inv-names[b-9chyujtqyu] { display: flex; flex-direction: column; min-width: 0; }
.drr-inv-number[b-9chyujtqyu] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); color: var(--lw-text-primary); }
.drr-inv-vendor[b-9chyujtqyu] { font-size: 0.75rem; color: var(--lw-gray-graphite); }
.drr-inv-amount[b-9chyujtqyu] { font-size: 0.875rem; font-weight: var(--lw-font-semibold); font-variant-numeric: tabular-nums; color: var(--lw-text-primary); }

.drr-inv-doccount[b-9chyujtqyu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.drr-inv-doccount[b-9chyujtqyu]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* Right: document viewer pane on the muted surface */
.drr-right[b-9chyujtqyu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--lw-bg-muted);
}

.drr-right[b-9chyujtqyu]  .drr-viewer-head {
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: 0;
}

.drr-viewer-body[b-9chyujtqyu] { flex: 1; overflow: auto; min-height: 0; }
/* _content/Ledgerwise/Components/Modals/DrawRequestSubmitModal.razor.rz.scp.css */
/* GC payment request sheet. Source: ledgerwise-ui-app
   organisms/gc/gc-pr-detail-drawer.tsx + molecules/budget-impact-summary.tsx
   + atoms/stacked-progress-bar.tsx (measured 2026-07-20). The shell (bottom
   sheet, header, footer, body inset, phone stacking) is the shared drawer spec
   (lw-drawer.css + LwModalHeader/Body/Footer) since US-1043; this file keeps
   only the card interiors. */

/* -- Footer Delete: the outline footer button in the destructive colour -- */
.drs-btn-delete[b-u8io5h7lzg] {
    color: var(--lw-destructive);
    border-color: color-mix(in srgb, var(--lw-destructive) 30%, transparent);
}

.drs-btn-delete:hover[b-u8io5h7lzg] {
    background: color-mix(in srgb, var(--lw-destructive) 10%, transparent);
}

.drs-btn-delete[b-u8io5h7lzg]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* -- Details metadata grid -- */
.drs-meta-grid[b-u8io5h7lzg] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 1.5rem;
}

.drs-meta-cell[b-u8io5h7lzg] {
    min-width: 0;
}

.drs-meta-cell--wide[b-u8io5h7lzg] {
    grid-column: 1 / -1;
}

/* Security deposit (US-898): the available figure and the amount field share one row;
   they stack on a narrow sheet. */
.drs-deposit-row[b-u8io5h7lzg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
}

.drs-deposit-row .drs-meta-cell[b-u8io5h7lzg] {
    flex: 0 0 auto;
}

.drs-deposit-field[b-u8io5h7lzg] {
    flex: 0 1 22rem;
    min-width: 14rem;
}

.drs-meta-label[b-u8io5h7lzg] {
    font-size: 0.75rem;
    color: var(--lw-gray-space);
}

.drs-meta-val[b-u8io5h7lzg] {
    margin-top: 0.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.drs-meta-val--normal[b-u8io5h7lzg] {
    font-weight: 400;
    font-variant-numeric: normal;
    line-height: 1.45;
}

/* Inline description editor (Details card header Edit button, 2026-08-10 feedback).
   Same ControlCard inline-edit recipe as UserProfile / MyOrganization. */
.drs-desc-edit[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.drs-desc-edit-actions[b-u8io5h7lzg] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* -- "Where this sits" merged card (2026-08-10 feedback): the fund control is the
   header, the budget-impact breakdown expands beneath a hairline rule. -- */
.drs-sits[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* -- The work: payee accordion (PaymentRequestVendorList) under the fund figures -- */
.drs-work[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drs-work--under-fund[b-u8io5h7lzg] {
    padding-top: 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.drs-work-caption[b-u8io5h7lzg] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.drs-count-badge[b-u8io5h7lzg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 0.375rem;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* -- Empty state -- */
.drs-empty-card[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-lg, 4px);
    text-align: center;
}

.drs-empty-icon[b-u8io5h7lzg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
}

.drs-empty-title[b-u8io5h7lzg] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
}

.drs-empty-sub[b-u8io5h7lzg] {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space);
}

.drs-empty-cta[b-u8io5h7lzg] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 32px;
    padding: 0 0.875rem;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: opacity 0.15s;
}

.drs-empty-cta:hover[b-u8io5h7lzg] {
    opacity: 0.9;
}

/* -- Fund control: this request against the whole project (US-478) --
   The same block the Project Owner review leads with (.dra-fund), so both roles open
   on the same orientation. Measured from ledgerwise-ui-app
   payment-request-detail-drawer.tsx + budget-impact-summary.tsx, 2026-08-02. */
.drs-fund[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drs-fund-figures[b-u8io5h7lzg] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.drs-fund-fig[b-u8io5h7lzg] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
    border-left: 1px solid var(--lw-border);
    min-width: 0;
}

.drs-fund-fig:first-child[b-u8io5h7lzg] {
    padding-left: 0;
    border-left: none;
}

.drs-fund-label[b-u8io5h7lzg] {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.drs-fund-val[b-u8io5h7lzg] {
    font-family: var(--lw-font-family-heading);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

/* The amount under review reads in the gold family, matching its gold bar
   segment and the gold this-PR segment of the budget-impact bars (2026-08-10
   feedback). Text uses the dark gold step -- raw gold is illegible on white. */
.drs-fund-fig--this .drs-fund-val[b-u8io5h7lzg] {
    color: var(--lw-primary-gold-dark);
}

.drs-fund-meta[b-u8io5h7lzg] {
    font-size: 0.6875rem;
    color: var(--lw-gray-space);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Info icon beside the invoice count: the tooltip explains that the "This request"
   figure is fee-inclusive. ::deep because MudTooltip/MudIcon are child components
   and would not receive this component's scope attribute. */
.drs-fund-meta[b-u8io5h7lzg]  .drs-fund-info-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    display: block;
    color: var(--lw-gray-graphite, #6E7180);
    opacity: 0.85;
}

/* -- Phone (US-1043) -- */
@media (max-width: 767.98px) {
    /* Three detail columns do not fit a 328px card: two per row, the description
       still spans both. Labels wrap ("Payment Management Fee") and a long value
       breaks rather than pushing its column wider (A2). */
    .drs-meta-grid[b-u8io5h7lzg] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.75rem 1rem;
    }

    .drs-meta-val[b-u8io5h7lzg] {
        overflow-wrap: anywhere;
    }

    /* Details card header Edit: the shared icon-only recipe (lw-card-action in
       lw-page.css) owns the 44px square and the hidden label. */

    /* Description editor actions: 44px, Cancel keeps its width and Save fills (O8). */
    .drs-desc-edit-actions .lw-page-action[b-u8io5h7lzg] {
        height: 44px;
        padding: 0 16px;
        justify-content: center;
    }

    .drs-desc-edit-actions .lw-page-action--primary[b-u8io5h7lzg] {
        flex: 1 1 auto;
    }

    .drs-empty-cta[b-u8io5h7lzg] {
        height: 44px;
        padding: 0 1rem;
    }

    /* The deposit field and its two figures stack. */
    .drs-deposit-row[b-u8io5h7lzg] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .drs-deposit-field[b-u8io5h7lzg] {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Three currency columns do not fit, and two-up left a seven-figure amount wider
       than its ~130px column at 360: one figure per row, full width (O8 / O9), the
       column rules swapped for a hairline between rows. */
    .drs-fund-figures[b-u8io5h7lzg] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .drs-fund-fig[b-u8io5h7lzg] {
        padding: 0.75rem 0;
        border-left: none;
        border-top: 1px solid var(--lw-border);
    }

    .drs-fund-fig:first-child[b-u8io5h7lzg] {
        padding-top: 0;
        border-top: none;
    }

    .drs-fund-fig:last-child[b-u8io5h7lzg] {
        padding-bottom: 0;
    }

    .drs-fund-val[b-u8io5h7lzg] {
        overflow-wrap: anywhere;
    }

    .drs-fund-label[b-u8io5h7lzg] {
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Modals/EditChangeOrderModal.razor.rz.scp.css */
/* Edit Amounts dialog (US-947). Canonical lw-modal shell; one framed row per changed
   line, each holding an AdjustmentEquation. Rows carry their own white frame because
   they sit on the modal's form-surface body. */

.eco-rows[b-el50m5obj8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.eco-row[b-el50m5obj8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.eco-row-head[b-el50m5obj8] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.eco-name[b-el50m5obj8] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.eco-cat[b-el50m5obj8] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* A calculated line's own row: its formula and where it stands, read-only. */
.eco-calc[b-el50m5obj8] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.eco-calc-formula[b-el50m5obj8] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eco-calc-amount[b-el50m5obj8] {
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Phones (US-1043): a long line name wraps under itself, and a calculated line's
   formula wraps instead of being cut off beside its amount. The equation's own
   re-flow lives in AdjustmentEquation.razor.css. */
@media (max-width: 767.98px) {
    .eco-name[b-el50m5obj8],
    .eco-cat[b-el50m5obj8] {
        overflow-wrap: anywhere;
    }

    .eco-calc[b-el50m5obj8] {
        align-items: flex-start;
        gap: 12px;
    }

    .eco-calc-formula[b-el50m5obj8] {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/EditClientInlineDialog.razor.rz.scp.css */
/* Field stack per add-contact-dialog.tsx DialogBody (gap-4); name row 3-up,
   email/phone 2-up; footer bleeds out of the 24px LwModalBody padding. */
.dlg-fields[b-ih7sausjym] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-grid3[b-ih7sausjym] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.dlg-grid2[b-ih7sausjym] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dlg-footbleed[b-ih7sausjym] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): the house 767.98 breakpoint (was 640). Name and
   email/phone rows stack; LwModalBody insets 16px under 768px, so the
   footer bleed must match or it overshoots the sheet by 8px per side (A1). */
@media (max-width: 767.98px) {
    .dlg-grid3[b-ih7sausjym],
    .dlg-grid2[b-ih7sausjym] {
        grid-template-columns: 1fr;
    }

    .dlg-footbleed[b-ih7sausjym] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/EditProjectClientUserRoleDialog.razor.rz.scp.css */
/* Edit project-client-user role dialog -- canonical lw-modal internals. */

.epcu-hint[b-ou3u92do38] {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 17px;
    color: var(--lw-gray-graphite);
}

.epcu-footbleed[b-ou3u92do38] {
    margin: 16px -24px -24px;
}

/* Phones (US-1043): LwModalBody insets 16px under 768px, so the bleed must match or
   the footer overshoots the sheet by 8px per side (A1). */
@media (max-width: 767.98px) {
    .epcu-footbleed[b-ou3u92do38] {
        margin: 16px -16px -16px;
    }
}
/* _content/Ledgerwise/Components/Modals/ExitSendProposalModal.razor.rz.scp.css */
/* Exit-kickoff confirmation. Shell, header and footer are the canonical
   lw-modal atoms (LwModalHeader / LwModalBody / LwModalFooter); only the
   read-only summary inside the body is styled here. */

.xsp-lead[b-9gbs4vaagu] {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-primary-dark);
}

.xsp-label[b-9gbs4vaagu] {
    margin: 0 0 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.xsp-list[b-9gbs4vaagu] {
    margin: 0 0 1rem;
    padding-left: 1.125rem;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--lw-primary-dark);
}

.xsp-list:last-of-type[b-9gbs4vaagu] {
    margin-bottom: 0.5rem;
}

.xsp-foot[b-9gbs4vaagu] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Phones: the question is longer than a 360px header line, so it wraps to two
   lines instead of ellipsizing (same recipe as the sheet titles in lw-drawer.css). */
@media (max-width: 767.98px) {
    .xsp-head[b-9gbs4vaagu]  .lw-modal-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 20px;
    }
}
/* _content/Ledgerwise/Components/Modals/FeedbackModal.razor.rz.scp.css */
/* Give-feedback dialog. Modal-scoped one-off styles (fb- prefix, not an Lw*
   atom); all chrome draws from --lw-* tokens. The dialog panel is the
   canonical form-surface tint (app.css .lw-modal); fields sit on it with
   white fills so they read as inputs. LwModalBody stacks the .fb-field
   groups on its standard 16px rhythm. */

.fb-field[b-yrpjfr6zv0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fb-label[b-yrpjfr6zv0] {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--lw-text-primary);
}

.fb-label-optional[b-yrpjfr6zv0] {
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.fb-score[b-yrpjfr6zv0] {
    display: flex;
    gap: 8px;
}

.fb-score-btn[b-yrpjfr6zv0] {
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}

.fb-score-btn:hover[b-yrpjfr6zv0] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-bg-muted);
}

.fb-score-btn:focus-visible[b-yrpjfr6zv0] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 1px;
}

.fb-score-btn--selected[b-yrpjfr6zv0],
.fb-score-btn--selected:hover[b-yrpjfr6zv0] {
    background: var(--lw-primary-blue);
    border-color: var(--lw-primary-blue);
    color: var(--lw-primary-blue-fg);
}

.fb-score-labels[b-yrpjfr6zv0] {
    display: flex;
    justify-content: space-between;
    margin: 0 2px;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.fb-comment[b-yrpjfr6zv0] {
    width: 100%;
    resize: vertical;
    min-height: 96px;
    padding: 10px 12px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    /* Input token (14px desktop, 16px phones -- Task-832) so iOS does not zoom
       the page when the field takes focus (US-926). */
    font-size: var(--lw-input-font-size);
    line-height: 1.5;
}

.fb-comment[b-yrpjfr6zv0]::placeholder {
    color: var(--lw-gray-space);
}

.fb-comment:focus-visible[b-yrpjfr6zv0] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 1px;
}

.fb-thanks[b-yrpjfr6zv0] {
    padding: 8px 0 4px 0;
    text-align: center;
}

.fb-thanks-title[b-yrpjfr6zv0] {
    font-size: 18px;
    font-weight: 700;
    color: var(--lw-primary-dark);
    margin-bottom: 6px;
}

.fb-thanks-text[b-yrpjfr6zv0] {
    margin: 0 auto;
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
    text-wrap: balance;
}

/* ---- Screen recording (US-757) ---- */

.fb-record-box[b-yrpjfr6zv0] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border: 1px dashed var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.fb-record-hint[b-yrpjfr6zv0] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.fb-mic-toggle[b-yrpjfr6zv0] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--lw-text-primary);
    cursor: pointer;
}

.fb-mic-toggle input[b-yrpjfr6zv0] {
    accent-color: var(--lw-primary-blue);
}

.fb-record-btn[b-yrpjfr6zv0] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px 0 10px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .12s ease, border-color .12s ease;
}

.fb-record-btn:hover[b-yrpjfr6zv0] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-bg-muted);
}

.fb-record-btn:focus-visible[b-yrpjfr6zv0] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 1px;
}

.fb-record-btn[b-yrpjfr6zv0]  .fb-record-btn-icon {
    font-size: 18px;
    color: var(--lw-destructive);
}

.fb-video-card[b-yrpjfr6zv0] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    overflow: hidden;
}

.fb-video-preview[b-yrpjfr6zv0] {
    display: block;
    width: 100%;
    max-height: 240px;
    background: var(--lw-primary-dark);
}

.fb-video-meta[b-yrpjfr6zv0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.fb-video-actions[b-yrpjfr6zv0] {
    display: flex;
    gap: 12px;
}

.fb-link-btn[b-yrpjfr6zv0] {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.fb-link-btn:hover[b-yrpjfr6zv0] {
    text-decoration: underline;
}

.fb-link-btn--danger[b-yrpjfr6zv0] {
    color: var(--lw-destructive);
}

/* ---- Phones (US-1043, Batch 4 item 3) ---- */
/* The sheet body is 16px-inset on phones (LwModalBody, O10), so at 360px the
   score row has ~328px: seven equal 1fr buttons with a 6px gap come out at
   ~41px wide and 44px tall -- one row, no horizontal overflow, each a real tap
   target. padding: 0 keeps the UA button padding from inflating the row;
   the digit still centers in the 41px cell. */
@media (max-width: 767.98px) {
    .fb-score[b-yrpjfr6zv0] {
        gap: 6px;
    }

    .fb-score-btn[b-yrpjfr6zv0] {
        height: 44px;
        padding: 0;
    }

    .fb-score-labels[b-yrpjfr6zv0] {
        margin: 0;
    }

    /* Record button becomes a full-width 44px row (same tap size as the
       footer actions) instead of a label-width desktop button. */
    .fb-record-btn[b-yrpjfr6zv0] {
        align-self: stretch;
        justify-content: center;
        height: 44px;
    }

    /* Video card meta: the duration/size line and the Re-record / Remove
       links wrap onto two rows when they do not fit beside each other. */
    .fb-video-meta[b-yrpjfr6zv0] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .fb-video-preview[b-yrpjfr6zv0] {
        max-height: 200px;
    }
}
/* _content/Ledgerwise/Components/Modals/ImportCostCodesModal.razor.rz.scp.css */
/* Import cost codes modal (US-1171). Chrome is the lw-modal frame (app.css), the shared
   FileDropZone and lw-modal-summary; this sheet only lays out the body. */

/* Inner scroll region: lw-modal--scroll clips LwModalBody (overflow hidden) so the footer
   stays pinned; the content scrolls here instead. */
.icc-scroll[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    /* The scrollbar sits in the body's right inset instead of over the lists' edge. */
    margin-right: -12px;
    padding-right: 12px;
}

.icc-upload[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icc-help[b-5jc75n97ji] {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* "Download template": an inline text link (the org-cc-footer-link recipe). */
.icc-link[b-5jc75n97ji] {
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--lw-primary-blue);
    font: inherit;
    cursor: pointer;
}

.icc-link:hover[b-5jc75n97ji] {
    text-decoration: underline;
}

/* Chosen file: the UploadBudgetTemplateModal .ubt-file recipe. */
.icc-file[b-5jc75n97ji] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.icc-file[b-5jc75n97ji]  .icc-file__icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.icc-file__name[b-5jc75n97ji] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icc-file__state[b-5jc75n97ji] {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.icc-file__remove[b-5jc75n97ji] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -6px -8px -6px 0;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
}

.icc-file__remove:hover[b-5jc75n97ji] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.icc-file__remove[b-5jc75n97ji]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* Preview groups: a label with its count over a framed table. */
.icc-group[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icc-group__title[b-5jc75n97ji] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.icc-group__count[b-5jc75n97ji] {
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.icc-file__state[b-5jc75n97ji] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lw-modal-summary-value.icc-summary--attention[b-5jc75n97ji] {
    color: var(--lw-status-warning-fg);
}

/* --- The budget-shaped preview (US-1244 stage 3) ---
   The Cost Codes table's two-level recipe (MyOrganization.razor.css .org-cc-*), copied here
   because page-scoped rules do not reach this component. A table inside a modal body carries
   its own frame (white, hairline, card radius). Rows open nothing, so no pointer or hover. */
.icc-table[b-5jc75n97ji] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.icc-table .lw-table-tr[b-5jc75n97ji] {
    cursor: default;
}

.icc-table .lw-table-tr:hover[b-5jc75n97ji] {
    background: transparent;
}

.icc-table .lw-table-tr:last-child[b-5jc75n97ji] {
    border-bottom: 0;
}

.icc-table .lw-table-th[b-5jc75n97ji],
.icc-table .lw-table-td[b-5jc75n97ji] {
    padding: 8px 12px;
    min-width: 0;
}

.icc-col-expand[b-5jc75n97ji] {
    flex: 0 0 40px;
    box-sizing: border-box;
    justify-content: center;
    padding-left: 8px !important;
    padding-right: 0 !important;
}

.icc-col-code[b-5jc75n97ji] {
    flex: 0 0 136px;
    box-sizing: border-box;
}

.icc-col-name[b-5jc75n97ji] {
    flex: 1 1 0;
}

.icc-col-status[b-5jc75n97ji] {
    flex: 0 0 156px;
    box-sizing: border-box;
}

.icc-col-reason[b-5jc75n97ji] {
    flex: 1.2 1 0;
}

/* Codes read as identifiers: tabular figures, a touch heavier. */
.icc-code[b-5jc75n97ji] {
    font-variant-numeric: tabular-nums;
    font-weight: var(--lw-font-semibold);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* A code cell is a block so a long code ends in an ellipsis (a flex cell would not). */
.lw-table-td.icc-code[b-5jc75n97ji] {
    display: block;
}

.icc-card .icc-code[b-5jc75n97ji] {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Line item code rows sit one step in under their category code (an indent, not padding, so
   the columns stay in line with the header). */
.icc-code--child[b-5jc75n97ji] {
    text-indent: 16px;
    font-weight: var(--lw-font-medium);
}

.icc-name[b-5jc75n97ji] {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.icc-name__text[b-5jc75n97ji] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icc-row--category .icc-name__text[b-5jc75n97ji] {
    font-weight: var(--lw-font-semibold);
}

.icc-count[b-5jc75n97ji] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

/* Already in the list: the row reads quieter. */
.icc-row--muted .icc-code[b-5jc75n97ji],
.icc-row--muted .icc-name__text[b-5jc75n97ji],
.icc-card--muted .icc-card__title[b-5jc75n97ji],
.icc-card--muted .icc-card__name[b-5jc75n97ji] {
    color: var(--lw-gray-graphite);
}

.icc-reason[b-5jc75n97ji] {
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-status-warning-fg);
}

/* The category code chevron and the header's expand-all (the Cost Codes table's recipe). */
.icc-expand[b-5jc75n97ji],
.icc-expand-all[b-5jc75n97ji] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.icc-expand:hover[b-5jc75n97ji],
.icc-expand-all:hover[b-5jc75n97ji] {
    background: var(--lw-accent);
    color: var(--lw-primary-blue);
}

.icc-expand:focus-visible[b-5jc75n97ji],
.icc-expand-all:focus-visible[b-5jc75n97ji] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
}

.icc-expand-all[b-5jc75n97ji] {
    color: var(--lw-primary-blue);
}

.icc-expand[b-5jc75n97ji]  .mud-icon-root {
    font-size: 20px;
    transition: transform 0.15s ease;
}

.icc-expand--open[b-5jc75n97ji]  .mud-icon-root {
    transform: rotate(90deg);
}

.icc-expand-all[b-5jc75n97ji]  .mud-icon-root {
    font-size: 1.0625rem;
}

.icc-expand-spacer[b-5jc75n97ji] {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Desktop table / phone cards: one or the other by width. */
.icc-phone[b-5jc75n97ji] {
    display: none;
}

/* Phone cards: one framed list, a card per row; line item code cards indented to the category
   code's text. */
.icc-cards[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.icc-card[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--lw-border);
}

.icc-card:last-child[b-5jc75n97ji] {
    border-bottom: 0;
}

.icc-card--child[b-5jc75n97ji] {
    padding-left: 48px;
}

.icc-card__top[b-5jc75n97ji] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.icc-card__text[b-5jc75n97ji] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.icc-card__title[b-5jc75n97ji] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.icc-card__name[b-5jc75n97ji] {
    font-size: 14px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.icc-card__meta[b-5jc75n97ji] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.icc-card .icc-expand[b-5jc75n97ji],
.icc-card .icc-expand-spacer[b-5jc75n97ji] {
    width: 32px;
    height: 32px;
    margin: -4px 0 -4px -4px;
}

@media (max-width: 599.98px) {
    .icc-desktop[b-5jc75n97ji] {
        display: none;
    }

    .icc-phone[b-5jc75n97ji] {
        display: block;
    }
}

/* Phones: 44px remove target, the file chip a little tighter. */
@media (max-width: 767.98px) {
    .icc-file[b-5jc75n97ji] {
        gap: 8px;
        padding: 8px 4px 8px 12px;
    }

    .icc-file__remove[b-5jc75n97ji] {
        width: 44px;
        height: 44px;
        margin: 0;
    }
}
/* _content/Ledgerwise/Components/Modals/ImportProposalModal.razor.rz.scp.css */
/* Import Proposal modal (US-887) -- canonical doc-card file row, same recipe as
   UploadProposalModal .upm-file. Modal shell chrome lives in app.css (.lw-modal). */

.ipm-file[b-h9revcrx3f] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 12px 16px;
}

.ipm-file[b-h9revcrx3f]  .ipm-file-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--bs-danger, #dc3545);
}

.ipm-file-text[b-h9revcrx3f] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.ipm-file-name[b-h9revcrx3f] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ipm-file-size[b-h9revcrx3f] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.ipm-file-remove[b-h9revcrx3f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: transparent;
    padding: 0;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.ipm-file-remove:hover[b-h9revcrx3f] {
    background: var(--lw-bg-secondary);
    color: var(--bs-danger, #dc3545);
}

.ipm-file-remove[b-h9revcrx3f]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Extraction step -- centered spinner block, same voice as the
   UploadProposalModal processing step. */

.ipm-processing[b-h9revcrx3f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 16px;
    text-align: center;
}

.ipm-processing-title[b-h9revcrx3f] {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.ipm-processing-sub[b-h9revcrx3f] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    max-width: 34ch;
}

/* Phones (US-1043): 44px remove target on the file row (AddInvoiceModal
   .aim-file-remove recipe); the processing block keeps the 16px gutter. */
@media (max-width: 767.98px) {
    .ipm-file[b-h9revcrx3f] {
        min-height: 44px;
        padding: 10px 12px;
    }

    .ipm-file-remove[b-h9revcrx3f] {
        width: 44px;
        height: 44px;
        margin: -10px -12px -10px 0;
    }

    .ipm-file-remove[b-h9revcrx3f]  .mud-icon-root {
        font-size: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
    }

    .ipm-processing[b-h9revcrx3f] { padding: 32px 0; }

    .ipm-processing-sub[b-h9revcrx3f] { max-width: none; }
}
/* _content/Ledgerwise/Components/Modals/InsuranceCertificateModal.razor.rz.scp.css */
/* Insurance certificate modal (US-642). Two-column field grid + selected-file
   row, drawn from the --lw-* tokens like the other lw-modal bodies. */

.icm-grid[b-xp01n3va5i] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.icm-notes[b-xp01n3va5i] {
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .icm-grid[b-xp01n3va5i] {
        grid-template-columns: 1fr;
    }

    /* Change (chosen-file row): 44px tap target on phones (US-1043). */
    .lw-page-action[b-xp01n3va5i] {
        height: 44px;
    }
}

/* Chosen file (US-926): LwListCard + LwDocListRow own the row chrome; this only sizes the
   spinner that stands in for Change while the certificate is read. */
.icm-file__spinner[b-xp01n3va5i] {
    margin: 0 8px;
    color: var(--lw-primary-blue);
}
/* _content/Ledgerwise/Components/Modals/InvoiceProjectFilterModal.razor.rz.scp.css */
/* Selected projects under the picker -- same pill row rhythm as the page's
   active-filter bar, spaced from the SearchableDropdown above. */
.ipf-selected[b-xbfsu8m8za] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* Phones (US-1043): a long project name ellipsizes inside its pill instead of pushing
   the sheet wide; each remove "x" gets a 44px hit box, and wrapped rows sit 16px apart
   so those boxes do not overlap (same recipe as the page's active-filter bar). */
@media (max-width: 767.98px) {
    .ipf-selected[b-xbfsu8m8za] {
        row-gap: 16px;
        margin-top: 16px;
    }

    .ipf-selected[b-xbfsu8m8za]  .lw-filter-pill {
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }

    .ipf-selected[b-xbfsu8m8za]  .lw-filter-pill-label {
        min-width: 0;
    }

    .ipf-selected[b-xbfsu8m8za]  .lw-filter-pill-remove {
        position: relative;
    }

    .ipf-selected[b-xbfsu8m8za]  .lw-filter-pill-remove::after {
        content: "";
        position: absolute;
        inset: -12px;
    }
}
/* _content/Ledgerwise/Components/Modals/InvoiceReviewModal.razor.rz.scp.css */
/* Confirm-invoice bottom sheet. Source: ledgerwise-ui-app
   src/components/organisms/inbox-assign-drawer.tsx on ui/drawer.tsx
   side="sheet" (2026-07-28): white header band with title + pager + live
   amount; 58/42 split of the muted ControlCard form column beside the
   document viewer. Geometry mirrors AddInvoiceModal's review takeover
   (aim-take-*) so the two invoice flows stay in lockstep; the sheet frame
   itself lives in mudblazor-overrides.css (.mud-dialog.irm-sheet). */


/* -- Split body over the muted shell -- */
.irm-take[b-hbrauzfnwl] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: var(--lw-bg-muted);
}

.irm-take-form[b-hbrauzfnwl] {
    flex: 0 0 58%;
    min-width: 0;
    overflow-y: auto;
}

.irm-take-form-inner[b-hbrauzfnwl] {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 760px;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
}

.irm-take-viewer[b-hbrauzfnwl] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.irm-take-iframe[b-hbrauzfnwl] { width: 100%; height: 100%; border: none; display: block; }

.irm-take-viewer-state[b-hbrauzfnwl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    text-align: center;
    padding: 24px;
}

/* Loading / not-found states fill the sheet body. */
/* -- Loading skeleton (ProposalReviewModal .prm-skel-* recipe): card-shaped shimmer
   blocks in the real layout containers so the slide-up lands against stable geometry. -- */
.irm-skel-card[b-hbrauzfnwl] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.irm-skel-head[b-hbrauzfnwl] { display: flex; align-items: center; gap: 12px; }
.irm-skel-head-text[b-hbrauzfnwl] { display: flex; flex-direction: column; gap: 6px; }

.irm-skel-grid[b-hbrauzfnwl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.irm-take-viewer[b-hbrauzfnwl]  .irm-skel-viewer,
.irm-take-viewer-state[b-hbrauzfnwl]  .irm-skel-viewer {
    width: 100%;
    height: 100%;
    flex: 1;
}

/* The document pane's own loading state fills the pane instead of centring a spinner. */
.irm-take-viewer-state--loading[b-hbrauzfnwl] {
    align-items: stretch;
    padding: 0;
}

.irm-take-state[b-hbrauzfnwl] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: 32px;
}

/* -- Form internals -- */
.irm-fields[b-hbrauzfnwl] { display: flex; flex-direction: column; gap: 16px; }

.irm-date-grid[b-hbrauzfnwl],
.irm-amount-grid[b-hbrauzfnwl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Header pager at either end of the batch: stays rendered and pressable
   (never disabled, O14), just reads as unavailable. */
/* Pager sits left of the amount, same gap as the project invoice drawer. */
.irm-pager[b-hbrauzfnwl] {
    margin-right: 8px;
}

.irm-pager-btn--off[b-hbrauzfnwl],
.irm-pager-btn--off:hover[b-hbrauzfnwl] {
    opacity: 0.4;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: default;
}

.irm-vendor-copy[b-hbrauzfnwl] {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.irm-vendor-actions[b-hbrauzfnwl] { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* -- Footer Delete: destructive outline (reference GC drawer Delete recipe). -- */
.irm-delete[b-hbrauzfnwl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid color-mix(in srgb, var(--lw-destructive) 30%, transparent);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-destructive);
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
    transition: background 0.15s ease;
}

.irm-delete:hover:not(:disabled)[b-hbrauzfnwl] { background: color-mix(in srgb, var(--lw-destructive) 10%, transparent); }
.irm-delete:disabled[b-hbrauzfnwl] { opacity: 0.5; cursor: default; }
.irm-delete[b-hbrauzfnwl]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* ================================================================
   Phones (US-1043). The 58/42 split cannot fit a phone, so the body stacks
   and the drawer-spec Details | Document switch (LwPaneSwitch, O12/O15)
   shows one pane at a time -- the ProposalReviewModal .prm-take recipe. The
   sheet frame is already a flex column (mudblazor-overrides.css), so
   .irm-take fills whatever the re-flowed header and the footer leave.
   Declared last so it out-orders the desktop rules above.
   ================================================================ */
@media (max-width: 767.98px) {
    .irm-take[b-hbrauzfnwl] { flex-direction: column; }

    .irm-take-switch[b-hbrauzfnwl] {
        flex: 0 0 auto;
        margin: 0;
        padding: 12px 16px 0;
    }

    .irm-take-form[b-hbrauzfnwl] {
        flex: 1 1 auto;
        min-height: 0;
    }

    .irm-take-form-inner[b-hbrauzfnwl] {
        padding: 16px;
        gap: 16px;
    }

    .irm-take-viewer[b-hbrauzfnwl] {
        display: none;
        border-left: 0;
    }

    .irm-take--doc .irm-take-form[b-hbrauzfnwl] { display: none; }

    .irm-take--doc .irm-take-viewer[b-hbrauzfnwl] {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        padding: 12px 16px 16px;
    }

    .irm-take--doc .irm-take-iframe[b-hbrauzfnwl] {
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
    }

    /* The pane already carries the 16px gutter. */
    .irm-take-viewer-state[b-hbrauzfnwl] { padding: 0; }

    .irm-take-state[b-hbrauzfnwl] { padding: 16px; }

    .irm-skel-card[b-hbrauzfnwl] { padding: 16px; }
    .irm-skel-head-text[b-hbrauzfnwl] { min-width: 0; }
    .irm-skel-grid[b-hbrauzfnwl],
    .irm-date-grid[b-hbrauzfnwl],
    .irm-amount-grid[b-hbrauzfnwl] { grid-template-columns: 1fr; }

    /* Header pager: 44px targets, pushed right with the amount after it. */
    .irm-pager[b-hbrauzfnwl] { margin-left: auto; }

    .irm-pager-btn[b-hbrauzfnwl] {
        width: 44px;
        height: 44px;
    }

    /* Vendor confirm card: stacked full-width 44px answers. */
    .irm-vendor-actions[b-hbrauzfnwl] { flex-direction: column; align-items: stretch; }

    .irm-vendor-actions > button[b-hbrauzfnwl] {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        white-space: normal;
    }

    .irm-vendor-copy[b-hbrauzfnwl] { overflow-wrap: anywhere; }

    /* Footer Delete lines up with LwModalFooter's own 40px buttons. */
    .irm-delete[b-hbrauzfnwl] { height: 40px; }
}

/* US-1165: a photo from the Photos card shown in the document pane, with a quiet
   link back to the invoice PDF. */
.irm-take-photo[b-hbrauzfnwl] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: var(--lw-bg-muted);
}

.irm-take-photo-bar[b-hbrauzfnwl] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.irm-take-photo-back[b-hbrauzfnwl] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 36px;
    padding: 0 10px 0 4px;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    background: transparent;
    color: var(--lw-primary-blue);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.irm-take-photo-back:hover[b-hbrauzfnwl] {
    background: var(--lw-bg-muted);
}

.irm-take-photo-img[b-hbrauzfnwl] {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .irm-take-photo-back[b-hbrauzfnwl] {
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Modals/LienWaiverThroughDateModal.razor.rz.scp.css */
/* Change-the-Through-Date dialog (US-1152): title-only header, same anatomy as
   VoidInvoiceModal. All chrome from --lw-* tokens. */

/* The waiver being changed: vendor, then invoice number(s) and coverage, between the note and the date. */
.ltd-waiver-row[b-cim2e0r9ms] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-secondary);
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.ltd-waiver-row span[b-cim2e0r9ms] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* The default under the field, with the one-tap way back to it. */
.ltd-default[b-cim2e0r9ms] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.ltd-link[b-cim2e0r9ms] {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ltd-link:hover[b-cim2e0r9ms],
.ltd-link:focus-visible[b-cim2e0r9ms] {
    color: var(--lw-primary-dark);
}

/* O14: Save stays enabled while it runs; the spinner + aria-busy say so. */
.lw-modal-primary[aria-busy="true"][b-cim2e0r9ms] {
    cursor: progress;
}

/* Phones (US-1043): long vendor names and invoice numbers wrap inside the row
   instead of pushing the sheet wider than 360px. */
@media (max-width: 767.98px) {
    .ltd-waiver-row[b-cim2e0r9ms],
    .ltd-waiver-row strong[b-cim2e0r9ms],
    .ltd-waiver-row span[b-cim2e0r9ms] {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/MoveOverageToContingencyModal.razor.rz.scp.css */
/* Move to Contingency (allocation screen, US-933). The summary card and the modal
   shell are the global lw-modal primitives; only the pieces this dialog adds live here. */

.moc-over[b-5ycr6o5ga3] {
    color: var(--lw-destructive);
}

.moc-field[b-5ycr6o5ga3] {
    margin-top: 16px;
}

.moc-hint[b-5ycr6o5ga3] {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): a long line item or vendor name wraps inside the summary card
   instead of pushing its label off the row; the hint reads at 13px. */
@media (max-width: 767.98px) {
    .lw-modal-summary-row[b-5ycr6o5ga3] { align-items: flex-start; gap: 12px; }
    .lw-modal-summary-label[b-5ycr6o5ga3] { flex-shrink: 0; max-width: 60%; }
    .lw-modal-summary-value[b-5ycr6o5ga3] { min-width: 0; overflow-wrap: anywhere; }
    .moc-hint[b-5ycr6o5ga3] { font-size: 13px; }
}
/* _content/Ledgerwise/Components/Modals/OrganizationInviteUserModal.razor.rz.scp.css */
/* ============================================================
   Organization invite modal -- canonical lw-modal composition.
   Source: ledgerwise-ui-app src/components/molecules/
   invite-member-modal.tsx (measured 2026-07-28): 13px
   content-secondary explainer, stacked fields at 16px rhythm.
   No header roundel (US-1043: sheet headers carry no icon tile).
   ============================================================ */

.oim-form[b-3f1fww2sst] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.oim-grid2[b-3f1fww2sst] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.oim-copy[b-3f1fww2sst] {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.oim-copy--hint[b-3f1fww2sst] {
    font-size: 0.75rem;
    line-height: 1rem;
}

.oim-check[b-3f1fww2sst] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (max-width: 767.98px) {
    .oim-grid2[b-3f1fww2sst] {
        grid-template-columns: 1fr;
    }
}
/* _content/Ledgerwise/Components/Modals/PaymentInstructionsModal.razor.rz.scp.css */
/* PaymentInstructionsModal -- body layout on the canonical lw-modal regions
   (US-926). Chrome comes from the atoms (LwCardNote, LwTextField,
   .lw-modal-summary, lw-page-action); this file only lays them out. Plain
   selectors work: MudDialog teleports the elements but they keep this file's
   scope attribute. */

.pim-loading[b-lnkf1cskkq] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pim-muted[b-lnkf1cskkq] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.pim-section-title[b-lnkf1cskkq] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Long emails / names wrap instead of pushing past the summary card. */
.pim-summary .lw-modal-summary-value[b-lnkf1cskkq] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pim-edit[b-lnkf1cskkq] {
    align-self: flex-start;
}

.pim-edit[b-lnkf1cskkq]  .pim-edit-icon.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.pim-form[b-lnkf1cskkq] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pim-name-grid[b-lnkf1cskkq] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pim-processing[b-lnkf1cskkq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Phones: names stack one per row; Edit Information becomes a full-width
   44px target (owner phone pattern, US-798). */
@media (max-width: 767.98px) {
    .pim-name-grid[b-lnkf1cskkq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pim-edit[b-lnkf1cskkq] {
        align-self: stretch;
        height: 44px;
        justify-content: center;
    }
}

/* Bug-956: the identity step offered under the "verify your identity first" refusal. */
.pim-identity-link[b-lnkf1cskkq] {
    display: inline-block;
    margin-left: 6px;
    color: var(--lw-primary-blue);
    font-weight: 600;
    text-decoration: underline;
}
/* _content/Ledgerwise/Components/Modals/PaymentTransferCard.razor.rz.scp.css */
/* Two-step payment card (Confirm payment + right after Approve). Design source: UX Audit
   FigJam, page "Payment requests: before vs after (final, 11 Nov)", In the app sections;
   the same rail card as the payment request emails (canvas PREmailsFinal). 2026-11-11. */

.ptc-card[b-o0rjg1paxg] {
    background: #E9F4F9;
    border: 1px solid rgba(145, 158, 171, 0.2);
    border-radius: var(--lw-radius-card, 8px);
    padding: 1.25rem 1.5rem 1.25rem 1.5rem;
    font-family: var(--lw-font-family, sans-serif);
    color: var(--lw-primary-dark, #020B2B);
}

.ptc-rail[b-o0rjg1paxg] {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ptc-step[b-o0rjg1paxg] {
    position: relative;
}

/* The line joins the dots only: from each dot down to the next step. It runs a little past
   the next step's top so it always tucks under the next dot (the dots are opaque and sit
   above it), whatever the root font size. */
.ptc-step:not(:last-child)[b-o0rjg1paxg]::before {
    content: "";
    position: absolute;
    left: -1.625rem;
    top: 0.5rem;
    bottom: -1.875rem;
    width: 2px;
    background: #B9D2DF;
}

.ptc-dot[b-o0rjg1paxg] {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    z-index: 1;
    box-sizing: border-box;
}

.ptc-dot--halo[b-o0rjg1paxg] {
    width: 26px;
    height: 26px;
    left: -2.375rem;
    top: -0.3125rem;
    border-radius: 13px;
    background: #CFE3EE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptc-dot--halo i[b-o0rjg1paxg] {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    background: var(--lw-primary-blue, #3980A5);
}

.ptc-dot--ring[b-o0rjg1paxg] {
    left: -1.9375rem;
    top: 0.0625rem;
    width: 12px;
    height: 12px;
    background: var(--lw-white, #FFFFFF);
    border: 2px solid #B9D2DF;
}

.ptc-dot--done[b-o0rjg1paxg] {
    background: var(--lw-primary-blue, #3980A5);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.0625rem;
}

.ptc-eyebrow[b-o0rjg1paxg] {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lw-status-info-fg, #2D6A8C);
    line-height: 1rem;
}

.ptc-eyebrow--quiet[b-o0rjg1paxg] {
    color: var(--lw-gray-graphite, #6E7180);
}

.ptc-amount[b-o0rjg1paxg] {
    font-family: var(--lw-font-family-heading, sans-serif);
    font-weight: 700;
    color: var(--lw-primary-dark, #020B2B);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    margin-top: 0.25rem;
}

.ptc-amount--big[b-o0rjg1paxg] {
    font-size: 2.25rem;
    line-height: 1.1;
}

.ptc-amount--small[b-o0rjg1paxg] {
    font-size: 1.375rem;
    line-height: 1.2;
}

.ptc-caption[b-o0rjg1paxg] {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite, #6E7180);
}

.ptc-caption b[b-o0rjg1paxg],
.ptc-done-line b[b-o0rjg1paxg] {
    font-weight: 700;
    color: var(--lw-gray-arsenic, #40424D);
}

.ptc-done-line[b-o0rjg1paxg] {
    font-size: 0.875rem;
    line-height: 1rem;
    color: var(--lw-gray-graphite, #6E7180);
}

.ptc-toggle[b-o0rjg1paxg] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--lw-status-info-fg, #2D6A8C);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--lw-font-family, sans-serif);
    cursor: pointer;
}

.ptc-toggle:focus-visible[b-o0rjg1paxg] {
    outline: 2px solid var(--lw-primary-blue, #3980A5);
    outline-offset: 2px;
    border-radius: 4px;
}

.ptc-chev[b-o0rjg1paxg] {
    transition: transform 0.15s ease;
}

.ptc-chev--open[b-o0rjg1paxg] {
    transform: rotate(180deg);
}

/* The open breakdown sits under the step text, aligned with it (emails and website). */
.ptc-breakdown[b-o0rjg1paxg] {
    margin: 0.75rem 0 0 2rem;
    background: var(--lw-white, #FFFFFF);
    border: 1px solid rgba(145, 158, 171, 0.2);
    border-radius: var(--lw-radius-card, 8px);
    padding: 0.25rem 0.875rem;
}

.ptc-row[b-o0rjg1paxg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    border-bottom: 1px solid var(--lw-border, rgba(145, 158, 171, 0.2));
}

.ptc-row:last-child[b-o0rjg1paxg] {
    border-bottom: 0;
}

.ptc-row-label[b-o0rjg1paxg] {
    color: var(--lw-gray-graphite, #6E7180);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.ptc-row-value[b-o0rjg1paxg] {
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ptc-row--total .ptc-row-label[b-o0rjg1paxg],
.ptc-row--total .ptc-row-value[b-o0rjg1paxg] {
    font-weight: 700;
    color: var(--lw-primary-dark, #020B2B);
}

[b-o0rjg1paxg] .ptc-info {
    font-size: 0.875rem !important;
    width: 0.875rem;
    height: 0.875rem;
    color: var(--lw-gray-graphite, #6E7180);
    cursor: help;
}

@media (max-width: 600px) {
    .ptc-card[b-o0rjg1paxg] {
        padding: 1rem 1rem 1rem 1.25rem;
    }

    .ptc-amount--big[b-o0rjg1paxg] {
        font-size: 1.875rem;
    }

    .ptc-breakdown[b-o0rjg1paxg] {
        margin-left: 0;
    }
}
/* _content/Ledgerwise/Components/Modals/ProjectDetailsModal.razor.rz.scp.css */
/* ProjectDetailsModal content chrome only -- the dialog frame, header, body and footer come
   from the canonical lw-modal pattern (LwModalHeader/Body/Footer + global .lw-modal rules).
   US-1149 (canvas board PDPMirror, 30 Oct): sections split by hairlines, each with a 14/700
   title and a blue Edit link; fields keep today's type (13px graphite label over a 14px
   semibold value), empty values in gray-space; History is a check timeline. */

.pdm[b-m8fap481gs] {
    display: flex;
    flex-direction: column;
}

.pdm-sec[b-m8fap481gs] {
    padding: 20px 0;
    border-top: 1px solid var(--lw-border);
}

.pdm-sec:first-child[b-m8fap481gs] {
    padding-top: 0;
    border-top: 0;
}

.pdm-sec:last-child[b-m8fap481gs] {
    padding-bottom: 0;
}

.pdm-sechead[b-m8fap481gs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.pdm-sectitle[b-m8fap481gs] {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

/* Section Edit: a text link that opens Edit Project at this section. */
.pdm-edit[b-m8fap481gs] {
    padding: 2px 4px;
    margin: -2px -4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.pdm-edit:hover[b-m8fap481gs] {
    text-decoration: underline;
}

.pdm-edit:focus-visible[b-m8fap481gs] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Field grid: one column on phones, three from the MudBlazor md breakpoint. The Key details
   grid puts the three dates and Contract type on one row and gives the builder's project
   email a two-column cell so it and its copy icon stay on one line. */
.pdm-grid[b-m8fap481gs] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 24px;
}

@media (min-width: 960px) {
    .pdm-grid[b-m8fap481gs] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Key details: the builder's Project email spans two of the four columns. */
    .pdm-field--wide[b-m8fap481gs] { grid-column: span 2; }
    /* Project team: owners, manager, architect, interior designer on one row. */
    .pdm-grid--four[b-m8fap481gs] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pdm-field[b-m8fap481gs] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pdm-label[b-m8fap481gs] {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.pdm-value[b-m8fap481gs] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.pdm-value--empty[b-m8fap481gs] {
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-space);
}

/* Project email: the address, then a quiet icon button (Snowflake / Linear pattern). */
.pdm-value--copy[b-m8fap481gs] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
}

/* The address stays on one line and truncates with an ellipsis; hover or keyboard focus opens
   the full address in the Info tooltip's style. The tip sits outside the clipped text span. */
.pdm-email[b-m8fap481gs] {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
    outline: none;
}

.pdm-email__text[b-m8fap481gs] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pdm-email:focus-visible .pdm-email__text[b-m8fap481gs] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

.pdm-email__tip[b-m8fap481gs] {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    transform: translateY(4px);
    max-width: 78vw;
    padding: 0.5rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.pdm-email:hover .pdm-email__tip[b-m8fap481gs],
.pdm-email:focus-visible .pdm-email__tip[b-m8fap481gs] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.pdm-copy[b-m8fap481gs] {
    flex: none;
    width: 28px;
    height: 28px;
    margin: -4px 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--lw-gray-graphite);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pdm-copy:hover[b-m8fap481gs] {
    background: var(--lw-bg-secondary);
    color: var(--lw-text-primary);
}

/* Copied: the check reads as done in the success green for its 2 seconds. */
.pdm-copy.pdm-copy--done[b-m8fap481gs],
.pdm-copy.pdm-copy--done:hover[b-m8fap481gs] {
    background: var(--lw-status-success-bg);
    color: var(--lw-success-dark);
}

.pdm-copy:focus-visible[b-m8fap481gs] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 1px;
}

.pdm-copy[b-m8fap481gs]  .pdm-copy__glyph {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.pdm-text[b-m8fap481gs] {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.pdm-text[b-m8fap481gs]  p {
    margin: 0 0 8px;
}

.pdm-text[b-m8fap481gs]  p:last-child {
    margin-bottom: 0;
}

.pdm-text.pdm-value--empty[b-m8fap481gs] {
    color: var(--lw-gray-space);
}

/* -- History: a check timeline (one column, connector line between the dots). -- */
.pdm-tl[b-m8fap481gs] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pdm-tl__step[b-m8fap481gs] {
    position: relative;
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
}

.pdm-tl__step:last-child[b-m8fap481gs] {
    padding-bottom: 0;
}

.pdm-tl__step:not(:last-child)[b-m8fap481gs]::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 22px;
    bottom: 2px;
    width: 2px;
    background: var(--lw-border);
}

.pdm-tl__dot[b-m8fap481gs] {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lw-status-success-bg);
    color: var(--lw-success-dark);
}

.pdm-tl__step.is-open .pdm-tl__dot[b-m8fap481gs] {
    background: var(--lw-white);
    box-shadow: inset 0 0 0 2px var(--lw-gray-smoke);
}

.pdm-tl__dot[b-m8fap481gs]  .pdm-tl__check {
    width: 13px;
    height: 13px;
    font-size: 13px;
}

.pdm-tl__text[b-m8fap481gs] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pdm-tl__title[b-m8fap481gs] {
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.pdm-tl__detail[b-m8fap481gs] {
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.pdm-tl__step.is-open .pdm-tl__title[b-m8fap481gs] {
    color: var(--lw-gray-graphite);
}

.pdm-tl__step.is-open .pdm-tl__detail[b-m8fap481gs] {
    color: var(--lw-gray-space);
}

/* The signed agreement PDF on its own step. */
.pdm-file[b-m8fap481gs] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    text-decoration: none;
}

.pdm-file:hover[b-m8fap481gs] {
    background: var(--lw-bg-secondary);
    color: var(--lw-text-primary);
    text-decoration: none;
}

.pdm-file:focus-visible[b-m8fap481gs] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.pdm-file[b-m8fap481gs]  .pdm-file__type {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-destructive);
}

.pdm-file[b-m8fap481gs]  .pdm-file__dl {
    width: 16px;
    height: 16px;
    font-size: 16px;
    margin-left: 2px;
    color: var(--lw-gray-graphite);
}

.pdm-history-loading[b-m8fap481gs] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdm-sr[b-m8fap481gs] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Info glyph: the Overview Account settings recipe (.po-info). */
.pdm-info[b-m8fap481gs] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

.pdm-info:hover[b-m8fap481gs],
.pdm-info:focus-visible[b-m8fap481gs] {
    color: var(--lw-gray-graphite);
}

.pdm-info[b-m8fap481gs]  .pdm-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.pdm-info:focus-visible[b-m8fap481gs]  .pdm-info__glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

/* The tip opens BELOW the glyph: the body scrolls, so a tip above a first-row label would be
   clipped by the scroll region's top edge. */
.pdm-info__tip[b-m8fap481gs] {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.pdm-info:hover .pdm-info__tip[b-m8fap481gs],
.pdm-info:focus-visible .pdm-info__tip[b-m8fap481gs],
.pdm-info:focus-within .pdm-info__tip[b-m8fap481gs] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}
/* _content/Ledgerwise/Components/Modals/ProjectDocumentsFullscreenModal.razor.rz.scp.css */
/* Fullscreen document manager -- modal-local layout. Table/breadcrumb chrome
   comes from the shared lw-table.css + lw-doc.css vocabularies. */

.fsm-toolbar[b-ax3y1fh56u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fsm-crumbs[b-ax3y1fh56u] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.fsm-tools[b-ax3y1fh56u] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    justify-content: flex-end;
}

/* Global-search autocomplete: wide but bounded (the legacy inline style
   forced 900px which overflowed smaller screens). */
.fsm-search[b-ax3y1fh56u] {
    min-width: 280px;
    max-width: 560px;
    flex: 1 1 auto;
}

/* Attached drop strip under the table. */
.fsm-dropwrap[b-ax3y1fh56u] { position: relative; margin-top: 2px; }

.fsm-dropzone[b-ax3y1fh56u] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px dashed rgba(145, 158, 171, 0.32);
    border-top: none;
    border-radius: 0 0 var(--lw-radius-control) var(--lw-radius-control);
    pointer-events: none;
}

.fsm-dropzone[b-ax3y1fh56u]  .fsm-drop-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--lw-primary-blue);
    opacity: 0.7;
}

.fsm-drop-text[b-ax3y1fh56u] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    opacity: 0.85;
}

/* Up arrow at the root: never disabled (O14), so the inactive look MudBlazor's
   disabled state used to give is drawn here. MudIconButton is a child component. */
.fsm-crumbs[b-ax3y1fh56u]  .fsm-up--inactive,
.fsm-crumbs[b-ax3y1fh56u]  .fsm-up--inactive:hover {
    color: var(--mud-palette-action-disabled) !important;
    background-color: transparent !important;
    cursor: default;
}

/* The trigger for this manager is hidden below 768px (it is a desktop tool), but
   the window can narrow while it is open: let the crumbs wrap and the toolbar
   halves shrink so nothing runs past the dialog edge. */
@media (max-width: 767.98px) {
    .fsm-crumbs[b-ax3y1fh56u] {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .fsm-tools[b-ax3y1fh56u] {
        min-width: 0;
        flex-wrap: wrap;
    }
}

/* Public-via-QR marker beside a row's name (US-1115), the twin of .gcdoc-public-mark. */
.fsm-public-mark[b-ax3y1fh56u] {
    flex: none;
    margin-left: 6px;
    font-size: 1rem;
    color: var(--lw-primary-blue);
    vertical-align: middle;
}
/* _content/Ledgerwise/Components/Modals/ProjectQuickTipsDialog.razor.rz.scp.css */
/* ProjectQuickTipsDialog content chrome only -- the dialog frame, header,
   body, and footer regions come from the canonical lw-modal pattern
   (LwModalHeader/Body/Footer atoms + global .lw-modal rules in app.css).
   Header is title + close only (US-1043: no icon in dialog headers). */

/* Tips grid -- preserves the previous MudGrid md="4" three-column split
   (24px = MudGrid default gutter; 960px = MudBlazor md breakpoint). */
.qt-grid[b-huzbxt0zml] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 960px) {
    .qt-grid[b-huzbxt0zml] { grid-template-columns: repeat(3, 1fr); }
}

/* 12px = the previous MudStack Spacing="3". */
.qt-col[b-huzbxt0zml] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qt-tip-title[b-huzbxt0zml] {
    display: flex;
    align-items: center;
    gap: 6px; /* icon-to-label gap, mirrors the previous mr-1 */
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.qt-tip-title[b-huzbxt0zml]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-primary-blue);
}

.qt-tip-body[b-huzbxt0zml] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list[b-huzbxt0zml] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qt-tip-list li[b-huzbxt0zml] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.qt-tip-list b[b-huzbxt0zml],
.qt-tip-body b[b-huzbxt0zml] {
    font-weight: 600;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Modals/ProposalReviewModal.razor.rz.scp.css */
/* Confirm-proposal bottom sheet. Source: ledgerwise-ui-app
   src/components/organisms/inbox-assign-drawer.tsx on ui/drawer.tsx
   side="sheet" (2026-07-28): white header band with title + pager + live
   amount; 58/42 split of the muted ControlCard form column beside the
   document viewer. Chrome mirrors InvoiceReviewModal.razor.css (irm-take-*)
   so the two confirm flows stay in lockstep; the sheet frame itself lives in
   mudblazor-overrides.css (.mud-dialog.prm-sheet). */


/* -- Split body over the muted shell -- */
.prm-take[b-o51u8f95kx] {
    display: flex;
    flex: 1;
    min-height: 0;
    background: var(--lw-bg-muted);
}

.prm-take-form[b-o51u8f95kx] {
    flex: 0 0 58%;
    min-width: 0;
    overflow-y: auto;
}

.prm-take-form-inner[b-o51u8f95kx] {
    margin: 0 auto;
    display: flex;
    width: 100%;
    max-width: 760px;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
}

.prm-take-viewer[b-o51u8f95kx] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.prm-take-iframe[b-o51u8f95kx] { width: 100%; height: 100%; border: none; display: block; }

.prm-take-viewer-state[b-o51u8f95kx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 24px;
}

/* Not-found state fills the sheet body. */
.prm-take-state[b-o51u8f95kx] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 0;
    padding: 32px;
}

/* -- Loading skeleton: card-shaped shimmer blocks in the real layout
   containers so the slide-up lands against stable geometry. -- */
.prm-skel-card[b-o51u8f95kx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.prm-skel-head[b-o51u8f95kx] { display: flex; align-items: center; gap: 12px; }
.prm-skel-head-text[b-o51u8f95kx] { display: flex; flex-direction: column; gap: 6px; }

.prm-skel-grid[b-o51u8f95kx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.prm-take-viewer[b-o51u8f95kx]  .prm-skel-viewer,
.prm-take-viewer-state[b-o51u8f95kx]  .prm-skel-viewer {
    width: 100%;
    height: 100%;
    flex: 1;
}

/* -- Form internals -- */
.prm-fields[b-o51u8f95kx] { display: flex; flex-direction: column; gap: 16px; }

.prm-field-inline[b-o51u8f95kx] { display: flex; align-items: flex-end; gap: 4px; }
.prm-field-inline-input[b-o51u8f95kx] { flex: 1; min-width: 0; }

.prm-date-grid[b-o51u8f95kx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* "New RFP" / "Add Payee" beside their pickers: the lw-row-icon-btn ghost
   recipe at a 44px tap target, centered on the 54px field (AddInvoiceModal
   .aim-payee-add). */
.prm-inline-add[b-o51u8f95kx] {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-bottom: 5px;
    color: var(--lw-primary-blue);
}

.prm-inline-add[b-o51u8f95kx]  .mud-icon-root {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

/* Header pager at either end of the batch: stays rendered and pressable
   (never disabled, O14), just reads as unavailable. */
.prm-pager-btn--off[b-o51u8f95kx],
.prm-pager-btn--off:hover[b-o51u8f95kx] {
    opacity: 0.4;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: default;
}

.prm-vendor-copy[b-o51u8f95kx] {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.prm-vendor-actions[b-o51u8f95kx] { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* Inline new-RFP panel: form-surface inset so the sub-form reads grouped. */
.prm-newrfp[b-o51u8f95kx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--lw-form-surface);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.prm-newrfp-title[b-o51u8f95kx] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Sits directly under the title, so it loses the block's 16px gap. */
.prm-newrfp-note[b-o51u8f95kx] {
    margin: -8px 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

.prm-newrfp-cancel[b-o51u8f95kx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    height: 32px;
    padding: 0 8px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: none;
    color: var(--lw-gray-graphite);
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.prm-newrfp-cancel:hover:not(:disabled)[b-o51u8f95kx] { background: var(--lw-accent); color: var(--lw-text-primary); }
.prm-newrfp-cancel:disabled[b-o51u8f95kx] { opacity: 0.5; cursor: default; }
.prm-newrfp-cancel[b-o51u8f95kx]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* -- FieldShell chrome for the payee SearchableDropdown (the one non-atom
   input; recipe mirrors LwTextField.razor.css, 2026-07-08 spec: 54px white
   box, 8px radius, border --lw-input-border, 14/400 value, muted -> graphite
   -> phantom label states). Its search behavior stays untouched. -- */

.prm-field-payee-input[b-o51u8f95kx]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-input-control {
    margin-top: 0;
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-input-outlined {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom */
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label geometrically centered in the 54px box (FieldShell: left
   13px). Mud's padding is !important, so ours must be too. */
.prm-field-payee-input[b-o51u8f95kx]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Floated label: mirror Mud's shrink/focus selectors (4-class specificity);
   12px like FieldShell text-xs (scale 12/14 = .857). */
.prm-field-payee-input[b-o51u8f95kx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.prm-field-payee-input[b-o51u8f95kx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

/* Focused wins over floated (declared last at equal specificity). */
.prm-field-payee-input[b-o51u8f95kx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states -- FieldShell: rest --lw-input-border 1px; hover no change;
   focus 1px foreground (phantom). */
.prm-field-payee-input[b-o51u8f95kx]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.prm-field-payee-input[b-o51u8f95kx]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.prm-field-payee-input[b-o51u8f95kx]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Dropdown caret / clear buttons: gray-space like the LwSelect caret. */
.prm-field-payee-input[b-o51u8f95kx]  .mud-input-adornment .mud-icon-button,
.prm-field-payee-input[b-o51u8f95kx]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* -- Footer Delete: destructive outline (reference GC drawer Delete recipe). -- */
.prm-delete[b-o51u8f95kx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid color-mix(in srgb, var(--lw-destructive) 30%, transparent);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-destructive);
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
    transition: background 0.15s ease;
}

.prm-delete:hover:not(:disabled)[b-o51u8f95kx] { background: color-mix(in srgb, var(--lw-destructive) 10%, transparent); }
.prm-delete:disabled[b-o51u8f95kx] { opacity: 0.5; cursor: default; }
.prm-delete[b-o51u8f95kx]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* ================================================================
   Phones (US-1043). The 58/42 split cannot fit a phone, so the body stacks
   and the drawer-spec Details | Document switch (LwPaneSwitch, O12/O15)
   shows one pane at a time -- the AddInvoiceModal review-step recipe. The
   sheet frame is already a flex column (mudblazor-overrides.css), so
   .prm-take fills whatever the re-flowed header and the footer leave.
   Declared last so it out-orders the desktop rules above.
   ================================================================ */
@media (max-width: 767.98px) {
    .prm-take[b-o51u8f95kx] { flex-direction: column; }

    .prm-take-switch[b-o51u8f95kx] {
        flex: 0 0 auto;
        margin: 0;
        padding: 12px 16px 0;
    }

    .prm-take-form[b-o51u8f95kx] {
        flex: 1 1 auto;
        min-height: 0;
    }

    .prm-take-form-inner[b-o51u8f95kx] {
        padding: 16px;
        gap: 16px;
    }

    .prm-take-viewer[b-o51u8f95kx] {
        display: none;
        border-left: 0;
    }

    .prm-take--doc .prm-take-form[b-o51u8f95kx] { display: none; }

    .prm-take--doc .prm-take-viewer[b-o51u8f95kx] {
        display: flex;
        flex: 1 1 auto;
        min-height: 0;
        padding: 12px 16px 16px;
    }

    .prm-take--doc .prm-take-iframe[b-o51u8f95kx] {
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
    }

    /* The pane already carries the 16px gutter. */
    .prm-take-viewer-state[b-o51u8f95kx] { padding: 0; }

    .prm-take-state[b-o51u8f95kx] { padding: 16px; }

    .prm-skel-card[b-o51u8f95kx] { padding: 16px; }
    .prm-skel-head-text[b-o51u8f95kx] { min-width: 0; }
    .prm-skel-grid[b-o51u8f95kx],
    .prm-date-grid[b-o51u8f95kx] { grid-template-columns: 1fr; }

    /* Header pager: 44px targets, pushed right when there is no amount. */
    .prm-pager[b-o51u8f95kx] { margin-left: auto; }

    .prm-pager-btn[b-o51u8f95kx] {
        width: 44px;
        height: 44px;
    }

    /* Vendor confirm card: stacked full-width 44px answers. */
    .prm-vendor-actions[b-o51u8f95kx] { flex-direction: column; align-items: stretch; }

    .prm-vendor-actions > button[b-o51u8f95kx] {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        white-space: normal;
    }

    .prm-vendor-copy[b-o51u8f95kx] { overflow-wrap: anywhere; }

    /* Inline new-RFP panel: tighter inset, 44px way back. */
    .prm-newrfp[b-o51u8f95kx] { padding: 12px; }

    .prm-newrfp-cancel[b-o51u8f95kx] {
        height: auto;
        min-height: 44px;
        text-align: left;
    }
}
/* _content/Ledgerwise/Components/Modals/RejectInvoiceModal.razor.rz.scp.css */
/* Reject-invoice dialog: all chrome comes from the lw-modal atoms. The header
   is title + close only (US-1043: no icon in dialog headers); the destructive
   tone is carried by the body's warning LwCardNote and the destructive confirm. */
/* _content/Ledgerwise/Components/Modals/RequestBudgetAdjustmentModal.razor.rz.scp.css */
/* Request Adjustment modal internals.
   Source: ledgerwise-ui-app src/components/molecules/request-adjustment-modal.tsx
   (measured spec 2026-07-20; migrated 2026-07-21). Dialog size=md 640px;
   body space-y-4 (LwModalBody's 16px stack); zebra details table; bordered
   overage summary with destructive highlight row. The inputs are the
   LwNumericField / LwTextField atoms (US-1043), which carry the FieldShell
   chrome themselves. */

/* Session BA chip (rounded-md bg-brand-accent/10 px-2 py-0.5 text-xs medium). */
.rba-chip[b-vz4dlz71bj] {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-blue) 10%, transparent);
    font-size: 0.75rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    white-space: nowrap;
}

/* Details table: rounded-md border, zebra rows (bg-muted/50 odd over the
   form-surface panel), label left / value right. */
.rba-table[b-vz4dlz71bj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    overflow: hidden;
}

.rba-table table[b-vz4dlz71bj] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rba-table tr[b-vz4dlz71bj] {
    border-bottom: 1px solid var(--lw-border);
}

.rba-table tr:last-child[b-vz4dlz71bj] {
    border-bottom: 0;
}

.rba-table tr:nth-child(odd)[b-vz4dlz71bj] {
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, var(--lw-white));
}

.rba-table-label[b-vz4dlz71bj] {
    padding: 8px 12px;
    color: var(--lw-gray-graphite);
    font-weight: var(--lw-font-medium);
    white-space: nowrap;
}

.rba-table-value[b-vz4dlz71bj] {
    padding: 8px 12px;
    text-align: right;
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-medium);
}

/* Overage summary: rounded-md border p-3; text-xs rows; destructive
   highlight row (bg-destructive/10, both sides bold destructive). */
.rba-overage[b-vz4dlz71bj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    padding: 12px;
}

.rba-overage-row[b-vz4dlz71bj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 0;
    font-size: 12px;
}

.rba-overage-label[b-vz4dlz71bj] {
    color: var(--lw-gray-graphite);
}

.rba-overage-value[b-vz4dlz71bj] {
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.rba-overage-total[b-vz4dlz71bj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-status-error-bg);
    font-size: 12px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-destructive);
}

.rba-overage-total-value[b-vz4dlz71bj] {
    font-variant-numeric: tabular-nums;
}

/* Header chip wrapper: the phone re-flow hook (lw-drawer.css). */
.rba-chip-row[b-vz4dlz71bj] { display: flex; align-items: center; }

/* Reason length readout under the field (LwTextField has no Counter). */
.rba-counter[b-vz4dlz71bj] {
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    text-align: right;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.rba-counter--over[b-vz4dlz71bj] { color: var(--lw-destructive); }

/* Phones (US-1043): long category / line / vendor names wrap instead of
   pushing the table wide; the overage figures keep their width. */
@media (max-width: 767.98px) {
    .rba-table-label[b-vz4dlz71bj] { vertical-align: top; }
    .rba-table-value[b-vz4dlz71bj] { overflow-wrap: anywhere; }
    .rba-overage-row[b-vz4dlz71bj],
    .rba-overage-total[b-vz4dlz71bj] { align-items: flex-start; gap: 12px; font-size: 13px; }
    .rba-overage-value[b-vz4dlz71bj],
    .rba-overage-total-value[b-vz4dlz71bj] { flex-shrink: 0; }
}
/* _content/Ledgerwise/Components/Modals/RequestProposalChangeModal.razor.rz.scp.css */
/* RequestProposalChangeModal content chrome only -- dialog frame and regions
   come from the canonical lw-modal pattern (LwModalHeader/Body/Footer).
   Source: organisms/kickoff/request-change-modal.tsx (measured 2026-07-19):
   title-only header (US-1043: no icon in dialog headers); copy 14/1.625
   content-secondary; textarea = LwTextField Lines=4 (textarea-field.tsx
   shell); footer Cancel outline + primary Send w/ 16px send glyph. */

.rpc-copy[b-mufzkpsr2d] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.rpc-error[b-mufzkpsr2d] {
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: var(--lw-destructive);
}
/* _content/Ledgerwise/Components/Modals/RequestRevisionModal.razor.rz.scp.css */
/* Request a revision -- source: ledgerwise-app
   organisms/gc/request-revision-modal.tsx (2026-07-23). Canonical lw-modal
   chrome; only the guidance copy and inline error live here. */

.rrm-copy[b-yteczbuaf8] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.rrm-error[b-yteczbuaf8] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-status-error-fg);
}
/* _content/Ledgerwise/Components/Modals/ReserveIncreaseApprovalModal.razor.rz.scp.css */
/* ReserveIncreaseApprovalModal -- body content only; shell chrome comes from
   the lw-modal atoms and the note/field from LwCardNote/LwTextField (US-798,
   2026-09-02: moved off raw MudAlert/MudTextField/MudSimpleTable so it shares
   the phone bottom-sheet geometry and the Lw look). Summary rows use the shared
   .lw-modal-summary idiom from app.css. */
.ria-intro[b-43hwbie7gq] {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.ria-intro strong[b-43hwbie7gq] {
    color: var(--lw-text-primary);
    font-weight: 600;
}

/* Summary rows use the shared .lw-modal-summary idiom (app.css); only the
   card gap and the emphasised Increase row are local. */
.ria-summary[b-43hwbie7gq] {
    margin-bottom: 1rem;
}

.ria-summary[b-43hwbie7gq]  .lw-modal-summary-value--strong,
.ria-summary .lw-modal-summary-value--strong[b-43hwbie7gq] {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ria-reason[b-43hwbie7gq] {
    margin-top: 1rem;
}

.ria-help[b-43hwbie7gq],
.ria-readonly[b-43hwbie7gq] {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-space);
}

.ria-readonly[b-43hwbie7gq] {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Modals/RfpDetailModal.razor.rz.scp.css */
/* RFP detail sheet -- source: ledgerwise-app organisms/gc/gc-rfp-detail-drawer.tsx
   (2026-07-23). The shell (bottom sheet, header, footer, details column,
   document pane, phone pane swap) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) since US-1043; this file keeps the card interiors.
   Card anatomy: identity 32px avatar + 14/600 vendor + 12 secondary sub;
   amount 14/600; sectioned by hairlines with the documents band tinted
   muted/40; footer action row (ghost gray revision / destructive-outline
   reject / success-outline accept / accent-outline add-to-budget). */

/* ---- RFP info ---- */

.rdm-desc[b-ih8dgkoq5q] {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-text-primary);
    white-space: pre-wrap;
}

.rdm-meta-grid[b-ih8dgkoq5q] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .rdm-meta-grid[b-ih8dgkoq5q] {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rdm-meta-label[b-ih8dgkoq5q] {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.rdm-meta-value[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.rdm-attachments[b-ih8dgkoq5q] {
    margin-top: 16px;
    border-top: 1px solid var(--lw-border);
    padding-top: 16px;
}

.rdm-attachments .rdm-meta-label[b-ih8dgkoq5q] {
    margin-bottom: 8px;
}

/* ---- Document card (reference DocCard) ---- */

.rdm-doc-list[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rdm-doc[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: border-color 0.15s, background 0.15s;
}

.rdm-doc:hover[b-ih8dgkoq5q] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    background: color-mix(in srgb, var(--lw-bg-secondary) 50%, var(--lw-white));
}

.rdm-doc--active[b-ih8dgkoq5q] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
}

.rdm-doc--active:hover[b-ih8dgkoq5q] {
    background: var(--lw-white);
}

.rdm-doc-text[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.rdm-doc-name[b-ih8dgkoq5q] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rdm-doc-size[b-ih8dgkoq5q] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.rdm-doc[b-ih8dgkoq5q]  .rdm-doc-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.rdm-doc[b-ih8dgkoq5q]  .rdm-doc-eye.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
    transition: color 0.15s;
}

.rdm-doc:hover[b-ih8dgkoq5q]  .rdm-doc-eye.mud-icon-root,
.rdm-doc--active[b-ih8dgkoq5q]  .rdm-doc-eye.mud-icon-root {
    color: var(--lw-primary-blue);
}

/* ---- Toolbar ---- */

/* The list toolbar sits a step further from the RFP card than the 20px card
   gap, so the vendor list reads as its own section (Cody, 2026-10-11). */
.rdm-toolbar[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

@media (min-width: 768px) {
    .rdm-toolbar[b-ih8dgkoq5q] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.rdm-toolbar-chips[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
}

.rdm-toolbar-right[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Phone (US-1043): the chip rail hides; the section trigger fills the first
   row beside Compare and search takes a full row beneath (the page toolbars'
   --stack-search shape). */
@media (max-width: 767.98px) {
    .rdm-toolbar-chips[b-ih8dgkoq5q] {
        display: none;
    }

    .rdm-toolbar-right[b-ih8dgkoq5q] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .rdm-toolbar-right[b-ih8dgkoq5q]  .lw-page-section-menu {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    .rdm-toolbar-right[b-ih8dgkoq5q]  .lw-page-section-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .rdm-toolbar-right[b-ih8dgkoq5q]  .lw-page-section-label {
        margin-right: auto;
    }

    .rdm-toolbar-right .lw-page-search[b-ih8dgkoq5q] {
        order: 10;
        flex: 1 1 100%;
        width: auto;
    }
}

/* ---- No matches (dashed empty) ---- */

.rdm-no-matches[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
    padding: 48px 16px;
    text-align: center;
}

.rdm-no-matches-title[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.rdm-no-matches-desc[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* ---- Vendor (not responded) row ---- */

.rdm-list[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rdm-vendor-row[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 12px 14px;
}

.rdm-vendor-text[b-ih8dgkoq5q] {
    min-width: 0;
    flex: 1;
}

.rdm-vendor-name[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rdm-vendor-sub[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rdm-vendor-wait[b-ih8dgkoq5q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

/* ---- Proposal card ---- */

.rdm-card[b-ih8dgkoq5q] {
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.rdm-card--accepted[b-ih8dgkoq5q] {
    border-color: color-mix(in srgb, var(--lw-status-success-fg) 40%, transparent);
}

.rdm-card-head[b-ih8dgkoq5q] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 0;
}

.rdm-card-identity[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rdm-card-vendor[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.rdm-card-sub[b-ih8dgkoq5q] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.rdm-card-amountwrap[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.rdm-card-amount[b-ih8dgkoq5q] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.rdm-card-note[b-ih8dgkoq5q] {
    margin: 12px 16px 0;
    font-size: 13px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
    white-space: pre-wrap;
}

.rdm-card-head + .rdm-card-section[b-ih8dgkoq5q],
.rdm-card-note + .rdm-card-section[b-ih8dgkoq5q] {
    margin-top: 14px;
}

/* ---- AI insights section ---- */

.rdm-card-section[b-ih8dgkoq5q] {
    border-top: 1px solid var(--lw-border);
    padding: 12px 16px;
}

.rdm-ai-idle[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rdm-ai-label[b-ih8dgkoq5q] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.rdm-ai-toggle[b-ih8dgkoq5q] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    cursor: pointer;
}

.rdm-card-section[b-ih8dgkoq5q]  .rdm-ai-spark.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--lw-primary-blue);
}

.rdm-ai-toggle[b-ih8dgkoq5q]  .rdm-ai-chev.mud-icon-root {
    margin-left: auto;
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--lw-gray-graphite);
}

.rdm-ai-generate[b-ih8dgkoq5q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 8px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
    transition: background 0.15s;
}

.rdm-ai-generate:hover:not(.rdm-ai-generate--busy)[b-ih8dgkoq5q] {
    background: var(--lw-status-info-bg);
}

/* Generating: the button stays enabled (the handler ignores repeat taps) and
   only looks busy. */
.rdm-ai-generate--busy[b-ih8dgkoq5q] {
    cursor: default;
    opacity: 0.7;
}

/* AI summary prose -- FormatSummary emits <p>/<ul>/<li>/<strong> from the
   model's markdown-lite (reference AiSummary text-[13px] leading-relaxed
   content-secondary). */
.rdm-ai-text[b-ih8dgkoq5q] {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* FormatSummary's markup comes in via MarkupString, so it never carries the
   CSS-isolation scope attribute -- plain scoped descendant rules die
   silently; ::deep pierces from the scoped wrapper. */
.rdm-ai-text[b-ih8dgkoq5q]  p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.625;
}

.rdm-ai-text[b-ih8dgkoq5q]  p:last-child {
    margin-bottom: 0;
}

.rdm-ai-text[b-ih8dgkoq5q]  strong {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* "### Pricing" section titles (Bug-1103): the body's 13px, set apart by
   weight, color and space above, like the bold lead line the reference
   summary opens with. Font family comes from the global heading rule. */
.rdm-ai-text[b-ih8dgkoq5q]  h4 {
    margin: 12px 0 4px;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.rdm-ai-text[b-ih8dgkoq5q]  h4:first-child {
    margin-top: 0;
}

.rdm-ai-text[b-ih8dgkoq5q]  ul {
    margin: 0 0 8px;
    padding-left: 20px;
    list-style: disc;
}

.rdm-ai-text[b-ih8dgkoq5q]  ul ul {
    margin-bottom: 0;
    list-style: circle;
}

.rdm-ai-text[b-ih8dgkoq5q]  li {
    margin: 2px 0;
}

/* ---- Documents band (tinted) ---- */

.rdm-card-docs[b-ih8dgkoq5q] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--lw-border);
    background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent);
    padding: 12px 16px;
}

/* ---- Footer actions ---- */

.rdm-card-actions[b-ih8dgkoq5q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid var(--lw-border);
    padding: 12px 16px;
}

.rdm-act[b-ih8dgkoq5q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--lw-radius-control);
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

/* "Frown on brown": revision stays neutral gray, not the warning tone. */
.rdm-act--ghost[b-ih8dgkoq5q] {
    color: var(--lw-gray-graphite);
}

.rdm-act--ghost:hover[b-ih8dgkoq5q] {
    color: var(--lw-text-primary);
    background: var(--lw-bg-secondary);
}

.rdm-act--reject[b-ih8dgkoq5q] {
    border-color: color-mix(in srgb, var(--bs-danger, #dc3545) 40%, transparent);
    color: var(--bs-danger, #dc3545);
}

.rdm-act--reject:hover[b-ih8dgkoq5q] {
    background: var(--lw-status-error-bg);
}

.rdm-act--accept[b-ih8dgkoq5q] {
    border-color: color-mix(in srgb, var(--lw-status-success-fg) 40%, transparent);
    color: var(--lw-status-success-fg);
}

.rdm-act--accept:hover[b-ih8dgkoq5q] {
    background: var(--lw-status-success-bg);
}

.rdm-act--budget[b-ih8dgkoq5q] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    color: var(--lw-primary-blue);
}

.rdm-act--budget:hover[b-ih8dgkoq5q] {
    background: var(--lw-status-info-bg);
}

/* ---- Right: document viewer pane ---- */

/* The pane itself is the shared drawer spec (lw-drawer.css); phones reach it
   through the Details | Document LwPaneSwitch in .lw-drawer-switch. Only the
   phone tap targets are set here (ViewInvoiceModal's recipe). */
@media (max-width: 767.98px) {
    .lw-drawer-pane-toolbar[b-ih8dgkoq5q] {
        padding: 4px 4px 4px 16px;
    }

    .lw-drawer-pane-icon[b-ih8dgkoq5q] {
        width: 44px;
        height: 44px;
    }
}

/* ---- Phone interior (US-1043, 360-440px) ---- */

@media (max-width: 767.98px) {
    /* Vendor and document rows: the shared list-card type (lw-page.css tokens) --
       name 14 / medium / 20, secondary line 12 / 16. */
    .rdm-vendor-name[b-ih8dgkoq5q],
    .rdm-doc-name[b-ih8dgkoq5q] {
        line-height: var(--lw-row-title-line);
    }

    .rdm-vendor-sub[b-ih8dgkoq5q] {
        line-height: var(--lw-row-sub-line);
    }

    /* RFP card: the meta grid stays two-up; long values wrap inside their
       column instead of pushing the card wide. */
    .rdm-meta-grid[b-ih8dgkoq5q] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 16px;
    }

    .rdm-meta-value[b-ih8dgkoq5q] {
        overflow-wrap: anywhere;
    }

    .rdm-doc-list[b-ih8dgkoq5q],
    .rdm-doc[b-ih8dgkoq5q] {
        min-width: 0;
    }

    .rdm-doc[b-ih8dgkoq5q] {
        min-height: 44px;
    }

    /* Toolbar: 44px controls (the section trigger is rendered by
       LwSectionTrigger, hence ::deep). */
    .rdm-toolbar-right .lw-page-action[b-ih8dgkoq5q],
    .rdm-toolbar-right .lw-page-search[b-ih8dgkoq5q],
    .rdm-toolbar-right[b-ih8dgkoq5q]  .lw-page-section-trigger {
        height: 44px;
    }

    .rdm-toolbar-right .lw-page-action[b-ih8dgkoq5q] {
        flex-shrink: 0;
    }

    .rdm-no-matches[b-ih8dgkoq5q] {
        padding: 32px 16px;
    }

    /* Awaiting-vendor row: the status drops under the name (aligned to the
       text, past the 32px avatar) so the name and email keep the row width. */
    .rdm-vendor-row[b-ih8dgkoq5q] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .rdm-vendor-text[b-ih8dgkoq5q] {
        flex: 1 1 0;
    }

    .rdm-vendor-wait[b-ih8dgkoq5q] {
        flex: 1 1 100%;
        padding-left: 44px;
    }

    /* Proposal card head: amount + status chip drop under the vendor name
       instead of crushing it (they are flex-shrink: 0 on desktop). */
    .rdm-card-head[b-ih8dgkoq5q] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .rdm-card-identity[b-ih8dgkoq5q] {
        flex: 1 1 100%;
    }

    .rdm-card-idtext[b-ih8dgkoq5q] {
        min-width: 0;
    }

    .rdm-card-vendor[b-ih8dgkoq5q],
    .rdm-card-sub[b-ih8dgkoq5q] {
        overflow-wrap: anywhere;
    }

    .rdm-card-amountwrap[b-ih8dgkoq5q] {
        flex: 1 1 100%;
        flex-wrap: wrap;
        padding-left: 42px;
    }

    /* AI insights: 44px hit areas; the negative margins hand the extra height
       back to the section padding so the band keeps its rhythm. */
    .rdm-ai-toggle[b-ih8dgkoq5q] {
        min-height: 44px;
        margin: -12px 0;
    }

    .rdm-ai-generate[b-ih8dgkoq5q] {
        flex-shrink: 0;
        height: 44px;
        margin: -8px 0;
    }

    /* Actions: 2 + 1 grid -- Request Revision (ghost, natural width) beside
       Reject on the first row, Accept filling the second. Add to Budget (the
       only action on an accepted card) fills its row the same way. */
    .rdm-card-actions[b-ih8dgkoq5q] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        justify-content: stretch;
    }

    .rdm-act[b-ih8dgkoq5q] {
        justify-content: center;
        height: 44px;
        white-space: nowrap;
    }

    .rdm-act--accept[b-ih8dgkoq5q],
    .rdm-act--budget[b-ih8dgkoq5q] {
        grid-column: 1 / -1;
    }
}
/* _content/Ledgerwise/Components/Modals/SelectBudgetTemplateModal.razor.rz.scp.css */
/* Budget-mode option cards inside the canonical lw-modal body (replaces the
   legacy MudPaper cards + inline style block that leaned on --mud-palette
   vars). Selected/hover states use the --lw-* tokens; the selected border
   doubles via an inset ring so the card does not jump a pixel. */

.sbt-options[b-h4z33lhxiv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.sbt-options--two[b-h4z33lhxiv] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Phones (US-1043): the tiles stack at the shared phone breakpoint (was 560px,
   which left the tiles side by side on a 600px tablet-portrait sheet);
   each tile stays a 44px+ tap target and its title may wrap. LwSelect below is
   already full width. */
@media (max-width: 767.98px) {
    .sbt-options--two[b-h4z33lhxiv] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sbt-option[b-h4z33lhxiv] {
        min-height: 44px;
    }

    .sbt-option-title[b-h4z33lhxiv] {
        white-space: normal;
    }
}

.sbt-option[b-h4z33lhxiv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 16px;
    text-align: center;
    font-family: var(--lw-font-family);
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sbt-option:hover[b-h4z33lhxiv] {
    border-color: var(--lw-primary-blue);
}

.sbt-option--selected[b-h4z33lhxiv] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 1px var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 8%, transparent);
}

.sbt-option[b-h4z33lhxiv]  .mud-icon-root {
    width: 32px;
    height: 32px;
    color: var(--lw-gray-graphite);
    transition: color 0.15s ease;
}

.sbt-option--selected[b-h4z33lhxiv]  .mud-icon-root {
    color: var(--lw-primary-blue);
}

.sbt-option-title[b-h4z33lhxiv] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.sbt-option-sub[b-h4z33lhxiv] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

.sbt-hint[b-h4z33lhxiv] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Assistant tile sparkle (US-818): brand-gradient fill that sweeps across the
   icon (SMIL on the gradient defined in the markup) plus a gentle pulse. */
.sbt-ai-defs[b-h4z33lhxiv] {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.sbt-ai-stop-a[b-h4z33lhxiv] { stop-color: var(--lw-primary-blue); }
.sbt-ai-stop-b[b-h4z33lhxiv] { stop-color: var(--lw-primary-blue-light); }
.sbt-ai-stop-c[b-h4z33lhxiv] { stop-color: var(--lw-primary-gold); }

.sbt-option--ai[b-h4z33lhxiv]  .sbt-ai-icon.mud-icon-root {
    animation: sbt-ai-pulse-b-h4z33lhxiv 2.4s ease-in-out infinite;
    transform-origin: center;
}

.sbt-option--ai[b-h4z33lhxiv]  .sbt-ai-icon.mud-icon-root path,
.sbt-option--ai[b-h4z33lhxiv]  .sbt-ai-icon.mud-icon-root polygon {
    fill: url(#sbt-ai-grad);
}

@keyframes sbt-ai-pulse-b-h4z33lhxiv {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--lw-primary-gold) 45%, transparent)); }
}

@media (prefers-reduced-motion: reduce) {
    .sbt-option--ai[b-h4z33lhxiv]  .sbt-ai-icon.mud-icon-root { animation: none; }
}
/* _content/Ledgerwise/Components/Modals/SelectRfpRecipientModal.razor.rz.scp.css */
/* Select RFP recipient -- radio-card rows (reference chooser anatomy,
   AssignInvoiceToDrawRequestModal recipe; 2026-07-23). */

.srr-list[b-0twclp3hhr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srr-row[b-0twclp3hhr] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: border-color 0.15s, background 0.15s;
}

.srr-row:hover[b-0twclp3hhr] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

.srr-row--active[b-0twclp3hhr] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

.srr-radio[b-0twclp3hhr] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--lw-gray-smoke);
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.srr-row--active .srr-radio[b-0twclp3hhr] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
    background: var(--lw-primary-blue);
}

.srr-text[b-0twclp3hhr] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.srr-name[b-0twclp3hhr] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.srr-company[b-0twclp3hhr] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.srr-error[b-0twclp3hhr] {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--lw-status-error-fg);
}

/* Phones (US-1043): each radio card is at least a 44px target, and a long
   recipient or company name wraps beside the "Has Proposal" chip instead of
   pushing the row wider than a 328px sheet body. StatusChip is a child
   component, so keeping it from shrinking needs ::deep. */
@media (max-width: 767.98px) {
    .srr-row[b-0twclp3hhr] {
        min-height: 44px;
        padding: 12px;
    }

    .srr-name[b-0twclp3hhr],
    .srr-company[b-0twclp3hhr] {
        overflow-wrap: anywhere;
    }

    /* Shared list-card type (lw-page.css tokens): name 14 / medium / 20 (semibold on
       desktop), company line 12 / 16. */
    .srr-name[b-0twclp3hhr] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .srr-company[b-0twclp3hhr] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    .srr-row[b-0twclp3hhr]  .lw-status-chip {
        flex-shrink: 0;
    }
}
/* _content/Ledgerwise/Components/Modals/SendClientProposalModal.razor.rz.scp.css */
/* Send proposal to Project Owner -- canonical lw-modal chrome (2026-07-23);
   only the intro copy lives here. */

.scp-copy[b-49fb6rbqzq] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Modals/SetAccountTermsModal.razor.rz.scp.css */
/* Set account terms dialog (US-1131). Measured from the canvas board U1131TermsDialogReturn
   (Saad, 26 Oct): 720px dialog; the two fields side by side; tinted 36px "Watch video" button
   beside the X. Frame and regions come from .lw-modal and the LwModal* atoms; chrome from
   --lw-* tokens. */

.sat-roundel[b-i488zpwesw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-blue) 12%, var(--lw-white));
    color: var(--lw-primary-blue);
}

.sat-roundel[b-i488zpwesw]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

/* The video as a tinted button in the header (option G). */
.sat-watch[b-i488zpwesw] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px 0 12px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-blue) 12%, var(--lw-white));
    color: var(--lw-primary-dark);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold, 600);
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sat-watch:hover[b-i488zpwesw] {
    background: color-mix(in srgb, var(--lw-primary-blue) 20%, var(--lw-white));
}

.sat-watch[b-i488zpwesw]  .mud-icon-root {
    color: var(--lw-primary-blue);
}

.sat-two[b-i488zpwesw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

/* Phone: the same dialog as the bottom sheet; fields stacked. */
@media (max-width: 767.98px) {
    .sat-two[b-i488zpwesw] {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sat-watch span[b-i488zpwesw] {
        display: none;
    }

    .sat-watch[b-i488zpwesw] {
        padding: 0 10px;
    }
}
/* _content/Ledgerwise/Components/Modals/SignConstructionAgreementModal.razor.rz.scp.css */
/* Sign Construction Agreement wizard on the canonical lw-modal shell.
   Layout only -- chrome comes from the shared lw-sign vocabulary
   (wwwroot/css/components/lw-sign.css) and the LwModal* atoms. */

/* Step-indicator chip row */
.scam-steps[b-3sb0vzv6ck] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lw-border);
}

.scam-section-title[b-3sb0vzv6ck] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Two-column provide-agreement choice grid */
.scam-choice-grid[b-3sb0vzv6ck] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .scam-choice-grid[b-3sb0vzv6ck] {
        grid-template-columns: 1fr;
    }
}

/* Equalize the two choice zones regardless of copy length */
.scam-choice[b-3sb0vzv6ck] {
    height: 100%;
    box-sizing: border-box;
}

/* Agreement-progress rows (white card rows with trailing action) */
.scam-progress-row[b-3sb0vzv6ck] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.scam-progress-row[b-3sb0vzv6ck]  .scam-progress-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lw-gray-steel);
    flex-shrink: 0;
}

.scam-progress-row[b-3sb0vzv6ck]  .scam-progress-icon--done {
    color: var(--lw-status-success-fg);
}

.scam-progress-label[b-3sb0vzv6ck] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

/* Remove / Upload+Continue action row under the selected signed file */
.scam-file-actions[b-3sb0vzv6ck] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
/* _content/Ledgerwise/Components/Modals/StakeholderOnboardingDialog.razor.rz.scp.css */
.sod-body[b-siha16r5i2] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Bug-938: the project account history under the status panel; US-957: the builder's MOU
   section (BuilderMouPanel) sits under it the same way.
   source: none -- ledgerwise-ui has no project-account-setup history (2026-09-30).
   Section title mirrors the dialog section titles (12/600 uppercase --lw-gray-graphite). */
.sod-history[b-siha16r5i2],
.sod-mou[b-siha16r5i2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--lw-border);
}

.sod-history-head[b-siha16r5i2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sod-history-title[b-siha16r5i2] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Modals/SupplierW9ReviewModal.razor.rz.scp.css */
/* SupplierW9ReviewModal (US-1094, US-1191) -- body content only; the shell comes from the
   lw-modal atoms, the cards from ControlCard, the W-9 file from the shared drawer spec
   (lw-drawer.css). Every element styled here is authored in the modal's own markup, so plain
   selectors match it (the dialogs render outside the page's tree). */

/* The details column: the intro line and three cards, 16px apart (the detail-page rhythm). */
.w9r-content[b-fttwav1ogo] {
    gap: 16px;
}

.w9r-roundel[b-fttwav1ogo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

.w9r-roundel[b-fttwav1ogo]  .mud-icon-root {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.w9r-intro[b-fttwav1ogo] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 15px;
    line-height: 1.55;
    color: var(--lw-text-primary);
}

.w9r-intro strong[b-fttwav1ogo] {
    font-weight: var(--lw-font-semibold);
}

/* Label | value rows inside a card: a fixed label column, values left-aligned so a long
   address and its chips wrap under themselves; a hairline between rows. */
.w9r-rows[b-fttwav1ogo] {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    font-family: var(--lw-font-family);
    font-size: 14px;
}

.w9r-rows > *[b-fttwav1ogo] {
    padding: 11px 0;
    border-bottom: 1px solid var(--lw-border);
}

.w9r-rows > :nth-last-child(-n+2)[b-fttwav1ogo] {
    border-bottom: 0;
}

/* The label cell fills the whole row height so its hairline meets the value's (the row's
   height comes from the taller cell); text and glyph stay on the first line. */
.w9r-label[b-fttwav1ogo] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 20px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.w9r-value[b-fttwav1ogo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.w9r-small[b-fttwav1ogo] {
    flex-basis: 100%;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

.w9r-flags[b-fttwav1ogo] {
    flex-basis: 100%;
    margin: 0;
    padding-left: 1.25rem;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.w9r-check[b-fttwav1ogo] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.w9r-check--unchecked[b-fttwav1ogo] {
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.w9r-check--verified[b-fttwav1ogo] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.w9r-check--discrepancy[b-fttwav1ogo] {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

/* Info glyph + tooltip: ProjectPeopleCard's pattern. */
.w9r-info[b-fttwav1ogo] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

.w9r-info:hover[b-fttwav1ogo],
.w9r-info:focus-visible[b-fttwav1ogo] {
    color: var(--lw-gray-graphite);
}

.w9r-info[b-fttwav1ogo]  .w9r-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.w9r-info__tip[b-fttwav1ogo] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.w9r-info:hover .w9r-info__tip[b-fttwav1ogo],
.w9r-info:focus-visible .w9r-info__tip[b-fttwav1ogo],
.w9r-info:focus-within .w9r-info__tip[b-fttwav1ogo] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---- The Approve and Decline dialogs ---- */
.w9r-dlg-icon[b-fttwav1ogo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    color: var(--lw-primary-blue);
}

.w9r-dlg-icon[b-fttwav1ogo]  .mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.w9r-dlg-text[b-fttwav1ogo] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 1.55;
    color: var(--lw-text-primary);
}

.w9r-confirm[b-fttwav1ogo] {
    display: flex;
    flex-direction: column;
}

.w9r-help[b-fttwav1ogo] {
    margin: 0.375rem 0 0;
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-graphite);
}

.w9r-field-error[b-fttwav1ogo] {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-status-error-fg);
}

/* The lw-drawer.css breakpoint where the pane switch appears: label over value. */
@media (max-width: 767.98px) {
    .w9r-rows[b-fttwav1ogo] {
        grid-template-columns: minmax(0, 1fr);
    }

    .w9r-rows > .w9r-label[b-fttwav1ogo] {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .w9r-rows > .w9r-value[b-fttwav1ogo] {
        padding-top: 4px;
    }
}

/* The card title's ControlCard adornment gap is 8px (sized for count pills); an info glyph
   sits closer to its word, 4px, like the field labels (Saad, 19 Nov). */
.w9r-title-tip[b-fttwav1ogo] {
    display: inline-flex;
    margin-left: -4px;
}

/* Decline's Reason field with its info glyph on the outline, after the floated label. */
.w9r-reason[b-fttwav1ogo] {
    position: relative;
}

.w9r-reason-tip[b-fttwav1ogo] {
    position: absolute;
    top: -8px;
    left: 58px;
    display: inline-flex;
    padding: 0 2px;
    background: var(--lw-form-surface);
}

/* Approve's two confirmations: 8px apart, 8px more space than the body's 16px gap above and below. */
.w9r-checks[b-fttwav1ogo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

/* The glyph takes the line's 20px height, so it centres on the label's first line. */
.w9r-label .w9r-info[b-fttwav1ogo] {
    height: 20px;
}
/* _content/Ledgerwise/Components/Modals/TemplateDetailsModal.razor.rz.scp.css */
/* Template details dialog (US-1075): the name and description fields on the compact
   lw-modal. Field chrome comes from the LwTextField atoms, the frame from
   LwModalHeader / LwModalBody / LwModalFooter; only the field stack lives here. */
.tdm-form-stack[b-6voa4c5uom] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* _content/Ledgerwise/Components/Modals/TermsOfUseModal.razor.rz.scp.css */
/* Terms of Use modal -- body content on the canonical lw-modal regions.
   Plain selectors work here: MudDialog teleports the elements but they keep
   this file's scope attribute. */

.tou-intro[b-qm7tjx17y7] {
    margin: 0 0 16px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
}

.tou-accept[b-qm7tjx17y7] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
}

/* Two stacked boxes (US-1008); the first label wraps, so align to the top
   and nudge the box down to sit on the first line. */
.tou-accept + .tou-accept[b-qm7tjx17y7] {
    margin-top: 12px;
}

.tou-accept input[b-qm7tjx17y7] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--lw-primary-dark);
}
/* _content/Ledgerwise/Components/Modals/UploadBudgetTemplateModal.razor.rz.scp.css */
/* Budget-template upload. The shell (bottom sheet, header, footer, details
   column, phone inset) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) and the upload zone is the shared FileDropZone
   since US-1043; this file keeps the card interiors (file row, extraction
   preview). */

/* Field/section rhythm inside a ControlCard body. */
.ubt-stack[b-zdr2a2ffkm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* -- Build-method tiles (US-1075): the Budget tab chooser's sbt-option recipe,
   so the Budget Templates page offers the same choice -- assistant or
   formatted sheet. Selected/hover states from --lw-* tokens; the selected
   border doubles via an inset ring so the tile does not jump a pixel. -- */

.ubt-methods[b-zdr2a2ffkm] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ubt-method[b-zdr2a2ffkm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 16px;
    text-align: center;
    font-family: var(--lw-font-family);
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ubt-method:hover[b-zdr2a2ffkm] {
    border-color: var(--lw-primary-blue);
}

.ubt-method--selected[b-zdr2a2ffkm] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 1px var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 8%, transparent);
}

.ubt-method[b-zdr2a2ffkm]  .mud-icon-root {
    width: 32px;
    height: 32px;
    color: var(--lw-gray-graphite);
    transition: color 0.15s ease;
}

.ubt-method--selected[b-zdr2a2ffkm]  .mud-icon-root {
    color: var(--lw-primary-blue);
}

.ubt-method-title[b-zdr2a2ffkm] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.ubt-method-sub[b-zdr2a2ffkm] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

.ubt-hint[b-zdr2a2ffkm] {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Assistant tile sparkle (US-818 recipe): brand-gradient fill that sweeps
   across the icon (SMIL on the gradient defined in the markup) plus a gentle
   pulse. */
.ubt-ai-defs[b-zdr2a2ffkm] {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ubt-ai-stop-a[b-zdr2a2ffkm] { stop-color: var(--lw-primary-blue); }
.ubt-ai-stop-b[b-zdr2a2ffkm] { stop-color: var(--lw-primary-blue-light); }
.ubt-ai-stop-c[b-zdr2a2ffkm] { stop-color: var(--lw-primary-gold); }

.ubt-method--ai[b-zdr2a2ffkm]  .ubt-ai-icon.mud-icon-root {
    animation: ubt-ai-pulse-b-zdr2a2ffkm 2.4s ease-in-out infinite;
    transform-origin: center;
}

.ubt-method--ai[b-zdr2a2ffkm]  .ubt-ai-icon.mud-icon-root path,
.ubt-method--ai[b-zdr2a2ffkm]  .ubt-ai-icon.mud-icon-root polygon {
    fill: url(#ubt-ai-grad);
}

@keyframes ubt-ai-pulse-b-zdr2a2ffkm {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 transparent); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--lw-primary-gold) 45%, transparent)); }
}

@media (prefers-reduced-motion: reduce) {
    .ubt-method--ai[b-zdr2a2ffkm]  .ubt-ai-icon.mud-icon-root { animation: none; }
}

/* Default amount beside an extracted line item (US-1075). */
.ubt-extract-amount[b-zdr2a2ffkm] {
    margin-left: 8px;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Phones: the tiles stack, each a 44px+ tap target. */
@media (max-width: 767.98px) {
    .ubt-methods[b-zdr2a2ffkm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ubt-method[b-zdr2a2ffkm] {
        min-height: 44px;
    }
}

/* -- Section rhythm inside the card body. -- */

.ubt-section[b-zdr2a2ffkm] { display: flex; flex-direction: column; gap: 8px; }

/* -- Selected-file row (asim-file recipe) with a trailing remove button. -- */

.ubt-file[b-zdr2a2ffkm] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.ubt-file[b-zdr2a2ffkm]  .ubt-file-icon { width: 1.25rem; height: 1.25rem; color: var(--lw-status-success-fg); flex-shrink: 0; }
.ubt-file[b-zdr2a2ffkm]  .ubt-file-check { width: 1.125rem; height: 1.125rem; color: var(--lw-status-success-fg); flex-shrink: 0; }

.ubt-file-name[b-zdr2a2ffkm] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ubt-file-size[b-zdr2a2ffkm] { flex-shrink: 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* -- Extracted-structure preview: white card, folder-labelled categories,
   plain indented item list. -- */

.ubt-extract[b-zdr2a2ffkm] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 12px 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

/* Skeleton preview while extraction runs: mirrors the category-name row
   (icon tile + title line) and the indented item list. */
.ubt-skel-cat[b-zdr2a2ffkm] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ubt-skel-cat[b-zdr2a2ffkm]  .ubt-skel-fixed { flex-shrink: 0; }

.ubt-skel-items[b-zdr2a2ffkm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 34px;
}

.ubt-extract-cat-name[b-zdr2a2ffkm] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.ubt-extract-cat-name[b-zdr2a2ffkm]  .mud-icon-root { width: 1rem; height: 1rem; color: var(--lw-primary-blue); }

.ubt-extract-items[b-zdr2a2ffkm] {
    margin: 4px 0 0;
    padding-left: 34px;
    list-style: disc;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--lw-gray-graphite);
}

/* Ghost remove button on the file row (tdm-row-x recipe); the negative margin
   keeps the row height its own. */
.ubt-file-remove[b-zdr2a2ffkm] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -6px -8px -6px 0;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.12s, color 0.12s;
}

.ubt-file-remove:hover[b-zdr2a2ffkm] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.ubt-file-remove[b-zdr2a2ffkm]  .mud-icon-root { width: 18px; height: 18px; font-size: 18px; }

/* Phones (US-1043): 44px targets, a shallower item indent, long names wrap. */
@media (max-width: 767.98px) {
    .ubt-starter-link[b-zdr2a2ffkm] {
        min-height: 44px;
    }

    .ubt-file[b-zdr2a2ffkm] {
        gap: 8px;
        padding: 8px 4px 8px 12px;
    }

    .ubt-file-remove[b-zdr2a2ffkm] {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .ubt-extract[b-zdr2a2ffkm] {
        padding: 12px;
    }

    .ubt-extract-cat-name[b-zdr2a2ffkm] {
        align-items: flex-start;
        overflow-wrap: anywhere;
    }

    .ubt-extract-cat-name[b-zdr2a2ffkm]  .mud-icon-root {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .ubt-extract-items[b-zdr2a2ffkm],
    .ubt-skel-items[b-zdr2a2ffkm] {
        padding-left: 16px;
    }

    .ubt-extract-items li[b-zdr2a2ffkm] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/UploadProposalModal.razor.rz.scp.css */
/* Upload Proposal modal -- canonical doc-card file rows (same recipe as
   AddRfpModal .arm-file, from reference documents-manager doc cards).
   Ported 2026-07-23. Modal shell chrome lives in app.css (.lw-modal). */

.upm-docs-label[b-w9qrhlr0xp] {
    margin: 16px 0 8px;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.upm-files[b-w9qrhlr0xp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.upm-file[b-w9qrhlr0xp] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 12px 16px;
}

.upm-file[b-w9qrhlr0xp]  .upm-file-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.upm-file-text[b-w9qrhlr0xp] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.upm-file-name[b-w9qrhlr0xp] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upm-file-size[b-w9qrhlr0xp] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.upm-file-remove[b-w9qrhlr0xp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: transparent;
    padding: 0;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.upm-file-remove:hover:not(:disabled)[b-w9qrhlr0xp] {
    background: var(--lw-bg-secondary);
    color: var(--bs-danger, #dc3545);
}

.upm-file-remove:disabled[b-w9qrhlr0xp] {
    opacity: 0.5;
    cursor: default;
}

.upm-file-remove[b-w9qrhlr0xp]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* -- Upload progress: slim 4px track + quiet status line below (recipe from
   AddInvoiceModal .aim-file-track/.aim-file-fill; review round 2026-07-28).
   Replaces MudProgressLinear, whose in-bar caption clipped into the track. -- */

.upm-track[b-w9qrhlr0xp] {
    height: 4px;
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
}

.upm-track-fill[b-w9qrhlr0xp] {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: var(--lw-primary-dark);
    transition: width 0.2s ease;
}

/* Soft light sweep so slow uploads still read as live work. */
.upm-track-fill[b-w9qrhlr0xp]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    animation: upm-fill-sweep-b-w9qrhlr0xp 1.6s ease-in-out infinite;
}

/* Indeterminate variant -- a 40% segment sweeping the track while file bytes
   stream from the browser (step 1 read). */
.upm-track--busy .upm-track-fill[b-w9qrhlr0xp] {
    width: 40%;
    animation: upm-track-slide-b-w9qrhlr0xp 1.2s ease-in-out infinite;
}

@keyframes upm-fill-sweep-b-w9qrhlr0xp {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@keyframes upm-track-slide-b-w9qrhlr0xp {
    from { margin-left: -40%; }
    to { margin-left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .upm-track-fill[b-w9qrhlr0xp]::after { animation: none; display: none; }
    .upm-track--busy .upm-track-fill[b-w9qrhlr0xp] { animation: none; width: 100%; opacity: 0.5; }
}

.upm-upload-status[b-w9qrhlr0xp] {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    text-align: center;
}

/* Phones (US-1043): the processing copy centers when it wraps, and file rows
   carry a 44px remove target (AddInvoiceModal .aim-file-remove recipe). */
@media (max-width: 767.98px) {
    .upm-processing[b-w9qrhlr0xp] { text-align: center; }

    .upm-file[b-w9qrhlr0xp] {
        min-height: 44px;
        padding: 10px 12px;
    }

    .upm-file-remove[b-w9qrhlr0xp] {
        width: 44px;
        height: 44px;
        margin: -10px -12px -10px 0;
    }

    .upm-file-remove[b-w9qrhlr0xp]  .mud-icon-root {
        font-size: 1.25rem;
        width: 1.25rem;
        height: 1.25rem;
    }
}
/* _content/Ledgerwise/Components/Modals/UploadSignedAgreementModal.razor.rz.scp.css */
/* Signed-agreement upload internals. Source: ledgerwise-app gc-documents.tsx
   AddFilesModal dropzone (measured 2026-07-20). The drag-over state rides the
   existing mud-border-primary marker class set by the @code block. */

.usam-dropwrap[b-qjfcrbgmie] { position: relative; }

.usam-dropzone[b-qjfcrbgmie] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
    border: 2px dashed rgba(145, 158, 171, 0.32);
    border-radius: var(--lw-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

/* Hover rides the wrapper: FileDropZone's transparent input sits on top of
   the zone, so the zone itself never matches :hover. */
.usam-dropwrap:hover .usam-dropzone[b-qjfcrbgmie],
.usam-dropwrap.mud-border-primary .usam-dropzone[b-qjfcrbgmie] {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 8%, transparent);
}

.usam-dropzone-tile[b-qjfcrbgmie] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: var(--lw-radius-sm);
    background: color-mix(in srgb, var(--lw-primary-dark) 10%, transparent);
    color: var(--lw-primary-dark);
}

.usam-dropzone-tile[b-qjfcrbgmie]  .mud-icon-root { width: 28px; height: 28px; }

.usam-dropzone-title[b-qjfcrbgmie] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.usam-dropzone-sub[b-qjfcrbgmie] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.usam-dropzone-browse[b-qjfcrbgmie] { color: var(--lw-primary-blue); }
.usam-dropwrap:hover .usam-dropzone-browse[b-qjfcrbgmie] { text-decoration: underline; text-underline-offset: 2px; }

.usam-dropzone-hint[b-qjfcrbgmie] {
    margin: 16px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space);
}

/* Selected-file confirmation row. */
.usam-file[b-qjfcrbgmie] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.usam-file[b-qjfcrbgmie]  .usam-file-icon { width: 1.25rem; height: 1.25rem; color: var(--lw-filetype-pdf-fg); flex-shrink: 0; }

.usam-file-name[b-qjfcrbgmie] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.usam-file-remove[b-qjfcrbgmie] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: none;
    background: none;
    padding: 0;
    color: var(--lw-destructive);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.usam-file-remove:hover[b-qjfcrbgmie] { opacity: 0.8; }
.usam-file-remove[b-qjfcrbgmie]  .mud-icon-root { width: 1rem; height: 1rem; }

/* Guarded Upload press with no file / a non-PDF drop. */
.usam-error[b-qjfcrbgmie] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-destructive);
}

/* Phones (US-1043): shorter zone, and a 44px remove target that bleeds into
   the row padding so the row keeps its height. */
@media (max-width: 767.98px) {
    .usam-dropzone[b-qjfcrbgmie] { padding: 24px 16px; }

    .usam-dropzone-tile[b-qjfcrbgmie] {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .usam-dropzone-hint[b-qjfcrbgmie] { margin-top: 10px; }

    .usam-file[b-qjfcrbgmie] {
        gap: 10px;
        padding: 12px;
    }

    .usam-file-remove[b-qjfcrbgmie] {
        width: 44px;
        height: 44px;
        margin: -10px -10px -10px -6px;
    }

    .usam-file-remove[b-qjfcrbgmie]  .mud-icon-root { width: 1.125rem; height: 1.125rem; }
}
/* _content/Ledgerwise/Components/Modals/VendorOnboardingReviewModal.razor.rz.scp.css */
/* VendorOnboardingReviewModal (US-1064) -- body content only; the shell
   comes from the lw-modal atoms, the notes and the reason field from LwCardNote
   and LwTextField, and the detail rows from the shared .lw-modal-summary idiom in
   app.css. Same recipe as ReserveIncreaseApprovalModal. */
.vor-roundel[b-uhpv0sv5e5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

.vor-roundel[b-uhpv0sv5e5]  .mud-icon-root {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.vor-intro[b-uhpv0sv5e5] {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.vor-intro strong[b-uhpv0sv5e5] {
    color: var(--lw-text-primary);
    font-weight: 600;
}

.vor-note[b-uhpv0sv5e5] {
    margin-bottom: 1rem;
}

.vor-summary[b-uhpv0sv5e5] {
    margin-bottom: 1rem;
}

.vor-section[b-uhpv0sv5e5] {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.vor-reason[b-uhpv0sv5e5] {
    margin-top: 1rem;
}

.vor-help[b-uhpv0sv5e5] {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-space);
}
/* _content/Ledgerwise/Components/Modals/ViewInvoiceModal.razor.rz.scp.css */
/* Invoice detail drawer (US-926): the shell, header, split layout, document
   pane and phone pane swap are the shared drawer spec (wwwroot/css/components/
   lw-drawer.css) on an lw-modal--sheet MudDialog. What stays here is this
   drawer's own content: status stepper, edit form, photo tiles, budget
   allocation, lien rows, the Invoice/Photos pane tabs and upload/attach boxes. */

/* Status stepper: always-expanded vertical track with 18px SQUARE nodes
   (reference invoice-tracker-bar expanded). Completed = success-dark square
   w/ white check, active = white square w/ brand-accent inner square,
   pending = 40% tracking-grey. */
.vim-tracker-stepper[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
}
.vim-step-row[b-2kq8zed3uk] { display: flex; align-items: stretch; }
.vim-step-track[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18px;
    flex-shrink: 0;
}
.vim-step-node[b-2kq8zed3uk] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* success-dark #2D7A5F per the reference tracker -- NOT the success text
   token, which resolves darker (#1F5C47). */
.vim-step-done[b-2kq8zed3uk]   { background: #2D7A5F; color: var(--lw-white); }
.vim-step-active[b-2kq8zed3uk] { border: 1.5px solid var(--lw-primary-blue); background: var(--lw-white); }
.vim-step-future[b-2kq8zed3uk] { background: rgba(211, 214, 224, 0.4); }
.vim-step-active-dot[b-2kq8zed3uk] { width: 7px; height: 7px; background: var(--lw-primary-blue); }
.vim-step-line[b-2kq8zed3uk] { width: 1px; flex: 1; background: var(--lw-border); min-height: 22px; }
.vim-step-line-done[b-2kq8zed3uk] { background: #2D7A5F; }
.vim-step-content[b-2kq8zed3uk] {
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.vim-step-gap[b-2kq8zed3uk] { padding-bottom: 18px; }
.vim-step-label[b-2kq8zed3uk] { display: block; font-size: 13px; font-weight: 500; line-height: 18px; }
.vim-step-label-done[b-2kq8zed3uk]   { color: var(--lw-text-primary); }
.vim-step-label-active[b-2kq8zed3uk] { color: var(--lw-primary-blue); }
.vim-step-label-future[b-2kq8zed3uk] { color: var(--lw-gray-space); }
.vim-step-date[b-2kq8zed3uk] {
    margin-left: 0.375rem;
    font-size: 11px;
    font-weight: 400;
    color: var(--lw-gray-space);
}
.vim-step-progress[b-2kq8zed3uk] {
    margin-left: 0.375rem;
    font-size: 11px;
    font-weight: 400;
    color: color-mix(in srgb, var(--lw-primary-blue) 50%, transparent);
}

/* Field rows: label on the left, value on the right, horizontal divider between rows. */
/* Detail rows are the global .lw-field-rows recipe (app.css, US-926). */
.vim-field-muted[b-2kq8zed3uk] { font-weight: 400; color: var(--lw-gray-graphite, #6E7180); }
.vim-field-link[b-2kq8zed3uk]  { color: var(--lw-primary-blue); }
.vim-aging-overdue[b-2kq8zed3uk]  { color: var(--lw-status-error-fg); }
.vim-aging-due-soon[b-2kq8zed3uk] { color: var(--lw-status-warning-fg); }
.vim-aging-current[b-2kq8zed3uk]  { color: var(--lw-status-success-fg); }

/* Summary column body. Plain text -- no bordered box -- to read as a sibling
   to the details list rather than a callout. */
.vim-summary-body[b-2kq8zed3uk] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-primary-dark, #020B2B);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.vim-summary-empty[b-2kq8zed3uk] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite, #6E7180);
    font-style: italic;
    line-height: 1.6;
}

/* Attach header */
.vim-attach-header[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.vim-attach-title-wrap[b-2kq8zed3uk] { display: flex; align-items: center; gap: 0.375rem; }
.vim-attach-actions[b-2kq8zed3uk] { display: flex; gap: 0.375rem; }
.vim-attach-btn[b-2kq8zed3uk] {
    height: 28px;
    padding: 0 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--lw-primary-dark, #020B2B);
    color: var(--lw-primary-dark, #020B2B);
    background: transparent;
    cursor: pointer;
    font-family: var(--lw-font-family);
    transition: background 0.15s;
}
.vim-attach-btn:hover[b-2kq8zed3uk] { background: var(--lw-bg-muted, #F7F7F5); }

/* Edit Invoice form internals (canonical input recipes). */
.vim-edit-fields[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vim-date-grid[b-2kq8zed3uk] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Phone (US-1043): two LwDateFields side by side are ~150px each inside the
   16px-gutter sheet at 360-767px, too narrow for a floated label + calendar
   adornment, so the grid goes 1-col at the shared phone breakpoint (was 639). */
@media (max-width: 767.98px) {
    .vim-date-grid[b-2kq8zed3uk] { grid-template-columns: 1fr; }
}

.vim-edit-actions[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

/* FieldShell chrome for the payee dropdown + Amount numeric field (recipe
   mirrors LwTextField.razor.css: 54px white box, 8px radius, 14/400 value,
   muted -> graphite -> phantom label states). */
.vim-editfield[b-2kq8zed3uk]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-control { margin-top: 0; }

.vim-editfield[b-2kq8zed3uk]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom (A3) */
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-adornment-start + input.mud-input-slot {
    padding-left: 6px;
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-adornment-text {
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

.vim-editfield[b-2kq8zed3uk]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.vim-editfield[b-2kq8zed3uk]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.vim-editfield[b-2kq8zed3uk]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.vim-editfield[b-2kq8zed3uk]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.vim-editfield[b-2kq8zed3uk]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Dropdown caret / clear buttons: gray-space like the LwSelect caret. */
.vim-editfield[b-2kq8zed3uk]  .mud-input-adornment .mud-icon-button,
.vim-editfield[b-2kq8zed3uk]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* "Edit" action in the Invoice details card header (accent link recipe). */
.vim-edit-link[b-2kq8zed3uk] {
    border: none;
    background: transparent;
    padding: 0.25rem 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lw-primary-blue);
    cursor: pointer;
    font-family: var(--lw-font-family);
    text-underline-offset: 4px;
}
.vim-edit-link:hover[b-2kq8zed3uk] { text-decoration: underline; }

/* Upload box */
.vim-upload-box[b-2kq8zed3uk] {
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.vim-upload-title[b-2kq8zed3uk] { font-size: 0.8125rem; font-weight: 600; color: var(--lw-primary-dark, #020B2B); margin: 0; }
.vim-upload-hint[b-2kq8zed3uk]  { font-size: 0.75rem; color: var(--lw-gray-graphite, #6E7180); margin: 0; }
.vim-file-list[b-2kq8zed3uk] { display: flex; flex-direction: column; gap: 0; }
.vim-file-row[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--lw-border);
}
.vim-file-row:last-child[b-2kq8zed3uk] { border-bottom: none; }
.vim-file-name[b-2kq8zed3uk] { font-size: 0.8125rem; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vim-file-size[b-2kq8zed3uk] { font-size: 0.75rem; color: var(--lw-gray-graphite, #6E7180); white-space: nowrap; }
.vim-file-remove[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--lw-status-error-fg);
    padding: 2px;
    flex-shrink: 0;
}
.vim-upload-submit-btn[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    border: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    align-self: flex-start;
    transition: opacity 0.15s;
}

/* Upload progress: thin track + caption (replaces MudProgressLinear, US-926). */
.vim-upload-progress[b-2kq8zed3uk] { display: flex; flex-direction: column; gap: 4px; }
.vim-upload-track[b-2kq8zed3uk] {
    height: 4px;
    border-radius: 999px;
    background: var(--lw-border);
    overflow: hidden;
}
.vim-upload-fill[b-2kq8zed3uk] {
    height: 100%;
    background: var(--lw-primary-blue);
    transition: width 0.3s ease;
}
.vim-upload-caption[b-2kq8zed3uk] { font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* Attach-from-project rows: LwCheckbox carries the file name as its label. */
.vim-file-check[b-2kq8zed3uk] { flex: 1; min-width: 0; }
.vim-file-check[b-2kq8zed3uk]  .lw-checkbox__label { min-width: 0; overflow: hidden; }

/* Payee option template (SearchableDropdown ItemTemplate). */
.vim-vendor-opt[b-2kq8zed3uk] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vim-vendor-opt-name[b-2kq8zed3uk] { font-size: 0.875rem; font-weight: 600; color: var(--lw-text-primary); }
.vim-vendor-opt-sub[b-2kq8zed3uk] { font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* Card-shaped loading placeholders (LwSkeleton). */
[b-2kq8zed3uk] .vim-card-skeleton { border-radius: var(--lw-radius-card); }

/* Document list */
.vim-doc-list[b-2kq8zed3uk] { display: flex; flex-direction: column; gap: 4px; }
.vim-doc-row[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
}
.vim-doc-row:hover[b-2kq8zed3uk] { background: var(--lw-bg-row-hover); }
.vim-doc-row-active[b-2kq8zed3uk] { border-color: var(--lw-primary-blue); background: var(--lw-white); }
.vim-doc-icon[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
    flex-shrink: 0;
}
.vim-doc-info[b-2kq8zed3uk] { flex: 1; min-width: 0; }
.vim-doc-name[b-2kq8zed3uk] { display: block; font-size: 0.875rem; font-weight: 500; color: var(--lw-primary-dark, #020B2B); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vim-doc-meta[b-2kq8zed3uk] { display: block; font-size: 0.75rem; color: var(--lw-gray-graphite, #6E7180); margin-top: 2px; }
.vim-doc-download[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-graphite, #6E7180);
    padding: 4px;
    flex-shrink: 0;
}
.vim-doc-download:hover[b-2kq8zed3uk] { color: var(--lw-primary-dark, #020B2B); }

/* Photos count badge (ControlCard header action) */
.vim-count-badge[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite, #6E7180);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}


/* Budget Allocation: BudgetImpactSummary isPaid recipe -- expandable white
   category cards (4px radius) on the flush ControlCard body, line items as
   muted sub-cards when expanded. */
.vim-ba[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}
.vim-ba-cat-card[b-2kq8zed3uk] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-lg, 4px);
    background: var(--lw-white);
    padding: 0.75rem 1rem;
}
.vim-ba-cat-head[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    width: 100%;
    cursor: pointer;
}
.vim-ba-chev[b-2kq8zed3uk] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
    transition: transform 0.15s ease;
}
.vim-ba-chev--open[b-2kq8zed3uk] { transform: rotate(90deg); }
.vim-ba-cat-name[b-2kq8zed3uk] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}
.vim-ba-cat-amt[b-2kq8zed3uk] {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}
.vim-ba-items[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.vim-ba-item[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid color-mix(in srgb, var(--lw-border-solid, #dfe3e8) 60%, transparent);
    border-radius: var(--lw-radius-control, 8px);
    background: color-mix(in srgb, var(--lw-bg-muted) 20%, transparent);
    padding: 0.75rem;
}
.vim-ba-item-name[b-2kq8zed3uk] {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
}
.vim-ba-item-amt[b-2kq8zed3uk] {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* Lien releases: white bordered row cards on the reference row recipe
   (rounded-md border bg-background p-3) with an accent link action. */
.vim-lien-list[b-2kq8zed3uk] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.vim-lien-row[b-2kq8zed3uk] {
    display: flex;
    flex-wrap: wrap; /* the US-921 coverage note takes a full line under the release */
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
}
.vim-lien-type[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    font-size: 11px;
    font-weight: 600;
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
    border-radius: var(--lw-radius-control, 8px);
}
.vim-lien-date[b-2kq8zed3uk] {
    flex: 1;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite, #6E7180);
}
.vim-lien-view[b-2kq8zed3uk] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lw-primary-blue);
    text-decoration: none;
    border: none;
    background: transparent;
    padding: 0.25rem 0.375rem;
    cursor: pointer;
    font-family: var(--lw-font-family);
    text-underline-offset: 4px;
}
.vim-lien-view:hover[b-2kq8zed3uk] { text-decoration: underline; }

/* US-921: "This lien waiver covers 3 invoices on this payment request." -- a muted
   full-width line under a release shared by the vendor's other invoices. */
.vim-lien-note[b-2kq8zed3uk] {
    flex-basis: 100%;
    margin-top: -0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-graphite, #6E7180);
}

/* Right pane: segmented Invoice / Photos toggle strip (reference
   RightPaneViewer): h-8 navy-filled active pill, quiet inactive toggles,
   photo count badge; quiet text actions right-aligned. */
.vim-pane-tabs[b-2kq8zed3uk] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-white);
    flex-shrink: 0;
}

.vim-pane-tab[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 32px;
    padding: 0 0.75rem;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-graphite, #6E7180);
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.vim-pane-tab:hover:not(.vim-pane-tab--active)[b-2kq8zed3uk] {
    background: var(--lw-accent, rgba(145, 158, 171, 0.16));
    color: var(--lw-text-primary);
}

.vim-pane-tab--active[b-2kq8zed3uk] {
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
}


.vim-pane-tab svg[b-2kq8zed3uk] { flex-shrink: 0; }

.vim-pane-tab-badge[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-primary-dark, #020B2B) 10%, transparent);
    font-size: 10px;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
}

.vim-pane-tab--active .vim-pane-tab-badge[b-2kq8zed3uk] {
    background: rgba(255, 255, 255, 0.2);
    color: var(--lw-white);
}

.vim-pane-actions[b-2kq8zed3uk] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.vim-pane-action[b-2kq8zed3uk] {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 0.625rem;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-graphite, #6E7180);
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.vim-pane-action:hover[b-2kq8zed3uk] {
    background: var(--lw-accent, rgba(145, 158, 171, 0.16));
    color: var(--lw-text-primary);
}


/* Photo tile remove: corner chip; arming turns it destructive (two-step idiom). */

/* Toolbar remove-attachment: quiet icon that arms to destructive. */
.vim-pane-icon--danger:hover[b-2kq8zed3uk] { color: var(--lw-destructive); }
.vim-pane-icon--armed[b-2kq8zed3uk] { color: var(--lw-destructive); background: rgba(184, 53, 48, 0.1); border-radius: var(--lw-radius-control, 8px); }

/* -- Phone: budget allocation rows (US-798) -- */
/* The category name was pinned to one line, so "Pre-Construction & Construction
   Administration" showed as "Pre-Construction & ..." with no way to read the
   rest. It wraps instead, with the chevron and amount held on its first line. */
@media (max-width: 767.98px) {
    .vim-ba-cat-head[b-2kq8zed3uk] {
        align-items: flex-start;
    }

    .vim-ba-cat-name[b-2kq8zed3uk] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .vim-ba-chev[b-2kq8zed3uk],
    .vim-ba-cat-amt[b-2kq8zed3uk] {
        margin-top: 1px;
    }
}

/* -- Phone (US-1043, A3): 44px tap targets on the details column and the
   document pane. Desktop keeps the compact reference sizes above. -- */
@media (max-width: 767.98px) {
    /* Edit Invoice footer (O8): Cancel keeps its width, Save fills the rest. */
    .vim-edit-actions .lw-page-action[b-2kq8zed3uk] {
        height: 44px;
        justify-content: center;
    }

    .vim-edit-actions .lw-page-action--primary[b-2kq8zed3uk] {
        flex: 1 1 auto;
    }

    /* "Edit" header links (Invoice details, Budget Allocation). */
    .vim-edit-link[b-2kq8zed3uk] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
        padding: 0 8px;
    }

    /* Allocation line items wrap like their category names instead of
       ellipsizing; the amount holds the first line. */
    .vim-ba-item[b-2kq8zed3uk] {
        align-items: flex-start;
    }

    .vim-ba-item-name[b-2kq8zed3uk] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    /* Lien release "View PDF". */
    .vim-lien-view[b-2kq8zed3uk] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 8px;
    }

    /* Document pane: Invoice | Photos + From Project / Upload New wrap onto
       two rows at 360 instead of overflowing; each control is 44px. */
    .vim-pane-tabs[b-2kq8zed3uk] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .vim-pane-tab[b-2kq8zed3uk],
    .vim-pane-action[b-2kq8zed3uk] {
        height: 44px;
    }

    /* Per-file toolbar: the name keeps at least ~140px (ellipsized, full name
       in its title attribute); when the pager + tools do not fit beside it
       they wrap under it. Pager, Download and Remove are 44px. */
    .lw-drawer-pane-toolbar[b-2kq8zed3uk] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .lw-drawer-pane-file[b-2kq8zed3uk] {
        flex: 1 1 140px;
    }

    .lw-drawer-pane-tools[b-2kq8zed3uk] {
        margin-left: auto;
    }

    .lw-drawer-pane-icon[b-2kq8zed3uk] {
        width: 44px;
        height: 44px;
    }

    /* Upload / attach boxes: selected-file remove and the submit buttons. */
    .vim-file-remove[b-2kq8zed3uk] {
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: -8px -8px -8px 0;
    }

    .vim-upload-submit-btn[b-2kq8zed3uk] {
        height: 44px;
        align-self: stretch;
        justify-content: center;
    }
}

/* US-1102: the invoice rail under the header when the sheet steps through
   several invoices (reference owner-invoice-drawer.tsx chip row): an LwChip
   per invoice -- its number, then the vendor in a lighter weight. The chips
   wrap so every invoice shows at once; phones keep one row that scrolls
   sideways. */
.vim-invoice-rail[b-2kq8zed3uk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 24px;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.vim-invoice-rail-vendor[b-2kq8zed3uk] {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
}

/* US-1165: header previous / next pager (lw-drawer-pane-tools from lw-drawer.css),
   sitting left of the amount. The arrow at either end is muted, not disabled
   (house rule O14): it still takes the tap, which the component ignores. */
.vim-pager[b-2kq8zed3uk] {
    margin-right: 8px;
}

.vim-pager-btn--off[b-2kq8zed3uk],
.vim-pager-btn--off:hover[b-2kq8zed3uk] {
    opacity: 0.4;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: default;
}

@media (max-width: 767.98px) {
    .vim-invoice-rail[b-2kq8zed3uk] {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 16px;
        scrollbar-width: none;
    }

    .vim-invoice-rail[b-2kq8zed3uk]::-webkit-scrollbar {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Modals/ViewInvoiceModalSkeleton.razor.rz.scp.css */
.vims-root[b-88zal8kuk8] {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

/* Shimmer base */
.vims-shimmer[b-88zal8kuk8] {
    background: linear-gradient(
        90deg,
        rgba(211, 214, 224, 0.45) 0%,
        rgba(211, 214, 224, 0.85) 50%,
        rgba(211, 214, 224, 0.45) 100%
    );
    background-size: 200% 100%;
    animation: vims-shimmer-slide-b-88zal8kuk8 1.4s ease-in-out infinite;
    border-radius: 3px;
}

@keyframes vims-shimmer-slide-b-88zal8kuk8 {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Tracker bar */
.vims-tracker[b-88zal8kuk8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
}
.vims-tracker-label[b-88zal8kuk8]   { height: 12px; width: 110px; }
.vims-tracker-summary[b-88zal8kuk8] { height: 18px; width: 90px; }

/* Divider */
.vims-divider[b-88zal8kuk8] {
    height: 1px;
    background: var(--lw-gray-smoke, #D3D6E0);
    margin: 1rem 0;
}

/* Section titles */
.vims-section-title[b-88zal8kuk8]          { height: 14px; width: 130px; margin-bottom: 0.75rem; }
.vims-section-title-inline[b-88zal8kuk8]   { height: 14px; width: 110px; }
.vims-section-title-sm[b-88zal8kuk8]       { height: 12px; width: 70px; margin-bottom: 0.625rem; }

/* Fields grid */
.vims-fields-grid[b-88zal8kuk8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.vims-field[b-88zal8kuk8] { display: flex; flex-direction: column; gap: 6px; }
.vims-field-label[b-88zal8kuk8] { height: 10px; width: 60%; }
.vims-field-value[b-88zal8kuk8] { height: 14px; width: 80%; }

/* Summary lines */
.vims-summary[b-88zal8kuk8] { display: flex; flex-direction: column; gap: 6px; }
.vims-line[b-88zal8kuk8] { height: 12px; }
.vims-line-100[b-88zal8kuk8] { width: 100%; }
.vims-line-90[b-88zal8kuk8]  { width: 90%; }
.vims-line-70[b-88zal8kuk8]  { width: 70%; }

/* Attachments header */
.vims-attach-header[b-88zal8kuk8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.vims-attach-actions[b-88zal8kuk8] { display: flex; gap: 0.375rem; }
.vims-btn[b-88zal8kuk8] { height: 28px; width: 92px; }

/* Document rows */
.vims-doc-list[b-88zal8kuk8] { display: flex; flex-direction: column; gap: 4px; }
.vims-doc-row[b-88zal8kuk8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
}
.vims-doc-icon[b-88zal8kuk8] { width: 40px; height: 40px; flex-shrink: 0; border-radius: 0; }
.vims-doc-info[b-88zal8kuk8] { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.vims-doc-name[b-88zal8kuk8] { height: 12px; width: 60%; }
.vims-doc-meta[b-88zal8kuk8] { height: 10px; width: 40%; }

/* Photos */
.vims-photos-section[b-88zal8kuk8] { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.75rem; }
.vims-image-tiles[b-88zal8kuk8] { display: flex; gap: 8px; }
.vims-image-tile[b-88zal8kuk8] { width: 76px; height: 76px; border-radius: 0; }

/* Phone (US-1043): mirror the real details column at phone width -- the
   Invoice details card is one .lw-field-rows list (label left, value right),
   documents live in the Document pane (not the details column), and photo
   tiles wrap. Keeps the fade-in from jumping geometry. */
@media (max-width: 767.98px) {
    .vims-fields-grid[b-88zal8kuk8] {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vims-field[b-88zal8kuk8] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 32px;
        padding: 10px 0;
        border-bottom: 1px solid var(--lw-border);
    }

    .vims-field:last-child[b-88zal8kuk8] { border-bottom: none; }
    .vims-field-label[b-88zal8kuk8] { width: 30%; }
    .vims-field-value[b-88zal8kuk8] { width: 40%; }

    .vims-attach-header[b-88zal8kuk8],
    .vims-doc-list[b-88zal8kuk8] { display: none; }

    .vims-image-tiles[b-88zal8kuk8] { flex-wrap: wrap; }
}
/* _content/Ledgerwise/Components/Modals/VoidInvoiceModal.razor.rz.scp.css */
/* Void-invoice dialog (US-930): title-only header (US-1043: no icon in dialog headers),
   same anatomy as RejectInvoiceModal. All chrome from --lw-* tokens. */

/* The invoice being voided: vendor, then number and amount, between the note and the reason. */
.vim-invoice-row[b-9fuyzkru0h] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-secondary);
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.vim-invoice-row span[b-9fuyzkru0h] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* Character counter under the reason (LwTextField has no Counter, US-1043). */
.vim-counter[b-9fuyzkru0h] {
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    text-align: right;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* O14: Void stays enabled while it runs; the spinner + aria-busy say so. */
.lw-modal-destructive[aria-busy="true"][b-9fuyzkru0h] {
    cursor: progress;
}

/* Phones (US-1043): long vendor names and invoice numbers wrap inside the row
   instead of pushing the sheet wider than 360px. */
@media (max-width: 767.98px) {
    .vim-invoice-row[b-9fuyzkru0h],
    .vim-invoice-row strong[b-9fuyzkru0h],
    .vim-invoice-row span[b-9fuyzkru0h] {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Modals/WireInstructionsModal.razor.rz.scp.css */
/* WireInstructionsModal -- shown after a Project Owner approves a payment
   request by wire. Shell/header/footer chrome comes from the lw-modal atoms,
   the banner from LwCardNote and the detail rows from .lw-modal-summary
   (US-798, 2026-09-02: migrated off the bespoke wim-* shell so it shares the
   phone bottom-sheet geometry); only the instructions block is styled here. */

.wim-instructions[b-e8o93jyr5t] {
    margin-top: 1rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    padding: 0.875rem 1rem;
    background: var(--lw-white);
}

.wim-instructions-head[b-e8o93jyr5t] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--lw-border);
    color: var(--lw-text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.wim-instructions-head[b-e8o93jyr5t]  .wim-instructions-icon.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite);
}

/* The rows sit inside the instructions card, so the summary drops its own frame. */
.wim-summary[b-e8o93jyr5t] {
    padding: 0;
    border: 0;
    border-radius: 0;
}

.wim-mono[b-e8o93jyr5t] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.wim-note[b-e8o93jyr5t] {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

/* -- Copy / Download action row -- */
.wim-actions-row[b-e8o93jyr5t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.wim-btn[b-e8o93jyr5t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 32px;
    padding: 0 1rem;
    border-radius: var(--lw-radius-control);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.wim-btn[b-e8o93jyr5t]  .wim-btn-icon.mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.wim-btn-outline[b-e8o93jyr5t] {
    width: 100%;
    background: var(--lw-white);
    color: var(--lw-text-primary);
    border: 1px solid var(--lw-input-border);
}

.wim-btn-outline:hover:not(:disabled)[b-e8o93jyr5t] {
    background: var(--lw-bg-muted);
}

.wim-btn-outline:disabled[b-e8o93jyr5t] {
    opacity: 0.6;
    cursor: not-allowed;
}
/* _content/Ledgerwise/Components/Pages/Admin/AddCommunityBudgetTemplateDialog.razor.rz.scp.css */
/* Canonical dialog body stack; footer bleeds out of the 24px LwModalBody
   padding (same recipe as AddInteriorDesignerInlineDialog). */
.dlg-fields[b-qmwlxfabv1] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* lw-modal--scroll: the body clips, this region scrolls, footer stays pinned. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.dlg-footbleed[b-qmwlxfabv1] {
    flex-shrink: 0;
}

.dlg-footbleed[b-qmwlxfabv1] {
    margin: 16px -24px -24px;
}

.dlg-section[b-qmwlxfabv1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dlg-section-title[b-qmwlxfabv1] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.dlg-section-sub[b-qmwlxfabv1] {
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.dlg-hint[b-qmwlxfabv1] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Two-column format example -- lw-table header/row tokens at mini scale. */
.dlg-format-table[b-qmwlxfabv1] {
    max-width: 400px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    overflow: hidden;
}

.dlg-format-table table[b-qmwlxfabv1] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dlg-format-table th[b-qmwlxfabv1] {
    padding: 8px 12px;
    text-align: left;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
    background: var(--lw-bg-table-header);
    border-bottom: 1px solid var(--lw-border);
}

.dlg-format-table td[b-qmwlxfabv1] {
    padding: 6px 12px;
    color: var(--lw-text-primary);
    border-bottom: 1px solid var(--lw-border);
}

.dlg-format-table tr:last-child td[b-qmwlxfabv1] {
    border-bottom: none;
}

/* Inline extraction-in-progress row. */
.dlg-busy-note[b-qmwlxfabv1] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    font-size: 14px;
    color: var(--lw-text-primary);
}

/* Extracted category/line-item preview list. */
.dlg-extract-list[b-qmwlxfabv1] {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dlg-extract-cat[b-qmwlxfabv1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dlg-extract-cat-name[b-qmwlxfabv1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.dlg-extract-cat-name[b-qmwlxfabv1]  .mud-icon-root {
    color: var(--lw-gray-graphite);
}

.dlg-extract-item[b-qmwlxfabv1] {
    padding-left: 22px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Admin/AddVendorDialog.razor.rz.scp.css */
/* Field stack per the canonical dialog body (gap-16); footer bleeds out of
   the 24px LwModalBody padding (same recipe as AddInteriorDesignerInlineDialog). */
.dlg-fields[b-poptq2we3q] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-grid2[b-poptq2we3q] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dlg-footbleed[b-poptq2we3q] {
    margin: 16px -24px -24px;
}

.dlg-hint[b-poptq2we3q] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.dlg-hint strong[b-poptq2we3q] {
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-semibold);
}
/* _content/Ledgerwise/Components/Pages/Admin/AdminBusinessDashboard.razor.rz.scp.css */
/* Administrator dashboard (US-1249) -- page layout and the page's own compositions.
   Source: the approved design (HANDOFF.md + mockup.dc.html, 2026-11-18). Measured values:
     page      one column, 1360px at most, 24px between sections; 28px side padding
               (16px on a phone); the app's muted page background (the builder dashboard's)
     title     heading font 24px / 700 / -0.02em; subtitle 14px content-secondary, 6px under
     tiles     grid repeat(auto-fit, minmax(250px, 1fr)), 16px gap
     rows      flex-wrap, 16px gap; wide card flex 2 1 560px, narrow card flex 1 1 320px
     cards     white, hairline, radius 8, card shadow, padding 20 22; 16px between blocks
               (14px in the narrow cards); h2 heading font 16px / 700; sub 13px
     card foot hairline over it, 12px above, 13px
     steps     14px rail with a 12px dot and a 2px line; name 13.5px / 600, sub 12.5px,
               amount 15px / 600; 14px between steps
     lists     rows padding 10 0 under a hairline, 12px gap; name 13.5px / 600, sub 12.5px;
               date badge 42px square, radius 8
     table     13px; header 12px / 600 on the table-header fill; cells padding 12 (22 at the
               card's edges); total row on the table-header fill over a Smoke line
     sheet     hero heading font 34px / 700 / -0.02em; muted tiles radius 8, padding 14 16;
               meter rows 130 / 1fr / 120 (methods) and 170 / 1fr / 110 (builders);
               facts 160px / 1fr with 10px between rows
   The chrome of every control is its atom's (LwStatTile, LwColumnChart, LwMeter, LwLegend,
   LwSegmented, LwSideSheet, LwChip, StatusChip, LwCallout, LwToggle, lw-page-action,
   lw-page-search). What is styled here is layout, and the few compositions that are this
   page's alone (the steps, the list rows, the table).

   Text that the design sets in its lighter grey (axis-like notes, the footnote) is
   content-secondary here: the lighter grey is 3.3:1 on white, and small text needs 4.5:1.
   Content-secondary itself is 4.8:1 on white but 4.35:1 on the muted fill, so secondary text
   that sits on the muted fill (the subtitle and the footnote on the page background, the
   labels of the sheet's muted tiles, the forecast explanation) steps up to grayscale Arsenic.

   The sheet's content is written in this file's component, so it carries this scope even
   though LwSideSheet renders it. */

/* ---- Page frame ---- */

.abd-page[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 28px 28px 48px;
    box-sizing: border-box;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
}

.abd-titlebar[b-94wz8rjxqu] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.abd-titlebar-text[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.abd-title[b-94wz8rjxqu] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 24px;
    font-weight: var(--lw-font-bold);
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--lw-text-primary);
}

.abd-subtitle[b-94wz8rjxqu] {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-arsenic);
}

.abd-titlebar-actions[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.abd-callout-text[b-94wz8rjxqu] {
    margin: 0 0 12px;
}

/* ---- Tiles ---- */

.abd-kpis[b-94wz8rjxqu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.abd-delta[b-94wz8rjxqu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: var(--lw-font-medium);
}

.abd-delta--up[b-94wz8rjxqu] {
    color: var(--lw-status-success-fg);
}

.abd-delta[b-94wz8rjxqu]  .mud-icon-root {
    width: 13px;
    height: 13px;
    font-size: 13px;
}

/* The split bar's legend: its two ends sit under the bar's two ends. */
.abd-tile-legend[b-94wz8rjxqu] {
    display: block;
}

.abd-tile-legend[b-94wz8rjxqu]  .lw-legend {
    display: flex;
    justify-content: space-between;
    gap: 2px 8px;
}

/* One square per project. The row fills the tile; a second row starts when squares would
   drop under 8px. */
.abd-squares[b-94wz8rjxqu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8px, 1fr));
    gap: 3px;
}

.abd-square[b-94wz8rjxqu] {
    display: block;
    height: 8px;
    border-radius: 2px;
    background: var(--lw-gray-smoke);
}

.abd-square--on[b-94wz8rjxqu] {
    background: var(--lw-chart-2);
}

/* ---- Rows of cards ---- */

.abd-row[b-94wz8rjxqu] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.abd-card[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
}

.abd-card--wide[b-94wz8rjxqu] {
    flex: 2 1 560px;
}

.abd-card--narrow[b-94wz8rjxqu] {
    flex: 1 1 320px;
    gap: 14px;
}

.abd-card--flush[b-94wz8rjxqu] {
    gap: 0;
    padding: 0;
}

.abd-card-head[b-94wz8rjxqu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.abd-card-head--baseline[b-94wz8rjxqu] {
    align-items: baseline;
}

/* A head whose right side (a legend, a switch) stays at the top right: the title and its
   subtitle take what is left and wrap, instead of pushing the right side onto its own row. */
@media (min-width: 768px) {
    .abd-card-head--split[b-94wz8rjxqu] {
        flex-wrap: nowrap;
    }

    .abd-card-head--split .abd-card-head-text[b-94wz8rjxqu] {
        flex: 1 1 auto;
    }

    .abd-card-head--split[b-94wz8rjxqu]  .lw-legend {
        flex: none;
    }
}

.abd-card-head-text[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.abd-card-title-row[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.abd-card-title[b-94wz8rjxqu] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 16px;
    font-weight: var(--lw-font-bold);
    line-height: 1.4;
    color: var(--lw-text-primary);
}

.abd-card-sub[b-94wz8rjxqu] {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

/* At the bottom of its card: two cards in a row are as tall as the taller one, and the
   spare height belongs above the foot, not under it. */
.abd-card-foot[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--lw-border);
    font-size: 13px;
}

.abd-foot-summary[b-94wz8rjxqu] {
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.abd-foot-summary strong[b-94wz8rjxqu] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.abd-foot-links[b-94wz8rjxqu] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* A link-styled action: a button that reads as a link, and the page's own links. */
.abd-link[b-94wz8rjxqu] {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    text-decoration: none;
}

.abd-link:hover[b-94wz8rjxqu] {
    color: var(--lw-primary-blue-dark);
    text-decoration: underline;
}

.abd-link--strong[b-94wz8rjxqu] {
    font-weight: var(--lw-font-semibold);
}

.abd-link:focus-visible[b-94wz8rjxqu],
.abd-btn-sm:focus-visible[b-94wz8rjxqu],
.abd-step--button:focus-visible[b-94wz8rjxqu],
.abd-list-row--button:focus-visible[b-94wz8rjxqu],
.abd-project-btn:focus-visible[b-94wz8rjxqu],
.abd-callout-link:focus-visible[b-94wz8rjxqu] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* A small outline button (30px): "Connect HubSpot", "Edit discount". The outline family of
   lw-page-action at the design's smaller size. */
.abd-btn-sm[b-94wz8rjxqu] {
    flex: none;
    height: 30px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 12.5px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    transition: background 0.15s ease;
}

.abd-btn-sm:hover[b-94wz8rjxqu] {
    background: var(--lw-bg-secondary);
}

/* The "Show waived fees" switch and its words: one target. */
.abd-switch[b-94wz8rjxqu] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    white-space: nowrap;
    cursor: pointer;
    font-size: 13px;
    color: var(--lw-text-primary);
}

/* ---- Where revenue stands ---- */

.abd-steps[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.abd-step[b-94wz8rjxqu] {
    display: flex;
    gap: 14px;
    width: 100%;
}

/* The app's global button style centres a button's content; a step is laid out like the
   plain step above it. */
.abd-step--button[b-94wz8rjxqu] {
    align-items: stretch;
    justify-content: flex-start;
    margin: 0;
    padding: 0 6px 0 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    cursor: pointer;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    text-align: left;
}

.abd-step--button:hover:not(:disabled)[b-94wz8rjxqu] {
    background: var(--lw-bg-table-header);
}

.abd-step--button:disabled[b-94wz8rjxqu] {
    cursor: default;
}

.abd-step-rail[b-94wz8rjxqu] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 14px;
}

.abd-step-dot[b-94wz8rjxqu] {
    flex: none;
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    box-sizing: border-box;
}

/* Further from cash, lighter: not yet a deal, expected, booked, in the bank. */
.abd-step-dot--pipeline[b-94wz8rjxqu] { border: 2px dashed var(--lw-gray-steel); }
.abd-step-dot--projected[b-94wz8rjxqu] { background: var(--lw-gray-space); }
.abd-step-dot--booked[b-94wz8rjxqu] { background: var(--lw-primary-blue); }
.abd-step-dot--collected[b-94wz8rjxqu] { background: var(--lw-primary-dark); }

.abd-step-line[b-94wz8rjxqu] {
    flex: 1 1 auto;
    width: 2px;
    background: var(--lw-bg-secondary);
}

.abd-step-body[b-94wz8rjxqu] {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding-bottom: 14px;
}

.abd-step--last .abd-step-body[b-94wz8rjxqu] {
    padding-bottom: 0;
}

.abd-step-text[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.abd-step-name[b-94wz8rjxqu] {
    font-size: 13.5px;
    font-weight: var(--lw-font-semibold);
}

.abd-step-sub[b-94wz8rjxqu] {
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
}

.abd-step-amount[b-94wz8rjxqu] {
    flex: none;
    font-size: 15px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The sketch of an amount that is on its way: the size of the figure it stands for. */
.abd-step-amount--loading[b-94wz8rjxqu] {
    width: 84px;
    height: 20px;
    border-radius: 4px;
    background: var(--lw-bg-secondary);
}

/* A note under the Pipeline step, in line with the steps' text. */
.abd-step-note[b-94wz8rjxqu] {
    margin: -6px 0 14px 28px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* The waived callout sits at the foot of the card, however tall its neighbour makes it. */
.abd-waived-note[b-94wz8rjxqu] {
    margin-top: auto;
}

.abd-waived-note[b-94wz8rjxqu]  .lw-callout-text,
.abd-waived-note[b-94wz8rjxqu]  .lw-callout-text strong {
    font-size: 13px;
    line-height: 1.5;
}

.abd-waived-note[b-94wz8rjxqu]  .lw-callout-text strong {
    font-weight: var(--lw-font-semibold);
}

.abd-callout-link[b-94wz8rjxqu] {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-status-warning-fg);
    text-decoration: underline;
}

/* ---- Lists (Coming up, and every list in the sheet) ---- */

.abd-list[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
}

.abd-eyebrow[b-94wz8rjxqu] {
    margin: 0;
    padding-bottom: 6px;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.abd-list-row[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--lw-border);
    font-size: 13px;
}

.abd-list-row--button[b-94wz8rjxqu] {
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 10px 4px 10px 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    text-align: left;
}

.abd-list-row--button:hover[b-94wz8rjxqu] {
    background: var(--lw-bg-table-header);
}

.abd-list-main[b-94wz8rjxqu] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.abd-list-name[b-94wz8rjxqu] {
    font-size: 13.5px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.abd-list-sub[b-94wz8rjxqu] {
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
}

.abd-list-end[b-94wz8rjxqu] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.abd-list-end--tight[b-94wz8rjxqu] {
    gap: 2px;
}

.abd-list-amount[b-94wz8rjxqu] {
    flex: none;
    font-size: 13.5px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.abd-list-amount--fixed[b-94wz8rjxqu] {
    min-width: 90px;
    text-align: right;
}

.abd-list-fee[b-94wz8rjxqu] {
    flex: none;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.abd-list-more[b-94wz8rjxqu] {
    align-self: flex-start;
    padding-top: 8px;
}

.abd-empty[b-94wz8rjxqu] {
    margin: 0;
    padding: 10px 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* The date badge of a renewal: month over day. Tinted when its notice is out. */
.abd-date[b-94wz8rjxqu] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 42px;
    height: 42px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    color: var(--lw-gray-arsenic);
}

.abd-date--info[b-94wz8rjxqu] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.abd-date-mon[b-94wz8rjxqu] {
    font-size: 10px;
    font-weight: var(--lw-font-semibold);
    line-height: 1;
    text-transform: uppercase;
}

.abd-date-day[b-94wz8rjxqu] {
    font-size: 15px;
    font-weight: var(--lw-font-bold);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

/* ---- Tables ---- */

.abd-table-wrap[b-94wz8rjxqu] {
    overflow-x: auto;
}

.abd-table[b-94wz8rjxqu] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--lw-text-primary);
}

.abd-table--projects[b-94wz8rjxqu] {
    min-width: 900px;
}

.abd-table th[b-94wz8rjxqu] {
    padding: 10px 12px;
    background: var(--lw-bg-table-header);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-gray-graphite);
    text-align: left;
    white-space: nowrap;
}

.abd-table td[b-94wz8rjxqu] {
    padding: 12px;
    vertical-align: middle;
}

.abd-table tbody tr[b-94wz8rjxqu] {
    border-top: 1px solid var(--lw-border);
}

.abd-table--compact th[b-94wz8rjxqu],
.abd-table--compact td[b-94wz8rjxqu] {
    padding: 8px 10px;
}

.abd-table th.abd-num[b-94wz8rjxqu],
.abd-table td.abd-num[b-94wz8rjxqu] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.abd-table .abd-col-first[b-94wz8rjxqu] {
    padding-left: 22px;
}

.abd-table .abd-col-last[b-94wz8rjxqu] {
    padding-right: 22px;
}

.abd-table .abd-col-drawn[b-94wz8rjxqu] {
    width: 150px;
}

/* Room for a project's name on one line or two, however narrow the screen makes the rest. */
.abd-table--projects .abd-col-first[b-94wz8rjxqu] {
    min-width: 200px;
}

.abd-table tfoot tr[b-94wz8rjxqu] {
    border-top: 1px solid var(--lw-gray-smoke);
    background: var(--lw-bg-table-header);
    font-weight: var(--lw-font-semibold);
}

.abd-table-empty[b-94wz8rjxqu] {
    padding: 20px 22px !important;
    color: var(--lw-gray-graphite);
    text-align: left;
}

.abd-strong[b-94wz8rjxqu] {
    font-weight: var(--lw-font-semibold);
}

.abd-muted[b-94wz8rjxqu] {
    color: var(--lw-gray-graphite);
}

.abd-tabular[b-94wz8rjxqu] {
    font-variant-numeric: tabular-nums;
}

/* ---- Projects ---- */

.abd-projects-head[b-94wz8rjxqu] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 22px 14px;
}

.abd-projects-tools[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.abd-filters[b-94wz8rjxqu] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Wide enough for its placeholder at the search field's 14px. */
.abd-search[b-94wz8rjxqu] {
    width: 240px;
}

.abd-project-row[b-94wz8rjxqu] {
    cursor: pointer;
}

.abd-project-row:hover[b-94wz8rjxqu] {
    background: var(--lw-bg-row-hover);
}

.abd-project-row:hover .abd-project-name[b-94wz8rjxqu] {
    color: var(--lw-primary-blue);
}

.abd-project-btn[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    text-align: left;
}

.abd-project-name[b-94wz8rjxqu] {
    font-size: 13.5px;
    font-weight: var(--lw-font-semibold);
}

.abd-project-builder[b-94wz8rjxqu] {
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
}

.abd-drawn[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.abd-drawn-pct[b-94wz8rjxqu] {
    flex: none;
    width: 32px;
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.abd-row-skeleton td[b-94wz8rjxqu] {
    padding-top: 10px;
    padding-bottom: 10px;
}

.abd-footnote[b-94wz8rjxqu] {
    max-width: 900px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--lw-gray-arsenic);
}

/* ---- Drill-down sheet ---- */

.abd-hero[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.abd-hero-value[b-94wz8rjxqu] {
    font-family: var(--lw-font-family-heading);
    font-size: 34px;
    font-weight: var(--lw-font-bold);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.abd-hero-sub[b-94wz8rjxqu] {
    font-size: 13px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.abd-block[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abd-block-title[b-94wz8rjxqu] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    line-height: 1.4;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.abd-block-title--list[b-94wz8rjxqu] {
    margin-bottom: 8px;
}

.abd-meter-row[b-94wz8rjxqu] {
    display: grid;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

/* The amount column holds a figure and its share ("$675,445.80 69.2%"). */
.abd-meter-row--method[b-94wz8rjxqu] {
    grid-template-columns: 130px minmax(0, 1fr) 150px;
}

.abd-meter-row--builder[b-94wz8rjxqu] {
    grid-template-columns: 170px minmax(0, 1fr) 110px;
}

.abd-meter-name[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.abd-meter-name--stacked[b-94wz8rjxqu] {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.abd-meter-value[b-94wz8rjxqu] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.abd-meter-value strong[b-94wz8rjxqu] {
    font-weight: var(--lw-font-semibold);
}

.abd-swatch[b-94wz8rjxqu] {
    display: block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.abd-swatch--chart-1[b-94wz8rjxqu] { background: var(--lw-chart-1); }
.abd-swatch--chart-2[b-94wz8rjxqu] { background: var(--lw-chart-2); }
.abd-swatch--chart-3[b-94wz8rjxqu] { background: var(--lw-chart-3); }

.abd-tiles[b-94wz8rjxqu] {
    display: grid;
    gap: 12px;
}

.abd-tiles--two[b-94wz8rjxqu] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.abd-tiles--three[b-94wz8rjxqu] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.abd-tile[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
}

.abd-tile-label[b-94wz8rjxqu] {
    font-size: 12px;
    color: var(--lw-gray-arsenic);
}

.abd-tile-value[b-94wz8rjxqu] {
    font-size: 18px;
    font-weight: var(--lw-font-bold);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.abd-tile-value--sm[b-94wz8rjxqu] {
    font-size: 17px;
}

.abd-explain[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    font-size: 13px;
    line-height: 1.55;
    color: var(--lw-gray-arsenic);
}

.abd-explain-title[b-94wz8rjxqu],
.abd-explain strong[b-94wz8rjxqu] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.abd-chips[b-94wz8rjxqu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.abd-drawn-block[b-94wz8rjxqu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abd-drawn-head[b-94wz8rjxqu] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
}

.abd-facts[b-94wz8rjxqu] {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    row-gap: 10px;
    margin: 0;
    font-size: 13px;
}

.abd-facts dt[b-94wz8rjxqu] {
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.abd-facts dd[b-94wz8rjxqu] {
    margin: 0;
}

.abd-actions[b-94wz8rjxqu] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* The design's sheet actions are 38px, a step up from the 36px page action. */
.abd-actions .lw-page-action[b-94wz8rjxqu] {
    height: 38px;
}

.abd-view-as[b-94wz8rjxqu] {
    display: contents;
}

/* Read by a screen reader, not shown. */
.abd-visually-hidden[b-94wz8rjxqu] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---- Phones ---- */

@media (max-width: 767.98px) {
    .abd-page[b-94wz8rjxqu] {
        gap: 16px;
        padding: 16px 16px 32px;
    }

    .abd-titlebar[b-94wz8rjxqu] {
        align-items: stretch;
    }

    .abd-titlebar-actions[b-94wz8rjxqu] {
        width: 100%;
    }

    /* The period control takes a row of its own; Export sits under it at a comfortable height. */
    .abd-titlebar-actions[b-94wz8rjxqu]  .lw-segmented {
        flex: 1 1 100%;
    }

    .abd-titlebar-actions .lw-page-action[b-94wz8rjxqu] {
        height: 44px;
    }

    .abd-card[b-94wz8rjxqu] {
        padding: 16px;
    }

    .abd-card--flush[b-94wz8rjxqu] {
        padding: 0;
    }

    .abd-projects-head[b-94wz8rjxqu] {
        align-items: stretch;
        padding: 16px 16px 12px;
    }

    .abd-projects-tools[b-94wz8rjxqu],
    .abd-search[b-94wz8rjxqu] {
        width: 100%;
    }

    .abd-table .abd-col-first[b-94wz8rjxqu] {
        padding-left: 16px;
    }

    .abd-table .abd-col-last[b-94wz8rjxqu] {
        padding-right: 16px;
    }
}

/* The sheet is 580px wide on anything wider than that, so what is inside it only gives way
   on a phone. */
@media (max-width: 599.98px) {
    .abd-meter-row--method[b-94wz8rjxqu],
    .abd-meter-row--builder[b-94wz8rjxqu] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    /* The bar drops under the name and the amount, across the row. */
    .abd-meter-row[b-94wz8rjxqu]  .lw-meter {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .abd-tiles--three[b-94wz8rjxqu] {
        grid-template-columns: minmax(0, 1fr);
    }

    .abd-facts[b-94wz8rjxqu] {
        grid-template-columns: 130px minmax(0, 1fr);
    }
}
/* _content/Ledgerwise/Components/Pages/Admin/AdminDashboard.razor.rz.scp.css */
/* ============================================================
   Admin dashboard -- white title zone + underline tab bar over
   full-bleed tab panels, each tab rendering the canonical
   toolbar bar (lw-page-toolbar) + muted body. Tab chrome mirrors
   the approved Project.razor.css recipe (project detail tabs);
   toolbar/table/empty-state chrome comes from the shared
   lw-page.css / lw-table.css primitives. 2026-07-28.
   ============================================================ */

/* Shell: escape the layout's pa-6 so the white head zone and the
   muted panels bleed edge-to-edge (same recipe as .lw-page-shell). */
.adm-shell[b-533alhoi9u] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    min-height: calc(100% + 48px);
    background: var(--lw-bg-muted);
}

/* White identity zone above the tab strip; the 16px white gap below
   it is painted by the tabbar's own top padding. */
.adm-head-zone[b-533alhoi9u] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--lw-white);
    padding: 20px 24px 0;
}

/* --- Phone section select (US-1043 r5, O3) ------------------ */
/* Below 768px the eleven-tab strip becomes one full-width select naming the
   current tab -- the project detail recipe (Project.razor.css
   .project-tab-switch). It continues the white head zone, 12px under the
   title (the gap the project header keeps above its select), and takes the
   strip's hairline; the MudTabs bar is hidden, its panels keep rendering. */
.adm-tab-switch[b-533alhoi9u] {
    display: none;
}

@media (max-width: 767.98px) {
    .adm-head-zone[b-533alhoi9u] {
        padding: 16px 16px 0;
    }

    .adm-tab-switch[b-533alhoi9u] {
        display: block;
        padding: 12px 16px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    .adm-tab-switch[b-533alhoi9u]  .lw-section-select__trigger {
        height: 44px;
    }

    .adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar {
        display: none;
    }
}

/* --- Tab strip (Project.razor.css recipe) ------------------- */

.adm-tabs[b-533alhoi9u] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.adm-tabs[b-533alhoi9u]  .mud-tabs,
.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-inner,
.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-content,
.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-wrapper {
    background-color: transparent !important;
}

.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar {
    background-color: var(--lw-white) !important;
    border-bottom: 1px solid var(--lw-border);
    border-top: none;
    border-left: none;
    border-right: none;
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 24px 0;
}

.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-inner {
    min-height: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-inner::-webkit-scrollbar {
    display: none;
}

/* Reference tabs are content-sized (shrink-0); Mud's default 160px box
   spreads them across the bar. !important because Mud's width rules win. */
.adm-tabs[b-533alhoi9u]  .mud-tab {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    min-height: 40px;
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

/* 32px between tabs = the project-detail nav row gap. Gap on the flex
   wrapper (the tabs' actual parent) -- margins on .mud-tab lose to Mud. */
.adm-tabs[b-533alhoi9u]  .mud-tabs-tabbar-wrapper {
    gap: 32px;
}

.adm-tabs[b-533alhoi9u]  .mud-tab,
.adm-tabs[b-533alhoi9u]  .mud-tab:hover,
.adm-tabs[b-533alhoi9u]  .mud-tab.mud-tab-active,
.adm-tabs[b-533alhoi9u]  .mud-tab.mud-tab-active:hover {
    background-color: transparent !important;
}

/* Reference tab states: inactive content-secondary; hover AND active are
   foreground (NOT navy); weight stays 500 in every state. */
.adm-tabs[b-533alhoi9u]  .mud-tab:hover {
    color: var(--lw-text-primary);
}

.adm-tabs[b-533alhoi9u]  .mud-tab.mud-tab-active {
    color: var(--lw-text-primary);
}

/* Active-tab indicator -- 2px foreground bar spanning exactly the tab.
   Mud's JS-measured slider drifts against content-sized tabs + wrapper gap,
   so it is disabled and the bar is drawn as an inset box-shadow (::after on
   .mud-tab does not paint; see Project.razor.css). */
.adm-tabs[b-533alhoi9u]  .mud-tab-slider {
    display: none;
}

.adm-tabs[b-533alhoi9u]  .mud-tab.mud-tab-active {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

.adm-tabs[b-533alhoi9u]  .mud-tabs-scroll-button {
    display: none;
}

/* Panels container: full-bleed muted zone flush against the tab line so
   each tab can paint its own white toolbar bar (PanelClass lands on this
   same element -- see the Project.razor.css gotcha). */
.adm-tabs[b-533alhoi9u]  .mud-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.adm-tabs[b-533alhoi9u]  .mud-tabs-panels {
    background-color: var(--lw-bg-muted) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* NOTE: tab HEADER buttons also carry the mud-tab-panel class -- always
   scope panel rules to children of .mud-tabs-panels. */
.adm-tabs[b-533alhoi9u]  .mud-tabs-panels > .mud-tab-panel {
    background-color: var(--lw-bg-muted);
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* The display:flex above out-specifies the UA's [hidden] rule -- re-assert
   it so inactive panels stay hidden. */
.adm-tabs[b-533alhoi9u]  .mud-tabs-panels > .mud-tab-panel[hidden] {
    display: none !important;
}

/* --- Tab bodies --------------------------------------------- */

/* Muted content region under each tab's toolbar bar. */
.adm-body[b-533alhoi9u] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 24px;
}

/* Section title inside the toolbar bar (tabs without filter chips). */
.adm-tabs[b-533alhoi9u]  .lw-section-title {
    line-height: 36px; /* match the 36px action/search controls on the right */
}

/* --- Tables ------------------------------------------------- */

/* shadow-card container for the shared lw-table chrome (pco-table-card
   recipe from the project Adjustments tab). */
.adm-table-card[b-533alhoi9u] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.adm-table-card .lw-table[b-533alhoi9u] {
    min-width: 760px;
}

/* Admin table rows are not clickable -- keep the hover wash but not the
   pointer cursor lw-table-tr carries for row-click tables. */
.adm-table-card[b-533alhoi9u]  .lw-table-tr {
    cursor: default;
}

.adm-truncate[b-533alhoi9u] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Held Invoices: why the payment processor rejected the latest attempt (Bug-836). */
.adm-held-reason[b-533alhoi9u] {
    margin-top: var(--lw-space-1, 4px);
    font-size: var(--lw-text-xs, 0.75rem);
    line-height: 1.3;
    color: var(--lw-gray-graphite);
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adm-num[b-533alhoi9u] {
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
}

/* Column layout stays with the page (lw-table classes carry chrome only).
   All columns left-aligned per the list-column convention. */

/* Stacked body cells: a primary line over a subtle one (name over email, organization
   over role). lw-table-td is a centered flex ROW; flipping it to a column turns its
   align-items:center into HORIZONTAL centering, so stretch the lines back to the left
   edge (full width, so a long line still ellipsizes) and center them vertically instead.
   Body cells only -- the matching header cell stays a row, so its sort chevron sits
   beside the label rather than under it (US-1201). */
.lw-table-td.adm-col-usr-name[b-533alhoi9u],
.lw-table-td.adm-col-usr-org[b-533alhoi9u],
.lw-table-td.adm-col-fb-user[b-533alhoi9u],
.lw-table-td.adm-col-va-org[b-533alhoi9u],
.lw-table-td.adm-col-va-user[b-533alhoi9u] {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
}

/* Users (US-875): identity + email stacked in the first cell, kind chips in the second. */
.adm-col-usr-name[b-533alhoi9u] { flex: 1.6; min-width: 200px; }
.adm-col-usr-type[b-533alhoi9u] { width: 240px; flex-shrink: 0; }
.adm-col-usr-org[b-533alhoi9u] { flex: 1.4; min-width: 180px; }
.adm-col-usr-status[b-533alhoi9u] { width: 150px; flex-shrink: 0; }
.adm-col-usr-login[b-533alhoi9u] { width: 170px; flex-shrink: 0; }

.adm-usr-chips[b-533alhoi9u] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Community Budget Templates */
.adm-col-tpl-name[b-533alhoi9u] { flex: 1.2; min-width: 160px; }
.adm-col-tpl-desc[b-533alhoi9u] { flex: 2; min-width: 200px; }
.adm-col-tpl-pub[b-533alhoi9u] { width: 120px; flex-shrink: 0; }
.adm-col-tpl-sort[b-533alhoi9u] { width: 104px; flex-shrink: 0; }
.adm-col-tpl-created[b-533alhoi9u] { width: 140px; flex-shrink: 0; }

/* Suppliers & Service Providers */
.adm-col-ven-company[b-533alhoi9u] { flex: 1.3; min-width: 150px; }
.adm-col-ven-contact[b-533alhoi9u] { flex: 1; min-width: 120px; }
.adm-col-ven-email[b-533alhoi9u] { flex: 1.4; min-width: 160px; }
.adm-col-ven-type[b-533alhoi9u] { width: 150px; flex-shrink: 0; }
.adm-col-ven-approval[b-533alhoi9u] { width: 150px; flex-shrink: 0; }
.adm-col-ven-payment[b-533alhoi9u] { width: 150px; flex-shrink: 0; }

/* Subcontractors (US-839) */
.adm-col-sub-company[b-533alhoi9u] { flex: 1.3; min-width: 150px; }
.adm-col-sub-contact[b-533alhoi9u] { flex: 1; min-width: 120px; }
.adm-col-sub-email[b-533alhoi9u] { flex: 1.4; min-width: 160px; }
.adm-col-sub-trade[b-533alhoi9u] { flex: 1; min-width: 120px; }
.adm-col-sub-onboarding[b-533alhoi9u] { width: 130px; flex-shrink: 0; }
.adm-col-sub-payment[b-533alhoi9u] { width: 170px; flex-shrink: 0; }

/* Project Fees */
.adm-col-fee-project[b-533alhoi9u] { flex: 1.4; min-width: 180px; }
.adm-col-fee-contractor[b-533alhoi9u] { flex: 1.1; min-width: 140px; }
.adm-col-fee-status[b-533alhoi9u] { width: 160px; flex-shrink: 0; }
.adm-col-fee-cohort[b-533alhoi9u] { width: 170px; flex-shrink: 0; }
.adm-col-fee-discount[b-533alhoi9u] { width: 110px; flex-shrink: 0; }
.adm-col-fee-rate[b-533alhoi9u] { width: 140px; flex-shrink: 0; }

/* Held Invoices -- one row per stuck payment (US-646) */
.adm-col-held-project[b-533alhoi9u] { flex: 1.2; min-width: 150px; }
.adm-col-held-vendor[b-533alhoi9u] { flex: 1; min-width: 130px; }
.adm-col-held-invoice[b-533alhoi9u] { width: 100px; flex-shrink: 0; }
.adm-col-held-amount[b-533alhoi9u] { width: 120px; flex-shrink: 0; }
.adm-col-held-status[b-533alhoi9u] { width: 190px; flex-shrink: 0; }
.adm-col-held-since[b-533alhoi9u] { width: 120px; flex-shrink: 0; }
.adm-col-held-actions[b-533alhoi9u] { width: 140px; flex-shrink: 0; }

.adm-col-rem-project[b-533alhoi9u] { flex: 1.1; min-width: 140px; }
.adm-col-rem-action[b-533alhoi9u] { flex: 1; min-width: 150px; }
.adm-col-rem-subject[b-533alhoi9u] { width: 150px; flex-shrink: 0; }
.adm-col-rem-status[b-533alhoi9u] { width: 110px; flex-shrink: 0; }
.adm-col-rem-sent[b-533alhoi9u] { width: 70px; flex-shrink: 0; }
.adm-col-rem-since[b-533alhoi9u] { width: 120px; flex-shrink: 0; }
.adm-col-rem-next[b-533alhoi9u] { width: 130px; flex-shrink: 0; }
.adm-col-rem-actions[b-533alhoi9u] { width: 120px; flex-shrink: 0; }

/* Product Feedback -- one row per submission, optional inline player (US-757) */
.adm-col-fb-when[b-533alhoi9u] { width: 130px; flex-shrink: 0; }
.adm-col-fb-user[b-533alhoi9u] { flex: 1; min-width: 140px; }
.adm-col-fb-page[b-533alhoi9u] { width: 160px; flex-shrink: 0; }
.adm-col-fb-score[b-533alhoi9u] { width: 90px; flex-shrink: 0; }
.adm-col-fb-comment[b-533alhoi9u] { flex: 2; min-width: 200px; }
.adm-col-fb-video[b-533alhoi9u] { width: 110px; flex-shrink: 0; display: flex; justify-content: flex-end; }
.adm-col-fb-workitem[b-533alhoi9u] { width: 120px; flex-shrink: 0; display: flex; justify-content: flex-end; }
.adm-fb-devops-off[b-533alhoi9u] { display: block; margin-top: 4px; }

.adm-subtle[b-533alhoi9u] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.adm-clamp[b-533alhoi9u] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.adm-fb-player-row[b-533alhoi9u] {
    padding: 8px 16px 16px;
    background: var(--lw-bg-muted);
}

.adm-fb-player[b-533alhoi9u] {
    display: block;
    width: 100%;
    max-width: 960px;
    max-height: 540px;
    margin: 0 auto;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
}

/* Shared trailing icon-button column. */
.adm-col-actions[b-533alhoi9u] {
    width: 96px;
    flex-shrink: 0;
    gap: 4px;
}

/* --- Shadow tab --------------------------------------------- */

/* Current-shadow status line: chip + text on a white card row. */
.adm-shadow-status[b-533alhoi9u] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.adm-shadow-status-text[b-533alhoi9u] {
    font-size: 14px;
    color: var(--lw-gray-graphite);
    min-width: 0;
}

.adm-shadow-status-text[b-533alhoi9u]  strong,
.adm-shadow-status-text strong[b-533alhoi9u] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Candidate picker table: rows ARE clickable (selecting shadows the org) --
   restore the pointer the base .adm-table-card rule removes. */
.adm-table-card--rowclick[b-533alhoi9u]  .lw-table-tr {
    cursor: pointer;
}

.adm-col-va-org[b-533alhoi9u] { flex: 1.4; min-width: 180px; }
.adm-col-va-user[b-533alhoi9u] { flex: 1.6; min-width: 200px; }
.adm-col-va-role[b-533alhoi9u] { width: 170px; flex-shrink: 0; }
.adm-col-va-status[b-533alhoi9u] { width: 150px; flex-shrink: 0; }
.adm-col-va-when[b-533alhoi9u] { width: 210px; flex-shrink: 0; }
.adm-col-va-action[b-533alhoi9u] { width: 120px; flex-shrink: 0; display: flex; justify-content: flex-end; }

/* US-1088: the per-row "View as" control is a real form post (the auth cookie can only be
   swapped by an HTTP response), so the form must take no space of its own. */
.adm-view-as-form[b-533alhoi9u] { display: contents; }
.adm-view-as-btn[b-533alhoi9u] { white-space: nowrap; }

.adm-view-as-recent-title[b-533alhoi9u] { margin-top: 24px; }

.adm-action-danger[b-533alhoi9u] {
    color: var(--lw-status-error-fg);
}

.adm-action-danger[b-533alhoi9u]  .mud-icon-root {
    color: var(--lw-status-error-fg);
}

/* Deploy hold + readiness snapshot (US-717) */
.adm-hold-form[b-533alhoi9u] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 640px;
}

.adm-hold-actions[b-533alhoi9u] {
    display: flex;
    gap: 8px;
}

.adm-readiness-summary[b-533alhoi9u] {
    margin-top: 8px;
}

.adm-col-ready-signal[b-533alhoi9u] { width: 300px; flex-shrink: 0; }
.adm-col-ready-status[b-533alhoi9u] { width: 190px; flex-shrink: 0; }
.adm-col-ready-detail[b-533alhoi9u] { flex: 1; min-width: 200px; }

.adm-wrap[b-533alhoi9u] {
    white-space: normal;
    overflow-wrap: anywhere;
}
/* _content/Ledgerwise/Components/Pages/Admin/CreateFeedbackWorkItemDialog.razor.rz.scp.css */
/* Canonical dialog body stack; footer bleeds out of the 24px LwModalBody
   padding (same recipe as EditProjectFeeDiscountDialog). */
.dlg-fields[b-wyrh7i6skc] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-footbleed[b-wyrh7i6skc] {
    margin: 16px -24px -24px;
}

.dlg-hint[b-wyrh7i6skc] {
    margin: -8px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Admin/EditCommunityBudgetTemplateDialog.razor.rz.scp.css */
/* Canonical dialog body stack; footer bleeds out of the 24px LwModalBody
   padding (same recipe as AddInteriorDesignerInlineDialog). */
.dlg-fields[b-yw828pzt17] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* lw-modal--scroll: the body clips, this region scrolls, footer stays pinned. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.dlg-footbleed[b-yw828pzt17] {
    flex-shrink: 0;
}

.dlg-footbleed[b-yw828pzt17] {
    margin: 16px -24px -24px;
}
/* _content/Ledgerwise/Components/Pages/Admin/EditProjectFeeDiscountDialog.razor.rz.scp.css */
/* Canonical dialog body stack; footer bleeds out of the 24px LwModalBody
   padding (same recipe as AddInteriorDesignerInlineDialog). */
.dlg-fields[b-gwjpsn8xtz] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlg-footbleed[b-gwjpsn8xtz] {
    margin: 16px -24px -24px;
}

.dlg-hint[b-gwjpsn8xtz] {
    margin: -8px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Admin/EditSubcontractorDialog.razor.rz.scp.css */
/* Canonical dialog body stack (same recipe as EditVendorDialog); the EditForm
   wrapper takes the body's flex slot so the field region scrolls and the
   footer stays pinned under lw-modal--scroll. */
.dlg-formhost[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* EditForm renders the <form> element itself, so it never carries this
   component's scope attribute: a plain .dlg-form rule never matched, the form
   grew to full content height, and the fields could not scroll (US-935). */
.dlg-formhost[b-itmmj3fogs]  .dlg-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.dlg-fields[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.dlg-footbleed[b-itmmj3fogs] {
    flex-shrink: 0;
    margin: 16px -24px -24px;
}

.dlg-grid2[b-itmmj3fogs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dlg-grid3[b-itmmj3fogs] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* Autocomplete address beside its suite/unit line (org-grid-address recipe). */
.dlg-grid-address[b-itmmj3fogs] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

@media (max-width: 640px) {
    .dlg-grid2[b-itmmj3fogs],
    .dlg-grid3[b-itmmj3fogs],
    .dlg-grid-address[b-itmmj3fogs] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.dlg-section[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dlg-section + .dlg-section[b-itmmj3fogs] {
    border-top: 1px solid var(--lw-border);
    padding-top: 20px;
}

.dlg-section-title[b-itmmj3fogs] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.dlg-hint[b-itmmj3fogs] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Read-only verification flags: label over chip, wrapping grid. */
.dlg-status-grid[b-itmmj3fogs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px 16px;
}

.dlg-status[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.dlg-status__label[b-itmmj3fogs] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.dlg-status__value[b-itmmj3fogs] {
    font-size: 14px;
    color: var(--lw-text-primary);
}

/* Payout method: chip beside its one-line explanation. */
.dlg-payout[b-itmmj3fogs] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dlg-payout .dlg-hint[b-itmmj3fogs] {
    padding-top: 2px;
}

/* Read-only member rows. */
.dlg-members[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.dlg-member[b-itmmj3fogs] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.dlg-member + .dlg-member[b-itmmj3fogs] {
    border-top: 1px solid var(--lw-border);
}

.dlg-member__identity[b-itmmj3fogs] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.dlg-member__name[b-itmmj3fogs] {
    font-size: 14px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlg-member__email[b-itmmj3fogs] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlg-member__role[b-itmmj3fogs] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}
/* _content/Ledgerwise/Components/Pages/Admin/EditVendorDialog.razor.rz.scp.css */
/* Canonical dialog body stack; footer bleeds out of the 24px LwModalBody
   padding (same recipe as AddInteriorDesignerInlineDialog). */
.dlg-fields[b-5xwzgnww87] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* lw-modal--scroll: the body clips, this region scrolls, footer stays pinned. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.dlg-footbleed[b-5xwzgnww87] {
    flex-shrink: 0;
}

.dlg-grid2[b-5xwzgnww87] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dlg-footbleed[b-5xwzgnww87] {
    margin: 16px -24px -24px;
}

.dlg-section[b-5xwzgnww87] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dlg-section + .dlg-section[b-5xwzgnww87] {
    border-top: 1px solid var(--lw-border);
    padding-top: 20px;
}

.dlg-section-title[b-5xwzgnww87] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.dlg-hint[b-5xwzgnww87] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.dlg-hint strong[b-5xwzgnww87] {
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-semibold);
}
/* _content/Ledgerwise/Components/Pages/Admin/ProjectAccountsTab.razor.rz.scp.css */
/* Admin Project Accounts tab (Bug-938, 2026-09-30).
   source: none -- ledgerwise-ui has no project-account-setup admin surface. Layout copied from
   the dashboard's Held Invoices tab: lw-page-toolbar + LwChip filters, LwCallout, the shared
   lw-table chrome in a shadow card, StatusChip for the state with a clamped reason line, and
   lw-page-action buttons. Column layout stays with the page; only --lw-* tokens. */
.pat-body[b-1a99veg2xp] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 24px;
}

.pat-table-card[b-1a99veg2xp] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.pat-table-card[b-1a99veg2xp]  .lw-table {
    min-width: 1080px;
}

.pat-table-card[b-1a99veg2xp]  .lw-table-tr {
    cursor: default;
}

.pat-col-owner[b-1a99veg2xp] { flex: 1.3; min-width: 170px; display: flex; flex-direction: column; gap: 2px; }
.pat-col-project[b-1a99veg2xp] { flex: 1.2; min-width: 150px; }
.pat-col-builder[b-1a99veg2xp] { flex: 1; min-width: 130px; }
.pat-col-state[b-1a99veg2xp] { flex: 1.6; min-width: 220px; }
.pat-col-since[b-1a99veg2xp] { width: 150px; flex-shrink: 0; }
.pat-col-attempts[b-1a99veg2xp] { width: 84px; flex-shrink: 0; }
.pat-col-latest[b-1a99veg2xp] { flex: 1.6; min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.pat-col-actions[b-1a99veg2xp] { width: 200px; flex-shrink: 0; display: flex; gap: 6px; }

.pat-truncate[b-1a99veg2xp] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pat-sub[b-1a99veg2xp] {
    font-size: var(--lw-text-xs, 0.75rem);
    color: var(--lw-gray-graphite);
}

/* The scrubbed reason under a Needs attention chip, clamped like the Held Invoices reason. */
.pat-reason[b-1a99veg2xp] {
    margin-top: var(--lw-space-1, 4px);
    font-size: var(--lw-text-xs, 0.75rem);
    line-height: 1.3;
    color: var(--lw-gray-graphite);
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pat-latest[b-1a99veg2xp] {
    white-space: normal;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* _content/Ledgerwise/Components/Pages/Admin/UserDetailDialog.razor.rz.scp.css */
/* Canonical dialog body stack (same recipe as EditSubcontractorDialog): the
   field region scrolls and the footer stays pinned under lw-modal--scroll. */
.dlg-fields[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.dlg-footbleed[b-os28pwpipi] {
    flex-shrink: 0;
    margin: 16px -24px -24px;
}

.dlg-section[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dlg-section + .dlg-section[b-os28pwpipi] {
    border-top: 1px solid var(--lw-border);
    padding-top: 20px;
}

.dlg-section-title[b-os28pwpipi] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.dlg-hint[b-os28pwpipi] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Read-only account facts: label over value, wrapping grid. */
.dlg-status-grid[b-os28pwpipi] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px 16px;
}

.dlg-status[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.dlg-status__label[b-os28pwpipi] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.dlg-status__value[b-os28pwpipi] {
    font-size: 14px;
    color: var(--lw-text-primary);
}

.dlg-wrap[b-os28pwpipi] {
    overflow-wrap: anywhere;
}

.dlg-chips[b-os28pwpipi] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Read-only organization and project rows. */
.dlg-members[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.dlg-member[b-os28pwpipi] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.dlg-member + .dlg-member[b-os28pwpipi] {
    border-top: 1px solid var(--lw-border);
}

.dlg-member__identity[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 2px;
}

.dlg-member__name[b-os28pwpipi] {
    font-size: 14px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlg-member__email[b-os28pwpipi] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlg-member__role[b-os28pwpipi] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.dlg-project[b-os28pwpipi] {
    align-items: flex-start;
}

.dlg-project__reasons[b-os28pwpipi] {
    font-size: 12px;
    line-height: 1.4;
    color: var(--lw-text-primary);
    white-space: normal;
}

/* US-935: one onboarding panel per organization. */
.dlg-onboarding[b-os28pwpipi] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dlg-onboarding + .dlg-onboarding[b-os28pwpipi] {
    border-top: 1px dashed var(--lw-border);
    padding-top: 12px;
}

/* Bug-938: the link to a Project Owner's project account history sits left under its panel. */
.dlg-onboarding__history[b-os28pwpipi] {
    align-self: flex-start;
}
/* _content/Ledgerwise/Components/Pages/AgreementsSign.razor.rz.scp.css */
/* AgreementsSign (contractor signs the Ledgerwise builder agreement).
   NO ledgerwise-app reference exists for this surface; token-styled onto the
   shared control-card + lw-table + lw-sign vocabulary instead
   (PreliminaryNotice precedent), 2026-07-28. Layout only -- chrome lives in
   the card atoms, lw-table.css, and lw-sign.css. */

.ags-page[b-wamxn7qlt6] {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* -- Section: uppercase micro-title above the table (pn-section recipe) -- */
[b-wamxn7qlt6] .ags-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-wamxn7qlt6] .ags-section-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-text-primary);
}

/* -- Table card: rounded-card border white shell (pn-table-card recipe) -- */
[b-wamxn7qlt6] .ags-table-card {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

[b-wamxn7qlt6] .ags-table-card .lw-table {
    min-width: 720px;
}

/* Rows are not clickable (row action button instead). */
[b-wamxn7qlt6] .ags-table-card .lw-table-tr {
    cursor: default;
}

/* Column widths; title takes the extra space, action is fixed. */
[b-wamxn7qlt6] .ags-col-title  { flex: 1.4 1 240px; }
[b-wamxn7qlt6] .ags-col-status { flex: 0 0 150px; }
[b-wamxn7qlt6] .ags-col-date   { flex: 0 0 140px; }
[b-wamxn7qlt6] .ags-col-action { flex: 0 0 190px; }

/* Keep the row action label on one line. */
[b-wamxn7qlt6] .ags-col-action .lw-button-native {
    white-space: nowrap;
}

/* -- Signing stage: context chips + Back on one bar, iframe below -- */
[b-wamxn7qlt6] .ags-signing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

[b-wamxn7qlt6] .ags-signing-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

/* Page context: shallower than the fullscreen-dialog stage height. */
[b-wamxn7qlt6] .ags-frame {
    height: calc(100vh - 320px);
    height: calc(100dvh - 320px);
    min-height: 420px;
}

/* Phones (US-1043): the 720px table would scroll sideways, so each pending
   agreement restacks as a card -- title, status chip, created date, then a
   full-width Sign button. Same rows, CSS only. */
@media (max-width: 767.98px) {
    /* The layout already supplies the phone gutter. */
    .ags-page[b-wamxn7qlt6] {
        padding: 0;
    }

    [b-wamxn7qlt6] .ags-table-card {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    [b-wamxn7qlt6] .ags-table-card .lw-table {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: 0;
    }

    [b-wamxn7qlt6] .ags-table-card .lw-table-head {
        display: none;
    }

    [b-wamxn7qlt6] .ags-table-card .lw-table-tr {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }

    [b-wamxn7qlt6] .ags-table-card .lw-table-td {
        flex: 0 0 auto;
        min-height: 0;
        padding: 0;
    }

    [b-wamxn7qlt6] .ags-col-title {
        font-weight: var(--lw-font-semibold, 600);
        overflow-wrap: anywhere;
    }

    [b-wamxn7qlt6] .ags-col-date::before {
        content: attr(data-label) " ";
    }

    [b-wamxn7qlt6] .ags-col-action {
        margin-top: 4px;
    }

    [b-wamxn7qlt6] .ags-col-action .lw-button,
    [b-wamxn7qlt6] .ags-col-action .lw-button-native {
        width: 100%;
        min-height: 44px;
        justify-content: center;
    }

    /* Signing stage: Back is a 44px target and the frame takes the viewport. */
    [b-wamxn7qlt6] .ags-back {
        min-height: 44px;
    }

    [b-wamxn7qlt6] .ags-signing-chips .lw-status-chip {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        height: auto;
    }

    [b-wamxn7qlt6] .ags-frame {
        height: calc(100dvh - 240px);
        min-height: 360px;
    }
}
/* _content/Ledgerwise/Components/Pages/BudgetTemplateEditor.razor.rz.scp.css */
/* Budget template editor (US-1075). The page is the Budget tab's shell under the
   standard page title bar: .bt-page / .bt-body and the budget-table-host card come
   from the shared budget-table.css, the toolbar from BudgetTemplateToolbar, the
   title bar from lw-page.css. Only page-level bits live here. */

/* Loading sketch in the title bar: two skeleton lines where the name and subtitle go. */
.bte-titlebar-skel[b-6qo3n4pbgh] {
    gap: 6px;
    min-width: 0;
}

/* Not-found state: the empty-doc card sits in the page body's inset. */
.bte-missing[b-6qo3n4pbgh] {
    padding: 24px;
}

@media (max-width: 767.98px) {
    .bte-missing[b-6qo3n4pbgh] {
        padding: 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/BudgetTemplates.razor.rz.scp.css */
/* Budget templates list -- page-level only: the info tint on the shared
   .lw-row-tile (status-info tokens; budget/table entity, no filetype). */
.lw-budget-template-tile[b-4py7kot2ez] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

/* No-match card: the outline action sits clear of the copy (the MudButton it
   replaced carried mt-2). */
.bt-clear[b-4py7kot2ez] {
    margin-top: 8px;
}

/* ---- Phone facts (LwListRow MobileTrailing, hidden >= 768px) ----
   The two counts read as one meta line under the name ("30 categories . 110 line
   items", figures in the primary text color); Created stays a label / value line,
   the Proposals inbox recipe (.prop-m-fact). */
.bt-m-facts[b-4py7kot2ez] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bt-m-counts[b-4py7kot2ez] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 6px;
    min-width: 0;
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
    color: var(--lw-gray-graphite);
}

.bt-m-count[b-4py7kot2ez] {
    white-space: nowrap;
}

.bt-m-count-num[b-4py7kot2ez] {
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.bt-m-fact[b-4py7kot2ez] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.bt-m-fact-label[b-4py7kot2ez] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.bt-m-fact-value[b-4py7kot2ez] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

@media (max-width: 767.98px) {
    /* Title bar: no page override. The shared .lw-page-titlebar (lw-page.css) owns the
       phone layout, so New Template renders as on /projects: label width, 44px tall,
       on its own row under the subtitle. */

    /* ---- List rows as phone cards (LwListCard phone-cards owns the card chrome) ----
       Every row is LwListRow's split variant (it has an Actions cell): the card's 12px
       padding replaces the link region's own inset, and the link wraps so the facts
       block (MobileTrailing) drops under the identity instead of crushing the name.
       Same rules as Proposals .prop-body. */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-list-row-link {
        flex-wrap: wrap;
        row-gap: 4px;
        padding: 0;
    }

    /* No icon tile on phones: it is the same glyph on every card, and it indented
       the whole card 56px. Without it the name, counts and date use the full width. */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-row-tile {
        display: none;
    }

    /* 36px keeps the name clear of the row menu, which is pinned to the card's
       top right corner (below) instead of taking a column of its own. */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-list-row-lead {
        align-items: flex-start;
        padding-right: 36px;
    }

    /* Full card width: the atom's 56px indent only exists to clear a tile/avatar.
       min-width lets a long fact value ellipsize inside the block. */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-list-row-trailing-mobile {
        flex-basis: 100%;
        margin-left: 0;
        min-width: 0;
    }

    /* Template name and description get two lines each (desktop: one, ellipsized). */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-row-title,
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-row-sub {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-row-title {
        line-height: 20px;
    }

    /* Row menu: 44px trigger pinned to the card's top right corner. The card pads
       12px and the name's first line is 20px tall, so the line's center (22px) is
       the trigger's center: the dots sit on the title line. Out of flow so the
       tappable link region, and the facts inside it, span the whole card. */
    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-list-row {
        position: relative;
    }

    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-list-row-actions {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .bt-body[b-4py7kot2ez]  .lw-budget-template-list .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* First-run state: the create CTA fills the card (44px comes from lw-page.css). */
    .bt-body[b-4py7kot2ez]  .lw-empty-action {
        width: 100%;
    }

    .bt-body[b-4py7kot2ez]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/AddClient.razor.rz.scp.css */
/* Add-project-owner wizard -- PAGE-SPECIFIC step bodies only. The wizard
   shell (pw-shell / pw-rail* / pw-main / pw-content / pw-stack / pw-cc-link)
   lives in css/components/lw-wizard.css. Field grids mirror the approved
   Contractor/Client detail pages. */

[b-g4gtwjhsmf] .acl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-g4gtwjhsmf] .acl-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

[b-g4gtwjhsmf] .acl-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 767.98px) {
    [b-g4gtwjhsmf] .acl-grid2,
    [b-g4gtwjhsmf] .acl-grid3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Review step: reference Field label/value grid (1 -> 2 -> 3 columns). */
[b-g4gtwjhsmf] .acl-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    [b-g4gtwjhsmf] .acl-review {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    [b-g4gtwjhsmf] .acl-review {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

[b-g4gtwjhsmf] .acl-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

[b-g4gtwjhsmf] .acl-field-label {
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

[b-g4gtwjhsmf] .acl-field-value {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

/* The footer wrapper only exists as a ::deep anchor. */
.acl-footer-slot[b-g4gtwjhsmf] {
    display: contents;
}

/* Phones (US-1043): 44px tap targets. Same footer recipe as the vendor wizard
   (.av-footer-slot). */
@media (max-width: 767.98px) {
    [b-g4gtwjhsmf] .acl-tips {
        min-height: 44px;
        padding: 0 4px;
        white-space: nowrap;
    }

    .acl-footer-slot[b-g4gtwjhsmf]  .ob-step-footer {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .acl-footer-slot[b-g4gtwjhsmf]  .ob-step-footer__back-btn,
    .acl-footer-slot[b-g4gtwjhsmf]  .ob-step-footer__primary {
        height: 44px;
    }

    .acl-footer-slot[b-g4gtwjhsmf]  .ob-step-footer__primary {
        min-width: 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/Client.razor.rz.scp.css */
/* Project Owner detail page. The header is the shared LwEntityHeader (the
   project detail header pattern, US-1043 r2): no title-bar actions -- back is
   the shell breadcrumb / nav and each card saves itself. Muted body of
   full-width stacked ControlCards with per-card Edit (Contractor /
   MyOrganization recipe). Layout only. */

/* The plain title bar is only the loading / not-found fallback; it holds the
   loaded header's desktop height (20 + 56 avatar + 20) so the page does not
   jump when the record arrives. */
[b-svskfa628b] .lw-page-titlebar {
    min-height: 96px;
}

/* Per-card edit foot (= Contractor .co-edit-actions / MyOrganization
   .org-edit-actions). The header Edit button is the shared .lw-card-action. */
[b-svskfa628b] .cl-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

@media (max-width: 599px) {
    [b-svskfa628b] .cl-edit-actions .lw-button:last-child {
        flex: 1 1 auto;
    }

    [b-svskfa628b] .cl-edit-actions .lw-button:last-child .lw-button-native {
        width: 100%;
    }
}

[b-svskfa628b] .cl-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    flex: 1;
}

[b-svskfa628b] .cl-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

[b-svskfa628b] .cl-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-svskfa628b] .cl-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

[b-svskfa628b] .cl-grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 767.98px) {
    [b-svskfa628b] .cl-grid2,
    [b-svskfa628b] .cl-grid3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Record details uses the shared .lw-field-rows (app.css); no page rules. */

/* Error / not-found states */
[b-svskfa628b] .cl-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 560px;
}

[b-svskfa628b] .cl-state--center {
    align-items: center;
    align-self: center;
    text-align: center;
    padding: 48px 0;
}

[b-svskfa628b] .cl-state-icon.mud-icon-root {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--lw-gray-graphite);
}

[b-svskfa628b] .cl-state-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 18px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

[b-svskfa628b] .cl-state-sub {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

/* Owners card (US-856): stacked PartyMemberRow roster with a right-aligned
   status cluster (signed-in chip over a muted "last signed in" caption). */
[b-svskfa628b] .cl-owners {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-svskfa628b] .cl-owners-empty {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

[b-svskfa628b] .cl-owner-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

[b-svskfa628b] .cl-owner-since {
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-space);
    white-space: nowrap;
}

/* Phones (US-1043 r2, issue 15): the header is LwEntityHeader's own phone
   layout; nothing of it is styled here. */
@media (max-width: 767.98px) {
    [b-svskfa628b] .lw-page-titlebar {
        min-height: 0;
    }

    /* Card-header Edit: 44px from 600px up to the phone breakpoint too (the
       shared .lw-card-action rule covers under 600px). */
    [b-svskfa628b] .cl-card-edit {
        height: 44px;
    }

    [b-svskfa628b] .cl-body {
        gap: 16px;
        padding: 16px;
    }

    [b-svskfa628b] .cl-cards {
        gap: 16px;
    }

    /* The signed-in chip and "last signed in" caption sit under the owner
       instead of squeezing the name. */
    [b-svskfa628b] .cl-owner-status {
        align-items: flex-start;
    }

    [b-svskfa628b] .cl-owner-since {
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/ClientClosingAgreement.razor.rz.scp.css */
/* Project Owner closing-agreement page (US-514) -- page-level layout only; same figure rows as
   the builder's Complete-project wizard (CloseProject.razor.css). Chrome comes from WizardShell,
   ControlCard and the shared Form 5119 components. */

.cca-figures[b-1bm5u9lqyl] {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.cca-figure[b-1bm5u9lqyl] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--lw-border);
}

.cca-figure:first-child[b-1bm5u9lqyl] {
    border-top: 0;
    padding-top: 0;
}

.cca-figure dt[b-1bm5u9lqyl] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

.cca-figure dd[b-1bm5u9lqyl] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: var(--bs-body-color);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.cca-figure--total dt[b-1bm5u9lqyl],
.cca-figure--total dd[b-1bm5u9lqyl] {
    font-size: 16px;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.cca-note[b-1bm5u9lqyl] {
    margin: 12px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.cca-footer-slot[b-1bm5u9lqyl] {
    display: contents;
}
/* _content/Ledgerwise/Components/Pages/Client/ClientListQuickTipsDialog.razor.rz.scp.css */
/* ClientListQuickTipsDialog content chrome only -- mirrors the canonical
   quick-tips recipe in Modals/ClientQuickTipsDialog.razor.css (qt-*).
   Dialog frame/header/body/footer come from the lw-modal pattern. */

.clqt-grid[b-ioaqiitcjv] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 960px) {
    .clqt-grid[b-ioaqiitcjv] { grid-template-columns: repeat(2, 1fr); }
}

.clqt-col[b-ioaqiitcjv] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clqt-tip-title[b-ioaqiitcjv] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.clqt-tip-title[b-ioaqiitcjv]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-primary-blue);
}

.clqt-tip-body[b-ioaqiitcjv] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.clqt-tip-list[b-ioaqiitcjv] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clqt-tip-list li[b-ioaqiitcjv] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.clqt-tip-list b[b-ioaqiitcjv],
.clqt-tip-body b[b-ioaqiitcjv] {
    font-weight: 600;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProject.razor.rz.scp.css */
/* -- Page wrapper -- */
/* MainLayout wraps @Body in <MudContainer Class="pa-6"> (24px padding all sides).
   The Next.js reference (project-header.tsx) renders the header edge-to-edge of
   the <main>, with the 24px inset coming entirely from the header's own px-6.
   We escape the parent's pa-6 with a negative margin so the header + tabs span
   the full main-content width and match the Next.js layout. */
.cp-page[b-1m9ut2szwx] {
    display: flex;
    flex-direction: column;
    margin: -1.5rem -1.5rem 0;
}

/* -- Project Header -- */
.cp-header[b-1m9ut2szwx] {
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    padding: 1.25rem 1.5rem 0;
}

/* The identity zone is the builder's LwProjectHeader: .cp-header already gives the 20px/24px
   inset (16px on phones), so the component's own inset is dropped here and the tab strip
   keeps its 1rem gap below it, as before. */
.cp-header[b-1m9ut2szwx]  .lw-ph-desktop,
.cp-header[b-1m9ut2szwx]  .lw-ph-mobile {
    padding: 0;
}

.cp-header[b-1m9ut2szwx]  .lw-project-header {
    margin-bottom: 1rem;
}

.cp-identity[b-1m9ut2szwx] {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    margin-bottom: 1rem; /* reference: tab strip is mt-4 below the identity zone */
}

/* Avatar is the shared LwAvatar atom (56px squircle, brand gradient,
   address-number label / house glyph fallback) -- no local avatar chrome. */

.cp-info[b-1m9ut2szwx] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* gap-1 */
}

/* Name row: project name + status badge */
.cp-name-row[b-1m9ut2szwx] {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    flex-wrap: wrap;
}

.cp-name[b-1m9ut2szwx] {
    font-size: var(--lw-title-size); /* 22px */
    font-weight: var(--lw-title-weight);
    line-height: 2rem; /* leading-8 */
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
    font-family: var(--lw-font-family);
}

/* Phone-only subline; see the phone block at the bottom of this file. */
.cp-mobile-sub[b-1m9ut2szwx] {
    display: none;
}

/* Status pills are the shared StatusChip component (Badge md idiom:
   h-6, px-1.5, 11px bold uppercase, radius --lw-radius-control, token
   tone pairs) -- no local pill chrome. */

/* Metadata row: status chip + address, PM, dates (reference gap-x-3 gap-y-1.5) */
.cp-meta-row[b-1m9ut2szwx] {
    display: flex;
    align-items: center;
    column-gap: 0.75rem; /* gap-x-3 */
    row-gap: 0.375rem; /* gap-y-1.5 */
    flex-wrap: wrap;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem; /* leading-5 */
    color: var(--lw-gray-graphite);
}

.cp-meta-item[b-1m9ut2szwx] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem; /* gap-1.5 */
}

/* Meta icons = reference size-3.5 (14px) muted-foreground. MudIcon is a
   child component -- ::deep + .mud-icon-root to out-specific Mud's sizing. */
.cp-meta-item[b-1m9ut2szwx]  .cp-meta-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

/* Header actions: right-aligned buttons (Add Funds, Back) */
.cp-actions[b-1m9ut2szwx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}


/* Tab navigation strip */
.cp-tab-nav[b-1m9ut2szwx] {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.cp-tab[b-1m9ut2szwx] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    font-family: var(--lw-font-family);
    white-space: nowrap;
}

.cp-tab:hover[b-1m9ut2szwx] {
    color: var(--lw-text-primary);
}

.cp-tab.active[b-1m9ut2szwx] {
    color: var(--lw-text-primary);
}

.cp-tab.active[b-1m9ut2szwx]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--lw-text-primary);
}

/* Tab count badge (reference TabBadge, non-critical tone): 20px square,
   rounded-lg (8px), 11px semibold, grey-cloud bg + grey-arsenic text. */
.cp-tab-count[b-1m9ut2szwx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem; /* size-5 */
    height: 1.25rem;
    /* Reference rounded-lg = --radius = 4px (NOT radius-control). */
    border-radius: 4px;
    background: var(--lw-gray-cloud);
    color: var(--lw-gray-arsenic);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* -- Tab content area -- */
/* Reference overview scroll area is bg-muted; siblings already apply it. */
.cp-content[b-1m9ut2szwx] {
    background: var(--lw-bg-muted);
    flex: 1;
    padding: 1.25rem 1.5rem;
}

/* Documents tab composes the full-bleed lw-doc shell (white toolbar +
   breadcrumb bars own their inset), so the content gutter comes off. */
.cp-content--flush[b-1m9ut2szwx] {
    padding: 0;
}

.cp-alert[b-1m9ut2szwx] {
    margin: 1rem 1.5rem 0;
}

/* -- Phone layout (US-798) -- */
/* Reference: ledgerwise-ui-app project-header.tsx "MOBILE HEADER (< md)"
   block, measured 2026-09-02. Tailwind md = 768px, so the phone branch is
   max-width 767.98px (the same step MainLayout uses for its hamburger).
   Spec: identity row items-start gap-3 px-4 pt-4 pb-3, avatar 44, name
   text-base bold leading-tight line-clamp-2, meta text-xs muted, badge row
   gap-2 mt-1; tab nav overflow-x-auto px-4 with h-10 px-3 items, active
   underline inset-x-3, count badge 18px / 10px. Owner actions (funding
   chip + Add Funds / Connect) have no reference slot on mobile: they take
   the "beforeTabsSlot" position as a full-width row under the identity. */
@media (max-width: 767.98px) {
    .cp-header[b-1m9ut2szwx] {
        padding: 1rem 1rem 0;
    }

    .cp-identity[b-1m9ut2szwx] {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.75rem; /* gap-3 */
        margin-bottom: 0.75rem; /* pb-3 */
    }

    /* Avatar size is an inline style on the atom root (Size=56); the phone
       spec is 44px, so out-rank the inline value here. */
    .cp-identity[b-1m9ut2szwx]  .lw-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .cp-name[b-1m9ut2szwx] {
        font-size: 1rem; /* text-base */
        line-height: 1.25; /* leading-tight */
        letter-spacing: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Reference mobile header: name, then "owner - address" as one muted
       text-xs line (clamped to two), then the badge row. PM, dates and the
       per-item icons are desktop-only. */
    .cp-mobile-sub[b-1m9ut2szwx] {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        font-size: 0.75rem; /* text-xs */
        line-height: 1rem;
        color: var(--lw-gray-graphite);
    }

    .cp-meta-item--desktop[b-1m9ut2szwx] {
        display: none;
    }

    .cp-meta-row[b-1m9ut2szwx] {
        column-gap: 0.5rem; /* gap-2 */
        row-gap: 0.5rem;
        margin-top: 0.25rem; /* mt-1 */
    }

    /* Actions drop under the identity as a full-width row: funding chip on
       the left, the money-movement button stretched across the remainder. */
    .cp-actions[b-1m9ut2szwx] {
        flex-basis: 100%;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .cp-actions:empty[b-1m9ut2szwx] {
        display: none;
    }

    .cp-actions[b-1m9ut2szwx]  .mud-button-root {
        flex: 1 1 auto;
    }

    /* The strip becomes one select: a rail sized by its labels cannot fit a
       360px screen, and horizontal scrolling for tabs is out (Cody). */
    .cp-tab[b-1m9ut2szwx] {
        display: none;
    }

    .cp-tab-nav[b-1m9ut2szwx] {
        gap: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    /* Full width (Cody, 2026-09-06): a tap target spanning the header reads as
       the section switcher for the page, not a small chip beside it. */
    .cp-tab-nav[b-1m9ut2szwx]  .cp-tab-menu {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .cp-tab-select[b-1m9ut2szwx] {
        width: 100%;
        justify-content: space-between;
    }

    /* The chevron sits at the far right; label and count stay together. */
    .cp-tab-select-label[b-1m9ut2szwx] {
        margin-right: auto;
    }

    .cp-tab-select[b-1m9ut2szwx]  .cp-tab-select-chevron.mud-icon-root {
        margin-left: 0.375rem;
    }

    .cp-content[b-1m9ut2szwx] {
        padding: 1rem; /* p-4 */
    }

    .cp-content--flush[b-1m9ut2szwx] {
        padding: 0;
    }

    .cp-alert[b-1m9ut2szwx] {
        margin: 1rem 1rem 0;
    }
}

/* -- Phone tab select (US-798) -- */
/* Desktop shows the full strip, so the select only exists below the phone
   breakpoint. Scoped to a min-width query rather than left unqualified: an
   unqualified rule declared after the phone block would win on source order. */
@media (min-width: 768px) {
    .cp-tab-nav[b-1m9ut2szwx]  .cp-tab-menu {
        display: none;
    }
}

.cp-tab-select[b-1m9ut2szwx] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.cp-tab-select[b-1m9ut2szwx]  .cp-tab-select-chevron.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    margin-left: -0.125rem;
    color: var(--lw-gray-graphite);
}

.cp-more-item[b-1m9ut2szwx] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Active tab inside the dropdown: title color + semibold, matching the
   active state of the inline tabs. */
.cp-more-item--active[b-1m9ut2szwx] {
    color: var(--lw-text-primary);
    font-weight: 600;
}

/* -- Phone layout (US-798) -- */
/* Reference: ledgerwise-ui-app project-header.tsx "MOBILE HEADER (< md)"
   block, measured 2026-09-02. Tailwind md = 768px, so the phone branch is
   max-width 767.98px (the same step MainLayout uses for its hamburger).
   Spec: identity row items-start gap-3 px-4 pt-4 pb-3, avatar 44, name
   text-base bold leading-tight line-clamp-2, meta text-xs muted, badge row
   gap-2 mt-1; tab nav overflow-x-auto px-4 with h-10 px-3 items, active
   underline inset-x-3, count badge 18px / 10px. Owner actions (funding
   chip + Add Funds / Connect) have no reference slot on mobile: they take
   the "beforeTabsSlot" position as a full-width row under the identity. */
@media (max-width: 767.98px) {
    .cp-header[b-1m9ut2szwx] {
        padding: 1rem 1rem 0;
    }

    .cp-identity[b-1m9ut2szwx] {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.75rem; /* gap-3 */
        margin-bottom: 0.75rem; /* pb-3 */
    }

    /* Avatar size is an inline style on the atom root (Size=56); the phone
       spec is 44px, so out-rank the inline value here. */
    .cp-identity[b-1m9ut2szwx]  .lw-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .cp-name[b-1m9ut2szwx] {
        font-size: 1rem; /* text-base */
        line-height: 1.25; /* leading-tight */
        letter-spacing: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Reference mobile header: name, then "owner - address" as one muted
       text-xs line (clamped to two), then the badge row. PM, dates and the
       per-item icons are desktop-only. */
    .cp-mobile-sub[b-1m9ut2szwx] {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        font-size: 0.75rem; /* text-xs */
        line-height: 1rem;
        color: var(--lw-gray-graphite);
    }

    .cp-meta-item--desktop[b-1m9ut2szwx] {
        display: none;
    }

    .cp-meta-row[b-1m9ut2szwx] {
        column-gap: 0.5rem; /* gap-2 */
        row-gap: 0.5rem;
        margin-top: 0.25rem; /* mt-1 */
    }

    /* Actions drop under the identity as a full-width row: funding chip on
       the left, the money-movement button stretched across the remainder. */
    .cp-actions[b-1m9ut2szwx] {
        flex-basis: 100%;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .cp-actions:empty[b-1m9ut2szwx] {
        display: none;
    }

    .cp-actions[b-1m9ut2szwx]  .mud-button-root {
        flex: 1 1 auto;
    }

    /* Tab strip: horizontally scrollable, full-bleed under the header inset,
       no visible scrollbar, px-3 hit areas with the underline inset to match. */
    .cp-tab-nav[b-1m9ut2szwx] {
        gap: 0;
        margin: 0 -1rem;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .cp-tab-nav[b-1m9ut2szwx]::-webkit-scrollbar {
        display: none;
    }

    .cp-tab[b-1m9ut2szwx] {
        flex-shrink: 0;
        gap: 0.375rem; /* gap-1.5 */
        padding: 0 0.75rem; /* px-3 */
    }

    .cp-tab.active[b-1m9ut2szwx]::after {
        left: 0.75rem;
        right: 0.75rem;
    }

    .cp-tab-count[b-1m9ut2szwx] {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .cp-content[b-1m9ut2szwx] {
        padding: 1rem; /* p-4 */
    }

    .cp-content--flush[b-1m9ut2szwx] {
        padding: 0;
    }

    .cp-alert[b-1m9ut2szwx] {
        margin: 1rem 1rem 0;
    }
}

/* -- Phone tab overflow ("More" trigger, US-798) -- */
/* Desktop shows every tab inline (reference parity), so the More menu is
   hidden there. Under the phone breakpoint the cp-tab--overflow tabs hide
   and the trigger takes their place at the end of the strip (Jira idiom:
   when an overflow tab is active the trigger carries its label + underline). */
.cp-tab-nav[b-1m9ut2szwx]  .cp-tab-more {
    display: none;
}

.cp-tab-more-trigger[b-1m9ut2szwx] {
    margin-left: auto;
}

.cp-tab-nav[b-1m9ut2szwx]  .cp-tab-more-icon.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-left: -0.125rem;
    color: currentColor;
}

.cp-more-item[b-1m9ut2szwx] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Active overflow tab inside the dropdown: title color + semibold, matching
   the active state of the inline tabs. */
.cp-more-item--active[b-1m9ut2szwx] {
    color: var(--lw-text-primary);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .cp-tab--overflow[b-1m9ut2szwx] {
        display: none;
    }

    .cp-tab-nav[b-1m9ut2szwx]  .cp-tab-more {
        display: inline-flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Three fixed tabs + More must fit a 360px phone without scrolling:
       the strip sits inside the header inset (no full-bleed gutter), tabs
       tighten to px-2, and the end tabs go flush to the header edges. Scroll
       stays on as a safety net for very narrow viewports. */
    .cp-tab-nav[b-1m9ut2szwx] {
        margin: 0;
        padding: 0;
    }

    .cp-tab[b-1m9ut2szwx] {
        padding: 0 0.5rem; /* px-2 */
    }

    .cp-tab.active[b-1m9ut2szwx]::after {
        left: 0.5rem;
        right: 0.5rem;
    }

    .cp-tab:first-child[b-1m9ut2szwx] {
        padding-left: 0;
    }

    .cp-tab:first-child.active[b-1m9ut2szwx]::after {
        left: 0;
    }

    .cp-tab-more-trigger[b-1m9ut2szwx] {
        padding-right: 0;
        min-width: 0;
        flex-shrink: 1;
    }

    /* The trigger label is a fixed "More"; ellipsis is only a guard for
       viewports narrower than 360px. */
    .cp-tab-more-label[b-1m9ut2szwx] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cp-tab-more-trigger.active[b-1m9ut2szwx]::after {
        right: 0;
    }
}

/* US-514: close-out timeline card above the owner's overview. It sits inside .cp-content,
   which already carries the muted background and the gutter, so the wrapper only sizes the
   card to the overview's column (ClientProjectOverview .cpo-page: 1100px, centered) and
   leaves the overview's own 1rem rhythm beneath it. */
.cp-closeout-card[b-1m9ut2szwx] {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 1rem;
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectBudget.razor.rz.scp.css */
/* -- Page -- */
.cpb-page[b-eq1mpaps31] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--lw-bg-muted, #F7F7F5);
    padding: 1rem;
    /* bleed past the parent .cp-content padding (1.25rem 1.5rem) so the muted background
       fills the entire tab content area, matching ledgerwise-ui's bg-muted wrapper */
    margin: -1.25rem -1.5rem;
    min-height: calc(100% + 2.5rem);
    box-sizing: border-box;
}

/* Phone: the toolbar is one full-width row (search grows, actions trail it)
   instead of a right-pinned cluster (US-798). */
@media (max-width: 767.98px) {
    .cpb-subheader-right[b-eq1mpaps31] {
        margin-left: 0;
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Phone: the tab content gutter drops to 1rem (US-798, ClientProject.razor.css),
   so the full-bleed offset has to match it or the page runs 8px wide. */
@media (max-width: 767.98px) {
    .cpb-page[b-eq1mpaps31] {
        margin: -1rem;
        min-height: calc(100% + 2rem);
    }
}

@media (min-width: 768px) {
    .cpb-page[b-eq1mpaps31] {
        padding: 1.5rem;
    }
}

/* -- Header -- */
/* Subheader toolbar (reference owner-budget.tsx): full-bleed white bar
   above the muted canvas -- type quick-tabs left, search + split Download
   right. Negative margins bleed past .cpb-page padding. */
.cpb-subheader[b-eq1mpaps31] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: -1rem -1rem 0;
    padding: 0.75rem 1rem;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

@media (min-width: 768px) {
    .cpb-subheader[b-eq1mpaps31] {
        margin: -1.5rem -1.5rem 0;
        padding: 0.75rem 1.5rem;
    }
}

.cpb-subheader-right[b-eq1mpaps31] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Pin the search + actions to the far right like the GC toolbar. */
    margin-left: auto;
}

.cpb-search-clear[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 2px;
    color: var(--lw-gray-space);
    cursor: pointer;
}

.cpb-search-clear:hover[b-eq1mpaps31] { color: var(--lw-text-primary); }

/* Download split-button (reference recipe: bordered shell, primary segment +
   hairline divider + chevron menu; h-9, 13px/500 content-secondary). */
.cpb-split[b-eq1mpaps31] {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.cpb-split-btn[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 36px;
    padding: 0 0.75rem;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.cpb-split-btn:hover:not(:disabled)[b-eq1mpaps31] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.cpb-split-chevron[b-eq1mpaps31] {
    width: 2rem;
    padding: 0;
    justify-content: center;
}

.cpb-split-divider[b-eq1mpaps31] {
    width: 1px;
    margin: 6px 0;
    background: var(--lw-border);
}

.cpb-split[b-eq1mpaps31]  .mud-icon-root {
    font-size: 1rem !important;
}

@media (max-width: 640px) {
    .cpb-split-label[b-eq1mpaps31] { display: none; }
}

/* Filter no-results card (reference BudgetNoResults). */
.cpb-hidden[b-eq1mpaps31] { display: none !important; }

.cpb-noresults[b-eq1mpaps31] {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
}

.cpb-noresults-card[b-eq1mpaps31] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 28rem;
    padding: 3rem 1.5rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    text-align: center;
}

.cpb-noresults-icon[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-space);
}

.cpb-noresults-title[b-eq1mpaps31] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.cpb-noresults-copy[b-eq1mpaps31] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}/* -- Historical view banner -- */
.cpb-historical-banner[b-eq1mpaps31] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    border: 1px solid rgba(183, 110, 0, 0.32);
    background: rgba(183, 110, 0, 0.12);
}

.cpb-historical-banner-left[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    min-width: 0;
}

.cpb-historical-tag[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lw-status-warning-fg);
    background: rgba(183, 110, 0, 0.22);
    padding: 0.125rem 0.5rem;
}

.cpb-historical-label[b-eq1mpaps31] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-primary-dark, #020B2B);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cpb-historical-return[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-status-warning-fg);
    font-family: var(--lw-font-family);
    transition: color 0.15s;
}

.cpb-historical-return:hover[b-eq1mpaps31] {
    color: var(--lw-primary-dark, #020B2B);
}

/* -- Mobile cards (< 768px) -- */
.cpb-mobile[b-eq1mpaps31] {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.cpb-mcard[b-eq1mpaps31] {
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.cpb-mcard-head[b-eq1mpaps31] {
    display: flex;
    /* Baseline, not centre: the number must sit on the first line of a
       category name that wraps to two (US-798). */
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.cpb-mcard-num[b-eq1mpaps31],
.cpb-mcard-cat[b-eq1mpaps31] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-graphite, #6E7180);
}

.cpb-mcard-num[b-eq1mpaps31] { font-variant-numeric: tabular-nums; }

.cpb-mcard-item[b-eq1mpaps31] {
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--lw-border);
}

.cpb-mcard-item:first-of-type[b-eq1mpaps31] {
    border-top: none;
}

.cpb-mcard-name[b-eq1mpaps31] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--lw-primary-dark, #020B2B);
    margin-bottom: 0.625rem;
}

.cpb-mcard-item-num[b-eq1mpaps31] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite, #6E7180);
    font-variant-numeric: tabular-nums;
}

/* Two columns of label/value PAIRS rather than four stacked columns (US-798):
   at 390px four columns left each figure ~78px and read as a squeezed table
   header over a row of numbers. Pairing the label with its figure on one line
   gives each value twice the room and matches the label-left / value-right
   idiom used by the fee rows, the utilization legend and the total bar. */
.cpb-mcard-grid[b-eq1mpaps31] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.375rem;
}

.cpb-mcard-cell[b-eq1mpaps31] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.cpb-mcard-label[b-eq1mpaps31] {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-graphite, #6E7180);
}

.cpb-mcard-value[b-eq1mpaps31] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
    font-variant-numeric: tabular-nums;
}

.cpb-mcard-total-head[b-eq1mpaps31] {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lw-primary-dark, #020B2B);
}

.cpb-mcard-total-head ~ .cpb-mcard-grid[b-eq1mpaps31] {
    padding: 0 1rem 0.75rem;
}

@media (max-width: 767px) {
    .cpb-mobile[b-eq1mpaps31] { display: flex; }
}

/* -- Print styles -- */
@media print {
    [data-print-hide][b-eq1mpaps31] { display: none !important; }
    .cpb-mobile[b-eq1mpaps31] { display: none !important; }
    .cpb-host .bt-table-scroll[b-eq1mpaps31] { display: block !important; }
    .cpb-page[b-eq1mpaps31] { gap: 1rem; }
}

/* -- Clickable Paid/Pending amount button (matches the underlined-amount pattern in the reference) -- */
.cpb-amount-btn[b-eq1mpaps31] {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    /* Weight and colour come from the cell (the GC table's muted Paid column);
       the underline alone marks the amount as clickable (Cody, 2026-10-11). */
    font-weight: inherit;
    color: inherit;
    font-variant-numeric: tabular-nums;
    /* Reference: underline decoration-border underline-offset-2. */
    text-decoration: underline;
    text-decoration-color: var(--lw-border);
    text-underline-offset: 2px;
    text-underline-offset: 3px;
    transition: color 0.15s, text-decoration-color 0.15s;
}

.cpb-amount-btn:hover[b-eq1mpaps31] {
    color: var(--lw-primary-blue, #3980A5);
    text-decoration-color: var(--lw-primary-blue, #3980A5);
}

/* -- Invoice preview (the Paid/Pending amount's hover menu) --
   The rows are authored here, so they keep this file's scope inside the
   teleported popover. The dark popover chrome and the "View All Invoices"
   menu item are Mud elements, styled in mudblazor-overrides.css
   (.cpb-invoice-popover). */
.cpb-invoice-tooltip[b-eq1mpaps31] {
    width: 288px;
    padding: 0;
    text-align: left;
}

.cpb-invoice-tooltip-head[b-eq1mpaps31] {
    display: block;
    padding: 0.5rem 0.75rem 0.375rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

.cpb-invoice-tooltip-list[b-eq1mpaps31] {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cpb-invoice-tooltip-row[b-eq1mpaps31] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
}

.cpb-invoice-tooltip-num[b-eq1mpaps31] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cpb-invoice-tooltip-no[b-eq1mpaps31] {
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-white);
    font-variant-numeric: tabular-nums;
}

.cpb-invoice-tooltip-vendor[b-eq1mpaps31] {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cpb-invoice-tooltip-badge[b-eq1mpaps31] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cpb-invoice-tooltip-badge-paid[b-eq1mpaps31]    { background: rgba(94, 196, 154, 0.22); color: var(--lw-tooltip-success-fg); }
.cpb-invoice-tooltip-badge-pending[b-eq1mpaps31] { background: rgba(91, 163, 196, 0.32); color: var(--lw-tooltip-info-fg); }

.cpb-invoice-tooltip-more[b-eq1mpaps31] {
    padding: 0.25rem 0.75rem 0.5rem;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* -- Budget table host (desktop) --
   The table and its sticky footer are the GC budget table's own chrome
   (wwwroot/css/components/budget-table.css + the shared BudgetTableHeader /
   BudgetSectionHeaderRow) so the two roles read as one product (Cody,
   2026-10-11). Only page-level concerns live here: hiding the table on a
   phone (the cards take over) and stacking the footer figures there. */
@media (max-width: 767.98px) {
    .cpb-host .bt-table-scroll[b-eq1mpaps31] { display: none; }

    /* The table is hidden, so the footer is as wide as the host, not the
       (860px-floor) table that budget-table.css sizes it to. */
    .cpb-host .bt-footer[b-eq1mpaps31] {
        width: 100%;
        min-width: 0;
    }

    /* Same for the column-aligned rows budget-table.css sizes to the table
       and slides with its scroll (Bug-1081): here they stack, host-wide. */
    .cpb-host.budget-table-host .bt-foot-subtotal-bar[b-eq1mpaps31],
    .cpb-host.budget-table-host .bt-fee-line--columns[b-eq1mpaps31],
    .cpb-host.budget-table-host .bt-grand-total-btn--columns[b-eq1mpaps31] {
        width: 100%;
        min-width: 0;
        transform: none;
    }

    /* Footer rows: the label (and the fee's effective-rate chip, on its own
       line) on top, then one labelled line per figure -- label left, value
       right, the idiom the cards above use. */
    .cpb-host .bt-foot-subtotal-bar[b-eq1mpaps31],
    .cpb-host .bt-fee-line--columns[b-eq1mpaps31],
    .cpb-host .bt-grand-total-btn--columns[b-eq1mpaps31] {
        flex-wrap: wrap;
        padding-left: 1rem;
        padding-right: 1rem;
        row-gap: 0.25rem;
    }

    .cpb-host .bt-foot-sub-label[b-eq1mpaps31],
    .cpb-host .bt-fee-line--columns .bt-fee-label-wrap[b-eq1mpaps31],
    .cpb-host .bt-grand-total-btn--columns .bt-grand-total-left[b-eq1mpaps31] {
        flex-basis: 100%;
        flex-wrap: wrap;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0.25rem;
    }

    .cpb-host .bt-fee-label[b-eq1mpaps31],
    .cpb-host .bt-grand-total-label[b-eq1mpaps31] { white-space: nowrap; }

    .cpb-host .bt-fee-line--columns .bt-fee-formula[b-eq1mpaps31] {
        flex-basis: 100%;
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .cpb-host .bt-foot-sub-cell[b-eq1mpaps31] {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.5rem;
        padding: 0;
    }

    .cpb-host .bt-foot-sub-cell[b-eq1mpaps31]::before {
        content: attr(data-bt-label);
        font-size: 10px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--lw-gray-graphite);
    }
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectChangeOrders.razor.rz.scp.css */
/* ClientProjectChangeOrders (owner Adjustments tab) -- page-level layout only.
   Source: ledgerwise-ui-app organisms/owner/owner-adjustments.tsx +
   molecules/adjustment-row-card.tsx + atoms/adjustment-status-pill.tsx
   (measured spec 2026-07-20; migrated 2026-07-21): white lw-page-toolbar bar
   (segmented navy chips + h-9 search) over a muted body; desktop table in the
   8px shadow-card container (#F6F7F9 header); mobile cards with a 2px teal
   left edge while under review. Signed deltas: positive = destructive red,
   negative = success green. Needs-review pills are deliberately NEUTRAL gray
   (gold is reserved for budget "spent").
   Table chrome: css/components/lw-table.css. Toolbar/search chrome:
   css/components/lw-page.css. Tabs: LwChip (Tab variant); pills: StatusChip.
   Renders full-bleed via ClientProject's cp-content--flush. */

.cpa-page[b-hyfc1ww13j] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Muted content region (reference: flex-1 flex-col gap-4 bg-muted p-4 md:p-6). */
.cpa-body[b-hyfc1ww13j] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

@media (min-width: 768px) {
    .cpa-body[b-hyfc1ww13j] {
        padding: 24px;
    }
}

/* ---- Desktop table card (spec 1.2) ----
   Card shell: overflow-x auto, rounded-card border bg-card shadow-card.
   Column chrome comes from the shared .lw-table vocabulary; this page only
   owns the card wrapper and the column widths. */
.cpa-table-card[b-hyfc1ww13j] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.cpa-table-card .lw-table[b-hyfc1ww13j] {
    min-width: 760px;
}

/* Rows are keyboard-focusable buttons. */
.cpa-table-card .lw-table-tr[b-hyfc1ww13j] {
    outline: none;
}

.cpa-table-card .lw-table-tr:focus-visible[b-hyfc1ww13j] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* Column widths: spare width grows every data column (title 2x) so the row
   reads evenly spaced instead of pooling gaps around Title and Date. */
.cpa-col-title[b-hyfc1ww13j]   { flex: 2 1 220px; min-width: 0; }
.cpa-col-num[b-hyfc1ww13j]     { flex: 1 0 120px; min-width: 0; white-space: nowrap; }
.cpa-col-status[b-hyfc1ww13j]  { flex: 1 0 150px; min-width: 0; }
.cpa-col-date[b-hyfc1ww13j]    { flex: 1 0 140px; min-width: 0; white-space: nowrap; }
.cpa-col-amount[b-hyfc1ww13j]  { flex: 1 0 130px; min-width: 0; justify-content: flex-end; text-align: right; }
.cpa-col-actions[b-hyfc1ww13j] { flex: 0 0 140px; justify-content: flex-end; }

/* Title cell: 14/600 truncated with native title tooltip. */
.cpa-title[b-hyfc1ww13j] {
    min-width: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Signed delta: positive (budget increase) = destructive red; negative
   (reduction) = success green (spec section 0 semantics). */
.cpa-amount[b-hyfc1ww13j] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.cpa-amount-pos[b-hyfc1ww13j] { color: var(--lw-status-error-fg); }
.cpa-amount-neg[b-hyfc1ww13j] { color: var(--lw-status-success-fg); }

.cpa-chev[b-hyfc1ww13j] {
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

/* Row Approve: ui/button.tsx size="action-sm" -- h-9 gap-1.5 rounded-md px-4
   text-[13px], navy fill, hover bg-primary/90. */
.cpa-approve-btn[b-hyfc1ww13j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.cpa-approve-btn:hover[b-hyfc1ww13j] {
    background: var(--lw-primary-dark-hover);
}

.cpa-approve-btn:active[b-hyfc1ww13j] {
    transform: translateY(1px);
}

/* ---- Mobile card list (spec 1.2 mobile) ---- */
.cpa-cards[b-hyfc1ww13j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cpa-card[b-hyfc1ww13j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    cursor: pointer;
    transition: background-color 0.15s ease;
    outline: none;
}

.cpa-card:hover[b-hyfc1ww13j],
.cpa-card:focus-visible[b-hyfc1ww13j] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* Under-review cards: 2px brand-accent (teal) left edge. */
.cpa-card--review[b-hyfc1ww13j] {
    border-left: 2px solid var(--lw-primary-blue);
}

.cpa-card-top[b-hyfc1ww13j] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cpa-card-top .cpa-amount[b-hyfc1ww13j] {
    flex-shrink: 0;
}

.cpa-card-meta[b-hyfc1ww13j] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.cpa-card-sep[b-hyfc1ww13j] {
    color: var(--lw-border);
}

/* Desktop table above md; cards below. */
@media (max-width: 767px) {
    .cpa-table-card[b-hyfc1ww13j] {
        display: none;
    }
}

@media (min-width: 768px) {
    .cpa-cards[b-hyfc1ww13j] {
        display: none;
    }
}

/* ---- Empty / no-results state ----
   Surface + typography come from the shared Card primitive and the global
   .lw-page-empty-results recipe (lw-page.css); nothing local remains. */
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectDocuments.razor.rz.scp.css */
/* Project Owner project Documents tab -- page-level extras only. All shared
   documents chrome lives in wwwroot/css/components/lw-doc.css (composes
   lw-table.css); toolbar chrome comes from lw-page.css + LwChip /
   LwViewToggle atoms. */

/* Empty-state signature tile tint (folders = gold), matching the
   contractor documents tab's zero-data state. */
.ho-sig-tile[b-bsmnc18ub1] {
    background: var(--lw-status-secondary-bg);
    color: var(--lw-status-secondary-fg);
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectDrawRequests.razor.rz.scp.css */
/* Page shell: white lw-page-toolbar bar over a muted body (reference
   owner-payment-requests.tsx structure). Full-bleed via the ClientProject
   shell's cp-content--flush modifier -- no negative margins. */
.cpd-page[b-ev17xj2jqz] {
    display: flex;
    flex-direction: column;
}

/* Muted content area under the toolbar (reference bg-muted p-4 md:p-6). */
.cpd-body[b-ev17xj2jqz] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--lw-bg-muted);
    padding: 1rem;
    flex: 1;
}

@media (min-width: 768px) {
    .cpd-body[b-ev17xj2jqz] {
        padding: 1.5rem;
    }
}

/* -- Desktop table card (spec 1.5) --
   Card shell: overflow-x auto, rounded-card border bg-card shadow-card.
   Column chrome comes from the shared .lw-table vocabulary; this page
   only owns the card wrapper and the column widths. */
.cpd-table-card[b-ev17xj2jqz] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.cpd-table-card .lw-table[b-ev17xj2jqz] {
    min-width: 720px;
}

/* Rows are keyboard-focusable buttons. */
.cpd-table-card .lw-table-tr[b-ev17xj2jqz] {
    outline: none;
}

.cpd-table-card .lw-table-tr:focus-visible[b-ev17xj2jqz] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* Column widths per reference min-widths; columns share extra space. */
.cpd-col-request[b-ev17xj2jqz]  { flex: 1 0 190px; white-space: nowrap; } /* "Payment Request 42" (US-731) */
.cpd-col-status[b-ev17xj2jqz]   { flex: 1 0 140px; }
.cpd-col-date[b-ev17xj2jqz]     { flex: 1 0 180px; }
.cpd-col-invoices[b-ev17xj2jqz] { flex: 1 0 110px; }
.cpd-col-amount[b-ev17xj2jqz]   { flex: 1 0 120px; justify-content: flex-end; }
.cpd-col-chev[b-ev17xj2jqz]     { flex: 0 0 40px; padding-left: 0; padding-right: 16px; justify-content: flex-end; }

/* -- Shared cell content -- */

.cpd-pr-num[b-ev17xj2jqz] {
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-text-primary);
}

.cpd-status[b-ev17xj2jqz] {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* Status palette mirrors payment-request-card.tsx statusColorMap */
.cpd-status-default[b-ev17xj2jqz] { background: var(--lw-bg-table-header, #F0F0EE); color: var(--lw-gray-graphite, #6E7180); }
.cpd-status-info[b-ev17xj2jqz]    { background: rgba(59, 130, 246, 0.12); color: var(--lw-status-info-fg); }
.cpd-status-primary[b-ev17xj2jqz] { background: rgba(57, 128, 165, 0.10); color: var(--lw-primary-blue, #3980A5); }
.cpd-status-success[b-ev17xj2jqz] { background: rgba(17, 141, 87, 0.14); color: var(--lw-status-success-fg); }
.cpd-status-warning[b-ev17xj2jqz] { background: rgba(183, 110, 0, 0.16); color: var(--lw-status-warning-fg); }
.cpd-status-error[b-ev17xj2jqz]   { background: rgba(220, 38, 38, 0.12); color: var(--lw-status-error-fg); }

/* Date: "{Label} " muted with the date value in foreground; em dash if none. */
.cpd-date[b-ev17xj2jqz] {
    white-space: nowrap;
    font-size: 14px;
    color: var(--lw-gray-graphite, #6E7180);
}

.cpd-date-value[b-ev17xj2jqz] {
    color: var(--lw-text-primary);
}

.cpd-amount[b-ev17xj2jqz] {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.cpd-chev[b-ev17xj2jqz] {
    color: var(--lw-gray-graphite, #6E7180);
    flex-shrink: 0;
}

/* -- Mobile card list (spec 1.6) -- */
.cpd-cards[b-ev17xj2jqz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cpd-card[b-ev17xj2jqz] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    cursor: pointer;
    transition: background-color 0.15s ease;
    outline: none;
}

.cpd-card:hover[b-ev17xj2jqz],
.cpd-card:focus-visible[b-ev17xj2jqz] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.cpd-card-top[b-ev17xj2jqz] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cpd-card-id[b-ev17xj2jqz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

/* Mobile badge is slightly smaller (spec 0). */
.cpd-card .cpd-status[b-ev17xj2jqz] {
    padding: 0.125rem 0.375rem;
    font-size: 10px;
}

.cpd-card-meta[b-ev17xj2jqz] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: var(--lw-gray-graphite, #6E7180);
}

.cpd-card-dot[b-ev17xj2jqz] {
    color: var(--lw-border);
}

/* Desktop table above md; cards below. */
@media (max-width: 767px) {
    .cpd-table-card[b-ev17xj2jqz] {
        display: none;
    }
}

@media (min-width: 768px) {
    .cpd-cards[b-ev17xj2jqz] {
        display: none;
    }
}

/* -- Phone: payment request cards (US-798) -- */
/* The number and its status pill shared the first line with the amount, so
   "Payment Request 21" broke across two lines with the pill floating against
   the middle of it. Give the number the line it needs against the amount, and
   drop the pill onto the meta line where it reads with the invoice count and
   date (Cody, 2026-09-06). */
@media (max-width: 599px) {
    .cpd-card-top[b-ev17xj2jqz] {
        align-items: baseline;
        flex-wrap: wrap;
        row-gap: 0.375rem;
    }

    /* Dissolve the id wrapper so the number and its pill can be placed on the
       card's own rows rather than sharing one cell with the amount. */
    .cpd-card-id[b-ev17xj2jqz] {
        display: contents;
    }

    .cpd-pr-num[b-ev17xj2jqz] {
        white-space: nowrap;
    }

    /* Number and amount hold the first line; the pill takes the second, where
       it reads as a group with the invoice count and date below it. A zero
       height full-width pseudo-element is the line break -- giving the pill
       itself a 100% basis would stretch it across the card, and clamping that
       back with max-width just lets it rejoin the first line. */
    .cpd-pr-num[b-ev17xj2jqz] {
        order: 1;
    }

    .cpd-amount[b-ev17xj2jqz] {
        order: 2;
        margin-left: auto;
    }

    .cpd-card-top[b-ev17xj2jqz]::after {
        content: "";
        order: 3;
        flex-basis: 100%;
        height: 0;
    }

    .cpd-card .cpd-status[b-ev17xj2jqz] {
        order: 4;
        flex: 0 0 auto;
    }

    .cpd-card[b-ev17xj2jqz] {
        gap: 0.375rem;
    }

    .cpd-card-meta[b-ev17xj2jqz] {
        flex-wrap: wrap;
        row-gap: 0.375rem;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectOverview.razor.rz.scp.css */
/* -- Page wrap --
   Reference: ledgerwise-ui-app src/components/organisms/project/project-overview.tsx
   (max-w-[1100px] flex-col gap-4) and src/components/molecules/trust-account-widget.tsx. */
.cpo-page[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Two columns like the builder's Overview (ProjectOverview .po-split): the money cards on the
   left, the People / Account settings rail (360px) on the right; stacked below 1024px. */
.cpo-split[b-z5o3ojl0pv] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.cpo-main[b-z5o3ojl0pv],
.cpo-rail[b-z5o3ojl0pv] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .cpo-split[b-z5o3ojl0pv] {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
    }
}

/* In the two-column layout the not-funded card fills the left column and starts level with the
   rail, like the builder's balance card -- not the atom's centred 576px card with 40px air. */
.cpo-main[b-z5o3ojl0pv]  .lw-empty-wrap {
    padding: 0;
}

.cpo-main[b-z5o3ojl0pv]  .lw-empty-card {
    max-width: none;
}

/* Account settings fields: the builder card's .po-field recipe. */
.cpo-fields[b-z5o3ojl0pv] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
}

.cpo-field[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.cpo-field__label[b-z5o3ojl0pv] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cpo-field__value[b-z5o3ojl0pv] {
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.cpo-info[b-z5o3ojl0pv] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

.cpo-info:hover[b-z5o3ojl0pv],
.cpo-info:focus-visible[b-z5o3ojl0pv] {
    color: var(--lw-gray-graphite);
}

.cpo-info[b-z5o3ojl0pv]  .cpo-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.cpo-info:focus-visible[b-z5o3ojl0pv]  .cpo-info__glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.cpo-info__tip[b-z5o3ojl0pv] {
    text-transform: none;
    letter-spacing: normal;
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.cpo-info:hover .cpo-info__tip[b-z5o3ojl0pv],
.cpo-info:focus-visible .cpo-info__tip[b-z5o3ojl0pv],
.cpo-info:focus-within .cpo-info__tip[b-z5o3ojl0pv] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* -- KPI Strip -- */
.cpo-kpi-grid[b-z5o3ojl0pv] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .cpo-kpi-grid[b-z5o3ojl0pv] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Surface provided by the shared Card primitive. The card is a size
   container so the value scales with the card's own width (same treatment
   as LwKpiCard, 2026-08-23) -- full-precision currency like "$2,929,869.12"
   no longer overflows the card at 4-up tablet/laptop widths. */
.cpo-kpi[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    min-height: 116px;
    min-width: 0;
    overflow: hidden;
    container-type: inline-size;
}

.cpo-kpi-label[b-z5o3ojl0pv] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lw-gray-graphite, #6E7180);
    margin: 0;
}

/* Reference kpi-card.tsx: text-xl on mobile, 32px from md up. cqi = card
   CONTENT width (padding excluded): 32px once the content box is ~290px
   (card ~330px); 18px floor on 2-up mobile cards. */
.cpo-kpi-value[b-z5o3ojl0pv] {
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(18px, 11cqi, 32px);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark, #020B2B);
    margin: 0.25rem 0 0;
    font-family: var(--lw-font-family-heading, sans-serif);
}

/* Fallback for engines without container-query units. */
@supports not (font-size: 1cqi) {
    @media (min-width: 768px) {
        .cpo-kpi-value[b-z5o3ojl0pv] { font-size: 32px; }
    }
}

.cpo-kpi-value-warning[b-z5o3ojl0pv] {
    color: var(--lw-status-warning-fg);
}

.cpo-kpi-subtitle[b-z5o3ojl0pv] {
    font-size: 11px;
    color: var(--lw-gray-graphite, #6E7180);
    margin: 0.75rem 0 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -- Content column: reference single stacked column -- */
.cpo-content-grid[b-z5o3ojl0pv] {
    display: grid;
    /* minmax(0, 1fr), not 1fr: a bare 1fr track has min-width:auto and grows
       to its content's min-content width, so the balance equation's nowrap
       figures widened the whole column past a 390px phone (US-798). */
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

/* Single stacked column at every width (reference project-overview.tsx). */

/* Generic card */
/* Surface provided by the shared Card primitive. */




.cpo-view-link[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-graphite, #6E7180);
    transition: color 0.15s;
    padding: 0;
    font-family: var(--lw-font-family);
}

.cpo-view-link:hover[b-z5o3ojl0pv] {
    color: var(--lw-primary-dark, #020B2B);
}

/* Phone (US-1043): the card-header link is the shared lw-card-action 44px icon
   square (label hidden, sizing from lw-page.css); it takes the outline action's
   chrome here so it reads as the same control as every other card-header action. */
@media (max-width: 599px) {
    .cpo-view-link[b-z5o3ojl0pv] {
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-control);
        background: var(--lw-white);
        color: var(--lw-text-primary);
    }

    .cpo-view-link svg[b-z5o3ojl0pv] {
        width: 16px;
        height: 16px;
    }
}

/* -- Not-funded null state --
   The tab renders the canonical LwEmptyState until the account holds money;
   the balance itself is the signature slot (44px destructive amount +
   "not funded" pill, distilled from trust-account-widget.tsx notFunded).
   The slot's default bordered panel reads as a card-in-a-card here (Cody,
   2026-08-10), so the chrome is stripped and the balance sits directly on
   the empty-state card. */
.cpo-page[b-z5o3ojl0pv]  .lw-empty-sig {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.cpo-page[b-z5o3ojl0pv]  .lw-empty-sig-label {
    text-align: center;
    padding: 0;
}

/* Value-point headers stay on one line (Cody, 2026-08-10): a wrapped label
   pushed its description out of line with its neighbors. The columns are
   wide enough that a centered nowrap label overflows into the 20px gutters
   by at most a few px. */
.cpo-page[b-z5o3ojl0pv]  .lw-empty-point-label {
    white-space: nowrap;
}

.cpo-null-balance[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 0 0;
    text-align: center;
}

.cpo-null-amount[b-z5o3ojl0pv] {
    margin: 0;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums;
    color: var(--lw-destructive, #B83530);
    font-family: var(--lw-font-family-heading, sans-serif);
}

.cpo-null-sub[b-z5o3ojl0pv] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space, #9DA2B3);
}

.cpo-null-chip[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-destructive) 10%, transparent);
    color: var(--lw-status-error-fg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* US-774: an in-flight ACH debit turns the destructive chip into an informational
   "transfer pending" one -- the account is unfunded, but money is on the way. */
.cpo-null-chip--pending[b-z5o3ojl0pv] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}



/* In-flight ACH transfer card body (same row idiom as cpo-fund-request, on the
   info tint: the money is moving, nothing is being asked of the owner). */
.cpo-transfer[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
}

.cpo-transfer-row[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.cpo-transfer-icon[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.cpo-transfer-body[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.cpo-transfer-amount[b-z5o3ojl0pv] {
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-text-primary, #1e1e24);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.cpo-transfer-meta[b-z5o3ojl0pv] {
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
    margin: 0;
}

.cpo-transfer-hint[b-z5o3ojl0pv] {
    /* Top margin matches the card body's 24px inset so the amount row sits with
       equal air above (body padding) and below (to this divider). */
    margin: 1.5rem 0 0;
    padding-top: 0.625rem;
    border-top: 1px solid var(--lw-border);
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
}

/* Pending fund request notification (trust-account-widget.tsx owner fundRequest:
   mt-4 rounded-md border border-border bg-muted/50 p-3.5) */
.cpo-fund-request[b-z5o3ojl0pv] {
    margin-top: 1rem;
    padding: 0.875rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: color-mix(in srgb, var(--lw-bg-muted, #F0F3F6) 50%, var(--lw-white, #FFFFFF));
}

.cpo-fund-request-row[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

/* size-8 rounded-md bg-warning-badge-bg, 14px glyph in warning-badge-text */
.cpo-fund-request-icon[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

.cpo-fund-request-body[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.cpo-fund-request-amount[b-z5o3ojl0pv] {
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-text-primary, #1e1e24);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.cpo-fund-request-meta[b-z5o3ojl0pv] {
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
    margin: 0;
}

.cpo-fund-request-hint[b-z5o3ojl0pv] {
    margin: 0.625rem 0 0;
    padding-top: 0.625rem;
    border-top: 1px solid var(--lw-border);
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
}

/* Subtle "Add Funds" affordance at the bottom of the trust card
   (trust-account-widget.tsx Mock Add Funds: mt-3 text-[11px] muted-foreground) */

.cpo-trust-mock-add:hover[b-z5o3ojl0pv] {
    color: var(--lw-text-primary, #1e1e24);
}

/* Account details (trust-account-widget.tsx MaskedField box: mt-4 caption +
   white rounded-card bordered box, rows px-3.5 py-3, per-field eye toggle) */
.cpo-bank-details[b-z5o3ojl0pv] {
    margin-top: 1rem;
}

.cpo-bank-caption[b-z5o3ojl0pv] {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-space, #9DA2B3);
}

.cpo-bank-box[b-z5o3ojl0pv] {
    overflow: hidden;
    border-radius: var(--lw-radius-card, 8px);
    border: 1px solid var(--lw-border);
    background: var(--lw-white, #FFFFFF);
}

.cpo-bank-row[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
}

.cpo-bank-row-bordered[b-z5o3ojl0pv] {
    border-top: 1px solid var(--lw-border);
}

.cpo-bank-label[b-z5o3ojl0pv] {
    font-size: 0.75rem;
    color: var(--lw-gray-space, #9DA2B3);
}

.cpo-bank-value-wrap[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cpo-bank-value[b-z5o3ojl0pv] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary, #1e1e24);
    font-variant-numeric: tabular-nums;
}

.cpo-bank-eye[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--lw-gray-space, #9DA2B3);
    transition: color 0.15s;
}

.cpo-bank-eye:hover[b-z5o3ojl0pv] {
    color: var(--lw-text-primary, #1e1e24);
}

/* Standing wire-instructions download inside the account-details panel (US-569) */
.cpo-bank-download[b-z5o3ojl0pv] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue, #3980A5);
    font-family: var(--lw-font-family);
    transition: color 0.15s;
}

.cpo-bank-download:hover[b-z5o3ojl0pv] {
    color: var(--lw-primary-dark, #020B2B);
}

.cpo-bank-download:disabled[b-z5o3ojl0pv] {
    color: var(--lw-gray-graphite, #6E7180);
    cursor: default;
}

/* US-708: the same link inside the not-funded empty state's CTA row --
   full-width so it wraps below the funding buttons, centered above the
   points divider. */
.cpo-bank-download--empty[b-z5o3ojl0pv] {
    flex-basis: 100%;
    align-self: center;
    justify-content: center;
    margin-top: 0;
}

/* Shown in place of the account-details section until the sub-account is provisioned */
.cpo-bank-pending-hint[b-z5o3ojl0pv] {
    margin: 1rem 0 0;
    font-size: 11px;
    color: var(--lw-gray-graphite, #6E7180);
}

/* -- Budget Utilization -- */






.cpo-cat[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}



.cpo-cat-amount[b-z5o3ojl0pv] {
    color: var(--lw-gray-graphite, #6E7180);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.cpo-cat-amount-muted[b-z5o3ojl0pv] {
    color: var(--lw-gray-space, #9DA2B3);
}




/* -- Critical Tasks panel (matches critical-actions-panel.tsx) -- */
.cpo-actions-card[b-z5o3ojl0pv] {
    padding: 0;
}


.cpo-actions-list[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
}

.cpo-action-link[b-z5o3ojl0pv] {
    display: block;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--lw-border);
    transition: background 0.12s;
}

.cpo-action-link:last-child[b-z5o3ojl0pv] {
    border-bottom: none;
}

.cpo-action-link:hover[b-z5o3ojl0pv] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

button.cpo-action-link[b-z5o3ojl0pv] {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--lw-border);
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: inherit;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

button.cpo-action-link:last-child[b-z5o3ojl0pv] {
    border-bottom: none;
}

.cpo-action-row[b-z5o3ojl0pv] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
}

/* Dot chrome (size, shape, tone) lives in the StatusDot atom; only the
   row alignment offset is page-level (reference mt-1.5). */
[b-z5o3ojl0pv] .cpo-action-dot {
    margin-top: 6px;
}


.cpo-action-body[b-z5o3ojl0pv] {
    flex: 1;
    min-width: 0;
}

.cpo-action-title[b-z5o3ojl0pv] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary, #1e1e24);
    margin: 0;
    line-height: 1.35;
}

.cpo-action-due[b-z5o3ojl0pv] {
    flex-shrink: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-top: 2px;
}

.cpo-action-due-urgent[b-z5o3ojl0pv]  { color: var(--lw-destructive); font-weight: 600; }
.cpo-action-due-soon[b-z5o3ojl0pv]    { color: var(--lw-status-warning-fg); font-weight: 500; }
.cpo-action-due-default[b-z5o3ojl0pv] { color: var(--lw-gray-space, #9DA2B3); }

.cpo-actions-empty[b-z5o3ojl0pv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2rem 1.25rem;
    text-align: center;
}

.cpo-actions-empty-title[b-z5o3ojl0pv] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary, #1e1e24);
    margin: 0;
}

.cpo-actions-empty-sub[b-z5o3ojl0pv] {
    font-size: 0.75rem;
    color: var(--lw-gray-space, #9DA2B3);
    margin: 0;
}

.cpo-actions-pager[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.cpo-actions-pager-range[b-z5o3ojl0pv] {
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
}

.cpo-actions-pager-controls[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Reference (critical-actions-panel.tsx): text Prev/Next, h-6 px-1.5 11px medium. */
.cpo-actions-pager-btn[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-gray-space, #9DA2B3);
    transition: color 0.15s;
}

.cpo-actions-pager-btn:hover:not(:disabled)[b-z5o3ojl0pv] {
    color: var(--lw-text-primary, #1e1e24);
}

.cpo-actions-pager-btn:disabled[b-z5o3ojl0pv] {
    opacity: 0.3;
    pointer-events: none;
}

.cpo-actions-pager-page[b-z5o3ojl0pv] {
    min-width: 32px;
    text-align: center;
    font-size: 11px;
    color: var(--lw-gray-space, #9DA2B3);
}/* Funding action row (owner-onboarding-card.tsx / request-funds-panel.tsx
   collapsed state): border-t pt-6; FundingRow = 44px muted tile w/ 20px
   content-secondary glyph, 14/600 title, 12px muted sub; action button right. */
.cpo-fundrow[b-z5o3ojl0pv] {
    margin-top: 24px;
    border-top: 1px solid var(--lw-border);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .cpo-fundrow[b-z5o3ojl0pv] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cpo-fundrow-left[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cpo-fundrow-tile[b-z5o3ojl0pv] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
}

.cpo-fundrow-tile[b-z5o3ojl0pv]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.cpo-fundrow-text[b-z5o3ojl0pv] { min-width: 0; }
.cpo-fundrow-title[b-z5o3ojl0pv] { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--lw-text-primary); }
.cpo-fundrow-sub[b-z5o3ojl0pv] { margin: 2px 0 0; font-size: 0.75rem; color: var(--lw-gray-space); }

/* Budget utilization. The bar itself is LwStackedBar (US-474) -- the segment and
   legend chrome lives in the atom, so only the card's spacing is page-level. What
   remains here is the empty state, which the atom does not model: a zero-total
   budget has no segments to draw, only a message. */
.cpo-budget-card[b-z5o3ojl0pv]  .lw-stacked-bar {
    margin-top: 16px;
}

.cpo-stack-bar[b-z5o3ojl0pv] {
    margin-top: 16px;
    display: flex;
    height: 24px;
    overflow: hidden;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-gray-smoke) 40%, transparent);
}

.cpo-stack-bar-empty[b-z5o3ojl0pv] {
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--lw-gray-smoke) 30%, transparent);
}

.cpo-stack-bar-empty span[b-z5o3ojl0pv] {
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

.cpo-stack-legend[b-z5o3ojl0pv] {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 4px;
}

.cpo-legend-item[b-z5o3ojl0pv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--lw-gray-graphite);
}

/* Info icon for the minimum/reserve balance explanations (US-614).
   ::deep because the class sits on a MudIcon (child component) -- a plain
   scoped rule never matches it, leaving the icon at Mud's default 24px. */
.cpo-page[b-z5o3ojl0pv]  .cpo-info-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    color: var(--lw-gray-graphite, #6E7180);
    opacity: 0.8;
    vertical-align: middle;
    margin-left: 4px;
}

/* -- Phone (US-798) -- */
@media (max-width: 599px) {
    /* Pending-transfer row: the status chip drops under the amount/meta text
       (aligned to the text column: 32px icon + 10px gap) instead of squeezing
       the title into a two-line wrap beside it. */
    .cpo-transfer-row[b-z5o3ojl0pv] {
        flex-wrap: wrap;
    }

    .cpo-transfer-body[b-z5o3ojl0pv] {
        flex: 1 1 calc(100% - 32px - 0.625rem);
    }

    .cpo-transfer-row[b-z5o3ojl0pv]  .lw-status-chip {
        flex: 0 0 auto;
        margin-left: calc(32px + 0.625rem);
    }
}

/* -- Phone: KPI strip (US-798) -- */
/* Two 150px columns could not hold these labels: "Pending payment requests"
   broke across three lines, so that card ran far taller than the one beside
   it and the pair's values no longer lined up. One card per row instead --
   label and caption on the left, figure right-aligned against them -- which
   fits the labels on one line and puts every figure on a common right edge.
   It costs about 60px of height over the 2-up grid; worth it on a page this
   long for four figures that are the point of the screen. */
@media (max-width: 599px) {
    .cpo-kpi-grid[b-z5o3ojl0pv] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .cpo-kpi[b-z5o3ojl0pv] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        column-gap: 0.75rem;
        row-gap: 0;
        min-height: 0;
        padding: 0.75rem 1rem;
    }

    .cpo-kpi-label[b-z5o3ojl0pv] {
        grid-row: 1;
        grid-column: 1;
    }

    .cpo-kpi-value[b-z5o3ojl0pv] {
        grid-row: 1;
        grid-column: 2;
        /* The container query sized this off a half-width card; on a full-width
           row it can simply be the figure size. */
        font-size: 20px;
    }

    .cpo-kpi-subtitle[b-z5o3ojl0pv] {
        grid-row: 2;
        grid-column: 1 / -1;
    }
}

/* -- Phone: critical task rows (US-798) -- */
/* Reserving a column for the trailing label squeezed the task text into three
   lines while "Review" / "Add funds" floated mid-row against it. On phone the
   title takes the full width and the label drops onto its own line under the
   title (indented past the dot), where an actionable one reads as the row's
   call to action rather than a stray word. A date label ("Today") stays a
   quiet due-stamp; both keep their existing tone colours. */
@media (max-width: 599px) {
    .cpo-action-row[b-z5o3ojl0pv] {
        flex-wrap: wrap;
        row-gap: 0.25rem;
        padding: 0.75rem 1rem;
    }

    /* Dot and title share the first line; only the label wraps below. */
    .cpo-action-body[b-z5o3ojl0pv] {
        flex: 1 1 0;
    }

    .cpo-action-due[b-z5o3ojl0pv] {
        /* 8px dot + 12px row gap keeps it on the title's left edge; the basis
           subtracts that indent so the line cannot overflow the card. */
        flex-basis: calc(100% - 20px);
        margin-left: 20px;
        margin-top: 0;
    }

    /* An action word is the row's affordance -- give it link weight so it is
       obviously tappable; due dates keep their quieter treatment. */
    .cpo-action-due-default[b-z5o3ojl0pv] {
        color: var(--lw-primary-blue);
        font-weight: 600;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/ClientProjectPendingOverview.razor.rz.scp.css */
/* Project Owner pending-overview (account not open yet).
   Measured against ledgerwise-ui-app:
   - src/components/organisms/project/project-overview.tsx (max-w-[1100px] gap-4)
   - src/components/organisms/kickoff/control-card.tsx (header: gap-3.5 px-5 py-4
     md:px-6 bg-white border-b; 44px info-bg/brand-accent icon tile w/ 20px glyph;
     16px bold title, 12px muted sub; body p-5 md:p-6 on form-surface)
   - src/components/organisms/project/proposal-detail-sections.tsx (PartyRoster,
     ReadField) and proposal-details-panel.tsx (Field). */

.cppo[b-5dw804ojfd] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* The five detail cards are the shared ControlCard (US-1043): head band, icon
   tile, title + subtitle and body padding all come from ControlCard.razor.css. */

/* Description read state: text-sm leading-relaxed content-secondary */
.cppo-description[b-5dw804ojfd] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Rich-text children arrive via MarkupString (no scope attribute), so ::deep. */
[b-5dw804ojfd] .cppo-description p,
[b-5dw804ojfd] .cppo-description ul,
[b-5dw804ojfd] .cppo-description ol {
    margin: 0 0 8px;
}

[b-5dw804ojfd] .cppo-description strong {
    font-weight: 600;
    color: var(--lw-text-primary);
}

[b-5dw804ojfd] .cppo-description > :last-child {
    margin-bottom: 0;
}

/* Shared roster rows (owners + team) -- PartyRoster: gap-3 list; rows
   items-start gap-3.5 rounded-card border bg-white p-4 */
.cppo-roster[b-5dw804ojfd] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cppo-roster-row[b-5dw804ojfd] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--lw-white, #fff);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    padding: 16px;
}

.cppo-roster-avatar[b-5dw804ojfd] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lw-primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cppo-roster-avatar--team[b-5dw804ojfd] {
    background: var(--lw-primary-dark);
}

.cppo-roster-info[b-5dw804ojfd] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* text-sm font-semibold text-foreground */
.cppo-roster-name[b-5dw804ojfd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

/* Badge size=sm: h-5 px-1.5 text-[10px] bold uppercase tracking-wide rounded-sm */
.cppo-roster-chip[b-5dw804ojfd] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--lw-status-neutral-fg);
    background: var(--lw-status-neutral-bg);
    border-radius: var(--lw-radius-control, 8px);
    padding: 0 6px;
}

/* text-xs text-muted-foreground */
.cppo-roster-sub[b-5dw804ojfd] {
    font-size: 0.75rem;
    color: var(--lw-gray-space, #9DA2B3);
}

/* mt-0.5 text-[13px] text-content-secondary */
.cppo-roster-contact[b-5dw804ojfd] {
    margin-top: 2px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Field grids (account settings, project details): gap-4 sm:2-col lg:3-col */
.cppo-grid[b-5dw804ojfd] {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .cppo-grid--2[b-5dw804ojfd] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cppo-grid--3[b-5dw804ojfd] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cppo-grid--3[b-5dw804ojfd] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cppo-field[b-5dw804ojfd] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* text-xs font-medium uppercase tracking-wide text-muted-foreground */
.cppo-field-label[b-5dw804ojfd] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--lw-gray-space, #9DA2B3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Info icon for the minimum/reserve balance explanations (US-614) */
.cppo-info-icon[b-5dw804ojfd] {
    width: 13px;
    height: 13px;
    font-size: 13px;
    color: var(--lw-gray-space, #9DA2B3);
    opacity: 0.85;
}

/* text-sm text-foreground, gap-1.5 icon row */
.cppo-field-value[b-5dw804ojfd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

/* size-3.5 text-muted-foreground */
[b-5dw804ojfd] .cppo-field-icon {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-gray-space, #9DA2B3);
    flex-shrink: 0;
}

/* Bug-938: the single-owner sign link inside the pre-signing note (an accent text link;
   source: none -- ledgerwise-ui has no pre-signing note with a link). */
.cppo-sign-link[b-5dw804ojfd] {
    color: var(--lw-primary-blue);
    font-weight: 500;
    text-decoration: none;
}

.cppo-sign-link:hover[b-5dw804ojfd] {
    color: var(--lw-primary-dark);
    text-decoration: underline;
}
/* _content/Ledgerwise/Components/Pages/Client/Clients.razor.rz.scp.css */
/* Project Owners list (US-856, US-1020): a multi-owner account shows its
   combined name as the title and the owners as one row of small overlapping
   avatars beneath it, each named by tooltip. Layout only -- cell chrome comes
   from the shared lw-page.css row classes, avatar chrome from LwAvatar. */

[b-l8h5pp6jj7] .lw-client-owners {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    min-width: 0;
}

[b-l8h5pp6jj7] .lw-client-owners .mud-tooltip-root + .mud-tooltip-root {
    margin-left: -10px; /* 6px gap cancelled, then a 4px tuck */
}

[b-l8h5pp6jj7] .lw-client-owner-email {
    min-width: 0;
}

/* A slight stack: each avatar tucks 4px under the next, with a page-white ring
   so the edge reads. The wrapper is solid white underneath because the tone
   fills are 12% tints -- without it the neighbour shows through the overlap. */
[b-l8h5pp6jj7] .lw-client-owner-avatar {
    display: inline-flex;
    border-radius: 50%;
    background: var(--lw-white);
    box-shadow: 0 0 0 1.5px var(--lw-white);
}

[b-l8h5pp6jj7] .lw-client-owner-avatar .lw-avatar-initials {
    font-weight: var(--lw-font-semibold, 600);
}

/* Phones (US-1043): the Quick Tips icon is a 44px target. No title-bar layout
   override: the shared .lw-page-titlebar (lw-page.css) owns the phone layout, so
   Add Project Owner renders as on /projects -- label width, 44px tall, on its own
   row under the subtitle, with the Quick Tips icon beside it. */
@media (max-width: 767.98px) {
    [b-l8h5pp6jj7] .lw-client-tips {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/HomeownerDocumentDrawer.razor.rz.scp.css */
/* HomeownerDocumentDrawer (US-926). Everything visual is the shared drawer
   spec (wwwroot/css/components/lw-drawer.css) on an lw-modal--sheet dialog --
   header, 360px File details column, wide document pane, phone pane swap --
   with rows on the global .lw-field-rows. The only local rules are the phone
   tap targets below. */

/* Phones (US-1043): same local recipe as ViewInvoiceModal -- the header pager
   and the pane's Download are 44px targets, and the file name keeps the rest
   of the toolbar row (ellipsized, full name in its title attribute). */
@media (max-width: 767.98px) {
    .lw-drawer-pane-toolbar[b-s1jzjih57s] {
        padding: 4px 8px 4px 16px;
    }

    .lw-drawer-pane-file[b-s1jzjih57s] {
        flex: 1 1 140px;
    }

    .lw-drawer-pane-icon[b-s1jzjih57s] {
        width: 44px;
        height: 44px;
    }

    .lw-drawer-pane-icon[b-s1jzjih57s]  .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
}
/* _content/Ledgerwise/Components/Pages/Client/HomeownerPhotoLightbox.razor.rz.scp.css */
/* Full-screen photo lightbox. Source: ledgerwise-app
   organisms/photo-lightbox.tsx (measured 2026-07-20): rgba(0,0,0,0.95)
   overlay; gradient top/bottom bars; 32px round glass close; 36px round
   glass nav arrows; image max-h calc(100vh - 160px) radius 4px; bottom
   glass action pill with icon-over-label buttons. */

.ho-lightbox[b-wp01j4lr8m] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    outline: none;
}

.ho-lightbox.open[b-wp01j4lr8m] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Top bar: filename + counter/close over a fading gradient. */
.ho-lb-topbar[b-wp01j4lr8m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    padding: 12px 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.ho-lb-name[b-wp01j4lr8m] {
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ho-lb-topactions[b-wp01j4lr8m] { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.ho-lb-counter[b-wp01j4lr8m] {
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.6);
}

.ho-lb-close[b-wp01j4lr8m] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
    padding: 0;
}

.ho-lb-close:hover[b-wp01j4lr8m] { background: rgba(255, 255, 255, 0.1); }
.ho-lb-close[b-wp01j4lr8m]  .mud-icon-root { width: 1rem; height: 1rem; }

/* Stage: image centered between the nav arrows. */
.ho-lb-stage[b-wp01j4lr8m] {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.ho-lb-img[b-wp01j4lr8m] {
    max-height: calc(100vh - 160px);
    max-width: calc(100vw - 120px);
    object-fit: contain;
    border-radius: var(--lw-radius-sm);
}

.ho-lb-nav[b-wp01j4lr8m] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.15s ease;
    padding: 0;
}

.ho-lb-nav:hover[b-wp01j4lr8m] { background: rgba(255, 255, 255, 0.15); }
.ho-lb-nav[b-wp01j4lr8m]  .mud-icon-root { width: 1.25rem; height: 1.25rem; }
.ho-lb-prev[b-wp01j4lr8m] { left: 24px; }
.ho-lb-next[b-wp01j4lr8m] { right: 24px; }

/* Bottom action pill over a rising gradient. */
.ho-lb-bottombar[b-wp01j4lr8m] {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 0 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.ho-lb-pill[b-wp01j4lr8m] {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.ho-lb-pillbtn[b-wp01j4lr8m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--lw-radius-sm);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.15s ease;
    padding: 0;
}

.ho-lb-pillbtn:hover[b-wp01j4lr8m] { background: rgba(255, 255, 255, 0.1); }
.ho-lb-pillbtn[b-wp01j4lr8m]  .mud-icon-root { width: 18px; height: 18px; }

.ho-lb-pillbtn span[b-wp01j4lr8m] {
    margin-top: 1px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.7);
}

/* Loading / failed states (US-926): LwSkeleton + caption, LwDocEmpty -- the
   same state atoms as the document drawers, sized to the stage. */
.ho-lb-state[b-wp01j4lr8m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(560px, calc(100% - 120px));
    height: min(60vh, 480px);
}

.ho-lb-state[b-wp01j4lr8m]  .ho-lb-skeleton {
    width: 100%;
    flex: 1 1 auto;
    border-radius: var(--lw-radius-card);
    opacity: 0.2;
}

.ho-lb-caption[b-wp01j4lr8m] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Phones (US-1043): the photo takes the full width (8px inset) and the 44px
   arrows overlay its edges on a navy scrim so they read on any photo; the
   state box takes the width between them. Close and Save are 44px targets and
   the bars clear the notch / home indicator. 100dvh tracks the collapsing
   browser bars. */
@media (max-width: 767.98px) {
    .ho-lightbox[b-wp01j4lr8m] {
        bottom: auto;
        height: 100dvh;
    }

    .ho-lb-topbar[b-wp01j4lr8m] {
        gap: 8px;
        padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px 16px;
    }

    .ho-lb-topactions[b-wp01j4lr8m] { gap: 8px; }

    .ho-lb-close[b-wp01j4lr8m] {
        width: 44px;
        height: 44px;
    }

    .ho-lb-close[b-wp01j4lr8m]  .mud-icon-root { width: 1.25rem; height: 1.25rem; }

    .ho-lb-stage[b-wp01j4lr8m] { overflow: hidden; }

    /* 128px = top bar (8 + 44 + 8) + bottom bar (8 + 44 + 16). */
    .ho-lb-img[b-wp01j4lr8m] {
        max-width: calc(100vw - 16px);
        max-height: calc(100dvh - 128px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    }

    .ho-lb-nav[b-wp01j4lr8m] {
        width: 44px;
        height: 44px;
        background: color-mix(in srgb, var(--lw-primary-dark) 55%, transparent);
        color: var(--lw-white);
    }

    .ho-lb-nav:hover[b-wp01j4lr8m] { background: color-mix(in srgb, var(--lw-primary-dark) 70%, transparent); }
    .ho-lb-nav[b-wp01j4lr8m]  .mud-icon-root { width: 1.5rem; height: 1.5rem; }
    .ho-lb-prev[b-wp01j4lr8m] { left: 12px; }
    .ho-lb-next[b-wp01j4lr8m] { right: 12px; }

    .ho-lb-state[b-wp01j4lr8m] {
        width: calc(100% - 128px);
        height: auto;
    }

    .ho-lb-bottombar[b-wp01j4lr8m] {
        padding: 8px 0 calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .ho-lb-pill[b-wp01j4lr8m] { padding: 0 4px; }

    .ho-lb-pillbtn[b-wp01j4lr8m] {
        width: 64px;
        height: 44px;
    }

    .ho-lb-pillbtn span[b-wp01j4lr8m] { font-size: 11px; }
}

/* Toasts raised inside the lightbox: above the stage, clear of the Save pill. */
.ho-lightbox[b-wp01j4lr8m]  .lw-snackbar .lw-snackbar__toast {
    z-index: 20;
    bottom: 96px;
}

@media (max-width: 767.98px) {
    .ho-lightbox[b-wp01j4lr8m]  .lw-snackbar .lw-snackbar__toast {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
}
/* _content/Ledgerwise/Components/Pages/Client/OwnerSignaturesCard.razor.rz.scp.css */
/* Waiting-on-the-other-owners card.
   Measured against ledgerwise-ui-app:
   - src/components/organisms/kickoff/control-card.tsx (header: items-center
     gap-3.5 px-5 py-4 md:px-6 bg-white border-b; 44px rounded-card info-bg /
     brand-accent icon tile w/ 20px glyph; 16px bold title, 12px muted sub;
     body p-5 md:p-6 on the card's form-surface)
   - src/components/organisms/project/signature-roster.tsx (gap-3 header row,
     gap-2 list, rows px-3.5 py-2.5 gap-3, 32px muted avatar, sm badges)
   - src/components/ui/button.tsx (size=action: h-10 px-5 text-sm rounded-md). */

/* The head (tile, title, subtitle) and the body padding are the shared ControlCard's
   (US-1043). Two things it has no parameter for stay here, scoped to this card: */

/* 1. The subtitle is the state's full sentence, not a caption: it wraps at every
      width (ControlCard ellipsizes a one-line Sub above its phone breakpoint). */
.osc-card[b-bzy72r6cvn]  .cc-head__sub {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* 2. Bug-938: the delayed-setup state paints the tile in the warning tone.
      source: none -- ledgerwise-ui has no delayed state; --lw-status-warning-* tokens. */
.osc-icon--warning[b-bzy72r6cvn]  .cc-head__icon {
    background: var(--lw-status-warning-bg);
}

.osc-icon--warning[b-bzy72r6cvn]  .cc-head__icon .mud-icon-root {
    color: var(--lw-status-warning-fg) !important;
}

/* Body stack inside the ControlCard body (which owns the padding). */
.osc-body[b-bzy72r6cvn] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* SignatureRoster: flex-col gap-3 */
.osc-roster[b-bzy72r6cvn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osc-roster-head[b-bzy72r6cvn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* text-sm font-semibold text-foreground w/ size-4 content-secondary icon */
.osc-roster-title[b-bzy72r6cvn] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

[b-bzy72r6cvn] .osc-roster-title .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite);
}

/* text-xs text-content-secondary */
.osc-roster-caption[b-bzy72r6cvn] {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* List: gap-2 */
.osc-roster-body[b-bzy72r6cvn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Row: items-center gap-3 rounded-card border bg-white px-3.5 py-2.5 */
.osc-row[b-bzy72r6cvn] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--lw-white, #fff);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    padding: 10px 14px;
}

/* size-8 rounded-full bg-muted text-[11px] font-semibold content-secondary */
.osc-avatar[b-bzy72r6cvn] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lw-bg-muted, #F0F3F6);
    color: var(--lw-gray-graphite);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.osc-row-info[b-bzy72r6cvn] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* text-sm font-medium text-foreground */
.osc-name[b-bzy72r6cvn] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
}

/* text-xs text-content-secondary */
.osc-row-sub[b-bzy72r6cvn] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Badge size=sm: h-5 px-1.5 text-[10px] bold uppercase tracking-wide rounded-sm */
.osc-badge[b-bzy72r6cvn] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    line-height: 1;
    border-radius: var(--lw-radius-control, 8px);
    padding: 0 6px;
}

.osc-badge.is-signed[b-bzy72r6cvn] {
    color: var(--lw-status-success-fg);
    background: var(--lw-status-success-bg);
}

.osc-badge.is-invited[b-bzy72r6cvn] {
    color: var(--lw-status-info-fg);
    background: var(--lw-status-info-bg);
}

/* Right-aligned action button (button.tsx: default variant, size=action) */
.osc-actions[b-bzy72r6cvn] {
    display: flex;
    justify-content: flex-end;
}

.osc-sign-btn[b-bzy72r6cvn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white, #fff);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.osc-sign-btn:hover[b-bzy72r6cvn] {
    background: color-mix(in srgb, var(--lw-primary-dark, #020B2B) 90%, transparent);
    color: var(--lw-white, #fff);
    text-decoration: none;
}

/* -- Phone (US-798) -- */
/* Verified at 500px: the owner row itself needs nothing -- avatar, name/email
   and the status pill share one line comfortably. What did need fixing is the
   action: right-aligned it sat against dead space, so it goes full width. */
@media (max-width: 599px) {
    .osc-roster-head[b-bzy72r6cvn] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .osc-actions[b-bzy72r6cvn] {
        justify-content: stretch;
    }

    .osc-sign-btn[b-bzy72r6cvn] {
        width: 100%;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/ClaimInvitation.razor.rz.scp.css */
/* Invitation claim confirmation (US-893): a narrow column under the standard
   page title bar (lw-page.css). Tokens only. */

.ci-body[b-6n3mexgvpm] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
    padding: 24px;
}

.ci-copy[b-6n3mexgvpm] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

.ci-actions[b-6n3mexgvpm] {
    display: flex;
    gap: 8px;
}

/* Phone (US-926, O10): 16px gutter; the action fills the row at 44px. */
@media (max-width: 767.98px) {
    .ci-body[b-6n3mexgvpm] {
        padding: 16px;
    }

    .ci-actions .lw-page-action[b-6n3mexgvpm] {
        flex: 1 1 auto;
        height: 44px;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/Contractor.razor.rz.scp.css */
/* Contractor detail/edit page -- reference: gc-vendor-detail.tsx (measured
   2026-07-28, corrected after the card-by-card conformance review: cards
   stack FULL-WIDTH in one muted column (no aside -- the reference and every
   migrated page render a single stacked column); header is items-start with
   a 56px circle avatar; Field label = 11px medium uppercase tracking-wide in
   the LIGHT muted-foreground (--lw-gray-space), value 14px foreground.
   The Blazor page keeps its edit-form role, so fields render as the
   FieldShell atoms inside the reference card stack. Layout only. */

/* The identity header is the shared LwEntityHeader atom (the project detail
   header pattern, US-1043 r2); its chrome lives in that component's scoped CSS.
   The plain .lw-page-titlebar below is only the loading / not-found fallback,
   which must not collapse: 16px top + the 56px avatar the header will bring. */
[b-q068v1riob] .lw-page-titlebar {
    align-items: flex-start;
    min-height: 72px;
}

/* -- Muted body -- */
[b-q068v1riob] .co-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    flex: 1;
}

/* -- Tab panes (Overview / Organization Users): same stack as the body; the
   inactive one stays mounted, hidden. -- */
[b-q068v1riob] .co-pane {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

[b-q068v1riob] .co-pane[hidden] {
    display: none;
}

/* -- Per-card edit (MyOrganization recipe: .org-edit-actions / .org-card-action) -- */
[b-q068v1riob] .co-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

/* Card-header actions (Edit, Send Reminder) are the shared icon-only .lw-card-action
   recipe (lw-page.css); the page keeps no header rules of its own. */
@media (max-width: 599px) {
    [b-q068v1riob] .co-edit-actions .lw-button:last-child {
        flex: 1 1 auto;
    }

    [b-q068v1riob] .co-edit-actions .lw-button:last-child .lw-button-native {
        width: 100%;
    }
}

/* -- Full-width stacked card column (reference gap-6) -- */
[b-q068v1riob] .co-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* -- Form internals: stacked fields, two-up rows -- */
[b-q068v1riob] .co-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-q068v1riob] .co-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 767.98px) {
    [b-q068v1riob] .co-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Boolean rows sit full-width under the field grid (reference toggle-row
   idiom), not inside a 2-up cell. */
[b-q068v1riob] .co-check-row {
    display: flex;
    align-items: center;
}

/* Record-details rows are the global .lw-field-rows since US-926. */

/* -- Error / not-found states -- */
[b-q068v1riob] .co-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 560px;
}

[b-q068v1riob] .co-state--center {
    align-items: center;
    align-self: center;
    text-align: center;
    padding: 48px 0;
}

[b-q068v1riob] .co-state-icon.mud-icon-root {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--lw-gray-graphite);
}

[b-q068v1riob] .co-state-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 18px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

[b-q068v1riob] .co-state-sub {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

/* Phone-only section select; desktop keeps the LwPageTabs strip. */
.co-tab-switch[b-q068v1riob] {
    display: none;
}

/* -- Phone -- */
/* Title bar:the loading / not-found fallback is the shared .lw-page-titlebar phone
   layout (lw-page.css) with nothing page-specific; only the desktop height hold is
   released. The loaded header is LwEntityHeader's own phone layout. (The US-926
   full-width Back / Update Contractor row went away with those title-bar actions.) */
@media (max-width: 767.98px) {
    [b-q068v1riob] .lw-page-titlebar {
        min-height: 0;
    }

    [b-q068v1riob] .co-body {
        padding: 16px;
        gap: 16px;
    }

    /* Section select (US-1043 r5, O3): the tab strip gives way to one full-width
       select under the header. 12px above it = the gap the project header keeps above
       its section select (LwEntityHeader TabsBelow leaves its bottom open), the
       UserProfile / My Organization box: 12px / 16px / 12px, white, hairline under. */
    .co-tab-switch[b-q068v1riob] {
        display: block;
        padding: 12px 16px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    .co-tabs[b-q068v1riob]  .lw-page-tabs {
        display: none;
    }

    /* 44px tap targets (US-1043): the section select trigger and the card-header
       actions (Edit, Send Reminder, 36px on desktop). */
    .co-tab-switch[b-q068v1riob]  .lw-page-section-trigger {
        height: 44px;
    }

    [b-q068v1riob] .cc-head__action .lw-page-action {
        height: 44px;
    }

    [b-q068v1riob] .co-pane {
        gap: 16px;
    }

    [b-q068v1riob] .co-cards {
        gap: 16px;
    }
}

/* Record details (US-926): rows are the global .lw-field-rows; the license note sits 16px
   below them. */
[b-q068v1riob] .co-record {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorPreliminaryNotice.razor.rz.scp.css */
/* Contractor preliminary-notice page -- migrated 2026-07-28 onto the
   approved detail-page grammar (no ledgerwise-app reference: the NCS
   preliminary-notice feature does not exist in the prototype). lw-page
   titlebar, muted body of full-width ControlCards, reference Field
   label/value grid, canonical toasts. Layout only. */

[b-o6imijnfx0] .cpn-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    flex: 1;
}

[b-o6imijnfx0] .cpn-state {
    max-width: 560px;
}

[b-o6imijnfx0] .cpn-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-o6imijnfx0] .cpn-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 700px) {
    [b-o6imijnfx0] .cpn-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Read-only rows are the global .lw-field-rows (app.css) since US-926. */

/* NCS document links row under the status fields. */
[b-o6imijnfx0] .cpn-doclinks {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

[b-o6imijnfx0] .cpn-caption {
    margin: 0;
    text-align: center;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Accent link inside the warning note. */
[b-o6imijnfx0] .cpn-link {
    color: var(--lw-primary-blue);
    font-weight: var(--lw-font-medium);
    text-decoration: none;
}

[b-o6imijnfx0] .cpn-link:hover {
    text-decoration: underline;
}

/* Pricing checklist (16px check glyph in success-dark + 13px copy). */
[b-o6imijnfx0] .cpn-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[b-o6imijnfx0] .cpn-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

[b-o6imijnfx0] .cpn-checklist svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #2D7A5F; /* success-dark, per the vim-step/tracker reference */
}

/* Phone (US-926, O10): 16px gutter and card gap; the title-bar action fills its row. */
@media (max-width: 767.98px) {
    [b-o6imijnfx0] .cpn-body {
        padding: 16px;
        gap: 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorProject.razor.rz.scp.css */
/* -- Page wrapper -- */
/* MainLayout wraps @Body in a pa-6 container (24px gutters). Like the GC
   detail (.lw-project-detail-shell) and the client detail, escape them with
   a negative margin so the header + tabs run edge-to-edge on white and the
   muted bg fills the rest. */
.cp-page[b-dexljxpquy] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    min-height: calc(100% + 48px);
    background: var(--lw-bg-muted);
}

/* Loading / error / not-found states are direct children of the full-bleed
   wrapper -- restore the gutters it cancelled (same as the GC detail). */
.cp-page[b-dexljxpquy]  > .mud-stack,
.cp-page[b-dexljxpquy]  > .mud-alert {
    margin: 24px;
}

/* Error / not-found states (US-926): the full-bleed wrapper cancels the
   shell gutters, so the state block restores them -- 24px desktop, 16px phone
   (owner frame gutter). */
.cp-state[b-dexljxpquy] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px;
}

.cp-state-action[b-dexljxpquy] {
    align-self: flex-start;
}

@media (max-width: 767.98px) {
    .cp-state[b-dexljxpquy] {
        margin: 16px;
    }

    .cp-state-action[b-dexljxpquy] {
        align-self: stretch;
        width: 100%;
        height: 44px;
        justify-content: center;
    }
}

/* -- Project Header -- */
.cp-header[b-dexljxpquy] {
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    padding: 1.25rem 1.5rem 0;
}

.cp-identity[b-dexljxpquy] {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    margin-bottom: 1rem; /* reference: tab strip is mt-4 below the identity zone */
}

/* Avatar is the shared LwAvatar atom (56px squircle, brand gradient,
   address-number label / house glyph fallback) -- no local avatar chrome. */

.cp-info[b-dexljxpquy] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Name row */
.cp-name-row[b-dexljxpquy] {
    display: flex;
    align-items: center;
    gap: 1rem; /* gap-4 */
    flex-wrap: wrap;
}

.cp-name[b-dexljxpquy] {
    font-size: var(--lw-title-size); /* 22px */
    font-weight: var(--lw-title-weight);
    line-height: 2rem; /* leading-8 */
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
    font-family: var(--lw-font-family);
}

/* Status pills are the shared StatusChip component (Badge md idiom:
   h-6, px-1.5, 11px bold uppercase, radius --lw-radius-control, token
   tone pairs) -- no local pill chrome. */

/* Metadata row: status chip + address, PM, dates (reference gap-x-3 gap-y-1.5) */
.cp-meta-row[b-dexljxpquy] {
    display: flex;
    align-items: center;
    column-gap: 0.75rem; /* gap-x-3 */
    row-gap: 0.375rem; /* gap-y-1.5 */
    flex-wrap: wrap;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem; /* leading-5 */
    color: var(--lw-gray-graphite);
}

.cp-meta-item[b-dexljxpquy] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem; /* gap-1.5 */
}

/* Meta icons = reference size-3.5 (14px) muted-foreground. MudIcon is a
   child component -- ::deep + .mud-icon-root to out-specific Mud's sizing. */
.cp-meta-item[b-dexljxpquy]  .cp-meta-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

/* Payment instructions read as a status pill inline in .cp-meta-row (no
   separate labelled status row). Its "Setup" action sits next to the pill as
   a compact text button so it does not out-weigh the meta line. */
.cp-meta-row[b-dexljxpquy]  .cp-status-action.mud-button-root {
    min-width: 0;
    height: 22px;
    padding: 0 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
}

/* Tab navigation strip */
.cp-tab-nav[b-dexljxpquy] {
    display: flex;
    align-items: center;
    gap: 2rem; /* gap-8 */
    margin-top: 1rem; /* reference mt-4 -- collapses with .cp-identity's margin-bottom to 16px */
}

.cp-tab[b-dexljxpquy] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    font-family: var(--lw-font-family);
    white-space: nowrap;
}

.cp-tab:hover[b-dexljxpquy] {
    color: var(--lw-text-primary);
}

.cp-tab.active[b-dexljxpquy] {
    color: var(--lw-text-primary);
}

.cp-tab.active[b-dexljxpquy]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--lw-text-primary);
}

/* -- Tab content area -- */
.cp-content[b-dexljxpquy] {
    flex: 1;
}

/* Phone-only subline; shown by the phone block below. */
.cp-mobile-sub[b-dexljxpquy] {
    display: none;
}

/* -- Phone section switcher (US-926) -- */
/* Same control as the Project Owner detail (ClientProject.razor.css, US-798):
   desktop shows the full strip, so the select only exists below the phone
   breakpoint. Scoped to a min-width query rather than left unqualified: an
   unqualified rule declared after the phone block would win on source order. */
@media (min-width: 768px) {
    .cp-tab-nav[b-dexljxpquy]  .cp-tab-menu {
        display: none;
    }
}

.cp-tab-select[b-dexljxpquy] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
}

.cp-tab-select[b-dexljxpquy]  .cp-tab-select-chevron.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    margin-left: -0.125rem;
    color: var(--lw-gray-graphite);
}

.cp-more-item[b-dexljxpquy] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cp-more-item--active[b-dexljxpquy] {
    color: var(--lw-text-primary);
    font-weight: 600;
}

/* -- Phone layout (US-926) -- */
/* Ported from the Project Owner detail's phone header (ClientProject.razor.css,
   US-798; reference ledgerwise-ui-app project-header.tsx "MOBILE HEADER (< md)").
   Identity row items-start gap-3 px-4 pt-4 pb-3, avatar 44, name text-base
   bold leading-tight line-clamp-2, address as one text-xs muted line, badge
   row gap-2 mt-1, tab strip -> one full-width section select. The sub header
   keeps its payment-status chip (+ Setup / Finish setup action) in the badge
   row, where the owner header carries its funding chip. */
@media (max-width: 767.98px) {
    .cp-header[b-dexljxpquy] {
        padding: 1rem 1rem 0;
    }

    .cp-identity[b-dexljxpquy] {
        align-items: flex-start;
        gap: 0.75rem; /* gap-3 */
        margin-bottom: 0.75rem; /* pb-3 */
    }

    /* Avatar size is an inline style on the atom root (Size=56); the phone
       spec is 44px, so out-rank the inline value here. */
    .cp-identity[b-dexljxpquy]  .lw-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .cp-name[b-dexljxpquy] {
        font-size: 1rem; /* text-base */
        line-height: 1.25; /* leading-tight */
        letter-spacing: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cp-mobile-sub[b-dexljxpquy] {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        font-size: 0.75rem; /* text-xs */
        line-height: 1rem;
        color: var(--lw-gray-graphite);
    }

    .cp-meta-item--desktop[b-dexljxpquy] {
        display: none;
    }

    .cp-meta-row[b-dexljxpquy] {
        column-gap: 0.5rem; /* gap-2 */
        row-gap: 0.5rem;
        margin-top: 0.25rem; /* mt-1 */
    }

    .cp-tab[b-dexljxpquy] {
        display: none;
    }

    .cp-tab-nav[b-dexljxpquy] {
        gap: 0;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    /* Full width (Cody, 2026-09-06, owner header): a tap target spanning the
       header reads as the section switcher for the page. */
    .cp-tab-nav[b-dexljxpquy]  .cp-tab-menu {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .cp-tab-select[b-dexljxpquy] {
        width: 100%;
        justify-content: space-between;
    }

    .cp-tab-select-label[b-dexljxpquy] {
        margin-right: auto;
    }

    .cp-tab-select[b-dexljxpquy]  .cp-tab-select-chevron.mud-icon-root {
        margin-left: 0.375rem;
    }
}

/* Breadcrumb strip above header */
.cp-breadcrumb[b-dexljxpquy] {
    padding: 0.5rem 1.5rem 0;
}

[b-dexljxpquy] .cp-breadcrumb .mud-breadcrumb {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

[b-dexljxpquy] .cp-breadcrumb .mud-breadcrumb-item a,
[b-dexljxpquy] .cp-breadcrumb .mud-breadcrumb-item span {
    color: var(--lw-gray-graphite);
    text-decoration: none;
    font-weight: 400;
}

[b-dexljxpquy] .cp-breadcrumb .mud-breadcrumb-item:last-child span {
    color: var(--lw-primary-dark);
    font-weight: 500;
}

[b-dexljxpquy] .cp-breadcrumb .mud-breadcrumb-separator {
    color: var(--lw-gray-steel);
    font-size: 0.75rem;
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorProjectDocuments.razor.rz.scp.css */
/* Contractor project Documents tab -- page-level extras only. All shared
   documents chrome lives in wwwroot/css/components/lw-doc.css (composes
   lw-table.css); toolbar chrome comes from lw-page.css + LwChip /
   LwViewToggle atoms. */

/* Empty-state signature tile tint (folders = gold). */
.ho-sig-tile[b-sm5702q60s] {
    background: var(--lw-status-secondary-bg);
    color: var(--lw-status-secondary-fg);
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorProjectInvoices.razor.rz.scp.css */
/* Contractor project Invoices tab -- page-level only. Table chrome comes
   from the shared lw-table.css; toolbar from lw-page.css; tracking dots from
   the LwInvoiceTracking atom. What lives here: this table's column layout,
   the status-cell roadmap tooltip (mirrors ProjectInvoices .pi-tip-* values,
   source ledgerwise-app status-cell-tooltip.tsx -- promote to lw-table.css
   when the GC tab's migration settles), the lien-release expand panel, and
   the Sign Lien Release row action. */

.cpi-page[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
}

/* The tab hosts a full-bleed toolbar; the table sits on the muted panel. */
.cpi-body[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

/* ---- Column layout ---- */

.cpi-col[b-qotmg1t2xv] {
    flex: 1;
    min-width: 0;
}

.cpi-col-toggle[b-qotmg1t2xv] {
    width: 48px;
    flex-shrink: 0;
    justify-content: center;
    padding-left: 8px;
    padding-right: 8px;
}

.cpi-col-invoice[b-qotmg1t2xv] {
    flex: 1.1;
    min-width: 120px;
}

.cpi-col-status[b-qotmg1t2xv] {
    width: 210px;
    flex-shrink: 0;
}

.cpi-col-actions[b-qotmg1t2xv] {
    width: 48px;
    flex-shrink: 0;
}

/* Lien-waiver tab: fits the Sign Lien Release button (Bug-1262: 16 + 141 + 16 = 173)
   and the "Add payment info to sign" line that stands in for it (16 + 144 + 16 = 176). */
.cpi-col-actions.cpi-actions-wide[b-qotmg1t2xv] {
    width: 176px;
}

.cpi-days-hint[b-qotmg1t2xv] {
    margin-left: 4px;
    font-size: 12px;
    color: var(--lw-gray-space);
}

/* ---- Status-cell roadmap tooltip (mirrors ProjectInvoices .pi-*) ---- */

.cpi-status-stack[b-qotmg1t2xv] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Status pills carry the full user-facing status name (US-583); long labels
   wrap inside the cell instead of overflowing the column. */
.cpi-status-stack[b-qotmg1t2xv]  .lw-status-chip {
    white-space: normal;
    text-align: left;
    height: auto;
    min-height: 24px;
    padding: 3px 6px;
    line-height: 1.3;
}

.cpi-tracking-tip[b-qotmg1t2xv] {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    z-index: 100;
    width: 200px;
    background: var(--lw-white);
    border-radius: var(--lw-radius-sm);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    pointer-events: none;
    flex-direction: column;
}

.cpi-status-stack:hover .cpi-tracking-tip[b-qotmg1t2xv] {
    display: flex;
}

.cpi-tip-row[b-qotmg1t2xv] {
    display: flex;
    align-items: stretch;
    padding: 0 14px;
}

.cpi-tip-track[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
}

.cpi-tip-node[b-qotmg1t2xv] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 50%;
}

.cpi-tip-done[b-qotmg1t2xv] {
    background: var(--lw-success-dark);
    color: var(--lw-white);
}

.cpi-tip-active[b-qotmg1t2xv] {
    border: 1.5px solid var(--lw-primary-blue);
    background: var(--lw-white);
}

.cpi-tip-future[b-qotmg1t2xv] {
    border: 1.5px solid var(--lw-tracking-grey);
    background: var(--lw-white);
}

/* Reference active inner marker is a 6px SQUARE (size-1.5, no rounding). */
.cpi-tip-active-dot[b-qotmg1t2xv] {
    width: 6px;
    height: 6px;
    background: var(--lw-primary-blue);
}

.cpi-tip-line[b-qotmg1t2xv] {
    width: 1.5px;
    flex: 1;
    background: var(--lw-tracking-grey);
    min-height: 8px;
}

.cpi-tip-line-done[b-qotmg1t2xv] {
    background: var(--lw-success-dark);
}

.cpi-tip-content[b-qotmg1t2xv] {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cpi-tip-content-gap[b-qotmg1t2xv] {
    padding-bottom: 10px;
}

.cpi-tip-label[b-qotmg1t2xv] {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.cpi-tip-label-done[b-qotmg1t2xv] {
    color: var(--lw-success-dark);
}

.cpi-tip-label-active[b-qotmg1t2xv] {
    color: var(--lw-primary-blue);
}

.cpi-tip-label-future[b-qotmg1t2xv] {
    color: var(--lw-gray-space);
}

.cpi-tip-date[b-qotmg1t2xv] {
    font-size: 11px;
    color: var(--lw-gray-space);
}

/* ---- Sign Lien Release row action (h-7 bordered chip-button) ---- */

.cpi-sign-lien-btn[b-qotmg1t2xv] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    white-space: nowrap;
    transition: background 0.15s ease;
}

.cpi-sign-lien-btn:hover[b-qotmg1t2xv] {
    background: var(--lw-accent);
}

/* Shown in place of the Sign Lien Release button until the vendor has payment info on file */
.cpi-sign-lien-hint[b-qotmg1t2xv] {
    font-size: 12px;
    color: var(--lw-gray-graphite, #6E7180);
    white-space: nowrap;
}

/* US-921: one waiver covers every invoice the vendor has on the payment request. The
   action stacks a muted coverage line under Sign Lien Release: the short form ("Covers 3
   invoices") in the narrow desktop cell with the full note as its tooltip, the full
   note on the phone card (--full) and under the release in the expand panel. */
.cpi-sign-lien-stack[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.cpi-lien-coverage[b-qotmg1t2xv] {
    margin: 0;
    font-size: 11px;
    line-height: 14px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.cpi-lien-coverage--full[b-qotmg1t2xv] {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    white-space: normal;
}

.cpi-lien-table .cpi-lien-coverage-row td[b-qotmg1t2xv] {
    padding-top: 0;
    border-top: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* ---- Lien-release expand panel (table-header surface strip, mirrors the
   /contractors preliminary-notices panel) ---- */

.cpi-expand-panel[b-qotmg1t2xv] {
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-bg-table-header);
    padding: 4px 16px 12px 48px; /* left-aligns under the Invoice # column (48px toggle col) */
    overflow-x: auto;
}

.cpi-lien-table[b-qotmg1t2xv] {
    width: 100%;
    border-collapse: collapse;
}

.cpi-lien-table th[b-qotmg1t2xv] {
    padding: 8px 12px 6px 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    text-align: left;
    white-space: nowrap;
}

.cpi-lien-table td[b-qotmg1t2xv] {
    padding: 6px 12px 6px 0;
    font-size: 13px;
    color: var(--lw-text-primary);
    border-top: 1px solid var(--lw-border);
    vertical-align: middle;
}

.cpi-lien-row-clickable[b-qotmg1t2xv] {
    cursor: pointer;
}

.cpi-lien-row-clickable:hover td[b-qotmg1t2xv] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.cpi-lien-doc[b-qotmg1t2xv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lw-primary-blue);
}

.cpi-lien-muted[b-qotmg1t2xv] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.cpi-lien-empty[b-qotmg1t2xv] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 12px 0 4px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Category with no rows (chips hide zero counts, so rarely visible). */
.cpi-empty-filter[b-qotmg1t2xv] {
    padding: 24px 16px;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* Empty-state signature tile tint (invoice = info). */
.cpi-sig-tile[b-qotmg1t2xv] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

/* -- Awaiting builder review (US-897): the subcontractor's submissions that
   sit in the builder's invoice inbox until confirmed. A compact card above
   the invoice table, on the shared row/tile recipe. -- */

.cpi-pending-card[b-qotmg1t2xv] { margin-bottom: 16px; }

/* The card is a ControlCard with a flush body (shared head: tile, title + count
   pill, subtitle). The explanation opens the body as an LwCardNote on the rows'
   16px inset, with 12px under it before the first row. */
.cpi-pending-note[b-qotmg1t2xv] {
    padding: 16px 16px 12px;
}

.cpi-pending-list[b-qotmg1t2xv] { display: flex; flex-direction: column; }

.cpi-pending-row[b-qotmg1t2xv] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.cpi-pending-row:last-child[b-qotmg1t2xv] { border-bottom: none; }

.cpi-pending-tile[b-qotmg1t2xv] { flex-shrink: 0; }

.cpi-pending-identity[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cpi-pending-name[b-qotmg1t2xv] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpi-pending-meta[b-qotmg1t2xv] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.cpi-pending-amount[b-qotmg1t2xv] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

@media (max-width: 639px) {
    .cpi-pending-row[b-qotmg1t2xv] { flex-wrap: wrap; }
    .cpi-pending-identity[b-qotmg1t2xv] { flex-basis: calc(100% - 44px); }
}

/* ================================================================
   Phone layout (US-926) -- the Project Owner phone patterns (US-798).
   The section trigger is the shared .lw-page-section-* (lw-page.css).
   ================================================================ */

/* Desktop table vs phone cards. */
.cpi-phone[b-qotmg1t2xv] {
    display: none;
}

/* Phone invoice card (lives in an LwListRow Lead; LwListCard phone-cards mode
   draws the card chrome). Owner payment-request card order: number + amount on
   the first line, status (+ tracking) next, dates as a quiet meta line. */
.cpi-card[b-qotmg1t2xv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.cpi-card-top[b-qotmg1t2xv] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cpi-card-num[b-qotmg1t2xv] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpi-card-amount[b-qotmg1t2xv] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.cpi-card-status[b-qotmg1t2xv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cpi-card-meta[b-qotmg1t2xv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.cpi-card-dot[b-qotmg1t2xv] {
    color: var(--lw-border);
}

@media (max-width: 767.98px) {
    .cpi-desktop[b-qotmg1t2xv] {
        display: none;
    }

    .cpi-phone[b-qotmg1t2xv] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* The section trigger (--fill) takes the toolbar row beside Add Invoice. */
    .cpi-toolbar .lw-page-toolbar-right[b-qotmg1t2xv] {
        width: 100%;
    }

    /* Sign Lien Release becomes a full-width 44px target inside the card. */
    .cpi-card-action .cpi-sign-lien-btn[b-qotmg1t2xv] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorProjectProposals.razor.rz.scp.css */
/* Contractor project Proposals (RFP) tab -- page-level only. Table chrome
   from the shared lw-table.css, toolbar from lw-page.css, status pills via
   StatusChip. What lives here: this table's column layout, due-date urgency
   colors, the empty-state signature tile, and the phone layout (section
   trigger + RFP cards, US-926). Search clear is the shared .lw-page-search-clear. */

.sp-page[b-s7c1wm38jv] {
    display: flex;
    flex-direction: column;
}

.sp-body[b-s7c1wm38jv] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

/* ---- Column layout ---- */

.sp-col[b-s7c1wm38jv] {
    flex: 1;
    min-width: 0;
}

.sp-col-rfp[b-s7c1wm38jv] {
    width: 120px;
    flex-shrink: 0;
}

.sp-col-title[b-s7c1wm38jv] {
    flex: 2;
    min-width: 160px;
}

.sp-title-text[b-s7c1wm38jv] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-col-docs[b-s7c1wm38jv] {
    width: 80px;
    flex-shrink: 0;
}

.sp-docs[b-s7c1wm38jv] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sp-bid[b-s7c1wm38jv] {
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
}

/* ---- Due-date urgency ---- */

.sp-due[b-s7c1wm38jv] {
    font-variant-numeric: tabular-nums;
}

.sp-due-past-due[b-s7c1wm38jv] {
    color: var(--lw-status-error-fg);
    font-weight: var(--lw-font-medium);
}

.sp-due-due-soon[b-s7c1wm38jv] {
    color: var(--lw-status-warning-fg);
    font-weight: var(--lw-font-medium);
}

.sp-due-ok[b-s7c1wm38jv] {
    color: var(--lw-gray-graphite);
}

/* Empty-state signature tile tint (RFP = secondary/gold). */
.sp-sig-tile[b-s7c1wm38jv] {
    background: var(--lw-status-secondary-bg);
    color: var(--lw-status-secondary-fg);
}

.sp-phone[b-s7c1wm38jv] {
    display: none;
}

/* Phone RFP card (inside an LwListRow Lead; LwListCard phone-cards mode draws
   the card chrome): title + my bid, status, then RFP number / due / docs. */
.sp-card[b-s7c1wm38jv] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.sp-card-top[b-s7c1wm38jv] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.sp-card-title[b-s7c1wm38jv] {
    /* lw-row-title is nowrap + ellipsis; the card title wraps to two lines. */
    white-space: normal;
    text-overflow: clip;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-card-bid[b-s7c1wm38jv] {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--lw-text-primary);
}

.sp-card-status[b-s7c1wm38jv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-card-meta[b-s7c1wm38jv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.sp-card-dot[b-s7c1wm38jv] {
    color: var(--lw-border);
}

@media (max-width: 767.98px) {
    .sp-body[b-s7c1wm38jv] {
        padding: 16px;
    }

    .sp-desktop[b-s7c1wm38jv] {
        display: none;
    }

    .sp-phone[b-s7c1wm38jv] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/ContractorUsers.razor.rz.scp.css */
/* Organization users -- ControlCard section (2026-07-28 review round; was
   the bare lw-section grammar). The member list renders full-bleed inside
   the card's Flush body, so the inner LwListCard sheds its own card chrome
   here to avoid card-in-card. Plain selectors: these elements are authored
   in this file and carry the isolation scope themselves (the dialogs
   teleport out of the subtree, so ::deep would never reach them). */

.cu-role-cell[b-9xd5a0z7qa] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-width: 0;
    flex-wrap: wrap;
}

/* Full-bleed list inside the flush ControlCard body: no second border/
   shadow, square top corners, keep the card's bottom rounding. */
[b-9xd5a0z7qa] .cu-list.lw-list-card {
    border: none;
    box-shadow: none;
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
}

/* Column alignment. The actions cell held one button on your own row, two on
   everyone else's and none for a read-only viewer, so the Role / Status /
   Joined cells sat at a different x on each row and under none of their
   headers. Fixed: 80px (8px pads + two 32px buttons) when the viewer can
   manage users, with a matching header spacer; no actions cell at all when
   they cannot. */
@media (min-width: 768px) {
    [b-9xd5a0z7qa] .cu-list .lw-list-row-actions {
        width: 80px;
        box-sizing: border-box;
        justify-content: flex-end;
    }
}

.cu-col-actions.lw-list-col-actions[b-9xd5a0z7qa] {
    width: 48px;
}

[b-9xd5a0z7qa] .cu-list--readonly .lw-list-row-actions {
    display: none;
}

[b-9xd5a0z7qa] .cu-list--readonly .lw-list-row-link {
    padding-right: 16px;
}

/* Modal internals */
.cu-modal-fields[b-9xd5a0z7qa] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cu-confirm-text[b-9xd5a0z7qa] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
}

/* -- Row actions: inline icon buttons on desktop, one LwRowMenu on phones (US-1043) -- */
/* display: contents keeps the two desktop buttons direct flex items of the actions cell,
   exactly as before the wrapper existed. */
.cu-actions-desktop[b-9xd5a0z7qa] {
    display: contents;
}

.cu-actions-phone[b-9xd5a0z7qa] {
    display: none;
}

.cu-mobile-chips[b-9xd5a0z7qa] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* -- Phone (US-1043) -- */
/* A member row had about 100px for the name beside the avatar, the status chip and two
   32px buttons, so the email always ellipsized. The identity takes the first line and
   wraps, the role / status chips sit under it past the 40px avatar + 16px gap, and the
   actions collapse into one 44px menu at the top right. */
@media (max-width: 767.98px) {
    .cu-actions-desktop[b-9xd5a0z7qa] {
        display: none;
    }

    .cu-actions-phone[b-9xd5a0z7qa] {
        display: contents;
    }

    [b-9xd5a0z7qa] .cu-list .lw-list-row--split {
        align-items: flex-start;
    }

    [b-9xd5a0z7qa] .cu-list .lw-list-row-link {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    [b-9xd5a0z7qa] .cu-list .lw-list-row-lead {
        flex: 1 1 100%;
        align-items: flex-start;
    }

    [b-9xd5a0z7qa] .cu-list .lw-list-row-trailing-mobile {
        flex: 1 1 calc(100% - 56px);
        margin-left: 56px;
    }

    [b-9xd5a0z7qa] .cu-list .lw-row-title,
    [b-9xd5a0z7qa] .cu-list .lw-row-sub {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    [b-9xd5a0z7qa] .cu-list .lw-list-row-actions {
        padding: 6px 4px 0 0;
    }

    [b-9xd5a0z7qa] .cu-list .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* Invite User (card header) and the empty-state CTA: 36 / 40px on desktop. */
    [b-9xd5a0z7qa] .cc-head__action .lw-page-action,
    [b-9xd5a0z7qa] .lw-empty-action .lw-page-action {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/ImportSubcontractors.razor.rz.scp.css */
/* Import subcontractors wizard -- PAGE-SPECIFIC step bodies only (US-893).
   The wizard shell (pw-shell / pw-rail* / pw-main / pw-content / pw-stack)
   lives in css/components/lw-wizard.css via WizardShell; the div lw-table
   comes from css/components/lw-table.css. The tag composer and results
   table were carried over from the retired ImportSubcontractorsModal. */

.isw-stack[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.isw-copy[b-gr3gjsx7fu] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

.isw-note[b-gr3gjsx7fu] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.isw-ready[b-gr3gjsx7fu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.isw-ready-title[b-gr3gjsx7fu] {
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* -- Tag composer: FieldShell box holding entry chips + an inline input -- */
.isw-tagbox[b-gr3gjsx7fu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 54px;
    padding: 8px 10px;
    background: var(--lw-white);
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    cursor: text;
    transition: border-color 0.15s ease;
}

.isw-tagbox:focus-within[b-gr3gjsx7fu] {
    border-color: var(--lw-gray-phantom);
}

.isw-tagbox--disabled[b-gr3gjsx7fu] {
    opacity: 0.6;
    pointer-events: none;
}

.isw-tag[b-gr3gjsx7fu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 6px 4px 10px;
    background: var(--lw-bg-muted);
    border: 1px solid var(--lw-border);
    border-radius: 9999px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
}

.isw-tag-name[b-gr3gjsx7fu] {
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.isw-tag-email[b-gr3gjsx7fu] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.isw-tag-x[b-gr3gjsx7fu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 9999px;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.isw-tag-x:hover:not(:disabled)[b-gr3gjsx7fu] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.isw-tag-x svg[b-gr3gjsx7fu] {
    width: 10px;
    height: 10px;
}

.isw-tag-input[b-gr3gjsx7fu] {
    flex: 1;
    min-width: 180px;
    border: 0;
    outline: none;
    padding: 4px 4px;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
}

.isw-tag-input[b-gr3gjsx7fu]::placeholder {
    color: var(--lw-gray-space);
}

/* Bordered white shell around the div-based lw-table (review + results). */
.isw-table-card[b-gr3gjsx7fu] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.isw-col-name[b-gr3gjsx7fu]   { flex: 1 1 160px; }
.isw-col-email[b-gr3gjsx7fu]  { flex: 1 1 200px; }
.isw-col-match[b-gr3gjsx7fu]  { flex: 2 1 340px; }
.isw-col-result[b-gr3gjsx7fu] { flex: 1 1 260px; }

.isw-result[b-gr3gjsx7fu] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

/* -- Review step: one selectable card per suggested vendor, plus "invite as new".
   The row is the SelectRfpRecipientModal srr-row recipe (radio card, name over a
   muted line, active = blue border + ring + info tint). That recipe's css is scoped
   to the modal, so it is copied here rather than shared. -- */
.isw-choices[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 2px 0;
    width: 100%;
}

/* Group label: says what the list is (and, when true of every match, that they are
   already in the network). The --alt label sets the "invite as new" row apart. */
.isw-choices-label[b-gr3gjsx7fu] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.isw-choices-label--alt[b-gr3gjsx7fu] {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--lw-border);
}

.isw-choice[b-gr3gjsx7fu] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

/* Hover only where a pointer can hover: a tapped row on a phone would otherwise keep
   the hover border and read as a second selection. */
@media (hover: hover) {
    .isw-choice:hover:not([aria-disabled="true"])[b-gr3gjsx7fu] {
        border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    }
}

/* Busy: the choices stay tappable (the handler ignores the tap) but read as waiting. */
.isw-choice[aria-disabled="true"][b-gr3gjsx7fu] {
    cursor: default;
    opacity: 0.7;
}

.isw-choice.is-selected[b-gr3gjsx7fu],
.isw-choice.is-selected:hover[b-gr3gjsx7fu] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

/* The ring sits on the first text line (18px line, 16px ring), not the block's middle. */
.isw-choice-ring[b-gr3gjsx7fu] {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 2px solid var(--lw-gray-smoke);
    background: var(--lw-white);
}

.isw-choice.is-selected .isw-choice-ring[b-gr3gjsx7fu] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
}

.isw-choice-body[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.isw-choice-title[b-gr3gjsx7fu] {
    font-size: 13px;
    line-height: 18px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.isw-choice-sub[b-gr3gjsx7fu] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* Name line: the name, then a small chip that stays on the line when it fits and
   drops under the name (left-aligned) when it does not. StatusChip is a child
   component, so keeping it from shrinking needs ::deep. */
.isw-choice-head[b-gr3gjsx7fu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.isw-choice-head .isw-choice-title[b-gr3gjsx7fu] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.isw-choice-head[b-gr3gjsx7fu]  .lw-status-chip {
    flex-shrink: 0;
}

/* Contact line: each fact is its own item, so the line breaks between facts; a fact
   only breaks inside itself when it is longer than the whole line. */
.isw-choice-facts[b-gr3gjsx7fu] {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.isw-choice-fact[b-gr3gjsx7fu] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.isw-choice-fact:not(:last-child)[b-gr3gjsx7fu]::after {
    content: "\00B7";
    margin: 0 6px;
    color: var(--lw-gray-space);
}

/* -- Phone card list (LwListCard phone-cards; the card chrome is the atom's). Same
   recipe as the project tabs (.pp-cards): the table shows from 768px, the cards below. -- */
.isw-cards[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .isw-cards[b-gr3gjsx7fu] {
        display: none;
    }
}

.isw-card[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.isw-card-identity[b-gr3gjsx7fu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.isw-card-title[b-gr3gjsx7fu] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.isw-card-sub[b-gr3gjsx7fu] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.isw-card-cell[b-gr3gjsx7fu] {
    display: flex;
    min-width: 0;
}

/* Footer slot: layout-transparent (the shared OnboardingStepFooter is fixed), it exists
   only so the phone rules below can reach the footer's buttons through ::deep. */
.isw-footer-slot[b-gr3gjsx7fu] {
    display: contents;
}

/* -- Phones (US-1043): 16px input text (no iOS focus zoom), 44px tap targets. -- */
@media (max-width: 767.98px) {
    .isw-table-card[b-gr3gjsx7fu] {
        display: none;
    }

    /* Tag composer: taller chips so the 44px remove target of one row never reaches the
       next (36px chip + 8px row gap), and a 44px, 16px-text input on its own flexible row. */
    .isw-tagbox[b-gr3gjsx7fu] {
        gap: 8px;
        padding: 8px;
    }

    .isw-tag[b-gr3gjsx7fu] {
        min-height: 36px;
        padding: 0 0 0 12px;
        gap: 4px;
    }

    .isw-tag-x[b-gr3gjsx7fu] {
        width: 44px;
        height: 44px;
        margin: -4px 0;
    }

    /* The hover pill would be a 44px disc on the enlarged target; colour alone says it. */
    .isw-tag-x:hover:not(:disabled)[b-gr3gjsx7fu] {
        background: transparent;
    }

    .isw-tag-x svg[b-gr3gjsx7fu] {
        width: 12px;
        height: 12px;
    }

    .isw-tag-input[b-gr3gjsx7fu] {
        min-width: min(180px, 100%);
        min-height: 44px;
        padding: 0 4px;
        font-size: 16px;
    }

    /* Review choices: full-width rows, each at least a 44px target. The chip rides the
       name line (.isw-choice-head), so nothing wraps under the row any more. */
    .isw-choices[b-gr3gjsx7fu] {
        gap: 8px;
        padding: 0;
    }

    .isw-choice[b-gr3gjsx7fu] {
        min-height: 44px;
        padding: 12px;
    }

    .isw-choice-title[b-gr3gjsx7fu] {
        overflow-wrap: anywhere;
    }

    /* Footer (shared OnboardingStepFooter, restyled from here only): 44px buttons. */
    .isw-footer-slot[b-gr3gjsx7fu]  .ob-step-footer {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .isw-footer-slot[b-gr3gjsx7fu]  .ob-step-footer__back-btn,
    .isw-footer-slot[b-gr3gjsx7fu]  .ob-step-footer__primary {
        height: 44px;
    }

    .isw-footer-slot[b-gr3gjsx7fu]  .ob-step-footer__primary {
        min-width: 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Contractor/InviteUserModal.razor.rz.scp.css */
/* Invite user modal -- canonical lw-modal internals (2026-07-28 review
   round). Elements are authored in this file and carry the isolation scope
   themselves (the dialog teleports, so ::deep would never reach them). */

.ium-fields[b-tcd2cejnl4] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ium-grid2[b-tcd2cejnl4] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767.98px) {
    .ium-grid2[b-tcd2cejnl4] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ium-check[b-tcd2cejnl4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ium-check-help[b-tcd2cejnl4] {
    margin: 0 0 0 30px;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Contractor/SubcontractorInvitationStatus.razor.rz.scp.css */
/* Platform invitation -- ControlCard section (2026-07-28 review round; was
   the bare lw-section grammar + shared Card). Field pairs reuse the
   gc-vendor-detail Field recipe; the step tracker is the canonical
   square-node vertical stepper (source: ViewInvoiceModal.razor.css
   vim-step-*, itself measured from the reference invoice-tracker-bar).
   Elements are authored in this file, so plain scoped selectors apply. */

.sis-skeleton[b-6onrw0z5uw],
.sis-body[b-6onrw0z5uw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Status / Onboarding / Email on file are .lw-field-rows (app.css) since US-926. */

/* -- Square-node stepper (vim-step recipe) -- */
.sis-stepper[b-6onrw0z5uw] {
    display: flex;
    flex-direction: column;
}

.sis-step-row[b-6onrw0z5uw] { display: flex; align-items: stretch; }

.sis-step-track[b-6onrw0z5uw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 18px;
    flex-shrink: 0;
}

.sis-step-node[b-6onrw0z5uw] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sis-step-node svg[b-6onrw0z5uw] { width: 11px; height: 11px; }

/* success-dark #2D7A5F per the reference tracker (see vim-step-done). */
.sis-step-done[b-6onrw0z5uw]   { background: #2D7A5F; color: var(--lw-white); }
.sis-step-future[b-6onrw0z5uw] { background: rgba(211, 214, 224, 0.4); }

.sis-step-line[b-6onrw0z5uw] { width: 1px; flex: 1; background: var(--lw-border); min-height: 22px; }
.sis-step-line-done[b-6onrw0z5uw] { background: #2D7A5F; }

.sis-step-content[b-6onrw0z5uw] {
    padding-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.sis-step-gap[b-6onrw0z5uw] { padding-bottom: 18px; }

.sis-step-label[b-6onrw0z5uw] { font-size: 13px; font-weight: 500; line-height: 18px; }
.sis-step-label-done[b-6onrw0z5uw]   { color: var(--lw-text-primary); }
.sis-step-label-future[b-6onrw0z5uw] { color: var(--lw-gray-space); }

.sis-step-detail[b-6onrw0z5uw] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

/* -- History list columns + row tile tone -- */
.sis-col-sent[b-6onrw0z5uw]   { width: 192px; }
.sis-col-result[b-6onrw0z5uw] { width: 112px; }

.sis-tile[b-6onrw0z5uw] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

/* -- Resend modal internals -- */
.sis-modal-fields[b-6onrw0z5uw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sis-modal-copy[b-6onrw0z5uw] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.sis-modal-actions[b-6onrw0z5uw] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* US-935: onboarding step checklist under the invitation stepper. */
.sis-onboarding[b-6onrw0z5uw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* -- Phone (US-1043) -- */
/* Phone-only meta under an invitation: the result chip and when it was sent (the desktop
   Sent column is hidden below 768px, where LwListRow drops its Trailing cells). */
.sis-mobile-meta[b-6onrw0z5uw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sis-mobile-sent[b-6onrw0z5uw] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    /* Send / Resend Invitation in the card header: 36px on desktop, 44px tap target here. */
    .sis-root[b-6onrw0z5uw]  .cc-head__action .lw-page-action {
        height: 44px;
    }

    /* Step details carry an email address, which has nowhere to break. */
    .sis-step-detail[b-6onrw0z5uw] {
        overflow-wrap: anywhere;
    }

    /* History rows: the address took what was left beside the tile and the result chip
       (about 110px at 360) and ellipsized. It gets the full first line and wraps; the chip
       and sent time drop to their own line under it, past the 40px tile + 16px gap. */
    .sis-body[b-6onrw0z5uw]  .sis-history .lw-list-row {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 8px;
    }

    .sis-body[b-6onrw0z5uw]  .sis-history .lw-list-row-lead {
        flex: 1 1 100%;
        align-items: flex-start;
    }

    .sis-body[b-6onrw0z5uw]  .sis-history .lw-list-row-trailing-mobile {
        flex: 1 1 calc(100% - 56px);
        margin-left: 56px;
    }

    .sis-body[b-6onrw0z5uw]  .sis-history .lw-row-title,
    .sis-body[b-6onrw0z5uw]  .sis-history .lw-row-sub {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Dashboard/DashboardCriticalTasks.razor.rz.scp.css */
/* DashboardCriticalTasks -- source: ledgerwise-ui CriticalTasksPanel.
   Measurements carried over verbatim from Home.razor.css .hd-task* when this panel
   was extracted for reuse (2026-09-13): rows 0.875rem/1.25rem with a hairline top
   border and an accent/50 hover, 14/500 title over a 12px project line, destructive
   "Today" marker, and a 285px body (5 rows at ~57px) so the card holds its height
   while paging. */

.dct-list[b-h21kbrvw0t] {
    display: flex;
    flex-direction: column;
}

.dct-task[b-h21kbrvw0t] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--lw-border);
    transition: background 0.12s;
}

.dct-task:hover[b-h21kbrvw0t] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.dct-task--clickable[b-h21kbrvw0t] {
    cursor: pointer;
}

.dct-task--clickable:focus-visible[b-h21kbrvw0t] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
}

.dct-body[b-h21kbrvw0t] {
    flex: 1;
    min-width: 0;
}

.dct-title[b-h21kbrvw0t] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.375;
    color: var(--lw-text-primary);
}

.dct-project[b-h21kbrvw0t] {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space);
}

.dct-due[b-h21kbrvw0t] {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-status-error-fg);
    white-space: nowrap;
}

/* Stable height while paging, so the card does not jump on a short page. */
.dct-list--paged[b-h21kbrvw0t] {
    min-height: 285px;
}

/* The panel header carries its own bottom hairline; the first row's border-top
   would double it. */
.dct-list--paged .dct-task:first-child[b-h21kbrvw0t],
.dct-list--loading .dct-task:first-child[b-h21kbrvw0t] {
    border-top: none;
}

.dct-pagination[b-h21kbrvw0t] {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.dct-pagination-range[b-h21kbrvw0t] {
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    color: var(--lw-gray-space);
}

.dct-empty[b-h21kbrvw0t] {
    padding: 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.dct-muted[b-h21kbrvw0t] {
    color: var(--lw-gray-space);
    font-weight: 400;
}

/* Loading rows: inert, no hover wash. */
.dct-task--skeleton[b-h21kbrvw0t] {
    pointer-events: none;
}

.dct-task--skeleton:hover[b-h21kbrvw0t] {
    background: transparent;
}

.dct-skeleton-body[b-h21kbrvw0t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Dot chrome lives in the StatusDot atom; only the row offset belongs here. ::deep
   because StatusDot and LwSkeleton render their own roots, which never carry this
   sheet's scope attribute. */
[b-h21kbrvw0t] .dct-dot {
    margin-top: 6px;
}

[b-h21kbrvw0t] .dct-skeleton-dot {
    flex-shrink: 0;
    margin-top: 6px;
}

/* Phone rows (US-926; breakpoint moved to the shell's 767.98 in US-1043) --
   the Project Owner overview critical tasks (US-798, ClientProjectOverview
   .cpo-action-*): dot and title share the first line and the trailing "Today"
   marker drops beneath, aligned to the text column (8px dot + 12px gap),
   instead of squeezing the title into a narrow column. The fixed 285px paging
   body is a desktop concern; on a phone it left a block of empty card under a
   short list. Shared panel, so every dashboard gets it. */
@media (max-width: 767.98px) {
    /* Shared list-card type (lw-page.css tokens): title 14 / medium / 20, project
       line 12 / 16. */
    .dct-title[b-h21kbrvw0t] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .dct-project[b-h21kbrvw0t] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    .dct-task[b-h21kbrvw0t] {
        flex-wrap: wrap;
        row-gap: 0.25rem;
        padding: 0.75rem 1.25rem; /* aligned to the LwPanel header inset */
        min-height: var(--lw-touch-target); /* A3; a two-line row is ~63px anyway */
        box-sizing: border-box;
    }

    .dct-body[b-h21kbrvw0t] {
        flex: 1 1 0;
    }

    .dct-due[b-h21kbrvw0t] {
        flex-basis: calc(100% - 20px);
        margin-left: 20px;
    }

    .dct-due:empty[b-h21kbrvw0t] {
        display: none;
    }

    .dct-list--paged[b-h21kbrvw0t] {
        min-height: 0;
    }

    /* Pager arrows grow from the atom's 36px cells to the 44px touch target
       (A3). Reached with ::deep because LwPager renders its own root; the atom
       itself keeps its desktop size for the other panels that use it. */
    .dct-pagination[b-h21kbrvw0t]  .lw-pager-btn {
        width: var(--lw-touch-target);
        height: var(--lw-touch-target);
    }

    .dct-pagination[b-h21kbrvw0t]  .lw-pager-indicator {
        height: var(--lw-touch-target);
    }
}
/* _content/Ledgerwise/Components/Pages/Dashboard/DashboardInvoiceInbox.razor.rz.scp.css */
/* Dashboard invoice inbox. Source: ledgerwise-app
   molecules/invoice-inbox-panel.tsx (2026-07-20): white rounded-card with
   hairline header band, compact dashed dropzone (rgba resting colors),
   divided rows, ghost expand control. */

.dii-card[b-zgaw61fupx] {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.dii-head[b-zgaw61fupx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--lw-border);
}

.dii-head-left[b-zgaw61fupx] { display: flex; align-items: center; gap: 8px; }

.dii-title[b-zgaw61fupx] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 1rem;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.dii-count[b-zgaw61fupx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-primary-dark) 10%, transparent);
    font-size: 0.625rem;
    font-weight: var(--lw-font-bold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-primary-dark);
}

.dii-viewall[b-zgaw61fupx] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.dii-viewall:hover[b-zgaw61fupx] { text-decoration: underline; text-underline-offset: 2px; }
.dii-viewall[b-zgaw61fupx]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

.dii-body[b-zgaw61fupx] { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; flex: 1; }

.dii-muted[b-zgaw61fupx] { margin: 16px 0; text-align: center; font-size: 0.875rem; color: var(--lw-gray-graphite); }

/* Compact dropzone (reference InvoiceDropZone compact variant). */
.dii-dropwrap[b-zgaw61fupx] { position: relative; }

.dii-dropzone[b-zgaw61fupx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 20px 16px;
    border: 2px dashed rgba(145, 158, 171, 0.32);
    border-radius: var(--lw-radius-sm);
    background: rgba(145, 158, 171, 0.08);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.dii-dropwrap:hover .dii-dropzone[b-zgaw61fupx] {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 8%, transparent);
}

.dii-dropzone[b-zgaw61fupx]  .dii-drop-icon { width: 1.25rem; height: 1.25rem; color: var(--lw-gray-space); margin-bottom: 4px; }
.dii-drop-title[b-zgaw61fupx] { font-size: 0.75rem; font-weight: var(--lw-font-medium); color: var(--lw-text-primary); }
.dii-drop-sub[b-zgaw61fupx] { font-size: 0.6875rem; color: var(--lw-gray-space); }

/* Indeterminate upload bar. */
.dii-progress[b-zgaw61fupx] {
    height: 3px;
    width: 100%;
    overflow: hidden;
    border-radius: 9999px;
    background: var(--lw-border);
}

.dii-progress-fill[b-zgaw61fupx] {
    height: 100%;
    width: 40%;
    border-radius: 9999px;
    background: var(--lw-primary-dark);
    animation: dii-indeterminate-b-zgaw61fupx 1.2s ease-in-out infinite;
}

@keyframes dii-indeterminate-b-zgaw61fupx {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* Upload rows. */
.dii-list[b-zgaw61fupx] { display: flex; flex-direction: column; }

.dii-row[b-zgaw61fupx] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 4px;
    border: none;
    border-bottom: 1px solid var(--lw-border);
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
}

.dii-row:last-child[b-zgaw61fupx] { border-bottom: none; }
.dii-row:hover[b-zgaw61fupx] { background: color-mix(in srgb, var(--lw-accent) 50%, transparent); }

.dii-dot[b-zgaw61fupx] { width: 8px; height: 8px; border-radius: 9999px; flex-shrink: 0; background: var(--lw-gray-space); }
.dii-dot--info[b-zgaw61fupx] { background: var(--lw-primary-blue); }
.dii-dot--warning[b-zgaw61fupx] { background: var(--lw-status-warning-fg); }
.dii-dot--error[b-zgaw61fupx] { background: var(--lw-destructive); }
.dii-dot--success[b-zgaw61fupx] { background: var(--lw-status-success-fg); }

.dii-row-name[b-zgaw61fupx] {
    min-width: 0;
    flex: 1;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dii-row-amount[b-zgaw61fupx] {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.dii-more[b-zgaw61fupx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    align-self: center;
    border: none;
    background: none;
    padding: 4px 8px;
    font-size: 0.8125rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

/* Phones: the row name takes the shared list-card title type (lw-page.css tokens:
   14 / medium / 20), so it reads like every other list card's title. Desktop keeps
   the regular-weight row. */
@media (max-width: 767.98px) {
    .dii-row-name[b-zgaw61fupx] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .dii-row-amount[b-zgaw61fupx] {
        line-height: var(--lw-row-title-line);
    }
}

.dii-more:hover[b-zgaw61fupx] { text-decoration: underline; text-underline-offset: 2px; }
.dii-more[b-zgaw61fupx]  .mud-icon-root { width: 1rem; height: 1rem; }
/* _content/Ledgerwise/Components/Pages/Dashboard/DashboardSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/dashboard-skeleton.tsx (2026-07-28).
   Page wrap mirrors the dashboard's hd-page recipe (muted bg, 1400px cap,
   1rem/1.5rem padding+gap); cards carry the standard surface chrome. */

.dsk-page[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--lw-bg-muted);
    padding: 1rem;
    margin: -1rem -1.5rem;
    min-height: calc(100% + 2rem);
    box-sizing: border-box;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .dsk-page[b-rfvmnb3rzh] {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

.dsk-card[b-rfvmnb3rzh] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
}

.dsk-header[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .dsk-header[b-rfvmnb3rzh] {
        flex-direction: row;
        align-items: center;
    }
}

.dsk-header-text[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dsk-kpi-grid[b-rfvmnb3rzh] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .dsk-kpi-grid[b-rfvmnb3rzh] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.dsk-kpi[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
}

.dsk-kpi-top[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dsk-kpi-foot[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

.dsk-table-head[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.dsk-table-cols[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--lw-border);
    padding: 0.75rem 1.25rem;
}

.dsk-table-row[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--lw-border);
    padding: 0.875rem 1.25rem;
}

.dsk-panel-row[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--lw-border);
    padding: 0.75rem 1.25rem;
}

.dsk-inline[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dsk-inline--lead[b-rfvmnb3rzh] {
    gap: 0.75rem;
}

.dsk-stack[b-rfvmnb3rzh] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.dsk-grow[b-rfvmnb3rzh] {
    flex: 1;
    min-width: 0;
}

/* Sketch bars never outgrow their text column on a narrow screen (US-926). */
.dsk-stack[b-rfvmnb3rzh]  .lw-skeleton,
.dsk-header-text[b-rfvmnb3rzh]  .lw-skeleton {
    max-width: 100%;
}

/* Date-range trigger sketch: 150x38 on desktop (sized here, not inline, so the
   phone block can stretch it without fighting an inline style). */
[b-rfvmnb3rzh] .dsk-date-trigger {
    width: 150px;
    height: 38px;
}

/* The three figure bars of a project row share one wrapper so the phone block
   can drop them onto their own line; on desktop the wrapper is invisible (an
   inline flex item carrying the same ml-16/ml-20 margins). */
.dsk-row-figures[b-rfvmnb3rzh] {
    display: flex;
    align-items: center;
}

/* Reference spacing utilities: ml-auto / ml-16 (64px) / ml-20 (80px). */
[b-rfvmnb3rzh] .dsk-push { margin-left: auto; }
.dsk-inline.dsk-push[b-rfvmnb3rzh] { margin-left: auto; }
[b-rfvmnb3rzh] .dsk-gap-16 { margin-left: 4rem; }
[b-rfvmnb3rzh] .dsk-gap-20 { margin-left: 5rem; }

.dsk-bottom-grid[b-rfvmnb3rzh] {
    display: grid;
    /* minmax(0, 1fr), not 1fr: the fixed-width sketch bars' min-content made a
       plain 1fr track 6px wider than a 360px phone (US-926). */
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

@media (min-width: 768px) {
    .dsk-bottom-grid[b-rfvmnb3rzh] {
        grid-template-columns: 1fr 1fr;
    }
}

/* Phone geometry (US-1043; the sub's US-926 rows generalized) -- sketches the
   stacked phone dashboard every role gets below 768px, so the live page swaps
   in without a jump: 16px gutter, greeting over a full-width 44px date
   trigger, one compact KPI row per line (LwKpiCard PhoneRow shape), project
   rows as stacked cards with no column-header row, panels one under the
   other (the bottom grid is single-column below 768 already). Nothing here
   reads PhoneRows except the status-sketch drop at the end. */
@media (max-width: 767.98px) {
    /* Cancel the shell's 24px so the page's own 16px is the gutter (O10). */
    .dsk-page[b-rfvmnb3rzh] {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    /* Greeting over the trigger; the 640px row layout is a tablet shape. */
    .dsk-header[b-rfvmnb3rzh] {
        flex-direction: column;
        align-items: stretch;
    }

    /* The live trigger spans the header at 44px (Home .hd-daterange-trigger). */
    [b-rfvmnb3rzh] .dsk-date-trigger {
        width: 100%;
        height: 44px;
    }

    /* KPI strip: one card per row, figure with the label beside it. */
    .dsk-kpi-grid[b-rfvmnb3rzh] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .dsk-kpi[b-rfvmnb3rzh] {
        padding: 0.75rem 1rem;
    }

    .dsk-kpi-top[b-rfvmnb3rzh] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dsk-kpi-foot[b-rfvmnb3rzh] {
        margin-top: 0.375rem;
    }

    /* Project rows: no column header; avatar + name own the first line, the
       status sketch and the figure line sit under the name, indented past the
       36px avatar + 12px gap (the LwListCard phone-card recipe). */
    .dsk-table-cols[b-rfvmnb3rzh] {
        display: none;
    }

    .dsk-table-row[b-rfvmnb3rzh] {
        flex-wrap: wrap;
        row-gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .dsk-inline--lead[b-rfvmnb3rzh] {
        flex-basis: 100%;
    }

    .dsk-table-row .dsk-inline.dsk-push[b-rfvmnb3rzh] {
        flex: 0 0 calc(100% - 3rem);
        margin-left: 3rem;
    }

    .dsk-row-figures[b-rfvmnb3rzh] {
        flex: 0 0 calc(100% - 3rem);
        margin-left: 3rem;
        gap: 1.5rem;
    }

    [b-rfvmnb3rzh] .dsk-gap-16,
    [b-rfvmnb3rzh] .dsk-gap-20 {
        margin-left: 0;
    }

    /* The sub's project cards carry no status column (US-926), so that sketch
       drops out and the figure line moves up under the name. */
    .dsk-page--phone-rows .dsk-table-row .dsk-inline.dsk-push[b-rfvmnb3rzh] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Pages/Home.razor.rz.scp.css */
/* -- Page wrap -- */
.hd-page[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--lw-bg-muted);
    padding: 1rem;
    margin: -1rem -1.5rem;
    min-height: calc(100% + 2rem);
    box-sizing: border-box;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hd-page[b-qs22jhofbr] {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* -- Header -- */
.hd-header[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .hd-header[b-qs22jhofbr] {
        flex-direction: row;
        align-items: center;
    }
}

.hd-greeting[b-qs22jhofbr] {
    font-size: var(--lw-title-size);
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
    margin: 0;
    font-family: var(--lw-font-family-heading, sans-serif);
}

.hd-subhead[b-qs22jhofbr] {
    font-size: 0.875rem;
    color: var(--lw-gray-space);
    margin: 0.25rem 0 0;
}

/* Date-range trigger -- reference date-range-picker.tsx desktop trigger
   (measured 2026-07-28): rounded-card bordered white chip w/ card shadow,
   13px/600 foreground, calendar 14px + chevron 12px content-secondary. */
.hd-daterange-trigger[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

/* US-1134: the header's right side -- Cash / Accrual switch, then the date range. */
.hd-header-controls[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Cash / Accrual segmented switch. Source: ledgerwise-ui
   molecules/document-viewer-pane.tsx ViewToggle (read 2026-10-26): segments
   13px/500, rounded-md (--radius-control), gap-1; ACTIVE = bg-sidebar-bg navy
   fill + white text; inactive = text-content-secondary, hover bg-accent +
   text-foreground. The group wears the date-range trigger's chrome (white,
   hairline border, card radius + shadow) so it reads as a control beside it
   rather than blending into the muted page; 2px inset keeps both 36px tall. */
.hd-basis-switch[b-qs22jhofbr] {
    display: inline-grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 4px;
    padding: 2px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.hd-basis-btn[b-qs22jhofbr] {
    min-width: 72px;
    height: 30px;
    padding: 0 0.75rem;
    border: 0;
    border-radius: calc(var(--lw-radius-control) - 2px);
    background: transparent;
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.hd-basis-btn:hover[b-qs22jhofbr] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.hd-basis-btn:focus-visible[b-qs22jhofbr] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 1px;
}

.hd-basis-btn--active[b-qs22jhofbr],
.hd-basis-btn--active:hover[b-qs22jhofbr] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.hd-daterange-trigger:hover[b-qs22jhofbr] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.hd-daterange-trigger[b-qs22jhofbr]  .hd-daterange-cal {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.hd-daterange-trigger[b-qs22jhofbr]  .hd-daterange-chevron {
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Popover panel wrapping the header row + presets + (when Custom is picked)
   the From/To pickers. */
.hd-daterange-panel[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    min-width: 220px;
}

.hd-daterange-panel-header[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 0.375rem;
}

.hd-daterange-panel-title[b-qs22jhofbr] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-gray-graphite);
}

.hd-daterange-reset[b-qs22jhofbr] {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.hd-daterange-reset:hover[b-qs22jhofbr] {
    text-decoration: underline;
}

/* Preset rows inside the MudMenu popover -- reference PresetsList:
   px-4 py-2.5 text-sm, active = accent fill + 500 + trailing check. The
   MudMenuItem supplies its own padding; the row spans it with min width. */
.hd-daterange-row[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 160px;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.hd-daterange-row--active[b-qs22jhofbr] {
    font-weight: 500;
    color: var(--lw-text-primary);
}

.hd-daterange-row[b-qs22jhofbr]  .hd-daterange-check {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-primary-blue);
}

/* Custom option's row is a plain div, not a MudMenuItem (clicking it must
   reveal the pickers below without closing the popover), so it needs its
   own hit-area padding + hover/cursor that MudMenuItem gives the presets. */
.hd-daterange-row--custom[b-qs22jhofbr] {
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.hd-daterange-row--custom:hover[b-qs22jhofbr] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* From/To pickers + Apply, shown under the Custom row once picked. */
.hd-daterange-custom[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.25rem 1rem 0.75rem;
    min-width: 220px;
}

/* -- KPI grid -- */
.hd-kpi-grid[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

/* 4-up only once each card can be ~240px+ (content column minus sidebar);
   2-up holds through tablet so full-precision values keep their size. */
@media (min-width: 1100px) {
    .hd-kpi-grid[b-qs22jhofbr] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* Surface provided by the shared Card primitive. */
.hd-kpi[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.875rem;
    min-height: 116px;
}

@media (min-width: 768px) {
    .hd-kpi[b-qs22jhofbr] {
        padding: 1.25rem;
    }
}

.hd-kpi-label[b-qs22jhofbr] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lw-gray-graphite, #6E7180);
    margin: 0;
}

@media (min-width: 768px) {
    .hd-kpi-label[b-qs22jhofbr] {
        font-size: 11px;
    }
}

.hd-kpi-row[b-qs22jhofbr] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.hd-kpi-value[b-qs22jhofbr] {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark, #020B2B);
    margin: 0;
    font-family: var(--lw-font-family-heading, sans-serif);
}

@media (min-width: 768px) {
    .hd-kpi-value[b-qs22jhofbr] {
        font-size: 32px;
    }
}

.hd-spark[b-qs22jhofbr] {
    display: block;
    height: 32px;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .hd-spark[b-qs22jhofbr] {
        display: none;
    }
}

.hd-kpi-foot[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .hd-kpi-foot[b-qs22jhofbr] {
        margin-top: 0.75rem;
    }
}

.hd-trend[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 11px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .hd-trend[b-qs22jhofbr] {
        font-size: 12px;
    }
}

.hd-trend-up[b-qs22jhofbr]   { color: var(--lw-status-success-fg); }
.hd-trend-down[b-qs22jhofbr] { color: var(--lw-status-error-fg); }

.hd-kpi-subtitle[b-qs22jhofbr] {
    display: none;
    font-size: 11px;
    color: var(--lw-gray-graphite, #6E7180);
}

@media (min-width: 768px) {
    .hd-kpi-subtitle[b-qs22jhofbr] { display: inline; }
}

/* Placeholder value for the Net Margin card's no-data states -- mirrors the
   reference's em-dash at text-muted-foreground/40, sized like the value. */
.hd-kpi-nodata[b-qs22jhofbr] {
    margin: 0;
    font-size: clamp(18px, 11cqi, 32px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    color: color-mix(in srgb, var(--lw-gray-space) 40%, transparent);
    font-family: var(--lw-font-family-heading, sans-serif);
}

@supports not (font-size: 1cqi) {
    @media (min-width: 768px) {
        .hd-kpi-nodata[b-qs22jhofbr] { font-size: 32px; }
    }
}

/* -- Section title shared -- */
.hd-section-title[b-qs22jhofbr] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
    margin: 0;
}

.hd-view-all[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-graphite, #6E7180);
    transition: color 0.15s;
    font-family: var(--lw-font-family);
}

.hd-view-all:hover[b-qs22jhofbr] {
    color: var(--lw-primary-dark, #020B2B);
}

/* -- Active Projects card -- */
/* Surface provided by the shared Card primitive; overflow clips to its radius. */
.hd-projects-card[b-qs22jhofbr] {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hd-projects-head[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.hd-projects-toggle[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--lw-font-family);
    color: var(--lw-primary-dark, #020B2B);
}

.hd-projects-toggle .hd-section-title[b-qs22jhofbr] {
    font-size: 0.875rem;
    font-weight: 600;
}

.hd-projects-table thead tr[b-qs22jhofbr] {
    border-top: 1px solid var(--lw-border);
}

.hd-projects-table tbody tr[b-qs22jhofbr] {
    cursor: pointer;
}

.hd-projects-tablewrap[b-qs22jhofbr] {
    overflow-x: auto;
}

.hd-projects-table[b-qs22jhofbr] {
    width: 100%;
    border-collapse: collapse;
}

/* Reference active-projects-table.tsx (measured 2026-07-28): th px-5 py-3
   12px/500 uppercase tracking-wider content-secondary, no fill, hairline
   top border; td px-5 py-3.5 14px/500; trailing columns center. Cells center
   vertically (deviation from the reference's align-top, Cody 2026-08-31) so
   single-line stat cells sit level with the taller avatar+name cell. */
.hd-projects-table th[b-qs22jhofbr],
.hd-projects-table td[b-qs22jhofbr] {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    vertical-align: middle;
}

.hd-projects-table th[b-qs22jhofbr] {
    padding: 0.75rem 1.25rem;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite, #6E7180);
    white-space: nowrap;
}

.hd-projects-table tr[b-qs22jhofbr] {
    border-top: 1px solid var(--lw-border);
}

.hd-projects-table tbody tr:hover[b-qs22jhofbr] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.hd-num-col[b-qs22jhofbr] {
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}

/* Trust balance cell: red amount + "Below min" subtext when balance is under
   the project's MinimumTrustFundAccountBalance (mirrors ledgerwise-ui
   ActiveProjectsTable). */
.hd-trust-cell[b-qs22jhofbr] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.hd-trust-amount[b-qs22jhofbr] {
    color: var(--lw-text-primary);
}

.hd-trust-amount--alert[b-qs22jhofbr] {
    color: var(--lw-status-error-fg);
}

.hd-trust-alert[b-qs22jhofbr] {
    font-size: 0.6875rem;
    color: var(--lw-status-error-fg);
}

/* Project cell */
.hd-project-cell[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hd-project-avatar[b-qs22jhofbr] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: var(--lw-font-family-heading, sans-serif);
}

.hd-project-info[b-qs22jhofbr] {
    min-width: 0;
}

.hd-project-name[b-qs22jhofbr] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-project-desc[b-qs22jhofbr] {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--lw-gray-space);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status badges */
.hd-status[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 0;
}

.hd-status-on-track[b-qs22jhofbr] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.hd-status-at-risk[b-qs22jhofbr] {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

.hd-status-delayed[b-qs22jhofbr] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.hd-unpaid[b-qs22jhofbr] {
    font-weight: 600;
    color: var(--lw-gray-graphite, #6E7180);
}

.hd-unpaid-on[b-qs22jhofbr] {
    color: var(--lw-primary-dark, #020B2B);
}

.hd-muted[b-qs22jhofbr] {
    color: var(--lw-gray-space);
    font-weight: 400;
}

/* Pending invoices count pill (inside the table cell) */
/* Reference PendingInvoicesCell trigger: rounded-md muted chip, 12px/600
   tabular, hover accent fill + stronger border. */
.hd-pending-pill[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}

.hd-pending-pill:hover[b-qs22jhofbr] {
    background: var(--lw-accent);
    border-color: color-mix(in srgb, var(--lw-text-primary) 30%, transparent);
}

/* Inbox dropzone */
/* Wrapper grows to fill remaining height in the inbox card, so the inbox
   panel matches the Critical Tasks panel height in the bottom-grid (mirrors
   the flex-1 wrapper on the ledgerwise-ui InvoiceInboxPanel). */
.hd-inbox-dropzone-wrap[b-qs22jhofbr] {
    flex: 1;
    display: flex;
    padding: 1rem 1.25rem;
}

.hd-inbox-dropzone-wrap-empty[b-qs22jhofbr] {
    padding: 1rem 1.25rem 1.25rem;
}

/* The zone itself is the shared .lw-dropzone recipe (lw-page.css, lifted from
   here 2026-10-12 so /invoices renders the same zone). Only the dashboard
   placement stays local: fill the wrapper so the panel heights match. */
.hd-dropzone[b-qs22jhofbr] {
    flex: 1;
}

/* Inbox content states (extracting / done / populated) */
.hd-inbox-body[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.25rem 1.25rem;
}

.hd-inbox-extracting[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.hd-inbox-extracting-title[b-qs22jhofbr] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-primary-dark, #020B2B);
    margin: 0;
}

.hd-inbox-extracting-sub[b-qs22jhofbr] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite, #6E7180);
    margin: 0;
}

.hd-inbox-progress[b-qs22jhofbr] {
    margin-top: 0.25rem;
    height: 3px;
    width: 100%;
    background: var(--lw-bg-muted, #F7F7F5);
    overflow: hidden;
}

.hd-inbox-progress-bar[b-qs22jhofbr] {
    height: 100%;
    background: var(--lw-primary-blue, #3980A5);
    transition: width 0.4s ease-out;
}

.hd-inbox-done[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    color: var(--lw-status-success-fg);
    font-size: 0.875rem;
    font-weight: 500;
}

.hd-inbox-stats[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    background: var(--lw-bg-muted, #F7F7F5);
    padding: 1rem;
}

.hd-view-all-muted[b-qs22jhofbr] {
    color: var(--lw-gray-graphite, #6E7180);
}

/* -- Lien waiver banner (sub dashboard) -- page-level layout of the rows
   authored inside the LwCallout's ChildContent (they carry this page's scope;
   the callout root itself does not, so nothing here targets .hd-lien-banner).
   The callout owns the warning chrome. -- */
/* Spacing between the description and the cards sits on the list: the callout's
   `.lw-callout-text p { margin: 0 }` out-ranks a margin on the <p>, which left
   the first card touching the sentence on desktop (Cody, 2026-09-27). */
.hd-lien-banner-desc[b-qs22jhofbr] {
    margin: 0;
}

.hd-lien-list[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
}

.hd-lien-row[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    box-shadow: 0 0 0 1px var(--lw-border);
}

.hd-lien-main[b-qs22jhofbr] { flex: 1; min-width: 0; }

/* The number line names EVERY invoice the waiver covers (US-921: "Invoices 1042,
   1043, 1044"), so it wraps instead of ellipsizing; so does the project line. */
.hd-lien-num[b-qs22jhofbr] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.hd-lien-sub[b-qs22jhofbr] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* "This lien waiver covers 3 invoices on this payment request." (US-921), under
   the project line in the same muted 12px. */
.hd-lien-note[b-qs22jhofbr] {
    margin: 0;
}

.hd-lien-amount[b-qs22jhofbr] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.hd-lien-sign[b-qs22jhofbr] { flex-shrink: 0; }

.hd-lien-more[b-qs22jhofbr] {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* The rows are LwCallout ChildContent, and the callout sets
   `.lw-callout-text p { color/font-size/line-height: inherit }` (0,2,1), which
   out-ranked the single-class rules above: the invoice number and project line
   rendered in the warning brown at 14px/1.625 while the amount stayed dark.
   Row-qualified selectors (0,3,0 with the scope attribute) restore the
   intended type (US-926). */
.hd-lien-row .hd-lien-num[b-qs22jhofbr] {
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.hd-lien-row .hd-lien-sub[b-qs22jhofbr],
.hd-lien-row .hd-lien-note[b-qs22jhofbr] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 640px) {
    .hd-lien-row[b-qs22jhofbr] { flex-wrap: wrap; }
    .hd-lien-sign[b-qs22jhofbr] { width: 100%; justify-content: center; }
}

/* Phones (US-926): the amount sits on the invoice-number line (owner list
   cards, US-798: number and amount share the first line) instead of floating
   between the two text lines, the card gets a 12px inset, and Sign now is a
   44px tap target across the card. */
@media (max-width: 767.98px) {
    /* Spacing goes on the list, not the description: the callout's
       `.lw-callout-text p { margin: 0 }` out-ranks a margin on the <p>. */
    .hd-lien-list[b-qs22jhofbr] {
        gap: 8px;
        margin-top: 16px;
        /* Full callout width (Cody, 2026-09-23): pull the cards back under
           the icon column (20px glyph + 12px gap) so they span the callout's
           inner width instead of sitting indented under the text. */
        margin-left: -32px;
    }

    .hd-lien-row[b-qs22jhofbr] {
        align-items: flex-start;
        row-gap: 12px;
        padding: 12px;
    }

    .hd-lien-amount[b-qs22jhofbr] {
        line-height: 20px;
    }

    /* Shared list-card title type (lw-page.css tokens): medium, not semibold. */
    .hd-lien-row .hd-lien-num[b-qs22jhofbr] {
        font-weight: var(--lw-row-title-weight);
    }

    .hd-lien-sign[b-qs22jhofbr] {
        height: 44px; /* lw-page-action is a fixed 36px */
    }
}

/* -- Bottom grid -- */
.hd-bottom-grid[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hd-bottom-grid[b-qs22jhofbr] {
        grid-template-columns: 1fr 1fr;
    }
}

/* Outstanding-invoices pipeline rows -- reference sub-dashboard.tsx
   InvoicePipelinePanel list (2026-07-28): px-5 py-3 hairline-divided rows,
   number 14/500 + project 12 muted on the left; amount 14/500 tabular over
   a 10px bold uppercase tone badge on the right; hover accent/50. */
/* Zero state shared by the Outstanding invoices panel. */
.hd-empty-row[b-qs22jhofbr] {
    padding: 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.hd-pipe-list[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
}

/* Rows are LwListRow (US-926). Its 16px inset moves to the LwPanel header's
   20px so the rows align under the panel title, as the hand-rolled rows did.
   The atom's own dividers (none above the first row) sit under the panel
   header's hairline without doubling it. */
.hd-pipe-list[b-qs22jhofbr]  .lw-list-row {
    padding: 0.75rem 1.25rem;
}

/* Only rows that do something highlight (US-926); the pipeline rows are static. */
.hd-pipe-list[b-qs22jhofbr]  a.lw-list-row:hover,
.hd-pipe-list[b-qs22jhofbr]  .lw-list-row--clickable:hover {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* The stage chip inside Lead is the phone placement; desktop shows it under
   the amount in Trailing. */
.hd-pipe-chip-phone[b-qs22jhofbr] {
    display: inline-flex;
    margin-top: 0.375rem;
}

@media (min-width: 768px) {
    .hd-pipe-chip-phone[b-qs22jhofbr] {
        display: none;
    }
}

/* Phone (owner list cards, US-798): number + amount share the first line, so
   the row aligns to the top instead of centring the amount on three lines. */
@media (max-width: 767.98px) {
    .hd-pipe-list[b-qs22jhofbr]  .lw-list-row {
        align-items: flex-start;
    }
}

.hd-pipe-main[b-qs22jhofbr] {
    flex: 1;
    min-width: 0;
}

.hd-pipe-num[b-qs22jhofbr] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-pipe-project[b-qs22jhofbr] {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hd-pipe-side[b-qs22jhofbr] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
}

.hd-pipe-amount[b-qs22jhofbr] {
    /* Block with the number's line height, so in LwListRow's MobileTrailing
       slot (a plain block with the inherited 16px strut) it sits on the
       invoice-number line instead of 4px below it. */
    display: block;
    font-size: 0.875rem;
    line-height: 21px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Phones: the shared list-card type (lw-page.css tokens). The amount follows the
   number's line height so the two stay on one line. */
@media (max-width: 767.98px) {
    .hd-pipe-num[b-qs22jhofbr],
    .hd-pipe-amount[b-qs22jhofbr] {
        line-height: var(--lw-row-title-line);
    }

    .hd-pipe-project[b-qs22jhofbr] {
        line-height: var(--lw-row-sub-line);
    }
}

/* -- Empty state for non-builders -- */
.hd-empty[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 0.5rem;
    text-align: center;
    padding: 2rem;
}

.hd-empty-title[b-qs22jhofbr] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
    margin: 0.5rem 0 0;
}

.hd-empty-desc[b-qs22jhofbr] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite, #6E7180);
    margin: 0;
    max-width: 420px;
}

/* Pending invoices popover (opens from the count pill). The MudPopover
   wrapper itself lives outside this component's scoped-CSS reach (it
   teleports via MudPopoverProvider), so its background/shadow are handled in
   app.css. The inner content elements below retain Blazor's scope attribute
   and are styled from here. */
.hd-pending-anchor[b-qs22jhofbr] {
    position: relative;
    display: inline-block;
}

.hd-pending-pop[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    background: var(--lw-primary-dark, #020B2B);
    color: var(--lw-white);
    min-width: 18rem;
    max-width: 20rem;
}

.hd-pending-pop-head[b-qs22jhofbr] {
    padding: 0.5rem 0.75rem 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
}

.hd-pending-pop-list[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hd-pending-pop-row[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: transparent;
    border: 0;
    color: var(--lw-white);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.hd-pending-pop-row:hover[b-qs22jhofbr] {
    background: rgba(255, 255, 255, 0.08);
}

.hd-pending-pop-num[b-qs22jhofbr] {
    font-size: 0.75rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--lw-white);
}

.hd-pending-pop-stage[b-qs22jhofbr] {
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.hd-pending-pop-toggle[b-qs22jhofbr] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--lw-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.hd-pending-pop-toggle:hover[b-qs22jhofbr] {
    background: rgba(255, 255, 255, 0.10);
}

/* Stage badge palette (mirrors ledgerwise-ui active-projects-table) */
.hd-stage-submitted[b-qs22jhofbr] {
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.70);
}

.hd-stage-under-client-review[b-qs22jhofbr] {
    background: rgba(91, 163, 196, 0.20);
    color: var(--lw-popover-stage-info-fg);
}

.hd-stage-client-approved[b-qs22jhofbr] {
    background: rgba(94, 196, 154, 0.18);
    color: var(--lw-popover-stage-success-fg);
}

.hd-stage-lien-waiver[b-qs22jhofbr] {
    background: rgba(238, 182, 112, 0.22);
    color: var(--lw-popover-stage-warning-fg);
}

.hd-stage-processing[b-qs22jhofbr] {
    background: rgba(91, 163, 196, 0.32);
    color: var(--lw-tooltip-info-fg);
}

/* ============================================================
   US-500: Subcontractor welcome state (zero projects)
   Hero card (white) with a navy "what happens next" step rail --
   the same surface language as the sidebar and the onboarding
   rail the sub just completed. Benefits use the onboarding
   welcome-card style. The sample dashboard below is grayed,
   inert, and dissolving: a preview, not the subject.
   ============================================================ */

.hd-welcome-head[b-qs22jhofbr] {
    padding: 0.5rem 0 0.75rem;
    animation: hd-welcome-in-b-qs22jhofbr 0.35s ease-out both;
}

@keyframes hd-welcome-in-b-qs22jhofbr {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hd-welcome-head[b-qs22jhofbr] { animation: none; }
}

/* -- Hero card -- */
.hd-hero[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-areas:
        "main rail"
        "benefits benefits";
    /* Ambient brand glows from ledgerwise.com's marketing background:
       blue upper-left, gold toward the rail edge, over white. The site
       uses blurred radial divs; soft gradient stops give the same wash. */
    background:
        radial-gradient(620px 460px at -60px -120px, rgba(57, 128, 165, 0.26) 0%, rgba(57, 128, 165, 0) 62%),
        radial-gradient(560px 430px at 78% -80px, rgba(238, 182, 111, 0.32) 0%, rgba(238, 182, 111, 0) 65%),
        #fff;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.hd-hero-main[b-qs22jhofbr] {
    grid-area: main;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hd-welcome-chip[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(238, 182, 112, 0.22);
    color: var(--lw-primary-gold-fg);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hd-welcome-chip .mud-icon-root[b-qs22jhofbr] {
    color: var(--lw-primary-gold);
}

.hd-welcome-title[b-qs22jhofbr] {
    margin: 14px 0 0;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--lw-primary-dark);
    max-width: 24ch;
}

.hd-welcome-desc[b-qs22jhofbr] {
    margin: 10px 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

/* -- Navy step rail -- */
.hd-hero-rail[b-qs22jhofbr] {
    grid-area: rail;
    border-left: 1px solid var(--lw-border);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hd-hero-rail-label[b-qs22jhofbr] {
    margin: 0 0 16px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.hd-hero-steps[b-qs22jhofbr] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hd-hero-steps li[b-qs22jhofbr] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--lw-primary-dark);
}

.hd-hero-step-num[b-qs22jhofbr] {
    flex: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lw-gray-smoke);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-gray-graphite);
}

/* -- Benefits strip: full-width bottom region of the hero card -- */
.hd-hero-benefits[b-qs22jhofbr] {
    grid-area: benefits;
    border-top: 1px solid var(--lw-border);
    padding: 32px 36px;
}

.hd-welcome-benefits-lead[b-qs22jhofbr] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.hd-benefit-grid[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 0;
    margin-top: 24px;
}

.hd-benefit[b-qs22jhofbr] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 28px;
}

.hd-benefit + .hd-benefit[b-qs22jhofbr] {
    border-left: 1px solid var(--lw-border);
    padding-left: 28px;
}

.hd-benefit-text[b-qs22jhofbr] {
    min-width: 0;
}

.hd-benefit-icon[b-qs22jhofbr] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(57, 128, 165, 0.10);
}

.hd-benefit-icon .mud-icon-root[b-qs22jhofbr] {
    color: var(--lw-primary-blue);
    font-size: 1.125rem;
}

.hd-benefit-title[b-qs22jhofbr] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.hd-benefit-desc[b-qs22jhofbr] {
    margin: 3px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

@media (max-width: 900px) {
    .hd-hero[b-qs22jhofbr] {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "rail"
            "benefits";
    }
    .hd-hero-main[b-qs22jhofbr] { padding: 24px; }
    .hd-hero-rail[b-qs22jhofbr] { border-left: none; border-top: 1px solid var(--lw-border); padding: 22px 24px; }
    .hd-hero-benefits[b-qs22jhofbr] { padding: 24px; }
    .hd-benefit-grid[b-qs22jhofbr] { grid-template-columns: 1fr; gap: 14px; }
    .hd-benefit[b-qs22jhofbr] { padding-right: 0; }
    .hd-benefit + .hd-benefit[b-qs22jhofbr] { border-left: none; padding-left: 0; }
}

/* -- Sample dashboard preview: desaturated, inert, dissolving -- */
.hd-welcome-preview[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    filter: grayscale(1) blur(2px);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 98%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 98%);
}

@media (min-width: 768px) {
    .hd-welcome-preview[b-qs22jhofbr] { gap: 1.5rem; }
}

/* US-781: GC welcome hero actions (the sub hero has none -- a sub waits on
   their GC; a builder has a project to push forward). */
.hd-hero-actions[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hd-hero-secondary-link[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    text-decoration: none;
}

.hd-hero-secondary-link:hover[b-qs22jhofbr] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* -- US-837: placeholders for the data that loads after first paint -- */

/* Available Balance cell while Modern Treasury answers: the skeleton atom is a
   block, so inline it to sit in the centered numeric cell like the figure will. */
.hd-num-col[b-qs22jhofbr]  .hd-cell-skeleton {
    display: inline-block;
    vertical-align: middle;
}


/* US-891: the Active projects panel names the rows' revenue source when it is the
   books, next to the collapsible title. */
.hd-projects-source[b-qs22jhofbr] {
    margin-left: 0.75rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

/* ================================================================
   Phone layout (US-926) -- the Project Owner phone patterns (US-798)
   applied to the subcontractor dashboard. Every rule is phone-only;
   desktop and tablet rendering is unchanged.
   ================================================================ */
@media (max-width: 767.98px) {
    /* 16px page gutter (owner frame: .cp-content 1rem). The page sat inside
       the shell's 24px padding plus its own 16px -- a 40px gutter that cost
       48px of a 360px screen. Cancel the shell padding; keep the page's. */
    .hd-page[b-qs22jhofbr] {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    /* Welcome hero (no-projects sub): sections take the 20px inset of the
       dashboard panels under it instead of the tablet 24px. */
    .hd-hero-main[b-qs22jhofbr],
    .hd-hero-benefits[b-qs22jhofbr] {
        padding: 20px;
    }

    .hd-hero-rail[b-qs22jhofbr] {
        padding: 20px;
    }

    /* US-1134: Cash / Accrual stacks above the date range, both across the page. */
    .hd-header-controls[b-qs22jhofbr] {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hd-basis-switch[b-qs22jhofbr] {
        display: grid;
    }

    .hd-basis-btn[b-qs22jhofbr] {
        height: 38px;
    }

    /* Date-range trigger spans the header, like the owner's full-width
       section select (a tap target across the page, not a centered chip). */
    .hd-header[b-qs22jhofbr]  .hd-daterange-menu,
    .hd-header[b-qs22jhofbr]  .hd-daterange-menu .mud-menu-activator {
        display: block;
        width: 100%;
    }

    .hd-daterange-trigger[b-qs22jhofbr] {
        display: flex;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
    }

    .hd-daterange-trigger[b-qs22jhofbr]  .hd-daterange-chevron {
        margin-left: auto;
    }

}

@media (max-width: 599px) {
    /* KPI strip: one card per row (owner overview .cpo-kpi, US-798). The
       live cards use LwKpiCard PhoneRow; the grayed welcome preview uses the
       legacy .hd-kpi markup, so it gets the same geometry here. */
    .hd-kpi-grid--phone-rows[b-qs22jhofbr] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .hd-kpi-grid--phone-rows .hd-kpi[b-qs22jhofbr] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        column-gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    /* Figure with the label beside it -- same order as LwKpiCard PhoneRow. */
    .hd-kpi-grid--phone-rows .hd-kpi-label[b-qs22jhofbr] {
        grid-row: 1;
        grid-column: 2;
    }

    .hd-kpi-grid--phone-rows .hd-kpi-row[b-qs22jhofbr] {
        grid-row: 1;
        grid-column: 1;
        margin-top: 0;
    }

    .hd-kpi-grid--phone-rows .hd-kpi-row[b-qs22jhofbr]  .mud-icon-root {
        display: none;
    }

    .hd-kpi-grid--phone-rows .hd-kpi-foot[b-qs22jhofbr] {
        grid-column: 1 / -1;
        margin-top: 0.25rem;
    }

    .hd-kpi-grid--phone-rows .hd-kpi-subtitle[b-qs22jhofbr] {
        display: inline;
    }
}

/* -- Active projects on Lw atoms (US-926) --
   LwListCard (Flush) + LwListRow + LwAvatar + LwListStat. The column header
   mirrors the trailing stat columns (112px each, 24px apart -- LwListRow's
   desktop trailing gap). */
.hd-proj-col-name[b-qs22jhofbr] {
    flex: 1;
}

.hd-proj-col-stats[b-qs22jhofbr] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.hd-proj-col-stat[b-qs22jhofbr] {
    width: 112px;
    text-align: right;
}

.hd-proj-identity[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

/* Phone-only figures under the name (LabelFirst stats, read across the
   card); desktop shows the trailing columns instead. */
.hd-proj-stats-phone[b-qs22jhofbr] {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .hd-proj-stats-phone[b-qs22jhofbr] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    /* The avatar sits at the top of the taller phone row. */
    .hd-proj-list[b-qs22jhofbr]  .lw-list-row-lead {
        align-items: flex-start;
    }

    /* Names wrap to two lines instead of ellipsizing (owner O7). */
    .hd-proj-identity .hd-project-name[b-qs22jhofbr],
    .hd-proj-identity .hd-project-desc[b-qs22jhofbr] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* Shared list-card type (lw-page.css tokens): title 14 / medium / 20,
       secondary line 12 / 16 -- the same as every other list card. */
    .hd-proj-identity .hd-project-name[b-qs22jhofbr] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .hd-proj-identity .hd-project-desc[b-qs22jhofbr] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }
}

/* ================================================================
   Phone layout (US-1043, Batch 5) -- the builder dashboard on the same
   owner (US-798) / sub (US-926) recipes. Every rule below is phone-only
   (767.98) except the two display toggles that pair the table with its
   card list; desktop and tablet rendering is unchanged.
   ================================================================ */

/* -- Item 6 / 3: Active projects. The <table> renders at >= 768px and the
   flush LwListCard list (.hd-proj-cards) below it; both are always in the
   markup (live panel and the grayed sample preview alike). -- */
.hd-proj-cards[b-qs22jhofbr] {
    display: none;
}

@media (max-width: 767.98px) {
    .hd-projects-tablewrap[b-qs22jhofbr] {
        display: none;
    }

    .hd-proj-cards[b-qs22jhofbr] {
        display: block;
    }

    /* Builder figures under the name read as label / value rows (the same
       shape as the inbox and template phone cards): label left, figure right,
       one per line. The earlier two-column grid left Margin orphaned on a
       third line and gave every figure half the card. */
    .hd-proj-stats-phone--grid[b-qs22jhofbr] {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }

    .hd-proj-stats-phone--grid[b-qs22jhofbr]  .lw-list-stat {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
    }

    /* Label and value take the shared fact-row type (lw-page.css tokens, 13 / 20:
       the /invoices, /proposals, /vendors and template cards), not LwListStat's
       column type (11px uppercase label over a 14px semibold figure). */
    .hd-proj-stats-phone--grid[b-qs22jhofbr]  .lw-list-stat-label {
        flex-shrink: 0;
        font-size: var(--lw-row-fact-size);
        line-height: var(--lw-row-fact-line);
        font-weight: var(--lw-font-regular);
        text-transform: none;
        letter-spacing: 0;
        color: var(--lw-gray-graphite);
    }

    .hd-proj-stats-phone--grid[b-qs22jhofbr]  .lw-list-stat-value {
        min-width: 0;
        text-align: right;
        font-size: var(--lw-row-fact-size);
        line-height: var(--lw-row-fact-line);
        font-weight: var(--lw-font-medium);
    }

    /* Available balance with its "Below min" tag right-aligned beneath. */
    .hd-proj-fact[b-qs22jhofbr] {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .hd-proj-fact .hd-trust-alert[b-qs22jhofbr] {
        align-self: flex-end;
    }

    /* The "Revenue and Margin from QuickBooks" note wraps onto its own line
       under the panel title instead of pushing the header past the screen
       (desktop keeps it inline and nowrap). */
    .hd-page[b-qs22jhofbr]  .lw-panel-head:has(.hd-projects-source) {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .hd-projects-source[b-qs22jhofbr] {
        order: 1;
        flex-basis: 100%;
        margin-left: 24px; /* under the title text: 16px chevron + 8px gap */
        white-space: normal;
    }

    /* -- Item 4: header. Greeting, subhead and the full-width date-range
       trigger stack at every phone width (the base rule only stacks under
       640px, leaving 640-767 a row with a 100%-wide trigger). -- */
    .hd-header[b-qs22jhofbr] {
        flex-direction: column;
        align-items: stretch;
    }

    /* -- Item 8: invoice inbox. 16px gutters (O10), a >= 120px drop target
       (A3) with centred, wrapping copy, and the extraction stats one per row
       (O9) so "Partial match" / "Manual entry needed" never break mid-word. -- */
    .hd-inbox-dropzone-wrap[b-qs22jhofbr],
    .hd-inbox-dropzone-wrap-empty[b-qs22jhofbr] {
        padding: 16px;
    }

    /* (the >= 120px centred drop target is part of the shared .lw-dropzone
       phone rule in lw-page.css) */

    .hd-inbox-body[b-qs22jhofbr] {
        padding: 0 16px 16px;
    }

    /* The three extraction stats stay side by side on phones (three stacked
       28px numerals cost ~190px for nine characters of data); the labels wrap
       inside their column instead. */
    .hd-inbox-stats[b-qs22jhofbr] {
        gap: 8px;
        padding: 12px;
    }

    .hd-inbox-stats[b-qs22jhofbr]  .lw-inbox-stat {
        min-width: 0;
        padding-left: 10px;
    }

    .hd-inbox-stats[b-qs22jhofbr]  .lw-inbox-stat-value {
        font-size: 24px;
    }

    .hd-inbox-stats[b-qs22jhofbr]  .lw-inbox-stat-label {
        line-height: 14px;
        overflow-wrap: break-word;
    }
}

/* Phone (US-1043): the custom-range block (two date fields + Apply) is wider than
   the 220px panel and ran to the viewport edge; the panel grows to hold it and
   never exceeds the 16px gutters. */
@media (max-width: 767.98px) {
    .hd-daterange-panel[b-qs22jhofbr] {
        min-width: 272px;
        max-width: calc(100vw - 32px);
    }

    .hd-daterange-panel[b-qs22jhofbr]  .hd-daterange-custom,
    .hd-daterange-panel .hd-daterange-custom[b-qs22jhofbr] {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* -- US-1084: getting-started checklist in the hero rail (replaces the
   stand-alone Getting Started page) and the how-to video card. -- */
.hd-gs-steps li[b-qs22jhofbr] { align-items: flex-start; }

.hd-gs-step-text[b-qs22jhofbr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hd-gs-step-title[b-qs22jhofbr] {
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.hd-gs-step--done .hd-gs-step-title[b-qs22jhofbr] {
    color: var(--lw-gray-graphite);
    text-decoration: line-through;
    text-decoration-color: var(--lw-gray-smoke);
}

.hd-gs-step-desc[b-qs22jhofbr] {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

.hd-gs-step-link[b-qs22jhofbr] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    text-decoration: none;
}

.hd-gs-step-link:hover[b-qs22jhofbr] {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hd-gs-step-num--done[b-qs22jhofbr] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-primary-blue);
    color: var(--lw-primary-blue-fg);
}

.hd-gs-step-num--done .mud-icon-root[b-qs22jhofbr] { color: var(--lw-primary-blue-fg); }

/* Video card: same head as the project card; tiles are 16:9 posters (US-1140: the
   marketing site's title card when one exists, the navy gradient otherwise). */
.hd-gs-videos[b-qs22jhofbr] { display: flex; flex-direction: column; }

.hd-gs-videos-sub[b-qs22jhofbr] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.hd-gs-video-grid[b-qs22jhofbr] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px 20px;
}

/* A <button> is not a dependable flex container (Chrome centers and shrinks its
   content), so the tile is a block and its parts stack as blocks. */
.hd-gs-video[b-qs22jhofbr] {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    min-width: 0;
    /* Top-align in the row: a longer title must not push this tile's poster out of line. */
    align-self: start;
}

.hd-gs-video--soon[b-qs22jhofbr] { cursor: default; }

.hd-gs-video-poster[b-qs22jhofbr] {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-border);
    background:
        radial-gradient(360px 220px at 10% 0%, rgba(57, 128, 165, 0.30) 0%, rgba(57, 128, 165, 0) 70%),
        var(--lw-primary-dark);
    overflow: hidden;
}

.hd-gs-video-still[b-qs22jhofbr] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hd-gs-video-play[b-qs22jhofbr] {
    /* Bottom-right corner, clear of the title centred on the poster. */
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%; /* a circle: no --lw-radius token is one at this size */
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-md);
    transition: transform 120ms ease;
}

.hd-gs-video-play[b-qs22jhofbr]  .mud-icon-root {
    color: var(--lw-primary-dark);
    font-size: 1.25rem;
}

.hd-gs-video:hover .hd-gs-video-play[b-qs22jhofbr] { transform: scale(1.06); }

.hd-gs-video:focus-visible .hd-gs-video-poster[b-qs22jhofbr] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.hd-gs-video-soon[b-qs22jhofbr] {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hd-gs-video--soon .hd-gs-video-poster[b-qs22jhofbr] { opacity: 0.6; }

.hd-gs-video-title[b-qs22jhofbr] {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.hd-gs-video-meta[b-qs22jhofbr] {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 1100px) {
    .hd-gs-video-grid[b-qs22jhofbr] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .hd-gs-video-grid[b-qs22jhofbr] { grid-template-columns: 1fr; padding: 0 16px 16px; }
    .hd-gs-videos-sub[b-qs22jhofbr] { display: none; }
}
/* _content/Ledgerwise/Components/Pages/Invoices.razor.rz.scp.css */
/* /invoices (builder invoice inbox) -- page-level rules only. The list rows, drop zone and
   extraction affordances come from the shared inbox recipe in lw-page.css (shared with
   /proposals); what is here is this page's phone layout (US-1043), reached through
   elements the page owns (.inv-list, .lw-page-body, .lw-page-active-bar). */

/* Filtered-empty card actions (Clear Filters / Show All Invoices). */
.inv-empty-actions[b-s0l2430dwm] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

/* Phone card block under the vendor name (LwListRow MobileTrailing, hidden >= 768px):
   the status chip on its own line, then the desktop columns as label / value facts. */
.inv-m[b-s0l2430dwm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.inv-m-status[b-s0l2430dwm] {
    display: flex;
}

.inv-m-facts[b-s0l2430dwm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.inv-m-fact[b-s0l2430dwm] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.inv-m-fact-label[b-s0l2430dwm] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.inv-m-fact-value[b-s0l2430dwm] {
    flex-shrink: 0;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* A project name can be long: it wraps to two lines against the right edge
   instead of pushing the label out of the card. */
.inv-m-fact-value--text[b-s0l2430dwm] {
    flex-shrink: 1;
    min-width: 0;
    text-align: right;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* The amount is the figure the builder scans for: one weight up (Proposals
   .prop-m-fact-value--amount). */
.inv-m-fact-value--amount[b-s0l2430dwm] {
    font-weight: var(--lw-font-semibold);
}

/* The file name is reference detail, not a headline fact: one line, ellipsized, regular
   weight, secondary text (Proposals .prop-m-fact-value--file). */
.inv-m-fact-value--file[b-s0l2430dwm] {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--lw-font-regular);
    color: var(--lw-gray-graphite);
}

/* "Submitted by subcontractor" / "Document says ..." -- only rendered when true. A quiet
   line of its own, two lines at most (Proposals .prop-m-note). */
.inv-m-note[b-s0l2430dwm] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

/* "Unknown vendor": the phone card's title when the desktop row falls back to the raw
   file name (no vendor assigned or read off the document). Hidden from 768px up, where
   the row keeps the file-name title. */
.inv-list[b-s0l2430dwm]  .inv-title--phone {
    display: none;
}

@media (max-width: 767.98px) {
    /* ---- List rows as phone cards ----
       Every row is LwListRow's split variant (it has an Actions cell): its link region
       adds 12px / 16px of its own for desktop lists on top of the phone card's 12px
       (zeroed), and it is the flex box that has to wrap so the status / facts block
       drops under the name (the phone-cards mode only wraps the outer row). */
    .inv-list[b-s0l2430dwm]  .lw-list-row-link {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 8px;
        padding: 0;
    }

    .inv-list[b-s0l2430dwm]  .lw-list-row-lead {
        align-items: flex-start;
        padding-right: 36px;
    }

    /* No initials tile on the phone card (same rule as /proposals): the approved phone
       cards for this kind of record are text only, initials made from a file name are
       junk, and the 56px the tile cost is what wrapped the name. Everything in the lead
       except the identity block (the avatar, or the extracting spinner tile -- the chip
       already says "Extracting") is hidden; desktop keeps it. */
    .inv-list[b-s0l2430dwm]  .lw-invoice-list .lw-list-row-lead > :not(.lw-row-identity) {
        display: none;
    }

    /* With the tile gone the status and facts block starts at the card's left edge, under
       the name (the atom indents it 56px past the avatar); min-width lets the file name
       ellipsize inside it. */
    .inv-list[b-s0l2430dwm]  .lw-invoice-list .lw-list-row-trailing-mobile {
        flex-basis: 100%;
        margin-left: 0;
        min-width: 0;
    }

    /* Vendor name gets two lines (desktop: one, ellipsized), balanced so a long name does
       not leave one word alone on the second line. */
    .inv-list[b-s0l2430dwm]  .lw-row-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 20px;
        text-wrap: balance;
    }

    /* A file-name title is desktop only; the phone card says "Unknown vendor" instead
       (.inv-title--phone, shown by the rule above) and lists the file as a fact. */
    .inv-list[b-s0l2430dwm]  .lw-row-title.inv-title--desktop {
        display: none;
    }

    /* The identity sub line joins who submitted it, the extracted name and the file name
       into one sentence for the desktop row; on phones those are the notes and the File
       fact in MobileTrailing instead. */
    .inv-list[b-s0l2430dwm]  .lw-row-identity .lw-row-sub {
        display: none;
    }

    /* Row menu: the 32px desktop ghost button grows to a 44px target pinned to the
       card's top right (same rules as ProjectProposals .pp-cards). */
    .inv-list[b-s0l2430dwm]  .lw-list-row {
        position: relative;
    }

    /* Out of flow, pinned to the card's top right corner (the template lists' recipe),
       so the fact rows span the whole card and their values reach its right edge. */
    .inv-list[b-s0l2430dwm]  .lw-list-row-actions {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .inv-list[b-s0l2430dwm]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* Drop zone: the shared .lw-dropzone recipe (lw-page.css) carries its own
       phone rules -- same zone as the dashboard invoice inbox, nothing page-local. */

    /* ---- Active-filter bar ----
       Pills keep their 28px look and may shrink (a long project name ellipsizes rather
       than overflowing the bar); each remove "x" gets a 44px hit box, and wrapped rows
       sit 16px apart so those boxes do not overlap. Clear All's 44px box comes from
       lw-page.css. Same recipe as Vendors.razor.css. */
    .lw-page-active-bar[b-s0l2430dwm] {
        row-gap: 16px;
    }

    .lw-page-active-bar[b-s0l2430dwm]  .lw-filter-pill {
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }

    .lw-page-active-bar[b-s0l2430dwm]  .lw-filter-pill-label {
        min-width: 0;
    }

    .lw-page-active-bar[b-s0l2430dwm]  .lw-filter-pill-remove {
        position: relative;
    }

    .lw-page-active-bar[b-s0l2430dwm]  .lw-filter-pill-remove::after {
        content: "";
        position: absolute;
        inset: -12px;
    }

    /* ---- States ----
       Filtered-empty card: 16px side gutters, copy that wraps, and its actions share
       the row (each 44px tall via lw-page.css). First-run empty state: the upload CTA
       fills the card width. */
    .lw-page-body[b-s0l2430dwm]  .lw-page-empty-results {
        padding: 32px 16px;
    }

    .lw-page-body[b-s0l2430dwm]  .lw-page-empty-title,
    .lw-page-body[b-s0l2430dwm]  .lw-page-empty-desc {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .inv-empty-actions[b-s0l2430dwm] {
        width: 100%;
    }

    .inv-empty-actions .lw-page-action[b-s0l2430dwm] {
        flex: 1 1 auto;
        justify-content: center;
    }

    .lw-page-body[b-s0l2430dwm]  .lw-empty-action {
        width: 100%;
    }

    .lw-page-body[b-s0l2430dwm]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        justify-content: center;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderBudget.razor.rz.scp.css */
/* Match the owner budget's toolbar, table, and mobile card treatment. */
.lb-page[b-0ce775di60] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--lw-bg-muted, #F7F7F5);
    padding: 1rem;
    min-width: 0;
}
@media (min-width: 768px) {
    .lb-page[b-0ce775di60] { padding: 1.5rem; }
}

.lb-subheader[b-0ce775di60] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: -1rem -1rem 0;
    padding: 0.75rem 1rem;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

@media (min-width: 768px) {
    .lb-subheader[b-0ce775di60] {
        margin: -1.5rem -1.5rem 0;
        padding: 0.75rem 1.5rem;
    }
}

.lb-subheader-right[b-0ce775di60] {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    margin-left: auto;
}

.lb-search-clear[b-0ce775di60] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    padding: 2px;
    color: var(--lw-gray-space);
    cursor: pointer;
}

.lb-search-clear:hover[b-0ce775di60] { color: var(--lw-text-primary); }

.lb-split[b-0ce775di60] {
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.lb-split-btn[b-0ce775di60] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 36px;
    padding: 0 0.75rem;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.lb-split-btn:hover:not(:disabled)[b-0ce775di60] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.lb-split[b-0ce775di60]  .mud-icon-root {
    font-size: 1rem !important;
}

@media (max-width: 640px) {
    .lb-split-label[b-0ce775di60] { display: none; }
}

.lb-noresults[b-0ce775di60] {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
}

.lb-noresults-card[b-0ce775di60] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    max-width: 28rem;
    padding: 3rem 1.5rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    text-align: center;
}

.lb-noresults-icon[b-0ce775di60] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-space);
}

.lb-noresults-title[b-0ce775di60] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lb-noresults-copy[b-0ce775di60] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.lb-table-wrap[b-0ce775di60] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: visible;
}

.lb-th:first-child[b-0ce775di60] { border-top-left-radius: var(--lw-radius-card); }
.lb-th:last-child[b-0ce775di60] { border-top-right-radius: var(--lw-radius-card); }
.lb-table tbody tr:last-child .lb-td:first-child[b-0ce775di60] { border-bottom-left-radius: var(--lw-radius-card); }
.lb-table tbody tr:last-child .lb-td:last-child[b-0ce775di60] { border-bottom-right-radius: var(--lw-radius-card); }

.lb-table[b-0ce775di60] {
    width: 100%;
    border-collapse: collapse;
}

.lb-th[b-0ce775di60] {

    position: sticky;
    top: 56px;
    z-index: 10;
    padding: 0.75rem 0.5rem;
    background: var(--lw-bg-table-header, #F6F7F9);

    box-shadow: inset 0 -1px 0 var(--lw-border);

    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite, #6E7180);
    text-align: left;
    white-space: nowrap;
}

.lb-col-num[b-0ce775di60] { width: 80px; text-align: left; }
.lb-col-num-right[b-0ce775di60] { text-align: right; }

.lb-th:first-child[b-0ce775di60],
.lb-group-num[b-0ce775di60],
.lb-item-num[b-0ce775di60] { padding-left: 1.25rem; padding-right: 0.25rem; }

.lb-th:nth-child(2)[b-0ce775di60],
.lb-group-name[b-0ce775di60],
.lb-item-cat[b-0ce775di60] { padding-left: 0.25rem; padding-right: 2.5rem; }

.lb-th:last-child[b-0ce775di60],
.lb-item-row .lb-num:last-child[b-0ce775di60] { padding-left: 0.5rem; padding-right: 1.25rem; }

.lb-td[b-0ce775di60] {
    padding: 0.5rem;
    border-top: 1px solid var(--lw-border);
    font-size: 0.875rem;
    color: var(--lw-primary-dark, #020B2B);
    vertical-align: middle;
}

.lb-group-row[b-0ce775di60] {

    background: color-mix(in srgb, var(--lw-bg-muted) 60%, transparent);
}

.lb-group-num[b-0ce775di60] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite, #6E7180);
    font-variant-numeric: tabular-nums;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.lb-group-name[b-0ce775di60] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite, #6E7180);
}

.lb-item-row[b-0ce775di60] {
    transition: background-color 0.12s;
}

.lb-item-row:hover[b-0ce775di60] {

    background-color: color-mix(in srgb, var(--lw-accent) 40%, transparent);
}

.lb-item-num[b-0ce775di60] {

    color: var(--lw-gray-space, #9DA2B3);
    font-variant-numeric: tabular-nums;
}

.lb-item-cat[b-0ce775di60] {
    color: var(--lw-primary-dark, #020B2B);
    display: flex;
    align-items: center;

    gap: 0.375rem;
    flex-wrap: wrap;
}

.lb-num[b-0ce775di60] {
    text-align: right;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.lb-muted[b-0ce775di60] {
    color: var(--lw-gray-graphite, #6E7180);
}

.lb-mobile[b-0ce775di60] {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.lb-mcard[b-0ce775di60] {
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.lb-mcard-head[b-0ce775di60] {
    display: flex;

    align-items: baseline;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
}

.lb-mcard-num[b-0ce775di60],
.lb-mcard-cat[b-0ce775di60] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-graphite, #6E7180);
}

.lb-mcard-num[b-0ce775di60] { font-variant-numeric: tabular-nums; }

.lb-mcard-item[b-0ce775di60] {
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--lw-border);
}

.lb-mcard-item:first-of-type[b-0ce775di60] {
    border-top: none;
}

.lb-mcard-name[b-0ce775di60] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--lw-primary-dark, #020B2B);
    margin-bottom: 0.625rem;
}

.lb-mcard-item-num[b-0ce775di60] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite, #6E7180);
    font-variant-numeric: tabular-nums;
}

.lb-mcard-grid[b-0ce775di60] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.375rem;
}

.lb-mcard-cell[b-0ce775di60] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.lb-mcard-label[b-0ce775di60] {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-graphite, #6E7180);
}

.lb-mcard-value[b-0ce775di60] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark, #020B2B);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .lb-table-wrap[b-0ce775di60] { display: none; }
    .lb-mobile[b-0ce775di60] { display: flex; }
}

@media print {
    [data-print-hide][b-0ce775di60] { display: none !important; }
    .lb-mobile[b-0ce775di60] { display: none !important; }
    .lb-table-wrap[b-0ce775di60] { display: block !important; }
    .lb-page[b-0ce775di60] { gap: 1rem; }
}

.lb-group-name[b-0ce775di60] { text-align: left; }
.lb-table-wrap[b-0ce775di60] { overflow-x: auto; }
.lb-table[b-0ce775di60] { min-width: 850px; }
.lb-th[b-0ce775di60] { position: static; }
.lb-num[b-0ce775di60] { white-space: nowrap; }
.lb-over[b-0ce775di60] { color: var(--lw-status-error-fg, #A32D2D); }
.lb-sticky-footer[b-0ce775di60] {
    position: sticky;
    bottom: 0;
    z-index: 11;
    margin: 0 -1rem -1rem;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.lb-total-breakdown[b-0ce775di60] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem 1.5rem;
    padding: .75rem 1rem;
    color: var(--lw-gray-graphite);
    font-size: 12px;
}
.lb-total-breakdown span[b-0ce775di60] { display: flex; gap: .5rem; }
.lb-total-breakdown strong[b-0ce775di60] { color: var(--lw-text-primary); font-variant-numeric: tabular-nums; }
.lb-total[b-0ce775di60] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .875rem 1rem;
    background: var(--lw-bg-muted);
    border-top: 1px solid var(--lw-border);
    color: var(--lw-text-primary);
}
.lb-total > span[b-0ce775di60] { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.lb-total > strong[b-0ce775di60] { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
    .lb-sticky-footer[b-0ce775di60] { margin: 0 -1.5rem -1.5rem; }
    .lb-total[b-0ce775di60], .lb-total-breakdown[b-0ce775di60] { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 767.98px) {
    .lb-subheader-right[b-0ce775di60] { margin-left: 0; flex: 1 1 auto; min-width: 0; }
    .lb-subheader-right .lw-page-search[b-0ce775di60] { flex: 1; min-width: 0; }
    .lb-subheader-right .lw-page-search-input[b-0ce775di60] { min-width: 0; width: 100%; }
    .lb-total-breakdown[b-0ce775di60] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lb-total-breakdown span[b-0ce775di60] { justify-content: space-between; }
}
@media (max-width: 380px) {
    .lb-mcard-grid[b-0ce775di60] { grid-template-columns: 1fr; }
    .lb-total-breakdown[b-0ce775di60] { grid-template-columns: 1fr; }
}
@media print {
    .lb-sticky-footer[b-0ce775di60] { position: static; }
    .lb-table[b-0ce775di60] { min-width: 0; }
    .lb-table-wrap[b-0ce775di60] { overflow: visible; }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderBuilders.razor.rz.scp.css */
/* US-1230: the lender's Builders list. Column layout mirrors the Loans list
   (LenderProjects.razor.css), which mirrors LwProjectList; scoped CSS cannot be
   shared across components, hence the local copy. */

.lb-col-name[b-m7usoafbud] {
    flex: 1;
}

.lb-col-stats[b-m7usoafbud] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.lb-col-metric[b-m7usoafbud] {
    text-align: right;
}

.lb-col-cell[b-m7usoafbud] {
    text-align: left;
}

/* The actions column: as wide as Resend invitation, on every row so the columns line up. */
.lb-col-actions[b-m7usoafbud] {
    width: 172px;
    flex-shrink: 0;
}

.lb-list[b-m7usoafbud]  .lw-list-row-actions {
    width: 172px;
    box-sizing: border-box;
    justify-content: flex-end;
}

.lb-identity[b-m7usoafbud] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.lb-name[b-m7usoafbud] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-sub[b-m7usoafbud] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lb-status[b-m7usoafbud] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .lb-name[b-m7usoafbud],
    .lb-sub[b-m7usoafbud] {
        white-space: normal;
    }

    .lb-list[b-m7usoafbud]  .lw-list-row-actions {
        width: auto;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderDashboard.razor.rz.scp.css */
/* Lender dashboard (US-475 prototype).

   Page-level concerns only: section rhythm, grid layout, and the loan table's column
   widths (lw-table.css carries chrome; column layout stays with the page that owns the
   table). The one piece of real component chrome here is the draw gate chip, which has
   no atom yet -- see the note above it.

   All colour, radius and type come from --lw-* tokens; there is no literal hex.
   Mirrors the builder dashboard's page rhythm (Home.razor.css .hd-*) so the two
   surfaces read as one product. */

/* Page wrap -- the canonical dashboard shell, copied from Home.razor.css .hd-page.
   The layout's MudContainer already applies pa-6, so the negative margin cancels it
   and lets the muted ground run full-bleed instead of sitting in an inset card.
   Matching the builder dashboard here is the point: the two surfaces should read as
   one product. */
.ld-page[b-nflw5ywr21] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--lw-bg-muted);
    padding: 1rem;
    margin: -1rem -1.5rem;
    min-height: calc(100% + 2rem);
    box-sizing: border-box;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .ld-page[b-nflw5ywr21] {
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* -- Header -- */
.ld-header[b-nflw5ywr21] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.ld-header-text[b-nflw5ywr21] { min-width: 0; }

.ld-greeting[b-nflw5ywr21] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark);
}

.ld-subhead[b-nflw5ywr21] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.ld-dot[b-nflw5ywr21] {
    margin: 0 6px;
    color: var(--lw-gray-smoke);
}

/* US-1218: empty states for a lender with no loans or nothing waiting on it. */
.ld-empty[b-nflw5ywr21] {
    padding: 24px 20px;
    text-align: center;
}

.ld-empty-title[b-nflw5ywr21] {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-title-color);
}

.ld-empty-sub[b-nflw5ywr21] {
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.ld-empty-sub a[b-nflw5ywr21] {
    color: var(--lw-primary-blue);
}

/* -- KPI rows -- */
.ld-kpi-grid[b-nflw5ywr21] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* -- 2. Secondary metrics strip --
   Shane's pattern: one bordered surface divided into four cells, so these read as
   supporting figures rather than competing with the KPI cards above. */
.ld-strip[b-nflw5ywr21] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.ld-strip-cell[b-nflw5ywr21] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
    border-right: 1px solid var(--lw-border);
}

.ld-strip-cell:last-child[b-nflw5ywr21] { border-right: 0; }

/* US-1218: a real lender has no servicing figures, so its strip holds two cells. */
.ld-strip.ld-strip--two[b-nflw5ywr21] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.ld-strip-label[b-nflw5ywr21] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-graphite);
}

/* Figure and its comparison sit on one line, comparison to the right. */
.ld-strip-row[b-nflw5ywr21] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.ld-strip-value[b-nflw5ywr21] {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.ld-strip-delta[b-nflw5ywr21] {
    font-size: 11px;
    font-weight: 600;
}

.ld-strip-delta--good[b-nflw5ywr21] { color: var(--lw-status-success-fg); }
/* -- 3. Active projects --
   Measurements carried over verbatim from Home.razor.css .hd-projects-table so the
   lender card and the builder card are the same table. Those rules are scoped to Home,
   so they cannot be referenced from here; the honest fix is to promote the recipe into
   a shared sheet and point both pages at it. Filed as a follow-up rather than done
   here, because renaming the builder dashboard's table classes is not a change to make
   inside a prototype. */
.ld-projects-tablewrap[b-nflw5ywr21] {
    overflow-x: auto;
}

.ld-projects-table[b-nflw5ywr21] {
    width: 100%;
    border-collapse: collapse;
}

.ld-projects-table thead tr[b-nflw5ywr21],
.ld-projects-table tr[b-nflw5ywr21] {
    border-top: 1px solid var(--lw-border);
}

.ld-projects-table th[b-nflw5ywr21],
.ld-projects-table td[b-nflw5ywr21] {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    vertical-align: middle;
}

.ld-projects-table th[b-nflw5ywr21] {
    padding: 0.75rem 1.25rem;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

/* Rows navigate to the loan detail page, so they carry the pointer the GC's Active
   projects rows do. */
.ld-projects-table tbody tr[b-nflw5ywr21] {
    cursor: pointer;
}

.ld-projects-table tbody tr:hover[b-nflw5ywr21] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.ld-num-col[b-nflw5ywr21] {
    text-align: center !important;
    font-variant-numeric: tabular-nums;
}

.ld-project-cell[b-nflw5ywr21] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ld-project-info[b-nflw5ywr21] { min-width: 0; }

.ld-project-name[b-nflw5ywr21] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ld-project-sub[b-nflw5ywr21] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

/* Two-line numeric cell (figure over a qualifier), centred like its column. */
.ld-stacked[b-nflw5ywr21] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.ld-cell-sub[b-nflw5ywr21] {
    font-size: 0.6875rem;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

/* The status chip is the hover target for the gate detail; the tooltip CONTENT is
   styled in css/components/lw-tooltip.css, because MudTooltip teleports its popover
   outside this component and a scoped rule can never reach it. */
.ld-req-status[b-nflw5ywr21] {
    display: inline-flex;
    cursor: help;
}

/* Project line and the action share the card's bottom row. */
.ld-req-bottom[b-nflw5ywr21] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* -- Parties (one overlapping avatar group) --
   Project owners then the general contractor, all circles, overlapping as a single
   roster for the loan. No divider and no shape difference: the role is on the hover,
   and at this density the column is scanned for "who" rather than read.

   Each avatar is ringed in the row colour so the overlap reads as depth, and the
   tones must stay OPAQUE -- every LwAvatar Tone except Primary is a 12% tint, so two
   overlapping translucent circles show through each other. The Status gradients are
   solid, which is why the roster uses those. */
.ld-avatar-stack[b-nflw5ywr21] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ld-avatar-stack[b-nflw5ywr21]  .lw-avatar {
    box-shadow: 0 0 0 2px var(--lw-white);
    position: relative;
}

.ld-avatar-stack[b-nflw5ywr21]  .mud-tooltip-root + .mud-tooltip-root,
.ld-avatar-stack > * + *[b-nflw5ywr21] {
    margin-left: -8px;
}

/* -- 4 + 5. Bottom two-up -- */
.ld-bottom-grid[b-nflw5ywr21] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.ld-queue-total[b-nflw5ywr21] {
    font-size: 12px;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

/* Payment request card -- measurements mirrored from ProjectDrawRequests
   .pdr-card, the app's canonical payment-request row: 16px padding, hairline
   card on white, accent/50 hover, bold request number, semibold tabular amount,
   12px muted meta line with a border-coloured separator. The brand accent edge
   marks the ones that are actionable, the same signal .pdr-card--upcoming uses. */
.ld-req-list[b-nflw5ywr21] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.ld-req[b-nflw5ywr21] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    transition: background-color 0.15s ease;
}

.ld-req:hover[b-nflw5ywr21] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.ld-req--ready[b-nflw5ywr21] {
    border-left: 2px solid var(--lw-primary-blue);
}

.ld-req-top[b-nflw5ywr21] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ld-req-id[b-nflw5ywr21] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 14px;
}

.ld-req-number[b-nflw5ywr21] {
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.ld-req-amount[b-nflw5ywr21] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.ld-req-project[b-nflw5ywr21] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

/* The lender's own identifier sits with the shared project name, so the same job is
   findable by either name. Shane's "loan 123 versus the project name" point. */
.ld-loan-badge[b-nflw5ywr21] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    font-size: 11px;
    font-weight: 700;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

/* -- Responsive -- */
@media (max-width: 1200px) {
    .ld-kpi-grid[b-nflw5ywr21] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ld-strip[b-nflw5ywr21] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ld-strip-cell:nth-child(2)[b-nflw5ywr21] { border-right: 0; }
    .ld-bottom-grid[b-nflw5ywr21] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .ld-kpi-grid[b-nflw5ywr21] { grid-template-columns: minmax(0, 1fr); }
    .ld-strip[b-nflw5ywr21] { grid-template-columns: minmax(0, 1fr); }
    .ld-strip-cell[b-nflw5ywr21] { border-right: 0; border-bottom: 1px solid var(--lw-border); }
    .ld-strip-cell:last-child[b-nflw5ywr21] { border-bottom: 0; }
}

.ld-projects-table tr.ld-row-link:hover[b-nflw5ywr21] {
    background: var(--lw-bg-table-header);
}


/* -- Pending payment requests as the loan detail's request table, compacted for
   the half-width panel: request (with loan / project), status, amount, Review. -- */
.ld-req-table[b-nflw5ywr21] {
    display: flex;
}

.ld-rq-row[b-nflw5ywr21] {
    cursor: pointer;
}

.ld-rq-request[b-nflw5ywr21] {
    flex: 1 1 240px;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}

.ld-rq-line[b-nflw5ywr21] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.ld-rq-line > .ld-req-number[b-nflw5ywr21],
.ld-rq-line > .ld-loan-badge[b-nflw5ywr21] {
    flex-shrink: 0;
    white-space: nowrap;
}

.ld-rq-project[b-nflw5ywr21] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ld-rq-status[b-nflw5ywr21] {
    flex: 0 0 auto;
    min-width: 0;
}

.ld-rq-amount[b-nflw5ywr21] {
    flex: 0 0 100px;
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
}

.ld-rq-action[b-nflw5ywr21] {
    flex: 0 0 96px;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .ld-rq-status[b-nflw5ywr21] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderDocuments.razor.rz.scp.css */
/* Lender Documents tab (US-475 prototype). */

.ldc-page[b-5dlsdaupvt] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 767px) {
    .ldc-toolbar[b-5dlsdaupvt] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
}

.ldc-body[b-5dlsdaupvt] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .ldc-body[b-5dlsdaupvt] { padding: 24px; }
}

.ldc-table[b-5dlsdaupvt] {
    display: flex;
}

.ldc-col-name[b-5dlsdaupvt] {
    flex: 1 1 300px;
    min-width: 0;
    gap: 10px;
}

.ldc-tile[b-5dlsdaupvt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.ldc-tile[b-5dlsdaupvt]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ldc-name[b-5dlsdaupvt] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ldc-col-cat[b-5dlsdaupvt] {
    flex: 0 0 150px;
    min-width: 0;
}

.ldc-col-date[b-5dlsdaupvt] {
    flex: 0 0 130px;
    min-width: 0;
    white-space: nowrap;
}

.ldc-col-size[b-5dlsdaupvt] {
    flex: 0 0 120px;
    min-width: 0;
    white-space: nowrap;
}

.ldc-col-vis[b-5dlsdaupvt] {
    flex: 0 0 230px;
    min-width: 0;
}

@media (max-width: 767.98px) {
    .ldc-col-cat[b-5dlsdaupvt],
    .ldc-col-size[b-5dlsdaupvt],
    .ldc-col-vis[b-5dlsdaupvt] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderInspections.razor.rz.scp.css */
/* Lender Inspections tab (US-475 prototype). */

.li-page[b-lesg1700i9] {
    background: var(--lw-bg-muted);
    padding: 16px;
}

@media (min-width: 768px) {
    .li-page[b-lesg1700i9] { padding: 24px; }
}

.li-col[b-lesg1700i9] {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.li-report[b-lesg1700i9] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.li-summary[b-lesg1700i9] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.li-toggle[b-lesg1700i9] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.li-toggle:hover[b-lesg1700i9] {
    text-decoration: underline;
}

[b-lesg1700i9] .li-toggle__icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.li-findings[b-lesg1700i9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--lw-border);
}

.li-finding[b-lesg1700i9] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.li-finding__head[b-lesg1700i9] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.li-finding__line[b-lesg1700i9] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.li-finding__pct[b-lesg1700i9] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.li-finding__note[b-lesg1700i9] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 600px) {
    .li-findings[b-lesg1700i9] {
        grid-template-columns: 1fr;
    }
}

/* Confidence chip: on the title row at desktop, at the top of the card body on
   phones (US-1043) -- chip + title + subtitle could not share a 390px head. The
   breakpoint matches ControlCard's phone head (599px). */
.li-conf[b-lesg1700i9] {
    display: inline-flex;
}

.li-conf--body[b-lesg1700i9] {
    display: none;
    align-self: flex-start;
}

@media (max-width: 599px) {
    .li-conf--head[b-lesg1700i9] {
        display: none;
    }

    .li-conf--body[b-lesg1700i9] {
        display: inline-flex;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderInspectionSectionDrawer.razor.rz.scp.css */
/* One section of a milestone's virtual inspection (US-475 prototype). The
   shell (nested bottom sheet, header, footer, details column) is the shared
   drawer spec (lw-drawer.css + LwModalHeader/Body/Footer) since US-1043; this
   file keeps the photo carousel, the thumbnail grid and the finding. */

/* ---- Carousel ---- */

.lid-carousel[b-mhmhcuhxim] {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 0.5rem;
}

.lid-carousel__nav[b-mhmhcuhxim] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--lw-border);
    border-radius: 999px;
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.lid-carousel__nav:hover[b-mhmhcuhxim] {
    background: var(--lw-bg-table-header);
    color: var(--lw-text-primary);
}

.lid-carousel__stage[b-mhmhcuhxim] {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--lw-radius-card);
    overflow: hidden;
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.lid-carousel__img[b-mhmhcuhxim] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lid-carousel__caption[b-mhmhcuhxim] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(2, 11, 43, 0.78), rgba(2, 11, 43, 0));
    color: var(--lw-white);
}

.lid-carousel__title[b-mhmhcuhxim] {
    font-size: 0.875rem;
    font-weight: 600;
}

.lid-carousel__meta[b-mhmhcuhxim] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 0.75rem;
    opacity: 0.9;
}

.lid-carousel__meta[b-mhmhcuhxim]  .mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-left: 6px;
}

.lid-carousel__meta[b-mhmhcuhxim]  .mud-icon-root:first-child {
    margin-left: 0;
}

.lid-carousel__count[b-mhmhcuhxim] {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(2, 11, 43, 0.65);
    color: var(--lw-white);
    font-size: 0.6875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.lid-photos[b-mhmhcuhxim] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

/* ---- Thumbnails: every photo in the section, one row, scrolls sideways ---- */

/* The strip runs to the card's edges (cancelling the 24px ControlCard body inset)
   and fades out on both sides so the cut-off tiles read as "more this way". */
.lid-thumbs-wrap[b-mhmhcuhxim] {
    position: relative;
    margin: 0 -24px -24px;
}

.lid-thumbs-wrap[b-mhmhcuhxim]::before,
.lid-thumbs-wrap[b-mhmhcuhxim]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 1;
}

.lid-thumbs-wrap[b-mhmhcuhxim]::before {
    left: 0;
    background: linear-gradient(to right, var(--lw-form-surface, var(--lw-white)), transparent);
}

.lid-thumbs-wrap[b-mhmhcuhxim]::after {
    right: 0;
    background: linear-gradient(to left, var(--lw-form-surface, var(--lw-white)), transparent);
}

.lid-thumbs[b-mhmhcuhxim] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 4px 24px 24px;
    scrollbar-width: none;
}

.lid-thumbs[b-mhmhcuhxim]::-webkit-scrollbar {
    display: none;
}

.lid-thumb[b-mhmhcuhxim] {
    flex: 0 0 auto;
    width: 112px;
    height: 84px;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.lid-thumb:hover[b-mhmhcuhxim] {
    border-color: var(--lw-primary-blue, #3980a5);
}

.lid-thumb--active[b-mhmhcuhxim] {
    border-color: var(--lw-primary-dark);
    box-shadow: 0 0 0 2px var(--lw-primary-dark);
}

.lid-thumb img[b-mhmhcuhxim] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lid-empty[b-mhmhcuhxim] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 2.5rem 1rem;
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
    color: var(--lw-gray-graphite);
    font-size: 0.875rem;
    text-align: center;
}

.lid-empty p[b-mhmhcuhxim] {
    margin: 0;
}

.lid-empty[b-mhmhcuhxim]  .mud-icon-root {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: var(--lw-gray-smoke, #d3d6e0);
}

/* ---- Finding ---- */

.lid-finding[b-mhmhcuhxim] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lid-finding__head[b-mhmhcuhxim] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lid-finding__label[b-mhmhcuhxim] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lid-finding__pct[b-mhmhcuhxim] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.lid-finding__note[b-mhmhcuhxim] {
    margin: 4px 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.lid-finding__meta[b-mhmhcuhxim] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {

    .lid-carousel[b-mhmhcuhxim] {
        grid-template-columns: 1fr;
    }

    .lid-carousel__nav[b-mhmhcuhxim] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderLedger.razor.rz.scp.css */
/* GC ledger geometry and shared design tokens, with lender column labels. */
.ll-page[b-7phyrv2uur] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 767px) {
    .ll-toolbar[b-7phyrv2uur] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
}

.ll-body[b-7phyrv2uur] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

@media (min-width: 768px) {
    .ll-body[b-7phyrv2uur] { padding: 24px; }
}

.ll-stats[b-7phyrv2uur] {
    display: block;
}

.ll-table-card[b-7phyrv2uur] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.ll-table-card .lw-table[b-7phyrv2uur] {
    min-width: 980px;
}

.ll-col-date[b-7phyrv2uur]    { flex: 0 0 120px; min-width: 0; white-space: nowrap; }
.ll-col-ref[b-7phyrv2uur]     { flex: 0 0 105px; min-width: 0; white-space: nowrap; }
.ll-col-status[b-7phyrv2uur]  { flex: 0 0 190px; min-width: 0; }
.ll-col-desc[b-7phyrv2uur]    { flex: 1 1 220px; min-width: 0; }
.ll-col-debit[b-7phyrv2uur]   { flex: 0 0 115px; min-width: 0; justify-content: flex-end; text-align: right; }
.ll-col-credit[b-7phyrv2uur]  { flex: 0 0 115px; min-width: 0; justify-content: flex-end; text-align: right; }
.ll-col-balance[b-7phyrv2uur] { flex: 0 0 125px; min-width: 0; justify-content: flex-end; text-align: right; }

.ll-row[b-7phyrv2uur] {
    cursor: pointer;
    outline: none;
}

.ll-table-card .lw-table-tr:focus-visible[b-7phyrv2uur] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.ll-row--selected[b-7phyrv2uur] {
    background: var(--lw-bg-muted);
}

.ll-row--seam[b-7phyrv2uur] {
    border-bottom: 1px dashed var(--lw-gray-graphite);
}

.ll-row--timing .ll-desc[b-7phyrv2uur],
.ll-row--timing .ll-ref[b-7phyrv2uur] {
    color: var(--lw-gray-graphite);
}

.ll-processing[b-7phyrv2uur] {
    color: var(--lw-primary-blue);
    font-weight: var(--lw-font-medium);
}

.ll-ref[b-7phyrv2uur] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
    white-space: nowrap;
}

.ll-desc[b-7phyrv2uur] {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ll-num[b-7phyrv2uur] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ll-num--debit[b-7phyrv2uur]   { font-weight: var(--lw-font-regular); color: var(--lw-status-error-fg); }
.ll-num--credit[b-7phyrv2uur]  { font-weight: var(--lw-font-semibold); color: var(--lw-primary-blue); }
.ll-num--balance[b-7phyrv2uur] { font-weight: var(--lw-font-bold); color: var(--lw-primary-dark); }
.ll-num--empty[b-7phyrv2uur]   { color: var(--lw-gray-smoke); }

.ll-foot[b-7phyrv2uur] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lw-border);
}

.ll-count[b-7phyrv2uur] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.ll-count strong[b-7phyrv2uur] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
}

.ll-empty[b-7phyrv2uur] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 48px 24px;
    text-align: center;
}

.ll-empty-disc[b-7phyrv2uur] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 9999px;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-space);
}

.ll-empty-disc[b-7phyrv2uur]  .mud-icon-root {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.ll-empty-title[b-7phyrv2uur] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.ll-empty-sub[b-7phyrv2uur] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767px) {

    .ll-table-card .lw-table-tr[b-7phyrv2uur] {
        cursor: pointer;
    }

    .ll-table-card[b-7phyrv2uur] {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .ll-table-card .lw-table[b-7phyrv2uur] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .ll-table-card .lw-table-head[b-7phyrv2uur] {
        display: none;
    }

    .ll-table-card .lw-table-tr[b-7phyrv2uur] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0.5rem;
        padding: 14px 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }

    .ll-table-card .lw-table-td[b-7phyrv2uur] {
        padding: 0;
        min-width: 0;
    }

    .ll-col-date[b-7phyrv2uur] {
        grid-row: 1;
        grid-column: 1;
        font-weight: var(--lw-font-semibold);
        color: var(--lw-text-primary);
    }

    .ll-col-status[b-7phyrv2uur] {
        grid-row: 1;
        grid-column: 2;
        justify-content: flex-end;
    }

    .ll-col-desc[b-7phyrv2uur] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .ll-col-desc .ll-desc[b-7phyrv2uur] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ll-col-ref[b-7phyrv2uur] {
        grid-row: 3;
        grid-column: 1;
    }

    .ll-table-card .lw-table-td:has(.ll-num--empty)[b-7phyrv2uur] {
        display: none;
    }

    .ll-col-debit[b-7phyrv2uur],
    .ll-col-credit[b-7phyrv2uur] {
        grid-row: 3;
        grid-column: 2;
        justify-content: flex-end;
    }

    .ll-table-card .lw-table-td.ll-col-balance[b-7phyrv2uur] {
        grid-row: 4;
        grid-column: 1 / -1;
        justify-content: space-between;
        align-items: baseline;
        border-top: 1px solid var(--lw-border);
        margin: 2px -16px -14px;
        padding: 10px 16px 12px;
    }

    .ll-col-balance[b-7phyrv2uur]::before {
        content: "Undrawn";
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--lw-gray-graphite);
    }
}

.led-sheet[b-7phyrv2uur] {
    position: fixed;
    inset: 0;
    z-index: var(--lw-z-sheet);
    visibility: hidden;
    pointer-events: none;
}

.led-sheet.open[b-7phyrv2uur] {
    visibility: visible;
    pointer-events: auto;
}

.led-sheet-scrim[b-7phyrv2uur] {
    position: absolute;
    inset: 0;
    background: var(--lw-scrim);
    backdrop-filter: var(--lw-scrim-blur);
    -webkit-backdrop-filter: var(--lw-scrim-blur);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.led-sheet.open .led-sheet-scrim[b-7phyrv2uur] { opacity: 1; }

.led-sheet-panel[b-7phyrv2uur] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: calc(100dvh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: var(--lw-bg-muted);
    box-shadow: var(--lw-shadow-lg);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.led-sheet.open .led-sheet-panel[b-7phyrv2uur] { transform: translateY(0); }

.led-sheet-head[b-7phyrv2uur] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.led-sheet-titles[b-7phyrv2uur] {
    min-width: 0;
}

.led-sheet-title[b-7phyrv2uur] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 16px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-primary-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-sheet-sub[b-7phyrv2uur] {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-gray-graphite);
}

.led-sheet-headtools[b-7phyrv2uur] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.led-sheet-close[b-7phyrv2uur] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.led-sheet-close:hover[b-7phyrv2uur] {
    background: var(--lw-bg-muted);
    color: var(--lw-primary-dark);
}

.led-sheet-close[b-7phyrv2uur]  .mud-icon-root {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.led-sheet-body[b-7phyrv2uur] {
    flex: 1;
    min-height: 0;
    display: flex;
    overflow: hidden;
}

.led-sheet-wrap[b-7phyrv2uur] {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    padding: 1rem;
}

@media (min-width: 768px) {
    .led-sheet-wrap[b-7phyrv2uur] { padding: 1.5rem 2rem; }
}

.led-sheet-content[b-7phyrv2uur] {
    width: 100%;
    max-width: 62rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.led-sheet-foot[b-7phyrv2uur] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
}

@media (min-width: 768px) {
    .led-sheet-foot[b-7phyrv2uur] { padding: 0.75rem 1.5rem; }
}

.led-sheet-foot-secondary[b-7phyrv2uur] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    min-width: 0;
}

.led-sheet-foot-hint[b-7phyrv2uur] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-btn-close[b-7phyrv2uur] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 1rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
    transition: background 0.15s;
}

.led-btn-close:hover[b-7phyrv2uur] {
    background: var(--lw-accent);
}

.led-facts[b-7phyrv2uur] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px 24px;
}

.led-fact-label[b-7phyrv2uur] {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-space);
}

.led-fact-value[b-7phyrv2uur] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-primary-dark);
}

.led-fact-value--debit[b-7phyrv2uur]   { color: var(--lw-status-error-fg); font-variant-numeric: tabular-nums; }
.led-fact-value--credit[b-7phyrv2uur]  { color: var(--lw-success-dark); font-variant-numeric: tabular-nums; }
.led-fact-value--balance[b-7phyrv2uur] { font-weight: var(--lw-font-bold); font-variant-numeric: tabular-nums; }


/* Keep the focus trap in the sheet's bounded flex layout. */
.led-sheet-panel[b-7phyrv2uur]  .mud-focus-trap {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.ll-table-card button.lw-table-th[b-7phyrv2uur] {
    background: transparent;
    border: 0;
    font-family: inherit;
    justify-content: flex-start;
}
.ll-table-card button.lw-table-th:is(.ll-col-debit, .ll-col-credit, .ll-col-balance)[b-7phyrv2uur] { justify-content: flex-end; }
.ll-payees[b-7phyrv2uur] { display: flex; flex-direction: column; }
.ll-payee-row[b-7phyrv2uur] { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lw-border); }
.ll-payee-row:last-child[b-7phyrv2uur] { border-bottom: 0; }
.ll-payee-info[b-7phyrv2uur] { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; }
.ll-payee-info span[b-7phyrv2uur] { color: var(--lw-gray-graphite); font-size: 12px; }
@media (max-width: 767px) {
    .led-sheet-head[b-7phyrv2uur] { padding: 14px 16px; }
    .led-sheet-title[b-7phyrv2uur] { white-space: normal; }
    .led-sheet-headtools[b-7phyrv2uur] { gap: 8px; }
    .ll-payee-row[b-7phyrv2uur] { flex-wrap: wrap; }
    .ll-payee-info[b-7phyrv2uur] { flex-basis: 100%; }
    .ll-row--seam[b-7phyrv2uur] { border-bottom: 1px dashed var(--lw-gray-graphite) !important; }
    .ll-row--selected[b-7phyrv2uur] { background: var(--lw-bg-muted) !important; }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderPartyLoans.razor.rz.scp.css */
/* US-1230: the loans under a builder or Project Owner -- the Loans list's loan badge
   (.ll-loan-badge) beside the project name, wrapping onto further lines. */
.lpl-loans[b-und2fbfu31] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 4px;
    min-width: 0;
}

.lpl-loan[b-und2fbfu31] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    color: var(--lw-text-primary);
    text-decoration: none;
}

.lpl-loan:hover .lpl-project[b-und2fbfu31],
.lpl-loan:focus-visible .lpl-project[b-und2fbfu31] {
    color: var(--lw-primary-blue);
    text-decoration: underline;
}

.lpl-badge[b-und2fbfu31] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    font-size: 11px;
    font-weight: 700;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    flex-shrink: 0;
}

.lpl-project[b-und2fbfu31] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderPaymentRequests.razor.rz.scp.css */
/* Lender Payment Requests tab (US-475 prototype). Layout and column widths
   mirror ProjectDrawRequests.razor.css so the builder's and the lender's request
   tables measure the same. Tab content renders full-bleed (MudTabs PanelClass
   gotcha in Project.razor.css), so .lpr-body owns the inset. */

.lpr-page[b-qeqo32m53j] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 767px) {
    .lpr-toolbar[b-qeqo32m53j] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
}

.lpr-body[b-qeqo32m53j] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .lpr-body[b-qeqo32m53j] {
        padding: 24px;
    }
}

/* ---- Table ---- */

.lpr-table[b-qeqo32m53j] {
    display: none;
}

@media (min-width: 768px) {
    .lpr-table[b-qeqo32m53j] {
        display: flex;
    }
}

.lpr-col-request[b-qeqo32m53j] {
    flex: 0 0 170px;
    min-width: 0;
    white-space: nowrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.lpr-seq[b-qeqo32m53j] {
    font-size: 12px;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.lpr-col-status[b-qeqo32m53j] {
    flex: 0 0 200px;
    min-width: 0;
}

.lpr-col-gates[b-qeqo32m53j] {
    flex: 0 0 130px;
    min-width: 0;
}

.lpr-col-date[b-qeqo32m53j] {
    flex: 1 1 160px;
    min-width: 0;
    white-space: nowrap;
}

.lpr-col-invoices[b-qeqo32m53j] {
    flex: 0 0 110px;
    min-width: 0;
}

.lpr-col-amount[b-qeqo32m53j] {
    flex: 1 1 120px;
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
}

.lpr-col-chevron[b-qeqo32m53j] {
    flex: 0 0 40px;
    justify-content: center;
    padding: 12px 8px;
}

.lpr-request-number[b-qeqo32m53j] {
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.lpr-amount[b-qeqo32m53j] {
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.lpr-col-chevron[b-qeqo32m53j]  .lpr-chevron.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--lw-gray-graphite);
}

/* Gate pill: one verdict, the four reasons on hover. */
.lpr-gates-pill[b-qeqo32m53j] {
    display: inline-flex;
    cursor: default;
}

.lpr-gates-done[b-qeqo32m53j] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* ---- Mobile cards ---- */

.lpr-cards[b-qeqo32m53j] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .lpr-cards[b-qeqo32m53j] {
        display: none;
    }
}

.lpr-card[b-qeqo32m53j] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    cursor: pointer;
}

.lpr-card:hover[b-qeqo32m53j] {
    background: var(--lw-bg-table-header);
}

.lpr-card--open[b-qeqo32m53j] {
    border-left: 3px solid var(--lw-primary-blue);
}

.lpr-card-top[b-qeqo32m53j] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.lpr-card-id[b-qeqo32m53j] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lpr-card-meta[b-qeqo32m53j] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.lpr-card-sep[b-qeqo32m53j] {
    opacity: 0.6;
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderProject.razor.rz.scp.css */
/* Page-level styles only. The identity header is the shared
   LwProjectHeader component (Components/Shared/LwProjectHeader.razor);
   its chrome lives in that component's scoped CSS. */

/* Full-bleed shell -- cancels MainLayout's pa-6 gutters (same technique as
   .lw-page-shell) so the header + tab strip run edge-to-edge on white
   and the muted bg fills the rest, like the reference detail layout. */
.lw-project-detail-shell[b-fbd8ma4rfc] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    /* The stretched flex chain (MainLayout .lw-main-content ->
       .lw-content-shell:has(...) -> here) gives this real height; the old
       percentage min-height resolved to nothing (auto-height container). */
    flex: 1;
    background: var(--lw-bg-muted);
}

/* Loading / error / not-found states are direct children of the full-bleed
   shell -- restore the gutters the shell cancelled. */
.lw-project-detail-shell[b-fbd8ma4rfc]  > .mud-stack,
.lw-project-detail-shell[b-fbd8ma4rfc]  > .mud-alert {
    margin: 24px;
}

/* ============================================================
   Project tabs — underline-style nav, mirrors ledgerwise-ui.
   The tab nav is .mud-tabs-tabbar (NOT .mud-tabs-toolbar — that
   class does not exist in MudBlazor 8.x). The bottom border lives
   on the tabbar so the panels area can sit flush against it.
   Tab content background uses --lw-bg-muted (sand-neutral muted bg
   matching ledgerwise-ui's default --muted var(--lw-bg-muted)) so there is no
   visible white gap below the tab line.
   ============================================================ */

.project-tabs[b-fbd8ma4rfc] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tab nav strip — single full-width bottom border, fully transparent
   so the page background shows through. MudBlazor's defaults paint
   surface/action-hover backgrounds on several layers, all overridden. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs,
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar,
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-inner,
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-content,
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-wrapper {
    background-color: transparent !important;
}

/* Tab strip sits in the same white zone as the identity header (reference:
   tabs container is mt-4 px-6 inside the bg-background header block). The
   16px gap above the tabs is white, so it is padding on the white bar --
   a margin would let the shell's muted bg show through. Later rule, so its
   background wins over the transparent sweep above. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar {
    background-color: var(--lw-white) !important;
    border-bottom: 1px solid var(--lw-border);
    border-top: none;
    border-left: none;
    border-right: none;
    /* Never let tall panel content (full-bleed tabs like Invoices) squeeze
       the tab strip -- flex children shrink by default. */
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 24px 0;
}

.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-inner {
    min-height: 40px;
}

/* Reference tabs are content-sized (shrink-0) in a gap-8 row -- Mud gives
   every tab a 160px box, which spreads them across the bar and overflows;
   !important because Mud's own width rules win otherwise. */
.project-tabs[b-fbd8ma4rfc]  .mud-tab {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    min-height: 40px;
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

/* 32px between tabs = reference gap-8 on the nav row. Gap on the flex
   wrapper (the tabs' actual flex parent) -- a margin on .mud-tab loses to
   Mud's own rules. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-wrapper {
    gap: 32px;
}

/* Native overflow scroll in place of Mud's hidden arrow buttons (reference:
   overflow-x-auto scrollbar-none). Only matters below ~1100px content width. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-inner {
    overflow-x: auto;
    scrollbar-width: none;
}

.project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar-inner::-webkit-scrollbar {
    display: none;
}

/* Kill all tab background paints (default, hover, active, active+hover) */
.project-tabs[b-fbd8ma4rfc]  .mud-tab,
.project-tabs[b-fbd8ma4rfc]  .mud-tab:hover,
.project-tabs[b-fbd8ma4rfc]  .mud-tab.mud-tab-active,
.project-tabs[b-fbd8ma4rfc]  .mud-tab.mud-tab-active:hover {
    background-color: transparent !important;
}

/* Reference tab states: inactive content-secondary; hover AND active are
   foreground (#1E1E24, NOT navy); weight stays 500 in every state. */
.project-tabs[b-fbd8ma4rfc]  .mud-tab:hover {
    color: var(--lw-text-primary);
}

.project-tabs[b-fbd8ma4rfc]  .mud-tab.mud-tab-active {
    color: var(--lw-text-primary);
}

/* Reference has no scroll arrows (overflow-x-auto scrollbar-none). Hiding
   Mud's buttons also removes the phantom left inset they created. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-scroll-button {
    display: none;
}

/* No tab-level count badges: the reference (project-header.tsx getTabBadge)
   renders a count only on its Critical Tasks tab; Invoices / Payment
   Requests / Adjustments surface counts on their inner sub-tabs instead. */

/* Active-tab indicator -- 2px foreground bar spanning exactly the tab
   (reference: after:inset-x-0 after:bottom-0 after:h-0.5 ON THE TAB).
   Mud's JS-measured slider drifts against content-sized tabs + the 32px
   wrapper gap (underline wider/narrower than its label), so it is disabled.
   Drawn as an INSET BOX-SHADOW, not a pseudo-element: ::after on .mud-tab
   does not paint (verified live -- even unscoped injected rules vanish),
   and a shadow can neither clip nor misalign. */
.project-tabs[b-fbd8ma4rfc]  .mud-tab-slider {
    display: none;
}

.project-tabs[b-fbd8ma4rfc]  .mud-tab.mud-tab-active {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

/* Panels container — flush against the tab line, sand-neutral muted bg.
   The flex column stretch (mud-tabs -> panels -> panel) lets tab content
   fill the shell's remaining height, so sticky bottom bars (e.g. the
   invoices bulk footer) can pin to the page bottom even when content is
   short. Heights are stable (no content-driven min-heights), so this does
   not feed the MudTabs re-measure loop. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-tabs[b-fbd8ma4rfc]  .mud-tabs-panels {
    background-color: var(--lw-bg-muted, var(--lw-bg-muted)) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* NOTE: tab HEADER buttons also carry the mud-tab-panel class -- always
   scope panel rules to children of .mud-tabs-panels. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-panels > .mud-tab-panel {
    background-color: var(--lw-bg-muted, var(--lw-bg-muted));
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* The display:flex above out-specifies the UA's [hidden] rule -- re-assert it
   so inactive panels stay hidden. */
.project-tabs[b-fbd8ma4rfc]  .mud-tabs-panels > .mud-tab-panel[hidden] {
    display: none !important;
}

/* GOTCHA (verified against MudBlazor 8.15 source, 2026-07-12): MudTabs
   applies PanelClass to the .mud-tabs-panels CONTAINER, not to each panel --
   so .project-tabs__panel and .mud-tabs-panels are the SAME element, and the
   `padding: 0 !important` above always wins. Panel content therefore renders
   FULL-BLEED (no 24px gutters); each tab's component owns its own inset.
   Do not add negative margins in tab content to "cancel" panel padding. */

/* -- Phone section select (US-1043 r5, O3) -- */
/* The builder project page recipe (Project.razor.css .project-tab-switch): below 768px
   the tab strip becomes one full-width select naming the current tab. It continues the
   white header zone (LwProjectHeader keeps 12px below its content) and takes the strip's
   hairline; the MudTabs bar is hidden, its panels keep rendering. Hidden from 768px up. */
.project-tab-switch[b-fbd8ma4rfc] {
    display: none;
}

@media (max-width: 767.98px) {
    .project-tab-switch[b-fbd8ma4rfc] {
        display: block;
        padding: 0 16px 12px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    .project-tabs[b-fbd8ma4rfc]  .mud-tabs-tabbar {
        display: none;
    }
}

/* ============================================================
   Lender layer (US-475 prototype)
   ============================================================ */

/* Loan number chip in the header title row: the same chip as the loan list. */
.lp-loan-badge[b-fbd8ma4rfc] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Tabs not yet built in this prototype. */
.lp-tab-placeholder[b-fbd8ma4rfc] {
    margin: 24px auto;
    max-width: 1100px;
    width: calc(100% - 48px);
    padding: 2rem;
    text-align: center;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.lp-tab-placeholder__title[b-fbd8ma4rfc] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lp-tab-placeholder__sub[b-fbd8ma4rfc] {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderProjectOverview.razor.rz.scp.css */
/* Lender overview (US-475 prototype). Shell, column, field grid and list rows
   mirror ProjectOverview.razor.css so the lender and builder overviews measure
   the same; scoped CSS cannot be shared, hence the local copy. */

.lo-shell[b-nkrtr99hd4] {
    background: var(--lw-bg-muted);
    padding: 16px;
}

@media (min-width: 768px) {
    .lo-shell[b-nkrtr99hd4] { padding: 24px; }
}

.lo-col[b-nkrtr99hd4] {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lo-dot[b-nkrtr99hd4] {
    margin: 0 4px;
    opacity: 0.6;
}

/* -- Loan position -- */
.lo-position__foot[b-nkrtr99hd4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

.lo-position__trust[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lo-position__trust-label[b-nkrtr99hd4] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lo-position__trust-value[b-nkrtr99hd4] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.lo-position__trust-note[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* -- Milestones -- */
.lo-ms-list[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
}

.lo-ms[b-nkrtr99hd4] {
    border-top: 1px solid var(--lw-border);
}

.lo-ms:first-child[b-nkrtr99hd4] {
    border-top: none;
}

/* Head on white, body on the form surface behind a hairline: the ControlCard
   anatomy (cc-head / cc-body) applied to each milestone row. */
.lo-ms__head[b-nkrtr99hd4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--lw-white);
    cursor: pointer;
    transition: background 0.12s;
}

.lo-ms__head:hover[b-nkrtr99hd4] {
    background: var(--lw-bg-table-header);
}

.lo-ms--open .lo-ms__head[b-nkrtr99hd4] {
    border-bottom: 1px solid var(--lw-border);
}

.lo-ms__num[b-nkrtr99hd4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
    font-size: 12px;
    font-weight: 700;
}

.lo-ms--funded .lo-ms__num[b-nkrtr99hd4] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.lo-ms--current .lo-ms__num[b-nkrtr99hd4] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lo-ms--upcoming .lo-ms__text[b-nkrtr99hd4] {
    opacity: 0.75;
}

.lo-ms__num[b-nkrtr99hd4]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.lo-ms__text[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.lo-ms__name[b-nkrtr99hd4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lo-ms__meta[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

[b-nkrtr99hd4] .lo-ms__chev {
    flex-shrink: 0;
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--lw-gray-graphite);
}

.lo-ms__body[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 24px;
    background: var(--lw-form-surface);
}

.lo-ms-sec[b-nkrtr99hd4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    font-family: var(--lw-font-family);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s;
}

.lo-ms-sec:hover[b-nkrtr99hd4] {
    background: var(--lw-bg-table-header);
    border-color: color-mix(in srgb, var(--lw-primary-blue, #3980a5) 45%, var(--lw-border));
}

.lo-ms-sec__cover[b-nkrtr99hd4] {
    display: block;
    flex-shrink: 0;
    width: 56px;
    height: 42px;
    border-radius: var(--lw-radius-control, 8px);
    overflow: hidden;
    background: var(--lw-bg-muted);
}

.lo-ms-sec__cover img[b-nkrtr99hd4] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lo-ms-sec__cover--empty[b-nkrtr99hd4] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lw-gray-smoke, #d3d6e0);
    border: 1px dashed var(--lw-border);
}

.lo-ms-sec__main[b-nkrtr99hd4] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lo-ms-sec__head[b-nkrtr99hd4] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.lo-ms-sec__name[b-nkrtr99hd4] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lo-ms-sec__pct[b-nkrtr99hd4] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.lo-ms-sec__note[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

[b-nkrtr99hd4] .lo-ms-sec__chev {
    flex-shrink: 0;
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 600px) {
    .lo-ms__head[b-nkrtr99hd4] {
        padding: 0.875rem 1rem;
    }

    .lo-ms__body[b-nkrtr99hd4] {
        padding: 20px;
    }

    .lo-ms-sec__cover[b-nkrtr99hd4] {
        display: none;
    }
}

/* -- Stat row (Loan terms): same label / figure / note treatment as the
   position card's foot, at the top of the card. -- */
.lo-stats[b-nkrtr99hd4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

.lo-stats--four[b-nkrtr99hd4] {
    grid-template-columns: repeat(4, 1fr);
}

.lo-stat[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lo-stat__label[b-nkrtr99hd4] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lo-stat__value[b-nkrtr99hd4] {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.lo-stat__note[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lo-fields--below-stats[b-nkrtr99hd4] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

/* -- Field grid (ProjectOverview .po-fields) -- */
.lo-fields[b-nkrtr99hd4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
}

.lo-field[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lo-field__label[b-nkrtr99hd4] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lo-field__value[b-nkrtr99hd4] {
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

/* -- Setup progress (US-1220): a checked list, done steps in the success tone -- */
.lo-setup[b-nkrtr99hd4] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lo-setup__step[b-nkrtr99hd4] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.lo-setup__mark[b-nkrtr99hd4] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    border: 2px solid var(--lw-border);
    background: var(--lw-white);
}

.lo-setup__step--done .lo-setup__mark[b-nkrtr99hd4] {
    border-color: var(--lw-success-dark);
    background: var(--lw-success-dark);
    color: var(--lw-white);
}

.lo-setup__mark[b-nkrtr99hd4]  .mud-icon-root {
    font-size: 0.875rem;
}

.lo-setup__text[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lo-setup__title[b-nkrtr99hd4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lo-setup__detail[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lo-sr[b-nkrtr99hd4] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lo-fields[b-nkrtr99hd4],
    .lo-position__foot[b-nkrtr99hd4],
    .lo-stats--four[b-nkrtr99hd4] {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .lo-stats--four[b-nkrtr99hd4] {
        grid-template-columns: 1fr 1fr;
    }
}

/* -- People rows (the loan list's Owners / General Contractor idiom) -- */
.lo-people[b-nkrtr99hd4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
}

.lo-person[b-nkrtr99hd4] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lo-person__text[b-nkrtr99hd4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lo-person__name[b-nkrtr99hd4] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lo-person__role[b-nkrtr99hd4] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lo-avatar-stack[b-nkrtr99hd4] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lo-avatar-stack[b-nkrtr99hd4]  .lw-avatar {
    box-shadow: 0 0 0 2px var(--lw-white);
    position: relative;
}

.lo-avatar-stack[b-nkrtr99hd4]  .mud-tooltip-root + .mud-tooltip-root {
    margin-left: -8px;
}

@media (max-width: 600px) {
    .lo-people[b-nkrtr99hd4] {
        grid-template-columns: 1fr;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderProjectOwners.razor.rz.scp.css */
/* US-1230: the lender's Project Owners list. Column layout mirrors the Loans list
   (LenderProjects.razor.css), which mirrors LwProjectList; scoped CSS cannot be
   shared across components, hence the local copy. */

.lpo-col-name[b-ce029juxf7] {
    flex: 1;
}

.lpo-col-stats[b-ce029juxf7] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.lpo-col-metric[b-ce029juxf7] {
    text-align: right;
}

.lpo-col-cell[b-ce029juxf7] {
    text-align: left;
}

.lpo-identity[b-ce029juxf7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.lpo-name[b-ce029juxf7] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpo-sub[b-ce029juxf7] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpo-status[b-ce029juxf7] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .lpo-name[b-ce029juxf7],
    .lpo-sub[b-ce029juxf7] {
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderProjects.razor.rz.scp.css */
/* Lender loan list (US-475 prototype). Column layout and widths mirror
   LwProjectList.razor.css so the builder's project list and the lender's loan
   list line up as the same list. Scoped CSS cannot be shared across components,
   hence the local copy. */

.ll-col-name[b-g16z5tk9sc] {
    flex: 1;
}

.ll-col-stats[b-g16z5tk9sc] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.ll-col-metric[b-g16z5tk9sc] {
    text-align: right;
}

.ll-col-cell[b-g16z5tk9sc] {
    text-align: left;
}

/* Identity */
.ll-identity[b-g16z5tk9sc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.ll-name[b-g16z5tk9sc] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ll-sub[b-g16z5tk9sc] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ll-dot[b-g16z5tk9sc] {
    margin: 0 4px;
    opacity: 0.6;
}

/* The lender's own identifier beside the shared project name (same chip as the
   dashboard's .ld-loan-badge). */
.ll-loan-badge[b-g16z5tk9sc] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    font-size: 11px;
    font-weight: 700;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Progress ring (the dashboard's Active projects idiom): percent disbursed at a
   glance, the two figures on hover. */
.ll-col-metric--center[b-g16z5tk9sc] {
    text-align: center;
}

.ll-progress[b-g16z5tk9sc] {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

/* Owners / General Contractor: the dashboard's roster idiom (stacked circle
   avatars for people, ringed in white so overlap reads as depth). */
.ll-people[b-g16z5tk9sc] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 0;
}

.ll-people__name[b-g16z5tk9sc] {
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ll-avatar-stack[b-g16z5tk9sc] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ll-avatar-stack[b-g16z5tk9sc]  .lw-avatar {
    box-shadow: 0 0 0 2px var(--lw-white);
    position: relative;
}

.ll-avatar-stack[b-g16z5tk9sc]  .mud-tooltip-root + .mud-tooltip-root {
    margin-left: -8px;
}

@media (max-width: 767.98px) {
    .ll-name[b-g16z5tk9sc] {
        white-space: normal;
        flex-wrap: wrap;
        line-height: 1.35;
    }

    .ll-sub[b-g16z5tk9sc] {
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRealAdjustments.razor.rz.scp.css */
/* US-1229: a real loan's budget adjustments, above the live budget on the Budget tab, and the
   lender's view at the top of the adjustment's sheet (same figure styling as the payment request
   sheet's "For your loan" card, LenderRealRequests.razor.css). */

.lra[b-tk9v3gm9t1] {
    margin-bottom: 1.5rem;
}

.lra-title[b-tk9v3gm9t1] {
    margin: 0 0 0.75rem;
    font-family: var(--lw-font-family-heading);
    font-size: 1rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lra-figures[b-tk9v3gm9t1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

.lra-fig[b-tk9v3gm9t1] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lra-fig-label[b-tk9v3gm9t1] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lra-fig-value[b-tk9v3gm9t1] {
    font-size: 1rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lra-fig--this .lra-fig-value[b-tk9v3gm9t1] {
    color: var(--lw-primary-blue);
}

.lra-fig--short .lra-fig-value[b-tk9v3gm9t1] {
    color: var(--lw-destructive);
}

.lra-line[b-tk9v3gm9t1] {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.lra-line:first-of-type[b-tk9v3gm9t1] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

.lra-line--short[b-tk9v3gm9t1] {
    color: var(--lw-destructive);
}

@media (max-width: 600px) {
    .lra-figures[b-tk9v3gm9t1] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRealDocuments.razor.rz.scp.css */
/* US-1224: the lender's Documents tab -- the upload card's share choices. Tokens only. */

.lrd[b-7uwdfymbgx] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lrd-share[b-7uwdfymbgx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 0.75rem;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRealLedger.razor.rz.scp.css */
/* US-1223: the loan register's foot -- paid to payees beside the project account balance.
   Same type scale as the Overview's loan position foot. Tokens only. */

.lrl-foot[b-xkkkbx88v5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

.lrl-fig[b-xkkkbx88v5] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lrl-fig-label[b-xkkkbx88v5] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lrl-fig-value[b-xkkkbx88v5] {
    font-size: 1rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lrl-fig-note[b-xkkkbx88v5] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 600px) {
    .lrl-foot[b-xkkkbx88v5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* US-1228: the deposits waiting for the lender's answer (its wire, or not its own). */
.lrl-deposits[b-xkkkbx88v5] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lrl-deposit[b-xkkkbx88v5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--lw-border);
}

.lrl-deposit:first-child[b-xkkkbx88v5] {
    border-top: none;
}

.lrl-deposit-main[b-xkkkbx88v5] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lrl-deposit-amount[b-xkkkbx88v5] {
    font-size: 0.9375rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lrl-deposit-sub[b-xkkkbx88v5] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lrl-deposit-actions[b-xkkkbx88v5] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lrl-deposit-actions[b-xkkkbx88v5]  .lrl-deposit-select {
    min-width: 13rem;
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRealRequests.razor.rz.scp.css */
/* US-1222: the lender's panel at the top of the Project Owner's review sheet -- the request
   against the loan, then the four gates, met in the success tone. Tokens only. */

.lrr-figures[b-aufsmai6hq] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

.lrr-fig[b-aufsmai6hq] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lrr-fig-label[b-aufsmai6hq] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lrr-fig-value[b-aufsmai6hq] {
    font-size: 1rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lrr-fig--this .lrr-fig-value[b-aufsmai6hq] {
    color: var(--lw-primary-blue);
}

.lrr-gates[b-aufsmai6hq] {
    list-style: none;
    margin: 1rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--lw-border);
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.lrr-gate[b-aufsmai6hq] {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.lrr-gate[b-aufsmai6hq]  .lrr-gate-icon {
    flex: 0 0 auto;
    font-size: 1.125rem;
    color: var(--lw-gray-graphite);
}

.lrr-gate--met[b-aufsmai6hq]  .lrr-gate-icon {
    color: var(--lw-success-dark);
}

.lrr-gate-text[b-aufsmai6hq] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.lrr-gate-label[b-aufsmai6hq] {
    font-size: 0.875rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lrr-gate-detail[b-aufsmai6hq] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 600px) {
    .lrr-figures[b-aufsmai6hq] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* US-1228: an approved request's funding -- the wire to send and the project account's wire
   details (the same facts as the owner's wire instructions), or that it is funded. */
.lrr-funding[b-aufsmai6hq] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

.lrr-funding-head[b-aufsmai6hq] {
    font-size: 0.75rem;
    font-weight: var(--lw-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lrr-funding-lead[b-aufsmai6hq] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.lrr-funding-sub[b-aufsmai6hq] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lrr-wire[b-aufsmai6hq] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.375rem 1rem;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-muted);
}

.lrr-wire dt[b-aufsmai6hq] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.lrr-wire dd[b-aufsmai6hq] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.lrr-mono[b-aufsmai6hq] {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.lrr-funding-actions[b-aufsmai6hq] {
    display: flex;
    gap: 0.5rem;
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRequestPayeeList.razor.rz.scp.css */
/* LenderRequestPayeeList (US-475 prototype): the Project Owner's
   PaymentRequestVendorList chrome with the class prefix swapped, so the lender
   reads the payees of a request exactly as the owner does. */

.lrp-list[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* -- Payee row (collapsed head + expandable body) -- */
.lrp-vendor[b-7g8d0ahs5i] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    overflow: hidden;
    transition: border-color 0.12s;
}

.lrp-vendor--open[b-7g8d0ahs5i] {
    border-color: color-mix(in srgb, var(--lw-primary-blue, #3980a5) 45%, var(--lw-border));
}

.lrp-head[b-7g8d0ahs5i] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.12s;
}

.lrp-head:hover[b-7g8d0ahs5i] {
    background: rgba(145, 158, 171, 0.08);
}

.lrp-head:focus-visible[b-7g8d0ahs5i] {
    outline: 2px solid var(--lw-primary-blue, #3980a5);
    outline-offset: -2px;
}

.lrp-expand-btn[b-7g8d0ahs5i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    transition: color 0.15s;
}

.lrp-expand-btn:hover[b-7g8d0ahs5i] {
    color: var(--lw-text-primary);
}

.lrp-expand-chev[b-7g8d0ahs5i] {
    transition: transform 0.2s ease;
}

.lrp-expand-chev--open[b-7g8d0ahs5i] {
    transform: rotate(90deg);
}

/* 32px squircle avatar (reference org avatar) -- same hues as the sheets. */
.lrp-avatar[b-7g8d0ahs5i] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--lw-font-family);
    color: var(--lw-white);
}

.lrp-avatar-warm[b-7g8d0ahs5i]    { background: var(--lw-avatar-warm-bg); color: var(--lw-avatar-warm-fg); }
.lrp-avatar-blue[b-7g8d0ahs5i]    { background: var(--lw-avatar-blue-bg); color: var(--lw-white); }
.lrp-avatar-green[b-7g8d0ahs5i]   { background: var(--lw-avatar-green-bg); color: var(--lw-white); }
.lrp-avatar-purple[b-7g8d0ahs5i]  { background: var(--lw-avatar-purple-bg); color: var(--lw-white); }
.lrp-avatar-amber[b-7g8d0ahs5i]   { background: var(--lw-avatar-amber-bg); color: var(--lw-avatar-warm-fg); }
.lrp-avatar-default[b-7g8d0ahs5i] { background: var(--lw-gray-graphite); color: var(--lw-white); }

/* Name over "what for" over the budget line(s). Everything truncates so rows keep one height. */
.lrp-identity[b-7g8d0ahs5i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lrp-vendor-name[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lrp-scope[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lrp-amount[b-7g8d0ahs5i] {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Quiet icon button (pencil) -- matches .drs-invoice-edit-btn. */
.lrp-icon-btn[b-7g8d0ahs5i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 28px;
    min-width: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    color: var(--lw-gray-graphite);
    transition: background 0.15s, color 0.15s;
}

.lrp-icon-btn:hover[b-7g8d0ahs5i] {
    background: rgba(57, 128, 165, 0.08);
    color: var(--lw-primary-blue);
}

/* Amber chip when an invoice's allocation total no longer matches its amount (US-630). */
.lrp-mismatch-chip[b-7g8d0ahs5i] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Builder-only prompt when an invoice has no description yet. */
.lrp-scope--placeholder[b-7g8d0ahs5i] {
    font-style: italic;
    color: var(--lw-gray-space);
}

/* Muted second line on a single-invoice row (the date). */
.lrp-invoice-meta[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 11px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.lrp-desc-edit[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lrp-desc-edit-actions[b-7g8d0ahs5i] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* -- Expanded body: sections on the muted surface -- */
.lrp-body[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--lw-border);
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, transparent);
}

.lrp-section[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lrp-section-head[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lw-gray-space);
}

.lrp-section-empty[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* -- Invoice rows inside a payee -- */
.lrp-invoices[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.lrp-invoice[b-7g8d0ahs5i] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
}

.lrp-invoice-row[b-7g8d0ahs5i] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    transition: background 0.12s;
}

.lrp-invoice-row:hover[b-7g8d0ahs5i] {
    background: rgba(145, 158, 171, 0.08);
}

.lrp-invoice-row:focus-visible[b-7g8d0ahs5i] {
    outline: 2px solid var(--lw-primary-blue, #3980a5);
    outline-offset: -2px;
}

.lrp-invoice-info[b-7g8d0ahs5i] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* The scope line IS the row (pre-US-731 "Included invoices" lead style). */
.lrp-invoice-scope[b-7g8d0ahs5i] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lrp-invoice-amount[b-7g8d0ahs5i] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lrp-invoice-open[b-7g8d0ahs5i] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

/* Status pill (owner sheet), same tones as .dra-inv-status. */
.lrp-inv-status[b-7g8d0ahs5i] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.lrp-inv-status-info[b-7g8d0ahs5i]    { background: var(--lw-status-info-bg); color: var(--lw-status-info-fg); }
.lrp-inv-status-success[b-7g8d0ahs5i] { background: var(--lw-status-success-bg); color: var(--lw-status-success-fg); }
.lrp-inv-status-warning[b-7g8d0ahs5i] { background: var(--lw-status-warning-bg); color: var(--lw-status-warning-fg); }
.lrp-inv-status-error[b-7g8d0ahs5i]   { background: var(--lw-status-error-bg); color: var(--lw-status-error-fg); }

/* Quiet outline button for entering the allocation editor (US-630). */
.lrp-alloc-edit-btn[b-7g8d0ahs5i] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 0.75rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    color: var(--lw-primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.lrp-alloc-edit-btn:hover[b-7g8d0ahs5i] {
    background: rgba(57, 128, 165, 0.08);
    border-color: rgba(57, 128, 165, 0.4);
}

/* Two-step remove: idle trashcan arms to a "Confirm?" pill. */
.lrp-remove-btn[b-7g8d0ahs5i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    flex-shrink: 0;
    height: 28px;
    min-width: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    color: var(--lw-gray-graphite);
    transition: background 0.15s, color 0.15s;
}

.lrp-remove-btn:hover[b-7g8d0ahs5i] {
    background: rgba(184, 53, 48, 0.1);
    color: var(--lw-destructive);
}

.lrp-remove-btn--armed[b-7g8d0ahs5i] {
    padding: 0 0.5rem;
    background: rgba(184, 53, 48, 0.1);
    color: var(--lw-destructive);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--lw-font-family);
}

.lrp-remove-btn--armed:hover[b-7g8d0ahs5i] {
    background: rgba(184, 53, 48, 0.2);
}

/* -- Budget impact per line item -- */
.lrp-impacts[b-7g8d0ahs5i] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Line card: canonical ControlCard anatomy in miniature -- white header over a
   hairline rule, form-surface body. */
.lrp-li[b-7g8d0ahs5i] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-form-surface);
    overflow: hidden;
}

.lrp-li--ba[b-7g8d0ahs5i] {
    border-left: 2px solid var(--lw-primary-blue, #3980a5);
}

.lrp-li-head[b-7g8d0ahs5i] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    background: var(--lw-white);
}

.lrp-li-body[b-7g8d0ahs5i] {
    padding: 0.75rem 0.875rem 0.875rem;
    border-top: 1px solid var(--lw-border);
}

.lrp-li-name[b-7g8d0ahs5i] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lrp-ba[b-7g8d0ahs5i] {
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
    font-size: 11px;
    font-weight: 600;
}

.lrp-li-amt[b-7g8d0ahs5i] {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lrp-li-share[b-7g8d0ahs5i] {
    font-size: 11px;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.lrp-stats[b-7g8d0ahs5i] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.625rem;
}

.lrp-stat[b-7g8d0ahs5i] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    padding: 0.375rem 0.625rem;
    min-width: 0;
}

/* Same metrics as the pre-US-731 category stat tiles (11px label / 13px value). */
.lrp-stat-label[b-7g8d0ahs5i] {
    display: block;
    font-size: 11px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lrp-stat-val[b-7g8d0ahs5i] {
    display: block;
    margin-top: 0.125rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lrp-stat-val--this[b-7g8d0ahs5i] { color: var(--lw-primary-gold-dark, #b07829); }
.lrp-stat-val--neg[b-7g8d0ahs5i]  { color: var(--lw-destructive); }

@media (max-width: 640px) {
    .lrp-stats[b-7g8d0ahs5i] {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* -- Photos -- */
.lrp-photos[b-7g8d0ahs5i] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.5rem;
}

.lrp-photo[b-7g8d0ahs5i] {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}

.lrp-photo:hover[b-7g8d0ahs5i] {
    border-color: var(--lw-primary-blue, #3980a5);
}

.lrp-photo img[b-7g8d0ahs5i] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lrp-photo-placeholder[b-7g8d0ahs5i] {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--lw-bg-muted) 25%, var(--lw-bg-secondary, #eef0f4) 50%, var(--lw-bg-muted) 75%);
    background-size: 200% 100%;
    animation: lrp-shimmer-b-7g8d0ahs5i 1.2s ease-in-out infinite;
}

.lrp-photo-unavailable[b-7g8d0ahs5i] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lw-gray-smoke, #d3d6e0);
    background: var(--lw-bg-muted);
}

@keyframes lrp-shimmer-b-7g8d0ahs5i {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* -- Error -- */
.lrp-error[b-7g8d0ahs5i] {
    padding: 0.75rem;
    background: var(--lw-status-error-bg);
    border: 1px solid color-mix(in srgb, var(--lw-destructive, #b83530) 25%, transparent);
    border-radius: var(--lw-radius-control, 8px);
    color: var(--lw-status-error-fg);
    font-size: 0.8125rem;
}

/* -- Phone (US-798) -- */
@media (max-width: 599px) {
    /* Vendor head: the name may take two lines rather than truncating to a
       dozen characters beside the amount. */
    .lrp-vendor-name[b-7g8d0ahs5i] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* With a wrapping name, centring everything left the amount floating
       against the middle of a two-line block and the chevron drifting off the
       name it belongs to. Top-align the row so chevron, avatar, name and
       amount all start on the name's first line, and tighten the leading
       gutter (24px chevron + 32px avatar + two gaps ate 90px of a 360px
       screen) so the name gets the width it needs. */
    .lrp-head[b-7g8d0ahs5i] {
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0.625rem;
    }

    .lrp-expand-btn[b-7g8d0ahs5i],
    .lrp-amount[b-7g8d0ahs5i] {
        margin-top: 1px;
    }

    /* The vendor initials avatar is desktop chrome: it repeats the name it
       sits beside and costs 40px of a 360px row (Cody, 2026-09-06). */
    .lrp-avatar[b-7g8d0ahs5i] {
        display: none;
    }

    /* Budget impact: four tiles two-up still gave each ~140px, so labels and
       figures stacked in a cramped box. One tile per row instead -- label
       left, figure right -- reading as a statement rather than a grid. */
    .lrp-stats[b-7g8d0ahs5i] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.375rem;
    }

    .lrp-stat[b-7g8d0ahs5i] {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .lrp-stat-label[b-7g8d0ahs5i] {
        display: inline;
    }

    .lrp-amount[b-7g8d0ahs5i] {
        white-space: nowrap;
    }

    /* Invoice row breaks onto two lines: number/description + amount + open
       chevron first, the status pill on its own line beneath. The ::after
       pseudo-element is a full-width flex break placed between them.
       Top-aligned so the amount and chevron sit on the number's line rather
       than floating against the middle of the block, and indented so the pill
       lines up under the number (Cody, 2026-09-06). */
    .lrp-invoice-row[b-7g8d0ahs5i] {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 0.375rem;
        padding: 0.625rem;
    }

    .lrp-invoice-amount[b-7g8d0ahs5i],
    .lrp-invoice-open[b-7g8d0ahs5i] {
        margin-top: 1px;
    }

    .lrp-invoice-row[b-7g8d0ahs5i]::after {
        content: "";
        flex-basis: 100%;
        order: 5;
    }

    .lrp-inv-status[b-7g8d0ahs5i],
    .lrp-mismatch-chip[b-7g8d0ahs5i] {
        order: 10;
        flex: 0 0 auto;
    }

    .lrp-invoice-scope[b-7g8d0ahs5i] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
/* _content/Ledgerwise/Components/Pages/Lender/LenderRequestReviewSheet.razor.rz.scp.css */
/* Lender payment request review sheet (US-475 prototype). The shell is the
   shared drawer spec (lw-drawer.css + LwModalHeader/Body/Footer) since
   US-1043, so the lender reviews a request in the same sheet the owner does;
   this file keeps the card interiors (the owner sheet's fund control, then
   the lender-only sections at the end). */
/* -- Fund control: this request against the whole project (US-478) --
   Three figures over one share bar, mirroring page 3 of the Patriot owner progress
   report attached to the work item. The middle figure is the one being decided, so it
   is the only one tinted; the outer two are context. */
.lrs-fund[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lrs-fund-figures[b-mneo0osbto] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.lrs-fund-fig[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
    border-left: 1px solid var(--lw-border);
    min-width: 0;
}

.lrs-fund-fig:first-child[b-mneo0osbto] {
    padding-left: 0;
    border-left: none;
}

.lrs-fund-label[b-mneo0osbto] {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.lrs-fund-val[b-mneo0osbto] {
    font-family: var(--lw-font-family-heading);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

/* The amount under review reads in the same brand accent as its bar segment. */
/* Gold family for the amount under review, matching the gold bar segment
   (2026-08-10 feedback); dark gold step -- raw gold is illegible on white. */
.lrs-fund-fig--this .lrs-fund-val[b-mneo0osbto] {
    color: var(--lw-primary-gold-dark);
}

.lrs-fund-meta[b-mneo0osbto] {
    font-size: 0.6875rem;
    color: var(--lw-gray-space);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Info icon beside the invoice count: the tooltip explains that the "This request"
   figure is fee-inclusive. ::deep because MudTooltip/MudIcon are child components
   and would not receive this component's scope attribute. */
.lrs-fund-meta[b-mneo0osbto]  .lrs-fund-info-icon {
    width: 13px;
    height: 13px;
    font-size: 13px;
    display: block;
    color: var(--lw-gray-graphite, #6E7180);
    opacity: 0.85;
}

@media (max-width: 599px) {
    /* Three currency columns do not fit, and two left an odd third figure
       stranded under the first (Cody, 2026-09-06: stack them as full-width
       rows). Each figure takes its own row -- label and caption left, figure
       right -- so all three share a right edge and the dividing rules, which
       only make sense between columns, fall away. */
    .lrs-fund-figures[b-mneo0osbto] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .lrs-fund-fig[b-mneo0osbto] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
        column-gap: 0.75rem;
        row-gap: 0;
        padding: 0.5rem 0;
        border-left: none;
        border-top: 1px solid var(--lw-border);
    }

    .lrs-fund-fig:first-child[b-mneo0osbto] {
        border-top: none;
        padding-top: 0;
    }

    .lrs-fund-label[b-mneo0osbto] {
        grid-row: 1;
        grid-column: 1;
    }

    .lrs-fund-val[b-mneo0osbto] {
        grid-row: 1;
        grid-column: 2;
        font-size: 1.125rem;
    }

    .lrs-fund-meta[b-mneo0osbto] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    /* Tighten the air around the share bar: at desktop spacing the 12px track
       floated in a band of whitespace between the figures and the vendor list
       (Cody, 2026-09-06). */
    .lrs-fund[b-mneo0osbto] {
        gap: 0.75rem;
    }

    .lrs-work--under-fund[b-mneo0osbto] {
        padding-top: 0.875rem;
    }
}

/* -- The work: payee accordion (PaymentRequestVendorList) under the fund figures (US-731) -- */
.lrs-work[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
}

.lrs-work--under-fund[b-mneo0osbto] {
    padding-top: 1.25rem;
    border-top: 1px solid var(--lw-border);
}

.lrs-empty-row[b-mneo0osbto] {
    margin: 0;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--lw-gray-space);
}

/* -- Budget Adjustment callout (warning-tint summary card) -- */
.lrs-ba-callout[b-mneo0osbto] {
    border: 1px solid color-mix(in srgb, var(--lw-status-warning-fg) 30%, transparent);
    border-radius: var(--lw-radius-lg, 4px);
    background: var(--lw-status-warning-bg);
    padding: 0.85rem 1rem;
}

.lrs-ba-callout-head[b-mneo0osbto] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.lrs-ba-callout-title[b-mneo0osbto] {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.lrs-ba-callout-sub[b-mneo0osbto] {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.lrs-ba-callout-amt[b-mneo0osbto] {
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.lrs-ba-callout-amt--warn[b-mneo0osbto] { color: var(--lw-status-warning-fg); }

.lrs-ba-callout-items[b-mneo0osbto] {
    margin-top: 0.6rem;
    border-top: 1px solid color-mix(in srgb, var(--lw-status-warning-fg) 25%, transparent);
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lrs-ba-callout-item[b-mneo0osbto] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--lw-text-primary);
}

.lrs-ba-callout-item-amt[b-mneo0osbto] {
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.lrs-ba-callout-note[b-mneo0osbto] {
    margin-top: 0.6rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* -- "Where this sits" merged card (2026-08-10 feedback): the fund control is the
   header, the budget-impact breakdown expands beneath a hairline rule. Ported 1:1
   from the builder's submit sheet (DrawRequestSubmitModal .drs-sits/.drs-bi-*) so
   the two sheets read identically. -- */
.lrs-sits[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lrs-readonly-note[b-mneo0osbto] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* ============================================================
   Lender-only sections
   ============================================================ */

/* Gates, one row each: verdict icon, title and reason, chip. */
.lrs-gates[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
}

.lrs-gate-row[b-mneo0osbto] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-top: 1px solid var(--lw-border);
}

.lrs-gate-row:first-child[b-mneo0osbto] {
    border-top: none;
    padding-top: 0;
}

.lrs-gate-icon[b-mneo0osbto] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    flex-shrink: 0;
}

.lrs-gate-icon--met[b-mneo0osbto] {
    background: var(--lw-status-success-bg, #E8F5EE);
    color: var(--lw-status-success-fg, #1B6B3A);
}

.lrs-gate-icon--unmet[b-mneo0osbto] {
    background: var(--lw-status-error-bg, #FCEBEB);
    color: var(--lw-status-error-fg, #A32D2D);
}

.lrs-gate-icon[b-mneo0osbto]  .mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.lrs-gate-text[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.lrs-gate-label[b-mneo0osbto] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lrs-gate-detail[b-mneo0osbto] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Payee and budget-line tables on the shared lw-table chrome. */
.lrs-table[b-mneo0osbto] {
    display: flex;
}

.lrs-col-payee[b-mneo0osbto] {
    flex: 1 1 220px;
    min-width: 0;
}

.lrs-col-line[b-mneo0osbto] {
    flex: 1 1 180px;
    min-width: 0;
}

.lrs-col-waiver[b-mneo0osbto] {
    flex: 0 0 130px;
    min-width: 0;
}

.lrs-col-amount[b-mneo0osbto],
.lrs-col-num[b-mneo0osbto] {
    flex: 0 0 140px;
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
}

.lrs-payee[b-mneo0osbto] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lrs-amount[b-mneo0osbto] {
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.lrs-over[b-mneo0osbto] {
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-status-error-fg, #A32D2D);
}

.lrs-tr--total[b-mneo0osbto] {
    background: var(--lw-bg-table-header);
}

/* Inspection */
.lrs-inspection[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.lrs-inspection-head[b-mneo0osbto] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.lrs-inspection-ref[b-mneo0osbto] {
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lrs-inspection-summary[b-mneo0osbto] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.lrs-findings[b-mneo0osbto] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--lw-border);
}

.lrs-finding[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lrs-finding-head[b-mneo0osbto] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lrs-finding-line[b-mneo0osbto] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lrs-finding-pct[b-mneo0osbto] {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.lrs-finding-note[b-mneo0osbto] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
        .lrs-findings[b-mneo0osbto] {
        grid-template-columns: 1fr;
    }

    .lrs-col-line[b-mneo0osbto],
    .lrs-col-waiver[b-mneo0osbto] {
        display: none;
    }
}

/* ============================================================
   Virtual inspection by milestone
   ============================================================ */

.lrs-vi[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Selected milestone header */
.lrs-vi-head[b-mneo0osbto] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.lrs-vi-title[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lrs-vi-name[b-mneo0osbto] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lrs-vi-meta[b-mneo0osbto] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Sections of the schedule of values the milestone covers: a horizontal strip of
   cards that runs to the ControlCard's edges (cancelling its 24px inset) and fades
   out on both sides. */
.lrs-sections-wrap[b-mneo0osbto] {
    position: relative;
    margin: 0 -24px -24px;
}

.lrs-sections-wrap[b-mneo0osbto]::before,
.lrs-sections-wrap[b-mneo0osbto]::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 1;
}

.lrs-sections-wrap[b-mneo0osbto]::before {
    left: 0;
    background: linear-gradient(to right, var(--lw-form-surface, var(--lw-white)), transparent);
}

.lrs-sections-wrap[b-mneo0osbto]::after {
    right: 0;
    background: linear-gradient(to left, var(--lw-form-surface, var(--lw-white)), transparent);
}

.lrs-sections[b-mneo0osbto] {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 4px 24px 24px;
    scrollbar-width: none;
}

.lrs-sections[b-mneo0osbto]::-webkit-scrollbar {
    display: none;
}

.lrs-sec[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    flex: 0 0 260px;
    width: 260px;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    font-family: var(--lw-font-family);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.lrs-sec:hover[b-mneo0osbto] {
    border-color: color-mix(in srgb, var(--lw-primary-blue, #3980a5) 45%, var(--lw-border));
    box-shadow: var(--lw-shadow-card);
}

.lrs-sec__cover[b-mneo0osbto] {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--lw-bg-muted);
    overflow: hidden;
}

.lrs-sec__cover img[b-mneo0osbto] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.lrs-sec__cover--empty[b-mneo0osbto] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lw-gray-smoke, #d3d6e0);
}

.lrs-sec__body[b-mneo0osbto] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0.75rem 0.875rem 0.875rem;
}

.lrs-sec__head[b-mneo0osbto] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.lrs-sec__name[b-mneo0osbto] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lrs-sec__pct[b-mneo0osbto] {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}

.lrs-sec__note[b-mneo0osbto] {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lrs-sec__count[b-mneo0osbto] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    .lrs-sec[b-mneo0osbto] {
        flex-basis: 220px;
        width: 220px;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Client/AccountAgreement.razor.rz.scp.css */
/* ============================================================
   Account agreement (Form 5119) onboarding page SHELL only.
   The agreement document + sign block + adopt overlay now live in the shared
   components Components/Shared/Form5119/* (Form5119Document / Form5119SignBlock),
   so they render identically on the builder send-proposal stepper. This file keeps
   only the page-level layout (centered column, header, fixed action bar).
   ============================================================ */

.aa-page[b-v1t29xxkt7] {
    /* Centered document column, mirroring the ledgerwise-ui wizard content. */
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 40px 96px; /* px-10 sides; bottom clears the fixed action bar */
}

/* ── Step header ── */
.aa-header[b-v1t29xxkt7] {
    margin-bottom: 24px;
}

.aa-header__title[b-v1t29xxkt7] {
    font-family: var(--lw-font-family-heading, inherit);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
    line-height: 1.3;
}

.aa-header__sub[b-v1t29xxkt7] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

/* -- Document action bar (fixed footer) --
   Positioning only; the bar chrome (border, bg, padding, buttons) lives in
   the LwDocActionBar atom. */
.aa-footer[b-v1t29xxkt7] {
    position: fixed;
    left: var(--lw-wizard-rail-width);
    right: 0;
    bottom: 0;
    z-index: 20;
}

@media (max-width: 960px) {
    .aa-footer[b-v1t29xxkt7] {
        left: 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Client/Welcome.razor.rz.scp.css */
/* Welcome onboarding step (US-1030) -- the three stages as a staged carousel, the pattern
   of the marketing site's pay-chain section (pay-chain.tsx): points on the left double as
   the stage list, the frame on the right plays the current stage. Illustrations are the
   ho-step-welcome ones with pure-CSS motion. */

.ho-welcome[b-31nyicw67w] {
    --ho-brand-grad: linear-gradient(135deg, #3980A5 0%, #5ba3c4 50%, #EEB66F 100%);
    --ho-accent: var(--lw-primary-blue);
    --ho-hold: 9s;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 88px;
}

.ho-panel[b-31nyicw67w] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 0;
    align-content: start;
    min-height: calc(100vh - 14rem);
}

.ho-welcome__title[b-31nyicw67w] {
    font-family: var(--lw-font-family-heading);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
}

.ho-welcome__sub[b-31nyicw67w] {
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
    margin-top: 6px;
}

/* ── Points (desktop/tablet stage list) ── */
.ho-points[b-31nyicw67w] { margin-top: 28px; }

.ho-point[b-31nyicw67w] {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px 0 14px;
    border: none;
    background: transparent;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    opacity: 0.42;
    transition: opacity 0.4s ease;
}
.ho-point:hover[b-31nyicw67w], .ho-point.is-active[b-31nyicw67w] { opacity: 1; }
.ho-point:focus-visible[b-31nyicw67w] { outline: 2px solid var(--ho-accent); outline-offset: 4px; border-radius: 4px; }

.ho-point__rule[b-31nyicw67w] { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(2, 11, 43, 0.12); }
.ho-point__progress[b-31nyicw67w] { position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--ho-accent); transform-origin: left; transform: scaleX(1); }
.ho-point__progress.is-playing[b-31nyicw67w] { transform: scaleX(0); animation: ho-progress-b-31nyicw67w linear forwards; }
.ho-point__progress.is-paused[b-31nyicw67w], .ho-bar__fill.is-paused[b-31nyicw67w] { animation-play-state: paused; }

.ho-point__head[b-31nyicw67w] { display: flex; align-items: center; gap: 10px; }
.ho-point__dot[b-31nyicw67w] { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ho-accent); opacity: 0; transition: opacity 0.4s ease; }
.ho-point.is-active .ho-point__dot[b-31nyicw67w], .ho-caption .ho-point__dot[b-31nyicw67w] { opacity: 1; }
.ho-point__title[b-31nyicw67w] { font-size: 0.9375rem; font-weight: 700; line-height: 1.5; letter-spacing: -0.01em; color: var(--lw-text-primary); }
.ho-point__status[b-31nyicw67w] {
    margin-left: auto;
    flex: none;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    border-radius: var(--lw-radius-control);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background: var(--lw-status-neutral-bg);
    color: var(--lw-status-neutral-fg);
}
.ho-point__status--done[b-31nyicw67w] { background: var(--lw-status-success-bg); color: var(--lw-status-success-fg); }
.ho-point__status--upnext[b-31nyicw67w] { background: var(--lw-status-accent-bg); color: var(--lw-status-accent-fg); }
.ho-point__body[b-31nyicw67w] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    padding-left: 17px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}
.ho-clock[b-31nyicw67w] { width: 12px; height: 12px; flex: none; }

@keyframes ho-progress-b-31nyicw67w {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ── Frame (the current stage) ── */
.ho-diagram[b-31nyicw67w] { margin-top: 24px; min-width: 0; }

/* One height for every stage (Cody, 2026-10-08); the illustration band takes whatever the
   body leaves, so the body never floats in negative space. */
.ho-frame[b-31nyicw67w] {
    display: flex;
    flex-direction: column;
    height: 520px;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: #fff;
    box-shadow: var(--lw-shadow-card);
}

/* Only the current stage renders; it fades in on each change. */
.ho-stage[b-31nyicw67w] { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: ho-stage-in-b-31nyicw67w 0.45s ease both; }
@keyframes ho-stage-in-b-31nyicw67w {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.ho-stage__media[b-31nyicw67w] {
    position: relative;
    flex: 1;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--lw-border);
    background: #F7F6F6;
}
.ho-illus[b-31nyicw67w] { width: 420px; max-width: 78%; }
.ho-illus__card[b-31nyicw67w] { padding: 18px; }
.ho-stage__body[b-31nyicw67w] { flex: none; display: flex; flex-direction: column; padding: 18px 24px 22px; }
.ho-stage__title[b-31nyicw67w] { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; color: var(--lw-text-primary); margin: 0; }
.ho-stage__desc[b-31nyicw67w] { font-size: 0.875rem; font-weight: 400; line-height: 1.6; color: var(--lw-gray-graphite); margin: 4px 0 0; }

/* "Have ready" checklist: the groups sit side by side where there's room. */
.ho-stage__ready[b-31nyicw67w] { margin-top: 16px; }
.ho-toggle[b-31nyicw67w] {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(2, 11, 43, 0.06);
}
.ho-toggle__btn[b-31nyicw67w] {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 5px 12px;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ho-toggle__btn.is-active[b-31nyicw67w] { background: #fff; color: var(--lw-text-primary); box-shadow: 0 1px 2px rgba(2, 11, 43, 0.08); }
.ho-toggle__btn:focus-visible[b-31nyicw67w] { outline: 2px solid var(--ho-accent); outline-offset: 2px; }
.ho-stage__ready-label[b-31nyicw67w] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-text-primary);
    margin: 0;
}
.ho-stage__ready-groups[b-31nyicw67w] { display: grid; grid-template-columns: 1fr; gap: 6px 24px; }
.ho-stage__ready-heading[b-31nyicw67w] { font-size: 0.8125rem; font-weight: 600; color: var(--lw-text-primary); margin: 10px 0 2px; }
.ho-stage__ready-list[b-31nyicw67w] { list-style: none; margin: 10px 0 0; padding: 0; }
.ho-stage__ready-list li[b-31nyicw67w] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
    padding: 4px 0;
}
.ho-stage__ready-list svg[b-31nyicw67w] { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ho-accent); }
.ho-stage__ready-note[b-31nyicw67w] { font-size: 0.75rem; line-height: 1.5; color: var(--lw-status-warning-fg); margin: 6px 0 0; }

/* ── Phone UI: progress bars + caption ── */
.ho-phone-ui[b-31nyicw67w] { display: none; }
.ho-bars[b-31nyicw67w] { display: flex; gap: 6px; margin-top: 12px; }
.ho-bar[b-31nyicw67w] { flex: 1; padding: 10px 0; border: none; background: transparent; cursor: pointer; }
.ho-bar__track[b-31nyicw67w] { display: block; height: 3px; border-radius: 2px; background: rgba(2, 11, 43, 0.12); overflow: hidden; }
.ho-bar__fill[b-31nyicw67w] { display: block; height: 100%; width: 100%; background: var(--ho-accent); transform-origin: left; }
.ho-bar__fill.is-playing[b-31nyicw67w] { transform: scaleX(0); animation: ho-progress-b-31nyicw67w linear forwards; }
.ho-captions[b-31nyicw67w] { display: grid; margin-top: 4px; }
.ho-caption[b-31nyicw67w] {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(6px);
    visibility: hidden;
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0s linear 0.45s;
}
.ho-caption.is-active[b-31nyicw67w] { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }

/* ── Layout: two columns where there's room, stacked below ── */
@media (min-width: 900px) {
    .ho-panel[b-31nyicw67w] { grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .ho-intro[b-31nyicw67w] { grid-column: 1; grid-row: 1; }
    .ho-points[b-31nyicw67w] { grid-column: 1; grid-row: 2; align-self: start; }
    .ho-diagram[b-31nyicw67w] { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: 0; }
}

@media (max-width: 767.98px) {
    .ho-panel[b-31nyicw67w] { min-height: 0; }
    .ho-points[b-31nyicw67w] { display: none; }
    .ho-phone-ui[b-31nyicw67w] { display: block; }
    .ho-diagram[b-31nyicw67w] { margin-top: 20px; }
    .ho-frame[b-31nyicw67w] { height: auto; }
    .ho-stage__media[b-31nyicw67w] { flex: none; height: 200px; }
    .ho-illus[b-31nyicw67w] { width: 300px; }
    .ho-stage__body[b-31nyicw67w] { padding: 16px 16px 18px; }
}

/* ── Illustrations (ho-step-welcome.tsx) ── */
.ho-illus[b-31nyicw67w] { width: 82%; }
.ho-illus__card[b-31nyicw67w] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    /* Reference inner card is bg-background, which the ui-app defines as
       white (#ffffff) -- NOT the older ledgerwise-ui off-white #F9FAFB. */
    background: #fff;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(2, 11, 43, 0.05);
}

/* ── Profile illustration ── */
.ho-pf__head[b-31nyicw67w] { display: flex; align-items: center; gap: 8px; }
.ho-pf__avatar[b-31nyicw67w] { width: 24px; height: 24px; border-radius: 999px; background: var(--ho-brand-grad); }
.ho-pf__name[b-31nyicw67w] { height: 8px; width: 64px; border-radius: 999px; background: rgba(57, 128, 165, 0.2); }
.ho-pf__input[b-31nyicw67w] {
    margin-top: 10px; height: 20px; display: flex; align-items: center;
    border: 1px solid var(--lw-border); border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent); padding: 0 8px; overflow: hidden;
}
.ho-pf__fill[b-31nyicw67w] { height: 6px; border-radius: 999px; background: var(--lw-primary-blue); width: 0; }
.ho-pf__fill--0[b-31nyicw67w] { animation: ho-pf-fill0-b-31nyicw67w 4.5s ease-in-out infinite; }
.ho-pf__fill--1[b-31nyicw67w] { animation: ho-pf-fill1-b-31nyicw67w 4.5s ease-in-out infinite; }
.ho-pf__save[b-31nyicw67w] {
    position: relative; margin-top: 10px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--lw-radius-control); background: rgba(57, 128, 165, 0.1); overflow: hidden;
}
.ho-pf__gold[b-31nyicw67w] { position: absolute; inset: 0; border-radius: var(--lw-radius-control); background: var(--lw-primary-gold); opacity: 0; animation: ho-pf-gold-b-31nyicw67w 4.5s linear infinite; }
.ho-pf__check[b-31nyicw67w] { position: relative; width: 12px; height: 12px; opacity: 0; animation: ho-pf-check-b-31nyicw67w 4.5s linear infinite; }

@keyframes ho-pf-fill0-b-31nyicw67w {
    0%, 12% { width: 0; }
    30%, 86% { width: 52px; }
    96%, 100% { width: 0; }
}
@keyframes ho-pf-fill1-b-31nyicw67w {
    0%, 34% { width: 0; }
    52%, 86% { width: 68px; }
    96%, 100% { width: 0; }
}
@keyframes ho-pf-gold-b-31nyicw67w {
    0%, 62%, 68% { opacity: 0; }
    72%, 90% { opacity: 1; }
    97%, 100% { opacity: 0; }
}
@keyframes ho-pf-check-b-31nyicw67w {
    0%, 62%, 70% { opacity: 0; }
    74%, 90% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

/* ── Sign illustration ── */
.ho-sg__line[b-31nyicw67w] { height: 6px; border-radius: 999px; }
.ho-sg__line + .ho-sg__line[b-31nyicw67w] { margin-top: 6px; }
.ho-sg__line--1[b-31nyicw67w] { width: 75%; background: rgba(57, 128, 165, 0.2); }
.ho-sg__line--2[b-31nyicw67w] { width: 100%; background: rgba(30, 30, 36, 0.07); }
.ho-sg__line--3[b-31nyicw67w] { width: 83%; background: rgba(30, 30, 36, 0.07); }
.ho-sg__sign[b-31nyicw67w] { margin-top: 12px; }
.ho-sg__path[b-31nyicw67w] {
    stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 160; stroke-dashoffset: 160;
    animation: ho-sg-draw-b-31nyicw67w 5s ease-in-out infinite;
}

@keyframes ho-sg-draw-b-31nyicw67w {
    0% { stroke-dashoffset: 160; opacity: 1; }
    50% { stroke-dashoffset: 0; opacity: 1; }
    85% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 160; opacity: 0; }
}

/* ── Fund illustration ── */
.ho-fd__head[b-31nyicw67w] { display: flex; align-items: center; justify-content: space-between; }
.ho-fd__label[b-31nyicw67w] { height: 8px; width: 56px; border-radius: 999px; background: rgba(57, 128, 165, 0.2); }
.ho-fd__coin[b-31nyicw67w] {
    width: 24px; height: 24px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    background: var(--ho-brand-grad); opacity: 0; animation: ho-fd-coin-b-31nyicw67w 5s ease-out infinite;
}
.ho-fd__track[b-31nyicw67w] { margin-top: 12px; height: 8px; border-radius: 999px; background: rgba(30, 30, 36, 0.08); overflow: hidden; }
.ho-fd__bar[b-31nyicw67w] { height: 100%; border-radius: 999px; background: var(--ho-brand-grad); width: 0; animation: ho-fd-bar-b-31nyicw67w 5s ease-in-out infinite; }
.ho-fd__done[b-31nyicw67w] { margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.ho-fd__check[b-31nyicw67w] {
    width: 14px; height: 14px; border-radius: 999px; background: var(--lw-primary-gold);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.6); animation: ho-fd-check-b-31nyicw67w 5s linear infinite;
}
.ho-fd__check svg[b-31nyicw67w] { width: 8px; height: 8px; }
.ho-fd__doneline[b-31nyicw67w] { height: 6px; width: 48px; border-radius: 999px; background: rgba(57, 128, 165, 0.2); opacity: 0; animation: ho-fd-doneline-b-31nyicw67w 5s linear infinite; }

@keyframes ho-fd-coin-b-31nyicw67w {
    0% { opacity: 0; transform: translateY(-10px); }
    20% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes ho-fd-bar-b-31nyicw67w {
    0%, 22% { width: 0; }
    60%, 85% { width: 100%; }
    96%, 100% { width: 0; }
}
@keyframes ho-fd-check-b-31nyicw67w {
    0%, 60%, 66% { opacity: 0; transform: scale(0.6); }
    72%, 90% { opacity: 1; transform: scale(1); }
    97%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes ho-fd-doneline-b-31nyicw67w {
    0%, 60%, 66% { opacity: 0; }
    74%, 90% { opacity: 1; }
    97%, 100% { opacity: 0; }
}


@media (prefers-reduced-motion: reduce) {
    .ho-point__progress[b-31nyicw67w],
    .ho-bar__fill[b-31nyicw67w],
    .ho-pf__fill[b-31nyicw67w],
    .ho-pf__gold[b-31nyicw67w],
    .ho-pf__check[b-31nyicw67w],
    .ho-sg__path[b-31nyicw67w],
    .ho-fd__coin[b-31nyicw67w],
    .ho-fd__bar[b-31nyicw67w],
    .ho-fd__check[b-31nyicw67w],
    .ho-fd__doneline[b-31nyicw67w] { animation: none; }
    .ho-point__progress[b-31nyicw67w], .ho-bar__fill[b-31nyicw67w] { transform: scaleX(1); }
    .ho-stage[b-31nyicw67w] { animation: none; }
    .ho-caption[b-31nyicw67w] { transition: none; }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/BankVerification.razor.rz.scp.css */
/* Bank step -- source: bank-account-step-content.tsx + vendor-intro-card.tsx
   complete row (2026-07-13): merged linked-account row (46px logo tile, name
   + success "Linked" badge, 12px sub) on a white bordered panel. The alternate
   payout paths (manual ACH, paper checks) have no reference equivalent; they
   use the app's "or"-seam + quiet outline-action idiom (2026-08-31). */

[b-9vax1w7t2p] .bank-note {
    margin-bottom: 16px;
}

/* Alternate payout paths under the primary CTA: an "or" seam (hairline rules
   either side, matching AddInvoiceModal's manual-entry seam) over a row of
   quiet outline actions -- 32px, graphite label -- deliberately smaller and
   more muted than the CTA so electronic payout stays the emphasized choice. */
[b-9vax1w7t2p] .bank-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

/* Digital-checks-set-up card: the block leads the footer (no CTA above it), so it
   drops the top margin that spaces it from the Plaid CTA in the resting state. */
[b-9vax1w7t2p] .bank-alt--lead {
    margin-top: 0;
}

[b-9vax1w7t2p] .bank-alt__seam {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

[b-9vax1w7t2p] .bank-alt__seam::before,
[b-9vax1w7t2p] .bank-alt__seam::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--lw-border);
}

[b-9vax1w7t2p] .bank-alt__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Canonical lw-page-action sizing (36px/13px); only the label color is muted
   so the pair reads subordinate to the filled CTA. */
[b-9vax1w7t2p] .bank-alt__action {
    width: 100%;
    justify-content: center;
    color: var(--lw-gray-graphite);
}

/* Digital-check fallback note (US-842) closes the resting state: it takes the
   footer's fine-print chrome (lw-card-footer-note, 12/18 muted centered) and
   only drops that rule's top margin, since the seam column's 12px gap already
   spaces it. */
[b-9vax1w7t2p] .bank-alt__note {
    margin-top: 0;
}

[b-9vax1w7t2p] .bank-alt__action:hover:not(:disabled) {
    color: var(--lw-text-primary);
}

[b-9vax1w7t2p] .bank-alt__action .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Linked state -- vendor-intro-card.tsx complete row: white bordered row
   px-4 py-3.5, 46px tile, name 14/600 + badge, sub 12 graphite. */
[b-9vax1w7t2p] .bank-linked {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

[b-9vax1w7t2p] .bank-linked__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

[b-9vax1w7t2p] .bank-linked__logo .mud-icon-root {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

[b-9vax1w7t2p] .bank-linked__text {
    min-width: 0;
    flex: 1;
}

[b-9vax1w7t2p] .bank-linked__name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

[b-9vax1w7t2p] .bank-linked__name {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Success badge (ui/badge.tsx tone=success size=sm): 20px, 10/700 uppercase,
   radius 4, success tint pair, 12px check. */
[b-9vax1w7t2p] .bank-linked__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
    font-family: var(--lw-font-family);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

[b-9vax1w7t2p] .bank-linked__badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

[b-9vax1w7t2p] .bank-linked__sub {
    margin: 2px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Digital-check election (US-721/US-815): a canonical ControlCard opened from
   the "or" seam (the Plaid CTA is the resting default, US-842); the card
   supplies its own head/body/note chrome -- this block only spaces it and
   lays out the confirm line and action pair. */
[b-9vax1w7t2p] .bank-check-election {
    margin-top: 0;
}

[b-9vax1w7t2p] .bank-check-election__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-9vax1w7t2p] .bank-check-election__confirm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 19px;
    color: var(--lw-text-primary);
}

[b-9vax1w7t2p] .bank-check-election__confirm .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--lw-status-success-fg);
}

[b-9vax1w7t2p] .bank-check-election__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Phones (US-1043): every election action is a full-width 44px button whose
   label may wrap ("Connect Bank Account via Plaid (same-day ACH)" does not fit
   one line at 360), and the linked-account name / email wrap instead of
   truncating. */
@media (max-width: 767.98px) {
    [b-9vax1w7t2p] .bank-alt__action,
    [b-9vax1w7t2p] .bank-check-election__actions .lw-page-action {
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 8px 16px;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    [b-9vax1w7t2p] .bank-alt__action .mud-icon-root {
        flex-shrink: 0;
    }

    /* Primary on top, Cancel under it. */
    [b-9vax1w7t2p] .bank-check-election__actions {
        flex-direction: column-reverse;
    }

    [b-9vax1w7t2p] .bank-check-election__confirm span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    [b-9vax1w7t2p] .bank-linked {
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    [b-9vax1w7t2p] .bank-linked__name,
    [b-9vax1w7t2p] .bank-linked__sub {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/FoundingBuilderMou.razor.rz.scp.css */
/* ============================================================
   Founding Builder MOU onboarding page SHELL only, lifted verbatim from
   AccountAgreement.razor.css (the PAA page) so the MOU signs in the identical
   frame: centered document column and step header (the action bar is the shared
   OnboardingStepFooter). The document
   and sign block live in the shared components (FoundingBuilderMouDocument /
   Form5119SignBlock). No card wrapper: the sticky TOC rail needs an
   overflow-free ancestor chain up to the layout scroller.
   ============================================================ */

.aa-page[b-k5hmtqjs44] {
    /* Centered document column, mirroring the ledgerwise-ui wizard content. */
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 40px 96px; /* px-10 sides; bottom clears the fixed action bar */
}

/* ── Step header ── */
.aa-header[b-k5hmtqjs44] {
    margin-bottom: 24px;
}

.aa-header__title[b-k5hmtqjs44] {
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lw-text-primary);
    margin: 0;
    line-height: 1.3;
}

.aa-header__sub[b-k5hmtqjs44] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

/* The action bar is the shared OnboardingStepFooter (fixed, rail-width aware,
   full width on phones); only the blocked-press note is styled here. */
.aa-blocked[b-k5hmtqjs44] {
    margin-top: 16px;
}

/* Phones: the layout already supplies the 16px gutter, so the 40px desktop
   side padding (56px a side at 360) comes off; the bottom still clears the
   fixed footer. A builder name typed without spaces wraps. */
@media (max-width: 767.98px) {
    .aa-page[b-k5hmtqjs44] {
        padding: 0 0 96px;
    }

    .aa-header[b-k5hmtqjs44] {
        margin-bottom: 16px;
    }

    .aa-header__title[b-k5hmtqjs44],
    .aa-header__sub[b-k5hmtqjs44] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/InsuranceVerification.razor.rz.scp.css */
/* Insurance step -- source: insurance-step-content.tsx (2026-07-13).
   Body p-8 (20 below md). Dropzone: 2px dashed, py-48/px-24, 48px grey-cloud
   circle w/ 20px upload glyph; drag state tints to the brand accent.
   File pill: muted wash, 40px accent-tint tile, name 14/500 + status 12.
   Sections: 12/700 uppercase heads, accent "Auto-filled" pill, 2-col field
   grids w/ 20px gaps, success "Active for N days" notes. */

[b-6b5qft67kb] .ins-body {
    padding: 32px;
}

[b-6b5qft67kb] .ins-note {
    margin-bottom: 16px;
}

/* Header action: the shared outline action-sm button (lw-page-action
   --outline) with a 14px glyph; icon-only 44px square under 600px via the
   shared lw-card-action recipe (lw-page.css). Only the glyph is sized here. */
[b-6b5qft67kb] .ins-example-link:hover {
    color: var(--lw-text-primary);
    text-decoration: none;
}

[b-6b5qft67kb] .ins-example-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* -- Dropzone -- */
[b-6b5qft67kb] .ins-dropzone {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px;
    border: 2px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

[b-6b5qft67kb] .ins-dropzone:hover {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 60%, transparent);
    background: color-mix(in srgb, var(--lw-primary-blue) 3%, transparent);
}

[b-6b5qft67kb] .ins-dropzone.is-dragging {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

[b-6b5qft67kb] .ins-dropzone__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: var(--lw-gray-cloud);
    color: var(--lw-gray-graphite);
    transition: background-color 0.15s ease, color 0.15s ease;
}

[b-6b5qft67kb] .ins-dropzone.is-dragging .ins-dropzone__circle {
    background: color-mix(in srgb, var(--lw-primary-blue) 15%, transparent);
    color: var(--lw-primary-blue);
}

[b-6b5qft67kb] .ins-dropzone__circle svg {
    width: 20px;
    height: 20px;
}

[b-6b5qft67kb] .ins-dropzone__title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

[b-6b5qft67kb] .ins-dropzone__hint {
    margin: 4px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-space);
}

/* -- Extracted state -- */
[b-6b5qft67kb] .ins-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

[b-6b5qft67kb] .ins-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent);
}

[b-6b5qft67kb] .ins-file__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

[b-6b5qft67kb] .ins-file__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: rgba(57, 128, 165, 0.08);
    color: var(--lw-primary-blue);
}

[b-6b5qft67kb] .ins-file__tile svg {
    width: 18px;
    height: 18px;
}

[b-6b5qft67kb] .ins-file__text {
    min-width: 0;
}

[b-6b5qft67kb] .ins-file__name {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-6b5qft67kb] .ins-file__status {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

[b-6b5qft67kb] .ins-reupload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    transition: border-color 0.15s ease, color 0.15s ease;
}

[b-6b5qft67kb] .ins-reupload:hover {
    border-color: rgba(30, 30, 36, 0.2);
    color: var(--lw-text-primary);
}

[b-6b5qft67kb] .ins-reupload svg {
    width: 12px;
    height: 12px;
}

/* -- Certificates (US-1189): one file row per COI, then "Add another COI" -- */
[b-6b5qft67kb] .ins-files {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-6b5qft67kb] .ins-dropzone__hint + .ins-dropzone__hint {
    margin-top: 2px;
}

/* -- Policies (US-1189): a section lists every policy found; with more than one
   certificate (or policy of the type) each sits in its own card that says which
   certificate it is on. -- */
[b-6b5qft67kb] .ins-policies {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-6b5qft67kb] .ins-policy--carded {
    padding: 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

[b-6b5qft67kb] .ins-policy__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

[b-6b5qft67kb] .ins-policy__source {
    margin: 0;
    min-width: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

[b-6b5qft67kb] .ins-policy__source-select {
    flex: 1 1 auto;
    min-width: 0;
}

/* No policy of a type on any certificate: say so, offer to type it in. */
[b-6b5qft67kb] .ins-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

[b-6b5qft67kb] .ins-empty__text {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

/* -- Sections -- */
[b-6b5qft67kb] .ins-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

[b-6b5qft67kb] .ins-section-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-text-primary);
}

[b-6b5qft67kb] .ins-autofill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(57, 128, 165, 0.2);
    border-radius: 9999px;
    background: rgba(57, 128, 165, 0.05);
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue);
}

[b-6b5qft67kb] .ins-autofill svg {
    width: 12px;
    height: 12px;
}

[b-6b5qft67kb] .ins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

[b-6b5qft67kb] .ins-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--lw-border);
}

[b-6b5qft67kb] .ins-days-left {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-success-dark);
}

[b-6b5qft67kb] .ins-days-left svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Exclude workers' comp toggle -- reference custom 20px checkbox; native
   input with accent-color renders the same brand-accent checked box. */
[b-6b5qft67kb] .ins-wc-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-family: var(--lw-font-family);
    font-size: 14px;
    color: var(--lw-text-primary);
}

[b-6b5qft67kb] .ins-wc-toggle input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--lw-primary-blue);
}

/* Workers' comp exemption warning as text: shown on phones only, where the
   tooltip on the toggle cannot be hovered. */
[b-6b5qft67kb] .ins-wc-hint {
    display: none;
}

/* Picked-file / file-error line under the dropzone (was MudText captions). */
[b-6b5qft67kb] .ins-picked {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-status-success-fg);
    overflow-wrap: anywhere;
}

[b-6b5qft67kb] .ins-picked svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

[b-6b5qft67kb] .ins-picked--error {
    margin-top: 8px;
    color: var(--lw-status-error-fg);
}

@media (max-width: 768px) {
    [b-6b5qft67kb] .ins-body {
        padding: 20px;
    }

    [b-6b5qft67kb] .ins-grid {
        grid-template-columns: 1fr;
    }
}

/* Phones (US-1043): 16px insets, 44px tap targets, nothing clipped at 360. */
@media (max-width: 767.98px) {
    [b-6b5qft67kb] .lw-card-body.ins-body {
        padding: 16px;
    }

    /* "View Example COI" stays on the title row: tile | title + sub | action.
       600-767px keeps the label at a 44px tap height; under 600px the shared
       lw-card-action rule turns it into a 44px icon-only square. */
    [b-6b5qft67kb] .ins-example-link {
        height: 44px;
    }

    [b-6b5qft67kb] .ins-example-link svg {
        width: 16px;
        height: 16px;
    }

    [b-6b5qft67kb] .ins-dropzone {
        padding: 32px 16px;
    }

    /* File pill: the name keeps its ellipsis, Re-upload is a 44px target. */
    [b-6b5qft67kb] .ins-file {
        padding: 12px;
    }

    [b-6b5qft67kb] .ins-reupload {
        min-height: 44px;
        padding: 0 12px;
    }

    /* Section head: title on its own line, the toggle a 44px row under it. */
    [b-6b5qft67kb] .ins-section-head {
        margin-bottom: 12px;
    }

    [b-6b5qft67kb] .ins-wc-toggle {
        min-height: 44px;
    }

    [b-6b5qft67kb] .ins-wc-hint {
        display: block;
        margin: -8px 0 16px;
        font-family: var(--lw-font-family);
        font-size: 12px;
        line-height: 18px;
        color: var(--lw-gray-graphite);
    }

    [b-6b5qft67kb] .ins-grid {
        gap: 16px;
    }

    /* The empty note stacks its button under the sentence; Remove stays a 44px target. */
    [b-6b5qft67kb] .ins-empty {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    [b-6b5qft67kb] .ins-policy--carded {
        padding: 12px;
    }
}

/* Extracting row (US-926): replaces the MudStack + MudProgressCircular pair with
   the global .lw-btn-spinner (app.css) and a quiet caption. */
.ins-extracting[b-6b5qft67kb] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* In the certificate list (US-1189) the list's own gap spaces it. */
.ins-extracting.ins-extracting--inline[b-6b5qft67kb] {
    margin: 0;
}

/* In the certificate list the list's gap spaces the file message (US-1189). */
[b-6b5qft67kb] .ins-files .ins-picked {
    margin: 0;
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/LicenseVerification.razor.rz.scp.css */
/* Contractor license step -- source: license-step-content.tsx (2026-07-13).
   Card body p-8 (16 below md); inner license card = white bordered radius-8
   panel: header px-5 py-4 w/ 14/600 truncating title over a hairline, fields
   region p-5 stacking 2-col grids with 20px gaps. */

[b-pbfknjhqpt] .lic-body {
    padding: 32px;
}

[b-pbfknjhqpt] .lic-error {
    margin-bottom: 16px;
}

[b-pbfknjhqpt] .lic-card {
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

[b-pbfknjhqpt] .lic-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lw-border);
}

[b-pbfknjhqpt] .lic-card__title {
    margin: 0;
    min-width: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-pbfknjhqpt] .lic-card__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

[b-pbfknjhqpt] .lic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    [b-pbfknjhqpt] .lic-body {
        padding: 16px;
    }

    [b-pbfknjhqpt] .lic-card__header {
        padding: 16px;
    }

    [b-pbfknjhqpt] .lic-card__fields {
        padding: 16px;
    }

    [b-pbfknjhqpt] .lic-grid {
        grid-template-columns: 1fr;
    }
}

/* Phones (US-1043): 16px insets hold against the atom's own phone padding,
   and the stacked fields close up to the 16px rhythm. */
@media (max-width: 767.98px) {
    [b-pbfknjhqpt] .lw-card-body.lic-body {
        padding: 16px;
    }

    [b-pbfknjhqpt] .lic-card__fields,
    [b-pbfknjhqpt] .lic-grid {
        gap: 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/PlatformFee.razor.rz.scp.css */
/* Subscription step -- source: gc-step-subscription.tsx (2026-07-13).
   Hero: navy->blue->burnt-orange gradient panel (m-20, radius 8, px-32 py-28)
   with gold/accent light blooms; headline 18/600 white; 2-col feature grid
   w/ gold 14px checks + 13px white/75 labels; gold 48px extrabold price with
   white/45 "/ year" and white/50 billing details over a white/10 hairline.
   Payment: 12/700 uppercase head, radio-card method grid (radio-card.tsx
   accent tone), 48px pay CTA. Paid: merged confirmation row w/ success tile
   + Active badge. */

/* The reference hero gradient is a scoped one-off (its source marks it as a
   token exception): navy -> deep blue -> brand blue -> burnt orange. */
[b-z0l35eeico] .pf-hero {
    position: relative;
    overflow: hidden;
    margin: 20px;
    padding: 28px 32px;
    border-radius: var(--lw-radius-card);
    background: linear-gradient(115deg, #020B2B 0%, #0E3E60 44%, #2F6F96 70%, #8A4F22 100%);
}

/* Atmospheric light blooms -- warm gold top-right, cool blue bottom-left. */
[b-z0l35eeico] .pf-hero::before,
[b-z0l35eeico] .pf-hero::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    filter: blur(48px);
    pointer-events: none;
}

[b-z0l35eeico] .pf-hero::before {
    top: -96px;
    right: -80px;
    width: 288px;
    height: 288px;
    background: color-mix(in srgb, var(--lw-primary-gold) 25%, transparent);
}

[b-z0l35eeico] .pf-hero::after {
    bottom: -96px;
    left: -64px;
    width: 256px;
    height: 256px;
    background: color-mix(in srgb, var(--lw-primary-blue) 25%, transparent);
}

[b-z0l35eeico] .pf-hero__layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

[b-z0l35eeico] .pf-hero__left {
    min-width: 0;
    flex: 1;
}

[b-z0l35eeico] .pf-hero__headline {
    margin: 0;
    max-width: 24rem;
    font-family: var(--lw-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.375;
    color: var(--lw-white);
}

[b-z0l35eeico] .pf-hero__features {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    column-gap: 32px;
    row-gap: 10px;
    margin-top: 20px;
}

[b-z0l35eeico] .pf-hero__feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-z0l35eeico] .pf-hero__feature svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-primary-gold);
}

[b-z0l35eeico] .pf-hero__feature span {
    font-family: var(--lw-font-family);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

[b-z0l35eeico] .pf-hero__right {
    flex-shrink: 0;
    min-width: 180px;
    text-align: right;
}

[b-z0l35eeico] .pf-hero__price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
}

[b-z0l35eeico] .pf-hero__price-major {
    font-family: var(--lw-font-family);
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--lw-primary-gold);
}

[b-z0l35eeico] .pf-hero__price-minor {
    font-family: var(--lw-font-family);
    font-size: 20px;
    font-weight: 700;
    color: var(--lw-primary-gold);
}

[b-z0l35eeico] .pf-hero__price-period {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

[b-z0l35eeico] .pf-hero__details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

[b-z0l35eeico] .pf-hero__detail {
    display: flex;
    align-items: center;
    gap: 6px;
}

[b-z0l35eeico] .pf-hero__detail svg {
    width: 12px;
    height: 12px;
    color: color-mix(in srgb, var(--lw-primary-gold) 60%, transparent);
}

[b-z0l35eeico] .pf-hero__detail span {
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* -- Payment section -- */
[b-z0l35eeico] .pf-pay {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 32px 32px;
}

[b-z0l35eeico] .pf-section-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-text-primary);
}

/* Method radio cards (ui/radio-card.tsx, accent tone). */
[b-z0l35eeico] .pf-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

[b-z0l35eeico] .pf-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

[b-z0l35eeico] .pf-method:hover {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

[b-z0l35eeico] .pf-method.is-selected {
    border-color: var(--lw-primary-blue);
    background: color-mix(in srgb, var(--lw-primary-blue) 4%, var(--lw-white));
}

[b-z0l35eeico] .pf-method__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

[b-z0l35eeico] .pf-method__icon .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

[b-z0l35eeico] .pf-method__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

[b-z0l35eeico] .pf-method__title {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

[b-z0l35eeico] .pf-method__sub {
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Radio dot -- ring that fills with an inner dot when selected. */
[b-z0l35eeico] .pf-method__radio {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid var(--lw-gray-smoke);
    border-radius: 9999px;
    transition: border-color 0.15s ease;
}

[b-z0l35eeico] .pf-method.is-selected .pf-method__radio {
    border-color: var(--lw-primary-blue);
    border-width: 5px;
}

/* Fee breakdown receipt (credit card). */
[b-z0l35eeico] .pf-cc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-z0l35eeico] .pf-receipt {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    font-family: var(--lw-font-family);
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

[b-z0l35eeico] .pf-receipt__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

[b-z0l35eeico] .pf-receipt__row--total {
    margin-top: 2px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

[b-z0l35eeico] .pf-stripe-message {
    margin-top: 8px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    color: var(--lw-status-error-fg);
}

[b-z0l35eeico] .pf-retry {
    margin-left: 8px;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 600;
    color: var(--lw-status-error-fg);
    text-decoration: underline;
}

/* Pay CTA -- button.tsx size=auth: 48px navy, full width. */
[b-z0l35eeico] .pf-pay-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

[b-z0l35eeico] .pf-pay-cta:hover:not(:disabled) {
    background: var(--lw-primary-dark-hover);
}

[b-z0l35eeico] .pf-pay-cta:disabled {
    opacity: 0.55;
    cursor: default;
}

/* -- Paid confirmation row -- */
[b-z0l35eeico] .pf-active {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

[b-z0l35eeico] .pf-active__tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

[b-z0l35eeico] .pf-active__tile svg {
    width: 24px;
    height: 24px;
}

[b-z0l35eeico] .pf-active__text {
    min-width: 0;
    flex: 1;
}

[b-z0l35eeico] .pf-active__name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

[b-z0l35eeico] .pf-active__name {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-z0l35eeico] .pf-active__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
    font-family: var(--lw-font-family);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

[b-z0l35eeico] .pf-active__badge svg {
    width: 12px;
    height: 12px;
}

[b-z0l35eeico] .pf-active__sub {
    margin: 2px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* -- Responsive -- */
@media (max-width: 960px) {
    [b-z0l35eeico] .pf-hero {
        margin: 16px;
        padding: 24px;
    }

    [b-z0l35eeico] .pf-hero__layout {
        flex-direction: column;
        gap: 24px;
    }

    [b-z0l35eeico] .pf-hero__features {
        grid-template-columns: 1fr;
    }

    [b-z0l35eeico] .pf-hero__feature span {
        white-space: normal;
    }

    [b-z0l35eeico] .pf-hero__right {
        text-align: left;
    }

    [b-z0l35eeico] .pf-hero__price {
        justify-content: flex-start;
    }

    [b-z0l35eeico] .pf-hero__details {
        align-items: flex-start;
    }

    [b-z0l35eeico] .pf-hero__price-major {
        font-size: 36px;
    }

    [b-z0l35eeico] .pf-pay {
        padding: 20px;
    }

    [b-z0l35eeico] .pf-methods {
        grid-template-columns: 1fr;
    }
}

/* Phones (US-1043): 16px gutters, method rows whose subtitle wraps instead of
   clipping, label/value receipt rows, and a card form that fills the width. */
@media (max-width: 767.98px) {
    [b-z0l35eeico] .pf-hero {
        padding: 20px 16px;
    }

    [b-z0l35eeico] .pf-hero__headline {
        max-width: none;
        overflow-wrap: anywhere;
    }

    /* Stacked under the headline: the 180px floor is desktop-only. */
    [b-z0l35eeico] .pf-hero__right {
        min-width: 0;
    }

    [b-z0l35eeico] .pf-hero__price {
        flex-wrap: wrap;
    }

    [b-z0l35eeico] .pf-hero__detail {
        align-items: flex-start;
    }

    [b-z0l35eeico] .pf-hero__detail svg {
        flex-shrink: 0;
        margin-top: 3px;
    }

    [b-z0l35eeico] .pf-hero__detail span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    [b-z0l35eeico] .pf-pay {
        gap: 20px;
        padding: 16px;
    }

    /* Full-width choice rows (already one column under 960px). */
    [b-z0l35eeico] .pf-method {
        width: 100%;
        min-width: 0;
        min-height: 44px;
    }

    [b-z0l35eeico] .pf-method__sub {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }

    /* Receipt: the label wraps, the amount stays whole on the right. */
    [b-z0l35eeico] .pf-receipt__row {
        align-items: flex-start;
    }

    [b-z0l35eeico] .pf-receipt__row > span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    [b-z0l35eeico] .pf-receipt__row > span:last-child {
        flex-shrink: 0;
        white-space: nowrap;
        text-align: right;
    }

    /* Stripe sizes its own iframe height; the host only has to give it the
       full row and never a floor wider than the card. */
    [b-z0l35eeico] .pf-cc {
        min-width: 0;
    }

    [b-z0l35eeico] #payment-element {
        width: 100%;
        min-width: 0;
    }

    [b-z0l35eeico] .pf-stripe-message {
        overflow-wrap: anywhere;
    }

    /* Retry sits inside the error note: a real 44px target on a phone. */
    [b-z0l35eeico] .pf-retry {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-left: 0;
        padding: 0 8px 0 0;
        font-size: 14px;
    }

    /* "Pay $1,543.80 -- Start Subscription" does not fit one line at 360. */
    [b-z0l35eeico] .pf-pay-cta {
        height: auto;
        min-height: 48px;
        padding: 8px 16px;
        line-height: 1.3;
        text-align: center;
    }

    [b-z0l35eeico] .pf-active__name {
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    [b-z0l35eeico] .pf-active__sub {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Contractor/Welcome.razor.rz.scp.css */
/* Contractor onboarding Welcome -- source: gc-step-welcome.tsx +
   kickoff/step-header.tsx + ui/badge.tsx (2026-07-13).
   Header: 22/700 tracking-tight title, 14 relaxed graphite sub, 24px below.
   Cards: 3-col grid gap 16; radius 8, --lw-border, white, --lw-shadow-card,
   centered text; illustration area 240px (200 below md) with muted wash and
   a neutral time badge top-right; text pad 20 (16 top), title 14/600,
   desc 13/1.625 graphite. Looping framer-motion illustrations are ported as
   CSS keyframe loops on the same beats (4.5s / 5s cycles). */

.obw-header[b-9iq3dnve4j] {
    margin-bottom: 24px;
}

.obw-title[b-9iq3dnve4j] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--lw-text-primary);
}

.obw-sub[b-9iq3dnve4j] {
    margin: 6px 0 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.obw-grid[b-9iq3dnve4j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Lender tier without the MOU (US-1210): two cards. */
.obw-grid--two[b-9iq3dnve4j] {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
    .obw-grid[b-9iq3dnve4j] {
        grid-template-columns: 1fr;
    }
}

/* Card enters with the reference's fade/rise stagger (delays inline). */
@keyframes obw-card-in-b-9iq3dnve4j {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.obw-card[b-9iq3dnve4j] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    text-align: center;
    transition: border-color 0.15s ease;
    animation: obw-card-in-b-9iq3dnve4j 0.4s ease-out both;
}

.obw-card:hover[b-9iq3dnve4j] {
    border-color: rgba(30, 30, 36, 0.15);
}

.obw-illo[b-9iq3dnve4j] {
    position: relative;
    height: 240px;
    width: 100%;
    border-bottom: 1px solid var(--lw-border);
}

@media (max-width: 960px) {
    .obw-illo[b-9iq3dnve4j] {
        height: 200px;
    }
}

/* Neutral time badge (ui/badge.tsx md): 24px, 11/700 uppercase, radius 4. */
.obw-badge[b-9iq3dnve4j] {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--lw-status-neutral-bg);
    color: var(--lw-status-neutral-fg);
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(2, 11, 43, 0.05);
}

.obw-badge svg[b-9iq3dnve4j] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Muted illustration wash holding the mini preview card. */
.obw-scene[b-9iq3dnve4j] {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, transparent);
    padding: 20px;
}

.obw-mini[b-9iq3dnve4j] {
    width: 82%;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 12px;
    box-shadow: 0 1px 2px rgba(2, 11, 43, 0.05);
    text-align: left;
}

/* Shared bits */
.obw-grad-tile[b-9iq3dnve4j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--lw-primary-blue) 0%, var(--lw-primary-blue-light) 50%, var(--lw-primary-gold) 100%);
    color: var(--lw-white);
}

.obw-grad-tile svg[b-9iq3dnve4j] {
    width: 14px;
    height: 14px;
}

.obw-name-bar[b-9iq3dnve4j] {
    display: inline-block;
    height: 8px;
    width: 64px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-primary-blue) 20%, transparent);
}

/* -- Business illustration (4.5s cycle): fields fill, then gold verify. -- */
.obw-biz-head[b-9iq3dnve4j] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.obw-field[b-9iq3dnve4j] {
    display: flex;
    align-items: center;
    height: 20px;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: 6px;
    background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent);
    padding: 0 8px;
}

.obw-field-fill[b-9iq3dnve4j] {
    height: 6px;
    border-radius: 9999px;
    background: var(--lw-primary-blue);
    width: 0;
}

.obw-field-fill--1[b-9iq3dnve4j] {
    animation: obw-fill-1-b-9iq3dnve4j 4.5s ease-in-out infinite;
}

.obw-field-fill--2[b-9iq3dnve4j] {
    animation: obw-fill-2-b-9iq3dnve4j 4.5s ease-in-out infinite;
}

@keyframes obw-fill-1-b-9iq3dnve4j {
    0%, 12% { width: 0; }
    30%, 86% { width: 52px; }
    96%, 100% { width: 0; }
}

@keyframes obw-fill-2-b-9iq3dnve4j {
    0%, 34% { width: 0; }
    52%, 86% { width: 68px; }
    96%, 100% { width: 0; }
}

.obw-verify[b-9iq3dnve4j] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 6px;
    background: color-mix(in srgb, var(--lw-primary-blue) 10%, transparent);
}

.obw-verify-gold[b-9iq3dnve4j] {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: var(--lw-primary-gold);
    opacity: 0;
    animation: obw-verify-flash-b-9iq3dnve4j 4.5s linear infinite;
}

@keyframes obw-verify-flash-b-9iq3dnve4j {
    0%, 68% { opacity: 0; }
    72%, 90% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

.obw-verify-shield[b-9iq3dnve4j] {
    position: relative;
    width: 14px;
    height: 14px;
    color: var(--lw-primary-gold-fg);
    opacity: 0;
    animation: obw-shield-pop-b-9iq3dnve4j 4.5s ease-out infinite;
}

@keyframes obw-shield-pop-b-9iq3dnve4j {
    0%, 70% { opacity: 0; transform: scale(0.6); }
    74%, 90% { opacity: 1; transform: scale(1); }
    97%, 100% { opacity: 0; transform: scale(1); }
}

/* -- Credentials illustration (5s cycle): doc lines + stamping seal. -- */
.obw-doc-line[b-9iq3dnve4j] {
    height: 6px;
    border-radius: 9999px;
    background: rgba(30, 30, 36, 0.07);
    margin-top: 6px;
}

.obw-doc-line--lead[b-9iq3dnve4j] {
    margin-top: 0;
    width: 66%;
    background: color-mix(in srgb, var(--lw-primary-blue) 20%, transparent);
}

.obw-seal-row[b-9iq3dnve4j] {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.obw-seal[b-9iq3dnve4j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--lw-primary-blue) 0%, var(--lw-primary-blue-light) 50%, var(--lw-primary-gold) 100%);
    color: var(--lw-white);
    animation: obw-seal-stamp-b-9iq3dnve4j 5s ease-out infinite;
}

.obw-seal svg[b-9iq3dnve4j] {
    width: 20px;
    height: 20px;
}

@keyframes obw-seal-stamp-b-9iq3dnve4j {
    0%, 32% { opacity: 0; transform: scale(0.4) rotate(-14deg); }
    52% { opacity: 1; transform: scale(1.05) rotate(2deg); }
    56%, 86% { opacity: 1; transform: scale(1) rotate(0deg); }
    97%, 100% { opacity: 0; transform: scale(0.4) rotate(-14deg); }
}

/* -- Payout illustration (5s cycle): bank tile drops, bar fills, plan check. -- */
.obw-payout-head[b-9iq3dnve4j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.obw-bank-tile[b-9iq3dnve4j] {
    animation: obw-bank-drop-b-9iq3dnve4j 5s ease-out infinite;
}

@keyframes obw-bank-drop-b-9iq3dnve4j {
    0% { opacity: 0; transform: translateY(-10px); }
    20%, 85% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(-10px); }
}

.obw-connect[b-9iq3dnve4j] {
    height: 8px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(30, 30, 36, 0.08);
}

.obw-connect-fill[b-9iq3dnve4j] {
    display: block;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--lw-primary-blue) 0%, var(--lw-primary-blue-light) 50%, var(--lw-primary-gold) 100%);
    width: 0;
    animation: obw-connect-fill-b-9iq3dnve4j 5s ease-in-out infinite;
}

@keyframes obw-connect-fill-b-9iq3dnve4j {
    0%, 22% { width: 0; }
    60%, 85% { width: 100%; }
    96%, 100% { width: 0; }
}

.obw-plan[b-9iq3dnve4j] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.obw-plan-check[b-9iq3dnve4j] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: var(--lw-primary-gold);
    color: var(--lw-primary-gold-fg);
    opacity: 0;
    animation: obw-plan-pop-b-9iq3dnve4j 5s ease-out infinite;
}

.obw-plan-check svg[b-9iq3dnve4j] {
    width: 8px;
    height: 8px;
}

@keyframes obw-plan-pop-b-9iq3dnve4j {
    0%, 66% { opacity: 0; transform: scale(0.6); }
    72%, 90% { opacity: 1; transform: scale(1); }
    97%, 100% { opacity: 0; transform: scale(1); }
}

.obw-plan-bar[b-9iq3dnve4j] {
    display: inline-block;
    height: 6px;
    width: 48px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-primary-blue) 20%, transparent);
    opacity: 0;
    animation: obw-plan-bar-b-9iq3dnve4j 5s linear infinite;
}

@keyframes obw-plan-bar-b-9iq3dnve4j {
    0%, 66% { opacity: 0; }
    74%, 90% { opacity: 1; }
    97%, 100% { opacity: 0; }
}

/* Card text block */
.obw-card-text[b-9iq3dnve4j] {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 20px 20px;
}

.obw-card-title[b-9iq3dnve4j] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.obw-card-desc[b-9iq3dnve4j] {
    margin: 6px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

@media (prefers-reduced-motion: reduce) {
    .obw-card[b-9iq3dnve4j],
    .obw-field-fill[b-9iq3dnve4j],
    .obw-verify-gold[b-9iq3dnve4j],
    .obw-verify-shield[b-9iq3dnve4j],
    .obw-seal[b-9iq3dnve4j],
    .obw-bank-tile[b-9iq3dnve4j],
    .obw-connect-fill[b-9iq3dnve4j],
    .obw-plan-check[b-9iq3dnve4j],
    .obw-plan-bar[b-9iq3dnve4j] {
        animation: none;
        opacity: 1;
    }

    .obw-field-fill--1[b-9iq3dnve4j] { width: 52px; }
    .obw-field-fill--2[b-9iq3dnve4j] { width: 68px; }
    .obw-connect-fill[b-9iq3dnve4j] { width: 100%; }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/Lender/FoundingLenderMou.razor.rz.scp.css */
/* ============================================================
   Founding Lender MOU onboarding page SHELL only (US-1211), the same frame as
   FoundingBuilderMou.razor.css (itself lifted from AccountAgreement.razor.css):
   centered document column and step header. The document and sign block are
   the shared components (FoundingBuilderMouDocument / Form5119SignBlock). No
   card wrapper: the sticky TOC rail needs an overflow-free ancestor chain.
   ============================================================ */

.aa-page[b-gynrajda9a] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 40px 96px; /* bottom clears the fixed action bar */
}

.aa-header[b-gynrajda9a] {
    margin-bottom: 24px;
}

.aa-header__title[b-gynrajda9a] {
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lw-text-primary);
    margin: 0;
    line-height: 1.3;
}

.aa-header__sub[b-gynrajda9a] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

.aa-blocked[b-gynrajda9a] {
    margin-top: 16px;
}

@media (max-width: 767.98px) {
    .aa-page[b-gynrajda9a] {
        padding: 0 0 96px;
    }

    .aa-header[b-gynrajda9a] {
        margin-bottom: 16px;
    }

    .aa-header__title[b-gynrajda9a],
    .aa-header__sub[b-gynrajda9a] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Onboarding/SubContractor/PreliminaryNotice.razor.rz.scp.css */
/* PreliminaryNotice (sub onboarding; route hidden behind the provider flag).
   NO ledgerwise-app reference exists: the reference removed the
   preliminary-notice step from SUB_STEPS (only the Gavel icon mapping remains
   in onboarding-step-nav.tsx). Token-styled onto the shared control-card +
   lw-table vocabulary instead (FoundingBuilderMou precedent), 2026-07-28.
   Layout only -- chrome lives in the card atoms and lw-table.css. */

/* -- Lead: the step's one explanation, plain body text (not a callout) -- */
[b-rbfvij64oi] .pn-lead {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-gray-graphite);
}

/* -- Section: uppercase micro-title above the table (ins-section-title recipe) -- */
[b-rbfvij64oi] .pn-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

[b-rbfvij64oi] .pn-section-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-text-primary);
}

/* -- Table card: rounded-card border white shell (pt-table-card recipe) -- */
[b-rbfvij64oi] .pn-table-card {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

[b-rbfvij64oi] .pn-table-card .lw-table {
    min-width: 760px;
}

/* Rows are not clickable on this page (row action button instead). */
[b-rbfvij64oi] .pn-table-card .lw-table-tr {
    cursor: default;
}

/* Column widths; project/builder share extra space, action is fixed. */
[b-rbfvij64oi] .pn-col-project { flex: 1.2 1 210px; }
[b-rbfvij64oi] .pn-col-builder { flex: 1 1 210px; }
[b-rbfvij64oi] .pn-col-elig    { flex: 0 0 170px; }
[b-rbfvij64oi] .pn-col-action  { flex: 0 0 190px; }

/* Two-line project cell: name + muted address sub-line (list-row idiom). */
[b-rbfvij64oi] .pn-project {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

[b-rbfvij64oi] .pn-project-name {
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-rbfvij64oi] .pn-project-addr {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keep the row action label on one line. */
[b-rbfvij64oi] .pn-col-action .lw-button-native {
    white-space: nowrap;
}

/* Eligibility cell can carry two chips. */
[b-rbfvij64oi] .pn-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* -- Phone (US-926): the 760px table becomes LwListCard phone cards -- */
[b-rbfvij64oi] .pn-phone {
    display: none;
}

[b-rbfvij64oi] .pn-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

[b-rbfvij64oi] .pn-card .pn-card-name {
    white-space: normal;
}

[b-rbfvij64oi] .pn-card .pn-project-addr {
    white-space: normal;
}

@media (max-width: 767.98px) {
    [b-rbfvij64oi] .pn-desktop {
        display: none;
    }

    [b-rbfvij64oi] .pn-phone {
        display: flex;
        flex-direction: column;
    }

    /* Full-width 44px action, like the other phone card actions. */
    [b-rbfvij64oi] .pn-card-action .lw-button,
    [b-rbfvij64oi] .pn-card-action .lw-button-native {
        width: 100%;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Organization/MyOrganization.razor.rz.scp.css */
/* ============================================================
   My Organization -- hero header + underline tab bar over a
   muted content zone. Source: ledgerwise-ui-app
   src/components/organisms/gc/gc-organization.tsx (+ molecules
   profile-hero-header / tab-bar / section-card / profile-detail-card),
   measured live 2026-07-28: white header zone px-24 pt-20, tabs
   mt-16 gap-24 h-40 14/500 w/ 2px foreground underline, content
   zone bg-muted p-24 gap-20; field labels 12/500 muted-fg,
   values 14/500 foreground; edit ghost button 13/500.
   Tab chrome mirrors the approved Project.razor.css recipe.
   ============================================================ */

/* Shell: escape the layout's pa-6 so the muted zone and the white
   header bleed edge-to-edge (same recipe as .lw-page-shell). */
.org-shell[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    min-height: calc(100% + 48px);
    background: var(--lw-bg-muted);
}

/* White identity zone above the tab strip (reference: bg-background
   px-4 sm:px-6 pt-5; the 16px gap below the hero is painted by the
   tabbar's own white top padding). */
.org-head-zone[b-4adck8mqlg] {
    background: var(--lw-white);
    padding: 20px 24px 0;
}

/* --- Hero header ------------------------------------------ */

.org-header[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo drop zone: the MudFileUpload input stretches transparently over the whole
   zone (see InputClass in the markup), so clicking anywhere browses and dropping
   an image uploads it. The remove button sits above the input (z-index 30 > 20). */
.org-avatar-zone[b-4adck8mqlg] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.org-avatar-zone[b-4adck8mqlg]  .org-avatar-upload {
    margin: 0;
}

.org-avatar--dragover[b-4adck8mqlg] {
    outline: 2px dashed var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Always-visible camera badge so adding a logo is discoverable without hovering.
   The hover scrim (org-avatar__overlay) renders after it and covers it. */
.org-avatar__badge[b-4adck8mqlg] {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lw-primary-blue);
}

.org-avatar__badge[b-4adck8mqlg]  .mud-icon-root {
    font-size: 0.7rem;
    color: #ffffff;
}

.org-avatar-zone__remove[b-4adck8mqlg] {
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 30;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--lw-border);
    background-color: #ffffff;
    color: var(--lw-gray-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--lw-shadow-card);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.org-avatar-zone:hover .org-avatar-zone__remove[b-4adck8mqlg],
.org-avatar-zone:focus-within .org-avatar-zone__remove[b-4adck8mqlg] {
    opacity: 1;
}

.org-avatar-zone__remove:hover[b-4adck8mqlg] {
    color: var(--lw-status-error-fg);
}

.org-avatar-zone__remove[b-4adck8mqlg]  .mud-icon-root {
    font-size: 0.8rem;
    width: 0.8rem;
    height: 0.8rem;
}

/* Upload wrapper around the LwAvatar tile (US-926): the tile paints itself; this only
   anchors the camera badge and the hover / uploading scrim. */
.org-avatar[b-4adck8mqlg] {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--lw-radius-control);
}

/* Editable avatar: dark scrim + camera icon revealed on hover/focus. */
.org-avatar--editable[b-4adck8mqlg] {
    cursor: pointer;
}

.org-avatar__overlay[b-4adck8mqlg] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.org-avatar__overlay[b-4adck8mqlg]  .mud-icon-root {
    font-size: 1.25rem;
    color: #ffffff;
}

.org-avatar__overlay[b-4adck8mqlg]  .mud-progress-circular {
    color: #ffffff;
}

.org-avatar--editable:hover .org-avatar__overlay[b-4adck8mqlg],
.org-avatar--editable:focus-visible .org-avatar__overlay[b-4adck8mqlg],
.org-avatar__overlay--visible[b-4adck8mqlg] {
    opacity: 1;
}

.org-header__info[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 4px; /* the project header's info column gap (LwProjectHeader .lw-ph-info) */
    min-width: 0;
    flex: 1;
}

/* Contact line with the org-type / access-level pills beside the name
   (moved off the title row, Cody 2026-07-28). */
.org-header__contact-row[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    min-width: 0;
}

/* Reference h1: text-[22px] font-bold leading-8 tracking-tight
   text-foreground -- same recipe as .lw-page-title. */
.org-header__name[b-4adck8mqlg] {
    font-family: var(--lw-font-family);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    line-height: 2rem;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
}

.org-header__contact[b-4adck8mqlg] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Tab strip (Project.razor.css recipe, org gap of 24px) -- */

.org-tabs[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.org-tabs[b-4adck8mqlg]  .mud-tabs,
.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-inner,
.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-content,
.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-wrapper {
    background-color: transparent !important;
}

/* The tab strip continues the white header zone: 16px white gap above the
   tabs (reference mt-4 inside bg-background) painted as top padding here. */
.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar {
    background-color: var(--lw-white) !important;
    border-bottom: 1px solid var(--lw-border);
    border-top: none;
    border-left: none;
    border-right: none;
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 24px 0;
}

.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-inner {
    min-height: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-inner::-webkit-scrollbar {
    display: none;
}

/* Reference tabs are content-sized (shrink-0); Mud's default 160px box
   spreads them across the bar. !important because Mud's width rules win. */
.org-tabs[b-4adck8mqlg]  .mud-tab {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    min-height: 40px;
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

/* 24px between tabs = reference gap-6 on the org/profile TabBar. Gap on the
   flex wrapper (the tabs' actual parent) -- margins on .mud-tab lose to Mud. */
.org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar-wrapper {
    gap: 24px;
}

.org-tabs[b-4adck8mqlg]  .mud-tab,
.org-tabs[b-4adck8mqlg]  .mud-tab:hover,
.org-tabs[b-4adck8mqlg]  .mud-tab.mud-tab-active,
.org-tabs[b-4adck8mqlg]  .mud-tab.mud-tab-active:hover {
    background-color: transparent !important;
}

/* Reference tab states: inactive content-secondary; hover AND active are
   foreground (#1E1E24, NOT navy); weight stays 500 in every state. */
.org-tabs[b-4adck8mqlg]  .mud-tab:hover {
    color: var(--lw-text-primary);
}

.org-tabs[b-4adck8mqlg]  .mud-tab.mud-tab-active {
    color: var(--lw-text-primary);
}

/* Active-tab indicator -- 2px foreground bar spanning exactly the tab.
   Mud's JS-measured slider drifts against content-sized tabs + wrapper gap,
   so it is disabled and the bar is drawn as an inset box-shadow (::after on
   .mud-tab does not paint; see Project.razor.css). */
.org-tabs[b-4adck8mqlg]  .mud-tab-slider {
    display: none;
}

.org-tabs[b-4adck8mqlg]  .mud-tab.mud-tab-active {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

.org-tabs[b-4adck8mqlg]  .mud-tabs-scroll-button {
    display: none;
}

/* Panels container: muted zone flush against the tab line (reference content
   zone: bg-muted p-6). PanelClass lands on this same element, so the padding
   lives here; !important out-specifies Mud's own paints. */
.org-tabs[b-4adck8mqlg]  .mud-tabs-panels {
    background-color: var(--lw-bg-muted) !important;
    margin: 0 !important;
    padding: 24px !important;
}

/* --- Tab content layout ----------------------------------- */

.org-tab-content[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* --- Read-mode fields ------------------------------------- */

/* Read-mode rows are the global .lw-field-rows (app.css) since US-926. */

/* --- Edit-mode form layout -------------------------------- */

/* Reference edit grid: grid-cols-2 gap-x-6 gap-y-4. Stacked fields keep
   the same 16px rhythm. */
.org-form[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.org-grid2[b-4adck8mqlg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.org-grid3[b-4adck8mqlg] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

/* Address autocomplete + suite/unit companion field (US-796): the address
   gets the width, the unit stays a short field beside it. */
.org-grid-address[b-4adck8mqlg] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 1rem 1.5rem;
}

/* Muted helper line under a field (no FieldShell helper slot in the
   reference; kept for the builder email-slug explainer). */
.org-form-hint[b-4adck8mqlg] {
    margin: -0.5rem 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-graphite);
}

/* Reference action row: col-span-2 flex justify-end gap-3 border-t pt-4. */
.org-edit-actions[b-4adck8mqlg] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

/* Member roles are StatusChips (MemberRoleSeverity) since US-926; role changes live in the
   row menu. */

/* --- Tables (lw-table inside a flush section card) -------- */

/* Org tables measured at 12x20 cells (reference px-5 py-3) vs the list-page
   default of 12x16; rows are not clickable here. */
.org-table .lw-table-th[b-4adck8mqlg],
.org-table .lw-table-td[b-4adck8mqlg] {
    padding: 12px 20px;
}

.org-table .lw-table-tr[b-4adck8mqlg] {
    cursor: default;
}

/* The insurance certificate table (clickable rows, chevron, provider ellipsis) moved to
   Shared/VendorInsuranceCertificates.razor.css with the list itself (US-1024). */

.org-col[b-4adck8mqlg] {
    flex: 1;
    min-width: 0;
}

.org-col--lg[b-4adck8mqlg] {
    flex: 1.6;
}

.org-col--sm[b-4adck8mqlg] {
    flex: 0.8;
}

.org-col--actions[b-4adck8mqlg] {
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Bold green amount cell (payment history). */
.org-amount[b-4adck8mqlg] {
    font-weight: 700;
    color: var(--lw-status-success-fg);
}

/* Destructive-leaning icon button (remove certification). */
.org-kebab--danger:hover[b-4adck8mqlg] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

/* Project line under the role chip for project-scoped client users (US-665). */
.org-member-project[b-4adck8mqlg] {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty and error states are LwDocEmpty (Flush inside card bodies) since US-926. */

.org-table-pad[b-4adck8mqlg] {
    padding: 1rem 1.25rem;
}

/* Destructive-leaning outline action (Disconnect): graphite at rest,
   destructive tint on hover (reference profile-integration-card). */
.org-action-danger[b-4adck8mqlg] {
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
}

.org-action-danger:hover[b-4adck8mqlg] {
    border-color: rgba(220, 38, 38, 0.4);
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}


/* Remove member uses the shared ConfirmationModal (Danger) since US-926. */

/* Phones (US-1043): one-column edit grids and the 16px gutter run to the phone breakpoint. */
@media (max-width: 767.98px) {
    .org-grid2[b-4adck8mqlg],
    .org-grid3[b-4adck8mqlg],
    .org-grid-address[b-4adck8mqlg] {
        grid-template-columns: 1fr;
    }

    .org-head-zone[b-4adck8mqlg] {
        padding: 20px 16px 0;
    }

    .org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar {
        padding: 16px 16px 0;
    }

    .org-tabs[b-4adck8mqlg]  .mud-tabs-panels {
        padding: 16px !important;
    }
}

/* --- Loading skeletons ------------------------------------ */
/* Reference: profile-shell.tsx ProfileSkeleton (shimmer blocks rounded-md
   sketching the header zone, tab strip, and one card) and the
   profile-insurance-table.tsx skeleton rows (rounded-sm cells). Shimmer
   chrome lives in the LwSkeleton atom; only layout + radius live here.
   LwSkeleton is a child component, so radius rules need ::deep. */

.org-skeleton[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.org-skeleton[b-4adck8mqlg]  .lw-skeleton,
.org-skel-lines[b-4adck8mqlg]  .lw-skeleton {
    border-radius: 6px;
}

.org-skel-table[b-4adck8mqlg]  .lw-skeleton {
    border-radius: 4px;
}

/* Mirrors the .org-tabs tabbar chrome (16px white gap, 40px strip, 24px gap
   between tabs, hairline under the strip). */
.org-skel-tabbar[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 40px;
    padding: 16px 24px 0;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

/* Mirrors the .mud-tabs-panels muted content zone. */
.org-skel-panel[b-4adck8mqlg] {
    flex: 1;
    background: var(--lw-bg-muted);
    padding: 24px;
}

/* Card sketch (reference: rounded-card border bg-white shadow-card). */
.org-skel-card[b-4adck8mqlg] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.org-skel-card__head[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--lw-border);
}

/* Title + subtitle lines beside the icon tile, as the ControlCard head they stand in for. */
.org-skel-card__text[b-4adck8mqlg] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-skel-card__body[b-4adck8mqlg] {
    padding: 20px;
}

/* Chip + text lines inside a ControlCard body (bank / QuickBooks cards). */
.org-skel-lines[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Phone stand-in for the section select (shown below 768px). */
.org-skel-select[b-4adck8mqlg] {
    display: none;
}

@media (max-width: 767.98px) {
    /* The tab sketch becomes one full-width bar on the section select's box
       (.org-tab-switch under the header: 12px / 16px / 12px). The desktop tab bars
       are LwSkeleton roots (child component), hence ::deep. */
    .org-skel-tabbar[b-4adck8mqlg] {
        min-height: 0;
        padding: 12px 16px;
    }

    .org-skel-tabbar[b-4adck8mqlg]  > .lw-skeleton {
        display: none;
    }

    .org-skel-select[b-4adck8mqlg] {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .org-skel-panel[b-4adck8mqlg] {
        padding: 16px;
    }

    .org-skel-card__head[b-4adck8mqlg] {
        padding: 16px 20px;
    }
}

/* Phone head, as ControlCard's inline-action head below 600px: 16px inset, the tile, the
   title + subtitle lines as one block beside it, and the action an icon-only 44px square
   at the far right (the shared lw-card-action size), all centred on one row. */
@media (max-width: 599px) {
    .org-skel-card__head[b-4adck8mqlg] {
        padding: 16px;
    }

    .org-skel-card__action[b-4adck8mqlg]  .lw-skeleton {
        width: 44px !important;
        height: 44px !important;
    }
}

/* The action placeholder never shrinks into the text lines. */
.org-skel-card__action[b-4adck8mqlg] {
    flex-shrink: 0;
}

/* --- Connected bank account cards -------------------------- */
/* Bank account card (US-926): accounts are LwListRows (lw-row-tile + lw-row-identity) with
   the canonical row menu; the body is a 12px stack. */
.org-bank-body[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.org-bank-summary[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.org-bank-name-row[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.org-bank-tile[b-4adck8mqlg] {
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

/* -- Phone: organization tables become cards (US-798) -- */
/* Five flex columns (Member, Role, Status, Joined On, Actions) inside a 544px
   panel gave each ~90px: names truncated to "Broo...", and the role and status
   chips -- neither of which can shrink -- overlapped each other. Each row
   re-flows into a card: identity + actions on the first line, then the
   remaining cells as one wrapped meta line beneath. The header row goes with
   the columns it labelled. Same treatment the ledger and document tables use. */
@media (max-width: 767.98px) {
    .org-table .lw-table-head[b-4adck8mqlg] {
        display: none;
    }

    .org-table .lw-table-tr[b-4adck8mqlg] {
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.625rem;
        row-gap: 0.5rem;
        padding: 12px 16px;
    }

    .org-table .lw-table-td[b-4adck8mqlg] {
        padding: 0;
        min-width: 0;
    }

    /* Identity takes the first line, less the actions gutter. */
    .org-table .lw-table-tr > .org-col--lg[b-4adck8mqlg] {
        flex: 1 1 calc(100% - 100px);
    }

    .org-table .lw-table-tr > .org-col--actions[b-4adck8mqlg] {
        flex: 0 0 auto;
    }

    /* Everything else sits inline on the next line and wraps as needed. */
    .org-table .lw-table-tr > .org-col:not(.org-col--lg):not(.org-col--actions)[b-4adck8mqlg] {
        flex: 0 0 auto;
        width: max-content;
        max-width: 100%;
    }
}

/* -- Phone section menu (US-926, O3) -- */
/* The tab strip becomes one full-width select naming the current tab, the project header
   pattern (ContractorProject.razor.css .cp-tab-select). It continues the white header zone
   and takes the strip's hairline. Hidden from 768px up. */
.org-tab-switch[b-4adck8mqlg] {
    display: none;
}

@media (max-width: 767.98px) {
    .org-tab-switch[b-4adck8mqlg] {
        display: block;
        padding: 16px 16px 12px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    /* Under the identity header the select sits 12px below the header content -- the gap
       the project header keeps above its section select (LwProjectHeader 12px bottom
       padding + .project-tab-switch 0 top). Without a header (an individual Project
       Owner) the 16px top inset above stays. */
    .org-head-zone + .org-tabs .org-tab-switch[b-4adck8mqlg] {
        padding-top: 12px;
    }

    .org-tabs[b-4adck8mqlg]  .mud-tabs-tabbar {
        display: none;
    }
}

/* -- Phone header (US-926, O2) -- */
/* The project-header recipe: 16px inset, 44px avatar, 16px/700 name clamped to two lines,
   the contact name as a 12px subline, and the org-type / access chips in one row beneath. */
@media (max-width: 767.98px) {
    .org-head-zone[b-4adck8mqlg] {
        padding: 16px 16px 0;
    }

    .org-header[b-4adck8mqlg] {
        align-items: flex-start;
        gap: 12px;
    }

    /* LwAvatar sizes itself inline (Size=56); the phone spec is 44px (as .cp-identity). */
    .org-avatar[b-4adck8mqlg]  .lw-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .org-avatar__badge[b-4adck8mqlg] {
        right: 2px;
        bottom: 2px;
        width: 16px;
        height: 16px;
    }

    .org-header__info[b-4adck8mqlg] {
        gap: 4px;
    }

    .org-header__name[b-4adck8mqlg] {
        font-size: 1rem;
        line-height: 1.25;
        letter-spacing: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .org-header__contact-row[b-4adck8mqlg] {
        gap: 8px;
    }

    /* No contact line (the owner's name is the title): the chip row keeps the 8px it has
       under a meta line in the project header (4px column gap + the badge row's 4px). */
    .org-header__contact-row:not(:has(.org-header__contact))[b-4adck8mqlg] {
        margin-top: 4px;
    }

    /* Meta line = the project header's phone meta: 12px muted-foreground. */
    .org-header__contact[b-4adck8mqlg] {
        flex-basis: 100%;
        font-size: 12px;
        line-height: 16px;
        color: var(--lw-gray-space);
    }
}

/* Touch screens have no hover, so the remove-logo button would never appear: keep it shown. */
@media (hover: none) {
    .org-avatar-zone__remove[b-4adck8mqlg] {
        opacity: 1;
    }
}

/* -- Card header actions on phones (US-926, Cody 2026-09-29) -- */
/* Single-action cards opt into ControlCard InlineAction, so the action stays on the title
   row; the action itself goes icon-only (Edit pencil, Add +, Invite person) with its full
   name kept in aria-label / title. Desktop keeps the labelled button. Stays at 599px: that is
   where ControlCard's InlineAction head (and its own-line action) begins. 44px square (US-1043).
   The rule itself is the shared .lw-card-action / .lw-card-action__label recipe in
   lw-page.css (Cody 2026-10-12); this page no longer carries its own copy. */

/* Edit actions on phones (US-926, O8): Cancel keeps its label width, Save fills the rest. */
@media (max-width: 767.98px) {
    .org-edit-actions[b-4adck8mqlg]  .lw-button:last-child {
        flex: 1 1 auto;
    }

    .org-edit-actions[b-4adck8mqlg]  .lw-button:last-child .lw-button-native {
        width: 100%;
    }
}

/* -- Row cards on phones (US-926, O7): certifications (insurance certificates carry their
   own copy in Shared/VendorInsuranceCertificates.razor.css, US-1024) -- */
/* Desktop keeps the table; phones get a flush LwListCard of certificate rows (the invoice
   card recipe, ContractorProjectInvoices .cpi-card): type chip + name + status on the first
   line, then the carrier, "Policy ... . coverage" and the date range as quiet meta lines. */
.org-phone[b-4adck8mqlg] {
    display: none;
}

.org-row-card[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.org-row-card__top[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Names wrap to two lines on phone cards (O7) instead of truncating beside the chips. */
.org-row-card__name[b-4adck8mqlg] {
    flex: 1;
    min-width: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.org-row-card__meta[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.org-row-card__dot[b-4adck8mqlg] {
    color: var(--lw-border);
}

.org-row-card__chips[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.org-row-card__spacer[b-4adck8mqlg] {
    flex: 1;
}

.org-row-card__amount[b-4adck8mqlg] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.org-row-card__desc[b-4adck8mqlg] {
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .org-desktop[b-4adck8mqlg] {
        display: none;
    }

    .org-phone[b-4adck8mqlg] {
        display: block;
    }
}

/* -- Members (US-926): established person rows (LwListRow + lw-row-identity) -- */
.org-member-role[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.org-member-mobile[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.org-member-mobile .org-member-project[b-4adck8mqlg] {
    display: none;
}

/* Phone: the chips drop under the name, indented past the avatar -- the wrap LwListCard's
   phone-cards mode gives the ContractorUsers rows, applied to this flush list so the name
   and email keep the full line. */
@media (max-width: 767.98px) {
    .org-members[b-4adck8mqlg]  .lw-list-row-link,
    .org-members[b-4adck8mqlg]  .lw-list-row:not(.lw-list-row--split) {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .org-members[b-4adck8mqlg]  .lw-list-row-trailing-mobile {
        /* 56px = avatar (40) + row gap (16). */
        flex-basis: calc(100% - 56px);
        margin-left: 56px;
    }

    /* The menu sits on the name line, not floating mid-row. */
    .org-members[b-4adck8mqlg]  .lw-list-row--split {
        align-items: flex-start;
    }

    /* 10px + half the 44px menu button keeps it centred where the 32px one sat (US-1043). */
    .org-members[b-4adck8mqlg]  .lw-list-row-actions {
        padding-top: 10px;
    }
}

/* Bug-956: the identity step offered under the "verify your identity first" note. */
.org-identity-link[b-4adck8mqlg] {
    margin-left: 6px;
    color: var(--lw-primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* -- Phone tap targets, long values and wrapping (US-1043) -- */
@media (max-width: 767.98px) {
    /* Section menu trigger (rendered by LwSectionSelect). */
    .org-tab-switch[b-4adck8mqlg]  .lw-section-select__trigger {
        height: 44px;
    }

    /* Card header and body actions: Edit / Add / Invite, Connect with Plaid, QuickBooks
       connect / refresh / disconnect, Resume digital checks, Try Again. */
    .org-tab-content .lw-page-action[b-4adck8mqlg],
    .org-table-pad .lw-page-action[b-4adck8mqlg] {
        height: 44px;
    }

    /* Row menus (LwRowMenu) on member and bank account rows. */
    .org-members[b-4adck8mqlg]  .lw-row-icon-btn,
    .org-bank-body[b-4adck8mqlg]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* Remove certification keeps its glyph size; the hit box grows to 44px around it. */
    .org-phone .lw-table-kebab[b-4adck8mqlg] {
        position: relative;
    }

    .org-phone .lw-table-kebab[b-4adck8mqlg]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 44px;
        height: 44px;
        transform: translate(-50%, -50%);
    }

    /* Remove logo: a 44px hit box pushed up and out so it takes little more of the logo
       (the upload target) than the 20px button already does. */
    .org-avatar-zone__remove[b-4adck8mqlg]::after {
        content: "";
        position: absolute;
        top: -18px;
        right: -18px;
        bottom: -6px;
        left: -6px;
    }

    /* Read-mode rows: a value whose longest word cannot sit beside its label (the builder
       Ledgerwise email under its long label, a URL) drops to its own full-width line instead
       of breaking mid-word across three. Values that wrap at spaces stay beside the label. */
    .org-tab-content .lw-field-row[b-4adck8mqlg] {
        flex-wrap: wrap;
        gap: 2px 16px;
    }

    .org-tab-content .lw-field-value[b-4adck8mqlg] {
        flex: 1 1 auto;
        width: min-content;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* The fixed domain after the builder email slug: 13px so the slug keeps room to type
       at 360px (the slug itself stays 16px). */
    .org-tab-content .org-form[b-4adck8mqlg]  .mud-input-adornment-end .mud-input-adornment-text {
        font-size: 13px;
    }

    /* Bank rows: the balance line and the payout sentences wrap instead of ellipsizing. */
    .org-bank-body .lw-row-title[b-4adck8mqlg],
    .org-bank-body .lw-row-sub[b-4adck8mqlg] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* Cards whose header holds labelled or several actions (bank account, QuickBooks). The head
   itself is the canonical ControlCard head and this page does not restyle it (Cody
   2026-10-12): on phones ControlCard drops a non-inline action to its own line under the
   title. .org-card-actions is this page's own wrapper INSIDE that slot; it stacks the
   buttons one per line so two of them never run past a 360px card (US-1043). Same 599px
   gate as ControlCard's own-line action. Desktop keeps the buttons side by side. */
@media (max-width: 599px) {
    .org-card-actions[b-4adck8mqlg] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* --- Cost Codes tab (US-1171) -------------------------------- */

/* Search + "Include archived" toggle above the table, inside the flush card. */
.org-cc-toolbar[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 12px 20px;
    border-bottom: 1px solid var(--lw-border);
}

.org-cc-toggle[b-4adck8mqlg] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    white-space: nowrap;
}

/* Codes read as identifiers: tabular figures, a touch heavier. */
.org-cc-code[b-4adck8mqlg] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.org-cc-row--archived .lw-table-td[b-4adck8mqlg] {
    color: var(--lw-gray-graphite);
}

/* "Restore the standard list" link under the table. */
/* Header actions: the Import split button (shared .lw-toolbar-split, lw-page.css)
   beside Add Cost Code (primary). */
.org-cc-head-actions[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Rows open nothing: no hover fill (the table is selection + row menu only). A selected
   row takes the info tint the canonical selection list uses (BudgetLineItemComputationModal). */
.org-cc-table .lw-table-tr:hover[b-4adck8mqlg] {
    background: transparent;
}

.org-cc-table .org-cc-row--selected[b-4adck8mqlg],
.org-cc-table .org-cc-row--selected:hover[b-4adck8mqlg] {
    background: color-mix(in srgb, var(--lw-status-info-bg) 40%, transparent);
}

/* Leading selection column: the select indicator in a 32px target; no vertical padding
   so the row keeps the org tables' height. */
.org-cc-table .org-cc-col-check[b-4adck8mqlg] {
    flex: 0 0 52px;
    box-sizing: border-box;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 12px;
    padding-right: 0;
}

/* Toolbar and desktop select bar share one height: the bar replaces the toolbar while
   rows are selected, so the table does not move under the pointer. */
.org-cc-toolbar[b-4adck8mqlg],
.org-cc-selectbar:not(.org-cc-selectbar--phone)[b-4adck8mqlg] {
    box-sizing: border-box;
    min-height: 61px;
}

.org-cc-selectbar:not(.org-cc-selectbar--phone)[b-4adck8mqlg] {
    padding: 12px 20px;
}

@media (min-width: 768px) {
    .org-cc-toolbar--selecting[b-4adck8mqlg] {
        display: none;
    }
}

.org-cc-check[b-4adck8mqlg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.org-cc-check:focus-visible[b-4adck8mqlg] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
}

.org-cc-usage[b-4adck8mqlg] {
    cursor: default;
}

/* Select bar: the shared lw-table-selectbar; the count on the left, the batch actions on
   the right. */
.org-cc-bulk[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Phones: the bar stands on top of the cards with the select-all control; the actions
   take their own full-width row of 44px buttons. */
.org-cc-selectbar--phone[b-4adck8mqlg] {
    flex-wrap: wrap;
    padding: 0 12px 0 16px;
}

.org-cc-selectall[b-4adck8mqlg] {
    min-height: 44px;
}

.org-cc-selectbar--phone .org-cc-bulk[b-4adck8mqlg] {
    flex: 1 0 100%;
    padding-bottom: 12px;
}

.org-cc-selectbar--phone .org-cc-bulk[b-4adck8mqlg] {
    flex-wrap: nowrap;
}

/* Three across at 360px: equal thirds, a tighter inset than the desktop button. */
.org-cc-selectbar--phone .org-cc-bulk .lw-page-action[b-4adck8mqlg] {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    height: 44px;
    padding: 0 8px;
}

/* Phone sort control (the ProjectInvoices .pi-sort recipe), inside the flush card. */
.org-cc-sort[b-4adck8mqlg] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.org-cc-sort-field[b-4adck8mqlg] {
    flex: 1;
    min-width: 0;
}

.org-cc-sort-dir[b-4adck8mqlg] {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
}

/* Phone card: the select target beside the code card. The 44px target hands its extra
   space back so the card keeps its rhythm. */
.org-cc-card[b-4adck8mqlg] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.org-cc-card .org-cc-check[b-4adck8mqlg] {
    width: 44px;
    height: 44px;
    margin: -12px -6px -12px -12px;
}

/* Phone footer: the count on the left, the LwPager (when there is a second page) right. */
.org-cc-phone-pager[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lw-border);
}

.org-cc-phone-count[b-4adck8mqlg] {
    min-width: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.org-cc-phone-count strong[b-4adck8mqlg] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
}

.org-cc-phone-pager[b-4adck8mqlg]  .lw-pager {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 600px) {
    /* Phone: search stretches to the full width like the site's other list pages. */
    .org-cc-toolbar[b-4adck8mqlg] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    .org-cc-search[b-4adck8mqlg] {
        width: 100%;
    }
}

/* --- Cost Codes, two levels + setup guide + switch (US-1244) --- */

/* Chevron column: the category code's open / close toggle; the header holds expand-all.
   Line item code rows keep the empty cell so codes line up. */
.org-cc-table .org-cc-col-expand[b-4adck8mqlg] {
    flex: 0 0 40px;
    box-sizing: border-box;
    justify-content: center;
    padding: 0 0 0 8px;
}

.org-cc-expand[b-4adck8mqlg],
.org-cc-expand-all[b-4adck8mqlg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.org-cc-expand:hover[b-4adck8mqlg],
.org-cc-expand-all:hover[b-4adck8mqlg] {
    background: var(--lw-accent);
    color: var(--lw-primary-blue);
}

.org-cc-expand:focus-visible[b-4adck8mqlg],
.org-cc-expand-all:focus-visible[b-4adck8mqlg] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
}

/* The budget header's expand-all button (BudgetTableHeader .bth-expand-btn): accent icon. */
.org-cc-expand-all[b-4adck8mqlg] {
    color: var(--lw-primary-blue);
}

.org-cc-expand[b-4adck8mqlg]  .mud-icon-root {
    font-size: 20px;
    transition: transform 0.15s ease;
}

.org-cc-expand--open[b-4adck8mqlg]  .mud-icon-root {
    transform: rotate(90deg);
}

.org-cc-expand-all[b-4adck8mqlg]  .mud-icon-root {
    font-size: 1.0625rem;
}

.org-cc-expand-spacer[b-4adck8mqlg] {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Category code rows read as the group heading (the budget's category row); the count of
   line item codes rides after the name. */
.org-cc-row--category .org-cc-name__text[b-4adck8mqlg] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.org-cc-name[b-4adck8mqlg] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.org-cc-name__text[b-4adck8mqlg] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.org-cc-count[b-4adck8mqlg] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

/* Line item code rows sit one step in under their category code. An indent, not padding:
   the columns are flex: N 1 0, so extra padding would widen this cell and push the row's
   other columns out of line with the header. */
.org-cc-table .org-cc-code--child[b-4adck8mqlg] {
    text-indent: 28px;
    font-weight: var(--lw-font-medium);
}

.org-cc-row--archived .org-cc-name__text[b-4adck8mqlg] {
    color: var(--lw-gray-graphite);
}

/* The add row at the foot of an open category code (the budget's add row at the end of a
   category): a quiet accent action lined up with the line item codes. */
.org-cc-table .org-cc-addrow[b-4adck8mqlg] {
    cursor: default;
}

.org-cc-addrow__cell[b-4adck8mqlg] {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
    padding-bottom: 6px;
}

.org-cc-addrow__btn[b-4adck8mqlg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 8px;
    margin-left: 28px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.org-cc-addrow__btn:hover[b-4adck8mqlg] {
    background: var(--lw-accent);
}

.org-cc-addrow__btn[b-4adck8mqlg]  .mud-icon-root {
    font-size: 18px;
}

/* Phones: the chevron sits between the select target and the card text; a line item code
   card is indented to the category code's text. */
.org-cc-card .org-cc-expand[b-4adck8mqlg],
.org-cc-card .org-cc-expand-spacer[b-4adck8mqlg] {
    width: 32px;
    height: 32px;
    margin: -4px -4px -4px 0;
}

.org-cc-card--child[b-4adck8mqlg] {
    padding-left: 36px;
}

.org-cc-child-name[b-4adck8mqlg] {
    font-size: var(--lw-row-sub-size, 13px);
    color: var(--lw-text-primary);
}

.org-cc-addrow-phone[b-4adck8mqlg] {
    padding: 4px 16px 8px 52px;
    border-bottom: 1px solid var(--lw-border);
}

.org-cc-addrow-phone .org-cc-addrow__btn[b-4adck8mqlg] {
    min-height: 44px;
    margin-left: 0;
}

/* The setup guide (first visit, or "Replace my list"). */
.org-cc-guide[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.org-cc-guide__back[b-4adck8mqlg] {
    margin: -8px 0 0 -8px;
}

.org-cc-guide__lead[b-4adck8mqlg],
.org-cc-guide__text[b-4adck8mqlg] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.org-cc-guide__text[b-4adck8mqlg] {
    color: var(--lw-gray-graphite);
}

.org-cc-guide__foot[b-4adck8mqlg] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.org-cc-guide__foot[b-4adck8mqlg]  .mud-icon-root {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Choose-one rows: copied from the srr-row recipe (Modals/SelectRfpRecipientModal.razor.css)
   as CloseProject's refund method ports it (.cp-choice), measurements and tokens unchanged;
   the bordered card is a wrapper so "My own list" can open its two actions inside the row. */
.org-cc-choice-list[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.org-cc-choice[b-4adck8mqlg] {
    width: 100%;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    transition: border-color 0.15s, background 0.15s;
}

.org-cc-choice:hover[b-4adck8mqlg] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

.org-cc-choice--active[b-4adck8mqlg] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

.org-cc-choice__row[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--lw-radius-card);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
}

.org-cc-choice__radio[b-4adck8mqlg] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--lw-gray-smoke);
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.org-cc-choice--active .org-cc-choice__radio[b-4adck8mqlg] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
    background: var(--lw-primary-blue);
}

.org-cc-choice__text[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.org-cc-choice__name[b-4adck8mqlg] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.org-cc-choice__sub[b-4adck8mqlg] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* A standard list opens its preview: the trailing chevron says the row goes somewhere. */
.org-cc-choice__row[b-4adck8mqlg]  .org-cc-choice__chevron {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--lw-gray-graphite);
}

/* "My own list": the two paths inside the chosen row, under its text (14px pad + 16px
   radio + 12px gap). */
.org-cc-choice__field[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 14px 14px 42px;
}

.org-cc-choice__help[b-4adck8mqlg] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.org-cc-choice__actions[b-4adck8mqlg] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Standard list preview: the list's name and size on the left; Back and "Use this list" on the right. */
.org-cc-preview-bar[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--lw-border);
}

.org-cc-preview-title[b-4adck8mqlg] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.org-cc-preview-title__name[b-4adck8mqlg] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.org-cc-preview-title__sub[b-4adck8mqlg] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.org-cc-preview-actions[b-4adck8mqlg] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.org-cc-preview-note[b-4adck8mqlg] {
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    .org-cc-choice__row[b-4adck8mqlg] {
        min-height: 44px;
        padding: 12px;
    }

    .org-cc-choice__name[b-4adck8mqlg],
    .org-cc-choice__sub[b-4adck8mqlg] {
        overflow-wrap: anywhere;
    }

    .org-cc-choice__name[b-4adck8mqlg] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .org-cc-choice__sub[b-4adck8mqlg] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    .org-cc-choice__field[b-4adck8mqlg] {
        padding: 0 12px 12px;
    }

    .org-cc-choice__actions .lw-page-action[b-4adck8mqlg] {
        flex: 1 1 100%;
        justify-content: center;
    }

    .org-cc-guide[b-4adck8mqlg] {
        padding: 16px;
    }

    .org-cc-preview-bar[b-4adck8mqlg] {
        padding: 12px 16px;
    }

    .org-cc-preview-note[b-4adck8mqlg] {
        padding: 10px 16px;
    }
}

@media (max-width: 600px) {
    /* Back and "Use this list" share their own full-width row under the list name. */
    .org-cc-preview-bar[b-4adck8mqlg] {
        flex-wrap: wrap;
    }

    .org-cc-preview-actions[b-4adck8mqlg] {
        flex: 1 1 100%;
    }

    .org-cc-preview-actions .lw-page-action[b-4adck8mqlg] {
        flex: 1 1 0;
        justify-content: center;
    }
}

/* The preview has only Code and Name: the code keeps an identifier-sized column. */
.org-cc-table--preview .org-col--sm[b-4adck8mqlg] {
    flex: 0 0 180px;
}

/* Phones: "Replace my list" under the cards (the header chevron menu is hidden < 600px). */
.org-cc-phone-replace[b-4adck8mqlg] {
    display: flex;
    justify-content: center;
    padding: 4px 16px 12px;
}

@media (min-width: 600px) {
    .org-cc-phone-replace[b-4adck8mqlg] {
        display: none;
    }
}

/* _content/Ledgerwise/Components/Pages/Organization/QuickBooksSyncPanel.razor.rz.scp.css */
/* QuickBooksSyncPanel -- mapping tables inside the QuickBooks Online control card
   (US-873). Chrome from --lw-* tokens; the div-table itself is the global
   lw-table primitive (wwwroot/css/components/lw-table.css), with column widths
   and the non-clickable row treatment set here. */

.qbs[b-wlg1u5m6rl] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* The host card body is a 12px stack; 4px more keeps the 16px the panel had above it. */
    margin-top: 0.25rem;
}

.qbs-section[b-wlg1u5m6rl] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qbs-section-head[b-wlg1u5m6rl] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.qbs-section-text[b-wlg1u5m6rl] {
    flex: 1 1 320px;
    min-width: 0;
}

/* In-card section heading: the recipe the kickoff ControlCard uses for its sub-sections
   (ProjectKickoffOverview .pk-section__title -- 14px/600, body font; Cody 2026-10-12).
   No brand font is declared in component css. */
.qbs-section-title[b-wlg1u5m6rl] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.qbs-section-sub[b-wlg1u5m6rl] {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

.qbs-table[b-wlg1u5m6rl] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

/* Rows are not links: no pointer, no hover tint. */
.qbs-table .lw-table-tr[b-wlg1u5m6rl] {
    cursor: default;
}

.qbs-table .lw-table-tr:hover[b-wlg1u5m6rl] {
    background: transparent;
}

.qbs-col[b-wlg1u5m6rl] {
    flex: 1;
    min-width: 0;
}

.qbs-col--status[b-wlg1u5m6rl] {
    flex: 0.9;
}

.qbs-col--actions[b-wlg1u5m6rl] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 8px 16px;
    min-width: 140px;
}

.qbs-strong[b-wlg1u5m6rl] {
    font-weight: var(--lw-font-medium);
}

.qbs-cell[b-wlg1u5m6rl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.qbs-muted[b-wlg1u5m6rl] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.qbs-empty[b-wlg1u5m6rl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.qbs-empty p[b-wlg1u5m6rl] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.qbs-empty[b-wlg1u5m6rl]  .mud-icon-root {
    font-size: 2rem;
    color: var(--lw-gray-space);
}

.qbs-skeleton[b-wlg1u5m6rl] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    padding: 6px 0;
}

.qbs-skel-line[b-wlg1u5m6rl] {
    height: 14px;
    margin: 10px 16px;
    border-radius: 6px;
    background: var(--lw-bg-secondary);
}

/* Phones (US-1043): each row stacks -- name (and owner sub line), the QuickBooks pick or
   record at full width, the status chip, then the row's actions as full-width buttons
   (44px through the --lw-button-action-height token). */
@media (max-width: 767.98px) {
    .qbs-section-text[b-wlg1u5m6rl] {
        flex-basis: 100%;
    }

    /* "Check for matches" takes its own full-width 44px row under the copy. */
    .qbs-section-head[b-wlg1u5m6rl]  .mud-tooltip-root {
        display: block;
        width: 100%;
    }

    .qbs-check[b-wlg1u5m6rl] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    .qbs-table .lw-table-head[b-wlg1u5m6rl] {
        display: none;
    }

    .qbs-table .lw-table-tr[b-wlg1u5m6rl] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px 16px;
    }

    .qbs-table .lw-table-td[b-wlg1u5m6rl] {
        flex: 0 0 auto;
        min-width: 0;
        padding: 0;
    }

    .qbs-strong[b-wlg1u5m6rl],
    .qbs-cell[b-wlg1u5m6rl] {
        overflow-wrap: anywhere;
    }

    .qbs-table .qbs-col--owner[b-wlg1u5m6rl] {
        margin-top: -4px;
        font-size: 0.8125rem;
        color: var(--lw-gray-graphite);
    }

    .qbs-table .qbs-col--status[b-wlg1u5m6rl] {
        flex-wrap: wrap;
        gap: 6px;
    }

    .qbs-table .qbs-col--actions[b-wlg1u5m6rl] {
        justify-content: flex-start;
        min-width: 0;
        padding-top: 4px;
    }

    /* Link / Change / Cancel / Unlink share the row equally; a lone button fills it. */
    .qbs-col--actions[b-wlg1u5m6rl]  .lw-button,
    .qbs-col--actions[b-wlg1u5m6rl]  .mud-tooltip-root {
        flex: 1 1 0;
        min-width: 0;
    }

    .qbs-col--actions[b-wlg1u5m6rl]  .mud-tooltip-root {
        display: block;
    }

    .qbs-col--actions[b-wlg1u5m6rl]  .mud-tooltip-root .lw-button {
        width: 100%;
    }

    .qbs-col--actions[b-wlg1u5m6rl]  .lw-button .lw-button-native {
        width: 100%;
    }
}

/* -- US-888: pick lists ---------------------------------------------------------------- */

/* The list column carries a searchable field, so it gets the most room. */
.qbs-col--pick[b-wlg1u5m6rl] {
    flex: 1.6;
    min-width: 0;
}

/* Catalog state above the tables: reading the books, or the read failed. */
.qbs-note[b-wlg1u5m6rl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.qbs-note--error[b-wlg1u5m6rl] {
    color: var(--lw-status-error-fg);
}

.qbs-note[b-wlg1u5m6rl]  .mud-icon-root {
    font-size: 1.1rem;
}

.qbs-link[b-wlg1u5m6rl] {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
}

.qbs-link:hover[b-wlg1u5m6rl] {
    opacity: 0.8;
}

/* FieldShell reskin of the row's MudAutocomplete (the AddVendorModal recipe, compacted to
   a 40px box so it sits inside a table row): white, 8px radius, --lw-input-border, 14px
   Inter, quiet gray adornments. */
.qbs-field[b-wlg1u5m6rl] {
    width: 100%;
    max-width: 420px;
}

.qbs-field[b-wlg1u5m6rl]  .mud-input-control {
    margin-top: 0;
}

.qbs-field[b-wlg1u5m6rl]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.qbs-field[b-wlg1u5m6rl]  .mud-input-outlined input.mud-input-slot {
    height: 40px;
    box-sizing: border-box;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.qbs-field[b-wlg1u5m6rl]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.qbs-field[b-wlg1u5m6rl]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.qbs-field[b-wlg1u5m6rl]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

.qbs-field[b-wlg1u5m6rl]  .mud-input-adornment .mud-icon-button,
.qbs-field[b-wlg1u5m6rl]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* List option rows (arr-option idiom). */
.qbs-option[b-wlg1u5m6rl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 2px 0;
}

.qbs-option-name[b-wlg1u5m6rl] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.qbs-option-sub[b-wlg1u5m6rl] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    .qbs-field[b-wlg1u5m6rl] {
        max-width: none;
    }

    /* 16px text (no iOS focus zoom) in a 44px box. */
    .qbs-field[b-wlg1u5m6rl]  .mud-input-outlined {
        font-size: 16px;
    }

    .qbs-field[b-wlg1u5m6rl]  .mud-input-outlined input.mud-input-slot {
        height: 44px;
        padding: 11px 12px;
        font-size: 16px;
    }

    /* Clear / caret adornments: 44px targets (the cco-field recipe). */
    .qbs-field[b-wlg1u5m6rl]  .mud-input-adornment .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }

    /* Option rows: a full tap target, long QuickBooks names wrap inside the list. */
    .qbs-option[b-wlg1u5m6rl] {
        min-height: 40px;
        justify-content: center;
    }

    .qbs-option-name[b-wlg1u5m6rl],
    .qbs-option-sub[b-wlg1u5m6rl] {
        overflow-wrap: anywhere;
    }

    .qbs-note[b-wlg1u5m6rl] {
        flex-wrap: wrap;
    }

    .qbs-link[b-wlg1u5m6rl] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 4px;
    }
}
/* _content/Ledgerwise/Components/Pages/Profile/UserProfile.razor.rz.scp.css */
/* ============================================================
   User Profile -- hero header + underline tab bar over a muted
   content zone. Canonical org-shell recipe: mirrors
   MyOrganization.razor.css, itself measured 2026-07-28 from
   ledgerwise-ui-app (organisms/profile-shell.tsx + molecules
   profile-hero-header / tab-bar / section-card /
   profile-detail-card / preferences-panel): white header zone
   px-24 pt-20, tabs mt-16 gap-24 h-40 14/500 w/ 2px foreground
   underline, content zone bg-muted p-24 gap-20; field labels
   12/500 muted-fg, values 14/500 foreground.
   ============================================================ */

/* Shell: escape the layout's pa-6 so the muted zone and the white
   header bleed edge-to-edge (same recipe as .lw-page-shell). */
.profile-shell[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    min-height: calc(100% + 48px);
    background: var(--lw-bg-muted);
}

/* --- Hero header ------------------------------------------ */
/* The identity zone is LwEntityHeader (the project detail header pattern: a
   person's circle avatar, name, company meta line, role chips), loaded and
   loading; its TabsBelow mode leaves the bottom open so the tab strip's own
   white top padding is the gap. Nothing of the hero is styled here.
   .profile-head-zone is only the white band that holds the loading tab sketch. */
.profile-head-zone[b-8pitcdbxd7] {
    background: var(--lw-white);
    padding: 0 24px;
}

/* --- Tab strip (Project.razor.css recipe, gap 24px) ------- */

.profile-tabs[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profile-tabs[b-8pitcdbxd7]  .mud-tabs,
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-inner,
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-content,
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-wrapper {
    background-color: transparent !important;
}

/* The tab strip continues the white header zone: 16px white gap above the
   tabs (reference mt-4 inside bg-background) painted as top padding here. */
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar {
    background-color: var(--lw-white) !important;
    border-bottom: 1px solid var(--lw-border);
    border-top: none;
    border-left: none;
    border-right: none;
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 24px 0;
}

.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-inner {
    min-height: 40px;
    overflow-x: auto;
    scrollbar-width: none;
}

.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-inner::-webkit-scrollbar {
    display: none;
}

/* Reference tabs are content-sized (shrink-0); Mud's default 160px box
   spreads them across the bar. !important because Mud's width rules win. */
.profile-tabs[b-8pitcdbxd7]  .mud-tab {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    min-height: 40px;
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

/* 24px between tabs = reference gap-6 on the org/profile TabBar. Gap on the
   flex wrapper (the tabs' actual parent) -- margins on .mud-tab lose to Mud. */
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar-wrapper {
    gap: 24px;
}

.profile-tabs[b-8pitcdbxd7]  .mud-tab,
.profile-tabs[b-8pitcdbxd7]  .mud-tab:hover,
.profile-tabs[b-8pitcdbxd7]  .mud-tab.mud-tab-active,
.profile-tabs[b-8pitcdbxd7]  .mud-tab.mud-tab-active:hover {
    background-color: transparent !important;
}

/* Reference tab states: inactive content-secondary; hover AND active are
   foreground (#1E1E24, NOT navy); weight stays 500 in every state. */
.profile-tabs[b-8pitcdbxd7]  .mud-tab:hover {
    color: var(--lw-text-primary);
}

.profile-tabs[b-8pitcdbxd7]  .mud-tab.mud-tab-active {
    color: var(--lw-text-primary);
}

/* Active-tab indicator -- 2px foreground bar spanning exactly the tab.
   Mud's JS-measured slider drifts against content-sized tabs + wrapper gap,
   so it is disabled and the bar is drawn as an inset box-shadow (::after on
   .mud-tab does not paint; see Project.razor.css). */
.profile-tabs[b-8pitcdbxd7]  .mud-tab-slider {
    display: none;
}

.profile-tabs[b-8pitcdbxd7]  .mud-tab.mud-tab-active {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

.profile-tabs[b-8pitcdbxd7]  .mud-tabs-scroll-button {
    display: none;
}

/* Panels container: muted zone flush against the tab line (reference content
   zone: bg-muted p-6). PanelClass lands on this same element, so the padding
   lives here; !important out-specifies Mud's own paints. */
.profile-tabs[b-8pitcdbxd7]  .mud-tabs-panels {
    background-color: var(--lw-bg-muted) !important;
    margin: 0 !important;
    padding: 24px !important;
}

/* --- Tab content layout ----------------------------------- */

.profile-tab-content[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Read-mode rows are the global .lw-field-rows (app.css) since US-926. */

/* --- Edit-mode form layout -------------------------------- */

/* Reference edit grid: grid-cols-2 gap-x-6 gap-y-4. Stacked fields keep
   the same 16px rhythm. */
.profile-form[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-grid2[b-8pitcdbxd7] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

/* Reference action row: flex justify-end gap-3 border-t pt-4. */
.profile-edit-actions[b-8pitcdbxd7] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

/* --- Preferences toggle rows ------------------------------ */

/* Reference preferences-panel: SectionCard body px-5 py-2, rows py-4
   separated by hairlines (divide-y). Card body is pa-0; this wrapper
   owns the padding so the hairlines run the full row width. */
.profile-rows[b-8pitcdbxd7] {
    padding: 0.5rem 1.25rem;
}

.profile-toggle-row[b-8pitcdbxd7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.profile-toggle-row + .profile-toggle-row[b-8pitcdbxd7] {
    border-top: 1px solid var(--lw-border);
}

.profile-toggle-row__text[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    flex: 1;
}

/* Reference row: label text-sm font-medium text-foreground,
   description text-xs text-muted-foreground. */
.profile-toggle-row__label[b-8pitcdbxd7] {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    color: var(--lw-text-primary);
}

.profile-toggle-row__desc[b-8pitcdbxd7] {
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-gray-space);
}

/* --- Loading skeleton (reference ProfileSkeleton) --------- */

/* Hero row: shimmer avatar + name/sub bars (reference: flex items-center
   gap-4; bars gap-2). Lives inside .profile-head-zone (white). */
.profile-skeleton__hero[b-8pitcdbxd7] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-skeleton__id[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

/* Tab-bar shimmers: mt-4, gap-6, hairline underneath; bars my-2.5 h-5. */
.profile-skeleton__tabs[b-8pitcdbxd7] {
    /* Full-bleed hairline: escape the head zone's 24px side padding so the
       line runs edge-to-edge like the real tab strip. */
    margin: 1rem -24px 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--lw-border);
    padding: 0.625rem 24px;
}

/* Phone stand-in for the section select (shown below 768px, see the phone block). */
.profile-skeleton__select[b-8pitcdbxd7] {
    display: none;
}

/* Content zone: muted p-6 (matches the real tab panels). */
.profile-skeleton__content[b-8pitcdbxd7] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 24px;
}

/* Card shell mirrors ControlCard (Shared/ControlCard.razor.css): form-surface
   card, white head band with the 44px tile, the title line with the subtitle
   line directly under it, and the action block at the far right; body padded
   like .cc-body. Paddings track ControlCard's own steps (24 / 20 / 16). */
.profile-skeleton__card[b-8pitcdbxd7] {
    overflow: hidden;
    border-radius: var(--lw-radius-card);
    border: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
}

.profile-skeleton__card-head[b-8pitcdbxd7] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.profile-skeleton__card-tile[b-8pitcdbxd7],
.profile-skeleton__card-action[b-8pitcdbxd7] {
    flex-shrink: 0;
    display: flex;
}

/* LwSkeleton renders outside this page's CSS scope: size the tile and the
   action through ::deep so the phone rule below can resize the action. */
.profile-skeleton__card-tile[b-8pitcdbxd7]  .lw-skeleton {
    width: 44px;
    height: 44px;
    border-radius: var(--lw-radius-card);
}

/* Title 24px line over the 16px subtitle line = the 40px .cc-head__text block. */
.profile-skeleton__card-text[b-8pitcdbxd7] {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* Desktop Edit: the 36px outline .lw-page-action. */
.profile-skeleton__card-action[b-8pitcdbxd7]  .lw-skeleton {
    width: 76px;
    height: 36px;
    border-radius: var(--lw-radius-control);
}

.profile-skeleton__card-body[b-8pitcdbxd7] {
    padding: 24px;
}

@media (max-width: 767.98px) {
    .profile-skeleton__card-head[b-8pitcdbxd7] {
        padding: 16px 20px;
    }

    .profile-skeleton__card-body[b-8pitcdbxd7] {
        padding: 20px;
    }

    .profile-skeleton__card-action[b-8pitcdbxd7]  .lw-skeleton {
        height: 44px;
    }
}

/* Phone: the head is ControlCard's inline-action grid (tile | text | 44px action). */
@media (max-width: 599px) {
    .profile-skeleton__card-head[b-8pitcdbxd7] {
        padding: 16px;
    }

    .profile-skeleton__card-action[b-8pitcdbxd7]  .lw-skeleton {
        width: 44px;
    }
}

/* Reference: grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-5 px-5 py-5. */
@media (max-width: 600px) {
    .profile-grid2[b-8pitcdbxd7] {
        grid-template-columns: 1fr;
    }

    .profile-head-zone[b-8pitcdbxd7] {
        padding: 20px 16px 0;
    }

    .profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar {
        padding: 16px 16px 0;
    }

    .profile-tabs[b-8pitcdbxd7]  .mud-tabs-panels {
        padding: 16px !important;
    }

    /* The skeleton card sits on the same 16px gutter as the real panels. */
    .profile-skeleton__content[b-8pitcdbxd7] {
        padding: 16px;
    }
}

/* -- Phone (US-926): the My Organization rules -- O2 header, O3 section select, inline
   icon-only card action, O8 edit actions. -- */
.profile-tab-switch[b-8pitcdbxd7] {
    display: none;
}

@media (max-width: 767.98px) {
    /* The identity zone is LwEntityHeader (TabsBelow: open bottom). 12px above the
       select = the gap the project header keeps above its section select
       (LwProjectHeader 12px bottom padding + .project-tab-switch 0 top). */
    .profile-tab-switch[b-8pitcdbxd7] {
        display: block;
        padding: 12px 16px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    /* Loading: the tab sketch becomes one full-width bar standing in for the section
       select, on the same 12px / 16px / 12px box. The two desktop tab bars are
       LwSkeleton roots (child component), hence ::deep. */
    .profile-head-zone[b-8pitcdbxd7] {
        padding: 0 16px;
    }

    .profile-skeleton__tabs[b-8pitcdbxd7] {
        margin: 0 -16px;
        padding: 12px 16px;
    }

    .profile-skeleton__tabs[b-8pitcdbxd7]  > .lw-skeleton {
        display: none;
    }

    .profile-skeleton__select[b-8pitcdbxd7] {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .profile-tabs[b-8pitcdbxd7]  .mud-tabs-tabbar {
        display: none;
    }

    /* 44px targets (US-1043): the section select trigger (rendered by LwSectionSelect)
       and the card-header Edit action. The shared .lw-card-action recipe only starts
       under 600px, so the 600-767px band takes its height here -- the My Organization
       rule (.org-tab-content .lw-page-action), no page-only class on the button. */
    .profile-tab-switch[b-8pitcdbxd7]  .lw-section-select__trigger {
        height: 44px;
    }

    .profile-tab-content .lw-page-action[b-8pitcdbxd7] {
        height: 44px;
    }

    /* Read rows: a value too long to sit beside its label (an email address, a long name)
       drops to its own line and keeps to the right edge, so it only breaks mid-word when
       it is wider than the whole card. */
    .profile-tab-content .lw-field-row[b-8pitcdbxd7] {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .profile-tab-content .lw-field-value[b-8pitcdbxd7] {
        min-width: 0;
        max-width: 100%;
        margin-left: auto;
    }
}

/* The card-header Edit goes icon-only through the shared .lw-card-action rule
   (lw-page.css); the page keeps no copy of that recipe. */
@media (max-width: 599px) {
    .profile-edit-actions[b-8pitcdbxd7]  .lw-button:last-child {
        flex: 1 1 auto;
    }

    .profile-edit-actions[b-8pitcdbxd7]  .lw-button:last-child .lw-button-native {
        width: 100%;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/AddProject.razor.rz.scp.css */
/* Add-project wizard -- PAGE-SPECIFIC step bodies only. The wizard shell
   (pw-shell / pw-rail* / pw-main / pw-content / pw-stack / pw-cc-link /
   pw-grid2) moved to css/components/lw-wizard.css 2026-07-28 when
   AddContractor became the second wizard consumer. */
/* -- Identity step -- */
.pw-identity[b-fr78vdzj7r] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.pw-identity__fields[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pw-identity__avatar[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* -- Owners -- */
.pw-owners[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pw-owner-card[b-fr78vdzj7r] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
}

.pw-owner-card__head[b-fr78vdzj7r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--lw-border);
    padding: 16px 20px;
}

.pw-owner-card__name[b-fr78vdzj7r] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

/* Owner card head: name + chips as one group on the left; the action sits alone on the right. */
.pw-owner-card__title[b-fr78vdzj7r] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pw-owner-card__remove[b-fr78vdzj7r] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    display: inline-flex;
    padding: 4px;
    border-radius: 6px;
}

.pw-owner-card__remove:hover[b-fr78vdzj7r] {
    color: var(--bs-danger, #d33);
}

.pw-owner-card__remove[b-fr78vdzj7r]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: currentColor !important;
}

.pw-owner-card__body[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.pw-owner-card__note[b-fr78vdzj7r] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pw-add-btn[b-fr78vdzj7r] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: 8px;
    color: var(--lw-text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.pw-add-btn:hover[b-fr78vdzj7r] {
    background: var(--lw-bg-muted);
}

.pw-add-btn[b-fr78vdzj7r]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.pw-owners__note[b-fr78vdzj7r] {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* -- Team -- */
.pw-team[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Optional role + person rows (a repeater), separated from the required part by a hairline. */
.pw-team__others[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--lw-border);
}

.pw-team__cap[b-fr78vdzj7r] {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.pw-team__row[b-fr78vdzj7r] {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 40px;
    gap: 12px;
    align-items: center;
}

.pw-team__remove[b-fr78vdzj7r] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lw-radius-control);
}

/* The app's delete-icon hover: light red frame, red icon (CreateChangeOrderModal, invoice tabs). */
.pw-team__remove:hover[b-fr78vdzj7r] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.pw-team__remove[b-fr78vdzj7r]  .mud-icon-root {
    font-size: 18px;
    color: currentColor !important;
}

@media (max-width: 767.98px) {
    .pw-team__row[b-fr78vdzj7r] {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .pw-team__row > :nth-child(2)[b-fr78vdzj7r] {
        grid-column: 1 / 2;
    }

    .pw-team__remove[b-fr78vdzj7r] {
        width: 44px;
        height: 44px;
        grid-row: 1 / 3;
        grid-column: 2;
        align-self: center;
    }
}

/* Owner's team: one owner-style card per person. */
.pw-oteam[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* -- Review -- */
.pw-rev[b-fr78vdzj7r] {
    display: flex;
    flex-direction: column;
}

.pw-rev__row[b-fr78vdzj7r] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--lw-border);
}

.pw-rev__row:last-child[b-fr78vdzj7r] {
    border-bottom: 0;
}

.pw-rev__label[b-fr78vdzj7r] {
    flex: 0 0 144px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.pw-rev__value[b-fr78vdzj7r] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--lw-text-primary);
    word-break: break-word;
}

.pw-rev__owner[b-fr78vdzj7r] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.pw-rev__sub[b-fr78vdzj7r] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pw-rev__avatar[b-fr78vdzj7r] {
    width: 36px;
    height: 36px;
    border-radius: var(--lw-radius-control);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--lw-gradient-project-avatar);
    color: #fff;
}

.pw-rev__avatar img[b-fr78vdzj7r] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -- Responsive -- */
/* Phone (US-1043): the house breakpoint. Between 768 and 900 the rail is already
   gone (lw-wizard.css collapses it at 860) and the step column is at least
   ~520px wide, so the fields | avatar pair still fits side by side there; the
   avatar tile only drops under the fields on phones. */
@media (max-width: 767.98px) {
    .pw-identity[b-fr78vdzj7r] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pw-identity__avatar[b-fr78vdzj7r] {
        align-items: flex-start;
    }

    /* Header links (Choose Existing, Clear, Edit) are 13px text with no
       padding: give them a 44px tap target without growing the row. */
    .pw-cc-link[b-fr78vdzj7r] {
        min-height: 44px;
        margin-top: -12px;
        margin-bottom: -12px;
    }

    /* Owner cards: 16px insets (O10); the head wraps so a long name keeps its
       ellipsis on the first line and the chip / Clear cluster drops under it
       instead of squeezing it to nothing. */
    .pw-owner-card__head[b-fr78vdzj7r] {
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .pw-owner-card__name[b-fr78vdzj7r] {
        flex: 1 1 140px;
    }

    .pw-owner-card__body[b-fr78vdzj7r] {
        padding: 16px;
    }

    /* Trash button: 44px target (A3) drawn around the 18px glyph; the negative
       margins keep the head the same height as the text beside it. */
    .pw-owner-card__remove[b-fr78vdzj7r] {
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        margin: -12px -12px -12px 0;
    }

    .pw-add-btn[b-fr78vdzj7r] {
        height: 44px;
    }
}

/* Review (US-1043): under 480px the 144px label column left ~130px for values
   like an address or an email, so label and value stack -- 11px uppercase
   graphite label over the 14px value, row hairlines kept. */
@media (max-width: 479.98px) {
    .pw-rev__row[b-fr78vdzj7r] {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .pw-rev__label[b-fr78vdzj7r] {
        flex: 0 0 auto;
        font-size: 11px;
        font-weight: 600;
        line-height: 16px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .pw-rev__value[b-fr78vdzj7r] {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Narrow-viewport shell collapse (rail hidden, pw-grid2 single column) is
   promoted to css/components/lw-wizard.css (2026-08-23). */

/* -- Wizard review states (US-1047: #7 #8 #10) -- */
/* Missed required field after Next: LwTextField and AddressAutocomplete each own
   their Error / ErrorText rendering; the page only decides when it applies. */

/* Existing-owner match under the email (#8): a quiet info line with the action inline. */
.pw-owner-match[b-fr78vdzj7r] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--lw-status-info-bg);
    color: var(--lw-text-primary);
    font-size: 13px;
    line-height: 18px;
}

.pw-owner-match[b-fr78vdzj7r]  .mud-icon-root {
    font-size: 18px;
    color: var(--lw-status-info-fg);
}

/* Same person on both owner cards. */
.pw-owner-match--error[b-fr78vdzj7r] {
    background: var(--lw-status-error-bg);
}

.pw-owner-match--error[b-fr78vdzj7r]  .mud-icon-root {
    color: var(--lw-destructive);
}

/* What happens when you create it (#10): three short numbered steps inside the callout. */
.pw-rev__steps[b-fr78vdzj7r] {
    margin: 4px 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-text-primary);
}

/* Existing owner, read-only: LwLabelValue cells in two columns like the input grid. */
.pw-owner-grid[b-fr78vdzj7r] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

@media (max-width: 767.98px) {
    .pw-owner-grid[b-fr78vdzj7r] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/AdjustmentEquation.razor.rz.scp.css */
/* AdjustmentEquation: a framed grid. Labels share the first line, values and
   operators the second, a validation message the third (full width). Below 600px
   (phones; the modal is a full-width sheet there) it becomes one term per line --
   operator | label | value -- so "+" and "=" stay attached to the term they apply to. */
.adj-eq[b-qax3u4ro6z] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr) auto minmax(0, 1fr);
    grid-template-areas:
        "l1 .  l2 .  l3"
        "v1 o1 v2 o2 v3"
        "e  e  e  e  e";
    column-gap: 12px;
    row-gap: 6px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

/* Inside a row the host already frames (Edit Amounts). */
.adj-eq--flat[b-qax3u4ro6z] {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.adj-eq-l1[b-qax3u4ro6z] { grid-area: l1; }
.adj-eq-l2[b-qax3u4ro6z] { grid-area: l2; }
.adj-eq-l3[b-qax3u4ro6z] { grid-area: l3; text-align: right; }
.adj-eq-v1[b-qax3u4ro6z] { grid-area: v1; }
.adj-eq-v2[b-qax3u4ro6z] { grid-area: v2; }
.adj-eq-v3[b-qax3u4ro6z] { grid-area: v3; text-align: right; }
.adj-eq-o1[b-qax3u4ro6z] { grid-area: o1; }
.adj-eq-o2[b-qax3u4ro6z] { grid-area: o2; }

.adj-eq-label[b-qax3u4ro6z] {
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.adj-eq-value[b-qax3u4ro6z] {
    font-size: 16px;
    font-weight: var(--lw-font-semibold);
    line-height: 22px;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Nothing to show yet (no line chosen): a quiet placeholder, not a figure. */
.adj-eq-value--empty[b-qax3u4ro6z] {
    font-weight: 400;
    color: var(--lw-gray-space);
}

.adj-eq-value--up[b-qax3u4ro6z] {
    color: var(--lw-status-error-fg);
}

.adj-eq-value--down[b-qax3u4ro6z] {
    color: var(--lw-status-success-fg);
}

.adj-eq-op[b-qax3u4ro6z] {
    font-size: 18px;
    line-height: 1;
    color: var(--lw-gray-graphite);
}

.adj-eq-input[b-qax3u4ro6z] {
    min-width: 0;
}

.adj-eq-error[b-qax3u4ro6z] {
    grid-area: e;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-status-error-fg);
}

/* Phones (US-1043). Three terms side by side leave ~95px a figure at 360px, which
   cut seven-figure amounts off; each term takes its own line instead:

       Current                 $125,000.00
     + Adjustment           [ $ 5,000.00 ]
     = New total               $130,000.00

   The operator sits in its own leading column on the line of the operand it
   belongs to, so it can never be orphaned by a wrap. Figures are right-aligned
   tabular numerals so the digits line up down the column. */
@media (max-width: 599.98px) {
    .adj-eq[b-qax3u4ro6z] {
        grid-template-columns: 14px auto minmax(0, 1fr);
        grid-template-areas:
            ".  l1 v1"
            "o1 l2 v2"
            "o2 l3 v3"
            "e  e  e";
        column-gap: 8px;
        row-gap: 10px;
    }

    .adj-eq-op[b-qax3u4ro6z] {
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .adj-eq-label[b-qax3u4ro6z] {
        white-space: nowrap;
    }

    .adj-eq-l3[b-qax3u4ro6z] {
        text-align: left;
    }

    .adj-eq-v1[b-qax3u4ro6z],
    .adj-eq-v3[b-qax3u4ro6z] {
        text-align: right;
    }

    /* A figure too long for the line wraps rather than being cut off. */
    .adj-eq-value[b-qax3u4ro6z] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* The field keeps a comfortable minimum next to the label column. */
    .adj-eq-input[b-qax3u4ro6z] {
        min-width: 120px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetAdjustmentDocumentList.razor.rz.scp.css */
/* BudgetAdjustmentDocumentList -- a budget adjustment's attached documents (Bug-1112).
   The row rules moved here from ChangeOrderDetailModal.razor.css (cod-file) and
   SubmitChangeOrderModal.razor.css (sco-file, the "Previously uploaded" rows), which were
   identical, when the list became a component shared by both sheets: scoped rules do not
   follow markup into a child component. The remove button is the sco-file-remove recipe; its
   armed state is the drawer idiom (LwInvoiceNumberEditor's armed row). All chrome from --lw-*
   tokens. */

.badl-files[b-s0jq3lwxcj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.badl-file[b-s0jq3lwxcj] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    transition: border-color 0.15s ease, background 0.15s ease;
}

/* US-1232: an openable row (OnOpen) -- the Project Owner sheet's attachment row states
   (coa-attachment): a half-strength accent border on hover, the full accent while its document
   is open in the pane. An armed remove still wins (declared after). */
.badl-file:has(> .badl-file-open:hover)[b-s0jq3lwxcj] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 50%, transparent);
}

.badl-file--active[b-s0jq3lwxcj] {
    border-color: var(--lw-primary-blue);
}

.badl-file--armed[b-s0jq3lwxcj] {
    border-color: var(--lw-destructive);
    background: color-mix(in srgb, var(--lw-destructive) 6%, var(--lw-white));
}

/* The open button carries the icon, name and size, so the whole text of the row is the target. */
.badl-file-open[b-s0jq3lwxcj] {
    flex: 1;
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.badl-file-open:focus-visible[b-s0jq3lwxcj] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: var(--lw-radius-control);
}

.badl-file-icon[b-s0jq3lwxcj] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-success-dark);
}

.badl-file-icon[b-s0jq3lwxcj]  .mud-icon-root { width: 1rem; height: 1rem; }

.badl-file-name[b-s0jq3lwxcj] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.badl-file-size[b-s0jq3lwxcj] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.badl-file-remove[b-s0jq3lwxcj] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 0;
    background: none;
    padding: 0;
    border-radius: var(--lw-radius-control);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.badl-file-remove:hover[b-s0jq3lwxcj],
.badl-file-remove--armed[b-s0jq3lwxcj] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.badl-file-remove[b-s0jq3lwxcj]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* Phone (app breakpoint 767.98): a 44px tap target, as the sheets' other row buttons. */
@media (max-width: 767.98px) {
    .badl-file[b-s0jq3lwxcj] {
        min-height: 44px;
        padding: 2px 4px 2px 12px;
    }

    .badl-file-remove[b-s0jq3lwxcj] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetAdjustmentLineList.razor.rz.scp.css */
/* BudgetAdjustmentLineList -- the changed lines of a draft budget adjustment.
   Rules moved here from SubmitChangeOrderModal.razor.css (the sco-line / sco-delta /
   sco-calc groups) when the list became a component shared with the draft detail sheet
   (US-947): scoped rules do not follow markup into a child component. Values unchanged;
   all chrome from --lw-* tokens. */

.bal-lines[b-f6vdknvplr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bal-empty[b-f6vdknvplr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    text-align: center;
}

.bal-empty-icon[b-f6vdknvplr] {
    display: inline-flex;
    color: var(--lw-gray-smoke);
}

.bal-empty-icon[b-f6vdknvplr]  .mud-icon-root { width: 32px; height: 32px; }

.bal-empty-text[b-f6vdknvplr] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* Line-item card: canonical shadow card with a divided header. */
.bal-line[b-f6vdknvplr] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.bal-line--draggable[b-f6vdknvplr] {
    cursor: move;
}

/* Send tick (left of the name). An unticked line keeps only its header, muted, and
   stays on the budget unsent. */
.bal-line-send[b-f6vdknvplr] {
    display: inline-flex;
    flex-shrink: 0;
}

.bal-line-send[b-f6vdknvplr]  .lw-checkbox__label {
    display: none;
}

.bal-line--held .bal-line-top[b-f6vdknvplr] {
    border-bottom: 0;
}

.bal-line--held .bal-line-name[b-f6vdknvplr],
.bal-line--held .bal-line-new[b-f6vdknvplr],
.bal-line--held .bal-delta[b-f6vdknvplr] {
    color: var(--lw-gray-graphite);
}

/* Header band: identity left, money right (canonical list-row recipe),
   divider beneath. */
.bal-line-top[b-f6vdknvplr] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.bal-line-grip[b-f6vdknvplr] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

.bal-line-grip[b-f6vdknvplr]  .mud-icon-root { width: 1rem; height: 1rem; }

.bal-line-grip--calc[b-f6vdknvplr] {
    cursor: default;
}

.bal-line-name[b-f6vdknvplr] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Previous -> new -> signed delta strip, right-aligned. */
.bal-line-amounts[b-f6vdknvplr] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.bal-line-prev[b-f6vdknvplr] {
    font-size: 14px;
    color: var(--lw-gray-graphite);
    text-decoration: line-through;
}

.bal-line-arrow[b-f6vdknvplr] {
    display: inline-flex;
    color: var(--lw-gray-graphite);
}

.bal-line-arrow[b-f6vdknvplr]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

.bal-line-new[b-f6vdknvplr] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.bal-line--waived .bal-line-new[b-f6vdknvplr] {
    color: var(--lw-gray-graphite);
}

/* Delta semantics per the BA spec: increase = destructive red, cut = green. */
.bal-delta[b-f6vdknvplr] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
}

.bal-delta--up[b-f6vdknvplr] {
    color: var(--lw-status-error-fg);
}

.bal-delta--down[b-f6vdknvplr] {
    color: var(--lw-status-success-fg);
}

.bal-delta--none[b-f6vdknvplr] {
    color: var(--lw-gray-graphite);
}

/* Body under the header band: canonical form-surface fill. Reason field, then one
   checkbox per calculated line item this change counts toward. */
.bal-line-body[b-f6vdknvplr] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px 14px;
    background: var(--lw-form-surface);
}

.bal-fees[b-f6vdknvplr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

/* Calculated line item row: one quiet line under the header -- the formula in
   secondary text (truncates, full text on hover), the struck "not applied" chip,
   and on a long adjustment the all-at-once text actions. */
.bal-calc[b-f6vdknvplr] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 12px;
    min-width: 0;
}

.bal-calc-formula[b-f6vdknvplr] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bal-calc-waived[b-f6vdknvplr] {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--lw-bg-secondary);
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.bal-calc-action[b-f6vdknvplr] {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
    white-space: nowrap;
}

.bal-calc-action:hover[b-f6vdknvplr] {
    text-decoration: underline;
}

/* Row menu slot at the end of the header band (touch alternative to the grip). */
.bal-line-menu[b-f6vdknvplr] {
    display: inline-flex;
    flex-shrink: 0;
    margin: -8px -8px -8px 0;
}

/* Touch-only devices cannot drag: the grip goes, the row menu does the moving. */
@media (hover: none) {
    .bal-line-grip:not(.bal-line-grip--calc)[b-f6vdknvplr] {
        display: none;
    }

    .bal-line--draggable[b-f6vdknvplr] {
        cursor: default;
    }
}

/* Phones (US-1043): the header band stacks -- name (and the row menu) on the first
   line, the old -> new -> delta strip on the second, wrapping rather than clipping;
   the reason field is full width (16px via the phone input token); the "Apply ..."
   checkboxes become one 44px row each; the all-at-once text links become 44px
   ghost buttons on their own line under the formula. */
@media (max-width: 767.98px) {
    .bal-line-top[b-f6vdknvplr] {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .bal-line-name[b-f6vdknvplr] {
        flex: 1 1 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    .bal-line-amounts[b-f6vdknvplr] {
        order: 1;
        flex: 1 1 100%;
        flex-wrap: wrap;
        row-gap: 2px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .bal-line-menu[b-f6vdknvplr] {
        margin: -6px -10px -6px 0;
    }

    .bal-line-menu[b-f6vdknvplr]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    .bal-fees[b-f6vdknvplr] {
        flex-direction: column;
        gap: 0;
    }

    .bal-fees[b-f6vdknvplr]  .lw-checkbox__row {
        align-items: center;
        min-height: 44px;
    }

    .bal-fees[b-f6vdknvplr]  .lw-checkbox__box {
        margin-top: 0;
    }

    .bal-calc[b-f6vdknvplr] {
        flex-wrap: wrap;
        gap: 8px 10px;
    }

    .bal-calc-formula[b-f6vdknvplr] {
        flex-basis: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .bal-calc-action[b-f6vdknvplr] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 12px;
        margin-left: -12px;
        border-radius: var(--lw-radius-control);
        transition: background 0.15s ease;
    }

    .bal-calc-action + .bal-calc-action[b-f6vdknvplr] {
        margin-left: 0;
    }

    .bal-calc-action:hover[b-f6vdknvplr] {
        text-decoration: none;
        background: var(--lw-accent);
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetAdjustmentLineTable.razor.rz.scp.css */
/* BudgetAdjustmentLineTable -- a budget adjustment's lines shaped like the budget.
   Source design: "Option - Always editable" and "Recommended 7" on the BAPlaceholders board.
   Rows 48px, category rows 44px, header 44px on --lw-bg-table-header. All chrome from --lw-*
   tokens. Increase = destructive red, cut = green, as in BudgetAdjustmentLineList. */

.balt[b-vn6us3djp8] {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.balt-table[b-vn6us3djp8] {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.balt-table th[b-vn6us3djp8] {
    height: 44px;
    padding: 0 12px;
    background: var(--lw-bg-table-header);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--lw-gray-graphite);
    border-bottom: 1px solid var(--lw-border);
    position: relative;
}

/* Thin rule on each header's right edge, as on the Budget tab's header. */
.balt-table th:not(:last-child):not(.balt-send)[b-vn6us3djp8]::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    width: 1px;
    background: var(--lw-border);
}

.balt-table td[b-vn6us3djp8] {
    height: 48px;
    padding: 4px 12px;
    border-bottom: 1px solid var(--lw-border);
    vertical-align: middle;
}

.balt-table .balt-money[b-vn6us3djp8] {
    text-align: right;
    white-space: nowrap;
}

.balt-num[b-vn6us3djp8] {
    width: 64px;
    white-space: nowrap;
    color: var(--lw-gray-graphite);
}

.balt-desc[b-vn6us3djp8] {
    min-width: 200px;
}

.balt-before[b-vn6us3djp8] {
    color: var(--lw-gray-graphite);
}

.balt-name[b-vn6us3djp8],
.balt-sub[b-vn6us3djp8] {
    display: block;
}

.balt-sub[b-vn6us3djp8] {
    margin-top: 2px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.balt--edit .balt-new[b-vn6us3djp8] {
    width: 138px;
}

.balt-send[b-vn6us3djp8] {
    width: 36px;
    padding-right: 0 !important;
}

.balt-send[b-vn6us3djp8]  .lw-checkbox__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.balt-table th.balt-reason[b-vn6us3djp8] {
    width: 30%;
}

.balt-table .balt-fee[b-vn6us3djp8] {
    width: 96px;
    text-align: center;
}

.balt-fees[b-vn6us3djp8] {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.balt-fees--named[b-vn6us3djp8] {
    align-items: flex-start;
}

.balt-fees:not(.balt-fees--named)[b-vn6us3djp8]  .lw-checkbox__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* The frame closes the table, so the last row needs no rule of its own. */
.balt-table tbody tr:last-child td[b-vn6us3djp8] {
    border-bottom: 0;
}

/* Category rows: the budget's own band, number and name, subtotal in Change. */
.balt-cat td[b-vn6us3djp8] {
    height: 44px;
    background: var(--lw-bg-table-header);
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Calculated rows close the table, read-only in every mode. */
.balt-calc td[b-vn6us3djp8] {
    padding-top: 10px;
    padding-bottom: 10px;
    background: var(--lw-bg-table-header);
}

.balt-calc .balt-name[b-vn6us3djp8] {
    font-weight: var(--lw-font-semibold);
}

.balt-calc .balt-num[b-vn6us3djp8]  .mud-icon-root {
    width: 1rem;
    height: 1rem;
    display: block;
}

/* Under the name, the part left out beside the formula. The line is as tall as the badge, so
   the row keeps its height with or without one. The draft's wrapped formula keeps Description
   from squeezing the Current and Reason inputs. */
.balt-calc-sub[b-vn6us3djp8] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    margin-top: 2px;
}

.balt-calc-formula[b-vn6us3djp8] {
    font-size: 13px;
    line-height: 1.25;
    color: var(--lw-gray-graphite);
}

.balt--edit .balt-calc-formula[b-vn6us3djp8] {
    max-width: 240px;
}

.balt-new .balt-input[b-vn6us3djp8] {
    min-width: 96px;
}

.balt-waived[b-vn6us3djp8] {
    flex: 0 0 auto;
    padding: 0 8px;
    border-radius: 999px;
    line-height: 20px;
    background: color-mix(in srgb, var(--lw-gray-smoke) 60%, var(--lw-bg-secondary));
    font-size: 12px;
    color: var(--lw-gray-arsenic);
    white-space: nowrap;
}


.balt-delta--up[b-vn6us3djp8] {
    color: var(--lw-status-error-fg);
}

.balt-delta--down[b-vn6us3djp8] {
    color: var(--lw-status-success-fg);
}

.balt-delta--none[b-vn6us3djp8] {
    color: var(--lw-gray-graphite);
}

/* An unticked line stays in the table, muted, and is left out of the subtotal. */
.balt-line--held td[b-vn6us3djp8],
.balt-line--held .balt-name[b-vn6us3djp8] {
    color: var(--lw-gray-graphite);
}

.balt-input[b-vn6us3djp8] {
    box-sizing: border-box;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-form-surface);
    font-family: inherit;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    outline: none;
}

.balt-input[b-vn6us3djp8]::placeholder {
    color: var(--lw-gray-graphite);
}

.balt-input:focus[b-vn6us3djp8] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px var(--lw-primary-blue);
}

.balt-input--money[b-vn6us3djp8] {
    text-align: right;
}

/* Phones: each line stacks. Number and name first, then labelled figures and fields; the
   empty cells go. Inputs use 16px so iOS does not zoom on focus. */
@media (max-width: 767.98px) {
    .balt-table thead[b-vn6us3djp8] {
        display: none;
    }

    .balt-table[b-vn6us3djp8],
    .balt-table tbody[b-vn6us3djp8],
    .balt-table tr[b-vn6us3djp8],
    .balt-table td[b-vn6us3djp8] {
        display: block;
        width: auto;
    }

    .balt-table tr[b-vn6us3djp8] {
        position: relative;
        padding: 10px 0;
        border-bottom: 1px solid var(--lw-border);
    }

    .balt-table tbody tr:last-child[b-vn6us3djp8] {
        border-bottom: 0;
    }

    .balt-table td[b-vn6us3djp8] {
        height: auto;
        padding: 2px 12px;
        border-bottom: 0;
    }

    .balt-table td:empty[b-vn6us3djp8],
    .balt-table .balt-empty[b-vn6us3djp8] {
        display: none;
    }

    .balt-cat[b-vn6us3djp8],
    .balt-calc[b-vn6us3djp8] {
        background: var(--lw-bg-table-header);
    }

    .balt-calc-sub[b-vn6us3djp8] {
        flex-wrap: wrap;
    }

    .balt--edit .balt-calc-formula[b-vn6us3djp8] {
        max-width: none;
    }

    .balt-table .balt-money[b-vn6us3djp8],
    .balt-table .balt-reason[b-vn6us3djp8],
    .balt-table .balt-fee[b-vn6us3djp8] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: right;
    }

    .balt-table td[data-label][b-vn6us3djp8]::before {
        content: attr(data-label);
        flex-shrink: 0;
        font-size: 13px;
        color: var(--lw-gray-graphite);
    }

    .balt-send[b-vn6us3djp8] {
        position: absolute;
        top: 8px;
        right: 0;
    }

    .balt-input[b-vn6us3djp8] {
        height: 44px;
        font-size: 16px;
    }

    .balt-table .balt-new .balt-input[b-vn6us3djp8],
    .balt-table .balt-reason .balt-input[b-vn6us3djp8] {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        margin-left: 24px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetTableHeader.razor.rz.scp.css */
.bth[b-frs82gqo9o] {
    position: sticky;
    top: 0;
    /* Above the row layer's absolutely positioned chrome (seam reveal "+" at
       z-50, description pills) so nothing scrolls OVER the frozen header; the
       sticky footer (z-20) and real popovers (z-1000+) are unaffected. */
    z-index: 60;
}

.bth-row[b-frs82gqo9o] {
    background: var(--lw-bg-table-header);
    /* No border-bottom here: under border-collapse a tr border stays behind
       when the sticky thead floats, and it doubled up with the cells' inset
       shadow (budget-table.css thead th), which is the single border source. */
}

.bth-th[b-frs82gqo9o] {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    text-align: right;
    font-size: 11px;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: var(--lw-bg-table-header);
    white-space: nowrap;
    vertical-align: middle;
}

.bth-align-left[b-frs82gqo9o] {
    text-align: left;
}

.bth-expand-btn[b-frs82gqo9o],
.bth-expand-placeholder[b-frs82gqo9o] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* US-916: same box as the row toggle (.bt-iconbtn-sm) so the two line up exactly. */
    width: 1.625rem;
    height: 1.625rem;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

/* US-916: expand-all / collapse-all is the master of the per-row plus/minus
   toggles, so it carries the same brand accent and a larger glyph. The
   placeholder shown on an empty budget stays muted -- it is not a control. */
.bth-expand-btn[b-frs82gqo9o] {
    color: var(--lw-primary-blue);
}

.bth-expand-btn:hover[b-frs82gqo9o] {
    background: var(--lw-accent);
    color: var(--lw-primary-blue);
}

.bth-expand-btn[b-frs82gqo9o]  .mud-icon-root {
    font-size: 1.0625rem !important;
}

.bth-expand-placeholder[b-frs82gqo9o]  .mud-icon-root {
    font-size: 0.875rem !important;
}

/* Phones (US-1043, 2026-10-12). No header cell is frozen left: the whole
   header scrolls horizontally with its columns (shared sheet,
   budget-table.css, "Phones" section). .bth stays the sticky thead at
   z 60. Labels never wrap; the phone column widths (Description 160px,
   money 8.5rem) seat every label. (Feature 1170: no Line # column; the
   number is a prefix inside Description.) */
@media (max-width: 767.98px) {
    .bth-th[b-frs82gqo9o] {
        white-space: nowrap;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetTemplateToolbar.razor.rz.scp.css */
/* Template editor toolbar -- content chrome only; the bar itself is the shared
   .lw-page-toolbar recipe (lw-page.css). HAND-DUPLICATED subset of
   ControlBudgetToolbar.razor.css (the setup twin): the left/right clusters, the
   status chip, the search wrap and the phone layout. Mirror changes to those
   rules here. Source: ledgerwise-app gc-budget-table.tsx subheader. */

.bt-toolbar-left[b-wmykpl398k],
.bt-toolbar-right[b-wmykpl398k] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* -- Search (shared .lw-page-search shell + clear button) -- */
.bt-search-wrap[b-wmykpl398k] {
    position: relative;
}

/* -- Saving status chip -- */
.bt-status-chip[b-wmykpl398k] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.5rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-status-info-fg);
    background: color-mix(in srgb, var(--lw-status-info-fg) 8%, transparent);
    border-radius: var(--lw-radius-control);
}

/* Never wrap on desktop: the left side shrinks and the actions keep their width. */
@media (min-width: 768px) {
    .bt-toolbar[b-wmykpl398k] {
        flex-wrap: nowrap;
    }

    .bt-toolbar-left[b-wmykpl398k] {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .bt-toolbar-right[b-wmykpl398k] {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }
}

/* ---- Phones (US-1043, same as the budget twins) ----
   Search full width on its own row; fullscreen is desktop-only; 44px targets. */
@media (max-width: 767.98px) {
    .bt-toolbar[b-wmykpl398k] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 16px;
    }

    .bt-toolbar-left:empty[b-wmykpl398k] {
        display: none;
    }

    .bt-toolbar-right[b-wmykpl398k] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .bt-search-wrap[b-wmykpl398k] {
        order: -1;
        flex: 1 1 100%;
        min-width: 0;
    }

    .bt-search-wrap .lw-page-search[b-wmykpl398k] {
        width: 100%;
        height: 44px;
    }

    .bt-fullscreen-btn[b-wmykpl398k] {
        display: none;
    }

    .bt-toolbar-right .lw-row-icon-btn[b-wmykpl398k] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/BudgetToolbar.razor.rz.scp.css */
/* Budget toolbar -- content chrome only; the bar itself is the shared
   .lw-page-toolbar recipe (lw-page.css). Source: ledgerwise-app
   gc-budget-table.tsx subheader + molecules/pending-edit-bar.tsx (2026-07-12).
   MIRROR any change here in ControlBudgetToolbar.razor.css (hand-duplicated
   twin; the fullscreen modals do not render toolbars). */

/* O14: a busy button is still a button; the cursor says why nothing happened. */
.bt-toolbar [aria-busy="true"][b-x9idp3ycz1] {
    cursor: progress;
}

.bt-toolbar-left[b-x9idp3ycz1],
.bt-toolbar-right[b-x9idp3ycz1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* -- Search (shared .lw-page-search shell + clear button) -- */
.bt-search-wrap[b-x9idp3ycz1] {
    position: relative;
}

/* Search clear lives in lw-page.css as .lw-page-search-clear (promoted
   2026-09-10 when the budget history drawer became the second consumer). */

/* -- Pending edits (reference pending-edit-bar.tsx: ghost Undo + navy
   Request/Submit Adjustment with a white/20 count badge) -- */
.bt-pending-bar[b-x9idp3ycz1] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.bt-pending-btn[b-x9idp3ycz1] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0 0.75rem;
    height: 2rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--lw-radius-control);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.bt-pending-btn:disabled[b-x9idp3ycz1] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bt-pending-undo[b-x9idp3ycz1] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    color: var(--lw-gray-graphite);
    box-shadow: var(--lw-shadow-card);
}

.bt-pending-undo:hover:not(:disabled)[b-x9idp3ycz1] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

/* Primary action sits at the far right beside the 38px-tall Download split (36px
   button + 1px border each side); match its height. */
.bt-pending-co[b-x9idp3ycz1] {
    height: 38px;
    background: var(--lw-primary-dark);
    border: 1px solid var(--lw-primary-dark);
    color: var(--lw-white);
    font-weight: 600;
}

.bt-pending-co:hover:not(:disabled)[b-x9idp3ycz1] {
    background: var(--lw-primary-dark-hover);
}

.bt-pending-count[b-x9idp3ycz1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.125rem;
    padding: 0 0.3125rem;
    margin-left: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, var(--lw-white) 20%, transparent);
    color: var(--lw-white);
}

/* -- Saving status chip -- */
.bt-status-chip[b-x9idp3ycz1] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.5rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-status-info-fg);
    background: color-mix(in srgb, var(--lw-status-info-fg) 8%, transparent);
    border-radius: var(--lw-radius-control);
}

/* -- Download split-button: the shared .lw-toolbar-split (lw-page.css; Feature
   1170 moved its rules there so Account Settings' Import split can use them). -- */

/* Never wrap on desktop: the left side shrinks
   and truncates instead, the actions keep their width (Cody 2026-09-22). Phones keep the
   stacked column layout above. */
@media (min-width: 768px) {
    .bt-toolbar[b-x9idp3ycz1] {
        flex-wrap: nowrap;
    }

    .bt-toolbar-left[b-x9idp3ycz1] {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .bt-toolbar-right[b-x9idp3ycz1] {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }
}

/* Phone block last on purpose: it must win over the desktop rules above
   (same specificity, source order). */
/* ---- Phones (US-1043, both twins identical) ----
   Two rows: search full width on its own row first (.lw-page-toolbar--stack-search
   grows the shared search; the wrap is ordered ahead of everything else), then
   the icon cluster + Download split + the primary action filling what is left.
   Fullscreen is desktop-only. Every control is a 44px tap target. The Saving /
   Applying template chips stay in .bt-toolbar-left above the search row. */
@media (max-width: 767.98px) {
    .bt-toolbar[b-x9idp3ycz1] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 16px;
    }

    .bt-toolbar-left:empty[b-x9idp3ycz1] {
        display: none;
    }

    .bt-toolbar-right[b-x9idp3ycz1] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .bt-search-wrap[b-x9idp3ycz1] {
        order: -1;
        flex: 1 1 100%;
        min-width: 0;
    }

    .bt-search-wrap .lw-page-search[b-x9idp3ycz1] {
        width: 100%;
        height: 44px;
    }

    .bt-fullscreen-btn[b-x9idp3ycz1] {
        display: none;
    }

    .bt-toolbar-right .lw-row-icon-btn[b-x9idp3ycz1] {
        width: 44px;
        height: 44px;
    }

    /* Primary action last on the row, filling the remaining width. */
    .bt-import-btn[b-x9idp3ycz1],
    .bt-pending-co[b-x9idp3ycz1] {
        order: 5;
        flex: 1 1 auto;
        justify-content: center;
        height: 44px;
        min-width: 0;
    }

    .bt-pending-co[b-x9idp3ycz1] {
        order: 6;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/ControlBudgetTableHeader.razor.rz.scp.css */
.bth[b-0cktat6b9e] {
    position: sticky;
    top: 0;
    /* Above the row layer's absolutely positioned chrome (seam reveal "+" at
       z-50, description pills) so nothing scrolls OVER the frozen header; the
       sticky footer (z-20) and real popovers (z-1000+) are unaffected. */
    z-index: 60;
}

.bth-row[b-0cktat6b9e] {
    background: var(--lw-bg-table-header);
    /* No border-bottom here: under border-collapse a tr border stays behind
       when the sticky thead floats, and it doubled up with the cells' inset
       shadow (budget-table.css thead th), which is the single border source. */
}

.bth-th[b-0cktat6b9e] {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    text-align: right;
    font-size: 11px;
    font-weight: 600;
    color: var(--lw-gray-graphite);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: var(--lw-bg-table-header);
    white-space: nowrap;
    vertical-align: middle;
}

.bth-align-left[b-0cktat6b9e] {
    text-align: left;
}

.bth-expand-btn[b-0cktat6b9e],
.bth-expand-placeholder[b-0cktat6b9e] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* US-916: same box as the row toggle (.bt-iconbtn-sm) so the two line up exactly. */
    width: 1.625rem;
    height: 1.625rem;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

/* US-916: expand-all / collapse-all is the master of the per-row plus/minus
   toggles, so it carries the same brand accent and a larger glyph. The
   placeholder shown on an empty budget stays muted -- it is not a control. */
.bth-expand-btn[b-0cktat6b9e] {
    color: var(--lw-primary-blue);
}

.bth-expand-btn:hover[b-0cktat6b9e] {
    background: var(--lw-accent);
    color: var(--lw-primary-blue);
}

.bth-expand-btn[b-0cktat6b9e]  .mud-icon-root {
    font-size: 1.0625rem !important;
}

.bth-expand-placeholder[b-0cktat6b9e]  .mud-icon-root {
    font-size: 0.875rem !important;
}

/* Phones (US-1043, 2026-10-12). No header cell is frozen left: the whole
   header scrolls horizontally with its columns (shared sheet,
   budget-table.css, "Phones" section). .bth stays the sticky thead at
   z 60. Labels never wrap; the phone column widths (Description 160px,
   money 8.5rem) seat every label. (Feature 1170: no Line # column; the
   number is a prefix inside Description.) */
@media (max-width: 767.98px) {
    .bth-th[b-0cktat6b9e] {
        white-space: nowrap;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/ControlBudgetToolbar.razor.rz.scp.css */
/* Control-budget (setup) toolbar -- content chrome only; the bar itself is
   the shared .lw-page-toolbar recipe (lw-page.css). HAND-DUPLICATED TWIN of
   BudgetToolbar.razor.css -- mirror changes between the two. Source:
   ledgerwise-app gc-budget-table.tsx subheader (2026-07-12). */

/* O14: a busy button is still a button; the cursor says why nothing happened. */
.bt-toolbar [aria-busy="true"][b-xpd51melmt] {
    cursor: progress;
}

.bt-toolbar-left[b-xpd51melmt],
.bt-toolbar-right[b-xpd51melmt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* -- Search (shared .lw-page-search shell + clear button) -- */
.bt-search-wrap[b-xpd51melmt] {
    position: relative;
}

/* Search clear lives in lw-page.css as .lw-page-search-clear (promoted
   2026-09-10). Kept in parity with BudgetToolbar, its live-view twin. */

/* -- Saving / applying-template status chip -- */
.bt-status-chip[b-xpd51melmt] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    height: 1.5rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-status-info-fg);
    background: color-mix(in srgb, var(--lw-status-info-fg) 8%, transparent);
    border-radius: var(--lw-radius-control);
}

/* -- Download split-button: the shared .lw-toolbar-split (lw-page.css), the same
   control as BudgetToolbar's (Feature 1170 moved its rules there so Account
   Settings' Import split can use them). -- */

/* Never wrap on desktop: the left side shrinks
   and truncates instead, the actions keep their width (Cody 2026-09-22). Phones keep the
   stacked column layout above. */
@media (min-width: 768px) {
    .bt-toolbar[b-xpd51melmt] {
        flex-wrap: nowrap;
    }

    .bt-toolbar-left[b-xpd51melmt] {
        flex: 1 1 auto;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .bt-toolbar-right[b-xpd51melmt] {
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }
}

/* Phone block last on purpose: it must win over the desktop rules above
   (same specificity, source order). */
/* ---- Phones (US-1043, both twins identical) ----
   Two rows: search full width on its own row first (.lw-page-toolbar--stack-search
   grows the shared search; the wrap is ordered ahead of everything else), then
   the icon cluster + Download split + the primary action filling what is left.
   Fullscreen is desktop-only. Every control is a 44px tap target. The Saving /
   Applying template chips stay in .bt-toolbar-left above the search row. */
@media (max-width: 767.98px) {
    .bt-toolbar[b-xpd51melmt] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 16px;
    }

    .bt-toolbar-left:empty[b-xpd51melmt] {
        display: none;
    }

    .bt-toolbar-right[b-xpd51melmt] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .bt-search-wrap[b-xpd51melmt] {
        order: -1;
        flex: 1 1 100%;
        min-width: 0;
    }

    .bt-search-wrap .lw-page-search[b-xpd51melmt] {
        width: 100%;
        height: 44px;
    }

    .bt-fullscreen-btn[b-xpd51melmt] {
        display: none;
    }

    .bt-toolbar-right .lw-row-icon-btn[b-xpd51melmt] {
        width: 44px;
        height: 44px;
    }

    /* Primary action last on the row, filling the remaining width. */
    .bt-import-btn[b-xpd51melmt],
    .bt-pending-co[b-xpd51melmt] {
        order: 5;
        flex: 1 1 auto;
        justify-content: center;
        height: 44px;
        min-width: 0;
    }

    .bt-pending-co[b-xpd51melmt] {
        order: 6;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/EmptyBudgetState.razor.rz.scp.css */
/* Source: ledgerwise-app gc-budget-table.tsx EmptyBudgetState (2026-07-12):
   card rounded-card border-DASHED border-border bg-card px-6 py-14 center
   shadow-card; icon chip size-12 rounded-card bg-info-bg text-brand-accent;
   start-option cards border bg-white p-4 with brand-accent/60 hover border
   + accent/40 hover fill (rendered here as informational value points). */

.ebs-card[b-7mhaht1c7l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 56px 24px;
    background: var(--lw-white);
    border: 1px dashed var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
}

.ebs-icon-chip[b-7mhaht1c7l] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.ebs-title[b-7mhaht1c7l] {
    margin: 16px 0 0;
    font-family: var(--lw-font-family);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
}

.ebs-desc[b-7mhaht1c7l] {
    margin: 8px 0 0;
    max-width: 460px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--lw-gray-graphite);
}

.ebs-cta[b-7mhaht1c7l] {
    margin-top: 20px;
}

.ebs-points[b-7mhaht1c7l] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
    width: 100%;
    max-width: 720px;
}

@media (min-width: 768px) {
    .ebs-points[b-7mhaht1c7l] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ebs-point[b-7mhaht1c7l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ebs-point:hover[b-7mhaht1c7l] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 60%, transparent);
    background: color-mix(in srgb, var(--lw-accent) 40%, transparent);
}

.ebs-point[b-7mhaht1c7l]  .ebs-point-icon.mud-icon-root {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--lw-primary-blue);
}

.ebs-point-title[b-7mhaht1c7l] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.ebs-point-desc[b-7mhaht1c7l] {
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): 16px gutters, full-width 44px CTA; the value points
   already stack (phone-first grid above). */
@media (max-width: 767.98px) {
    .ebs-card[b-7mhaht1c7l] {
        padding: 32px 16px;
    }

    .ebs-cta[b-7mhaht1c7l] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Budget/SubmitChangeOrderModal.razor.rz.scp.css */
/* Submit Budget Adjustments sheet. The shell (bottom sheet, header, footer,
   body inset, phone stacking) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) since US-1043; this file keeps the card interiors.
   Body content (2026-08-10 redesign onto Lw*/canonical patterns): one
   ControlCard section holding BA entity cards (nested-card recipe:
   drs-invoice-card); titles/descriptions are LwEditableText[b-aihfn62llp], reasons are
   LwTextField Interactive. Remaining recipes from ledgerwise-ui-app:
   co-summary-modal.tsx (dropzone, file rows) and the BA spec delta semantics
   (positive = destructive red, negative = green). */

.sco-count-badge[b-aihfn62llp] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--lw-bg-muted);
    font-size: 12px;
    font-weight: 600;
    color: var(--lw-gray-space);
    font-variant-numeric: tabular-nums;
}

/* One line of guidance above the adjustment cards (not a card: the body holds
   only the adjustments themselves). */
.sco-hint[b-aihfn62llp] {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

/* The move sentence: drag wording on desktop, line-menu wording on phones
   (US-1043). Both are rendered; the breakpoint hides one. */
.sco-hint-touch[b-aihfn62llp] {
    display: none;
}

/* Drop target wrapper around each adjustment's ControlCard. The card itself is a
   child component, so its highlight is reached with ::deep from this wrapper. */
.sco-drop[b-aihfn62llp]  .cc-card {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sco-drop--over[b-aihfn62llp]  .cc-card {
    border-color: var(--lw-success-dark);
    box-shadow: 0 0 0 3px var(--lw-status-success-bg);
}

/* ControlCard header action: what the adjustment moves the budget by, then the
   Include checkbox. */
.sco-card-action[b-aihfn62llp] {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Title over description at the top of the card body. */
.sco-card-fields[b-aihfn62llp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/* The changed-line rows live in BudgetAdjustmentLineList (its own scoped sheet). */

/* Section separator + supporting-documents label. */
.sco-sep[b-aihfn62llp] {
    height: 1px;
    background: var(--lw-border);
    margin: 20px 0;
}

.sco-doc-label[b-aihfn62llp] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.sco-doc-label-icon[b-aihfn62llp] {
    display: inline-flex;
    color: var(--lw-gray-graphite);
}

.sco-doc-label-icon[b-aihfn62llp]  .mud-icon-root { width: 1rem; height: 1rem; }

/* Dropzone: the shared FileDropZone component (US-1043) draws the dashed
   zone; .sco-dropwrap only exists to stop the file drop bubbling into the
   card's line-item drag handlers. */
.sco-dropwrap[b-aihfn62llp] {
    position: relative;
}

/* File rows. */
.sco-file-group-label[b-aihfn62llp] {
    margin: 16px 0 8px;
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-gray-graphite);
}

.sco-files[b-aihfn62llp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
}

.sco-file-group-label + .sco-files[b-aihfn62llp] {
    margin-top: 0;
}

/* The "Previously uploaded" rows are BudgetAdjustmentDocumentList's (Bug-1112), shared with
   the draft detail sheet; under their group label they sit flush, as the new-file rows do. */
.sco-attached[b-aihfn62llp]  .badl-files {
    margin-top: 0;
}

.sco-file[b-aihfn62llp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.sco-file-icon[b-aihfn62llp] {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.sco-file-icon[b-aihfn62llp]  .mud-icon-root { width: 1rem; height: 1rem; }

.sco-file-name[b-aihfn62llp] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.sco-file-size[b-aihfn62llp] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.sco-file-remove[b-aihfn62llp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 0;
    background: none;
    padding: 0;
    border-radius: var(--lw-radius-control);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sco-file-remove:hover[b-aihfn62llp] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.sco-file-remove[b-aihfn62llp]  .mud-icon-root { width: 0.875rem; height: 0.875rem; }

/* Section-level empty state (compact, inside the ControlCard body). */
.sco-empty[b-aihfn62llp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 32px 16px;
    text-align: center;
}

.sco-empty-icon[b-aihfn62llp] {
    display: inline-flex;
    color: var(--lw-gray-space);
    margin-bottom: 4px;
}

.sco-empty-icon[b-aihfn62llp]  .mud-icon-root { width: 32px; height: 32px; }

.sco-empty-title[b-aihfn62llp] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.sco-empty-sub[b-aihfn62llp] {
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043). The sheet body is already inset 16px by the drawer spec
   (.lw-drawer-details); nothing here adds to it. The card head is ControlCard
   InlineAction: the impact chip and the Include checkbox stack at the right of
   the title row, the checkbox on a 44px row. File-remove is a 44px target. */
@media (max-width: 767.98px) {
    .sco-hint-pointer[b-aihfn62llp] {
        display: none;
    }

    .sco-hint-touch[b-aihfn62llp] {
        display: inline;
    }

    .sco-card-action[b-aihfn62llp] {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .sco-card-action[b-aihfn62llp]  .lw-checkbox__row {
        align-items: center;
        min-height: 44px;
    }

    .sco-card-action[b-aihfn62llp]  .lw-checkbox__box {
        margin-top: 0;
    }

    .sco-sep[b-aihfn62llp] {
        margin: 16px 0;
    }

    .sco-file[b-aihfn62llp] {
        padding: 2px 4px 2px 12px;
    }

    .sco-file-remove[b-aihfn62llp] {
        width: 44px;
        height: 44px;
    }

    .sco-empty[b-aihfn62llp] {
        padding: 24px 8px;
    }

    .sco-empty-title[b-aihfn62llp],
    .sco-empty-sub[b-aihfn62llp] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Close/CloseProject.razor.rz.scp.css */
/* Complete project wizard (US-514) -- PAGE-SPECIFIC step bodies only. The wizard shell
   (pw-shell / pw-rail* / pw-main / pw-content / pw-stack) lives in css/components/lw-wizard.css,
   the cards are ControlCard, the agreement reader and sign block are the shared Form 5119
   components. Everything below is layout and page typography from --lw-* tokens; no control
   chrome. The page's own elements sit inside WizardShell / ControlCard fragments, so these
   rules match the page scope on the element itself. */

/* Step 1: readiness rows -- icon | label + detail | action. */
.co-checks[b-2p0kqjnbju] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.co-check[b-2p0kqjnbju] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--lw-border);
}

.co-check:first-child[b-2p0kqjnbju] {
    border-top: 0;
    padding-top: 0;
}

.co-check__icon[b-2p0kqjnbju] {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
}

.co-check__icon[b-2p0kqjnbju]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

.co-check--pass .co-check__icon[b-2p0kqjnbju] { color: var(--lw-success, #2e7d32); }
.co-check--warn .co-check__icon[b-2p0kqjnbju] { color: var(--lw-primary-gold); }
.co-check--block .co-check__icon[b-2p0kqjnbju] { color: var(--bs-danger, #c62828); }

.co-check__body[b-2p0kqjnbju] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.co-check__label[b-2p0kqjnbju] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--bs-body-color);
}

.co-check__detail[b-2p0kqjnbju] {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.co-check__action[b-2p0kqjnbju] {
    white-space: nowrap;
}

/* Step 2 and 4: the settlement figures as label / value rows. */
.co-figures[b-2p0kqjnbju] {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.co-figure[b-2p0kqjnbju] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--lw-border);
}

.co-figure:first-child[b-2p0kqjnbju] {
    border-top: 0;
    padding-top: 0;
}

.co-figure dt[b-2p0kqjnbju] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

.co-figure dd[b-2p0kqjnbju] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    color: var(--bs-body-color);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.co-figure--total dt[b-2p0kqjnbju],
.co-figure--total dd[b-2p0kqjnbju] {
    font-size: 16px;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.co-figure__text[b-2p0kqjnbju] {
    font-weight: 500 !important;
    max-width: 60%;
}

.co-note[b-2p0kqjnbju] {
    margin: 12px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.co-note--strong[b-2p0kqjnbju] {
    font-weight: 600;
    color: var(--bs-body-color);
}

.co-next[b-2p0kqjnbju] {
    margin: 6px 0 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--bs-body-color);
}

/* Step 2: refund method as canonical choose-one rows. Copied from the srr-row recipe in
   Modals/SelectRfpRecipientModal.razor.css (measurements and tokens unchanged); the bordered
   card is a wrapper here so the follow-up field can sit inside the selected row, under its
   text, without nesting a form control in the clickable button. */
.cp-choice-list[b-2p0kqjnbju] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-choice[b-2p0kqjnbju] {
    width: 100%;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    transition: border-color 0.15s, background 0.15s;
}

.cp-choice:hover[b-2p0kqjnbju] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

.cp-choice--active[b-2p0kqjnbju] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

.cp-choice__row[b-2p0kqjnbju] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: var(--lw-radius-card);
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
}

.cp-choice__radio[b-2p0kqjnbju] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--lw-gray-smoke);
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cp-choice--active .cp-choice__radio[b-2p0kqjnbju] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
    background: var(--lw-primary-blue);
}

.cp-choice__text[b-2p0kqjnbju] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cp-choice__name[b-2p0kqjnbju] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.cp-choice__sub[b-2p0kqjnbju] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* The follow-up field: full width inside the selected row, aligned under the row text
   (14px pad + 16px radio + 12px gap). */
.cp-choice__field[b-2p0kqjnbju] {
    padding: 0 14px 14px 42px;
}

/* Digital check: who it is payable to and where it is emailed, side by side. */
.cp-choice__facts[b-2p0kqjnbju] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
}

/* Layout-transparent footer slot so the shared footer keeps its own chrome. */
.co-footer-slot[b-2p0kqjnbju] {
    display: contents;
}

@media (max-width: 767.98px) {
    .co-check[b-2p0kqjnbju] {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .co-check__action[b-2p0kqjnbju] {
        grid-column: 2;
        justify-self: start;
    }

    .co-figure__text[b-2p0kqjnbju] {
        max-width: 55%;
    }

    /* Phones (srr-row recipe): a 44px target, 12px padding, long labels wrap, and the field
       runs the full row width. */
    .cp-choice__row[b-2p0kqjnbju] {
        min-height: 44px;
        padding: 12px;
    }

    .cp-choice__name[b-2p0kqjnbju],
    .cp-choice__sub[b-2p0kqjnbju] {
        overflow-wrap: anywhere;
    }

    .cp-choice__name[b-2p0kqjnbju] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .cp-choice__sub[b-2p0kqjnbju] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    .cp-choice__facts[b-2p0kqjnbju] {
        grid-template-columns: 1fr;
    }

    .cp-choice__field[b-2p0kqjnbju] {
        padding: 0 12px 12px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/GcProjectDocuments.razor.rz.scp.css */
/* GC documents tab -- page-level layout only. All shared documents chrome
   lives in wwwroot/css/components/lw-doc.css (composes lw-table.css);
   toolbar chrome comes from lw-page.css + LwChip / LwViewToggle atoms.
   Source: ledgerwise-app organisms/gc/gc-documents.tsx (measured 2026-07-20).
   The COIs section is gone (US-1024): COIs are on the vendor's page. */

/* Delete-confirmation dialog copy (canonical LwModalHeader, no header roundel). */
.gcdoc-del-lead[b-x6st2mftsn] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.gcdoc-del-sub[b-x6st2mftsn] {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Zero-data empty state signature (reference: organisms/gc/documents-empty-state.tsx,
   read 2026-08-10). Folder tile = brand-accent/[0.10] bg + brand-accent icon;
   file count = 11px tabular content-secondary. */
.gcdoc-sig-tile[b-x6st2mftsn] {
    background: color-mix(in srgb, var(--lw-primary-blue) 10%, transparent);
    color: var(--lw-primary-blue);
}

.gcdoc-sig-count[b-x6st2mftsn] {
    flex-shrink: 0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--lw-gray-graphite);
}

/* ---- Row kebabs: desktop MudMenu vs the phone LwRowMenu (same items) ----
   display:contents keeps the desktop cell's own flex centring of the MudMenu. */
.gcdoc-kebab-desktop[b-x6st2mftsn] { display: contents; }
.gcdoc-kebab-phone[b-x6st2mftsn] { display: none; }

/* Whole-card tap target for file / agreement rows; phones only (below). */
.gcdoc-row-tap[b-x6st2mftsn] { display: none; }

/* Agreement tile type + status chips; phones only (below). */
.gcdoc-agr-card-chips[b-x6st2mftsn] { display: none; }

/* ================================================================
   Phones (US-1043)
   ================================================================ */
@media (max-width: 767.98px) {
    /* ---- Toolbar: section trigger + the section's tools, then search ----
       44px targets (A3). The global 44px rule only reaches .lw-page-shell hosts;
       this tab is not one (same block as ProjectProposals .pp-toolbar). */
    .gcdoc-toolbar .lw-page-action[b-x6st2mftsn],
    .gcdoc-toolbar .lw-page-search[b-x6st2mftsn] {
        height: 44px;
    }

    .gcdoc-toolbar .lw-page-action[b-x6st2mftsn],
    .gcdoc-toolbar .lw-doc-iconbtn[b-x6st2mftsn] {
        flex: 0 0 auto;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .gcdoc-toolbar .lw-page-search-input[b-x6st2mftsn] {
        padding-right: 44px;
        font-size: 16px;
    }

    .gcdoc-toolbar .lw-doc-search-clear[b-x6st2mftsn] {
        right: 0;
        width: 44px;
        height: 44px;
    }

    .gcdoc-toolbar .lw-doc-iconbtn[b-x6st2mftsn] {
        width: 44px;
        height: 44px;
    }

    /* The fullscreen manager is a desktop tool. */
    .gcdoc-toolbar .gcdoc-fullscreen-btn[b-x6st2mftsn] {
        display: none;
    }

    /* The trigger is LwSectionTrigger's own markup, so it needs ::deep. It takes
       what the tools leave (about 130px beside the view toggle and Add at 360) and
       its label ellipsizes rather than pushing the row wider than the screen. */
    .gcdoc-toolbar[b-x6st2mftsn]  .lw-page-section-trigger {
        height: 44px;
        min-width: 0;
        padding: 0 12px;
    }

    .gcdoc-toolbar[b-x6st2mftsn]  .lw-page-section-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gcdoc-tool-btn[b-x6st2mftsn] {
        min-width: 44px;
        justify-content: center;
    }

    /* "Upload signed agreement" goes icon-only; it keeps aria-label + title. */
    .gcdoc-tool-btn--icon[b-x6st2mftsn] {
        padding: 0 12px;
    }

    .gcdoc-tool-btn--icon .gcdoc-tool-label[b-x6st2mftsn] {
        display: none;
    }

    /* ---- Breadcrumb bar: 44px crumbs that ellipsize instead of overflowing ---- */
    .lw-doc-crumbbar[b-x6st2mftsn] {
        padding: 0 16px;
        row-gap: 0;
    }

    .lw-doc-crumb-link[b-x6st2mftsn],
    .lw-doc-crumb-current[b-x6st2mftsn] {
        display: inline-block;
        max-width: 100%;
        height: 44px;
        line-height: 44px;
        overflow: hidden;
        overflow-wrap: normal;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* A parent crumb gives up width first so the current folder stays readable. */
    .lw-doc-crumb-link[b-x6st2mftsn] {
        min-width: 44px;
        max-width: 9rem;
        text-align: left;
    }

    /* Collapsed-segments menu (MudMenu icon button, a child component). */
    .lw-doc-crumbbar[b-x6st2mftsn]  .mud-icon-button {
        width: 44px;
        height: 44px;
    }

    /* ---- List cards (the row re-flow itself is lw-doc.css) ---- */
    .gcdoc-kebab-desktop[b-x6st2mftsn] { display: none; }
    .gcdoc-kebab-phone[b-x6st2mftsn] { display: inline-flex; }

    .gcdoc-kebab-phone[b-x6st2mftsn]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* The row is position:relative on phones (lw-doc.css), so this covers the card;
       the visibility chip and the kebab sit above it. */
    .gcdoc-row-tap[b-x6st2mftsn] {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .gcdoc-files-table .lw-doc-col-vis[b-x6st2mftsn],
    .gcdoc-files-table .lw-doc-col-act[b-x6st2mftsn],
    .gcdoc-agr-table .lw-doc-col-act[b-x6st2mftsn] {
        position: relative;
        z-index: 1;
    }

    .gcdoc-files-table .lw-doc-col-act[b-x6st2mftsn],
    .gcdoc-agr-table .lw-doc-col-act[b-x6st2mftsn] {
        align-self: start;
    }

    .gcdoc-files-table .lw-doc-name[b-x6st2mftsn],
    .gcdoc-agr-table .lw-doc-name[b-x6st2mftsn] {
        overflow-wrap: anywhere;
    }

    /* Files: name + kebab, then the visibility chip (left) and the date (right).
       The chip cell shrinks to the chip so the rest of the line still opens the
       card, and stops clipping so the chip's 44px hit box (VisibilityBadgeMenu)
       can reach above and below it. */
    .gcdoc-files-table .lw-doc-col-vis[b-x6st2mftsn] {
        grid-row: 2;
        grid-column: 1;
        justify-self: start;
        max-width: 100%;
        overflow: visible;
    }

    .gcdoc-files-table .lw-doc-col-date[b-x6st2mftsn] {
        grid-row: 2;
        grid-column: 2;
    }

    /* Agreements: name + kebab, party, the status chip on its own line, then the
       agreement type (left) and the date (right). */
    .gcdoc-agr-table .lw-table-tr[b-x6st2mftsn] {
        row-gap: 6px;
    }

    .gcdoc-agr-table .lw-doc-acol-party[b-x6st2mftsn] {
        overflow-wrap: anywhere;
    }

    .gcdoc-agr-table .lw-doc-acol-status[b-x6st2mftsn] {
        grid-row: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .gcdoc-agr-table .lw-doc-acol-type[b-x6st2mftsn] {
        grid-row: 4;
        grid-column: 1;
    }

    .gcdoc-agr-table .lw-doc-acol-date[b-x6st2mftsn] {
        grid-row: 4;
        grid-column: 2;
        justify-content: flex-end;
    }

    /* ---- Grid tiles: about 158px wide at 360, so names and meta wrap ---- */
    .lw-doc-grid .lw-doc-card-name[b-x6st2mftsn] {
        overflow-wrap: anywhere;
    }

    .lw-doc-grid .lw-doc-card-meta[b-x6st2mftsn] {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .gcdoc-agr-card-chips[b-x6st2mftsn] {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    /* ---- First-run empty state (LwEmptyState is a child component) ----
       Points stay one per row until 768px; the CTA is a full-width 44px target;
       signature sample names wrap beside the file count. */
    .lw-doc-body[b-x6st2mftsn]  .lw-empty-points {
        grid-template-columns: 1fr;
    }

    .lw-doc-body[b-x6st2mftsn]  .lw-empty-action {
        align-self: stretch;
    }

    .lw-doc-body[b-x6st2mftsn]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        height: auto;
        min-height: 44px;
        padding: 8px 16px;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .lw-doc-body[b-x6st2mftsn]  .lw-empty-sig-name {
        white-space: normal;
    }
}

/* "Add Photos" keeps its label on wider phones; below 420px it cannot share the
   row with the section trigger and the folder / sort buttons. */
@media (max-width: 419.98px) {
    .gcdoc-tool-btn--narrow[b-x6st2mftsn] {
        padding: 0 12px;
    }

    .gcdoc-tool-btn--narrow .gcdoc-tool-label[b-x6st2mftsn] {
        display: none;
    }
}

/* Public-via-QR marker beside a row's name (US-1115): the builder sees at a glance which
   documents and folders anyone with the code can open. */
.gcdoc-public-mark[b-x6st2mftsn] {
    flex: none;
    margin-left: 6px;
    font-size: 1rem;
    color: var(--lw-primary-blue);
    vertical-align: middle;
}
/* _content/Ledgerwise/Components/Pages/Project/LedgerEntryDrawer.razor.rz.scp.css */
/* Ledger entry sheet (US-476). The shell (bottom sheet, header, footer, body
   inset, phone stacking) is the shared drawer spec (lw-drawer.css +
   LwModalHeader/Body/Footer) since US-1043; this file keeps the card interiors. */

.led-sheet-foot-hint[b-2q7p4jv0by] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Fact grid inside the Transaction card ---- */

.led-facts[b-2q7p4jv0by] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px 24px;
}

.led-fact-label[b-2q7p4jv0by] {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lw-gray-space);
}

.led-fact-value[b-2q7p4jv0by] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-primary-dark);
}

.led-fact-value--debit[b-2q7p4jv0by]   { color: var(--lw-status-error-fg); font-variant-numeric: tabular-nums; }
.led-fact-value--credit[b-2q7p4jv0by]  { color: var(--lw-success-dark); font-variant-numeric: tabular-nums; }
.led-fact-value--balance[b-2q7p4jv0by] { font-weight: var(--lw-font-bold); font-variant-numeric: tabular-nums; }

/* ---- Invoice rows (Flush card body) -- the payment request sheet's invoice card row
   (DrawRequestSubmitModal .drs-invoice-row) rendered as list rows: 32px avatar, vendor
   14/600 over scope 12 graphite, status chip, tabular amount, chevron. ---- */

.led-invoices[b-2q7p4jv0by] {
    display: flex;
    flex-direction: column;
}

.led-invoice-row[b-2q7p4jv0by] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 16px;
    border-bottom: 1px solid var(--lw-border);
    cursor: pointer;
    outline: none;
    transition: background 0.12s;
}

.led-invoice-row:last-child[b-2q7p4jv0by] { border-bottom: none; }

.led-invoice-row:hover[b-2q7p4jv0by],
.led-invoice-row:focus-visible[b-2q7p4jv0by] {
    background: var(--lw-bg-row-hover);
}

.led-invoice-row:focus-visible[b-2q7p4jv0by] {
    box-shadow: inset 0 0 0 2px var(--lw-primary-blue);
}

.led-invoice-info[b-2q7p4jv0by] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.led-invoice-vendor[b-2q7p4jv0by] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-invoice-scope[b-2q7p4jv0by] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-invoice-amount[b-2q7p4jv0by] {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.led-invoice-chev[b-2q7p4jv0by] {
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

/* ---- Payment request row (Flush card body) -- the Payment Requests tab's row/mobile
   card: number 14/600, status chip, "N invoices . Submitted date" meta, amount, chevron. ---- */

.led-pr-row[b-2q7p4jv0by] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 16px;
    cursor: pointer;
    outline: none;
    transition: background 0.12s;
}

.led-pr-row:hover[b-2q7p4jv0by],
.led-pr-row:focus-visible[b-2q7p4jv0by] {
    background: var(--lw-bg-row-hover);
}

.led-pr-row:focus-visible[b-2q7p4jv0by] {
    box-shadow: inset 0 0 0 2px var(--lw-primary-blue);
}

.led-pr-info[b-2q7p4jv0by] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.led-pr-head[b-2q7p4jv0by] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.led-pr-number[b-2q7p4jv0by] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.led-pr-meta[b-2q7p4jv0by] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.led-pr-sep[b-2q7p4jv0by] {
    margin: 0 0.375rem;
}

/* ---- Breakdown rows (Flush card body) ---- */

.led-parts[b-2q7p4jv0by] {
    display: flex;
    flex-direction: column;
}

.led-part[b-2q7p4jv0by] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
    font-size: 14px;
}

.led-part:last-child[b-2q7p4jv0by] {
    border-bottom: none;
}

.led-part-label[b-2q7p4jv0by] {
    color: var(--lw-text-primary);
}

.led-part-amount[b-2q7p4jv0by] {
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.led-part--total[b-2q7p4jv0by] {
    background: var(--lw-bg-table-header);
}

.led-part--total .led-part-label[b-2q7p4jv0by],
.led-part--total .led-part-amount[b-2q7p4jv0by] {
    font-weight: var(--lw-font-bold);
    color: var(--lw-primary-dark);
}

/* ---- Phone (US-1043) ---- */
@media (max-width: 767.98px) {
    /* Facts: the auto-fit grid left ragged one- and two-up columns at 360. On phones they
       read as label / value rows on the .lw-field-rows recipe (app.css): uppercase label
       left, value right, hairline between rows. Restated here rather than re-classed so
       the desktop grid is untouched. */
    .led-facts[b-2q7p4jv0by] {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .led-fact[b-2q7p4jv0by] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 32px;
        padding: 10px 0;
        border-bottom: 1px solid var(--lw-border);
    }

    .led-fact:first-child[b-2q7p4jv0by] { padding-top: 0; }

    .led-fact:last-child[b-2q7p4jv0by] {
        padding-bottom: 0;
        border-bottom: none;
    }

    .led-fact-label[b-2q7p4jv0by] {
        flex-shrink: 0;
        margin: 0;
        letter-spacing: 0.04em;
        color: var(--lw-gray-graphite);
    }

    .led-fact-value[b-2q7p4jv0by] {
        min-width: 0;
        text-align: right;
        overflow-wrap: anywhere;
    }

    /* Payment request row: the status chip drops under the number and the meta line
       wraps, instead of both ellipsizing in the 170px the amount and chevron leave. */
    .led-pr-row[b-2q7p4jv0by] {
        align-items: flex-start;
        min-height: 44px;
    }

    .led-pr-head[b-2q7p4jv0by] {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .led-pr-meta[b-2q7p4jv0by] {
        white-space: normal;
        overflow: visible;
    }

    /* Invoice rows: avatar, vendor and amount on the first line, the status chip on
       its own line beneath (the payee list recipe), instead of the vendor truncating
       to "UPTOWN B..." beside the chip, amount and chevron. */
    .led-invoice-row[b-2q7p4jv0by] {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 6px;
        min-height: 44px;
    }

    .led-invoice-row[b-2q7p4jv0by]::after {
        content: "";
        flex-basis: 100%;
        order: 5;
    }

    .led-invoice-row[b-2q7p4jv0by]  .lw-status-chip {
        order: 10;
        margin-left: 44px;
    }

    /* Vendor and scope get two lines each before they clip. */
    .led-invoice-vendor[b-2q7p4jv0by],
    .led-invoice-scope[b-2q7p4jv0by] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow-wrap: anywhere;
    }

    /* Amount and chevron ride the first text line of a top-aligned row. */
    .led-invoice-amount[b-2q7p4jv0by] {
        line-height: 20px;
    }

    .led-invoice-chev[b-2q7p4jv0by] {
        margin-top: 2px;
    }

    /* Breakdown: a long part label wraps; its amount keeps the right edge. */
    .led-part[b-2q7p4jv0by] {
        min-height: 44px;
    }

    .led-part-label[b-2q7p4jv0by] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .led-part-amount[b-2q7p4jv0by] {
        flex-shrink: 0;
        text-align: right;
    }

    /* Footer hint ellipsizes beside Close rather than widening the footer. */
    .led-sheet-foot-hint[b-2q7p4jv0by] {
        display: block;
        min-width: 0;
        max-width: 100%;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/Project.razor.rz.scp.css */
/* Page-level styles only. The identity header is the shared
   LwProjectHeader component (Components/Shared/LwProjectHeader.razor);
   its chrome lives in that component's scoped CSS. */

/* Full-bleed shell -- cancels MainLayout's pa-6 gutters (same technique as
   .lw-page-shell) so the header + tab strip run edge-to-edge on white
   and the muted bg fills the rest, like the reference detail layout. */
.lw-project-detail-shell[b-49u9z49dir] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    /* The stretched flex chain (MainLayout .lw-main-content ->
       .lw-content-shell:has(...) -> here) gives this real height; the old
       percentage min-height resolved to nothing (auto-height container). */
    flex: 1;
    background: var(--lw-bg-muted);
}

/* Error / not-found states are direct children of the full-bleed shell --
   restore the gutters the shell cancelled (24px desktop, 16px phones, O10).
   Same .cp-state recipe as ContractorProject (scoped CSS keeps the names
   apart): note / empty state stacked over a full-width 44px action on phones. */
.cp-state[b-49u9z49dir] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px;
}

.cp-state-action[b-49u9z49dir] {
    align-self: flex-start;
}

@media (max-width: 767.98px) {
    .cp-state[b-49u9z49dir] {
        margin: 16px;
    }

    .cp-state-action[b-49u9z49dir] {
        align-self: stretch;
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    /* The not-found CTA inside LwEmptyState: the atom's 40px --lg shape becomes a
       44px full-width target (A3); the global 44px rule only reaches .lw-page-shell
       hosts, and this shell is not one. */
    .cp-state[b-49u9z49dir]  .lw-empty-action {
        align-self: stretch;
    }

    .cp-state[b-49u9z49dir]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 auto;
        height: 44px;
        justify-content: center;
    }
}

/* ============================================================
   Project tabs — underline-style nav, mirrors ledgerwise-ui.
   The tab nav is .mud-tabs-tabbar (NOT .mud-tabs-toolbar — that
   class does not exist in MudBlazor 8.x). The bottom border lives
   on the tabbar so the panels area can sit flush against it.
   Tab content background uses --lw-bg-muted (sand-neutral muted bg
   matching ledgerwise-ui's default --muted var(--lw-bg-muted)) so there is no
   visible white gap below the tab line.
   ============================================================ */

.project-tabs[b-49u9z49dir] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tab nav strip — single full-width bottom border, fully transparent
   so the page background shows through. MudBlazor's defaults paint
   surface/action-hover backgrounds on several layers, all overridden. */
.project-tabs[b-49u9z49dir]  .mud-tabs,
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar,
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-inner,
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-content,
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-wrapper {
    background-color: transparent !important;
}

/* Tab strip sits in the same white zone as the identity header (reference:
   tabs container is mt-4 px-6 inside the bg-background header block). The
   16px gap above the tabs is white, so it is padding on the white bar --
   a margin would let the shell's muted bg show through. Later rule, so its
   background wins over the transparent sweep above. */
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar {
    background-color: var(--lw-white) !important;
    border-bottom: 1px solid var(--lw-border);
    border-top: none;
    border-left: none;
    border-right: none;
    /* Never let tall panel content (full-bleed tabs like Invoices) squeeze
       the tab strip -- flex children shrink by default. */
    flex-shrink: 0;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 24px 0;
}

.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-inner {
    min-height: 40px;
}

/* Reference tabs are content-sized (shrink-0) in a gap-8 row -- Mud gives
   every tab a 160px box, which spreads them across the bar and overflows;
   !important because Mud's own width rules win otherwise. */
.project-tabs[b-49u9z49dir]  .mud-tab {
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    min-height: 40px;
    min-width: 0 !important;
    width: auto !important;
    flex: 0 0 auto;
    padding: 0;
    letter-spacing: 0;
    line-height: 1;
}

/* 32px between tabs = reference gap-8 on the nav row. Gap on the flex
   wrapper (the tabs' actual flex parent) -- a margin on .mud-tab loses to
   Mud's own rules. */
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-wrapper {
    gap: 32px;
}

/* Native overflow scroll in place of Mud's hidden arrow buttons (reference:
   overflow-x-auto scrollbar-none). Only matters below ~1100px content width. */
.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-inner {
    overflow-x: auto;
    scrollbar-width: none;
}

.project-tabs[b-49u9z49dir]  .mud-tabs-tabbar-inner::-webkit-scrollbar {
    display: none;
}

/* Kill all tab background paints (default, hover, active, active+hover) */
.project-tabs[b-49u9z49dir]  .mud-tab,
.project-tabs[b-49u9z49dir]  .mud-tab:hover,
.project-tabs[b-49u9z49dir]  .mud-tab.mud-tab-active,
.project-tabs[b-49u9z49dir]  .mud-tab.mud-tab-active:hover {
    background-color: transparent !important;
}

/* Reference tab states: inactive content-secondary; hover AND active are
   foreground (#1E1E24, NOT navy); weight stays 500 in every state. */
.project-tabs[b-49u9z49dir]  .mud-tab:hover {
    color: var(--lw-text-primary);
}

.project-tabs[b-49u9z49dir]  .mud-tab.mud-tab-active {
    color: var(--lw-text-primary);
}

/* Reference has no scroll arrows (overflow-x-auto scrollbar-none). Hiding
   Mud's buttons also removes the phantom left inset they created. */
.project-tabs[b-49u9z49dir]  .mud-tabs-scroll-button {
    display: none;
}

/* No tab-level count badges: the reference (project-header.tsx getTabBadge)
   renders a count only on its Critical Tasks tab; Invoices / Payment
   Requests / Adjustments surface counts on their inner sub-tabs instead. */

/* Active-tab indicator -- 2px foreground bar spanning exactly the tab
   (reference: after:inset-x-0 after:bottom-0 after:h-0.5 ON THE TAB).
   Mud's JS-measured slider drifts against content-sized tabs + the 32px
   wrapper gap (underline wider/narrower than its label), so it is disabled.
   Drawn as an INSET BOX-SHADOW, not a pseudo-element: ::after on .mud-tab
   does not paint (verified live -- even unscoped injected rules vanish),
   and a shadow can neither clip nor misalign. */
.project-tabs[b-49u9z49dir]  .mud-tab-slider {
    display: none;
}

.project-tabs[b-49u9z49dir]  .mud-tab.mud-tab-active {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

/* Panels container — flush against the tab line, sand-neutral muted bg.
   The flex column stretch (mud-tabs -> panels -> panel) lets tab content
   fill the shell's remaining height, so sticky bottom bars (e.g. the
   invoices bulk footer) can pin to the page bottom even when content is
   short. Heights are stable (no content-driven min-heights), so this does
   not feed the MudTabs re-measure loop. */
.project-tabs[b-49u9z49dir]  .mud-tabs {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-tabs[b-49u9z49dir]  .mud-tabs-panels {
    background-color: var(--lw-bg-muted, var(--lw-bg-muted)) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* NOTE: tab HEADER buttons also carry the mud-tab-panel class -- always
   scope panel rules to children of .mud-tabs-panels. */
.project-tabs[b-49u9z49dir]  .mud-tabs-panels > .mud-tab-panel {
    background-color: var(--lw-bg-muted, var(--lw-bg-muted));
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* The display:flex above out-specifies the UA's [hidden] rule -- re-assert it
   so inactive panels stay hidden. */
.project-tabs[b-49u9z49dir]  .mud-tabs-panels > .mud-tab-panel[hidden] {
    display: none !important;
}

/* GOTCHA (verified against MudBlazor 8.15 source, 2026-07-12): MudTabs
   applies PanelClass to the .mud-tabs-panels CONTAINER, not to each panel --
   so .project-tabs__panel and .mud-tabs-panels are the SAME element, and the
   `padding: 0 !important` above always wins. Panel content therefore renders
   FULL-BLEED (no 24px gutters); each tab's component owns its own inset.
   Do not add negative margins in tab content to "cancel" panel padding. */
.project-tabs[b-49u9z49dir]  .project-tabs__panel {
    background-color: var(--lw-bg-muted, var(--lw-bg-muted));
    margin: 0;
}

/* -- Phone section select (US-1043, O3) -- */
/* Below 768px the eight-tab strip is a swipe rail with no overflow cue (about 700px of
   labels in a 360px track), so it becomes one full-width select naming the current tab
   -- the owner project page / My Organization recipe (US-798, US-926). The select
   continues the white header zone and takes the strip's hairline; the MudTabs bar is
   hidden, its panels keep rendering. Hidden from 768px up. */
.project-tab-switch[b-49u9z49dir] {
    display: none;
}

@media (max-width: 767.98px) {
    .project-tab-switch[b-49u9z49dir] {
        display: block;
        padding: 0 16px 12px;
        background: var(--lw-white);
        border-bottom: 1px solid var(--lw-border);
    }

    .project-tabs[b-49u9z49dir]  .mud-tabs-tabbar {
        display: none;
    }
}

/* ============================================================
   Project setup steps panel — preserved from prior styling
   ============================================================ */

.project-setup-wrapper[b-49u9z49dir]  .project-details-panel {
    border: 1px solid var(--lw-border);
    border-radius: 0;
    background-color: var(--lw-white) !important;
    box-shadow: none !important;
    overflow: hidden;
}

.project-setup-wrapper[b-49u9z49dir]  .project-details-panel .mud-expansion-panel,
.project-setup-wrapper[b-49u9z49dir]  .project-details-panel .mud-expand-panel-content,
.project-setup-wrapper[b-49u9z49dir]  .project-details-panel .mud-expansion-panel-content {
    background-color: var(--lw-white) !important;
    box-shadow: none !important;
}

.project-setup-wrapper[b-49u9z49dir]  .project-details-panel .mud-expand-panel-header {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.project-setup-wrapper[b-49u9z49dir]  .mud-typography-body2 {
    color: var(--lw-gray-graphite) !important;
}

.project-setup-wrapper[b-49u9z49dir]  .mud-button-root {
    border-radius: 0;
    text-transform: none;
    font-weight: 600;
}

/* US-514: the close-out card sits on the same muted shell as the overview below it
   (ProjectOverview .po-shell: 16px, 24px from 768px); no bottom padding so the overview's own
   top padding is the gap between them. The inner column matches .po-col (1100px, centered)
   so the card is exactly as wide as the overview cards beneath it. */
.project-closeout-card[b-49u9z49dir] {
    background: var(--lw-bg-muted);
    padding: 16px 16px 0;
}

.project-closeout-card__col[b-49u9z49dir] {
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .project-closeout-card[b-49u9z49dir] { padding: 24px 24px 0; }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectBudget.razor.rz.scp.css */
/* ProjectBudget (live budget host) -- phone-only rules for host-owned chrome
   (US-1043). Everything else on this tab is styled by budget-table.css (shared
   with the setup twin) and the row / toolbar components' own scoped CSS; keep
   this file to host-owned markup.

   The historical snapshot banner moved onto LwCardNote (Tag + Action slots,
   2026-10-12), whose own CSS wraps the action under the text at 44px on
   phones, so the former .bt-historical-* phone rules are gone from here. The
   host only tunes the ghost action so it is quiet beside the warning text.

   ::deep is required: LwCardNote renders its own root, which never carries this
   page's scope attribute, so the rules hang off .bt-body (host-rendered). */

.bt-body[b-l72k1d1nhj]  .bt-historical-note .bt-historical-return {
    height: 32px;
    padding: 0 12px;
}

@media (max-width: 767.98px) {
    .bt-body[b-l72k1d1nhj]  .bt-historical-note .bt-historical-return {
        height: 44px;
        padding: 0 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectChangeOrders.razor.rz.scp.css */
/* ProjectChangeOrders (GC Adjustments tab) -- page-level layout only.
   The reference GC adjustments page (ledgerwise-ui-app
   app/(app)/gc/projects/[id]/adjustments/page.tsx) is intentionally blank;
   this tab keeps its Blazor functionality (create/submit/detail) and mirrors
   the owner adjustments recipes so both tabs read identically. Source:
   organisms/owner/owner-adjustments.tsx + adjustment-status-pill.tsx
   (measured spec 2026-07-20; migrated 2026-07-21). GC pill tones: Draft and
   Under Review = neutral gray, Approved = success, Changes Requested = error.
   Table chrome: css/components/lw-table.css. Toolbar/search/action chrome:
   css/components/lw-page.css. Tabs: LwChip (Tab variant); pills: StatusChip.
   Tab content renders full-bleed in Project.razor's MudTabs (no negative
   margins) -- .pco-body owns the muted inset, like ProjectDrawRequests. */

.pco-page[b-ypa93g4hwg] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Toolbar stacks on mobile (reference: flex-col gap-3 below md). */
@media (max-width: 767.98px) {
    .pco-toolbar[b-ypa93g4hwg] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
    /* Search sizing comes from lw-page.css (--stack-search: full-width second row). */

    /* 44px tap targets (A3, US-1043 Batch 11): New Budget Adjustment and the search
       box are 36px on desktop. The global 44px rule only reaches .lw-page-shell
       hosts; this tab is not one (same block as ProjectInvoices .pi-toolbar). */
    .pco-toolbar .lw-page-action[b-ypa93g4hwg],
    .pco-toolbar .lw-page-search[b-ypa93g4hwg] {
        height: 44px;
    }

    .pco-toolbar .lw-page-action--primary[b-ypa93g4hwg] {
        min-width: 44px;
        justify-content: center;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .pco-toolbar .lw-page-search-input[b-ypa93g4hwg] {
        font-size: 16px;
    }

    /* The phone status trigger (LwSectionTrigger) matches the 44px button beside it. */
    .pco-page[b-ypa93g4hwg]  .lw-page-section-trigger {
        height: 44px;
    }
}

/* Icon-only create button on very small screens. */
@media (max-width: 480px) {
    .pco-new-btn-label[b-ypa93g4hwg] {
        display: none;
    }
}

/* Muted content region (reference: flex-1 flex-col gap-4 bg-muted p-4 md:p-6). */
.pco-body[b-ypa93g4hwg] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

@media (min-width: 768px) {
    .pco-body[b-ypa93g4hwg] {
        padding: 24px;
    }
}

/* ---- Desktop table card ---- */
.pco-table-card[b-ypa93g4hwg] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.pco-table-card .lw-table[b-ypa93g4hwg] {
    min-width: 760px;
}

.pco-table-card .lw-table-tr[b-ypa93g4hwg] {
    outline: none;
}

.pco-table-card .lw-table-tr:focus-visible[b-ypa93g4hwg] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

/* Column widths mirror the owner tab: spare width grows every data column
   (title 2x) so the row reads evenly spaced instead of pooling gaps around
   Title and Date. */
.pco-col-title[b-ypa93g4hwg]   { flex: 2 1 220px; min-width: 0; }
.pco-col-num[b-ypa93g4hwg]     { flex: 1 0 120px; min-width: 0; white-space: nowrap; }
.pco-col-status[b-ypa93g4hwg]  { flex: 1 0 170px; min-width: 0; }
.pco-col-date[b-ypa93g4hwg]    { flex: 1 0 140px; min-width: 0; white-space: nowrap; }
.pco-col-amount[b-ypa93g4hwg]  { flex: 1 0 130px; min-width: 0; justify-content: flex-end; text-align: right; }
.pco-col-actions[b-ypa93g4hwg] { flex: 0 0 130px; justify-content: flex-end; }

.pco-title[b-ypa93g4hwg] {
    min-width: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* US-1050: the hover-description wrapper MudTooltip puts around the title. It is
   rendered by MudTooltip (no scope attribute), hence ::deep from the cell. A flex
   box with min-width 0 so the title still truncates instead of widening the row. */
.pco-col-title[b-ypa93g4hwg]  .pco-title-tip {
    display: flex;
    min-width: 0;
    max-width: 100%;
}

/* Signed delta: positive (budget increase) = destructive red; negative
   (reduction) = success green (spec section 0 semantics). */
.pco-amount[b-ypa93g4hwg] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pco-amount-pos[b-ypa93g4hwg] { color: var(--lw-status-error-fg); }
.pco-amount-neg[b-ypa93g4hwg] { color: var(--lw-status-success-fg); }

.pco-chev[b-ypa93g4hwg] {
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

/* Row Submit: action-sm navy (same recipe as the owner row Approve). */
.pco-submit-btn[b-ypa93g4hwg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.pco-submit-btn:hover[b-ypa93g4hwg] {
    background: var(--lw-primary-dark-hover);
}

.pco-submit-btn:active[b-ypa93g4hwg] {
    transform: translateY(1px);
}

/* ---- Phone card list (LwListCard phone-cards; the row chrome is the atom's) ---- */
.pco-cards[b-ypa93g4hwg] {
    display: flex;
    flex-direction: column;
}

/* Draft rows keep the 2px brand-accent left edge of the old cards. */
.pco-cards[b-ypa93g4hwg]  .lw-list-row.pco-row--draft {
    box-shadow: inset 2px 0 0 var(--lw-primary-blue), var(--lw-shadow-card);
}

.pco-card[b-ypa93g4hwg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.pco-card-top[b-ypa93g4hwg] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Title wraps to two lines (O7) instead of the desktop column's ellipsis. */
.pco-card-title[b-ypa93g4hwg] {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pco-card-top .pco-amount[b-ypa93g4hwg] {
    flex-shrink: 0;
}

.pco-card-status[b-ypa93g4hwg] {
    display: flex;
}

.pco-card-meta[b-ypa93g4hwg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    /* Shared list-card secondary-line type (lw-page.css tokens): 12 / 16. */
    font-size: var(--lw-row-sub-size);
    line-height: var(--lw-row-sub-line);
    color: var(--lw-gray-graphite);
}

.pco-card-sep[b-ypa93g4hwg] {
    color: var(--lw-border);
}

/* Phone card insets and row menu (US-1043 Batch 11; same rules as ProjectInvoices
   .pi-phone). A draft row is LwListRow's split variant (it has an Actions cell), whose
   link region adds 12px / 16px of its own for desktop lists on top of the phone card's
   12px: zeroed so draft and submitted cards share one inset. The row menu grows from
   the 32px desktop ghost button to a 44px target pinned to the card's top right. */
@media (max-width: 767.98px) {
    .pco-cards[b-ypa93g4hwg]  .lw-list-row-link {
        padding: 0;
    }

    .pco-cards[b-ypa93g4hwg]  .lw-list-row-actions {
        align-self: flex-start;
        padding: 0 0 0 4px;
    }

    .pco-cards[b-ypa93g4hwg]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }
}

/* Desktop table above md; cards below. */
@media (max-width: 767.98px) {
    .pco-table-card[b-ypa93g4hwg] {
        display: none;
    }
}

@media (min-width: 768px) {
    .pco-cards[b-ypa93g4hwg] {
        display: none;
    }
}

/* ---- Empty / no-results states ----
   Zero-data hero: LwEmptyState atom + global lw-empty-* vocabulary.
   Filter-no-match: shared Card + global .lw-page-empty-results recipe.
   Only the phone fit below is local (US-1043 Batch 11, twin of ProjectInvoices). */
@media (max-width: 767.98px) {
    /* Filtered-empty card: 48px top and bottom is a lot of a 360px screen. */
    .pco-body[b-ypa93g4hwg]  .lw-page-empty-results {
        padding: 32px 16px;
    }

    /* First-run hero: the atom's three-up points start at 640px; inside this tab they
       stay one per row until 768px, and the CTA is a full-width 44px target. Its label
       ("Create Your First Budget Adjustment") is wider than a 360px card's 280px, so it
       may wrap to two lines instead of pushing the card sideways (A1). */
    .pco-body[b-ypa93g4hwg]  .lw-empty-points {
        grid-template-columns: 1fr;
    }

    .pco-body[b-ypa93g4hwg]  .lw-empty-action {
        align-self: stretch;
    }

    .pco-body[b-ypa93g4hwg]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 auto;
        height: auto;
        min-height: 44px;
        padding: 8px 16px;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    /* Signature sample rows: names wrap beside the amount and chip (A2). */
    .pco-body[b-ypa93g4hwg]  .lw-empty-sig-name {
        white-space: normal;
    }
}

/* ---- Summary strip: canonical KPI cards (kpi-card.tsx / cpo-kpi recipe) ---- */
.pco-summary[b-ypa93g4hwg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .pco-summary[b-ypa93g4hwg] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pco-summary-item[b-ypa93g4hwg] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 116px;
    padding: 1.25rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.pco-summary-label[b-ypa93g4hwg] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lw-gray-graphite);
}

/* Reference kpi-card.tsx: text-xl on mobile, 32px from md up. */
.pco-summary-value[b-ypa93g4hwg] {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    font-family: var(--lw-font-family-heading, sans-serif);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .pco-summary-value[b-ypa93g4hwg] {
        font-size: 32px;
    }
}

.pco-summary-value-pos[b-ypa93g4hwg] { color: var(--lw-status-error-fg); }
.pco-summary-value-neg[b-ypa93g4hwg] { color: var(--lw-status-success-fg); }

/* Phones (O9, US-1043 Batch 11): one full-width card per figure instead of the
   two-up grid that left Pending alone beside a hole. Same geometry as the dashboard
   KPI rows (LwKpiCard PhoneRow / Home .hd-kpi-grid--phone-rows): the figure at 20px
   with its label right beside it, 12px / 16px padding, 8px between cards. Applied at
   the app's 767.98 phone breakpoint, where this strip's grid changes. */
@media (max-width: 767.98px) {
    .pco-summary[b-ypa93g4hwg] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.5rem;
    }

    .pco-summary-item[b-ypa93g4hwg] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        column-gap: 0.5rem;
        min-height: 0;
        padding: 0.75rem 1rem;
    }

    .pco-summary-label[b-ypa93g4hwg] {
        grid-row: 1;
        grid-column: 2;
    }

    .pco-summary-value[b-ypa93g4hwg] {
        grid-row: 1;
        grid-column: 1;
        margin-top: 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectClientUsersCard.razor.rz.scp.css */
/* Project owner's team card internals (US-665) -- the card chrome is the shared
   ControlCard. Header action + row rhythm mirror ProjectCommunicationRecipients
   (reference Button variant="outline" size="action-sm"). */

.pcu-add[b-00vwqphngn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.pcu-add:hover[b-00vwqphngn] {
    background: var(--lw-accent);
}

.pcu-add[b-00vwqphngn]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.pcu-rows[b-00vwqphngn] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pcu-empty[b-00vwqphngn] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* Phone (US-1043, A3 / O4): the header action and the row's icon buttons grow to 44px
   targets, and the status chip + up to three icon buttons take their own line under
   the name/email (PartyMemberRow already lets the head wrap; this makes the cluster
   span the full row so a 360px card never crushes the text column). Chip at the left,
   buttons right-aligned; a long "Invite pending owner acceptance" chip wraps the
   buttons onto a third line rather than widening the card. */
@media (max-width: 767.98px) {
    .pcu-add[b-00vwqphngn] {
        min-height: 44px;
    }

    .pcu-rows[b-00vwqphngn]  .lw-party-row__actions {
        flex: 1 1 100%;
        gap: 8px;
    }

    .pcu-rows[b-00vwqphngn]  .lw-party-row__actions .lw-status-chip {
        margin-right: auto;
    }

    .pcu-rows .lw-row-icon-btn[b-00vwqphngn] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectCloseoutCard.razor.rz.scp.css */
/* Close-out status card (US-514): four close-out milestones as step rows inside a ControlCard.
   Row recipe copied from the kickoff card's owner-onboarding rows (ProjectKickoffOverview.razor.css
   .pk-step / .pk-step--detailed / .pk-step-detail, from ledgerwise-ui signature-roster.tsx +
   proposal-status-banner.tsx: bordered white rows, rounded-card, px-3.5 py-2.5, gap-3, 20px glyph,
   14/500 label, 12/16 muted detail, size-sm badge trailing). The disbursement note is the card's own
   Note slot (ControlCard .cc-note); the agreement link copies the overview's cpo-bank-download.
   Only --lw-* tokens; the card chrome is ControlCard's. */

.pco-steps[b-klvrm15mvo] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pco-step[b-klvrm15mvo] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 10px 14px;
}

/* A row with a detail line under its label aligns the glyph and chip to the first line. */
.pco-step--detailed[b-klvrm15mvo] {
    align-items: flex-start;
}

.pco-step__text[b-klvrm15mvo] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pco-step__label[b-klvrm15mvo] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--lw-text-primary);
}

/* Steps still ahead read muted so the eye lands on the current one. */
.pco-step--upcoming .pco-step__label[b-klvrm15mvo] {
    color: var(--lw-gray-graphite);
}

.pco-step__detail[b-klvrm15mvo] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

.pco-step[b-klvrm15mvo]  .pco-step__icon.mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
    flex-shrink: 0;
}

.pco-step[b-klvrm15mvo]  .pco-step__icon--done.mud-icon-root {
    color: var(--lw-success-dark) !important;
}

.pco-step[b-klvrm15mvo]  .pco-step__icon--active.mud-icon-root {
    color: var(--lw-primary-blue) !important;
}

.pco-step[b-klvrm15mvo]  .pco-step__icon--pending.mud-icon-root {
    color: var(--lw-gray-smoke) !important;
}

/* Settlement facts under the steps: hairline-topped section holding the same two-column
   label-over-value grid the overview's Project details card uses (ProjectOverview .po-fields:
   1fr 1fr, 0.875rem 1.5rem gap; one column on phones). */
.pco-settlement[b-klvrm15mvo] {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--lw-border);
}

.pco-facts[b-klvrm15mvo] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
}

/* The owner's own step carries its action in place of the chip; keep it on one line. */
.pco-step[b-klvrm15mvo]  .pco-step__action,
.pco-step .pco-step__action[b-klvrm15mvo] {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 599px) {
    .pco-facts[b-klvrm15mvo] {
        grid-template-columns: 1fr;
    }
}

/* Same small link as the overview's wire-instructions download (cpo-bank-download):
   11/500 brand blue, darkens on hover. */
.pco-note__link[b-klvrm15mvo] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue);
    text-decoration: none;
    transition: color 0.15s;
}

.pco-note__link:hover[b-klvrm15mvo] {
    color: var(--lw-primary-dark);
}

.pco-note__link[b-klvrm15mvo]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

/* Phone (US-798 idiom, cpo-transfer-row): a long chip ("Waiting on Brooks Rogers") drops
   under the label, aligned to the text column (20px glyph + 12px gap), instead of squeezing
   the label into a two-line wrap beside it. */
@media (max-width: 599px) {
    .pco-step[b-klvrm15mvo] {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .pco-step__text[b-klvrm15mvo] {
        flex: 1 1 calc(100% - 20px - 12px);
    }

    .pco-step[b-klvrm15mvo]  .lw-status-chip {
        flex: 0 0 auto;
        margin-left: calc(20px + 12px);
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectCommunicationRecipients.razor.rz.scp.css */
/* Communication-recipients card internals -- the card chrome is the shared
   ControlCard. Header action = reference Button variant="outline"
   size="action-sm" (h-36, px-16, 13/500, 16px leading icon, hover accent).
   Row remove = the canonical lw-row-icon-btn--danger ghost icon button. */

.pcr-add[b-h8nfxzcter] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.pcr-add:hover[b-h8nfxzcter] {
    background: var(--lw-accent);
}

.pcr-add[b-h8nfxzcter]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

/* Recipient rows -- same PartyMemberRow stack rhythm as the team roster. */
.pcr-rows[b-h8nfxzcter] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Phone (US-1043): 44px tap targets (A3). The header action keeps its
   36px desktop height above 768px; the remove button is the 32px
   lw-row-icon-btn ghost recipe, grown to 44px inside the row's 16px inset
   without moving the row's text column. */
@media (max-width: 767.98px) {
    .pcr-add[b-h8nfxzcter] {
        min-height: 44px;
    }

    .pcr-rows[b-h8nfxzcter]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
        margin: -6px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectDrawRequests.razor.rz.scp.css */
/* ProjectDrawRequests (Payment Requests tab) -- page-level layout only.
   Source: ledgerwise-app organisms/gc/gc-payment-requests.tsx, measured live
   on localhost:3005 project 104 (2026-07-12): toolbar tab 8px/14px r8 navy
   active + shadow-sm, count 18px r8, active amount 13/700 tabular white-70
   behind a 1px white-20 divider (ml-4 pl-8); th 12/16px 14/500 graphite on
   table-header bg; rows h47 cursor-pointer accent/50 hover; Request 14/700,
   Date + Invoices content-secondary, Amount right 14/600 tabular; chevron
   16px graphite; card r8 hairline + card shadow.
   Table/checkbox/kebab/pager chrome: css/components/lw-table.css.
   Toolbar/search/action/empty chrome: css/components/lw-page.css.
   Tabs: LwChip (Tab variant + Amount); badges: StatusChip.
   The draft submit banner is Blazor-specific (no reference equivalent) and
   keeps its navy strip styling.
   NOTE: tab content renders full-bleed (MudTabs PanelClass gotcha in
   Project.razor.css) -- no negative margins, .pdr-body owns the inset. */

.pdr-page[b-o39k9uwh0d] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Toolbar stacks on mobile (reference: flex-col gap-3 below md). */
@media (max-width: 767.98px) {
    .pdr-toolbar[b-o39k9uwh0d] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    /* 44px tap targets (A3, US-1043 Batch 11): the status trigger, Create and the
       search box are 36px on desktop. The global 44px rule only reaches
       .lw-page-shell hosts; this tab is not one (same block as ProjectInvoices). */
    .pdr-toolbar .lw-page-action[b-o39k9uwh0d],
    .pdr-toolbar .lw-page-search[b-o39k9uwh0d] {
        height: 44px;
    }

    /* The trigger is LwSectionTrigger's own markup, so it needs ::deep. */
    .pdr-toolbar[b-o39k9uwh0d]  .lw-page-section-trigger {
        height: 44px;
    }

    .pdr-toolbar .lw-page-action--primary[b-o39k9uwh0d] {
        min-width: 44px;
        justify-content: center;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .pdr-toolbar .lw-page-search-input[b-o39k9uwh0d] {
        font-size: 16px;
    }

    .pdr-search-clear[b-o39k9uwh0d] {
        width: 44px;
        height: 44px;
        right: 0;
    }
}

/* Muted content region (reference: flex-1 flex-col gap-4 bg-muted p-4 md:p-6). */
.pdr-body[b-o39k9uwh0d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .pdr-body[b-o39k9uwh0d] {
        padding: 24px;
    }
}

/* ---- Search ---- */

.pdr-search-wrap[b-o39k9uwh0d] {
    position: relative;
    flex: 1;
}

/* Stacked phone toolbar (lw-page.css --stack-search): section trigger + Create on the
   first row, search (in its clear-button wrapper) full width below (US-1043). */
@media (max-width: 767.98px) {
    .pdr-search-wrap[b-o39k9uwh0d] {
        order: 10;
        flex: 1 1 100%;
    }
}

@media (min-width: 768px) {
    .pdr-search-wrap[b-o39k9uwh0d] {
        flex: 0 0 auto;
    }

    /* Reference PR search is narrower than invoices: lg:w-52 (208px) --
       the lw-page-search default; no override needed beyond mobile. */
}

@media (max-width: 767.98px) {
    .pdr-search-wrap .lw-page-search[b-o39k9uwh0d] {
        width: 100%;
    }
}

.pdr-search-clear[b-o39k9uwh0d] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-space);
    cursor: pointer;
}

.pdr-search-clear:hover[b-o39k9uwh0d] {
    color: var(--lw-text-primary);
}

/* Icon-only Create button on very small screens: "Create Payment Request" (about
   215px) leaves the status trigger under 110px of a 328px row at 360, which clips
   "Upcoming 12" -- so the label goes and the button keeps its aria-label. */
@media (max-width: 480px) {
    .pdr-add-btn-label[b-o39k9uwh0d] {
        display: none;
    }
}

/* ---- Draft submit banner ----
   Reference "Next disbursement" gradient card (gc-payment-requests.tsx,
   measured 2026-07-12): rounded-card, 135deg brand-accent -> blue-light ->
   gold, white text, card shadow (hover lifts to shadow-lg + 6% white veil);
   p-6 md:p-7 with right room for the chevron; eyebrow 11/700 uppercase
   tracking .14em white/90 with 16px icon; hero amount 34px (md 40px) bold
   tracking-tight tabular; meta 14/500 white/80; note 14px white/85 with
   semibold white highlights; 20px chevron at right, sidebar-bg/60. */

.pdr-banner[b-o39k9uwh0d] {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 0;
    border-radius: var(--lw-radius-card);
    background: linear-gradient(135deg, var(--lw-primary-blue), var(--lw-primary-blue-light), var(--lw-primary-gold));
    color: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.pdr-banner:hover[b-o39k9uwh0d] {
    box-shadow: var(--lw-shadow-lg);
}

/* Hover veil (reference: group-hover white/6 overlay). */
.pdr-banner[b-o39k9uwh0d]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    transition: background-color 0.15s ease;
}

.pdr-banner:hover[b-o39k9uwh0d]::after {
    background: color-mix(in srgb, var(--lw-white) 6%, transparent);
}

@media (min-width: 768px) {
    .pdr-banner[b-o39k9uwh0d] {
        padding: 28px 64px 28px 28px;
    }
}

.pdr-banner-eyebrow[b-o39k9uwh0d] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: color-mix(in srgb, var(--lw-white) 90%, transparent);
}

.pdr-banner-eyebrow[b-o39k9uwh0d]  .pdr-banner-eyebrow-icon.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--lw-white);
}

.pdr-banner-hero[b-o39k9uwh0d] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 12px;
    row-gap: 4px;
    margin-top: 12px;
    min-width: 0;
}

.pdr-banner-amount[b-o39k9uwh0d] {
    font-size: 34px;
    font-weight: var(--lw-font-bold);
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    font-variant-numeric: tabular-nums;
    /* A seven-figure total at 34px is wider than a 280px banner: it breaks rather
       than clipping under the card's overflow:hidden (A2). */
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (min-width: 768px) {
    .pdr-banner-amount[b-o39k9uwh0d] {
        font-size: 40px;
    }
}

.pdr-banner-meta[b-o39k9uwh0d] {
    font-size: 14px;
    font-weight: 500;
    color: color-mix(in srgb, var(--lw-white) 80%, transparent);
}

.pdr-banner-note[b-o39k9uwh0d] {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.625;
    color: color-mix(in srgb, var(--lw-white) 85%, transparent);
}

.pdr-banner-note span[b-o39k9uwh0d] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-white);
}

/* Whole-card affordance chevron (md+ only, like the reference). */
.pdr-banner[b-o39k9uwh0d]  .pdr-banner-chevron.mud-icon-root {
    display: none;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: color-mix(in srgb, var(--lw-primary-dark) 60%, transparent);
    transition: transform 0.15s ease;
}

.pdr-banner:hover[b-o39k9uwh0d]  .pdr-banner-chevron.mud-icon-root {
    transform: translateY(-50%) translateX(2px);
}

@media (min-width: 768px) {
    .pdr-banner[b-o39k9uwh0d]  .pdr-banner-chevron.mud-icon-root {
        display: block;
    }
}


/* ---- Desktop table column layout (chrome in lw-table.css) ---- */

.pdr-table[b-o39k9uwh0d] {
    display: none;
}

@media (min-width: 768px) {
    .pdr-table[b-o39k9uwh0d] {
        display: flex;
    }
}

/* Reference min-widths: Request 120 / Status 140 / Date 180 / Invoices 110 /
   Amount 120 right / chevron w-10; Date and Amount take the slack. */
/* "Payment Request 42" (US-731) needs ~180px to stay on one line at 14px/700. */
.pdr-col-request[b-o39k9uwh0d] {
    flex: 0 0 190px;
    min-width: 0;
    white-space: nowrap;
}

.pdr-col-status[b-o39k9uwh0d] {
    flex: 0 0 160px;
    min-width: 0;
}

.pdr-col-date[b-o39k9uwh0d] {
    flex: 1 1 180px;
    min-width: 0;
    white-space: nowrap;
}

.pdr-col-invoices[b-o39k9uwh0d] {
    flex: 0 0 120px;
    min-width: 0;
}

.pdr-col-amount[b-o39k9uwh0d] {
    flex: 1 1 120px;
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
}

.pdr-col-chevron[b-o39k9uwh0d] {
    flex: 0 0 40px;
    justify-content: center;
    padding: 12px 8px;
}

.pdr-request-number[b-o39k9uwh0d] {
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.pdr-amount[b-o39k9uwh0d] {
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* MudIcon is a child component -- its svg lacks this file's scope attribute,
   so the rule must pierce via ::deep from the scoped cell div. */
.pdr-col-chevron[b-o39k9uwh0d]  .pdr-chevron.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--lw-gray-graphite);
}

/* ---- Phone card list (LwListCard phone-cards; the row chrome is the atom's) ----
   Same recipe as the Adjustments tab (.pco-cards) and the Invoices tab (.pi-phone):
   12px padding, hairline border, card radius and shadow come from LwListCard. */

.pdr-cards[b-o39k9uwh0d] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pdr-cards[b-o39k9uwh0d] {
        display: none;
    }
}

/* Created/queued rows keep the 2px brand-accent left edge of the old cards. */
.pdr-cards[b-o39k9uwh0d]  .lw-list-row.pdr-row--upcoming {
    box-shadow: inset 2px 0 0 var(--lw-primary-blue), var(--lw-shadow-card);
}

.pdr-card[b-o39k9uwh0d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.pdr-card-top[b-o39k9uwh0d] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Request number takes the shared list-card title type (lw-row-title: 14 / medium / 20,
   lw-page.css) -- no weight of its own, so every list card's title reads the same
   (Cody 2026-10-12); it wraps to two lines (O7) rather than ellipsizing beside the
   amount. */
.pdr-card-title[b-o39k9uwh0d] {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pdr-card-top .pdr-amount[b-o39k9uwh0d] {
    flex-shrink: 0;
}

.pdr-card-status[b-o39k9uwh0d] {
    display: flex;
}

.pdr-card-meta[b-o39k9uwh0d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    /* Shared list-card secondary-line type (lw-page.css tokens): 12 / 16. */
    font-size: var(--lw-row-sub-size);
    line-height: var(--lw-row-sub-line);
    color: var(--lw-gray-graphite);
}

.pdr-card-sep[b-o39k9uwh0d] {
    color: var(--lw-border);
}

/* Empty-state signature: gold-accented "Request total" hero row (reference
   payment-requests-empty-state.tsx total row; same recipe as the awarded bid
   on the Proposals tab). */
.pdr-sig-total[b-o39k9uwh0d] {
    background: color-mix(in srgb, var(--lw-primary-gold) 10%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lw-primary-gold) 40%, transparent);
}

.pdr-sig-total .lw-empty-sig-name[b-o39k9uwh0d],
.pdr-sig-total .lw-empty-sig-amount[b-o39k9uwh0d] {
    font-weight: var(--lw-font-bold);
}

.pdr-sig-total-icon[b-o39k9uwh0d] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lw-primary-gold);
    color: var(--lw-primary-gold-fg);
}

.pdr-sig-total-icon[b-o39k9uwh0d]  .mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* ---- Phone states (US-1043 Batch 11) ----
   Zero-data CTA: LwEmptyState renders the Action slot inside its own markup, but the
   button itself is this page's element, so the scoped rule reaches it. 44px (A3) and
   full width so "Create Your First Payment Request" never clips at 360. */
@media (max-width: 767.98px) {
    .pdr-body .lw-page-action--lg[b-o39k9uwh0d] {
        height: auto;
        min-height: 44px;
        max-width: 100%;
        padding: 8px 20px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    /* Filtered-empty card: 16px side gutters inside the card and copy that wraps. */
    .pdr-body .lw-page-empty-results[b-o39k9uwh0d] {
        padding: 2.5rem 1rem;
    }

    .pdr-body .lw-page-empty-title[b-o39k9uwh0d],
    .pdr-body .lw-page-empty-desc[b-o39k9uwh0d] {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectInvoices.razor.rz.scp.css */
/* ProjectInvoices -- page-level layout only.
   Source: ledgerwise-app organisms/gc/gc-invoice-table.tsx (subhead toolbar,
   column widths, bulk footer) + molecules/invoice-card.tsx (mobile cards) +
   molecules/status-cell-tooltip.tsx (stage roadmap tooltip), 2026-07-12.
   Phones (US-1043): the cards moved onto LwListCard phone-cards + LwListRow
   with LwRowMenu, LwSelect (sort) and LwPager; see "Phone list" below.
   Table/pager/checkbox/kebab chrome: css/components/lw-table.css.
   Toolbar/search/action-button/empty chrome: css/components/lw-page.css.
   Status pills: LwChip (tab variant); badge: StatusChip; dots:
   LwInvoiceTracking; avatar: LwAvatar. */

/* Page shell. ALREADY full-bleed: MudBlazor 8 applies MudTabs' PanelClass to
   the .mud-tabs-panels CONTAINER (not per panel), and Project.razor.css zeroes
   that container's padding with !important -- so panel content starts flush
   under the tab strip with no gutters. No negative margins here (they painted
   the toolbar 24px over the tab strip); .pi-body owns the content inset.
   Also no min-height inflation (it feeds the MudTabs re-measure loop). */
.pi-page[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    /* Fill the stretched panel so .pi-body reaches the page bottom and the
       sticky bulk footer (margin-top auto) pins there. */
    flex: 1;
}

/* Toolbar: shared .lw-page-toolbar chrome; stacks on mobile (reference:
   flex-col gap-3 below md). */
@media (max-width: 767.98px) {
    .pi-toolbar[b-qzui8yrn9d] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    /* 44px tap targets (A3): Add Invoice and the search box are 36px on desktop. The
       global 44px rule only reaches .lw-page-shell hosts; this tab is not one. */
    .pi-toolbar .lw-page-action[b-qzui8yrn9d],
    .pi-toolbar .lw-page-search[b-qzui8yrn9d] {
        height: 44px;
    }

    .pi-toolbar .lw-page-action--primary[b-qzui8yrn9d] {
        min-width: 44px;
        justify-content: center;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .pi-toolbar .lw-page-search-input[b-qzui8yrn9d] {
        font-size: 16px;
    }

    .pi-search-clear[b-qzui8yrn9d] {
        width: 44px;
        height: 44px;
        right: 0;
    }
}

/* Muted content region under the toolbar (reference: flex-1 flex-col gap-4
   bg-muted p-4 md:p-6). The tab panel already paints --lw-bg-muted. */
.pi-body[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .pi-body[b-qzui8yrn9d] {
        padding: 24px;
    }
}

/* ---- Search + suggestions ---- */

.pi-search-wrap[b-qzui8yrn9d] {
    position: relative;
    flex: 1;
}

@media (min-width: 768px) {
    .pi-search-wrap[b-qzui8yrn9d] {
        flex: 0 0 auto;
    }

    /* Reference search is w-64 (256px) on this toolbar. */
    .pi-search-wrap .lw-page-search[b-qzui8yrn9d] {
        width: 256px;
    }
}

@media (max-width: 767.98px) {
    .pi-search-wrap .lw-page-search[b-qzui8yrn9d] {
        width: 100%;
    }

    /* Stacked phone toolbar (lw-page.css --stack-search): the section trigger, the
       forecast badge and Add Invoice share the first row; search, which here sits in
       its suggestions wrapper rather than directly in the row, drops to a full-width
       second row (US-1043). */
    .pi-search-wrap[b-qzui8yrn9d] {
        order: 10;
        flex: 1 1 100%;
    }
}

.pi-search-clear[b-qzui8yrn9d] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-space);
    cursor: pointer;
}

.pi-search-clear:hover[b-qzui8yrn9d] {
    color: var(--lw-text-primary);
}

/* Autocomplete popover (reference: min-w-280, py-1, popover shadow pair). */
.pi-suggestions[b-qzui8yrn9d] {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    z-index: 50;
    min-width: 280px;
    padding: 4px 0;
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-popover);
}

.pi-suggestion[b-qzui8yrn9d] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
    text-align: left;
    cursor: pointer;
}

.pi-suggestion-active[b-qzui8yrn9d] {
    background: var(--lw-accent);
}

.pi-suggestion-label[b-qzui8yrn9d] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pi-suggestion-tag[b-qzui8yrn9d] {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--lw-gray-space);
}

/* Phones (US-1043): the popover takes the search box's own width (the search is the
   full toolbar row here), so it can never leave the viewport; it scrolls inside
   itself past ~6 rows, and each suggestion is a 44px target. */
@media (max-width: 767.98px) {
    .pi-suggestions[b-qzui8yrn9d] {
        right: 0;
        min-width: 0;
        max-height: min(50vh, 280px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--lw-radius-control);
    }

    .pi-suggestion[b-qzui8yrn9d] {
        min-height: 44px;
        padding: 8px 16px;
    }
}

/* Hide the Add Invoice label on very small screens (icon-only button). */
@media (max-width: 480px) {
    .pi-add-btn-label[b-qzui8yrn9d] {
        display: none;
    }
}

/* ---- Desktop table column layout (chrome lives in lw-table.css) ---- */

.pi-desktop[b-qzui8yrn9d] {
    display: none;
}

@media (min-width: 768px) {
    .pi-desktop[b-qzui8yrn9d] {
        display: block;
    }
}

.pi-table[b-qzui8yrn9d] {
    display: none;
    /* Clip horizontally (keeps content within the card's rounded edges) but
       allow vertical overflow so the status hover tooltip can float below the
       grid even when there is only a single short row. Per the CSS overflow
       spec, a clip/visible pair on the two axes is preserved as-is. */
    overflow-x: clip;
    overflow-y: visible;
}

@media (min-width: 768px) {
    .pi-table[b-qzui8yrn9d] {
        display: flex;
    }
}

.pi-col[b-qzui8yrn9d] {
    flex: 1 1 0;
    min-width: 0;
}

.pi-col-vendor[b-qzui8yrn9d] {
    flex: 0 0 300px;
    min-width: 0;
    gap: 12px;
}

.pi-col-checkbox[b-qzui8yrn9d] {
    flex: 0 0 48px;
    justify-content: center;
    cursor: default;
}

.pi-col-actions[b-qzui8yrn9d] {
    flex: 0 0 48px;
    justify-content: center;
    gap: 8px;
    padding: 0;
    cursor: default;
}

/* Pager arrows are never disabled (O14): at the first / last page they carry
   aria-disabled and take the same muted look lw-table.css gives :disabled; the
   handlers ignore the tap. */
.lw-table-pager-btn[aria-disabled="true"][b-qzui8yrn9d],
.lw-table-pager-btn[aria-disabled="true"]:hover[b-qzui8yrn9d] {
    opacity: 0.3;
    cursor: default;
    color: var(--lw-gray-graphite);
}

/* Lien-waiver tab: actions column expands to fit the Sign Lien Release button + menu
   (reference reserves min-w-[160px] when a wide CTA is on the page; Bug-1262 widened it
   for the longer label: 12 + 162 button + 12 gap + 26 kebab + 12 = 224). */
.pi-table[data-filter="lien-waiver"] .pi-col-actions[b-qzui8yrn9d] {
    flex: 0 0 232px;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 12px;
}

/* US-921: one waiver covers every invoice the vendor has on the payment request. Sign
   Lien Release stacks a muted coverage line beneath it: the short form ("Covers 3 invoices") in
   the desktop cell with the full note as its tooltip, the full note on the phone card. */
.pi-sign-lien-stack[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.pi-lien-coverage[b-qzui8yrn9d] {
    font-size: 11px;
    line-height: 14px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.pi-lien-coverage--full[b-qzui8yrn9d] {
    font-size: 12px;
    line-height: 16px;
    white-space: normal;
}

/* ---- Status cell: badge + tracking dots + hover roadmap tooltip ---- */

.pi-status-stack[b-qzui8yrn9d] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Status pills carry the full user-facing status name (US-583); long labels
   wrap inside the cell instead of overflowing the column. */
.pi-status-stack[b-qzui8yrn9d]  .lw-status-chip {
    white-space: normal;
    text-align: left;
    height: auto;
    min-height: 24px;
    padding: 3px 6px;
    line-height: 1.3;
}

/* Roadmap tooltip (status-cell-tooltip.tsx): 200px card, rounded, py-3,
   16px round nodes with 1.5px connectors; done = success-dark, active =
   brand-accent ring with square inner dot, future = tracking-grey. */
.pi-tracking-tip[b-qzui8yrn9d] {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    z-index: 100;
    width: 200px;
    background: var(--lw-white);
    border-radius: var(--lw-radius-sm);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    pointer-events: none;
    flex-direction: column;
}

.pi-status-stack:hover .pi-tracking-tip[b-qzui8yrn9d] {
    display: flex;
}

.pi-tip-row[b-qzui8yrn9d] {
    display: flex;
    align-items: stretch;
    padding: 0 14px;
}

.pi-tip-track[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16px;
    flex-shrink: 0;
}

.pi-tip-node[b-qzui8yrn9d] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 50%;
}

.pi-tip-done[b-qzui8yrn9d] {
    background: var(--lw-success-dark);
    color: var(--lw-white);
}

.pi-tip-active[b-qzui8yrn9d] {
    border: 1.5px solid var(--lw-primary-blue);
    background: var(--lw-white);
}

.pi-tip-future[b-qzui8yrn9d] {
    border: 1.5px solid var(--lw-tracking-grey);
    background: var(--lw-white);
}

/* Reference active inner marker is a 6px SQUARE (size-1.5, no rounding). */
.pi-tip-active-dot[b-qzui8yrn9d] {
    width: 6px;
    height: 6px;
    background: var(--lw-primary-blue);
}

.pi-tip-line[b-qzui8yrn9d] {
    width: 1.5px;
    flex: 1;
    background: var(--lw-tracking-grey);
    min-height: 8px;
}

.pi-tip-line-done[b-qzui8yrn9d] {
    background: var(--lw-success-dark);
}

.pi-tip-content[b-qzui8yrn9d] {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.pi-tip-content-gap[b-qzui8yrn9d] {
    padding-bottom: 10px;
}

.pi-tip-label[b-qzui8yrn9d] {
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

.pi-tip-label-done[b-qzui8yrn9d] {
    color: var(--lw-success-dark);
}

.pi-tip-label-active[b-qzui8yrn9d] {
    color: var(--lw-primary-blue);
}

.pi-tip-label-future[b-qzui8yrn9d] {
    color: var(--lw-gray-space);
}

.pi-tip-date[b-qzui8yrn9d] {
    display: block;
    font-size: 10px;
    line-height: 13px;
    color: var(--lw-gray-space);
}

/* ---- Sticky bulk-action footer ----
   The shared .lw-bulk-bar (lw-table.css: sticky bottom, white, top hairline, upward
   shadow, count left, quiet actions right). Here it bleeds to the content area's
   edges, carries the running total, and adds "Add to Payment Request". */
.pi-bulk-bar[b-qzui8yrn9d] {
    margin: auto -16px -16px;
}

@media (min-width: 768px) {
    .pi-bulk-bar[b-qzui8yrn9d] {
        margin: auto -24px -24px;
        padding: 12px 24px;
    }
}

.pi-bulk-total[b-qzui8yrn9d] {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: var(--lw-gray-graphite);
}

.pi-bulk-pr-short[b-qzui8yrn9d] {
    display: none;
}

/* Phones (US-1043): "N selected" + the total share the first line (wrapping if the
   total is long) and the actions take their own full-width line (shared) -- 44px
   targets, Delete / Clear at label width, the primary filling the rest (O8) with its
   short "Add to PR" label. */
@media (max-width: 767.98px) {
    .pi-bulk-pr-long[b-qzui8yrn9d] {
        display: none;
    }

    .pi-bulk-pr-short[b-qzui8yrn9d] {
        display: inline;
    }

    .pi-bulk-total[b-qzui8yrn9d] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .pi-bulk-actions .lw-page-action[b-qzui8yrn9d] {
        flex: 1 1 auto;
        height: 44px;
        justify-content: center;
    }
}

/* ---- Phone list (US-1043) ----
   Below 768px the table is hidden and .pi-phone stands in: sort control, select-all
   bar (Needs Review), one card per invoice on the canonical phone-card recipe
   (LwListCard --phone-cards + LwListRow: 12px padding, hairline border, card radius
   and shadow come from the atom), then the pager. */

.pi-phone[b-qzui8yrn9d] {
    display: none;
}

@media (max-width: 767.98px) {
    .pi-phone[b-qzui8yrn9d] {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

/* Sort: the LwSelect field fills the row; the direction toggle is a square the
   field's own height (54px, above the 44px minimum). */
.pi-sort[b-qzui8yrn9d] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pi-sort-field[b-qzui8yrn9d] {
    flex: 1;
    min-width: 0;
}

.pi-sort-dir[b-qzui8yrn9d] {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
}

/* Select-all bar above the cards: the shared lw-table-selectbar, here standing on
   its own, so it takes the card radius and a full hairline. The button is a 44px
   target. */
.pi-selectbar[b-qzui8yrn9d] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    padding: 0 12px 0 16px;
}

.pi-selectall[b-qzui8yrn9d] {
    min-height: 44px;
}

/* Row menu in the card's actions cell: 44px hit area (32px on desktop lists). The
   cell is the atom's, so it is reached with ::deep from this page's wrapper. */
.pi-phone[b-qzui8yrn9d]  .lw-list-row-actions {
    align-self: flex-start;
    padding: 0 0 0 4px;
}

.pi-phone[b-qzui8yrn9d]  .lw-row-icon-btn {
    width: 44px;
    height: 44px;
}

/* The phone card already pads 12px all round; the split row's link region adds its
   own 12px / 16px for desktop lists, which a 360px card cannot spare. */
.pi-phone[b-qzui8yrn9d]  .lw-list-row-link {
    padding: 0;
}

.pi-card[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.pi-card-top[b-qzui8yrn9d] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Select check: LwSelectCheck's 44px phone target around the 20px .lw-check box; the
   negative margins hand the extra space back so the card's rhythm does not change
   (box flush with the card's content edge, 3px before the identity gap). */
.pi-card-check[b-qzui8yrn9d] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -12px -9px -12px -12px;
    flex-shrink: 0;
}

.pi-card-identity[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

/* Vendor name wraps to two lines (O7) instead of the desktop column's ellipsis. */
.pi-card-name[b-qzui8yrn9d] {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.pi-card-num[b-qzui8yrn9d] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.pi-card-amount[b-qzui8yrn9d] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Status chip + tracking dots; the dots wrap under a long chip. */
.pi-card-status[b-qzui8yrn9d] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.pi-card-status[b-qzui8yrn9d]  .lw-status-chip {
    white-space: normal;
    text-align: left;
    height: auto;
    min-height: 24px;
    padding: 3px 6px;
    line-height: 1.3;
}

/* The current stage in words: the tap path for the desktop hover roadmap. */
.pi-card-stage[b-qzui8yrn9d] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.pi-card-meta[b-qzui8yrn9d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.pi-card-dot[b-qzui8yrn9d] {
    color: var(--lw-border);
}

/* Sign Lien Release on the card: a full-width 44px target with its US-921 coverage note under it. */
.pi-card-action[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.pi-card-sign[b-qzui8yrn9d] {
    width: 100%;
    height: 44px;
    justify-content: center;
}

/* Footer under the cards, the Transactions tab recipe (.pt-foot / .pt-count): one
   row, the count on the left and the LwPager atom (44px cells on phones) pinned
   right. With a single page the pager is not rendered and only the count shows. */
.pi-phone-pager[b-qzui8yrn9d] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pi-phone-count[b-qzui8yrn9d] {
    min-width: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pi-phone-count strong[b-qzui8yrn9d] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
}

.pi-phone-pager[b-qzui8yrn9d]  .lw-pager {
    flex-shrink: 0;
    margin-left: auto;
}

/* ---- Load error (US-1043) ----
   The Project.razor .cp-state recipe: note stacked over its retry, which fills the
   width at 44px on phones. The body already carries the gutter. */
.pi-state[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pi-state-action[b-qzui8yrn9d] {
    align-self: flex-start;
}

.pi-state-action[aria-busy="true"][b-qzui8yrn9d] {
    cursor: progress;
}

@media (max-width: 767.98px) {
    .pi-state-action[b-qzui8yrn9d] {
        align-self: stretch;
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    /* Filtered-empty / uploads-only card: 48px top and bottom is a lot of a 360px
       screen; the copy keeps the 16px gutter. */
    .pi-body[b-qzui8yrn9d]  .lw-page-empty-results {
        padding: 32px 16px;
    }

    /* First-run LwEmptyState: the atom's three-up points start at 640px (Tailwind sm);
       inside this tab they stay one per row until the 768px breakpoint, and the CTA
       is a full-width 44px target. */
    .pi-body[b-qzui8yrn9d]  .lw-empty-points {
        grid-template-columns: 1fr;
    }

    .pi-body[b-qzui8yrn9d]  .lw-empty-action {
        align-self: stretch;
    }

    .pi-body[b-qzui8yrn9d]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 auto;
        height: 44px;
        justify-content: center;
    }
}

/* ---- Awaiting builder approval (US-899) ----
   Inbox uploads already pointed at this project that the builder has not
   confirmed yet. A compact card above the invoice table on the shared row
   recipe (lw-row-identity / lw-row-title / lw-row-sub from lw-page.css) --
   the builder-side twin of the subcontractor card in ContractorProjectInvoices
   (.cpi-pending-*). Spacing to the table below comes from the .pi-body gap. */

/* The card is a ControlCard with a flush body: the head (tile, title + count
   pill, subtitle) is the shared one. The explanation is the first body element,
   an LwCardNote on the rows' 16px inset, with 12px under it before the first row. */
.pi-pending-note[b-qzui8yrn9d] {
    padding: 16px 16px 12px;
}

.pi-pending-list[b-qzui8yrn9d] {
    display: flex;
    flex-direction: column;
}

.pi-pending-row[b-qzui8yrn9d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.pi-pending-row:last-child[b-qzui8yrn9d] {
    border-bottom: none;
}

.pi-pending-row--clickable[b-qzui8yrn9d] {
    cursor: pointer;
}

.pi-pending-row--clickable:hover[b-qzui8yrn9d] {
    background: var(--lw-bg-muted);
}

.pi-pending-identity[b-qzui8yrn9d] {
    flex: 1;
    min-width: 0;
}

.pi-pending-meta[b-qzui8yrn9d] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pi-pending-amount[b-qzui8yrn9d] {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.pi-pending-amount--none[b-qzui8yrn9d] {
    color: var(--lw-gray-graphite);
}

.pi-pending-actions[b-qzui8yrn9d] {
    flex-shrink: 0;
}

/* File name line and the label / value facts: phones only (on desktop the file,
   received and due sit inside the identity block, .pi-pending-desktop, and the
   amount has its own column). */
.pi-pending-file[b-qzui8yrn9d],
.pi-pending-facts[b-qzui8yrn9d] {
    display: none;
}

/* Label / value facts: the /invoices inbox phone-card recipe (.inv-m-fact) --
   graphite label left, medium tabular value against the right edge. */
.pi-pending-fact[b-qzui8yrn9d] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.pi-pending-fact-label[b-qzui8yrn9d] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.pi-pending-fact-value[b-qzui8yrn9d] {
    min-width: 0;
    text-align: right;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Phones (US-1043): each row re-flows as a card on a two-column grid (avatar |
   text). Column 2, top to bottom: title, status chip, provenance, file name (one
   line, ellipsis). Then full width: the facts (Amount / Due date / Received; a
   fact with no value is not rendered, so no placeholder dash) and a 44px Review.
   Spacing is per-item margin, not row-gap, so a row that is absent (no file line,
   no Review while the document is being read) leaves no gap behind. The whole row
   stays the tap target. */
@media (max-width: 767.98px) {
    .pi-pending-row[b-qzui8yrn9d] {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        column-gap: 12px;
        row-gap: 0;
        align-items: start;
    }

    .pi-pending-row[b-qzui8yrn9d]  .lw-avatar {
        grid-column: 1;
        grid-row: 1 / span 4;
    }

    /* The identity block dissolves so its title and provenance become grid items
       and the chip can sit between them. */
    .pi-pending-identity[b-qzui8yrn9d] {
        display: contents;
    }

    .pi-pending-name[b-qzui8yrn9d] {
        grid-column: 2;
        grid-row: 1;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* The label may wrap inside its chip rather than push the card wide. */
    .pi-pending-row[b-qzui8yrn9d]  .lw-status-chip {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        margin-top: 6px;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 24px;
        padding: 3px 6px;
        line-height: 1.3;
        white-space: normal;
        text-align: left;
    }

    .pi-pending-identity > .lw-row-sub[b-qzui8yrn9d] {
        grid-column: 2;
        grid-row: 3;
        margin-top: 6px;
    }

    .pi-pending-desktop[b-qzui8yrn9d] {
        display: none;
    }

    .pi-pending-file[b-qzui8yrn9d] {
        display: block;
        grid-column: 2;
        grid-row: 4;
        margin-top: 2px;
        font-size: 12px;
        line-height: 16px;
        color: var(--lw-gray-graphite);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pi-pending-facts[b-qzui8yrn9d] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        grid-column: 1 / -1;
        grid-row: 5;
        margin-top: 10px;
        min-width: 0;
    }

    /* The amount is a fact on phones; the desktop column (and its dash when the
       amount is not read yet) is not shown. */
    .pi-pending-amount[b-qzui8yrn9d] {
        display: none;
    }

    .pi-pending-actions[b-qzui8yrn9d] {
        grid-column: 1 / -1;
        grid-row: 6;
        margin-top: 12px;
    }

    .pi-pending-actions .lw-page-action[b-qzui8yrn9d] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }
}

/* The phone status trigger (LwSectionTrigger) matches the 44px Add Invoice
   button beside it (A3, US-1043 Batch 10). */
@media (max-width: 767.98px) {
    .pi-page[b-qzui8yrn9d]  .lw-page-section-trigger {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectKickoffBadge.razor.rz.scp.css */
/* Project Kickoff badge (US-1048): a 36px pill matching the height of the header's
   more-actions square beside it; blue-tinted like the checklist's count. The popover
   it opens is styled globally (.kb-popover, mudblazor-overrides.css). */
.kb[b-t9hxel4djr] {
    display: inline-flex;
}

.kb-badge[b-t9hxel4djr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px 0 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--lw-primary-blue) 25%, var(--lw-white));
    background: color-mix(in srgb, var(--lw-primary-blue) 10%, var(--lw-white));
    color: color-mix(in srgb, var(--lw-primary-blue) 75%, var(--lw-primary-dark));
    font: inherit;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    white-space: nowrap;
    cursor: pointer;
}

.kb-badge:hover[b-t9hxel4djr],
.kb-badge--open[b-t9hxel4djr] {
    border-color: var(--lw-primary-blue);
}

.kb-badge:focus-visible[b-t9hxel4djr] {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lw-primary-blue) 25%, transparent);
}

.kb-badge[b-t9hxel4djr]  .kb-chev.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor;
}

/* One-time "step done" pulse (US-1048, canvas board K1048StepDone): the badge turns
   green with a check, pops slightly with a soft halo, holds, then eases back to blue.
   The host bumps CelebrateToken only when a required step has just been completed. */
.kb-badge--celebrate[b-t9hxel4djr] {
    animation: kbCelebrate-b-t9hxel4djr 2.6s ease-in-out 1;
}

.kb-badge[b-t9hxel4djr]  .kb-done.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor;
    animation: kbDoneIn-b-t9hxel4djr 2.6s ease-in-out 1;
}

@keyframes kbCelebrate-b-t9hxel4djr {
    0% {
        transform: scale(1);
    }
    12% {
        color: var(--lw-status-success-fg);
        background: color-mix(in srgb, var(--lw-success-dark) 12%, var(--lw-white));
        border-color: var(--lw-success-dark);
        box-shadow: 0 0 0 6px color-mix(in srgb, var(--lw-success-dark) 18%, transparent);
        transform: scale(1.06);
    }
    25%, 75% {
        color: var(--lw-status-success-fg);
        background: color-mix(in srgb, var(--lw-success-dark) 12%, var(--lw-white));
        border-color: var(--lw-success-dark);
        box-shadow: 0 0 0 0 transparent;
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes kbDoneIn-b-t9hxel4djr {
    0% { opacity: 0; }
    12%, 75% { opacity: 1; }
    100% { opacity: 0; }
}

/* Reduced motion: no pop or halo -- the colour change and the check carry it. */
@media (prefers-reduced-motion: reduce) {
    .kb-badge--celebrate[b-t9hxel4djr] {
        animation: none;
        color: var(--lw-status-success-fg);
        background: color-mix(in srgb, var(--lw-success-dark) 12%, var(--lw-white));
        border-color: var(--lw-success-dark);
    }

    .kb-badge[b-t9hxel4djr]  .kb-done.mud-icon-root {
        animation: none;
    }
}

/* Phones: the badge sits in the header's badge row at the 44px target height. */
@media (max-width: 767.98px) {
    .kb-badge[b-t9hxel4djr] {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectKickoffOverview.razor.rz.scp.css */
/* Stack the draft card + detail sections (and the sent-state card) with consistent spacing,
   centered in a max-width column on the muted page background (mirrors ledgerwise-ui's
   ProjectOverview wrapper: mx-auto max-w-[1100px]). */
/* US-1120: once a proposal exists the Overview is two columns -- the tracker card and a
   360px People rail -- inside the same 1100px measure the in-construction Overview uses,
   so the page keeps one width through every state. */
.pk-split[b-qtrlb9gjeu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.pk-split__main[b-qtrlb9gjeu],
.pk-split__rail[b-qtrlb9gjeu] {
    min-width: 0;
}

/* The onboarding video is a child component, so ::deep. */
.pk-split__rail[b-qtrlb9gjeu]  .lw-ovc {
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .pk-split[b-qtrlb9gjeu] {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
    }
}

.kickoff-wrapper[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-inline: auto;
    /* Tab panels are full-bleed (Project.razor.css strips panel padding), so
       this component owns its inset -- same p-4 md:p-6 shell as ProjectOverview.
       max-width excludes the inset so the content column stays 1100px wide. */
    padding: 16px;
    max-width: calc(1100px + 32px);
}

@media (min-width: 768px) {
    .kickoff-wrapper[b-qtrlb9gjeu] {
        padding: 24px;
        max-width: calc(1100px + 48px);
    }
}

/* ============================================================
   Draft kickoff checklist (mirrors ledgerwise-ui ProjectKickoffChecklist)
   ============================================================ */
.kc-card[b-qtrlb9gjeu] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

/* Trailing ControlCard header slot on the proposal status card: chip + resend button. */
.pk-status-action[b-qtrlb9gjeu] {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.pk-status-action__chip[b-qtrlb9gjeu] {
    display: inline-flex;
}

/* Desktop size of the head action (the LwButton action size it replaced: 40px, 14px
   label). On phones the shared lw-card-action rule makes it a 44px icon square. */
.pk-status-btn[b-qtrlb9gjeu] {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
}

.pk-status-btn[b-qtrlb9gjeu]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

/* Phone-only copy of the status chip at the top of the card body (shown below). */
.pk-status-chip-row[b-qtrlb9gjeu] {
    display: none;
}

/* Proposal milestone timeline (Sent -> Opened -> Response).
   Source: ledgerwise-ui proposal-status-banner.tsx milestone <ol> (2026-08-10):
   li gap-3; label text-sm font-medium text-foreground; detail text-xs
   text-muted-foreground; connector my-1 w-px bg-border; non-last body pb-4. */
.lw-timeline[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
}

.lw-timeline-row[b-qtrlb9gjeu] {
    display: flex;
    gap: 0.75rem;
}

.lw-timeline-marker[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.25rem;
}

.lw-timeline-connector[b-qtrlb9gjeu] {
    width: 1px;
    flex: 1 1 auto;
    min-height: 0.75rem;
    margin: 0.25rem 0;
    background: var(--lw-border);
}

.lw-timeline-body[b-qtrlb9gjeu] {
    min-width: 0;
}

.lw-timeline-body--gap[b-qtrlb9gjeu] {
    padding-bottom: 16px;
}

.lw-timeline-label[b-qtrlb9gjeu] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.lw-timeline-detail[b-qtrlb9gjeu] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

/* Owner onboarding / account funding progress sections on the accepted card.
   Source: ledgerwise-ui signature-roster.tsx + proposal-status-banner.tsx accepted
   block (2026-08-10): sections separated by border-t border-border pt-5; header =
   icon size-4 content-secondary + text-sm font-semibold, caption text-xs
   content-secondary right; rows = bordered white cards (rounded-card, border-border,
   px-3.5 py-2.5, gap-3) with a size-sm badge trailing. */
.pk-section[b-qtrlb9gjeu] {
    margin-top: 20px;
    border-top: 1px solid var(--lw-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pk-section__head[b-qtrlb9gjeu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pk-section__title[b-qtrlb9gjeu] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pk-section__caption[b-qtrlb9gjeu] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pk-section__rows[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pk-step[b-qtrlb9gjeu] {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 10px 14px;
}

.pk-step__label[b-qtrlb9gjeu] {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

/* Bug-938: the "Project account" step carries a detail sentence under its label.
   source: none -- ledgerwise-ui has no project-account-setup state on the kickoff card;
   the detail reuses the timeline detail type (12/16 --lw-gray-space). */
.pk-step--detailed[b-qtrlb9gjeu] {
    align-items: flex-start;
}

.pk-step__text[b-qtrlb9gjeu] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pk-step__text .pk-step__label[b-qtrlb9gjeu] {
    flex: none;
}

.pk-step-detail[b-qtrlb9gjeu] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

.pk-step[b-qtrlb9gjeu]  .pk-step__icon.mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.pk-step[b-qtrlb9gjeu]  .pk-step__icon--done.mud-icon-root {
    color: var(--lw-success-dark) !important;
}

.pk-step[b-qtrlb9gjeu]  .pk-step__icon--pending.mud-icon-root {
    color: var(--lw-gray-smoke) !important;
}

/* Co-owner signature reminder row under "Account agreement" (multi-owner). */
/* Owner signature roster (Bug-872) -- mirrors the Project Owner's
   OwnerSignaturesCard roster (ledgerwise-ui signature-roster.tsx). */
.pk-owners[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 4px 4px;
}

.pk-owners__head[b-qtrlb9gjeu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.pk-owners__title[b-qtrlb9gjeu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pk-owners[b-qtrlb9gjeu]  .pk-owners__title-icon.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite) !important;
}

.pk-owners__caption[b-qtrlb9gjeu] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pk-owners__rows[b-qtrlb9gjeu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pk-owner[b-qtrlb9gjeu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    background: var(--lw-white, #fff);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    padding: 10px 14px;
}

.pk-owner__avatar[b-qtrlb9gjeu] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--lw-bg-muted, #F0F3F6);
    color: var(--lw-gray-graphite);
    font-size: 12px;
    font-weight: 600;
}

.pk-owner__info[b-qtrlb9gjeu] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pk-owner__name[b-qtrlb9gjeu] {
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pk-owner__sub[b-qtrlb9gjeu] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pk-owner__resend[b-qtrlb9gjeu] {
    flex-shrink: 0;
}

/* ============================================================
   Kickoff checklist rows (US-1048, 12 Oct call; canvas board K1048Overview):
   one flat list, a 24px status mark, title + Optional chip over a helper line,
   one action per row. The row that carries the main button (the budget, then
   Send proposal) gets a light blue wash. No progress bar (Cody, call).
   ============================================================ */
.kc3-head[b-qtrlb9gjeu] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.kc3-head__text[b-qtrlb9gjeu] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kc3-head__title[b-qtrlb9gjeu] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.kc3-head__sub[b-qtrlb9gjeu] {
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.kc3-head__count[b-qtrlb9gjeu] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
}

.kc3-rows[b-qtrlb9gjeu] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kc3-row[b-qtrlb9gjeu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
}

.kc3-rows .kc3-row:first-child[b-qtrlb9gjeu] {
    border-top: 0;
}

.kc3-row--active[b-qtrlb9gjeu] {
    background: color-mix(in srgb, var(--lw-primary-blue) 6%, var(--lw-white));
}

.kc3-mark[b-qtrlb9gjeu] {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 1.5px solid var(--lw-gray-smoke);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kc3-mark--next[b-qtrlb9gjeu] {
    border: 2px solid var(--lw-primary-blue);
}

.kc3-mark--optional[b-qtrlb9gjeu] {
    border: 1.5px dashed var(--lw-gray-steel);
}

.kc3-mark--done[b-qtrlb9gjeu] {
    border: 0;
    background: var(--lw-success-dark);
}

.kc3-mark--done[b-qtrlb9gjeu]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-white) !important;
}

.kc3-text[b-qtrlb9gjeu] {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kc3-title[b-qtrlb9gjeu] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.kc3-sub[b-qtrlb9gjeu] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.kc3-link[b-qtrlb9gjeu] {
    font: inherit;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    background: none;
    border: 0;
    padding: 4px 0;
    cursor: pointer;
}

.kc3-btn[b-qtrlb9gjeu] {
    font: inherit;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    height: 40px;
    padding: 0 16px;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-input-border);
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    cursor: pointer;
}

.kc3-btn--primary[b-qtrlb9gjeu] {
    border-color: var(--lw-primary-dark);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

/* Loading skeleton (US-1043): sketches the checklist's head and rows. */
.kc-skel__lines[b-qtrlb9gjeu] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kc-skel__lines[b-qtrlb9gjeu]  .lw-skeleton {
    max-width: 100%;
    border-radius: 4px;
}

.kc-skel[b-qtrlb9gjeu]  .kc-skel__mark {
    flex-shrink: 0;
    border-radius: 50%;
}

.kc-skel[b-qtrlb9gjeu]  .kc-skel__btn {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

.pk-owner__resend[b-qtrlb9gjeu]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

/* ============================================================
   Phone (US-1043, O10 / A3): 16px gutters inside the card, 44px targets, and the
   roster / header clusters wrap instead of pushing the card past the screen.
   ============================================================ */
@media (max-width: 767.98px) {
    .kc3-head[b-qtrlb9gjeu],
    .kc3-row[b-qtrlb9gjeu] {
        padding: 16px;
    }

    /* The row's action drops under the text and fills the row at 44px (O8). */
    .kc3-btn[b-qtrlb9gjeu] {
        width: 100%;
        height: 44px;
    }

    .kc3-link[b-qtrlb9gjeu] {
        min-height: 44px;
    }

    /* Proposal status card head (card-head audit): tile | title + subtitle | one icon
       action. The status chip leaves the head and leads the body, so the text block
       keeps the width; the action is the shared 44px icon square (lw-card-action). */
    .pk-status-action__chip[b-qtrlb9gjeu] {
        display: none;
    }

    .pk-status-action[b-qtrlb9gjeu] {
        gap: 0;
    }

    .pk-status-chip-row[b-qtrlb9gjeu] {
        display: flex;
        margin-bottom: 16px;
    }

    .pk-status-btn[b-qtrlb9gjeu]  .mud-icon-root {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }

    /* Progress rows (not tappable, but they frame the chips) keep the 44px rhythm. */
    .pk-step[b-qtrlb9gjeu] {
        min-height: 44px;
    }

    .pk-owners[b-qtrlb9gjeu] {
        padding-left: 0;
    }

    /* Roster row: avatar + name/email on the first line; "Resend email" and the
       Signed / Invited chip drop to a second line once the name column would fall
       under 140px. Names and emails wrap so the full value stays readable (A2). */
    .pk-owner__info[b-qtrlb9gjeu] {
        flex: 1 1 140px;
    }

    .pk-owner__name[b-qtrlb9gjeu],
    .pk-owner__sub[b-qtrlb9gjeu] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    .pk-owner__resend[b-qtrlb9gjeu] {
        min-height: 44px;
        padding: 0 12px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectOverview.razor.rz.scp.css */
/* ============================================================
   ProjectOverview -- measured against ledgerwise-ui-app (current):
   - src/components/organisms/project/project-overview.tsx
     (shared overview shell; the bg-muted scroll area + max-w-[1100px]
      gap-4 p-4 md:p-6 wrapper is owned by the host page, not here)
   - src/components/molecules/critical-actions-panel.tsx
   - src/components/molecules/trust-account-widget.tsx (funded state
     + MaskedField account-details box)
   Balance-breakdown hover tip mirrors the DrawRequestApprovalModal /
   ClientProjectBudget dark-navy tooltip pattern (Blazor-only feature).
   ============================================================ */

/* Local --po-* names alias the global design tokens; rename via branding.css
   in one place. */
.po-shell[b-4vn5owyuek] {
    --po-border: var(--lw-border);
    --po-muted: var(--lw-bg-muted);
    --po-muted-fg: var(--lw-gray-space);
    --po-content-secondary: var(--lw-gray-graphite);
    --po-foreground: var(--lw-text-primary);
    --po-accent: var(--lw-accent);
    --po-warning-text: var(--lw-status-warning-fg);
    --po-success-dark: var(--lw-success-dark);
    --po-destructive: var(--lw-destructive);
}

/* -- Layout grid -- */

/* Reference shell (project-overview.tsx): bg-muted scroll surface with a
   centered max-w-[1100px] single column, gap-4, p-4 md:p-6. */
.po-shell[b-4vn5owyuek] {
    background: var(--lw-bg-muted);
    padding: 16px;
}

@media (min-width: 768px) {
    .po-shell[b-4vn5owyuek] { padding: 24px; }
}

.po-col[b-4vn5owyuek] {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* gap-4 */
}

/* US-1120: two columns inside the same 1100px measure -- the money cards on the left, the
   People / Project details / Account settings rail on the right; stacked below 1024px. */
.po-split[b-4vn5owyuek] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.po-main[b-4vn5owyuek],
.po-rail[b-4vn5owyuek] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .po-split[b-4vn5owyuek] {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
    }
}

/* The read-only field grids are two columns on the wide card; one in the rail. */
.po-rail .po-fields[b-4vn5owyuek] {
    grid-template-columns: 1fr;
}


/* -- Card body (surface provided by the shared Card primitive) -- */




/* ============================================================
   Critical tasks panel (critical-actions-panel.tsx)
   ============================================================ */


.po-critical__list[b-4vn5owyuek] {
    display: flex;
    flex-direction: column;
}

.po-critical__empty[b-4vn5owyuek] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 2rem 1.25rem; /* px-5 py-8 */
    text-align: center;
}

.po-critical__empty-title[b-4vn5owyuek] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--po-foreground);
    margin: 0;
}

.po-critical__empty-sub[b-4vn5owyuek] {
    font-size: 0.75rem;
    color: var(--po-muted-fg);
    margin: 0;
}

.po-critical__row[b-4vn5owyuek] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem; /* gap-3 */
    padding: 0.75rem 1.25rem; /* px-5 py-3 */
    border-top: 1px solid var(--po-border); /* divide-y */
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.po-critical__row:first-child[b-4vn5owyuek] {
    border-top: none;
}

.po-critical__row:hover[b-4vn5owyuek] {
    /* hover:bg-accent/50 */
    background-color: color-mix(in srgb, var(--po-accent) 50%, transparent);
}

/* Color + size come from the shared StatusDot (size-2 rounded-sm); this only
   owns the top-alignment nudge (mt-1.5). */
[b-4vn5owyuek] .po-critical__dot {
    margin-top: 6px;
}

.po-critical__row-text[b-4vn5owyuek] {
    min-width: 0;
    flex: 1;
}

.po-critical__row-title[b-4vn5owyuek] {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.375; /* leading-snug */
    color: var(--po-foreground);
    margin: 0;
}

.po-critical__due[b-4vn5owyuek] {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.75rem;
    margin-top: 2px; /* mt-0.5 */
}

.po-critical__due--urgent[b-4vn5owyuek] {
    color: var(--po-destructive);
    font-weight: 600;
}

.po-critical__due--warning[b-4vn5owyuek] {
    color: var(--po-warning-text);
    font-weight: 500;
}

.po-critical__due--muted[b-4vn5owyuek] {
    color: var(--po-muted-fg);
}

.po-critical__pagination[b-4vn5owyuek] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1.25rem; /* px-5 py-2.5 */
    border-top: 1px solid var(--po-border);
}

.po-critical__page-count[b-4vn5owyuek] {
    font-size: 0.6875rem; /* text-[11px] */
    color: var(--po-muted-fg);
}

/* Prev / Next are the shared LwPager atom (its own scoped chrome). */

/* ============================================================
   Project account balance widget (trust-account-widget.tsx,
   funded state)
   ============================================================ */

.po-trust[b-4vn5owyuek] {
    /* Padding comes from ControlCard's body. */
}/* -- Not-funded treatment (notFunded branch) -- */

.po-trust__unfunded[b-4vn5owyuek] {
    margin-top: 0.75rem; /* mt-3 */
    padding: 1.25rem; /* p-5 */
    border-radius: var(--lw-radius-card);
    border: 1px solid color-mix(in srgb, var(--po-destructive) 25%, transparent); /* border-destructive/25 */
    background-color: var(--lw-status-error-bg); /* bg-destructive-bg */
}

.po-trust__unfunded-head[b-4vn5owyuek] {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 */
}

.po-trust__unfunded-chip[b-4vn5owyuek] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px; /* size-7 */
    height: 28px;
    border-radius: 9999px;
    background-color: color-mix(in srgb, var(--po-destructive) 10%, transparent); /* bg-destructive/10 */
    color: var(--po-destructive);
}

.po-trust__unfunded-chip[b-4vn5owyuek]  .po-trust__unfunded-chip-icon,
.po-trust__unfunded-chip[b-4vn5owyuek]  .mud-icon-root {
    width: 16px; /* size-4 */
    height: 16px;
    font-size: 16px;
}

.po-trust__unfunded-title[b-4vn5owyuek] {
    margin: 0;
    font-size: 0.75rem; /* text-xs */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em; /* tracking-wide */
    color: var(--lw-status-error-fg); /* text-destructive-text */
}

.po-trust__unfunded-amount[b-4vn5owyuek] {
    margin: 1rem 0 0 0; /* mt-4 */
    font-size: 2.75rem; /* text-[44px] */
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em; /* tracking-tight */
    font-variant-numeric: tabular-nums;
    color: var(--po-destructive);
}

.po-trust__unfunded-caption[b-4vn5owyuek] {
    margin: 0.375rem 0 0 0; /* mt-1.5 */
    font-size: 0.75rem;
    color: var(--po-muted-fg);
}

.po-trust__unfunded-note[b-4vn5owyuek] {
    margin: 1rem 0 0 0; /* mt-4 */
    padding-top: 1rem; /* pt-4 */
    border-top: 1px solid color-mix(in srgb, var(--po-destructive) 15%, transparent); /* border-destructive/15 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.625; /* leading-relaxed */
    color: var(--po-content-secondary);
}/* -- Account details (MaskedField box) -- */

.po-trust__details[b-4vn5owyuek] {
    margin-top: 1rem; /* mt-4 */
}

.po-trust__details-label[b-4vn5owyuek] {
    margin: 0 0 0.5rem 0; /* mb-2 */
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--po-muted-fg);
}

.po-trust__details-box[b-4vn5owyuek] {
    overflow: hidden;
    border-radius: var(--lw-radius-card);
    border: 1px solid var(--po-border);
    background-color: var(--lw-white);
}

.po-bank-download[b-4vn5owyuek] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem; /* mt-3 */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue, #3980A5);
    font-family: var(--lw-font-family);
    transition: color 0.15s;
}

.po-bank-download:hover[b-4vn5owyuek] {
    color: var(--lw-primary-dark, #020B2B);
}

/* In flight: muted, still a real button (O14); the handler ignores the tap. */
.po-bank-download[aria-busy="true"][b-4vn5owyuek] {
    color: var(--lw-gray-graphite, #6E7180);
    cursor: default;
}

.po-masked-row[b-4vn5owyuek] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem; /* gap-3 */
    padding: 0.75rem 0.875rem; /* px-3.5 py-3 */
}

.po-masked-row + .po-masked-row[b-4vn5owyuek] {
    border-top: 1px solid var(--po-border);
}

.po-masked-row__label[b-4vn5owyuek] {
    font-size: 0.75rem; /* text-xs */
    color: var(--po-muted-fg);
}

.po-masked-row__value-wrap[b-4vn5owyuek] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* gap-2 */
}

.po-masked-row__value[b-4vn5owyuek] {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: var(--po-foreground);
    font-variant-numeric: tabular-nums;
}

.po-masked-row__toggle[b-4vn5owyuek] {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--po-muted-fg);
    display: inline-flex;
    align-items: center;
    transition: color 0.15s ease;
}

.po-masked-row__toggle:hover[b-4vn5owyuek] {
    color: var(--po-foreground);
}

.po-masked-row__toggle[b-4vn5owyuek]  .po-masked-row__toggle-icon,
.po-masked-row__toggle[b-4vn5owyuek]  .mud-icon-root {
    width: 14px; /* size-3.5 */
    height: 14px;
    font-size: 14px;
}

/* ============================================================
   Project context cards (read-only field grid; Blazor-only surface,
   styled to the shared card idiom)
   ============================================================ */

.po-details[b-4vn5owyuek] {
    /* Padding comes from ControlCard's body. */
}


.po-fields[b-4vn5owyuek] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
}

.po-field[b-4vn5owyuek] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.po-field__label[b-4vn5owyuek] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--po-content-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.po-field__value[b-4vn5owyuek] {
    font-size: 0.875rem;
    color: var(--po-foreground);
    overflow-wrap: anywhere;
}

.po-fields__note[b-4vn5owyuek] {
    margin: 0.875rem 0 0 0;
    font-size: 0.75rem;
    color: var(--po-content-secondary);
}/* Pending reserve-increase banner on the Account settings card */
.po-fields__pending-reserve[b-4vn5owyuek] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.875rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--lw-primary-dark);
    background: var(--lw-bg-muted);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.po-fields__pending-reserve-cancel[b-4vn5owyuek] {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.po-fields__pending-reserve-cancel:hover[b-4vn5owyuek] {
    text-decoration: underline;
}

/* -- Phones (US-1043, Batch 7): one breakpoint for the whole tab -- */
@media (max-width: 767.98px) {
    /* Critical-task rows: the shared list-card title type (lw-page.css tokens,
       14 / medium / 20), as on the dashboard panel. */
    .po-critical__row-title[b-4vn5owyuek] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    /* Details / account-settings grids: one column (was 600px). */
    .po-fields[b-4vn5owyuek] {
        grid-template-columns: 1fr;
    }

    /* Account-details rows: the label keeps its width and the value cell wraps
       under it when the two cannot share the line (a beneficiary address at
       360px); short values (masked numbers) still sit at the right edge. */
    .po-masked-row[b-4vn5owyuek] {
        flex-wrap: wrap;
        padding: 12px 14px;
    }

    .po-masked-row__label[b-4vn5owyuek] {
        flex: 0 0 auto;
    }

    .po-masked-row__value-wrap[b-4vn5owyuek] {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .po-masked-row__value[b-4vn5owyuek] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Eye toggles: 44px tap box (A3) handed back with negative margins so the
       20px value line, and the row, keep their height; the glyph stays where
       it was (15px inset from each box edge). */
    .po-masked-row__toggle[b-4vn5owyuek] {
        width: 44px;
        height: 44px;
        justify-content: center;
        margin: -12px -15px -12px -15px;
        border-radius: 9999px;
    }

    /* Wire-instructions text link: 44px tap box, visual rhythm unchanged
       (12px above the 16px label, nothing added below the card body). */
    .po-bank-download[b-4vn5owyuek] {
        min-height: 44px;
        padding: 0 8px;
        margin: -2px 0 -14px -8px;
    }

    /* Critical-tasks pager: 44px cells on phones (the atom's 36px desktop
       shape is unchanged elsewhere). */
    .po-critical__pagination[b-4vn5owyuek]  .lw-pager-btn,
    .po-critical__pagination[b-4vn5owyuek]  .lw-pager-indicator {
        height: 44px;
    }

    .po-critical__pagination[b-4vn5owyuek]  .lw-pager-btn {
        width: 44px;
    }

    /* Pending reserve-increase line: the Cancel request link drops under the
       sentence instead of squeezing it, with its own 44px line. */
    .po-fields__pending-reserve[b-4vn5owyuek] {
        flex-wrap: wrap;
    }

    .po-fields__pending-reserve-cancel[b-4vn5owyuek] {
        min-height: 44px;
        margin: -8px 0 -8px auto;
    }
}
/* Info glyph on the Account settings captions (US-1131): the People card's pattern
   (ProjectPeopleCard.razor.css .pp-info): filled 16px Info glyph in the caption colour, a
   17.5rem navy 12px tip above it on hover / focus; the caption is uppercase so the tip resets
   the label styling. */
.po-info[b-4vn5owyuek] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

.po-info:hover[b-4vn5owyuek],
.po-info:focus-visible[b-4vn5owyuek] {
    color: var(--lw-gray-graphite);
}

.po-info[b-4vn5owyuek]  .po-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.po-info:focus-visible[b-4vn5owyuek]  .po-info__glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.po-info__tip[b-4vn5owyuek] {
    text-transform: none;
    letter-spacing: normal;
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    /* Same tip metrics as the People card's Owner's team glyph (Saad, 27 Oct: that size is right). */
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.po-info:hover .po-info__tip[b-4vn5owyuek],
.po-info:focus-visible .po-info__tip[b-4vn5owyuek],
.po-info:focus-within .po-info__tip[b-4vn5owyuek] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectPeopleCard.razor.rz.scp.css */
/* People rail card internals (US-1120). Card chrome is the shared ControlCard; the rows
   follow PartyMemberRow's type scale (14/600 name, 11/600 role pill, 12px muted meta) at
   the rail's density: 36px avatars (= the two text lines), no row borders, hairlines between the three groups. */
.pp-sec[b-xucjygmxsu] {
    padding: 0 0 6px;
}

/* The body carries 24px of inset. The first caption pulls up 10px so it sits 14px under the
   header hairline, close to the 10px the later captions sit under their own hairlines
   (Saad, 23 Oct: 24px read as too much). The last row ends at the body's bottom inset. */
.pp-sec:first-child[b-xucjygmxsu] {
    margin-top: -10px;
}

.pp-sec:last-child[b-xucjygmxsu] {
    padding-bottom: 0;
}

.pp-sec + .pp-sec[b-xucjygmxsu] {
    margin-top: 4px;
    border-top: 1px solid var(--lw-border);
    padding-top: 10px;
}

.pp-cap[b-xucjygmxsu] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    /* The app's uppercase field label (LwLabelValue / ProjectOverview): 11px/500, 0.025em, gray-space. */
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--lw-gray-space);
}

/* Info glyph + tooltip: LwBalanceStat's pattern (outlined 12px glyph, gray-space, navy box).
   The caption's 6px gap is the only space between the label and the glyph. */
.pp-info[b-xucjygmxsu] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lw-gray-space);
    cursor: default; /* no '?' cursor: the tooltip itself is the hint (Saad, 23 Oct) */
    outline: none;
    transition: color 120ms ease;
}

.pp-info:hover[b-xucjygmxsu],
.pp-info:focus-visible[b-xucjygmxsu] {
    color: var(--lw-gray-graphite);
}

.pp-info[b-xucjygmxsu]  .pp-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.pp-info:focus-visible .pp-info__glyph[b-xucjygmxsu] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.pp-info__tip[b-xucjygmxsu] {
    /* Inside the uppercase caption: the tooltip is a sentence, so undo the label styling. */
    text-transform: none;
    letter-spacing: normal;
    font-weight: var(--lw-font-regular);
    text-align: left;
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.pp-info:hover .pp-info__tip[b-xucjygmxsu],
.pp-info:focus-visible .pp-info__tip[b-xucjygmxsu],
.pp-info:focus-within .pp-info__tip[b-xucjygmxsu] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.pp-note[b-xucjygmxsu] {
    margin: 2px 0 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.pp-note--empty[b-xucjygmxsu] {
    color: var(--lw-gray-space);
}

.pp-row[b-xucjygmxsu] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

.pp-sec:last-child .pp-row:last-child[b-xucjygmxsu] {
    padding-bottom: 0;
}

.pp-avatar[b-xucjygmxsu] {
    flex: none;
    /* 36px = the two text lines beside it (20px name + 16px meta), so avatar and text share one height. */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: -0.025em;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.pp-avatar--owner[b-xucjygmxsu] {
    background: var(--lw-gradient-project-avatar);
    color: var(--lw-white);
}

.pp-avatar--pm[b-xucjygmxsu] {
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.pp-text[b-xucjygmxsu] {
    flex: 1;
    min-width: 0;
}

.pp-line[b-xucjygmxsu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pp-name[b-xucjygmxsu] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 20px;
    color: var(--lw-text-primary);
}

.pp-badge[b-xucjygmxsu] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    line-height: 16px;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.pp-meta[b-xucjygmxsu] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectProposals.razor.rz.scp.css */
/* ProjectProposals (GC Proposals / RFP tab) -- page-level layout only.
   Source: ledgerwise-app organisms/gc/gc-proposals-tab.tsx +
   organisms/gc/rfp-empty-state.tsx, measured live on localhost:3005 project
   104 (2026-07-23): white toolbar 12px/24px hairline bottom (navy Tab chips
   34px r8 + count 18px, search w-52, outline Filter, navy primary create);
   body bg-muted p-16/24 gap-16; table card r8 hairline + card shadow, th
   14/500 graphite 12px/16px pads, rows h61 two-line title (14/500
   foreground + 12 muted-fg ref), Badge sm statuses (h20 10/700 upper
   0.25px), neutral received pill, kebab w-48.
   Table chrome: css/components/lw-table.css. Toolbar/search/action/empty
   chrome: css/components/lw-page.css. Tabs: LwChip (Tab); badges:
   StatusChip (Small); empty state: LwEmptyState. */

/* Toolbar stacks on mobile (reference: flex-col gap-3 below md). */
@media (max-width: 767.98px) {
    .pp-toolbar[b-aqm7aovbn4] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    /* 44px tap targets (A3, US-1043): the actions and the search box are 36px on
       desktop. The global 44px rule only reaches .lw-page-shell hosts; this tab is
       not one (same block as ProjectDrawRequests .pdr-toolbar). */
    .pp-toolbar .lw-page-action[b-aqm7aovbn4],
    .pp-toolbar .lw-page-search[b-aqm7aovbn4] {
        height: 44px;
    }

    .pp-toolbar .lw-page-action[b-aqm7aovbn4] {
        flex: 0 0 auto;
    }

    .pp-toolbar .lw-page-action--primary[b-aqm7aovbn4] {
        min-width: 44px;
        justify-content: center;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .pp-toolbar .lw-page-search-input[b-aqm7aovbn4] {
        font-size: 16px;
    }

    /* The trigger is LwSectionTrigger's own markup, so it needs ::deep. It shares the
       first row with three 44px buttons, which leaves it about 172px at 360: the
       longest status ("Responses Received") ellipsizes rather than pushing the row
       wider than the screen. */
    .pp-toolbar[b-aqm7aovbn4]  .lw-page-section-trigger {
        height: 44px;
        min-width: 0;
        padding: 0 12px;
    }

    .pp-toolbar[b-aqm7aovbn4]  .lw-page-section-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Filter and Upload Proposal go icon-only: their labels cannot share a 328px row
       with the status trigger and the create button. Both keep aria-label + title. */
    .pp-tool-btn[b-aqm7aovbn4] {
        min-width: 44px;
        padding: 0 12px;
        justify-content: center;
    }

    .pp-tool-btn-label[b-aqm7aovbn4] {
        display: none;
    }

    /* The active-filter count rides the corner of the square Filter button. CountBadge
       is a child component (::deep); !important beats the ml-1 utility it is handed. */
    .pp-filter-btn[b-aqm7aovbn4] {
        position: relative;
    }

    .pp-filter-btn[b-aqm7aovbn4]  .lw-count-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        margin: 0 !important;
        box-shadow: 0 0 0 2px var(--lw-white);
    }
}

/* Icon-only create button. The sibling tabs drop their label at 480px; this toolbar
   also carries Filter and Upload Proposal, so "Add Request for Proposal" (about
   212px) only leaves the status trigger room from 600px up. */
@media (max-width: 599.98px) {
    .pp-add-btn-label[b-aqm7aovbn4] {
        display: none;
    }
}

/* Muted content region (reference: flex-1 flex-col gap-4 bg-muted p-4 md:p-6). */
.pp-body[b-aqm7aovbn4] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .pp-body[b-aqm7aovbn4] {
        padding: 24px;
    }
}

/* ---- Columns (reference RfpTable: title min-280, status 120, due 140,
   received 160, actions w-12) ----

   The reference is a real <table class="w-full min-w-[760px]"> whose th's
   carry MINIMUMS, so auto table layout spreads the surplus width across every
   column. The first port turned those minimums into fixed widths and left
   only the title flexible, which parked status/due/received against the right
   edge on a wide screen and let the widest status chip ("RESPONSES RECEIVED",
   nowrap + shrink-0) spill over the due date. Corrected 2026-09-17: every
   content column grows equally (flex-grow 1), so the surplus is shared and the
   spacing holds at any width.

   Each column needs an EXPLICIT basis, not `auto`: header and rows are
   separate flex containers, so a content-derived basis would size the header
   cell off the label and the body cell off the chip, and the two would drift
   out of alignment. Shrink is 0 so a column can never fall under its basis and
   overlap its neighbour -- below the 798px sum, .lw-table's overflow-x takes
   over, which is what min-w-[760px] does on the reference. */

.pp-col-title[b-aqm7aovbn4] {
    flex: 1 0 280px;
    min-width: 0;
}

/* Two-line title cell (reference: font-medium foreground over text-xs
   muted-foreground; 20px/16px line boxes, no gap -> 61px row). */
.pp-col-title .lw-row-cell[b-aqm7aovbn4] {
    gap: 0;
}

.pp-col-title .lw-row-cell-main[b-aqm7aovbn4] {
    font-weight: var(--lw-font-medium);
    line-height: 20px;
}

.pp-col-title .lw-row-cell-sub[b-aqm7aovbn4] {
    line-height: 16px;
}

/* 170, not the reference's 120: the reference column auto-expands to fit its
   badge, and "RESPONSES RECEIVED" needs ~130px plus the cell's 32px padding. */
.pp-col-status[b-aqm7aovbn4] {
    flex: 1 0 170px;
    min-width: 0;
}

.pp-col-due[b-aqm7aovbn4] {
    flex: 1 0 140px;
    min-width: 0;
    white-space: nowrap;
}

.pp-col-received[b-aqm7aovbn4] {
    flex: 1 0 160px;
    min-width: 0;
}

.pp-col-actions[b-aqm7aovbn4] {
    flex: 0 0 48px;
    justify-content: center;
    padding: 12px 8px;
}

/* ---- Desktop table above md; phone card list below ----
   The wrapper is layout-transparent on desktop (the Card stays .pp-body's own flex
   child) and exists only so this page can hide the table card on phones. */
.pp-table-wrap[b-aqm7aovbn4] {
    display: contents;
}

@media (max-width: 767.98px) {
    .pp-table-wrap[b-aqm7aovbn4] {
        display: none;
    }
}

/* ---- Phone card list (LwListCard phone-cards; the row chrome is the atom's) ----
   Same recipe as the Adjustments tab (.pco-cards) and the Payment Requests tab
   (.pdr-cards): 12px padding, hairline border, card radius and shadow come from
   LwListCard. */
.pp-cards[b-aqm7aovbn4] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pp-cards[b-aqm7aovbn4] {
        display: none;
    }
}

.pp-card[b-aqm7aovbn4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.pp-card-identity[b-aqm7aovbn4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Name keeps the table's medium weight and wraps to two lines (O7) instead of the
   desktop column's ellipsis. */
.pp-card-title[b-aqm7aovbn4] {
    white-space: normal;
    overflow: hidden;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pp-card-sub[b-aqm7aovbn4] {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

.pp-card-status[b-aqm7aovbn4] {
    display: flex;
}

/* Label / value facts: one per line, label left in secondary text, value right. */
.pp-card-facts[b-aqm7aovbn4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pp-card-fact[b-aqm7aovbn4] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.pp-card-fact-label[b-aqm7aovbn4] {
    color: var(--lw-gray-graphite);
}

.pp-card-fact-value[b-aqm7aovbn4] {
    flex-shrink: 0;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Phone card insets and row menu (same rules as ProjectChangeOrders .pco-cards). Every
   RFP row is LwListRow's split variant (it has an Actions cell), whose link region adds
   12px / 16px of its own for desktop lists on top of the phone card's 12px: zeroed. The
   row menu grows from the 32px desktop ghost button to a 44px target pinned to the
   card's top right. */
@media (max-width: 767.98px) {
    .pp-cards[b-aqm7aovbn4]  .lw-list-row-link {
        padding: 0;
    }

    .pp-cards[b-aqm7aovbn4]  .lw-list-row-actions {
        align-self: flex-start;
        padding: 0 0 0 4px;
    }

    .pp-cards[b-aqm7aovbn4]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }
}

/* ---- Empty-state bid board (reference rfp-empty-state.tsx SAMPLE_BIDS) ----
   Signature rows: winner gets a gold-tint fill + gold ring + check roundel;
   losers sit on the page background fill. */

.pp-bid-row--won[b-aqm7aovbn4] {
    background: color-mix(in srgb, var(--lw-primary-gold) 10%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lw-primary-gold) 40%, transparent);
}

.pp-bid-amount[b-aqm7aovbn4] {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.pp-bid-won[b-aqm7aovbn4] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lw-primary-gold);
    color: var(--lw-primary-gold-fg);
}

/* MudIcon is a child component -- pierce the isolation scope for its svg. */
.pp-bid-won[b-aqm7aovbn4]  .mud-icon-root {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

/* ---- Phone states (US-1043; twin of ProjectChangeOrders / ProjectDrawRequests) ----
   Zero-data hero: LwEmptyState atom + global lw-empty-* vocabulary.
   Filter-no-match: shared Card + global .lw-page-empty-results recipe. */
@media (max-width: 767.98px) {
    /* Filtered-empty card: 16px side gutters inside the card and copy that wraps
       (a long search term is echoed back in the description). */
    .pp-body[b-aqm7aovbn4]  .lw-page-empty-results {
        padding: 32px 16px;
    }

    .pp-body[b-aqm7aovbn4]  .lw-page-empty-title,
    .pp-body[b-aqm7aovbn4]  .lw-page-empty-desc {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    /* First-run hero: the atom's three-up points start at 640px; inside this tab they
       stay one per row until 768px. The two CTAs ("Create Your First RFP" and
       "Upload a Proposal") cannot share a 360px card's 278px, so each takes a full
       row as a 44px target. */
    .pp-body[b-aqm7aovbn4]  .lw-empty-points {
        grid-template-columns: 1fr;
    }

    .pp-body[b-aqm7aovbn4]  .lw-empty-action {
        align-self: stretch;
    }

    .pp-body[b-aqm7aovbn4]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        height: auto;
        min-height: 44px;
        padding: 8px 16px;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    /* Signature sample rows: names wrap beside the amount and check (A2). */
    .pp-body[b-aqm7aovbn4]  .lw-empty-sig-name {
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectTransactions.razor.rz.scp.css */
/* Ledger tab (ProjectTransactions) -- PAGE-LEVEL LAYOUT ONLY.

   Source: Shane Durkin's US-476 mockup
   (ledgerwise-docs/plan/assets/us-476-ledger-mockup.html), measured 2026-07-30 at
   1500px. No ledgerwise-app reference exists (its gc ledger route is a placeholder).

   Card, pill and stat chrome live in their atoms (LwBalanceStat, StatusChip,
   LwPager); this file owns the tab's layout, the column widths, the dashed seam,
   and the row-detail panel. Where the mockup and a --lw-* token disagreed the
   TOKEN WON (US-476 section 9.1.0).

   Type is NOT set here: the table uses lw-table.css's canonical 14px chrome, and
   the toolbar uses the shared lw-page.css recipes. What survives from the mockup is
   COMPOSITION -- column order and proportion, the weight ladder on the money columns
   (debit < credit < balance), and the dashed seam -- not its raw values. */

/* Canonical tab anatomy, same as Invoices and Adjustments: an unpadded page that
   fills the panel, a FULL-BLEED white subhead toolbar directly under the tab strip,
   then the muted body inset that holds the content. */
.pt-page[b-ft0qn7vo0h] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Toolbar stacks on mobile (reference: flex-col gap-3 below md), matching
   .pi-toolbar / .pco-toolbar. */
@media (max-width: 767.98px) {
    .pt-toolbar[b-ft0qn7vo0h] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
}

.pt-body[b-ft0qn7vo0h] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

@media (min-width: 768px) {
    .pt-body[b-ft0qn7vo0h] { padding: 24px; }
}

/* -- Balance calculation: a single LwBalanceEquation card fills the row. -- */
.pt-stats[b-ft0qn7vo0h] {
    display: block;
}

/* -- Ledger card -- */
.pt-table-card[b-ft0qn7vo0h] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.pt-table-card .lw-table[b-ft0qn7vo0h] {
    min-width: 980px;
}

/* -- Subhead toolbar. ALL chrome comes from the shared .lw-page-toolbar /
   .lw-page-chips / .lw-page-search / .lw-page-action recipes (lw-page.css) and
   the LwChip atom -- the same full-bleed white bar and quick-filter tabs the
   Invoices tab uses. This file adds nothing to it. (The bespoke account
   identity block that lived here was replaced by the chips, US-691.) -- */

/* -- Table type: NOT overridden. --

   An earlier revision restated the mockup's 11px/700 uppercase headers and 13px
   cells here. That was wrong on this codebase's own terms: lw-table.css is the
   canonical data-table chrome (14px header, medium, graphite; 14px cells) shared
   by Invoices, Payment Requests, Adjustments and Documents, and a ledger that
   sets its own type reads as a different component on the same page. Same rule as
   everywhere else in this migration -- where the mockup and the design system
   disagree, the design system wins. This file now contributes column geometry
   only. */

/* -- Columns. min-width: 0 on every one is load-bearing: without it a flex item
   refuses to shrink below its content, so the "Pending Instructions" pill
   overflowed its cell and shoved DESCRIPTION rightwards on those rows only,
   breaking column alignment down the table. Status is sized to the WIDEST pill
   rather than the mockup's 150px, which only ever had to fit "Pending Waiver". -- */
.pt-col-date[b-ft0qn7vo0h]    { flex: 0 0 120px; min-width: 0; white-space: nowrap; }
.pt-col-ref[b-ft0qn7vo0h]     { flex: 0 0 105px; min-width: 0; white-space: nowrap; }
.pt-col-status[b-ft0qn7vo0h]  { flex: 0 0 190px; min-width: 0; }
.pt-col-desc[b-ft0qn7vo0h]    { flex: 1 1 220px; min-width: 0; }
.pt-col-debit[b-ft0qn7vo0h]   { flex: 0 0 115px; min-width: 0; justify-content: flex-end; text-align: right; }
.pt-col-credit[b-ft0qn7vo0h]  { flex: 0 0 115px; min-width: 0; justify-content: flex-end; text-align: right; }
.pt-col-balance[b-ft0qn7vo0h] { flex: 0 0 125px; min-width: 0; justify-content: flex-end; text-align: right; }

/* -- Rows. Keyboard affordances mirror the Adjustments tab: rows are
   role="button", so they take focus and show the same accent fill. -- */
.pt-row[b-ft0qn7vo0h] {
    cursor: pointer;
    outline: none;
}

.pt-table-card .lw-table-tr:focus-visible[b-ft0qn7vo0h] {
    background: color-mix(in srgb, var(--lw-accent) 50%, transparent);
}

.pt-row--selected[b-ft0qn7vo0h] {
    background: var(--lw-bg-muted);
}

/* THE SEAM. Measured 1px DASHED (not dotted). Drawn under the last pending row on
   the page, so it marks the real commitment/settled boundary and appears once. */
.pt-row--seam[b-ft0qn7vo0h] {
    border-bottom: 1px dashed var(--lw-gray-graphite);
}

/* The bank-posting timing line (Bug-801) is an annotation, not a movement: no reference
   and a muted description, so it cannot be read as a deposit or a payment. Colour only,
   never italics (Cody, 2026-07-30). */
.pt-row--timing .pt-desc[b-ft0qn7vo0h],
.pt-row--timing .pt-ref[b-ft0qn7vo0h] {
    color: var(--lw-gray-graphite);
}

/* Pending rows show "Processing" instead of a date. The mockup italicises it; this
   app does not italicise anywhere (Cody, 2026-07-30), so the in-flight signal is
   carried by colour alone -- the same blue the Pending ACH pill uses. */
.pt-processing[b-ft0qn7vo0h] {
    color: var(--lw-primary-blue);
    font-weight: var(--lw-font-medium);
}

/* Reference. The mockup sets this in a monospace face; this app does not use one
   anywhere, so it stays on the brand font (Cody, 2026-07-30). Semibold plus
   nowrap is enough to make it read as an identifier -- and nowrap is load-bearing:
   without it "TRX-0085" broke onto two lines and inflated every row. */
.pt-ref[b-ft0qn7vo0h] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
    white-space: nowrap;
}

/* Description truncates rather than wrapping, so every row keeps the canonical
   height (same treatment as .pco-title on the Adjustments tab). */
.pt-desc[b-ft0qn7vo0h] {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Money cells inherit the canonical 14px; only the weight/colour ladder is this
   table's own, and it is what makes the column read as a register -- the running
   balance is the heaviest thing in the row. */
.pt-num[b-ft0qn7vo0h] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pt-num--debit[b-ft0qn7vo0h]   { font-weight: var(--lw-font-regular); color: var(--lw-status-error-fg); }
.pt-num--credit[b-ft0qn7vo0h]  { font-weight: var(--lw-font-semibold); color: var(--lw-success-dark); }
.pt-num--balance[b-ft0qn7vo0h] { font-weight: var(--lw-font-bold); color: var(--lw-primary-dark); }
.pt-num--empty[b-ft0qn7vo0h]   { color: var(--lw-gray-smoke); }

/* -- Footer: count left, pager right -- */
.pt-foot[b-ft0qn7vo0h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lw-border);
}

.pt-count[b-ft0qn7vo0h] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.pt-count strong[b-ft0qn7vo0h] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-dark);
}

/* -- Load error (US-1043): the Invoices tab .pi-state recipe -- the note stacked over
   its retry, which fills the width at 44px on phones. -- */
.pt-state[b-ft0qn7vo0h] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pt-state-action[b-ft0qn7vo0h] {
    align-self: flex-start;
}

/* Phone-only pieces: the sort control above the cards and the loading toolbar's
   outline. Desktop sorts from the column headers and has never sketched the toolbar. */
.pt-sort[b-ft0qn7vo0h],
.pt-toolbar-skeleton[b-ft0qn7vo0h] {
    display: none;
}

/* -- Empty state -- */
.pt-empty[b-ft0qn7vo0h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 48px 24px;
    text-align: center;
}

.pt-empty-disc[b-ft0qn7vo0h] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 9999px;
    background: var(--lw-bg-muted);
    color: var(--lw-gray-space);
}

.pt-empty-disc[b-ft0qn7vo0h]  .mud-icon-root {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.pt-empty-title[b-ft0qn7vo0h] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.pt-empty-sub[b-ft0qn7vo0h] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    /* .lw-page-toolbar and .lw-page-chips already wrap on their own. */
    .pt-table-card .lw-table-tr[b-ft0qn7vo0h] {
        cursor: pointer;
    }

    /* -- Phone: the 980px ledger becomes one card per entry (US-798) --
       Seven columns cannot fit a 390px screen, and side-scrolling an audit
       trail hides the numbers people actually track. Each row re-flows onto a
       two-column grid: date + status, then the description, then the ref and
       the entry amount, then the running balance. The header row goes away
       (nothing left to head) and the cells carry their own labels, since a
       card of bare figures has no column to read them against. */
    .pt-table-card[b-ft0qn7vo0h] {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pt-table-card .lw-table[b-ft0qn7vo0h] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pt-table-card .lw-table-head[b-ft0qn7vo0h] {
        display: none;
    }

    .pt-table-card .lw-table-tr[b-ft0qn7vo0h] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0.5rem;
        padding: 14px 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }

    .pt-table-card .lw-table-td[b-ft0qn7vo0h] {
        padding: 0;
        min-width: 0;
    }

    .pt-col-date[b-ft0qn7vo0h] {
        grid-row: 1;
        grid-column: 1;
        /* The card's title line: the shared list-card title type (lw-page.css
           tokens, 14 / medium / 20). */
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
        color: var(--lw-text-primary);
    }

    .pt-col-status[b-ft0qn7vo0h] {
        grid-row: 1;
        grid-column: 2;
        justify-content: flex-end;
    }

    .pt-col-desc[b-ft0qn7vo0h] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    /* Full description: a card has the room a 220px column did not. */
    .pt-col-desc .pt-desc[b-ft0qn7vo0h] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pt-col-ref[b-ft0qn7vo0h] {
        grid-row: 3;
        grid-column: 1;
    }

    /* Exactly one of debit/credit carries a figure; the other is an em dash,
       which is only meaningful under a column header. Drop the empty one and
       let the populated cell take the slot. */
    .pt-table-card .lw-table-td:has(.pt-num--empty)[b-ft0qn7vo0h] {
        display: none;
    }

    .pt-col-debit[b-ft0qn7vo0h],
    .pt-col-credit[b-ft0qn7vo0h] {
        grid-row: 3;
        grid-column: 2;
        justify-content: flex-end;
    }

    /* The balance is a footer, not a fourth data row: the divider bleeds to the
       card edges and the strip carries its own even inset, so the running
       total reads as the card's summary line rather than crowding the ref. */
    /* Specificity note: .pt-table-card .lw-table-td zeroes cell padding, so the
       footer inset has to be declared at that same weight or the strip bleeds
       its text past the card edge. */
    .pt-table-card .lw-table-td.pt-col-balance[b-ft0qn7vo0h] {
        grid-row: 4;
        grid-column: 1 / -1;
        justify-content: space-between;
        align-items: baseline;
        border-top: 1px solid var(--lw-border);
        margin: 2px -16px -14px;
        padding: 10px 16px 12px;
    }

    /* Labels the header row used to supply. */
    .pt-col-balance[b-ft0qn7vo0h]::before {
        content: "Balance";
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--lw-gray-graphite);
    }
}

/* ---- Phone (US-1043): 44px controls, sort, selected card, seam, footer ---- */
@media (max-width: 767.98px) {
    /* 44px tap targets: the search box and Statement are 36px on desktop. The global
       44px rule only reaches .lw-page-shell hosts and this tab is not one (same block
       as ProjectProposals .pp-toolbar). Statement keeps its label: beside it the
       section trigger still has 196px at 360. */
    .pt-toolbar .lw-page-action[b-ft0qn7vo0h],
    .pt-toolbar .lw-page-search[b-ft0qn7vo0h] {
        height: 44px;
    }

    .pt-toolbar .lw-page-action[b-ft0qn7vo0h] {
        flex: 0 0 auto;
        justify-content: center;
    }

    /* 16px keeps iOS from zooming the page when the search takes focus. */
    .pt-toolbar .lw-page-search-input[b-ft0qn7vo0h] {
        font-size: 16px;
    }

    /* The trigger is LwSectionTrigger's own markup, so it needs ::deep. */
    .pt-toolbar[b-ft0qn7vo0h]  .lw-page-section-trigger {
        height: 44px;
        min-width: 0;
        padding: 0 12px;
    }

    .pt-toolbar[b-ft0qn7vo0h]  .lw-page-section-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Loading outline of the two rows above: trigger + Statement, then search. */
    .pt-toolbar-skeleton[b-ft0qn7vo0h] {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .pt-toolbar-skeleton[b-ft0qn7vo0h]  .lw-skeleton {
        flex: 0 0 auto;
    }

    .pt-toolbar-skeleton[b-ft0qn7vo0h]  .pt-toolbar-skeleton-fill {
        flex: 1 1 0;
        min-width: 0;
    }

    .pt-state-action[b-ft0qn7vo0h] {
        align-self: stretch;
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    /* Sort: the LwSelect field fills the row; the direction toggle is a square the
       field's own height (54px). Same recipe as ProjectInvoices .pi-sort. */
    .pt-sort[b-ft0qn7vo0h] {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .pt-sort-field[b-ft0qn7vo0h] {
        flex: 1;
        min-width: 0;
    }

    .pt-sort-dir[b-ft0qn7vo0h] {
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
    }

    /* The open entry's card. The desktop muted fill loses to the card's white at this
       weight, so the phone state is an accent ring instead. */
    .pt-table-card .lw-table-tr.pt-row--selected[b-ft0qn7vo0h] {
        border-color: var(--lw-primary-blue);
        box-shadow: 0 0 0 1px var(--lw-primary-blue), var(--lw-shadow-card);
    }

    /* The seam survives the card layout as a dashed rule in a doubled gap under the
       last pending card (the desktop dashed border-bottom is replaced by the card's
       own border here). Absolutely placed so it is not a grid item of the card. */
    .pt-table-card .lw-table-tr.pt-row--seam[b-ft0qn7vo0h] {
        position: relative;
        margin-bottom: 8px;
    }

    .pt-table-card .lw-table-tr.pt-row--seam[b-ft0qn7vo0h]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -9px;
        border-top: 1px dashed var(--lw-gray-graphite);
    }

    /* The card chrome is gone on phones, so the footer sits on the muted body: no rule,
       no side inset, and the count wraps above the pager when both cannot share 328px. */
    .pt-foot[b-ft0qn7vo0h] {
        flex-wrap: wrap;
        gap: 8px 16px;
        padding: 12px 0 0;
        border-top: 0;
    }

    .pt-foot[b-ft0qn7vo0h]  .lw-pager {
        margin-left: auto;
    }

    /* Same reason: the empty state needs its own card, or its muted disc sits on the
       muted body and disappears. */
    .pt-empty[b-ft0qn7vo0h] {
        padding: 32px 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }
}
/* _content/Ledgerwise/Components/Pages/Project/ProjectUpdate.razor.rz.scp.css */
/* Edit-project sheet interiors -- source: ledgerwise-app
   organisms/project-details-modal.tsx (Drawer side="sheet", 2026-07-26).
   The shell (bottom sheet, header band, footer, body inset, phone stacking)
   is the shared drawer spec (lw-drawer.css + LwModalHeader/Body/Footer)
   since US-1043; this file keeps only the card interiors. */

/* Identity card -- reference create-step-identity.tsx: fields column beside
   the 124px photo tile (grid-cols-[1fr_auto], gap-6 = 24px), address over
   name stacked at gap-4 (16px). */
.pu-identity[b-14wo561t9z] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.pu-identity__fields[b-14wo561t9z] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pu-identity__avatar[b-14wo561t9z] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pu-fields[b-14wo561t9z] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pu-grid2[b-14wo561t9z] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Project email -- the fixed-domain suffix is the field's end adornment on
   desktop; the hint line under it only exists on phones (see media block). */
.pu-email[b-14wo561t9z] {
    min-width: 0;
}

.pu-email__suffix[b-14wo561t9z] {
    display: none;
    margin: 6px 0 0 14px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* Pending reserve-increase note -- cc-note recipe (muted card, info icon,
   12px muted text) with a destructive text-link cancel action. */
.pu-pending[b-14wo561t9z] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    padding: 12px;
}

.pu-pending[b-14wo561t9z]  .mud-icon-root {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    font-size: 16px;
    margin-top: 2px;
    color: var(--lw-gray-graphite) !important;
}

.pu-pending__text[b-14wo561t9z] {
    margin: 0;
    flex: 1;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.pu-pending__cancel[b-14wo561t9z] {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-danger, #d33);
    transition: opacity 0.15s ease;
}

.pu-pending__cancel:hover[b-14wo561t9z] {
    opacity: 0.8;
}

/* Team roster -- vertical stack of PartyMemberRow cards (reference
   party-manager flex-col gap-3). */
.pu-team[b-14wo561t9z] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Loading skeleton -- card-shaped placeholders (ControlCard silhouette:
   white header band over the form-surface body) composed from LwSkeleton
   blocks, per the design-system loading pattern. */
.pu-skel-card[b-14wo561t9z] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.pu-skel-head[b-14wo561t9z] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

/* Canonical card head sketch: 44px tile | title bar over subtitle bar (one block). */
.pu-skel-head[b-14wo561t9z]  .pu-skel-tile {
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
}

.pu-skel-head-text[b-14wo561t9z] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pu-skel-head-text[b-14wo561t9z]  .lw-skeleton {
    max-width: 100%;
}

.pu-skel-body[b-14wo561t9z] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

/* Phone (US-1043): paired fields stack, the photo tile drops under the
   identity fields, and the pending-increase note re-flows (O8): the sentence
   takes the full width and the cancel link sits beneath it, aligned with the
   text, instead of a 60%-wide text column beside the link. */
@media (max-width: 767.98px) {
    .pu-grid2[b-14wo561t9z],
    .pu-identity[b-14wo561t9z] {
        grid-template-columns: 1fr;
    }

    /* Identity: stacked fields over the 124px tile at the field rhythm (16px),
       tile on the left edge like the AddProject identity step, not centered
       in a 286px row. */
    .pu-identity[b-14wo561t9z] {
        gap: 16px;
    }

    .pu-identity__avatar[b-14wo561t9z] {
        align-items: flex-start;
    }

    /* Project email: hide the ~185px nowrap end adornment so the slug input
       gets the field; the suffix is restated on the hint line beneath. */
    .pu-email[b-14wo561t9z]  .mud-input-adornment-end {
        display: none;
    }

    .pu-email__suffix[b-14wo561t9z] {
        display: block;
    }

    .pu-pending[b-14wo561t9z] {
        flex-wrap: wrap;
    }

    .pu-pending__text[b-14wo561t9z] {
        flex: 1 1 calc(100% - 26px);
    }

    /* Cancel Request is 13px text with no padding: 44px tap target (A3)
       drawn around it without growing the note. */
    .pu-pending__cancel[b-14wo561t9z] {
        min-height: 44px;
        margin: -8px 0 -8px 26px;
    }

    /* Team rows: the edit-owner pencil is the 32px lw-row-icon-btn ghost
       recipe; grow it to a 44px target inside the row's 16px inset. */
    .pu-team[b-14wo561t9z]  .lw-row-icon-btn {
        width: 44px;
        height: 44px;
        margin: -6px;
    }

    /* Loading skeleton mirrors ControlCard's phone insets (16px 20px / 20px). */
    .pu-skel-head[b-14wo561t9z] {
        padding: 16px 20px;
    }

    .pu-skel-body[b-14wo561t9z] {
        padding: 20px;
    }
}

/* ControlCard's head inset under 600px. */
@media (max-width: 599px) {
    .pu-skel-head[b-14wo561t9z] {
        padding: 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/Project/SendProposal/SendProposalStepper.razor.rz.scp.css */
/* Send-proposal stepper -- modeled on the ledgerwise-ui send-proposal stepper:
   navy rail (step icons + progress donut rings + gold active accent), content with
   ControlCard / StepHeader / Schedule-of-Values, and a white footer. */

.sp-shell[b-kvt77pt02a] {
    display: grid;
    grid-template-columns: var(--lw-wizard-rail-width) minmax(0, 1fr);
    /* Pin to the viewport so the rail + footer stay fixed and only .sp-content scrolls
       (the long agreement scrolls within the content area, not the whole page). */
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--lw-bg-muted);
}

/* -- Left rail (navy sidebar) -- */
.sp-rail[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    background: var(--lw-primary-dark);
}

.sp-rail__logo[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-rail__emblem[b-kvt77pt02a] {
    width: 22px;
    height: 22px;
}

.sp-rail__wordmark[b-kvt77pt02a] {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    font-family: var(--lw-font-family-heading, inherit);
}

.sp-rail__progress[b-kvt77pt02a] {
    padding: 20px 24px 4px;
}

.sp-rail__progress-head[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-rail__progress-label[b-kvt77pt02a] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.sp-rail__progress-count[b-kvt77pt02a] {
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.sp-rail__progress-track[b-kvt77pt02a] {
    margin-top: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.sp-rail__progress-fill[b-kvt77pt02a] {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #3980A5, #5ba3c4, #EEB66F);
    transition: width 0.4s ease;
}

.sp-rail__steps[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.sp-rail__step[b-kvt77pt02a] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 12px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.sp-rail__step:hover:not([aria-disabled="true"])[b-kvt77pt02a] {
    background: rgba(255, 255, 255, 0.08);
}

.sp-rail__step.is-active[b-kvt77pt02a] {
    background: rgba(255, 255, 255, 0.12);
}

/* Locked (not yet reached) steps: aria-disabled, guarded in GoTo. */
.sp-rail__step[aria-disabled="true"][b-kvt77pt02a] {
    cursor: default;
}

.sp-rail__accent[b-kvt77pt02a] {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--lw-primary-gold);
    clip-path: polygon(0 0, 100% 3px, 100% calc(100% - 3px), 0 100%);
}

.sp-rail__icon[b-kvt77pt02a] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.sp-rail__icon[b-kvt77pt02a]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.35) !important;
    transition: color 0.15s ease;
}

.sp-rail__step.is-active .sp-rail__icon[b-kvt77pt02a]  .mud-icon-root {
    color: #fff !important;
}

.sp-rail__step.is-complete .sp-rail__icon[b-kvt77pt02a]  .mud-icon-root {
    color: rgba(255, 255, 255, 0.7) !important;
}

.sp-rail__label[b-kvt77pt02a] {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-rail__step.is-active .sp-rail__label[b-kvt77pt02a] {
    color: #fff;
}

.sp-rail__step.is-complete .sp-rail__label[b-kvt77pt02a] {
    color: rgba(255, 255, 255, 0.8);
}

.sp-rail__ring[b-kvt77pt02a] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sp-rail__ring--done[b-kvt77pt02a] {
    background: var(--lw-primary-blue);
}

.sp-rail__ring--done[b-kvt77pt02a]  .mud-icon-root {
    width: 10px;
    height: 10px;
    font-size: 10px;
    color: #fff !important;
}

.sp-rail__ring--active[b-kvt77pt02a] {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.sp-rail__ring--locked[b-kvt77pt02a] {
    border: 2px solid rgba(255, 255, 255, 0.08);
}

/* -- Main content -- */
.sp-main[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.sp-content[b-kvt77pt02a] {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 32px 40px 40px;
}

.sp-step-wrap[b-kvt77pt02a] {
    max-width: 1000px;
    margin: 0 auto;
}

/* StepHeader (budget) */
.sp-title-block[b-kvt77pt02a] {
    margin-bottom: 24px;
}

/* US-1090: heading + an action on the right (Edit budget). */
.sp-title-block--actions[b-kvt77pt02a] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.sp-title-block__text[b-kvt77pt02a] {
    flex: 1;
    min-width: 0;
}

.sp-edit-budget[b-kvt77pt02a] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-input-border);
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.sp-edit-budget:hover[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
}

.sp-edit-budget[b-kvt77pt02a]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.sp-title[b-kvt77pt02a] {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family-heading, inherit);
}

.sp-sub[b-kvt77pt02a] {
    margin: 6px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

.sp-stack[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-stack-sm[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-grid2[b-kvt77pt02a] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* -- Footer -- the canonical OnboardingStepFooter, un-fixed. That atom is
   position:fixed for the onboarding shells that scroll the whole page; this
   wizard already pins to the viewport and scrolls only .sp-content, so the bar
   belongs in flow as the grid's last row. Padding matches the shell's 40px
   content gutter (the atom ships 24px for the narrower onboarding shells). */
.sp-footer-slot[b-kvt77pt02a]  .ob-step-footer {
    position: static;
    padding: 16px 40px;
}

/* -- Rich-text editor -- */
.sp-rte[b-kvt77pt02a] {
    border: 1px solid var(--lw-input-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--lw-white);
}

.sp-rte__toolbar[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--lw-border);
}

.sp-rte__btn[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--lw-text-primary);
    font-family: inherit;
}

.sp-rte__btn:hover[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
}

.sp-rte__btn[b-kvt77pt02a]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.sp-rte__spacer[b-kvt77pt02a] {
    flex: 1;
}

.sp-rte__ai[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--lw-primary-blue);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.sp-rte__ai:hover:not(.is-busy)[b-kvt77pt02a] {
    background: #e0eef5;
}

/* Busy look; the button stays enabled and WriteWithAi ignores the tap. */
.sp-rte__ai.is-busy[b-kvt77pt02a] {
    opacity: 0.6;
    cursor: wait;
}

.sp-rte__ai[b-kvt77pt02a]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-primary-blue) !important;
}

.sp-rte__editor[b-kvt77pt02a] {
    min-height: 160px;
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--lw-text-primary);
    outline: none;
}

.sp-rte__editor:empty[b-kvt77pt02a]::before {
    content: "Describe the project for the project owner...";
    color: var(--lw-gray-space);
}

/* -- Schedule of values (budget) -- */
.sov[b-kvt77pt02a] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.sov__summary[b-kvt77pt02a] {
    padding: 24px;
}

.sov__total[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sov__total-amount[b-kvt77pt02a] {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.sov__total-label[b-kvt77pt02a] {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.sov__table[b-kvt77pt02a] {
    border-top: 1px solid var(--lw-border);
}

.sov__row[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
}

.sov__amount[b-kvt77pt02a] {
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

.sov__row--head[b-kvt77pt02a] {
    background: var(--lw-bg-table-header);
    padding: 10px 16px;
    color: var(--lw-gray-graphite);
    font-weight: 500;
}

.sov__head-left[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Mirrors the budget tab's header expand-all control (BudgetTableHeader
   .bth-expand-btn): icon-only ghost square in the chevron gutter. */
.sov__expand-all[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    /* The 24px hit-area is 8px wider than the 16px row chevrons below; pull it
       left by the 4px overhang so icon centers and the Category label line up. */
    margin-left: -4px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.sov__expand-all:hover[b-kvt77pt02a] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.sov__expand-all[b-kvt77pt02a]  .mud-icon-root {
    font-size: 0.875rem !important;
}

.sov__cat[b-kvt77pt02a] {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--lw-border);
    background: transparent;
    text-align: left;
    font-family: inherit;
    font-weight: 500;
    color: var(--lw-text-primary);
    transition: background-color 0.12s ease;
}

.sov__cat:hover[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
}

/* The category name is the toggle; the row itself can also carry the empty flag (US-1090). */
.sov__cat-toggle[b-kvt77pt02a] {
    flex: 1;
    min-width: 0;
    /* A global button rule centres flex content; the name sits left like the old row. */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.sov__cat-name[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sov__chev[b-kvt77pt02a] {
    display: inline-flex;
    transition: transform 0.18s ease;
}

.sov__chev--open[b-kvt77pt02a] {
    transform: rotate(90deg);
}

.sov__chev[b-kvt77pt02a]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite) !important;
}

.sov__sub[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
    padding: 8px 16px 8px 48px;
    color: var(--lw-gray-graphite);
}

.sov__sub-name[b-kvt77pt02a] {
    color: var(--lw-gray-graphite);
}

.sov__row--subtotal[b-kvt77pt02a] {
    border-top: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
    padding-left: 40px;
    font-weight: 600;
}

.sov__row--feeline[b-kvt77pt02a] {
    border-top: 1px solid var(--lw-border);
    padding-left: 40px;
    font-weight: 500;
}

.sov__row--ctotal[b-kvt77pt02a] {
    border-top: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
    padding-left: 40px;
    font-weight: 700;
}

/* The -4px tuck above is for a foot inside its own /* -- Owners (US-1090: the New project wizard's owner cards, pw-owner-card) -- */
.sp-owners[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-owner-card[b-kvt77pt02a] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
}

.sp-owner-card__head[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--lw-border);
    padding: 16px 20px;
}

.sp-owner-card__name[b-kvt77pt02a] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

/* Name + chips as one group on the left; the one action alone on the right. */
.sp-owner-card__title[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sp-owner-card__remove[b-kvt77pt02a] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    display: inline-flex;
    padding: 4px;
    border-radius: 6px;
}

.sp-owner-card__remove:hover[b-kvt77pt02a] {
    color: var(--bs-danger, #d33);
}

.sp-owner-card__remove[b-kvt77pt02a]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: currentColor !important;
}

.sp-owner-card__body[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

/* Same person on both owner cards: a quiet error line under the fields. */
.sp-owner-match[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--lw-status-info-bg);
    color: var(--lw-text-primary);
    font-size: 13px;
    line-height: 18px;
}

.sp-owner-match[b-kvt77pt02a]  .mud-icon-root {
    font-size: 18px;
    color: var(--lw-status-info-fg);
}

.sp-owner-match--error[b-kvt77pt02a] {
    background: var(--lw-status-error-bg);
}

.sp-owner-match--error[b-kvt77pt02a]  .mud-icon-root {
    color: var(--lw-destructive);
}

/* A member already on the project: LwLabelValue cells in two columns like the input grid. */
.sp-owner-grid[b-kvt77pt02a] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

.sp-add-btn[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: 8px;
    color: var(--lw-text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.sp-add-btn:hover[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
}

.sp-add-btn[b-kvt77pt02a]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.sp-owners__note[b-kvt77pt02a] {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Owner's team: one owner-style card per person. */
.sp-oteam[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* -- Team (US-1090: the New project wizard's team step, pw-team) -- */
.sp-team[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Optional role + person rows (a repeater), separated from the required part by a hairline. */
.sp-team__others[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--lw-border);
}

.sp-team__cap[b-kvt77pt02a] {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.sp-team__row[b-kvt77pt02a] {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 40px;
    gap: 12px;
    align-items: center;
}

.sp-team__remove[b-kvt77pt02a] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lw-radius-control);
}

.sp-team__remove:hover[b-kvt77pt02a] {
    background: var(--lw-status-error-bg);
    color: var(--lw-destructive);
}

.sp-team__remove[b-kvt77pt02a]  .mud-icon-root {
    font-size: 18px;
    color: currentColor !important;
}

@media (max-width: 767.98px) {
    .sp-owner-grid[b-kvt77pt02a] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sp-team__row[b-kvt77pt02a] {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    .sp-team__row > :nth-child(2)[b-kvt77pt02a] {
        grid-column: 1 / 2;
    }

    .sp-team__remove[b-kvt77pt02a] {
        width: 44px;
        height: 44px;
        grid-row: 1 / 3;
        grid-column: 2;
        align-self: center;
    }
}

/* -- Settings toggle row -- */
.sp-toggle-row[b-kvt77pt02a] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sp-toggle-row__text[b-kvt77pt02a] {
    min-width: 0;
}

.sp-toggle-row__title[b-kvt77pt02a] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

.sp-toggle-row__sub[b-kvt77pt02a] {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* -- Documents -- */
.sp-doclist[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.sp-doclist__row[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

/* US-1090: one row per uploaded file -- type icon, name, size, remove. The row
   mirrors the upload list in the RFP modal (name left, meta right). */
.sp-doclist__row[b-kvt77pt02a] {
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.sp-doclist__icon[b-kvt77pt02a] {
    display: inline-flex;
    flex: none;
}

.sp-doclist__name[b-kvt77pt02a] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-doclist__size[b-kvt77pt02a] {
    flex: none;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.sp-doclist__remove[b-kvt77pt02a] {
    flex: none;
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
}

.sp-doclist__remove:hover[b-kvt77pt02a] {
    color: var(--bs-danger, #d33);
}

/* -- Loading skeleton: holds the step-card geometry while the project loads
   (replaces a bare centered spinner; LwProjectDetailSkeleton precedent). -- */
.sp-skel-card[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    background: var(--lw-form-surface);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

/* Sketches the canonical ControlCard head the step cards load into: white band
   under a hairline, 44px tile | title bar over subtitle bar (one block). */
.sp-skel-head[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.sp-skel-head[b-kvt77pt02a]  .sp-skel-tile {
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
}

.sp-skel-head-text[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-skel-body[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

/* -- Responsive -- */
@media (min-width: 768px) {
    /* ledgerwise-ui md: the funding-card figure steps up to 38px. */
    .sp-fund-card__num[b-kvt77pt02a] {
        font-size: 38px;
    }

    .sp-fund-card__cur[b-kvt77pt02a] {
        font-size: 24px;
    }
}

@media (max-width: 1023px) {
    /* ledgerwise-ui lg: the funding cards stack below lg. */
    .sp-funding-grid[b-kvt77pt02a] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    /* ledgerwise-ui sm: the glance stats drop to 2-up below sm. */
    .sp-preview__stats[b-kvt77pt02a] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Five stats (Security Deposit set) left the last one alone in a
       half-width cell; an odd last stat takes the full row instead. */
    .sp-preview__stats > .sp-glance:last-child:nth-child(odd)[b-kvt77pt02a] {
        grid-column: 1 / -1;
    }
}

/* -- Narrow chrome (US-1043) --
   Same anatomy as the shared wizard chrome (lw-wizard.css, .pw-shell "Phone
   chrome (US-926)" block) rebuilt on the sp-* classes, at the 860px point this
   page already collapsed at. The rail used to vanish here, leaving no step
   progress and no step name. Now the rail and main wrappers dissolve so their
   children order directly on a 100dvh column: WizardTopBar (exit crumb), the
   navy progress band, the current step as a chip, the scrolling step body,
   then the footer pinned under it. Only .sp-content scrolls. */
@media (max-width: 860px) {
    .sp-shell[b-kvt77pt02a] {
        display: flex;
        flex-direction: column;
    }

    .sp-rail[b-kvt77pt02a],
    .sp-main[b-kvt77pt02a] {
        display: contents;
    }

    /* The top bar already says where you are. */
    .sp-rail__logo[b-kvt77pt02a] {
        display: none;
    }

    .sp-main[b-kvt77pt02a]  .wtb {
        order: 1;
    }

    /* Insets match the shared chrome's phone values. */
    .sp-rail__progress[b-kvt77pt02a] {
        order: 2;
        padding: 12px 16px;
        background: var(--lw-primary-dark);
    }

    .sp-rail__steps[b-kvt77pt02a] {
        order: 3;
        flex: none;
        overflow: visible;
        padding: 0 12px 12px;
        background: var(--lw-primary-dark);
    }

    /* The bar and its "n of N" count carry position; show only the current step. */
    .sp-rail__step:not(.is-active)[b-kvt77pt02a] {
        display: none;
    }

    .sp-rail__step.is-active[b-kvt77pt02a] {
        cursor: default;
    }

    .sp-content[b-kvt77pt02a] {
        order: 4;
        flex: 1 1 auto;
        padding: 24px 16px 32px;
    }

    .sp-footer-slot[b-kvt77pt02a] {
        order: 5;
        flex-shrink: 0;
    }

    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer {
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .sp-grid2[b-kvt77pt02a] {
        grid-template-columns: 1fr;
    }
}

/* -- Phones (US-1043): the house breakpoint. 16px gutters, 16px input text
   (no iOS focus zoom), 44px tap targets. -- */
@media (max-width: 767.98px) {
    .sp-content[b-kvt77pt02a] {
        padding: 16px 16px 24px;
    }

    /* Card bodies: 16px insets (flush bodies own theirs). */
    .sp-step-wrap[b-kvt77pt02a]  .cc-body:not(.cc-body--flush) {
        padding: 16px;
    }

    /* Footer (shared OnboardingStepFooter, restyled from here only): 44px
       buttons, and the "Save & exit" text link gets a 44px tap height. */
    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer__back-btn,
    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer__primary {
        height: 44px;
    }

    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer__primary {
        min-width: 0;
    }

    .sp-footer-slot[b-kvt77pt02a]  .ob-step-footer__skip {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        min-height: 44px;
        white-space: nowrap;
    }

    /* Step 1 -- rich-text toolbar: 44px buttons. Three squares plus the AI
       button fit one row at 360 with the tighter gap; wrap is the fallback. */
    .sp-rte__toolbar[b-kvt77pt02a] {
        flex-wrap: wrap;
        gap: 4px;
    }

    .sp-rte__btn[b-kvt77pt02a] {
        min-width: 44px;
        height: 44px;
        font-size: 15px;
    }

    .sp-rte__btn[b-kvt77pt02a]  .mud-icon-root {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .sp-rte__spacer[b-kvt77pt02a] {
        min-width: 0;
    }

    .sp-rte__ai[b-kvt77pt02a] {
        height: 44px;
        padding: 0 10px;
        white-space: nowrap;
    }

    .sp-rte__editor[b-kvt77pt02a] {
        padding: 12px;
        font-size: 16px;
    }

    /* Step 2 / Summary -- schedule of values. One text column: category
       names, line items and the totals block all start at 34px (12px inset +
       16px chevron + 6px gap) instead of the desktop 40 / 48px indents. Names
       wrap; amounts stay on one line, right-aligned. */
    .sov__summary[b-kvt77pt02a] {
        padding: 16px;
    }

    .sov__total-amount[b-kvt77pt02a] {
        font-size: 28px;
    }

    .sov__row[b-kvt77pt02a] {
        gap: 12px;
        padding: 12px;
    }

    .sov__row > span:first-child[b-kvt77pt02a] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .sov__row > span:last-child[b-kvt77pt02a] {
        flex-shrink: 0;
        white-space: nowrap;
        text-align: right;
    }

    .sov__row--head[b-kvt77pt02a] {
        padding: 10px 12px;
    }

    .sov__head-left[b-kvt77pt02a] {
        gap: 0;
    }

    /* 44px target centred on the chevron column; the negative margins keep
       the header row its height and "Category" over the category names. */
    .sov__expand-all[b-kvt77pt02a] {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        margin: -10px -8px -10px -14px;
    }

    /* The whole category row is the expander. */
    .sov__cat[b-kvt77pt02a] {
        min-height: 48px;
    }

    .sov__cat-name[b-kvt77pt02a] {
        align-items: flex-start;
        gap: 6px;
    }

    .sov__chev[b-kvt77pt02a] {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .sov__sub[b-kvt77pt02a] {
        padding: 8px 12px 8px 34px;
    }

    .sov__row--subtotal[b-kvt77pt02a],
    .sov__row--feeline[b-kvt77pt02a],
    .sov__row--ctotal[b-kvt77pt02a] {
        padding-left: 34px;
    }

    /* Fields: 44px tall, 16px text; a long placeholder ellipsizes. */
        /* Step 3 -- owners: First / Last stack; 16px card insets. */
        .sp-owner-card__head[b-kvt77pt02a] {
        padding: 12px 16px;
    }

    .sp-owner-card__body[b-kvt77pt02a] {
        padding: 16px;
    }

    /* Trash button: 44px target around the 18px glyph; the negative margins
       keep the head the height of the text beside it (AddProject recipe). */
    .sp-owner-card__remove[b-kvt77pt02a] {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        margin: -12px -12px -12px 0;
    }



    /* Step 5 -- proposal link: the switch's own label is the 44px target. */
    .sp-toggle-row[b-kvt77pt02a] {
        align-items: center;
        gap: 12px;
    }

    .sp-toggle-row[b-kvt77pt02a]  .mud-switch {
        min-height: 44px;
        margin-inline-end: 0;
    }

    /* Step 7 -- documents */
    .sp-doclist__row[b-kvt77pt02a] {
        min-width: 0;
    }

    .sp-doclist__row[b-kvt77pt02a]  .mud-icon-root {
        flex-shrink: 0;
    }

    .sp-doclist__name[b-kvt77pt02a] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Step 8 -- summary */
    .sp-preview-banner > div[b-kvt77pt02a] {
        min-width: 0;
    }

    .sp-preview[b-kvt77pt02a] {
        padding: 16px;
    }

    .sp-preview__divider[b-kvt77pt02a] {
        margin: 16px -16px 0;
    }

    .sp-preview__identity[b-kvt77pt02a] {
        gap: 12px;
    }

    .sp-preview__name[b-kvt77pt02a] {
        overflow-wrap: anywhere;
    }

    .sp-preview__desc[b-kvt77pt02a] {
        overflow-wrap: anywhere;
    }

    .sp-preview__stats[b-kvt77pt02a] {
        gap: 16px 12px;
        padding-top: 16px;
    }

    /* A long currency value wraps instead of clipping in a ~140px column. */
    .sp-glance__value[b-kvt77pt02a] {
        font-size: 16px;
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .sp-preview__docs[b-kvt77pt02a] {
        padding-top: 16px;
    }

    .sp-thumbs[b-kvt77pt02a] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-thumb[b-kvt77pt02a] {
        width: auto;
    }

    .sp-party[b-kvt77pt02a],
    .sp-fund-card[b-kvt77pt02a] {
        padding: 16px;
    }

    /* Role + company lines wrap rather than truncate on a narrow card. */
    .sp-party__name[b-kvt77pt02a],
    .sp-party__meta[b-kvt77pt02a] {
        white-space: normal;
        overflow: visible;
        overflow-wrap: anywhere;
    }

    .sp-fund-card__head > div[b-kvt77pt02a] {
        min-width: 0;
    }

    /* Loading skeleton: ControlCard's phone head inset, and the 16px body inset the
       step cards get above. */
    .sp-skel-head[b-kvt77pt02a] {
        padding: 16px 20px;
    }

    .sp-skel-body[b-kvt77pt02a] {
        padding: 16px;
    }

    .sp-skel-head-text[b-kvt77pt02a] {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sp-skel-head-text[b-kvt77pt02a]  > * {
        max-width: 100%;
    }
}

/* ControlCard's head inset under 600px. */
@media (max-width: 599px) {
    .sp-skel-head[b-kvt77pt02a] {
        padding: 16px;
    }
}

/* ---------- Review & Send (US-1090): one card per step ---------- */
.sp-sum[b-kvt77pt02a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sp-sum__edit[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-primary-blue);
    cursor: pointer;
    white-space: nowrap;
}

.sp-sum__edit:hover[b-kvt77pt02a] {
    text-decoration: underline;
}

.sp-sum__edit[b-kvt77pt02a]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: currentColor !important;
}

.sp-sum__rows[b-kvt77pt02a] {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 12px 16px;
    align-items: start;
    font-size: 14px;
}

.sp-sum__label[b-kvt77pt02a] {
    font-size: 13px;
    color: var(--lw-gray-graphite);
    padding-top: 2px;
}

.sp-sum__value[b-kvt77pt02a] {
    min-width: 0;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.sp-sum__value--muted[b-kvt77pt02a] {
    color: var(--lw-gray-graphite);
}

.sp-sum__desc[b-kvt77pt02a] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
}

.sp-sum__desc[b-kvt77pt02a]  p { margin: 0 0 6px; }
.sp-sum__desc[b-kvt77pt02a]  ul { margin: 4px 0 0; padding-left: 20px; }

.sp-sum__chips[b-kvt77pt02a] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sp-sum__chip[b-kvt77pt02a] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 6px;
    border-radius: 999px;
    background: var(--lw-bg-secondary);
    font-size: 12.5px;
    color: var(--lw-text-primary);
}

.sp-sum__chip[b-kvt77pt02a]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-gray-graphite) !important;
}

.sp-sum__person[b-kvt77pt02a] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sp-sum__name[b-kvt77pt02a] {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.sp-sum__meta[b-kvt77pt02a] {
    margin: 0;
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

@media (max-width: 599px) {
    .sp-sum__rows[b-kvt77pt02a] { grid-template-columns: 1fr; gap: 4px 0; }
    .sp-sum__label[b-kvt77pt02a] { padding-top: 10px; }
    .sp-sum__label:first-child[b-kvt77pt02a] { padding-top: 0; }
}

/* ---------- "Preview as {owner}": the owner's page over the wizard ---------- */
.sp-ownerpreview[b-kvt77pt02a] {
    position: fixed;
    inset: 0;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    background: var(--lw-bg-muted);
    overflow: auto;
}

.sp-ownerpreview__bar[b-kvt77pt02a] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.sp-ownerpreview__icon[b-kvt77pt02a] {
    flex: none;
    color: var(--lw-primary-blue);
}

.sp-ownerpreview__text[b-kvt77pt02a] {
    flex: 1;
    min-width: 0;
}

.sp-ownerpreview__title[b-kvt77pt02a] {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-primary-dark);
}

.sp-ownerpreview__sub[b-kvt77pt02a] {
    margin: 0;
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
}

.sp-ownerpreview__btn[b-kvt77pt02a] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-input-border);
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.sp-ownerpreview__btn:hover[b-kvt77pt02a] {
    background: var(--lw-bg-muted);
}

.sp-ownerpreview__page[b-kvt77pt02a] {
    flex: 1;
}

@media (max-width: 599px) {
    .sp-ownerpreview__bar[b-kvt77pt02a] { flex-wrap: wrap; padding: 10px 16px; }
    .sp-ownerpreview__text[b-kvt77pt02a] { flex-basis: 100%; }
}
/* _content/Ledgerwise/Components/Pages/Proposals.razor.rz.scp.css */
/* /proposals -- the builder's proposal inbox. Page chrome, the toolbar, the list row
   cells and the drop zone are global (lw-page.css, shared with /invoices); this file only
   carries the phone layout (US-1043). Desktop is untouched: every rule sits in the phone
   breakpoint or styles markup that only renders below it (MobileTrailing). */

/* ---- Phone facts under the status chip (LwListRow MobileTrailing, hidden >= 768px) ----
   The desktop Amount / RFP / Project columns as label / value lines, the ProjectProposals
   phone-card recipe (.pp-card-fact). */
.prop-m[b-fjvlay0xuu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.prop-m-status[b-fjvlay0xuu] {
    display: flex;
}

.prop-m-facts[b-fjvlay0xuu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.prop-m-fact[b-fjvlay0xuu] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.prop-m-fact-label[b-fjvlay0xuu] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

/* A long RFP or project name ellipsizes on its line rather than pushing the label out. */
.prop-m-fact-value[b-fjvlay0xuu] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* The amount is the figure the builder scans for: one weight up (the .pp-bid-amount
   weight). */
.prop-m-fact-value--amount[b-fjvlay0xuu] {
    font-weight: var(--lw-font-semibold);
}

/* The file name is reference detail, not a headline fact: regular weight, secondary text. */
.prop-m-fact-value--file[b-fjvlay0xuu] {
    font-weight: var(--lw-font-regular);
    color: var(--lw-gray-graphite);
}

/* "Document says ..." -- only rendered when the uploaded document names someone other
   than the assigned vendor. A quiet line of its own (the .pp-card-sub recipe), two lines
   at most. */
.prop-m-note[b-fjvlay0xuu] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

@media (max-width: 767.98px) {
    /* Title bar: no page override. The shared .lw-page-titlebar (lw-page.css) owns the
       phone layout, including how the intake address in the subtitle wraps (the rule
       that lived here was promoted so /invoices gets it too). */

    /* Drop zone: the shared .lw-dropzone recipe (lw-page.css) carries its own
       phone rule; nothing page-specific here. */

    /* ---- List rows as phone cards (LwListCard phone-cards owns the card chrome) ----
       Every row is LwListRow's split variant (it has an Actions cell): the card's 12px
       padding replaces the link region's own inset, and the link wraps so the status and
       facts block (MobileTrailing) drops under the identity instead of crushing the name
       to a few characters. Same rules as ProjectProposals .pp-cards / Vendors .vnd-pane. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row-link {
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 0;
    }

    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row-lead {
        align-items: flex-start;
        padding-right: 36px;
    }

    /* No initials tile on the phone card: the approved phone cards for this kind of record
       (ProjectProposals .pp-card, Adjustments, Payment Requests) are text only, and the 56px
       the tile cost is what wrapped the vendor name. Everything in the lead except the
       identity block (the avatar, or the extracting spinner tile -- the chip already says
       "Extracting") is hidden; desktop keeps it. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row-lead > :not(.lw-row-identity) {
        display: none;
    }

    /* With the tile gone the status and facts block starts at the card's left edge, under
       the name (the atom indents it 56px past the avatar); min-width lets a long fact
       value ellipsize inside it. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row-trailing-mobile {
        flex-basis: 100%;
        margin-left: 0;
        min-width: 0;
    }

    /* Vendor name gets two lines (desktop: one, ellipsized), balanced so a long name does
       not leave one word alone on the second line. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-row-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 20px;
        text-wrap: balance;
    }

    /* The identity sub line joins the extracted name and the file name into one sentence
       for the desktop row; on phones those are the "Document says" note and the File fact
       in MobileTrailing instead. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-row-identity .lw-row-sub {
        display: none;
    }

    /* Row menu: 44px trigger, top right (as ProjectProposals .pp-cards). */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row {
        position: relative;
    }

    /* Out of flow, pinned to the card's top right corner (the template lists' recipe),
       so the fact rows span the whole card and their values reach its right edge. */
    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-list-row-actions {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
    }

    .prop-body[b-fjvlay0xuu]  .lw-invoice-list .lw-row-icon-btn {
        width: 44px;
        height: 44px;
    }

    /* No-results card: the body already supplies the 16px gutter, and its two actions
       (Clear Search / Show All Proposals) wrap with a gap instead of stacking flush. */
    .prop-body[b-fjvlay0xuu]  .lw-doc-empty {
        padding: 24px 0;
    }

    .prop-body[b-fjvlay0xuu]  .lw-doc-empty-card {
        padding: 32px 16px;
    }

    .prop-body[b-fjvlay0xuu]  .lw-doc-empty-sub {
        overflow-wrap: anywhere;
    }

    .prop-body[b-fjvlay0xuu]  .lw-doc-empty-action {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    /* First-run state: the upload CTA fills the card (44px comes from lw-page.css). */
    .prop-body[b-fjvlay0xuu]  .lw-empty-action {
        width: 100%;
    }

    .prop-body[b-fjvlay0xuu]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Pages/Proposal/ProposalPackageView.razor.rz.scp.css */
/* ProposalPackageView -- the owner-facing proposal body, shared by the owner's page
   (ProposalReview) and the Send proposal wizard's "Preview as {owner}" (US-1090).
   Moved here from ProposalReview.razor.css so both render identically. */

.pr-review[b-4a740psum7] {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 20px 128px;
}

@media (min-width: 768px) {
    .pr-review[b-4a740psum7] { padding: 48px 32px 128px; }
}

/* Intro: text-xs eyebrow, 26/30px title, prose sub */
.pr-eyebrow[b-4a740psum7] {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lw-primary-blue);
}

.pr-title[b-4a740psum7] {
    margin: 6px 0 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}

@media (min-width: 768px) {
    .pr-title[b-4a740psum7] { font-size: 30px; }
}

.pr-intro[b-4a740psum7] {
    margin: 8px 0 0;
    max-width: 65ch;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.pr-intro strong[b-4a740psum7] { font-weight: 600; color: var(--lw-text-primary); }

.pr-sections[b-4a740psum7] {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card chrome (reference ui/card.tsx). NOTE: the shared Card component
   cannot carry these page-scoped classes -- a child component's root element
   does not receive this page's CSS-isolation scope attribute, so page rules
   like .pr-identity would silently stop applying (verified 2026-07-19).
   The chrome values mirror the Card atom exactly. */
.pr-card[b-4a740psum7] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.pr-card--clip[b-4a740psum7] { overflow: hidden; }

/* Section head: text-lg bold tracking-tight + 14/1.625 sub, mb-4 */
.pr-section-head[b-4a740psum7] { margin-bottom: 16px; }
.pr-section-head h2[b-4a740psum7] {
    margin: 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}
.pr-section-head p[b-4a740psum7] {
    margin: 4px 0 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Identity card (p-5 md:p-6, full-bleed dividers) */
.pr-identity[b-4a740psum7] { padding: 20px; }
@media (min-width: 768px) { .pr-identity[b-4a740psum7] { padding: 24px; } }

.pr-identity__name[b-4a740psum7] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pr-identity__address[b-4a740psum7] {
    margin: 4px 0 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.pr-identity__address[b-4a740psum7]  .mud-icon-root {
    width: 14px; height: 14px; font-size: 14px; margin-top: 2px; flex-shrink: 0;
}

.pr-identity__rule[b-4a740psum7] {
    margin: 20px -20px 0;
    border-top: 1px solid var(--lw-border);
}
@media (min-width: 768px) { .pr-identity__rule[b-4a740psum7] { margin-left: -24px; margin-right: -24px; } }

.pr-stats[b-4a740psum7] {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 20px;
    padding-top: 20px;
}
@media (min-width: 640px) { .pr-stats[b-4a740psum7] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pr-stat[b-4a740psum7] { min-width: 0; }
.pr-stat dt[b-4a740psum7] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}
.pr-stat dd[b-4a740psum7] {
    margin: 4px 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pr-doclabel[b-4a740psum7] {
    margin: 20px 0 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.pr-docs[b-4a740psum7] { display: flex; flex-direction: column; gap: 8px; }

.pr-doc[b-4a740psum7] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.pr-doc:hover[b-4a740psum7] { background: var(--lw-accent); text-decoration: none; }
.pr-doc[b-4a740psum7]  .pr-doc__icon { width: 20px; height: 20px; font-size: 20px; color: var(--lw-primary-blue); flex-shrink: 0; }
.pr-doc__body[b-4a740psum7] { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.pr-doc__name[b-4a740psum7] {
    font-size: 0.875rem; font-weight: 600; color: var(--lw-text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-doc__size[b-4a740psum7] { font-size: 0.75rem; color: var(--lw-gray-graphite); }
.pr-doc[b-4a740psum7]  .pr-doc__open { width: 14px; height: 14px; font-size: 14px; color: var(--lw-gray-graphite); flex-shrink: 0; }

/* Team member cards (p-4 md:p-5, 40px avatar, 14px bold name, 12/18 sub) */
.pr-team[b-4a740psum7] { display: flex; flex-direction: column; gap: 16px; }
.pr-member[b-4a740psum7] { display: flex; align-items: center; gap: 12px; padding: 16px; }
@media (min-width: 768px) { .pr-member[b-4a740psum7] { padding: 20px; } }
.pr-member__text[b-4a740psum7] { min-width: 0; }
.pr-member__name[b-4a740psum7] {
    margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--lw-text-primary);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-member__sub[b-4a740psum7] {
    margin: 2px 0 0; font-size: 0.75rem; line-height: 18px; color: var(--lw-gray-graphite);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Schedule of values (budget-schedule-of-values.tsx, stacked) */
.pr-sov[b-4a740psum7] { font-size: 0.875rem; }
.pr-num[b-4a740psum7] { font-variant-numeric: tabular-nums; white-space: nowrap; }

.pr-sov__summary[b-4a740psum7] { padding: 20px; }
@media (min-width: 768px) { .pr-sov__summary[b-4a740psum7] { padding: 24px; } }

.pr-sov__summary[b-4a740psum7] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .pr-sov__summary[b-4a740psum7] { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 40px; }
}

.pr-sov__totalblock[b-4a740psum7] { display: flex; flex-direction: column; justify-content: center; }

.pr-sov__grand[b-4a740psum7] {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}

.pr-sov__grandlabel[b-4a740psum7] { margin: 6px 0 0; font-size: 0.75rem; color: var(--lw-gray-space); }

.pr-sov__breakdown[b-4a740psum7] { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) {
    .pr-sov__breakdown[b-4a740psum7] { border-left: 1px solid var(--lw-border); padding-left: 40px; }
}

.pr-sov__srow[b-4a740psum7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    color: var(--lw-gray-graphite);
}
.pr-sov__srow .pr-num[b-4a740psum7] { color: var(--lw-text-primary); }

.pr-sov__feelabel[b-4a740psum7] { display: inline-flex; align-items: center; gap: 6px; }
.pr-sov__feelabel[b-4a740psum7]  .pr-sov__help {
    width: 14px; height: 14px; font-size: 14px;
    color: var(--lw-gray-space); cursor: help;
}

.pr-sov__table[b-4a740psum7] { border-top: 1px solid var(--lw-border); }

.pr-sov__header[b-4a740psum7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--lw-bg-table-header);
    padding: 10px 16px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

.pr-sov__division[b-4a740psum7] { border-top: 1px solid var(--lw-border); }
.pr-sov__division:first-of-type[b-4a740psum7] { border-top: 0; }

.pr-sov__catrow[b-4a740psum7] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.pr-sov__catrow:hover[b-4a740psum7] { background: color-mix(in srgb, var(--lw-accent) 50%, transparent); }

.pr-sov__catname[b-4a740psum7] { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pr-sov__catname[b-4a740psum7]  .pr-sov__chevron {
    width: 16px; height: 16px; font-size: 16px; flex-shrink: 0;
    color: var(--lw-gray-space);
    transition: transform 0.2s ease;
}
.pr-sov__catname[b-4a740psum7]  .pr-sov__chevron.is-open { transform: rotate(90deg); }

.pr-sov__subrow[b-4a740psum7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px 8px 48px;
    background: color-mix(in srgb, var(--lw-bg-muted) 60%, transparent);
    color: var(--lw-gray-graphite);
}

.pr-sov__rollrow[b-4a740psum7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--lw-border);
    padding: 12px 16px 12px 40px;
    font-weight: 500;
    color: var(--lw-text-primary);
}
.pr-sov__rollrow--tinted[b-4a740psum7] { background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent); }
.pr-sov__rollrow--strong[b-4a740psum7] { font-weight: 600; }
.pr-sov__rollrow--bold[b-4a740psum7] { font-weight: 700; }

.pr-funding[b-4a740psum7] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 1024px) { .pr-funding[b-4a740psum7] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pr-control[b-4a740psum7] { display: flex; flex-direction: column; padding: 20px; }

.pr-control__head[b-4a740psum7] { display: flex; align-items: flex-start; gap: 12px; }

.pr-control__tile[b-4a740psum7] {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}
.pr-control__tile[b-4a740psum7]  .mud-icon-root { width: 16px; height: 16px; font-size: 16px; }

.pr-control__title[b-4a740psum7] { margin: 0; font-size: 0.875rem; font-weight: 700; color: var(--lw-text-primary); }
.pr-control__sub[b-4a740psum7] { margin: 2px 0 0; font-size: 0.75rem; line-height: 18px; color: var(--lw-gray-graphite); }

.pr-control__value[b-4a740psum7] {
    margin-top: 16px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}
.pr-control__value p[b-4a740psum7] {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}
@media (min-width: 768px) { .pr-control__value p[b-4a740psum7] { font-size: 38px; } }

/* Reference: $ prefix and unit suffix render smaller and muted. */
.pr-control__prefix[b-4a740psum7] { margin-right: 4px; font-size: 20px; color: var(--lw-gray-graphite); }
@media (min-width: 768px) { .pr-control__prefix[b-4a740psum7] { font-size: 24px; } }
.pr-control__suffix[b-4a740psum7] { margin-left: 8px; font-size: 0.875rem; font-weight: 400; color: var(--lw-gray-graphite); }

.pr-control__note[b-4a740psum7]  p strong { font-weight: 600; color: var(--lw-text-primary); }

.pr-control__note[b-4a740psum7] {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    padding: 12px;
}
.pr-control__note[b-4a740psum7]  .mud-icon-root {
    width: 16px; height: 16px; font-size: 16px; margin-top: 2px; flex-shrink: 0;
    color: var(--lw-gray-graphite);
}
.pr-control__note p[b-4a740psum7] { margin: 0; font-size: 0.75rem; line-height: 18px; color: var(--lw-gray-graphite); }

/* Sticky action bar */
.pr-actionbar[b-4a740psum7] {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
    padding: 12px 20px;
}
@media (min-width: 768px) { .pr-actionbar[b-4a740psum7] { padding: 12px 32px; } }

.pr-actionbar__inner[b-4a740psum7] {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
}

@media (min-width: 768px) {
    .pr-actionbar__inner[b-4a740psum7] {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
}

.pr-actionbar__note[b-4a740psum7] {
    margin: 0 auto 0 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}


/* Powered-by footer: centered column, border-t pt-8 mt-12, 24px logo, 12px caption */
.pr-powered[b-4a740psum7] {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--lw-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pr-powered img[b-4a740psum7] { height: 24px; width: auto; }
.pr-powered p[b-4a740psum7] { margin: 0; font-size: 0.75rem; color: var(--lw-gray-space); }

/* Redirecting interstitial (redirecting-screen.tsx): fixed white overlay,
   56px emblem w/ rotating-gradient loading effect, gap-6 to the text block. */
/* Expand all / Collapse all (US-1131): the Budget tab's expand-all glyph with its label,
   in the header's leading cell; collapsed is the default. */
.pr-sov__headleft[b-4a740psum7] { display: inline-flex; align-items: center; gap: 10px; }
/* Same 24px icon-only glyph as the builder's Budget step (.sov__expand-all): pulled left
   by its 4px overhang so the icon centre lines up with the row chevrons below. */
.pr-sov__expand-all[b-4a740psum7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    margin-left: -4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
}
.pr-sov__expand-all:hover[b-4a740psum7] { background: var(--lw-accent); color: var(--lw-text-primary); }
.pr-sov__expand-all[b-4a740psum7]  .mud-icon-root { font-size: 0.875rem !important; color: currentColor !important; }
/* _content/Ledgerwise/Components/Pages/Proposal/ProposalReview.razor.rz.scp.css */
/* Proposal review page-level layout. Gate spec measured from source
   2026-07-19: owner-proposal-review.tsx ProposalPasswordGate --
   wrapper "flex h-full items-center justify-center px-5 py-12"; card
   "max-w-[400px] rounded-card border border-border bg-white p-6 shadow-card";
   lock tile size-11 rounded-card bg-info-bg text-brand-accent w/ size-5 glyph;
   title mt-4 text-lg bold tracking-tight; sub mt-1.5 text-sm leading-relaxed
   content-secondary (strong = semibold foreground); form mt-5 gap-2.5;
   error text-xs destructive; button mt-1 size=action full width. */

.pr-gate[b-3mkmg4cmh9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Full-viewport centering: the ProposalLayout surface has no chrome. */
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 48px 20px;
}

.pr-gate__card[b-3mkmg4cmh9] {
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    padding: 24px;
}

.pr-gate__lock[b-3mkmg4cmh9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.pr-gate__lock[b-3mkmg4cmh9]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.pr-gate__title[b-3mkmg4cmh9] {
    margin: 16px 0 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}

.pr-gate__sub[b-3mkmg4cmh9] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

.pr-gate__sub strong[b-3mkmg4cmh9] {
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pr-gate__form[b-3mkmg4cmh9] {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pr-gate__form .lw-button[b-3mkmg4cmh9] { margin-top: 4px; }

.pr-gate__error[b-3mkmg4cmh9] {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lw-destructive);
}

/* ---- Review state (owner-proposal-review.tsx, measured from source
   2026-07-19) ---- */

/* Change-request banner (change-request-banner.tsx) */
.pr-changereq[b-3mkmg4cmh9] {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid color-mix(in srgb, var(--lw-status-warning-fg) 25%, transparent);
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-warning-bg);
    padding: 16px;
}

.pr-changereq__roundel[b-3mkmg4cmh9] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--lw-status-warning-fg) 15%, transparent);
    color: var(--lw-status-warning-fg);
}
.pr-changereq__roundel[b-3mkmg4cmh9]  .mud-icon-root { width: 16px; height: 16px; font-size: 16px; }

.pr-changereq__body[b-3mkmg4cmh9] { min-width: 0; }
.pr-changereq__title[b-3mkmg4cmh9] { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--lw-text-primary); }
.pr-changereq__reason[b-3mkmg4cmh9] { margin: 4px 0 0; font-size: 0.875rem; font-style: italic; line-height: 1.625; color: var(--lw-gray-graphite); }
.pr-changereq__meta[b-3mkmg4cmh9] { margin: 6px 0 0; font-size: 0.75rem; color: var(--lw-gray-graphite); }

/* Funding control cards (ReviewControlCard: p-5 flex-col; 36px info-bg tile;
   centered 32/38 value; muted note w/ info glyph) */
.pr-redirect[b-3mkmg4cmh9] {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--lw-white);
    padding: 0 24px;
    text-align: center;
    animation: pr-redirect-in-b-3mkmg4cmh9 0.3s ease both;
}

@keyframes pr-redirect-in-b-3mkmg4cmh9 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pr-redirect__emblem[b-3mkmg4cmh9] { width: 56px; height: 56px; }

.pr-redirect__text[b-3mkmg4cmh9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pr-redirect__text h2[b-3mkmg4cmh9] {
    margin: 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pr-redirect__text p[b-3mkmg4cmh9] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

/* Footer for the gate / invalid states (the review state's footer is ProposalPackageView's). */
.pr-powered[b-3mkmg4cmh9] {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--lw-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pr-powered img[b-3mkmg4cmh9] { height: 24px; width: auto; }
.pr-powered p[b-3mkmg4cmh9] { margin: 0; font-size: 0.75rem; color: var(--lw-gray-space); }
/* _content/Ledgerwise/Components/Pages/Public/ProductDocumentation.razor.rz.scp.css */
/* Product documentation hub (US-610). Frame and content vocabulary are
   LwPublicPage / css/components/lw-public.css (US-926); nothing page-local. */
/* _content/Ledgerwise/Components/Pages/Public/ProductDocumentationArticle.razor.rz.scp.css */
/* Knowledge base article page (US-610). All chrome from --lw-* tokens.
   The body is rendered from a MarkupString, so Blazor's CSS isolation
   attribute is NOT stamped on its children -- every rule below the
   .kb-article-body root must use ::deep or it silently does nothing. */

/* Meta chips, related links and the frame are LwPublicPage / lw-public.css (US-926). */

/* ---- Rendered markdown ---- */

.kb-article-body[b-whd3wy2eme] {
    color: inherit;
    line-height: 1.6;
}

/* Headings match the frame's .lw-public__h2 (18px; 17px phones) so the
   article and the "Related articles" heading share one scale (US-926). */
.kb-article-body[b-whd3wy2eme]  h2 {
    font-family: var(--lw-font-family-heading);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    margin: 28px 0 8px;
    scroll-margin-top: 16px;
}

.kb-article-body[b-whd3wy2eme]  h2:first-child {
    margin-top: 0;
}

.kb-article-body[b-whd3wy2eme]  h3 {
    font-family: var(--lw-font-family-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
}

/* Body copy inherits the frame card's 15px (a global p rule otherwise set 16px). */
.kb-article-body[b-whd3wy2eme]  p,
.kb-article-body[b-whd3wy2eme]  li {
    font-size: inherit;
}

.kb-article-body[b-whd3wy2eme]  p {
    margin: 0 0 12px;
}

.kb-article-body[b-whd3wy2eme]  ul,
.kb-article-body[b-whd3wy2eme]  ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.kb-article-body[b-whd3wy2eme]  li {
    margin-bottom: 6px;
}

.kb-article-body[b-whd3wy2eme]  a {
    color: var(--lw-primary-blue);
}

/* Wide tables scroll inside their own box instead of widening the page
   (A4: columnar data may scroll in its container, never the page). */
.kb-article-body[b-whd3wy2eme]  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 0 0 16px;
    font-size: 14px;
}

.kb-article-body[b-whd3wy2eme]  th {
    background: var(--lw-bg-table-header);
    border: 1px solid var(--lw-border);
    font-weight: 600;
    padding: 8px 10px;
    text-align: left;
}

.kb-article-body[b-whd3wy2eme]  td {
    border: 1px solid var(--lw-border);
    padding: 8px 10px;
}

.kb-article-body[b-whd3wy2eme]  code {
    background: var(--lw-bg-secondary);
    border-radius: 4px;
    font-size: 0.875em;
    padding: 1px 5px;
}

.kb-article-body[b-whd3wy2eme]  strong {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .kb-article-body[b-whd3wy2eme]  h2 {
        margin-top: 24px;
        font-size: 17px;
    }
}
/* _content/Ledgerwise/Components/Pages/Public/SharedDocument.razor.rz.scp.css */
/* The public jobsite-card landing page (US-1115): file rows inside the LwPublicPage card,
   sized for a phone held in one hand -- a tall tap target to open, a labelled Download
   beside it. Chrome from --lw-* tokens only. */

.shd-intro[b-2yuzm7s0kk] {
    margin: 0 0 12px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--lw-text-secondary, var(--lw-gray-graphite));
}

.shd-files[b-2yuzm7s0kk] {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lw-border);
}

.shd-file[b-2yuzm7s0kk] {
    display: flex;
    align-items: stretch;
    gap: 8px;
    border-bottom: 1px solid var(--lw-border);
}

.shd-file__main[b-2yuzm7s0kk] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    color: var(--lw-text-primary);
    text-decoration: none;
    border-radius: var(--lw-radius-control, 8px);
}

.shd-file__main:hover[b-2yuzm7s0kk],
.shd-file__main:focus-visible[b-2yuzm7s0kk] {
    background: var(--lw-bg-muted);
    outline: none;
}

.shd-file__icon[b-2yuzm7s0kk] {
    flex: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    color: var(--lw-primary-blue);
}

.shd-file__icon[b-2yuzm7s0kk]  svg {
    width: 22px;
    height: 22px;
}

.shd-file__text[b-2yuzm7s0kk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shd-file__name[b-2yuzm7s0kk] {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.shd-file__meta[b-2yuzm7s0kk] {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
}

.shd-file__download[b-2yuzm7s0kk] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: center;
    padding: 8px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    color: var(--lw-primary-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.shd-file__download[b-2yuzm7s0kk]  svg {
    width: 18px;
    height: 18px;
}

.shd-file__download:hover[b-2yuzm7s0kk],
.shd-file__download:focus-visible[b-2yuzm7s0kk] {
    background: var(--lw-bg-muted);
    outline: none;
}

@media (max-width: 480px) {
    .shd-file__download span[b-2yuzm7s0kk] {
        display: none;
    }

    .shd-file__download[b-2yuzm7s0kk] {
        padding: 10px;
    }
}
/* _content/Ledgerwise/Components/Pages/Public/Status.razor.rz.scp.css */
/* Frame: LwPublicPage (US-926). US-765: public status rows. A plain list rather than a MudTable so the page renders
   completely under static SSR (no interactive circuit); chrome comes from --lw-* tokens,
   the state pill is the shared StatusChip. */
.status-components[b-ryc37es7sm] {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    border-top: 1px solid var(--lw-border);
}

.status-component[b-ryc37es7sm] {
    display: grid;
    grid-template-columns: 1fr auto 5rem;
    align-items: center;
    gap: 1rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--lw-border);
}

.status-component-name[b-ryc37es7sm] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.status-component-latency[b-ryc37es7sm] {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.status-headline[b-ryc37es7sm] {
    margin-bottom: 20px;
}

.status-meta[b-ryc37es7sm] {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.status-build[b-ryc37es7sm] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Phones (US-926): the latency column narrows so long component names
   ("QuickBooks Online") keep one line beside the chip. */
@media (max-width: 767.98px) {
    .status-component[b-ryc37es7sm] {
        grid-template-columns: minmax(0, 1fr) auto 3.5rem;
        gap: 0.75rem;
    }
}
/* _content/Ledgerwise/Components/Pages/Public/SupplierW9.razor.rz.scp.css */
/* Page-scoped layout for the public W-9 page (US-1093, US-1094). Chrome comes from
   the wizard shell, ControlCard and the Lw* atoms; this file only arranges them.
   Every element below is authored in SupplierW9.razor, so it carries the page scope
   attribute itself and a plain selector matches it directly (::deep would have no
   scoped ancestor inside the card, the same reason AddVendor.razor.css uses plain
   selectors). */

.w9-loading[b-ztfcm92ame] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* What Persona asks for: the identity step's feature rows, 16px below the callout
   and 16px above the status notes, as on the onboarding identity cards. */
.w9-features[b-ztfcm92ame] {
    display: flex;
    flex-direction: column;
    margin: 16px 0;
}

/* The done screen's summary (US-1175): how the vendor is paid and the mailing address,
   side by side when there is room, 16px below the callout and above the closing note. */
.w9-summary[b-ztfcm92ame] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

/* ---- US-1191 ---- */
/* Requested by / Takes / Cost: label | value rows. */
.w9-rows[b-ztfcm92ame] {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px 16px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
}

.w9-rows__label[b-ztfcm92ame] {
    color: var(--lw-gray-graphite);
}

.w9-rows__value[b-ztfcm92ame] {
    color: var(--lw-text-primary);
}

.w9-rule[b-ztfcm92ame] {
    border: 0;
    border-top: 1px solid var(--lw-border);
    margin: 20px 0;
}

.w9-steps-label[b-ztfcm92ame] {
    margin: 0 0 12px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* The tracker: the supplier page's Onboarding steps (kickoff checklist markers). */
.w9-steps[b-ztfcm92ame] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.w9-step[b-ztfcm92ame] {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    padding-bottom: 18px;
}

.w9-step:last-child[b-ztfcm92ame] {
    padding-bottom: 0;
}

.w9-step:not(:last-child)[b-ztfcm92ame]::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 2px;
    width: 1px;
    background: var(--lw-border);
}

.w9-step__dot[b-ztfcm92ame] {
    grid-row: 1;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid var(--lw-gray-smoke);
    background: var(--lw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    /* Numbers sit in the optical centre: no inherited line box, equal-width figures. */
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--lw-gray-graphite);
}

.w9-step--current .w9-step__dot[b-ztfcm92ame] {
    border: 2px solid var(--lw-primary-blue);
    color: var(--lw-primary-blue);
}

.w9-step--done .w9-step__dot[b-ztfcm92ame] {
    border: 0;
    background: var(--lw-success-dark);
    color: var(--lw-white);
}

.w9-step--done .w9-step__dot[b-ztfcm92ame]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-white) !important;
}

.w9-step__title[b-ztfcm92ame] {
    grid-column: 2;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 24px;
    color: var(--lw-text-primary);
}

.w9-step__desc[b-ztfcm92ame] {
    grid-column: 2;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.w9-foot[b-ztfcm92ame] {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--lw-border);
    font-family: var(--lw-font-family);
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.w9-foot--plain[b-ztfcm92ame] {
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 599px) {
    .w9-rows[b-ztfcm92ame] {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .w9-rows__value + .w9-rows__label[b-ztfcm92ame] {
        margin-top: 10px;
    }
}

/* Notes under the tracker: the card's 16px section gap above, 12px between notes. */
.w9-notes[b-ztfcm92ame] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

/* Info glyph + tooltip on the card title (ProjectPeopleCard pattern). */
.w9-info[b-ztfcm92ame] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
}

.w9-info:hover[b-ztfcm92ame],
.w9-info:focus-visible[b-ztfcm92ame] {
    color: var(--lw-gray-graphite);
}

.w9-info[b-ztfcm92ame]  .w9-info__glyph {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.w9-info__tip[b-ztfcm92ame] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: max-content;
    max-width: 17.5rem;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.w9-info:hover .w9-info__tip[b-ztfcm92ame],
.w9-info:focus-visible .w9-info__tip[b-ztfcm92ame] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}
/* _content/Ledgerwise/Components/Pages/Reports/PayeePaymentsModal.razor.rz.scp.css */
/* US-1154: payments behind a payee row. Layout only, ported from BudgetDeltaAuditModal; chrome
   comes from lw-table.css and lw-modal. */
.ppm[b-ynpjguwph7] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ppm-table[b-ynpjguwph7] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: hidden;
}

.ppm-table > .lw-table-tr:last-child[b-ynpjguwph7] {
    border-bottom: 0;
}

/* Read only: these rows open nothing, so they drop the shared row's pointer and hover. */
.lw-table-tr.ppm-row[b-ynpjguwph7] {
    cursor: default;
}

.lw-table-tr.ppm-row:hover[b-ynpjguwph7] {
    background: transparent;
}

.ppm-col-date[b-ynpjguwph7] { flex: 0 0 9rem; white-space: nowrap; }
.ppm-col-project[b-ynpjguwph7] { flex: 1 1 0; min-width: 0; }
.ppm-col-request[b-ynpjguwph7] { flex: 0 0 9.5rem; }
.ppm-col-rail[b-ynpjguwph7] { flex: 0 0 5.5rem; }
.ppm-col-amount[b-ynpjguwph7] { flex: 0 0 8rem; justify-content: flex-end; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.ppm-col-cert[b-ynpjguwph7] { flex: 0 0 17rem; }

.lw-table-td.ppm-col-cert[b-ynpjguwph7] {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.ppm-sub[b-ynpjguwph7] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.ppm-cards[b-ynpjguwph7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ppm-card[b-ynpjguwph7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
}

.ppm-card-top[b-ynpjguwph7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ppm-card-title[b-ynpjguwph7] {
    min-width: 0;
    font-size: var(--lw-row-title-size);
    font-weight: var(--lw-row-title-weight);
    line-height: var(--lw-row-title-line);
    overflow-wrap: anywhere;
}

.ppm-card-amount[b-ynpjguwph7] {
    flex-shrink: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ppm-card-sub[b-ynpjguwph7] {
    font-size: var(--lw-row-sub-size);
    line-height: var(--lw-row-sub-line);
    color: var(--lw-gray-graphite);
}

.ppm-card-cert[b-ynpjguwph7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 4px;
}

.ppm-cards-pager .lw-table-pager[b-ynpjguwph7] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
}

.ppm-cards-pager .lw-table-pager-range[b-ynpjguwph7] {
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .ppm-table[b-ynpjguwph7] {
        display: none;
    }
}

@media (min-width: 768px) {
    .ppm-cards[b-ynpjguwph7] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Pages/Reports/ReportFilterModal.razor.rz.scp.css */
/* US-1154: From and To share one row in the report filter dialog; they stack on phones. */
.rfm-dates[b-44l7xjhcvt] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* US-1195: the callout body is a paragraph; the callout already sets the type and spacing. */
.rfm-callout-text[b-44l7xjhcvt] {
    margin: 0;
}

@media (max-width: 479.98px) {
    .rfm-dates[b-44l7xjhcvt] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* _content/Ledgerwise/Components/Pages/Reports/ReportRun.razor.rz.scp.css */
/* US-1154: the report run page. Toolbar, KPI row, definition callout, then tables on the shared
   lw-table chrome. Table card and column recipe follow ProjectTransactions. Tokens only. */
.rr-stack[b-4n2mztx68p] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rr-period[b-4n2mztx68p] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
}

.rr-kpis[b-4n2mztx68p] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

/* Values line up across the row whether or not a card has a sub-line. */
.rr-kpis[b-4n2mztx68p]  .lw-kpi-card {
    justify-content: flex-start;
}

.rr-kpis[b-4n2mztx68p]  .lw-kpi-foot {
    margin-top: auto;
}

.rr-section-title[b-4n2mztx68p] {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.rr-table-card[b-4n2mztx68p] {
    overflow-x: auto;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.rr-table-card .lw-table[b-4n2mztx68p] {
    min-width: 900px;
}

.rr-col-project[b-4n2mztx68p] { flex: 1 1 200px; min-width: 0; flex-direction: column; align-items: flex-start; }
.rr-col-money[b-4n2mztx68p]   { flex: 0 0 140px; min-width: 0; justify-content: flex-end; text-align: right; }
.rr-col-money--wide[b-4n2mztx68p] { flex-basis: 150px; }
.rr-col-count[b-4n2mztx68p]   { flex: 0 0 90px; min-width: 0; justify-content: flex-end; text-align: right; }
.rr-col-date[b-4n2mztx68p]    { flex: 0 0 130px; min-width: 0; white-space: nowrap; }
.rr-col-request[b-4n2mztx68p] { flex: 0 0 150px; min-width: 0; }
.rr-col-status[b-4n2mztx68p]  { flex: 0 0 180px; min-width: 0; }

.lw-table-th.rr-col-project[b-4n2mztx68p] {
    flex-direction: row;
    align-items: center;
}

.rr-name[b-4n2mztx68p] {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-primary-dark);
}

.rr-sub[b-4n2mztx68p] {
    display: block;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.rr-total[b-4n2mztx68p] {
    background: var(--lw-bg-table-header);
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.rr-col-type[b-4n2mztx68p] { flex: 0 0 140px; min-width: 0; }
.rr-col-cert[b-4n2mztx68p] { flex: 0 0 280px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.rr-col-chevron[b-4n2mztx68p] { flex: 0 0 40px; box-sizing: border-box; padding: 0 12px 0 0; justify-content: flex-end; color: var(--lw-gray-graphite); }

.lw-table-th.rr-col-cert[b-4n2mztx68p] {
    flex-direction: row;
    align-items: center;
}

/* US-1196, Insurance audit: trade, coverage (chip over its amounts) and the certificate lines. */
.rr-table-card .lw-table.rr-audit-table[b-4n2mztx68p] {
    min-width: 1120px;
}

.rr-col-trade[b-4n2mztx68p]    { flex: 0 0 170px; min-width: 0; }
.rr-col-coverage[b-4n2mztx68p] { flex: 0 0 240px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.rr-col-policy[b-4n2mztx68p]   { flex: 1 1 260px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 6px; }

.lw-table-th.rr-col-coverage[b-4n2mztx68p],
.lw-table-th.rr-col-policy[b-4n2mztx68p] {
    flex-direction: row;
    align-items: center;
}

.rr-policy[b-4n2mztx68p] {
    display: block;
}

.rr-card-chip .rr-policy + .rr-policy[b-4n2mztx68p] {
    margin-top: 6px;
}

.rr-note-text[b-4n2mztx68p] {
    margin: 0;
}

/* US-1199, Needs attention: the summary with Ask all, the reasons, and the row actions. */
.rr-attention-bar[b-4n2mztx68p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 0.875rem;
    color: var(--lw-primary-dark);
}

.rr-attention-bar .rr-note-text[b-4n2mztx68p] {
    flex: 1 1 320px;
    min-width: 0;
}

.rr-table-card .lw-table.rr-attention-table[b-4n2mztx68p] {
    min-width: 1180px;
}

.rr-col-reasons[b-4n2mztx68p] { flex: 1 1 280px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.rr-col-asked[b-4n2mztx68p]   { flex: 0 0 190px; min-width: 0; }
.rr-col-actions[b-4n2mztx68p] { flex: 0 0 330px; min-width: 0; gap: 16px; justify-content: flex-end; }

.lw-table-th.rr-col-reasons[b-4n2mztx68p] {
    flex-direction: row;
    align-items: center;
}

.rr-reason[b-4n2mztx68p] {
    display: block;
}

.rr-card-chip .rr-reason + .rr-reason[b-4n2mztx68p] {
    margin-top: 8px;
}

.rr-link[b-4n2mztx68p] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-primary-blue);
    text-decoration: none;
    white-space: nowrap;
}

.rr-link:hover[b-4n2mztx68p] {
    text-decoration: underline;
}

.rr-card-actions[b-4n2mztx68p] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 12px;
}

.rr-note-list[b-4n2mztx68p] {
    margin: 0;
    padding-left: 18px;
}

.rr-note-list li + li[b-4n2mztx68p] {
    margin-top: 4px;
}

/* US-1200, Cash disbursements: four money columns under long headings, then the lines that tie
   the total to Cash gross receipts. */
.rr-col-money--cash[b-4n2mztx68p] { flex-basis: 180px; }

.rr-tie[b-4n2mztx68p] {
    margin: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.rr-tie-row[b-4n2mztx68p] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--lw-primary-dark);
}

.rr-tie-row + .rr-tie-row[b-4n2mztx68p] {
    border-top: 1px solid var(--lw-border);
}

.rr-tie-row dt[b-4n2mztx68p] {
    min-width: 0;
    font-weight: 400;
}

.rr-tie-row dd[b-4n2mztx68p] {
    margin: 0;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rr-tie-row--total[b-4n2mztx68p] {
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
    background: var(--lw-bg-table-header);
    font-weight: 600;
}

.rr-tie-row--total dt[b-4n2mztx68p] {
    font-weight: 600;
}

/* These rows open nothing, so they drop the shared row's pointer and hover. */
.lw-table-tr.rr-static[b-4n2mztx68p] {
    cursor: default;
}

.lw-table-tr.rr-static:hover[b-4n2mztx68p] {
    background: transparent;
}

.lw-table-tr.rr-total:hover[b-4n2mztx68p] {
    background: var(--lw-bg-table-header);
}

.rr-row[b-4n2mztx68p] {
    cursor: pointer;
}

.rr-card--link[b-4n2mztx68p] {
    cursor: pointer;
}

.rr-row:focus-visible[b-4n2mztx68p],
.rr-card--link:focus-visible[b-4n2mztx68p] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
}

.rr-row[b-4n2mztx68p]  .rr-chevron,
.rr-card-head[b-4n2mztx68p]  .rr-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--lw-gray-graphite);
}

.rr-card-head[b-4n2mztx68p] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.rr-card-chip[b-4n2mztx68p] {
    display: block;
    margin-top: 10px;
}

/* US-1243: the loading skeleton. The button-shaped blocks (Download, Filter) take the control
   radius; on a phone card each stat sketch is a label over its figure, as LwListStat stacks them. */
.lw-page-shell[b-4n2mztx68p]  .rr-skel-control {
    border-radius: var(--lw-radius-control);
}

.rr-skel-stat[b-4n2mztx68p] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rr-phone[b-4n2mztx68p] {
    display: none;
}

.rr-cards[b-4n2mztx68p] {
    flex-direction: column;
    gap: 12px;
}

.rr-card[b-4n2mztx68p] {
    padding: 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.rr-stats[b-4n2mztx68p] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .rr-kpis[b-4n2mztx68p] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .rr-desktop[b-4n2mztx68p] {
        display: none;
    }

    .rr-phone[b-4n2mztx68p] {
        display: flex;
    }

    .rr-kpis[b-4n2mztx68p] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Phones: the cards carry their own chrome, so the wrapper steps back and the pager loses its fill. */
    .rr-table-card[b-4n2mztx68p] {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .rr-table-card .lw-table-pager[b-4n2mztx68p] {
        justify-content: space-between;
        gap: 8px;
        margin-top: 12px;
        padding: 8px 0 0;
        background: none;
    }

    .rr-table-card .lw-table-pager-label[b-4n2mztx68p] {
        display: none;
    }
}

.lw-table-pager-btn[aria-disabled="true"][b-4n2mztx68p] {
    opacity: 0.3;
    cursor: default;
}

.rr-phone-pager[b-4n2mztx68p] {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--lw-border);
}

.rr-phone-count[b-4n2mztx68p] {
    font-size: var(--lw-row-sub-size);
    line-height: var(--lw-row-sub-line);
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Pages/Reports/Reports.razor.rz.scp.css */
/* US-1154: the Reports list. A one-column grid of full-width cards (Cody, 2026-11-01: list views
   do not use ControlCard). Card chrome measured from the Projects list card: white, 1px
   --lw-border, 8px radius, --lw-shadow-card. Tokens only. */
.rp-grid[b-ptvvsk832c] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.rp-card[b-ptvvsk832c] {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.rp-card:hover[b-ptvvsk832c] {
    box-shadow: var(--lw-shadow-md);
    transform: translateY(-1px);
}

.rp-card:focus-visible[b-ptvvsk832c] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.rp-card-icon[b-ptvvsk832c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
}

.rp-card-icon[b-ptvvsk832c]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: var(--lw-primary-blue);
}

.rp-card-text[b-ptvvsk832c] {
    display: block;
    min-width: 0;
}

.rp-card-title[b-ptvvsk832c] {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lw-primary-dark);
}

.rp-card-desc[b-ptvvsk832c] {
    display: block;
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

.rp-card-run[b-ptvvsk832c] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-primary-blue);
}

.rp-card-run[b-ptvvsk832c]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-primary-blue);
}

@media (max-width: 767.98px) {
    .rp-card[b-ptvvsk832c] {
        padding: 16px;
    }
}
/* _content/Ledgerwise/Components/Pages/Rfp/RfpDocuments.razor.rz.scp.css */
/* Vendor RFP documents page (/rfp/{id}/documents). Page layout only: title
   tokens from lw-page.css, the details card is ControlCard, documents are
   LwListCard + LwDocListRow, loading is LwSkeleton and not-found is LwDocEmpty
   -- the same treatment as the guest RFP page (US-926). */

.rfd-page[b-pqfrp0n80y] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

.rfd-titlebar[b-pqfrp0n80y] {
    margin-bottom: 0;
}

.rfd-loading[b-pqfrp0n80y] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rfd-loading[b-pqfrp0n80y]  .rfd-skel {
    border-radius: var(--lw-radius-card);
}

.rfd-missing[b-pqfrp0n80y] {
    display: flex;
    justify-content: center;
    padding: 48px 0;
}

.rfd-desc[b-pqfrp0n80y] {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-text-primary);
    white-space: pre-wrap;
}

/* ---- Phones (US-926): same as the guest RFP page -- the 16px gutter (the
   shell pads 24px), the white title band flattened into a heading, and Back as
   a full-width 44px target. ---- */
@media (max-width: 767.98px) {
    .rfd-page[b-pqfrp0n80y] {
        gap: 16px;
        margin: 0 -8px;
        padding: 16px 0;
    }

    .rfd-titlebar[b-pqfrp0n80y] {
        padding: 0;
        background: transparent;
        border-bottom: 0;
    }

    .rfd-titlebar .lw-page-titlebar-actions[b-pqfrp0n80y] {
        width: 100%;
    }

    .rfd-titlebar .lw-page-action[b-pqfrp0n80y] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    .rfd-missing[b-pqfrp0n80y] {
        padding: 24px 0;
    }

    /* Download beside each document: the 28px drawer icon button reaches the 44px tap
       target (US-1043). File names already wrap to two lines (LwDocListRow). */
    .rfd-download[b-pqfrp0n80y] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Rfp/RfpDocumentsGuest.razor.rz.scp.css */
/* Public vendor RFP page (/rfp/documents/guest). Page layout only: the guest
   banner is LwCallout, sections are ControlCards, documents are LwListCard +
   LwDocListRow, the proposal drop zone is FileDropZone, the loading sketch is
   LwSkeleton and access denied is LwDocEmpty (US-926). */

.rfg-page[b-fxln5dm549] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* ---- Loading sketch ---- */

.rfg-loading[b-fxln5dm549] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rfg-loading[b-fxln5dm549]  .rfg-skel {
    border-radius: var(--lw-radius-card);
}

/* ---- Access denied: LwDocEmpty centred ---- */

.rfg-denied[b-fxln5dm549] {
    display: flex;
    justify-content: center;
    padding: 48px 0;
}

/* ---- RFP details ---- */

.rfg-desc[b-fxln5dm549] {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-text-primary);
    white-space: pre-wrap;
}

/* ---- Proposal form ---- */

.rfg-form[b-fxln5dm549] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rfg-submit-row[b-fxln5dm549] {
    display: flex;
    justify-content: flex-end;
}

/* ---- Phones (US-926) ----
   MainLayout's content container pads 24px at every width; pull the page out
   8px so it sits on the 16px phone gutter (O10) like the other sub pages. The
   white full-bleed title band reads as an inset box inside this centred
   column, so on phones it flattens into a plain heading aligned with the
   cards. The title-bar action and Submit become full-width 44px targets. */
@media (max-width: 767.98px) {
    .rfg-page[b-fxln5dm549] {
        gap: 16px;
        margin: 0 -8px;
        padding: 16px 0;
    }

    .rfg-titlebar[b-fxln5dm549] {
        padding: 0;
        background: transparent;
        border-bottom: 0;
    }

    .rfg-titlebar .lw-page-titlebar-actions[b-fxln5dm549] {
        width: 100%;
    }

    .rfg-titlebar .lw-page-action[b-fxln5dm549] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    .rfg-submit[b-fxln5dm549] {
        width: 100%;
        height: 44px;
        justify-content: center;
    }

    .rfg-denied[b-fxln5dm549] {
        padding: 24px 0;
    }
}
/* _content/Ledgerwise/Components/Pages/Styleguide.razor.rz.scp.css */
.sg[b-8g4lcoua9y] {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: var(--lw-font-family, sans-serif);
    color: var(--lw-gray-phantom);
}

.sg-title[b-8g4lcoua9y] {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sg-note[b-8g4lcoua9y] {
    font-size: 14px;
    color: var(--lw-gray-graphite);
    margin: 0;
}

.sg-section[b-8g4lcoua9y] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
}

.sg-section-title[b-8g4lcoua9y] {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.sg-src[b-8g4lcoua9y] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    margin: 0;
    font-family: ui-monospace, monospace;
}

.sg-row[b-8g4lcoua9y] {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sg-item[b-8g4lcoua9y] {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Atoms sit on the muted app background in situ; mirror it here. */
    background: var(--lw-bg-muted);
    padding: 16px;
    border-radius: 8px;
}

.sg-label[b-8g4lcoua9y] {
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    margin: 0;
}

/* Stand-in for the .lw-modal dialog panel (app.css) so the LwModalHeader/
   Body/Footer atoms can be shown composed without a MudDialog provider:
   same form-surface panel, card radius, clipped corners. */
.sg-modal-frame[b-8g4lcoua9y] {
    max-width: 440px;
    border-radius: var(--lw-radius-card);
    overflow: hidden;
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
}

/* Height-capped stand-in for the scroll demo: the real panel bounds itself to
   the viewport (max-height: calc(100vh - 96px) in app.css), which an embedded
   frame never reaches. Capping here is what makes the body overflow and the
   pinned footer visible on this page. */
.sg-modal-frame--capped[b-8g4lcoua9y] {
    display: flex;
    flex-direction: column;
    max-height: 280px;
}

/* Bottom-sheet silhouette (.lw-modal--sheet in mudblazor-overrides.css). The
   real panel is position:fixed against the viewport bottom, so it cannot be
   embedded; this bounded stand-in carries only the geometry that
   distinguishes a sheet from a dialog -- full-bleed width and the top-only
   12px radius. Chrome inside comes from the real atoms. */
.sg-sheet-frame[b-8g4lcoua9y] {
    max-width: none;
    border-radius: 12px 12px 0 0;
}

/* Wide demo item: the sheet stand-in needs the full row, not a 260px column. */
.sg-item--wide[b-8g4lcoua9y] {
    flex: 1 1 100%;
}

/* Holds a position: fixed component (LwSideSheet) inside a box: a transformed element is the
   containing block for its fixed descendants, so the sheet covers this frame, not the window. */
.sg-fixed-frame[b-8g4lcoua9y] {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    transform: translateZ(0);
}

/* 100dvh is the window's height; inside the frame the sheet is the frame's. */
.sg-fixed-frame[b-8g4lcoua9y]  .lw-sheet-panel {
    height: 100%;
}

.sg-sheet-note[b-8g4lcoua9y] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* Toast severity swatches. Real toasts are position:fixed bottom-center, so
   un-pin them here to sit inline in the row. ::deep is required -- the toast
   markup belongs to the LwSnackbar child component, not this page. */
.sg-toast-preview[b-8g4lcoua9y]  .lw-snackbar__toast {
    position: static;
    transform: none;
    animation: none;
    width: fit-content;
}

/* LwSectionTrigger demo (US-1043): the atom is phone-only (lw-page.css hides its
   .lw-page-section-menu wrapper from 768px up), so the styleguide forces it visible. */
.sg-force-section-menu[b-8g4lcoua9y]  .lw-page-section-menu {
    display: inline-flex;
}

.sg-force-section-menu[b-8g4lcoua9y]  .lw-page-section-menu--fill {
    display: block;
    width: 100%;
}

.sg-force-section-menu[b-8g4lcoua9y]  .lw-page-section-menu--fill .lw-page-section-trigger {
    width: 100%;
    justify-content: space-between;
}
/* _content/Ledgerwise/Components/Pages/Supplier/AddSupplier.razor.rz.scp.css */
/* Add-supplier wizard -- PAGE-SPECIFIC step bodies only. The wizard shell
   (pw-shell / pw-rail* / pw-main / pw-content / pw-stack) lives in
   css/components/lw-wizard.css (AddProject / AddContractor are the other
   consumers). Field grids and the review grid mirror AddContractor. */

[b-zuc9wrtsit] .as-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-zuc9wrtsit] .as-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 700px) {
    [b-zuc9wrtsit] .as-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Review step: reference Field label/value grid (1 -> 2 -> 3 columns). */
[b-zuc9wrtsit] .as-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    [b-zuc9wrtsit] .as-review {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    [b-zuc9wrtsit] .as-review {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

[b-zuc9wrtsit] .as-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

[b-zuc9wrtsit] .as-field-label {
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

[b-zuc9wrtsit] .as-field-value {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}
/* _content/Ledgerwise/Components/Pages/Supplier/SupplierDetail.razor.rz.scp.css */
/* Supplier detail page -- same grammar as the approved Contractor and
   Project Owner detail pages (2026-07-28): lw-page-titlebar with circle Info
   avatar + items-start alignment, muted body of full-width stacked
   ControlCards that are read-only until their own Edit is pressed (US-983). Layout only; control chrome lives in the
   atoms. */

[b-rhmwdo793t] .lw-page-titlebar {
    align-items: flex-start;
    min-height: 88px;
}

/* The identity header is the shared LwEntityHeader atom (the project detail
   header pattern, US-1043 r2); its chrome lives in that component's scoped CSS.
   The .lw-page-titlebar rule above only sizes the loading / not-found fallback. */

[b-rhmwdo793t] .sup-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    flex: 1;
}

/* US-1191: the Project Overview grid (po-split): a centered 1100px measure, the main column
   and a 360px rail 24px apart, 16px between cards; one column under 1024px, main first. */
[b-rhmwdo793t] .sup-split {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

[b-rhmwdo793t] .sup-main,
[b-rhmwdo793t] .sup-rail {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    [b-rhmwdo793t] .sup-split {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
    }
}

[b-rhmwdo793t] .sup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[b-rhmwdo793t] .sup-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 767.98px) {
    [b-rhmwdo793t] .sup-grid2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

[b-rhmwdo793t] .sup-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Per-card edit (MyOrganization recipe: .org-edit-actions / .org-card-action) */
[b-rhmwdo793t] .sup-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--lw-border);
}

/* People in a communication role: one per line, name over a quiet email. */
/* Several addresses in one value (Sent to): one per line, tight like wrapped text. */
[b-rhmwdo793t] .sup-rep-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

[b-rhmwdo793t] .sup-rep-list > span {
    line-height: 20px;
}

[b-rhmwdo793t] .sup-rep {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

[b-rhmwdo793t] .sup-rep-email {
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

/* The header Edit button is the shared .lw-card-action (icon-only 44px square
   under 600px, lw-page.css); nothing about the card head is styled here. */
@media (max-width: 599px) {
    [b-rhmwdo793t] .sup-edit-actions .lw-button:last-child {
        flex: 1 1 auto;
    }

    [b-rhmwdo793t] .sup-edit-actions .lw-button:last-child .lw-button-native {
        width: 100%;
    }
}

/* Shadowed-builder callout inside the Account Representatives card */
[b-rhmwdo793t] .sup-shadow-name {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-shadow-sub,
[b-rhmwdo793t] .sup-muted {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Loading skeleton -- card rhythm of the stacked ControlCards */
[b-rhmwdo793t] .sup-skel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

[b-rhmwdo793t] .sup-skel-card {
    width: 100%;
    border-radius: var(--lw-radius-card);
}

/* Error / not-found states */
[b-rhmwdo793t] .sup-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 560px;
}

[b-rhmwdo793t] .sup-state--center {
    align-items: center;
    align-self: center;
    text-align: center;
    padding: 48px 0;
}

[b-rhmwdo793t] .sup-state-icon.mud-icon-root {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-state-title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 18px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-state-sub {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-gray-graphite);
}

/* Phone (US-1043): the loading / not-found fallback title bar is the shared
   .lw-page-titlebar phone layout (lw-page.css) -- only the desktop height hold
   is released here; the loaded header is LwEntityHeader's own phone layout.
   Plus 44px card actions and 16px body gutters. */
@media (max-width: 767.98px) {
    [b-rhmwdo793t] .lw-page-titlebar {
        min-height: 0;
    }

    [b-rhmwdo793t] .sup-body {
        padding: 16px;
        gap: 16px;
    }

    [b-rhmwdo793t] .sup-skel {
        gap: 16px;
    }

    /* 600-767px keeps the labelled Edit at a 44px tap height (= .cl-card-edit);
       the shared .lw-card-action rule takes over under 600px. */
    [b-rhmwdo793t] .sup-card-action {
        height: 44px;
    }

    /* Three actions (Cancel / Use Supplier Default / Save) do not fit one
       360px line: they wrap and the primary fills its own row. */
    [b-rhmwdo793t] .sup-edit-actions {
        flex-wrap: wrap;
    }

    [b-rhmwdo793t] .sup-form .mud-switch {
        min-height: 44px;
    }

    [b-rhmwdo793t] .sup-state--center {
        padding: 32px 0;
    }
}

/* Long uppercase labels ("Invoice Paid Receipt Representatives") wrap rather
   than squeeze the value beside them; rows stay label-left / value-right like
   the contractor page. */
@media (max-width: 767.98px) {
    [b-rhmwdo793t] .sup-split .lw-field-label {
        flex-shrink: 1;
    }

    [b-rhmwdo793t] .sup-split .lw-field-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

/* US-1094: the 'need a corrected form?' line under a pending review: text and the resend button on one row. */
[b-rhmwdo793t] .sup-review-resend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

/* US-1175: Confirm / Keep under the vendor's pending mailing address. */
[b-rhmwdo793t] .sup-pending-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 10px;
}

/* ---- US-1191: Onboarding steps ----
   The project kickoff checklist's markers (ProjectKickoffOverview .kc3-mark): 24px; not yet =
   1.5px smoke ring; current = 2px brand-blue ring; done = success-dark fill with the Material
   check; skipped = a grey filled circle with a dash. Joined by a 1px hairline (the timeline
   connector); the current step carries its action at the right. */
[b-rhmwdo793t] .sup-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

[b-rhmwdo793t] .sup-step {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 4px;
    padding-bottom: 22px;
}

[b-rhmwdo793t] .sup-step:last-child {
    padding-bottom: 0;
}

[b-rhmwdo793t] .sup-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 2px;
    width: 1px;
    background: var(--lw-border);
}

[b-rhmwdo793t] .sup-step__dot {
    grid-column: 1;
    grid-row: 1;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid var(--lw-gray-smoke);
    background: var(--lw-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-rhmwdo793t] .sup-step__dot .mud-icon-root {
    display: none;
}

[b-rhmwdo793t] .sup-step--current .sup-step__dot {
    border: 2px solid var(--lw-primary-blue);
}

[b-rhmwdo793t] .sup-step__title {
    grid-column: 2;
    grid-row: 1;
    font-family: var(--lw-font-family);
    font-size: 15px;
    line-height: 24px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-step--current .sup-step__title {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-step__desc {
    grid-column: 2;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-step__action {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
}

@media (max-width: 599px) {
    /* The action drops under the step's text and fills its width. */
    [b-rhmwdo793t] .sup-step {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    [b-rhmwdo793t] .sup-step__action {
        grid-column: 2;
        grid-row: auto;
        margin-top: 8px;
    }

    [b-rhmwdo793t] .sup-step__action .lw-page-action {
        width: 100%;
        justify-content: center;
    }
}

/* Done: the kickoff checklist's filled check. */
[b-rhmwdo793t] .sup-step--done .sup-step__dot {
    border: 0;
    background: var(--lw-success-dark);
}

[b-rhmwdo793t] .sup-step--done .sup-step__dot .mud-icon-root {
    display: block;
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: var(--lw-white) !important;
}

[b-rhmwdo793t] .sup-step--done .sup-step__title {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Skipped (approved before W-9s were collected, Saad 19 Nov): a grey filled circle with a
   dash, so "not needed" never reads as a step still to do. */
[b-rhmwdo793t] .sup-step--skipped .sup-step__dot {
    border: 2px solid var(--lw-gray-smoke);
    background: var(--lw-bg-secondary);
}

[b-rhmwdo793t] .sup-step--skipped .sup-step__dot::after {
    content: '';
    width: 10px;
    height: 2px;
    border-radius: 1px;
    background: var(--lw-gray-graphite);
}

/* "Need a corrected form instead?" sits under the steps, its action a text link. */
[b-rhmwdo793t] .sup-steps + .sup-review-resend {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lw-border);
}

[b-rhmwdo793t] .sup-link {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

[b-rhmwdo793t] .sup-link:hover {
    text-decoration: underline;
}

/* ---- US-1191: new mailing address action bar (top of the main column) ---- */
[b-rhmwdo793t] .sup-actionbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-warning-bg);
}

[b-rhmwdo793t] .sup-actionbar__text {
    flex: 1;
    min-width: 0;
}

[b-rhmwdo793t] .sup-actionbar__title {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 15px;
    font-weight: var(--lw-font-semibold);
    line-height: 22px;
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-actionbar__address {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-actionbar__desc {
    margin: 4px 0 0;
    /* Lines up under the address text: the 18px pin + its 6px gap. */
    padding-left: 24px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-actionbar__buttons {
    flex: none;
    display: flex;
    gap: 8px;
}

@media (max-width: 599px) {
    [b-rhmwdo793t] .sup-actionbar {
        flex-direction: column;
        align-items: stretch;
    }

    [b-rhmwdo793t] .sup-actionbar__buttons .lw-page-action {
        flex: 1;
        justify-content: center;
    }
}

/* ---- US-1191: mailing address value with its USPS chip on its own line ---- */
[b-rhmwdo793t] .sup-addr-value {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

[b-rhmwdo793t] .sup-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 999px;
    padding: 2px 8px;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    line-height: 16px;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-chip--success {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

/* ---- US-1191: label with an info tooltip (How they are paid, Contacts captions) ----
   ProjectPeopleCard's glyph + CSS tooltip (MudTooltip teleports out of scoped CSS). */
[b-rhmwdo793t] .sup-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

[b-rhmwdo793t] .sup-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

[b-rhmwdo793t] .sup-info:hover,
[b-rhmwdo793t] .sup-info:focus-visible {
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-info .sup-info__glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

[b-rhmwdo793t] .sup-info:focus-visible .sup-info__glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

[b-rhmwdo793t] .sup-info__tip {
    text-transform: none;
    letter-spacing: normal;
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

[b-rhmwdo793t] .sup-info:hover .sup-info__tip,
[b-rhmwdo793t] .sup-info:focus-visible .sup-info__tip,
[b-rhmwdo793t] .sup-info:focus-within .sup-info__tip {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---- US-1191: people (Contacts, Account representatives, Primary contact) ----
   ProjectPeopleCard's rows: uppercase caption, 36px initials avatar, 14/600 name over 12px
   muted lines, hairlines between groups. */
[b-rhmwdo793t] .sup-sec + .sup-sec {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lw-border);
}

[b-rhmwdo793t] .sup-cap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--lw-gray-space);
}

[b-rhmwdo793t] .sup-person {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
}

[b-rhmwdo793t] .sup-person__avatar {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: -0.025em;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

[b-rhmwdo793t] .sup-person__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

[b-rhmwdo793t] .sup-person__name {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 20px;
    color: var(--lw-text-primary);
}

[b-rhmwdo793t] .sup-person__meta {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[b-rhmwdo793t] .sup-empty {
    margin: 2px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-space);
}

/* Icon-only Edit in a rail card head (32px square; 44px tap target on phones). */
[b-rhmwdo793t] .sup-icon-action {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
}

@media (max-width: 767.98px) {
    [b-rhmwdo793t] .sup-icon-action {
        width: 44px;
        height: 44px;
    }
}

/* ---- US-1191: Send W-9 link dialog body ----
   Plain scoped selectors: the dialog renders in the dialog provider, outside this page's
   element tree, so ::deep (which needs a scoped ancestor) would not reach it. */
.sup-dlg-to[b-rhmwdo793t] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sup-dlg-label[b-rhmwdo793t] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.sup-dlg-name[b-rhmwdo793t] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.sup-dlg-email[b-rhmwdo793t] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

.sup-dlg-rule[b-rhmwdo793t] {
    border: 0;
    border-top: 1px solid var(--lw-border);
    margin: 0;
}

.sup-numbered[b-rhmwdo793t] {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.sup-numbered__item[b-rhmwdo793t] {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    padding-bottom: 16px;
}

.sup-numbered__item:last-child[b-rhmwdo793t] {
    padding-bottom: 0;
}

.sup-numbered__item:not(:last-child)[b-rhmwdo793t]::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 2px;
    width: 1px;
    background: var(--lw-border);
}

.sup-numbered__dot[b-rhmwdo793t] {
    grid-row: 1;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid var(--lw-gray-smoke);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.sup-numbered__item--current .sup-numbered__dot[b-rhmwdo793t] {
    border: 2px solid var(--lw-primary-blue);
    color: var(--lw-primary-blue);
}

.sup-numbered__title[b-rhmwdo793t] {
    grid-column: 2;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 24px;
    color: var(--lw-text-primary);
}

.sup-numbered__desc[b-rhmwdo793t] {
    grid-column: 2;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

/* ---- US-1191: Confirm new mailing address dialog ---- */
.sup-dlg-lead[b-rhmwdo793t] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.sup-addr-box[b-rhmwdo793t] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    overflow: hidden;
}

.sup-addr-row[b-rhmwdo793t] {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 12px;
    padding: 14px 16px;
}

.sup-addr-row--current[b-rhmwdo793t] {
    border-top: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
    padding: 12px 16px;
}

.sup-addr-row__label[b-rhmwdo793t] {
    padding-top: 2px;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-gray-graphite);
}

.sup-addr-row__value[b-rhmwdo793t] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 15px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.sup-addr-row__meta[b-rhmwdo793t] {
    margin: 4px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

.sup-addr-row--current .sup-addr-row__meta[b-rhmwdo793t] {
    margin: 0;
    font-size: 14px;
}

.sup-dlg-check[b-rhmwdo793t] {
    margin: 0;
}

.sup-field-error[b-rhmwdo793t] {
    margin: 0.375rem 0 0;
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    line-height: 1rem;
    color: var(--lw-status-error-fg);
}

/* Location pin before the new address in the action bar (Saad, 19 Nov). */
[b-rhmwdo793t] .sup-actionbar__pin.mud-icon-root {
    flex: none;
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--lw-gray-graphite);
}
.sup-dlg-note[b-rhmwdo793t] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 1.45;
    color: var(--lw-gray-graphite);
}

/* A line and the thing it introduces sit 8px apart; the modal body's 16px gap separates groups. */
.sup-dlg-group[b-rhmwdo793t] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---- US-1191: account representatives -- Add button (card + dialog) and the edit dialog.
   The new project / Send proposal Owner's team pattern (AddProject .pw-add-btn /
   .pw-owner-card). ::deep for the card; plain selectors for the dialog, which renders in
   the dialog provider outside this page's element tree. */
[b-rhmwdo793t] .sup-add-btn,
.sup-add-btn[b-rhmwdo793t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: var(--lw-radius-control);
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

[b-rhmwdo793t] .sup-add-btn:hover,
.sup-add-btn:hover[b-rhmwdo793t] {
    background: var(--lw-bg-muted);
}

[b-rhmwdo793t] .sup-add-btn .mud-icon-root,
.sup-add-btn[b-rhmwdo793t]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

[b-rhmwdo793t] .sup-shadow {
    margin-bottom: 12px;
}

.sup-reps[b-rhmwdo793t] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* The Owner's team card: name in a header strip with a hairline under it, fields below. */
.sup-rep-card[b-rhmwdo793t] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
}

.sup-rep-card__head[b-rhmwdo793t] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--lw-border);
}

.sup-rep-card__body[b-rhmwdo793t] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.sup-rep-card__name[b-rhmwdo793t] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.sup-rep-card__remove[b-rhmwdo793t] {
    display: inline-flex;
    padding: 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.sup-rep-card__remove:hover[b-rhmwdo793t],
.sup-rep-card__remove:focus-visible[b-rhmwdo793t] {
    color: var(--lw-status-error-fg);
    background: var(--lw-status-error-bg);
}

.sup-rep-card__remove[b-rhmwdo793t]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: currentColor !important;
}

.sup-rep-card__grid[b-rhmwdo793t] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.sup-text-link[b-rhmwdo793t] {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.sup-text-link:hover[b-rhmwdo793t] {
    text-decoration: underline;
}

@media (max-width: 599px) {
    .sup-rep-card__grid[b-rhmwdo793t] {
        grid-template-columns: 1fr;
    }
}
/* _content/Ledgerwise/Components/Pages/Supplier/SupplierRepresentativesEditor.razor.rz.scp.css */
/* Representatives editor inside the Communication roles / Account
   Representatives ControlCards on SupplierDetail (2026-07-28). Same section
   grammar as the approved detail pages: 14/semibold title over 13px graphite
   helper (mirrors sup-shadow-name/-sub), LwTextField rows on a 16px grid,
   global lw-page-action / lw-table-kebab affordances. Layout + local danger
   hover only -- field chrome lives in the atoms. */

.lw-rep-editor[b-4z5abmtcj8] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.rep-title[b-4z5abmtcj8] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Helper hugs the title above it (4px), rows follow at the 12px rhythm. */
.rep-title + .rep-helper[b-4z5abmtcj8] {
    margin-top: -8px;
}

.rep-helper[b-4z5abmtcj8] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.rep-rows[b-4z5abmtcj8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: stretch;
}

/* First / Last / wider Email / remove -- the old 3-3-5-1 MudGrid split. */
.rep-row[b-4z5abmtcj8] {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 5fr) auto;
    gap: 16px;
    align-items: center;
}

/* Phone-only pieces: the card's name line and the "Add Another" label. */
.rep-row__name[b-4z5abmtcj8],
.rep-add__phone[b-4z5abmtcj8] {
    display: none;
}

.rep-remove[b-4z5abmtcj8] {
    border-radius: var(--lw-radius-control);
}

.rep-remove:hover[b-4z5abmtcj8] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

/* Shown when the host card owns the add affordance in its header. */
.rep-empty[b-4z5abmtcj8] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Phone (US-1043): the canonical repeater (AddProject owner cards) -- a
   bordered card per representative with a name + 44px trash head, the fields
   one per row, and a full-width 44px "Add Another". */
@media (max-width: 767.98px) {
    .rep-row[b-4z5abmtcj8] {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding: 8px 16px 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
    }

    /* The fields are child components, hence ::deep; each takes a full row. */
    .rep-row[b-4z5abmtcj8]  .lw-textfield {
        grid-column: 1 / -1;
    }

    .rep-row__name[b-4z5abmtcj8] {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: var(--lw-font-family);
        font-size: 14px;
        font-weight: var(--lw-font-semibold);
        color: var(--lw-text-primary);
    }

    /* Last in the markup (tab order), drawn top right beside the name. */
    .rep-remove[b-4z5abmtcj8] {
        grid-column: 2;
        grid-row: 1;
        width: 44px;
        height: 44px;
        margin-right: -12px;
    }

    .rep-add[b-4z5abmtcj8] {
        align-self: stretch;
        justify-content: center;
        height: 44px;
        font-size: 14px;
    }

    .rep-add__desktop[b-4z5abmtcj8] {
        display: none;
    }

    .rep-add__phone[b-4z5abmtcj8] {
        display: inline;
    }
}
/* _content/Ledgerwise/Components/Pages/Test/DocumentSigningTabs/TestMergeSigningDocuments.razor.rz.scp.css */
.table-active[b-3rmp555ncp] {
    background-color: var(--lw-status-info-bg) !important;
}

.badge[b-3rmp555ncp] {
    font-size: 0.875rem;
}

.alert ul[b-3rmp555ncp] {
    padding-left: 1.25rem;
}

.card-header h6[b-3rmp555ncp] {
    margin-bottom: 0;
}

.list-group-item[b-3rmp555ncp] {
    border-color: var(--lw-border);
}

.list-group-item .bi-file-pdf[b-3rmp555ncp] {
    font-size: 1.25rem;
}

.list-group-item button[b-3rmp555ncp] {
    min-width: 90px;
}
/* _content/Ledgerwise/Components/Pages/Vendors.razor.rz.scp.css */
/* Vendors page (US-983) -- page-level layout only. Each tab component renders its own
   toolbar and body straight into the page shell; the pane wrapper exists only to hide the
   inactive tab, so it must not become a layout box of its own. */
.vnd-pane[b-smw7mj5r8k] {
    display: contents;
}

.vnd-pane[hidden][b-smw7mj5r8k] {
    display: none;
}

/* ---- Phone facts on a vendor card (LwListRow MobileTrailing, hidden >= 768px) ----
   The desktop columns as label / value lines -- label left, value right, one per line:
   the Proposals inbox / Budget templates recipe (.prop-m-fact / .bt-m-fact). Both tab
   components author this markup, so the page styles it through the pane. */
.vnd-pane[b-smw7mj5r8k]  .vnd-m-facts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 20px;
    /* Shared fact-row type (lw-page.css tokens): 13 / 20 on every list card. */
    font-size: var(--lw-row-fact-size);
    line-height: var(--lw-row-fact-line);
}

.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact-label {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: var(--lw-font-medium);
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
}

/* Insurance / License keep the tones of their desktop columns. */
.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact-value.lw-row-cell-sub--error {
    color: var(--lw-status-error-fg);
}

.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact-value.lw-row-cell-sub--warning {
    color: var(--lw-status-warning-fg);
}

/* The status chip as a fact's value: never squeezed by its label. A long chip
   ("Pending approval" at 360px) drops under its label instead of overflowing the card. */
.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact--chip {
    flex-wrap: wrap;
    row-gap: 2px;
}

.vnd-pane[b-smw7mj5r8k]  .vnd-m-fact-chip {
    display: flex;
    flex-shrink: 0;
}

/* Phone title bar: no layout override. The shared .lw-page-titlebar (lw-page.css) owns
   the phone layout, so Add Vendor renders as on /projects: label width, left-aligned,
   on its own row under the subtitle (the US-926 full-width action row is superseded).
   The shared 44px rule only sizes .lw-page-action, so the split button's two segments
   get their 44px tap height here; their width stays the atom's own. */
@media (max-width: 767.98px) {
    .lw-page-titlebar-actions[b-smw7mj5r8k]  .lw-split-button .lw-split-button-main {
        height: 44px;
    }

    .lw-page-titlebar-actions[b-smw7mj5r8k]  .lw-split-button .lw-split-button-chevron {
        width: 44px;
        height: 44px;
    }

    /* Both tabs render their toolbar, filter bar and list inside .vnd-pane, so the page
       reaches them with ::deep and the Subcontractors and Suppliers / Service Providers
       tabs cannot drift apart. The global 44px rule (lw-page.css) only reaches direct
       children of .lw-page-shell, and the pane wrapper sits in between. */

    /* Toolbar: section trigger + Filter on the first row, search on its own row
       (.lw-page-toolbar--stack-search), each 44px tall; 16px search text (no iOS zoom). */
    .vnd-pane[b-smw7mj5r8k]  .lw-page-toolbar .lw-page-action,
    .vnd-pane[b-smw7mj5r8k]  .lw-page-toolbar .lw-page-search {
        height: 44px;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-toolbar-right > .lw-page-action {
        flex: 0 0 auto;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-toolbar .lw-page-search-input {
        font-size: 16px;
    }

    /* A long label ellipsizes rather than pushing Filter off a 360px row. */
    .vnd-pane[b-smw7mj5r8k]  .lw-page-section-trigger {
        min-width: 0;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-section-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Active-filter bar: pills keep their 28px look; each remove "x" and Clear All get a
       44px hit box, and wrapped rows sit 16px apart so those boxes do not overlap. */
    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-bar {
        row-gap: 16px;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-bar .lw-filter-pill {
        flex-shrink: 1;
        min-width: 0;
        max-width: 100%;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-bar .lw-filter-pill-label {
        min-width: 0;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-bar .lw-filter-pill-remove {
        position: relative;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-bar .lw-filter-pill-remove::after {
        content: "";
        position: absolute;
        inset: -12px;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-page-active-clear {
        min-height: 44px;
        padding: 0 8px;
        margin: -8px 0 -8px -4px;
    }

    /* ---- Vendor rows as phone cards (LwListCard phone-cards owns the card chrome) ----
       One card per vendor on every tab: avatar + name and email, then the facts block
       (MobileTrailing) under the name, indented past the avatar by the atom (40 + 16
       gap). Same rules as Proposals .prop-body / Budget templates .bt-body. On the
       Subcontractors tab the row is LwListRow's split variant (it has an Actions cell):
       the card's 12px padding replaces the link region's own inset. */
    .vnd-pane[b-smw7mj5r8k]  .lw-list-row-link {
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 0;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-list-row-lead {
        align-items: flex-start;
    }

    /* The atom sets this block's basis (100% minus the 56px avatar indent); min-width
       lets a long fact value ellipsize inside it. */
    .vnd-pane[b-smw7mj5r8k]  .lw-list-row-trailing-mobile {
        flex-basis: calc(100% - 56px);
        margin-left: 56px;
        min-width: 0;
    }

    /* Vendor name and the dba / email line get two lines each (desktop: one, ellipsized). */
    .vnd-pane[b-smw7mj5r8k]  .lw-list-row .lw-row-title,
    .vnd-pane[b-smw7mj5r8k]  .lw-list-row .lw-row-sub {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Avatar: the squircle initials tile the other phone cards use for a company
       (Proposals / Invoices inbox, project lists). The desktop table keeps its circle. */
    .vnd-pane[b-smw7mj5r8k]  .lw-list-row .lw-avatar--circle {
        border-radius: var(--lw-radius-control);
    }

    /* No-match card and the empty state: 44px CTAs; the empty state's two actions stack
       full width, and its sample names wrap instead of ellipsizing in a 240px row. */
    .vnd-pane[b-smw7mj5r8k]  .lw-page-empty-results .lw-page-action {
        height: 44px;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-empty-action {
        width: 100%;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-empty-action .lw-page-action--lg {
        flex: 1 1 100%;
        justify-content: center;
        height: 44px;
    }

    .vnd-pane[b-smw7mj5r8k]  .lw-empty-sig-name {
        white-space: normal;
    }
}

/* Add Vendor + the "more" kebab (Saad, 19 Nov): the project header's outlined 36px kebab
   (LwProjectHeader .lw-ph-kebab--desktop), 8px after the primary button. */
.vnd-actions[b-smw7mj5r8k] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vnd-kebab[b-smw7mj5r8k] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.vnd-kebab:hover[b-smw7mj5r8k] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.vnd-kebab[b-smw7mj5r8k]  .vnd-kebab-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

@media (max-width: 767.98px) {
    .vnd-kebab[b-smw7mj5r8k] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Vendor/AddVendor.razor.rz.scp.css */
/* Add Vendor wizard (US-983) -- PAGE-SPECIFIC step bodies only. The wizard shell
   (pw-shell / pw-rail* / pw-main / pw-content / pw-stack / pw-cc-link) lives in
   css/components/lw-wizard.css. Field grids and the review label/value grid are the
   recipes this page had as the Add Contractor wizard (mirroring the approved Contractor
   detail page). The page's own elements sit inside WizardShell / ControlCard fragments, so
   these rules match the page scope on the element itself (no ::deep ancestor exists). */

.av-form[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.av-grid2[b-pbgyhidcz5] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.av-grid3[b-pbgyhidcz5] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

@media (max-width: 767.98px) {
    .av-grid2[b-pbgyhidcz5],
    .av-grid3[b-pbgyhidcz5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Status line under the company search: says, in words, whether a new vendor is being
   created (13px graphite, chip + sentence on one wrapping line). */
.av-hint[b-pbgyhidcz5] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Review step: reference Field label/value grid (1 -> 2 -> 3 columns). */
.av-review[b-pbgyhidcz5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

@media (min-width: 640px) {
    .av-review[b-pbgyhidcz5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .av-review[b-pbgyhidcz5] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.av-field[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.av-field-label[b-pbgyhidcz5] {
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.av-field-value[b-pbgyhidcz5] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

/* Footer slot: layout-transparent (the shared OnboardingStepFooter is fixed), it exists
   only so the phone rules below can reach the footer's buttons through ::deep. */
.av-footer-slot[b-pbgyhidcz5] {
    display: contents;
}

/* -- Phones (US-1043): 44px tap targets. Same footer recipe as the send-proposal
   wizard (.sp-footer-slot). -- */
@media (max-width: 767.98px) {
    /* "Quick Tips" keeps its text-link look; the 44px hit box fits the card head's
       44px icon row, so the head does not grow. */
    .av-tips[b-pbgyhidcz5] {
        min-height: 44px;
        padding: 0 4px;
        white-space: nowrap;
    }

    .av-footer-slot[b-pbgyhidcz5]  .ob-step-footer {
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .av-footer-slot[b-pbgyhidcz5]  .ob-step-footer__back-btn,
    .av-footer-slot[b-pbgyhidcz5]  .ob-step-footer__primary {
        height: 44px;
    }

    .av-footer-slot[b-pbgyhidcz5]  .ob-step-footer__primary {
        min-width: 0;
    }

    .av-footer-slot[b-pbgyhidcz5]  .ob-step-footer__skip {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        min-height: 44px;
        white-space: nowrap;
    }
}

/* US-1191: vendor name (with its search) and DBA on one row, 2:1; stacked on phones. */
.av-name-row[b-pbgyhidcz5] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

/* "Vendor type" as a quiet section label over the three type cards. */
.av-type[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.av-type-label[b-pbgyhidcz5] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* A field's helper line (e.g. under the contact email). */
.av-help[b-pbgyhidcz5] {
    margin: -8px 0 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

@media (max-width: 767.98px) {
    .av-name-row[b-pbgyhidcz5] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The name field and its "new vendor" line as one column, so the line stays under the name. */
.av-name-col[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.av-name-col .av-hint[b-pbgyhidcz5] {
    margin: 0;
}

/* Contact fields (Saad, 19 Nov): an even 12px between fields across and down. The text
   field box carries 4px of its own below, so the stack gap is 8px. */
.av-form--fields[b-pbgyhidcz5] {
    gap: 8px;
}

.av-form--fields .av-grid2[b-pbgyhidcz5],
.av-form--fields .av-grid3[b-pbgyhidcz5] {
    gap: 8px 12px;
}

/* Account representative (US-1191): the proposal / new project flows' optional-person
   pattern, copied from AddProject.razor.css (scoped there): an Add button in the card body,
   the added person as a bordered card with name + delete icon in its head. */
.pw-oteam[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pw-owner-card[b-pbgyhidcz5] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
}

.pw-owner-card__head[b-pbgyhidcz5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--lw-border);
    padding: 16px 20px;
}

.pw-owner-card__name[b-pbgyhidcz5] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.pw-owner-card__remove[b-pbgyhidcz5] {
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    display: inline-flex;
    padding: 4px;
    border-radius: 6px;
}

.pw-owner-card__remove[b-pbgyhidcz5] {
    transition: background-color 0.12s ease, color 0.12s ease;
}

/* Hover: the app's remove-button hover (file-remove buttons, My Organization danger actions):
   red glyph on the light error fill. */
.pw-owner-card__remove:hover[b-pbgyhidcz5],
.pw-owner-card__remove:focus-visible[b-pbgyhidcz5] {
    color: var(--lw-status-error-fg);
    background: var(--lw-status-error-bg);
}

.pw-owner-card__remove[b-pbgyhidcz5]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: currentColor !important;
}

/* Fields 12px apart across and down, like Point of contact (the field box adds 4px below). */
.pw-owner-card__body[b-pbgyhidcz5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.pw-grid2[b-pbgyhidcz5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.pw-add-btn[b-pbgyhidcz5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: 8px;
    color: var(--lw-text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease;
}

.pw-add-btn:hover[b-pbgyhidcz5] {
    background: var(--lw-bg-muted);
}

.pw-add-btn[b-pbgyhidcz5]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .pw-grid2[b-pbgyhidcz5] {
        grid-template-columns: 1fr;
    }

    .pw-owner-card__remove[b-pbgyhidcz5] {
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        margin: -12px -12px -12px 0;
    }

    .pw-add-btn[b-pbgyhidcz5] {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Pages/Vendor/VendorSubcontractorsTab.razor.rz.scp.css */
/* Contractors list page -- page-level layout only. Column widths live inline
   in the markup (the page's column spec); cell/identity/icon-button chrome
   comes from the shared lw-row-* classes in lw-page.css. What remains here is
   Ledgerwise-specific: the preliminary-notices expansion panel (no ledgerwise-app analog; styled on
   the table-header surface, 13px rows). */

/* Expand All / Collapse All in the table header's 16px actions column: a 24px button
   centred on that column (so it sits above the 32px row chevrons) that overflows it
   instead of growing the header row. */
.vst-expand-all[b-a0i9hoq8gk] {
    width: 24px;
    height: 24px;
    margin: -5px -4px;
}

.vst-expand-all[b-a0i9hoq8gk]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

/* The notices expander's phone label ("Preliminary notices", count, pending count):
   desktop keeps the bare 32px chevron under the Expand All header button, so the label
   only shows below 768px (phone block at the end of this file). */
.vst-notices-label[b-a0i9hoq8gk] {
    display: none;
}

/* Preliminary-notices expansion panel: full-width strip between rows on the
   table-header surface, hairline top divider (row below draws its own). */
.lw-notices-panel[b-a0i9hoq8gk] {
    border-top: 1px solid var(--lw-border);
    background: var(--lw-bg-table-header);
    padding: 4px 16px 12px 72px; /* left-aligns under the identity text (16 + 40 avatar + 16 gap) */
    overflow-x: auto;
}

.lw-notices-table[b-a0i9hoq8gk] {
    width: 100%;
    border-collapse: collapse;
}

.lw-notices-table th[b-a0i9hoq8gk] {
    padding: 8px 12px 6px 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    text-align: left;
    white-space: nowrap;
}

.lw-notices-table td[b-a0i9hoq8gk] {
    padding: 6px 12px 6px 0;
    font-size: 13px;
    color: var(--lw-text-primary);
    border-top: 1px solid var(--lw-border);
    vertical-align: middle;
}

.lw-notices-th-actions[b-a0i9hoq8gk],
.lw-notices-td-actions[b-a0i9hoq8gk] {
    white-space: nowrap;
}

.lw-notices-project[b-a0i9hoq8gk] {
    font-weight: var(--lw-font-medium);
}

.lw-notices-muted[b-a0i9hoq8gk] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Small bordered document chip-button (h-7, 12px, hairline, accent hover). */
.lw-notices-doc-btn[b-a0i9hoq8gk] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-medium);
    text-decoration: none;
    transition: background 0.15s ease;
}

.lw-notices-doc-btn:hover[b-a0i9hoq8gk] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
    text-decoration: none;
}

.lw-notices-empty[b-a0i9hoq8gk] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 12px 0 4px;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): the notices table restacks. Each notice is a block -- project name
   with its status chip on the first line, then label/value facts (labels come from the
   cells' data-label) and the edit / delete buttons -- so nothing scrolls sideways. The
   72px indent goes: the panel reads full width on the 16px gutter. */
@media (max-width: 767.98px) {
    /* 44px tap targets: the row's notices expander and each notice's edit / delete. */
    .lw-row-icon-btn[b-a0i9hoq8gk] {
        width: 44px;
        height: 44px;
    }

    /* ---- The notices expander as the card's footer ----
       On a phone card a bare chevron in the corner says nothing about what it opens, and
       the whole card already navigates to the vendor. The Actions cell drops to its own
       full-width line under the facts, bleeds to the card edges (the card pads 12px) and
       the button reads "Preliminary notices  N  (n pending)" with the chevron at the
       right: one 44px target that explains itself. */
    .lw-page-body[b-a0i9hoq8gk]  .lw-contractor-list .lw-list-row-link {
        /* A full-line basis, or the footer (100% minus its bleed) fits beside a
           zero-basis link and never wraps. */
        flex: 1 1 100%;
    }

    .lw-page-body[b-a0i9hoq8gk]  .lw-contractor-list .lw-list-row-actions {
        flex: 1 1 100%;
        margin: 4px -12px -12px;
        padding: 0;
        border-top: 1px solid var(--lw-border);
    }

    .lw-row-icon-btn.vst-notices-toggle[b-a0i9hoq8gk] {
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        height: 44px;
        padding: 0 12px;
        border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
        font-family: var(--lw-font-family);
        font-size: 13px;
        line-height: 20px;
        text-align: left;
    }

    /* The card itself takes the hover tint (LwListRow: exactly one element takes the
       fill, --lw-accent is translucent); a second layer on the footer showed as a darker
       band, and on a real phone it stuck after the tap. */
    .lw-row-icon-btn.vst-notices-toggle:hover[b-a0i9hoq8gk] {
        background: none;
    }

    .vst-notices-toggle[b-a0i9hoq8gk]  .mud-icon-root {
        flex-shrink: 0;
        font-size: 20px;
    }

    .vst-notices-label[b-a0i9hoq8gk] {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .vst-notices-name[b-a0i9hoq8gk] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--lw-gray-graphite);
    }

    .vst-notices-count[b-a0i9hoq8gk] {
        flex-shrink: 0;
        font-weight: var(--lw-font-medium);
        font-variant-numeric: tabular-nums;
        color: var(--lw-text-primary);
    }

    .vst-notices-pending[b-a0i9hoq8gk] {
        flex-shrink: 0;
        font-size: 12px;
        color: var(--lw-status-warning-fg);
    }

    /* Open: the notices panel hangs off the card as one piece -- the card squares its
       bottom corners (and so does the footer button), the panel cancels the 8px gap
       between cards and takes the side and bottom border and the card radius. */
    .lw-page-body[b-a0i9hoq8gk]  .lw-contractor-list .lw-list-row.vst-row--open {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .vst-notices-toggle[aria-expanded="true"][b-a0i9hoq8gk] {
        border-radius: 0;
    }

    .lw-notices-panel[b-a0i9hoq8gk] {
        margin-top: -8px;
        padding: 0 16px 4px;
        border: 1px solid var(--lw-border);
        border-top: 0;
        border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
        box-shadow: var(--lw-shadow-card);
        overflow-x: visible;
    }

    .lw-notices-table[b-a0i9hoq8gk],
    .lw-notices-table tbody[b-a0i9hoq8gk] {
        display: block;
    }

    .lw-notices-table thead[b-a0i9hoq8gk] {
        display: none;
    }

    .lw-notices-table tr[b-a0i9hoq8gk] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        row-gap: 6px;
        align-items: center;
        padding: 12px 0 4px;
        border-top: 1px solid var(--lw-border);
    }

    .lw-notices-table tr:first-child[b-a0i9hoq8gk] {
        border-top: 0;
    }

    .lw-notices-table td[b-a0i9hoq8gk] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        grid-column: 1 / -1;
        min-width: 0;
        padding: 0;
        border-top: 0;
    }

    .lw-notices-table td[data-label][b-a0i9hoq8gk]::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 12px;
        color: var(--lw-gray-graphite);
    }

    /* First line: project name left, status chip right. */
    .lw-notices-table .lw-notices-td-project[b-a0i9hoq8gk] {
        grid-column: 1;
        grid-row: 1;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .lw-notices-table .lw-notices-td-status[b-a0i9hoq8gk] {
        grid-column: 2;
        grid-row: 1;
    }

    /* Nothing to say: no size without a document, no blank address line. */
    .lw-notices-table .lw-notices-td-blank[b-a0i9hoq8gk] {
        display: none;
    }

    /* Values sit right; a long address wraps instead of widening the row. */
    .lw-notices-table td .lw-notices-muted[b-a0i9hoq8gk] {
        min-width: 0;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .lw-notices-doc-btn[b-a0i9hoq8gk] {
        height: 44px;
        min-width: 0;
        padding: 0 12px;
        font-size: 13px;
    }

    .lw-notices-doc-name[b-a0i9hoq8gk] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Edit / delete end the block, right-aligned under the facts. */
    .lw-notices-table .lw-notices-td-actions[b-a0i9hoq8gk] {
        justify-content: flex-end;
        gap: 4px;
        margin-right: -12px;
    }

    .lw-notices-empty[b-a0i9hoq8gk] {
        padding: 12px 0;
    }
}
/* _content/Ledgerwise/Components/Shared/AddressAutocomplete.razor.rz.scp.css */
/* FieldShell outlined chrome -- source: ledgerwise-app
   src/components/ui/field-shell.tsx + create-fields.tsx AddressSearchField.
   Spec (measured 2026-07-24 on the project-create modal): 54px white box,
   8px radius, border rgba(145,158,171,.4); text 14px/22px; label 14px resting
   inline -> 12px floated to the notch; focus border = foreground (1px, no
   Mud-style 2px primary). Mirrors LwTextField.razor.css state-for-state. */
.address-ac[b-w5l6tjuter] {
    position: relative;
    height: 54px;
    box-sizing: border-box;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    display: flex;
    align-items: center;
    transition: border-color 0.2s;
}

/* FieldShell: hover does NOT change the border; focus goes foreground-dark. */
.address-ac--focused[b-w5l6tjuter] {
    border-color: var(--lw-gray-phantom);
}

/* Floating label -- rests inline (centered, muted), floats to the notch when
   focused or filled. Color states per FieldShell: resting gray-space,
   floated graphite, focused phantom. */
.address-ac__label[b-w5l6tjuter] {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(13px, -50%) scale(1);
    transform-origin: top left;
    padding: 0 2px;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: var(--lw-gray-space);
    pointer-events: none;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
    white-space: nowrap;
}

.address-ac--has-icon .address-ac__label[b-w5l6tjuter] {
    left: 27px;
}

.address-ac--filled .address-ac__label[b-w5l6tjuter] {
    top: 0;
    left: 0;
    transform: translate(13px, -11px) scale(0.857);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
}

.address-ac--focused .address-ac__label[b-w5l6tjuter] {
    color: var(--lw-gray-phantom);
}

/* Error state (US-1047): mirrors LwTextField / MudBlazor's outlined error --
   1px theme error border, error-coloured label, 13px/18px line beneath the box.
   The host decides when it is an error (e.g. a required field after Next). */
.address-ac--error[b-w5l6tjuter] {
    border-color: var(--mud-palette-error);
}

.address-ac--error .address-ac__label[b-w5l6tjuter] {
    color: var(--mud-palette-error);
}

.address-ac__error[b-w5l6tjuter] {
    display: block;
    margin-top: 4px;
    padding-left: 12px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--mud-palette-error);
}

/* Input */
.address-ac__input[b-w5l6tjuter] {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom (US-926) */
    font-weight: 400;
    font-family: var(--lw-font-family);
    line-height: 22px;
    color: var(--lw-text-primary);
    box-sizing: border-box;
}

.address-ac__input[b-w5l6tjuter]::placeholder {
    color: var(--lw-gray-space);
    opacity: 1;
}

/* Optional leading icon (e.g. the map pin on the project address field) --
   reference AddressSearchField: 16px muted pin at the left edge. */
.address-ac__icon[b-w5l6tjuter] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    pointer-events: none;
    color: var(--lw-gray-space);
}

.address-ac__icon[b-w5l6tjuter]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

/* Clear the icon so the value/placeholder never sits under it. */
.address-ac--has-icon .address-ac__input[b-w5l6tjuter] {
    padding-left: 38px;
}

/* One block for the box and its error line, so a host that lays fields out in a
   flex / grid column (the New project wizard's pw-identity__fields, 16px gap)
   sees a single item: the message stays snug beneath the box (4px, like Mud's
   helper text under LwTextField) instead of getting its own row and gaps. */
.address-ac-field[b-w5l6tjuter] {
    display: block;
    width: 100%;
    min-width: 0;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwAmountPercentField.razor.rz.scp.css */
/* LwAmountPercentField -- source: LwNumericField.razor.css (ledgerwise-app
   ui/field-shell.tsx spec, 2026-07-25) for the box: 54px white, radius 8,
   1px --lw-input-border, 1px foreground on focus, notched label at 12px
   graphite, 13/18 helper. Adds a 1px divider before the percent part
   (canvas board MinBalO4, US-1048, 16 Oct). Compact = Send proposal's 40px
   label-above inputs (.sp-field__input). */

.lw-amtpct[b-bk8y7tx65d] {
    position: relative;
    width: 100%;
    min-width: 0;
}

.lw-amtpct__box[b-bk8y7tx65d] {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    box-sizing: border-box;
    padding: 0 14px;
    background: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-variant-numeric: tabular-nums;
}

.lw-amtpct__outline[b-bk8y7tx65d] {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0 8px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    pointer-events: none;
    min-width: 0;
}

/* Mirrors Mud's notch: zero-height legend, 0 5px padding, 12px label text. */
.lw-amtpct__outline legend[b-bk8y7tx65d] {
    padding: 0 5px;
    height: 0;
    font-size: 12px;
    visibility: hidden;
    white-space: nowrap;
}

.lw-amtpct__box:focus-within .lw-amtpct__outline[b-bk8y7tx65d] {
    border-color: var(--lw-text-primary);
}

/* Same floated position as Mud's outlined label: translate(13px, -6px) scale(0.857). */
.lw-amtpct__label[b-bk8y7tx65d] {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2px;
    transform: translate(13px, -6px) scale(0.857);
    transform-origin: top left;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 1.15;
    color: var(--lw-gray-graphite);
    pointer-events: none;
    white-space: nowrap;
}

/* Widens the notch by the glyph's width when the label carries one. */
.lw-amtpct__legend-info[b-bk8y7tx65d] {
    display: inline-block;
    width: 20px;
}

.lw-amtpct:focus-within .lw-amtpct__label[b-bk8y7tx65d] {
    color: var(--lw-gray-phantom);
}

.lw-amtpct__amount[b-bk8y7tx65d],
.lw-amtpct__pct[b-bk8y7tx65d] {
    border: 0;
    outline: none;
    background: transparent;
    padding: 0;
    margin: 0;
    min-width: 0;
    height: 100%;
    font-family: inherit;
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.lw-amtpct__amount[b-bk8y7tx65d] {
    flex: 1 1 auto;
}

.lw-amtpct__pct[b-bk8y7tx65d] {
    flex: none;
    width: 44px;
    text-align: right;
}

.lw-amtpct__amount[b-bk8y7tx65d]::placeholder,
.lw-amtpct__pct[b-bk8y7tx65d]::placeholder {
    color: var(--lw-gray-space);
}

.lw-amtpct__adorn[b-bk8y7tx65d] {
    flex: none;
    margin-right: 22px; /* value starts 45px in, like LwNumericField's $ fields */
    font-size: var(--lw-input-font-size);
    color: var(--lw-gray-graphite);
}

.lw-amtpct__adorn--end[b-bk8y7tx65d] {
    margin: 0 0 0 4px;
}

.lw-amtpct__divider[b-bk8y7tx65d] {
    flex: none;
    align-self: stretch;
    width: 1px;
    margin: 0 4px 0 12px;
    background: var(--lw-input-border);
}

.lw-amtpct__help[b-bk8y7tx65d] {
    margin: 7px 0 0;
    padding: 0 8px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.0333em;
    color: var(--lw-gray-graphite);
}

/* Compact: Send proposal's label-above 40px inputs. */
.lw-amtpct--compact .lw-amtpct__box[b-bk8y7tx65d] {
    height: 40px;
    padding: 0 12px;
}

.lw-amtpct--compact .lw-amtpct__outline[b-bk8y7tx65d] {
    inset: 0;
    padding: 0;
}

.lw-amtpct--compact .lw-amtpct__help[b-bk8y7tx65d] {
    padding: 0;
    font-size: 12px;
}

/* Label info glyph (US-1131): Material's filled Info in the floated label's notch, with the
   app's CSS tooltip (MudTooltip teleports out of scoped-CSS reach). The label is drawn at
   scale(0.857), so the glyph and tip are sized up to land at 16px and 12px on screen. */
.lw-amtpct__info[b-bk8y7tx65d] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1px;
    color: var(--lw-gray-space);
    outline: none;
    pointer-events: auto;
    transition: color 120ms ease;
}

.lw-amtpct__info:hover[b-bk8y7tx65d],
.lw-amtpct__info:focus-visible[b-bk8y7tx65d] {
    color: var(--lw-gray-graphite);
}

.lw-amtpct__info[b-bk8y7tx65d]  .lw-amtpct__info-glyph {
    display: block;
    width: 18.7px;
    height: 18.7px;
    font-size: 18.7px;
    color: currentColor !important;
}

.lw-amtpct__info:focus-visible[b-bk8y7tx65d]  .lw-amtpct__info-glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.lw-amtpct__info-tip[b-bk8y7tx65d] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 20.4rem;
    max-width: 78vw;
    padding: 0.73rem 0.875rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.lw-amtpct__info:hover .lw-amtpct__info-tip[b-bk8y7tx65d],
.lw-amtpct__info:focus-visible .lw-amtpct__info-tip[b-bk8y7tx65d],
.lw-amtpct__info:focus-within .lw-amtpct__info-tip[b-bk8y7tx65d] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Disabled (US-1131): muted box, no caret, both inputs inert -- same look as LwNumericField's
   disabled state (Mud .mud-disabled on the outlined input). */
.lw-amtpct--disabled .lw-amtpct__box[b-bk8y7tx65d] {
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite);
}
.lw-amtpct--disabled .lw-amtpct__amount[b-bk8y7tx65d],
.lw-amtpct--disabled .lw-amtpct__pct[b-bk8y7tx65d] {
    color: var(--lw-gray-graphite);
    cursor: not-allowed;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwAvatar.razor.rz.scp.css */
/* Source: ledgerwise-app ui/avatar.tsx + atoms/project-avatar.tsx (2026-07-10).
   Squircle (org/project) / circle (person); brand-gradient fill behind the
   initials fallback; initials semibold uppercase, tracking-tight (-0.025em),
   tabular-nums, scaled by label length; house glyph fallback when empty. */

.lw-avatar[b-y3o81b8bbs] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--lw-white);
}

.lw-avatar--squircle[b-y3o81b8bbs] {
    border-radius: var(--lw-radius-control);
}

.lw-avatar--circle[b-y3o81b8bbs] {
    border-radius: 50%;
}

/* The single shared lighter-blue project gradient (135deg), token-backed. */
.lw-avatar--gradient[b-y3o81b8bbs] {
    background: var(--lw-gradient-project-avatar);
}

/* Status-toned gradients (project rows/headers): the fallback matches the
   project's status pill hue. Blue statuses reuse the shared brand gradient. */
.lw-avatar--status-info[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-info); }
.lw-avatar--status-success[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-success); }
.lw-avatar--status-warning[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-warning); }
.lw-avatar--status-error[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-error); }
.lw-avatar--status-secondary[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-secondary); }
.lw-avatar--status-neutral[b-y3o81b8bbs] { background: var(--lw-gradient-avatar-neutral); }

/* Non-gradient initials fallback (e.g. person/neutral). */
.lw-avatar--neutral[b-y3o81b8bbs] {
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

/* Tone fills (ui/avatar.tsx colorMap): primary = solid brand accent + white;
   secondary/info/warning = 12% tint + matching accessible text, sharing the
   status-pair tokens (identical values to the reference avatar tokens). */
.lw-avatar--tone-primary[b-y3o81b8bbs] {
    background: var(--lw-primary-blue);
    color: var(--lw-primary-blue-fg);
}

.lw-avatar--tone-secondary[b-y3o81b8bbs] {
    background: var(--lw-status-secondary-bg);
    color: var(--lw-status-secondary-fg);
}

.lw-avatar--tone-info[b-y3o81b8bbs] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.lw-avatar--tone-warning[b-y3o81b8bbs] {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

/* Behind a loaded image (transparent PNGs read on a neutral placeholder). */
.lw-avatar--image[b-y3o81b8bbs] {
    background: var(--lw-bg-secondary);
}

.lw-avatar-img[b-y3o81b8bbs] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lw-avatar-initials[b-y3o81b8bbs] {
    font-weight: var(--lw-font-semibold);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    font-variant-numeric: tabular-nums;
}

.lw-avatar-fallback[b-y3o81b8bbs] {
    display: block;
}

/* Contain (logos, US-926): the whole image fits inside the box on white with a hairline,
   instead of being cropped to fill. */
.lw-avatar--contain[b-y3o81b8bbs] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
}

.lw-avatar--contain .lw-avatar-img[b-y3o81b8bbs] {
    object-fit: contain;
    padding: 4px;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwBalanceEquation.razor.rz.scp.css */
/* One card read as an equation:

       Current Balance  -  Security Deposit  -  Pending Payments
       =
       Available

   Composition (US-1149, 2026-10-30, Proposal A on the UX Recommendations canvas,
   board B1139Rec; supersedes Bug-1137's B3): the subtraction terms sit in EQUAL columns
   with fixed 28px operator gutters, so the three parts always share the width evenly and
   their captions wrap in their own column. Beneath them the "=" disc sits in the same
   gutter width and Available is a full-width tinted panel: label + verdict chip and
   caption on the left, the 36px figure on the right. The original tones are back (Cody,
   27 Oct: "The colors we had before were intentional"): Current navy, Security Deposit
   gold (--lw-chart-2), Pending Payments blue (--lw-chart-1), Available green
   (--lw-chart-3) on the success tint, or red on the error tint below the minimum.

   Measured from the canvas board B1139Rec (card 718px): label 16/600 graphite on a 24px
   line; part figure 26/800 Manrope; caption 14px space; disc 28px on the secondary fill,
   centred on the figure line; 20px between a column and a gutter; 18px from parts to the
   answer row (12px gap + 6px); panel padding 16/20, radius 8, figure 32/800 line-height
   1.2. Tints and colours are the tokens, not the board's hand-picked values.

   History: one strip with the answer pinned right (2026-08-18) only fit a card body of
   760px+, so on the ~716px Overview a fourth term orphaned the answer (Bug-1137); B3 then
   made the parts navy and the answer an untinted total line, which Cody found off
   balance with unequal columns. */

/* Sizing wrapper: the @container rule below keys off THIS element's inline size (a
   container query resolves against an ancestor, never the element itself). */
.lw-balance-eq-host[b-nxcn7dx12t] {
    container-type: inline-size;
    min-width: 0;
}

.lw-balance-eq[b-nxcn7dx12t] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
}

/* Flat: inside a host card. No chrome, no padding -- the host owns both. */
.lw-balance-eq--flat[b-nxcn7dx12t] {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* -- The parts strip: a grid of EQUAL columns with fixed 28px operator gutters
   (US-1149, Proposal A: Cody 27 Oct, "I don't love the columns being unequal"). The row
   wrappers are display: contents, so the grid's items run term, op, term, op, term; the
   column template is chosen by part count (the security-deposit term is optional).
   Captions wrap inside their own column instead of crowding the next disc. -- */
.lw-balance-eq-parts[b-nxcn7dx12t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    column-gap: 1.25rem;
    min-width: 0;
}

.lw-balance-eq-parts--2[b-nxcn7dx12t] {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
}

.lw-balance-eq-parts--3[b-nxcn7dx12t] {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
}

/* Operator + term wrapper: transparent to the strip on desktop (its children are the
   strip's items); the phone sheet lays it out as a statement row. */
.lw-balance-eq-row[b-nxcn7dx12t] {
    display: contents;
}

.lw-balance-eq-term[b-nxcn7dx12t] {
    display: flex;
    align-items: flex-start;
    min-width: 0;
}

/* Proposal A type: label 16/600 on a 24px line, caption 14px. Terms are top-aligned so
   the three labels and figures share a line when one caption wraps. */
.lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-label {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    white-space: nowrap;
}

.lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-caption {
    font-size: 14px;
}

/* Parts read one step smaller than the answer and keep the caller's tone: navy Current,
   gold Security Deposit, blue Pending Payments. Those colours were an intentional decision
   (Cody, 27 Oct) and Bug-1137's all-navy parts are reverted. */
.lw-balance-eq-term:not(.lw-balance-eq-term--result)[b-nxcn7dx12t]  .lw-balance-stat-figure {
    font-size: 26px;
}

/* Operator badges: 28px discs on the secondary fill, glyph in graphite, centred on the
   FIGURE line: 24px label + 4px gap + (39px figure line - 28px disc) / 2. */
.lw-balance-eq-op[b-nxcn7dx12t] {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-top: 33.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lw-bg-secondary);
    font-family: var(--lw-font-family-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: var(--lw-gray-graphite);
}

/* "=" is the hinge of the equation: navy on white with a hairline ring, so it reads as a
   different kind of mark from the minuses. */
.lw-balance-eq-op--result[b-nxcn7dx12t] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    color: var(--lw-primary-dark);
    box-sizing: border-box;
}

/* The answer row's "=" centres on the panel, not on a figure line. */
.lw-balance-eq-result > .lw-balance-eq-op--result[b-nxcn7dx12t] {
    align-self: center;
    margin-top: 0;
}

/* -- The answer row: the "=" disc in the same 28px gutter width as the minuses, then
   Available as a full-width tinted panel -- label + verdict chip and caption on the
   left, the figure on the right. Success tint, or the error tint below the minimum. -- */
.lw-balance-eq-result[b-nxcn7dx12t] {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
    min-width: 0;
    margin-top: 0.375rem;
}

.lw-balance-eq-term--result[b-nxcn7dx12t] {
    padding: 1rem 1.25rem;
    background: var(--lw-status-success-bg);
    border-radius: var(--lw-radius-control);
}

.lw-balance-eq--alert .lw-balance-eq-term--result[b-nxcn7dx12t] {
    background: var(--lw-status-error-bg);
}

/* A result with no parts before it has no "=" disc: the panel takes the whole row. */
.lw-balance-eq-result > .lw-balance-eq-term--result:first-child[b-nxcn7dx12t] {
    grid-column: 1 / -1;
}

/* Inside the panel the Bare stat becomes a two-column grid: label row over caption on
   the left, the figure spanning both rows on the right. */
.lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat--bare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.25rem;
    align-items: center;
    width: 100%;
}

.lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat--bare > .lw-balance-stat-label,
.lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-label-row {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    gap: 0.625rem;
}

.lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-caption {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2px;
}

/* Contrast on the tint: the 12% wash pulls graphite to 3.96:1 and gray-space to 2.08:1,
   below what the same text gets on the card. On the panel the label steps up to the body
   text colour (13.6:1) and the caption to graphite (4.0:1). Desktop only -- phones have
   no panel. */
@media (min-width: 768px) {
    .lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-label {
        color: var(--lw-text-primary);
    }

    .lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-caption {
        color: var(--lw-gray-graphite);
    }
}

.lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 32px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Last resort for a tight desktop card (the card body under about 520px): the parts
   stack one per row with their minus beside them, so no column gets too narrow for its
   figure. Keyed to the CARD, not the viewport, because the same atom sits in a
   full-bleed ledger tab and a half-width overview card. */
@container (max-width: 519.98px) {
    .lw-balance-eq-parts[b-nxcn7dx12t],
    .lw-balance-eq-parts--2[b-nxcn7dx12t],
    .lw-balance-eq-parts--3[b-nxcn7dx12t] {
        grid-template-columns: 28px minmax(0, 1fr);
        row-gap: 0.75rem;
    }

    .lw-balance-eq-row:first-child .lw-balance-eq-term[b-nxcn7dx12t] {
        grid-column: 2;
    }

    .lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-figure {
        font-size: 26px;
    }
}

/* Phones (US-1043, review round 3): the equation reads as a STATEMENT -- the app's
   label / value row recipe (dashboard project cards), one term per row:

       Label ............................ [op] $0,000.00
       short explanation (12px, muted)

   The operator is a quiet glyph directly before the figure it operates on (Cody,
   2026-10-15: "put the minus to the left of the numbers"), so "- $486,000.00" reads as
   one value and every label starts flush at the row's left edge. The parts strip, the
   row wrapper, the term and the Bare stat inside it are flattened (display: contents)
   into one row grid: label | op | figure, explanation beneath across the full width.
   Every figure is the same size (16/600, body face, tabular) on one right edge; the
   answer is set apart by a hairline above it, a heavier label and figure, and its tone
   on the figure only. No discs, no seam, no display numerals. A row is 52px with its
   explanation.

   SPECIFICITY: the desktop rule ".lw-balance-eq-term:not(.lw-balance-eq-term--result)
   ::deep .lw-balance-stat-figure" (22px) counts three classes. The earlier phone sheet
   answered it with two, so the parts silently stayed at 22px/800 beside an 18px answer.
   Every figure / label / caption rule below is therefore prefixed with .lw-balance-eq. */
@media (max-width: 767.98px) {
    .lw-balance-eq[b-nxcn7dx12t] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 0;
        padding: 4px 16px;
    }

    .lw-balance-eq--flat[b-nxcn7dx12t] { padding: 0; }

    /* The strip wrapper is transparent on phones: its rows are the statement rows. */
    .lw-balance-eq-parts[b-nxcn7dx12t] {
        display: contents;
    }

    /* One statement row: label | operator | figure on a shared baseline, explanation
       beneath. The operator column is auto, so the first row (no operator) collapses it
       and its figure lands on the same right edge as the rest. */
    .lw-balance-eq-row[b-nxcn7dx12t],
    .lw-balance-eq-result[b-nxcn7dx12t] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: baseline;
        gap: 0;
        min-width: 0;
        padding: 8px 0;
    }

    /* The term and the Bare stat are flattened so the label, figure and caption become
       items of the row grid beside the operator. */
    .lw-balance-eq-term[b-nxcn7dx12t],
    .lw-balance-eq-term--result[b-nxcn7dx12t] {
        display: contents;
    }

    /* Operator: a quiet glyph immediately before the figure, 4px from it. Muted, not
       the figure's colour or weight. */
    .lw-balance-eq-op[b-nxcn7dx12t],
    .lw-balance-eq-op--result[b-nxcn7dx12t] {
        grid-column: 2;
        grid-row: 1;
        align-self: baseline;
        box-sizing: border-box;
        width: auto;
        height: auto;
        margin: 0 4px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        color: var(--lw-gray-space);
    }

    /* The answer row: a hairline above it running the full width. */
    .lw-balance-eq-result[b-nxcn7dx12t] {
        margin: 4px 0 0;
        padding: 12px 0 8px;
        border-top: 1px solid var(--lw-border);
    }

    .lw-balance-eq-op--result[b-nxcn7dx12t] {
        color: var(--lw-gray-graphite);
    }

    /* The term itself is LwBalanceStat (Bare), a child component: flattened into the
       row grid, so its label, figure and explanation sit beside the operator. */
    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat--bare {
        display: contents;
    }

    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat--bare > .lw-balance-stat-label,
    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-label-row {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        padding-right: 12px;
    }

    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-label {
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: 0;
        color: var(--lw-text-primary);
    }

    /* A verdict chip on the label row sits beside the label, wrapping under it when the
       figure leaves no room, rather than being pushed against the figure. */
    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-label-row {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    /* One figure treatment down the column. Body face (inherited), not the heading
       face: the heavy display numerals were what fought the labels. */
    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-figure {
        grid-column: 3;
        grid-row: 1;
        margin: 0;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: 0;
        font-variant-numeric: tabular-nums;
        text-align: right;
        white-space: nowrap;
    }

    /* Colour only on the answer: the parts read in navy here, so the one coloured
       figure in the stack is the result (green, or red below the minimum). */
    .lw-balance-eq .lw-balance-eq-term:not(.lw-balance-eq-term--result)[b-nxcn7dx12t]  .lw-balance-stat-figure {
        color: var(--lw-primary-dark);
    }

    /* The answer: same size, one step heavier on both the label and the figure. */
    .lw-balance-eq .lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-label {
        font-weight: 600;
    }

    .lw-balance-eq .lw-balance-eq-term--result[b-nxcn7dx12t]  .lw-balance-stat-figure {
        font-weight: 700;
    }

    .lw-balance-eq .lw-balance-eq-term[b-nxcn7dx12t]  .lw-balance-stat-caption {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        line-height: 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwBalanceStat.razor.rz.scp.css */
/* Source: US-476 ledger mockup (ledgerwise-docs/plan/assets/us-476-ledger-mockup.html),
   measured 2026-07-30 at 1500px.

   Measured -> shipped. Where the mockup and a --lw-* token disagree the TOKEN WINS
   (US-476 section 9.1.0), because the mockup is a standalone artefact and not built
   on this design system:

     card radius     mock 12px          -> --lw-radius-card (8px)
     card border     mock #DDE6ED       -> --lw-border
     card shadow     mock none          -> --lw-shadow-card (matches sibling cards here)
     label colour    mock #5F7280       -> --lw-gray-graphite (#6E7180)
     caption colour  mock #8FA0AE       -> --lw-gray-space (#9DA2B3)
     figure navy     mock #020B2B       -> --lw-primary-dark  (exact match)
     figure green    mock #4F7A5C       -> --lw-success-dark  (#2D7A5F, the accessible token)
     figure muted    mock #6E7180       -> --lw-gray-graphite (exact match)

   Carried across as measured: label 12/600 +0.02em, figure 26/800 -0.02em,
   caption 12/400, padding 16px 20px. */

.lw-balance-stat[b-7tx3eztm4y] {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
}

/* Bare: same type, no card. Used inside LwBalanceEquation, whose card is the unit. */
.lw-balance-stat--bare[b-7tx3eztm4y] {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
}

.lw-balance-stat-label-row[b-7tx3eztm4y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.lw-balance-stat-adornment[b-7tx3eztm4y] {
    display: inline-flex;
    flex: 0 0 auto;
}

.lw-balance-stat-label[b-7tx3eztm4y] {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--lw-gray-graphite);
}

.lw-balance-stat-figure[b-7tx3eztm4y] {
    margin: 0.25rem 0 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: var(--lw-tracking-tight);
    font-family: var(--lw-font-family-heading);
}

.lw-balance-stat-figure--default[b-7tx3eztm4y] { color: var(--lw-primary-dark); }
.lw-balance-stat-figure--muted[b-7tx3eztm4y]   { color: var(--lw-gray-graphite); }

/* Allocation parts draw from the categorical chart ramp, so a figure and the ring
   segment for the same quantity are painted from one step. Before this they disagreed
   -- the cards used graphite for both Committed and Reserved, which the ring could not
   use because graphite is near-achromatic and unreadable as a mark. */
.lw-balance-stat-figure--committed[b-7tx3eztm4y] { color: var(--lw-chart-1); }
.lw-balance-stat-figure--reserved[b-7tx3eztm4y]  { color: var(--lw-chart-2); }
.lw-balance-stat-figure--available[b-7tx3eztm4y] { color: var(--lw-chart-3); }
/* Below the minimum / over-committed: destructive red, not a chart step. */
.lw-balance-stat-figure--alert[b-7tx3eztm4y]     { color: var(--lw-destructive); }

.lw-balance-stat-caption[b-7tx3eztm4y] {
    margin: 0.125rem 0 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--lw-gray-space);
}

/* -- Info glyph + tooltip: the People card's recipe (ProjectPeopleCard .pp-info), so the
   Overview's two info marks match (Bug-1137, 2026-10-27): Material's filled Info icon at
   16px in gray-space, graphite on hover/focus, default cursor (the tooltip itself is the
   hint), and the navy popover centred above the glyph. Before this the atom drew its own
   12px outlined circle with a help cursor and a right-anchored popover (US-614). -- */
.lw-balance-stat-caption[b-7tx3eztm4y] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 0.375rem;
}

.lw-balance-stat-info[b-7tx3eztm4y] {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
    transition: color 120ms ease;
}

.lw-balance-stat-info:hover[b-7tx3eztm4y],
.lw-balance-stat-info:focus-visible[b-7tx3eztm4y] {
    color: var(--lw-gray-graphite);
}

/* ::deep because the class handed to MudIcon lands on the svg it renders, outside this
   component's scope; the !important beats Mud's own icon colour. */
.lw-balance-stat-info[b-7tx3eztm4y]  .lw-balance-stat-info-glyph {
    display: block;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.lw-balance-stat-info:focus-visible[b-7tx3eztm4y]  .lw-balance-stat-info-glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.lw-balance-stat-info-tip[b-7tx3eztm4y] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 17.5rem;
    max-width: 78vw;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

.lw-balance-stat-info:hover .lw-balance-stat-info-tip[b-7tx3eztm4y],
.lw-balance-stat-info:focus-visible .lw-balance-stat-info-tip[b-7tx3eztm4y],
.lw-balance-stat-info:focus-within .lw-balance-stat-info-tip[b-7tx3eztm4y] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* The figure is the one thing that must stay readable when the row is squeezed;
   the mockup's 26px is a 1500px measurement. */
@media (max-width: 599px) {
    .lw-balance-stat[b-7tx3eztm4y] { padding: 0.875rem 1rem; }
    .lw-balance-stat--bare[b-7tx3eztm4y] { padding: 0; }
    .lw-balance-stat-figure[b-7tx3eztm4y] { font-size: 22px; }
}

/* Phones (US-1043). Inside LwBalanceEquation the Bare stat is re-laid as one compact row
   (label left, figure right, caption beneath) by the equation's own sheet -- the type
   scale there is the equation's, this file keeps the standalone card.

   The info popover is centred on its glyph. On a phone the caption starts at the left
   edge, so a centred popover would run off the left of the screen: anchor it to the
   caption's own box instead, with no horizontal shift. */
@media (max-width: 767.98px) {
    .lw-balance-stat-caption[b-7tx3eztm4y] { position: relative; }
    .lw-balance-stat-info[b-7tx3eztm4y] { position: static; }

    .lw-balance-stat-info-tip[b-7tx3eztm4y] {
        left: 0;
        right: auto;
        width: auto;
        max-width: min(17.5rem, 100%);
        transform: translateY(4px);
    }

    .lw-balance-stat-info:hover .lw-balance-stat-info-tip[b-7tx3eztm4y],
    .lw-balance-stat-info:focus-visible .lw-balance-stat-info-tip[b-7tx3eztm4y],
    .lw-balance-stat-info:focus-within .lw-balance-stat-info-tip[b-7tx3eztm4y] {
        transform: translateY(0);
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwButton.razor.rz.scp.css */
/* Measured spec from ledgerwise-app ui/button.tsx (2026-07-08 auth; action
   added 2026-07-19):
   - auth: h 48px, full width, radius 8px, bg --primary (#020B2B via
     theme/overrides), label 13px/500 Inter.
   - action: h-10 (40px), px-5, 14px/500, radius-control, navy, hover
     primary/90, disabled bg grey-smoke / text grey-space.
   Sizes are read from the --lw-* control tokens in branding.css (Task-832), which
   carry phone values (15px labels, 44px action height) in their max-width
   block. This file is shared verbatim with the mobile app -- keep it free of
   hard-coded sizes and of anything phone- or site-specific. */

.lw-button[b-iqnc6jo7im] {
    width: 100%;
}

.lw-button--inline[b-iqnc6jo7im] { width: auto; }
.lw-button--inline .lw-button-native[b-iqnc6jo7im] { width: auto; }

.lw-button[b-iqnc6jo7im]  button.mud-button-root {
    height: 48px;
    font-size: var(--lw-button-label-size);
    font-weight: 500;
    line-height: 18.5px;
}

/* Native (interactive) variant */
.lw-button .lw-button-native[b-iqnc6jo7im] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-primary-dark-fg);
    font-family: var(--lw-font-family);
    font-size: var(--lw-button-label-size);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lw-button--action .lw-button-native[b-iqnc6jo7im] {
    height: var(--lw-button-action-height);
    font-size: var(--lw-button-action-label-size);
}

/* Link variant (Href): same box, no underline. */
.lw-button a.lw-button-native[b-iqnc6jo7im] {
    box-sizing: border-box;
    text-decoration: none;
}

.lw-button .lw-button-native:hover:not(:disabled)[b-iqnc6jo7im] {
    background: var(--lw-primary-dark-hover);
}

.lw-button .lw-button-native:focus-visible[b-iqnc6jo7im] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Reference button.tsx disabled = opacity-50 with the fill unchanged. */
.lw-button .lw-button-native:disabled[b-iqnc6jo7im] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ghost variant (bordered secondary: doc-action-bar Back/Download idiom). */
.lw-button--ghost .lw-button-native[b-iqnc6jo7im] {
    background: transparent;
    border: 1px solid var(--lw-border);
    color: var(--lw-text-primary);
}

.lw-button--ghost .lw-button-native:hover:not(:disabled)[b-iqnc6jo7im] {
    background: var(--lw-accent);
}

/* Busy spinner. The website also defines .lw-btn-spinner globally in app.css
   for non-atom buttons; the atom carries its own copy so it renders anywhere
   the atom is used (the mobile app has no app.css spinner). Same spec. */
.lw-button .lw-btn-spinner[b-iqnc6jo7im] {
    width: 16px;
    height: 16px;
    border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: lw-btn-spin-b-iqnc6jo7im 0.7s linear infinite;
}

@keyframes lw-btn-spin-b-iqnc6jo7im {
    to { transform: rotate(360deg); }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCallout.razor.rz.scp.css */
/* LwCallout -- page-level info callout.
   Source: ledgerwise-ui-app ho-step-identity-verification.tsx entity-guidance
   panel: "flex items-start gap-3 rounded-card border border-brand-accent/30
   bg-info-bg p-4"; icon "mt-0.5 size-5 text-brand-accent"; title "text-sm
   font-semibold text-foreground"; body "mt-0.5 text-sm leading-relaxed
   text-content-secondary". --info-bg = rgba(57,128,165,.12) = our
   --lw-status-info-bg. Measured from source 2026-07-19.
   Tones (2026-07-29): the same box over the other status token pairs, so a
   warning/error/success callout is the Info callout with its fill, 30%-alpha
   border, and glyph swapped -- no second shape.
   Toned body text (2026-08-31, Cody: graphite reads badly on tinted fills):
   warning/error/success color the body with the tone's -fg token, mirroring
   LwCardNote's tone pairs and ledgerwise-ui-app's bg-success-bg +
   text-success-text convention; Info keeps the measured content-secondary. */

.lw-callout[b-3ket0px8jf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    padding: 16px;
}

.lw-callout-icon[b-3ket0px8jf] {
    margin-top: 2px;
    flex-shrink: 0;
    display: inline-flex;
    color: var(--lw-primary-blue);
}

.lw-callout-icon svg[b-3ket0px8jf],
.lw-callout-icon[b-3ket0px8jf]  .mud-icon-root,
.lw-callout-icon[b-3ket0px8jf]  svg {
    display: block;
    width: 20px;
    height: 20px;
    font-size: 20px;
}

/* Tones -- status token pairs from branding.css (mirrors LwCardNote). */
.lw-callout--warning[b-3ket0px8jf] {
    border-color: color-mix(in srgb, var(--lw-status-warning-fg) 30%, transparent);
    background: var(--lw-status-warning-bg);
}

.lw-callout--warning .lw-callout-icon[b-3ket0px8jf],
.lw-callout--warning .lw-callout-text[b-3ket0px8jf] {
    color: var(--lw-status-warning-fg);
}

.lw-callout--error[b-3ket0px8jf] {
    border-color: color-mix(in srgb, var(--lw-status-error-fg) 30%, transparent);
    background: var(--lw-status-error-bg);
}

.lw-callout--error .lw-callout-icon[b-3ket0px8jf],
.lw-callout--error .lw-callout-text[b-3ket0px8jf] {
    color: var(--lw-status-error-fg);
}

.lw-callout--success[b-3ket0px8jf] {
    border-color: color-mix(in srgb, var(--lw-status-success-fg) 30%, transparent);
    background: var(--lw-status-success-bg);
}

.lw-callout--success .lw-callout-icon[b-3ket0px8jf],
.lw-callout--success .lw-callout-text[b-3ket0px8jf] {
    color: var(--lw-status-success-fg);
}

/* The body takes the rest of the row (US-926): without flex it shrank to its
   longest text line, so block content inside it -- the dashboard lien
   waiver rows -- stopped at the width of the sentence above it instead of
   spanning the callout (Cody, 2026-09-27). */
.lw-callout-body[b-3ket0px8jf] { flex: 1 1 auto; min-width: 0; }

.lw-callout-title[b-3ket0px8jf] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.lw-callout-text[b-3ket0px8jf] {
    margin: 2px 0 0;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Body paragraphs inherit the callout's 14px type; without this the global
   p:not([class]) rule (branding.css) inflates classless <p> children to
   --lw-paragraph-2 and adds its own bottom margin (2026-08-31, Cody). */
.lw-callout-text[b-3ket0px8jf]  p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.lw-callout-text[b-3ket0px8jf]  p + p {
    margin-top: 6px;
}

.lw-callout-text[b-3ket0px8jf]  strong {
    font-weight: 600;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCardBody.razor.rz.scp.css */
/* LwCardBody -- source: control-card.tsx body / vendor-intro-card.tsx rows.
   Measured 2026-07-13: pad 24 (20 below md); rows variant = column, gap 20. */

.lw-card-body[b-ew27cyyjq1] {
    padding: 24px;
}

.lw-card-body--rows[b-ew27cyyjq1] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 768px) {
    .lw-card-body[b-ew27cyyjq1] {
        /* Reference px-5 py-6 md:px-6: only the horizontal padding drops. */
        padding: 24px 20px;
    }
}

/* Phones (US-1043): 16px side insets, matching the page gutter. */
@media (max-width: 767.98px) {
    .lw-card-body[b-ew27cyyjq1] {
        padding: 20px 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCardCta.razor.rz.scp.css */
/* LwCardCta -- source: vendor-intro-card.tsx CTA (button.tsx size action,
   h-11 w-full). Measured 2026-07-13: 44px, radius 8, navy #020B2B, white
   14/500, gap 8, 16px glyphs; hover primary/90. */

.lw-card-cta[b-oir685l3a3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    transition: background-color 0.15s ease;
}

.lw-card-cta:hover:not(:disabled)[b-oir685l3a3] {
    background: var(--lw-primary-dark-hover);
}

/* Outline: the action the card is already showing. Same box, hairline chrome --
   matches the .lw-page-action--outline recipe so the two families agree. */
.lw-card-cta--outline[b-oir685l3a3] {
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
}

.lw-card-cta--outline:hover:not(:disabled)[b-oir685l3a3] {
    background: var(--lw-bg-muted);
}

.lw-card-cta:disabled[b-oir685l3a3] {
    opacity: 0.5;
    cursor: default;
}

/* Root <button> carries the scope itself, so ::deep hangs off it (not a
   leading ::deep, which would require a scoped ancestor above the root). */
.lw-card-cta[b-oir685l3a3]  svg,
.lw-card-cta[b-oir685l3a3]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0;
}

.lw-card-cta:focus-visible[b-oir685l3a3] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Phones (US-1043): keep the 44px floor but let a long label wrap inside the
   button instead of spilling out of a fixed-height box at 360. */
@media (max-width: 767.98px) {
    .lw-card-cta[b-oir685l3a3] {
        height: auto;
        min-height: 44px;
        padding: 8px 16px;
        text-align: center;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCardFooter.razor.rz.scp.css */
/* LwCardFooter -- source: vendor-intro-card.tsx footer.
   Measured 2026-07-13: white, border-t --lw-border, pad 20/24 (20 below md).
   Fine print under the CTA: 12/18 muted, centered, 12px above. */

.lw-card-footer[b-g862fel570] {
    padding: 20px 24px;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
}

[b-g862fel570] .lw-card-footer-note {
    margin: 12px 0 0;
    text-align: center;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-space);
}

@media (max-width: 768px) {
    .lw-card-footer[b-g862fel570] {
        padding: 20px;
    }
}

/* Phones (US-1043): 16px insets. */
@media (max-width: 767.98px) {
    .lw-card-footer[b-g862fel570] {
        padding: 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCardHeader.razor.rz.scp.css */
/* LwCardHeader -- source: control-card.tsx / vendor-intro-card.tsx header.
   Measured 2026-07-13: white band, border-b --lw-border, pad 16/24 (20 below
   md), gap 14; tile 44px radius 8 info-bg + brand accent w/ 20px glyph;
   title 16/700/24 text-primary; sub 12/16 muted (--lw-gray-space), truncates. */

.lw-card-header[b-su87kixpnw] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card) var(--lw-radius-card) 0 0;
}

.lw-card-header-tile[b-su87kixpnw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

[b-su87kixpnw] .lw-card-header-tile svg,
[b-su87kixpnw] .lw-card-header-tile .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.lw-card-header-text[b-su87kixpnw] {
    min-width: 0;
    flex: 1;
}

.lw-card-header-title[b-su87kixpnw] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: var(--lw-text-primary);
}

.lw-card-header-sub[b-su87kixpnw] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-card-header-action[b-su87kixpnw] {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .lw-card-header[b-su87kixpnw] {
        padding: 16px 20px;
    }
}

/* Phones (US-1043): 16px insets; the sub line wraps instead of truncating
   (it clipped at 360 on every onboarding step) and long titles break. */
@media (max-width: 767.98px) {
    .lw-card-header[b-su87kixpnw] {
        padding: 16px;
    }

    .lw-card-header-title[b-su87kixpnw] {
        overflow-wrap: anywhere;
    }

    .lw-card-header-sub[b-su87kixpnw] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    /* Opt-in: a wide Action (text link) takes its own row, aligned with the
       text column when the icon tile is present (44px tile + 14px gap). No
       row gap -- the action's own tap height spaces it. */
    .lw-card-header--action-below[b-su87kixpnw] {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .lw-card-header--action-below .lw-card-header-action[b-su87kixpnw] {
        flex: 1 0 100%;
    }

    .lw-card-header--action-below .lw-card-header-tile ~ .lw-card-header-action[b-su87kixpnw] {
        padding-left: 58px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCardNote.razor.rz.scp.css */
/* LwCardNote -- source: control-card.tsx note box.
   Measured spec 2026-07-13: muted bg, radius 8, pad 12, gap 10; 16px glyph
   (2px optical drop), text 12/18 content-secondary, strong = 600 primary.
   Info/Warning/Error tones are the Blazor extension over status tokens.
   Tag + Action slots (US-1043) are additive: without them the row is the
   measured icon + text pair. */

.lw-card-note[b-ui26e4hb7w] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
}

.lw-card-note-icon[b-ui26e4hb7w] {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--lw-gray-graphite);
}

.lw-card-note-icon svg[b-ui26e4hb7w] {
    display: block;
    width: 16px;
    height: 16px;
}

.lw-card-note-text[b-ui26e4hb7w] {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

[b-ui26e4hb7w] .lw-card-note-text strong {
    font-weight: 600;
    color: var(--lw-text-primary);
}

/* Tag: the small uppercase pill that used to be .bt-historical-tag -- 10/700,
   0.08em tracking, 2px 8px, control radius, filled with the tone's text
   color at low alpha so it reads in every tone without a second token. */
.lw-card-note-tag[b-ui26e4hb7w] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 18px;
    padding: 0 8px;
    border-radius: var(--lw-radius-control);
    background: color-mix(in srgb, currentColor 14%, transparent);
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Action: trailing slot, pushed to the right edge and centered on the row.
   The consumer brings its own button (lw-page-action ghost / outline);
   the slot only positions it. */
.lw-card-note-action[b-ui26e4hb7w] {
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
}

/* Tones (Blazor extension -- status token pairs from branding.css). */
.lw-card-note--info[b-ui26e4hb7w] {
    background: var(--lw-status-info-bg);
}

.lw-card-note--info .lw-card-note-icon[b-ui26e4hb7w],
.lw-card-note--info .lw-card-note-tag[b-ui26e4hb7w],
.lw-card-note--info .lw-card-note-text[b-ui26e4hb7w] {
    color: var(--lw-primary-blue);
}

.lw-card-note--warning[b-ui26e4hb7w] {
    background: var(--lw-status-warning-bg);
}

.lw-card-note--warning .lw-card-note-icon[b-ui26e4hb7w],
.lw-card-note--warning .lw-card-note-tag[b-ui26e4hb7w],
.lw-card-note--warning .lw-card-note-text[b-ui26e4hb7w] {
    color: var(--lw-status-warning-fg);
}

.lw-card-note--error[b-ui26e4hb7w] {
    background: var(--lw-status-error-bg);
}

.lw-card-note--error .lw-card-note-icon[b-ui26e4hb7w],
.lw-card-note--error .lw-card-note-tag[b-ui26e4hb7w],
.lw-card-note--error .lw-card-note-text[b-ui26e4hb7w] {
    color: var(--lw-status-error-fg);
}

.lw-card-note--success[b-ui26e4hb7w] {
    background: var(--lw-status-success-bg);
}

.lw-card-note--success .lw-card-note-icon[b-ui26e4hb7w],
.lw-card-note--success .lw-card-note-tag[b-ui26e4hb7w],
.lw-card-note--success .lw-card-note-text[b-ui26e4hb7w] {
    color: var(--lw-status-success-fg);
}

/* Phones (US-1043, A3): the action drops under the text on its own full-width
   row and takes the 44px tap height; the icon / tag / text row wraps above it. */
@media (max-width: 767.98px) {
    .lw-card-note--has-action[b-ui26e4hb7w] {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .lw-card-note-action[b-ui26e4hb7w] {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .lw-card-note-action[b-ui26e4hb7w]  button,
    .lw-card-note-action[b-ui26e4hb7w]  a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwChatBubble.razor.rz.scp.css */
/* LwChatBubble -- source: bol-os atoms/chat-bubble.tsx + atoms/markdown.tsx
   "chat" variant (2026-09-14).
   User: flex-col items-end; pill max-w 85%, rounded-2xl (16px), bg-muted,
   pad 10/16, pre-wrap + break-words. Assistant: flush, pt 4px, compact markdown.
   Type is set on the Ledgerwise body scale (13px / 20px) rather than the
   reference's 14px / 1.625 (Cody, 2026-09-14); markdown (p mb 8, lists
   ml 16 gap 2, h3 14/600, code on muted, blockquote 2px left rule, table
   14px with row rules); streaming caret 2x16 at foreground/60 pulsing. */

.lw-chat-bubble[b-bc8wgyy3c0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.lw-chat-bubble--user[b-bc8wgyy3c0] { align-items: flex-end; }

.lw-chat-bubble-pill[b-bc8wgyy3c0] {
    min-width: 0;
    max-width: 85%;
    border-radius: 16px;
    background: var(--lw-bg-muted);
    padding: 10px 16px;
    overflow-wrap: break-word;
}

.lw-chat-bubble-pill p[b-bc8wgyy3c0] {
    margin: 0;
    white-space: pre-wrap;
}

.lw-chat-bubble--assistant[b-bc8wgyy3c0] {
    align-items: stretch;
    padding-top: 4px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0] { min-width: 0; }

.lw-chat-bubble-caret[b-bc8wgyy3c0] {
    display: inline-block;
    width: 2px;
    height: 14px;
    margin-left: 2px;
    vertical-align: text-bottom;
    background: color-mix(in srgb, var(--lw-text-primary) 60%, transparent);
    animation: lw-chat-caret-b-bc8wgyy3c0 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes lw-chat-caret-b-bc8wgyy3c0 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Markdown (MarkupString) children carry no scope attribute -- ::deep.
   Paragraphs restate the size: branding.css sizes every bare
   p:not([class]) with --lw-paragraph-2 (16px), which would otherwise win
   over the inherited 13px. */
.lw-chat-bubble-pill p[b-bc8wgyy3c0],
.lw-chat-bubble-body > p[b-bc8wgyy3c0],
.lw-chat-bubble-body[b-bc8wgyy3c0]  p,
.lw-chat-bubble-body[b-bc8wgyy3c0]  li {
    font-size: 13px;
    line-height: 20px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  p { margin: 0 0 8px; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  p:last-child { margin-bottom: 0; }
.lw-chat-bubble-body > p[b-bc8wgyy3c0] { margin: 0; white-space: pre-wrap; }

.lw-chat-bubble-body[b-bc8wgyy3c0]  h1,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h2,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h3,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h4 {
    margin: 12px 0 8px;
    font-family: var(--lw-font-family);
    font-weight: var(--lw-font-semibold);
    line-height: 1.5;
    color: var(--lw-text-primary);
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  h1 { font-size: 16px; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  h2 { font-size: 15px; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  h3 { margin: 10px 0 6px; font-size: 13px; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  h4 { margin: 8px 0 6px; font-size: 13px; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  h1:first-child,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h2:first-child,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h3:first-child,
.lw-chat-bubble-body[b-bc8wgyy3c0]  h4:first-child { margin-top: 0; }

.lw-chat-bubble-body[b-bc8wgyy3c0]  strong { font-weight: var(--lw-font-semibold); }

.lw-chat-bubble-body[b-bc8wgyy3c0]  a {
    color: var(--lw-primary-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  ul,
.lw-chat-bubble-body[b-bc8wgyy3c0]  ol {
    margin: 0 0 8px;
    padding-left: 16px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  ul { list-style: disc; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  ol { list-style: decimal; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  ul:last-child,
.lw-chat-bubble-body[b-bc8wgyy3c0]  ol:last-child { margin-bottom: 0; }
.lw-chat-bubble-body[b-bc8wgyy3c0]  li + li { margin-top: 2px; }

.lw-chat-bubble-body[b-bc8wgyy3c0]  code {
    font-family: var(--lw-font-family-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
    font-size: 0.85em;
    background: var(--lw-bg-muted);
    border-radius: 4px;
    padding: 2px 6px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  pre {
    margin: 0 0 8px;
    overflow-x: auto;
    border-radius: 6px;
    background: var(--lw-bg-muted);
    padding: 8px 12px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  pre code {
    display: block;
    font-size: 12px;
    background: transparent;
    padding: 0;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  blockquote {
    margin: 0 0 8px;
    padding-left: 12px;
    border-left: 2px solid var(--lw-border);
    color: var(--lw-gray-graphite);
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid var(--lw-border);
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  table {
    width: 100%;
    margin: 0 0 8px;
    border-collapse: collapse;
    font-size: 13px;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  thead { border-bottom: 1px solid var(--lw-border); }
.lw-chat-bubble-body[b-bc8wgyy3c0]  tbody tr + tr { border-top: 1px solid color-mix(in srgb, var(--lw-border) 60%, transparent); }
.lw-chat-bubble-body[b-bc8wgyy3c0]  th,
.lw-chat-bubble-body[b-bc8wgyy3c0]  td {
    padding: 8px 12px;
    text-align: left;
    vertical-align: top;
}

.lw-chat-bubble-body[b-bc8wgyy3c0]  th { font-weight: var(--lw-font-semibold); }
/* _content/Ledgerwise/Components/Shared/Atoms/LwChatComposer.razor.rz.scp.css */
/* LwChatComposer -- source: bol-os molecules/chat-input-bar.tsx (2026-09-14).
   Spec: wrapper pad 8/16/16; pill radius 24 (rounded-3xl), 1px border,
   card bg, shadow-sm; row items-center gap 8 pad 8/12; textarea on the
   Ledgerwise body scale (13px/20px, reference 14px/24px; Cody 2026-09-14),
   pad 6/0, min-h 32, max-h 160, transparent, no outline, placeholder
   muted-foreground; send = 32px circle: primary fill + white glyph when
   ready (hover primary/80), outline when idle, outline + square when busy. */

.lw-chat-composer[b-xbujwlzplv] {
    padding: 8px 16px 16px;
    background: var(--lw-white);
}

.lw-chat-composer-pill[b-xbujwlzplv] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--lw-border);
    border-radius: 24px;
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-sm);
    transition: border-color 0.15s ease;
}

.lw-chat-composer-pill:focus-within[b-xbujwlzplv] { border-color: var(--lw-input-border); }

.lw-chat-input[b-xbujwlzplv] {
    flex: 1;
    min-width: 0;
    min-height: 32px;
    max-height: 160px;
    padding: 6px 0;
    border: 0;
    resize: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 20px;
    color: var(--lw-text-primary);
    box-sizing: border-box;
    field-sizing: content;
}

/* Phones (US-926): iOS Safari zooms the whole page when a field under 16px
   takes focus, so the textarea follows the phone input token (Task-832,
   branding.css: --lw-input-font-size is 16px below 768px) instead of the
   13px desktop body scale. */
@media (max-width: 767.98px) {
    .lw-chat-input[b-xbujwlzplv] {
        font-size: var(--lw-input-font-size);
        line-height: 24px;
    }
}

.lw-chat-input[b-xbujwlzplv]::placeholder { color: var(--lw-gray-graphite); }
.lw-chat-input:focus[b-xbujwlzplv] { outline: none; }
.lw-chat-input:disabled[b-xbujwlzplv] { color: var(--lw-gray-graphite); }

.lw-chat-composer-send[b-xbujwlzplv] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: 9999px;
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    cursor: default;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lw-chat-composer-send--ready[b-xbujwlzplv] {
    border-color: transparent;
    background: var(--lw-primary-dark);
    color: var(--lw-primary-dark-fg);
    cursor: pointer;
}

.lw-chat-composer-send--ready:hover[b-xbujwlzplv] {
    background: color-mix(in srgb, var(--lw-primary-dark) 80%, transparent);
}

.lw-chat-composer-send--ready:active[b-xbujwlzplv] { transform: translateY(1px); }

.lw-chat-composer-send--busy[b-xbujwlzplv] {
    color: var(--lw-text-primary);
    animation: lw-chat-send-pulse-b-xbujwlzplv 1.5s ease-in-out infinite;
}

.lw-chat-composer-send:focus-visible[b-xbujwlzplv] {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lw-primary-blue) 50%, transparent);
}

@keyframes lw-chat-send-pulse-b-xbujwlzplv {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCheckbox.razor.rz.scp.css */
/* Source: ledgerwise-app native checkbox pattern (18px, accent navy) +
   the auth terms-row layout. Label is 14px/22px foreground. */

.lw-checkbox[b-ich2kp6cdz]  .lw-checkbox__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.lw-checkbox[b-ich2kp6cdz]  .lw-checkbox__box {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--lw-primary-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.lw-checkbox[b-ich2kp6cdz]  .lw-checkbox__label {
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-gray-phantom);
}

.lw-checkbox[b-ich2kp6cdz]  .lw-checkbox__label a {
    color: var(--lw-primary-dark);
    font-weight: 600;
}

/* Phones (US-1043, A3): the label row is the tap target, so it reaches 44px;
   the 18px box stays top-aligned with the first line of a wrapping label. */
@media (max-width: 767.98px) {
    .lw-checkbox[b-ich2kp6cdz]  .lw-checkbox__row {
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwChip.razor.rz.scp.css */
/* Source: ledgerwise-ui ui/chip.tsx -- md size (px-3 py-1.5 text-[13px]),
   rounded-md, 500/600 weight; count pill 18px, tabular. */

.lw-chip[b-cpsd9fascw] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lw-chip--outline[b-cpsd9fascw] {
    border: 1px solid var(--lw-border);
    background: transparent;
    color: var(--lw-gray-graphite);
}

.lw-chip--outline:hover[b-cpsd9fascw] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.lw-chip--active[b-cpsd9fascw] {
    border: 1px solid transparent;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    font-weight: var(--lw-font-semibold);
}

.lw-chip-count[b-cpsd9fascw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    min-width: 18px;
    padding: 0 4px;
    /* reference chip count: rounded-sm = --radius-control (8px), not 4px. */
    border-radius: var(--lw-radius-control);
    font-size: 10px;
    font-weight: var(--lw-font-bold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Reference expresses these as relationships (bg-sidebar-bg/10, bg-white/20)
   -- keep them derived from the tokens, not resolved rgba. */
.lw-chip--outline .lw-chip-count[b-cpsd9fascw] {
    background: color-mix(in srgb, var(--lw-primary-dark) 10%, transparent);
    color: var(--lw-primary-dark);
}

.lw-chip--active .lw-chip-count[b-cpsd9fascw] {
    background: color-mix(in srgb, var(--lw-white) 20%, transparent);
    color: var(--lw-white);
}

/* Tab variant (gc-invoice-table.tsx STATUS_TABS): px-3.5 py-2, semibold
   label; inactive is borderless foreground text with accent hover; active
   navy adds shadow-sm. Count pill chrome is shared. */
.lw-chip--tab[b-cpsd9fascw] {
    padding: 8px 14px;
    font-weight: var(--lw-font-semibold);
    /* Reference tabs are borderless in every state -- the base variants'
       1px transparent border made the chip 2px taller than measured (35.5px). */
    border: 0;
}

.lw-chip--tab.lw-chip--outline[b-cpsd9fascw] {
    border: 0;
    color: var(--lw-text-primary);
}

.lw-chip--tab.lw-chip--outline:hover[b-cpsd9fascw] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.lw-chip--tab.lw-chip--active[b-cpsd9fascw] {
    box-shadow: var(--lw-shadow-sm);
}

/* Active-tab amount (gc-payment-requests.tsx; measured 2026-07-12):
   13px/700 tabular tracking-tight at 70% of the chip's white text, behind a
   1px 20%-white hairline (ml-1 pl-2). Rendered only while active. */
.lw-chip-amount[b-cpsd9fascw] {
    margin-left: 4px;
    padding-left: 8px;
    border-left: 1px solid color-mix(in srgb, var(--lw-white) 20%, transparent);
    font-size: 13px;
    font-weight: var(--lw-font-bold);
    letter-spacing: var(--lw-tracking-tight);
    font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, var(--lw-white) 70%, transparent);
    white-space: nowrap;
}

/* Phones (US-1043, A3). The chip keeps its measured height; the tap box grows
   to 44px through a transparent pseudo-element centered on it (the LwToggle
   recipe), so a rail of chips does not have to pad itself. A chip is capped at
   its container's width and a long label ellipsizes, leaving the count pill
   and the active amount whole. */
@media (max-width: 767.98px) {
    .lw-chip[b-cpsd9fascw] {
        position: relative;
        max-width: 100%;
        min-width: 0;
    }

    .lw-chip[b-cpsd9fascw]::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 44px;
        transform: translateY(-50%);
    }

    .lw-chip-label[b-cpsd9fascw] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lw-chip-count[b-cpsd9fascw],
    .lw-chip-amount[b-cpsd9fascw] {
        flex-shrink: 0;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCoachmarks.razor.rz.scp.css */
/* LwCoachmarks -- spotlight + tip card for first-time feature tours.
   No ledgerwise-app source (the reference app has no tour primitive); the
   card borrows the lw-menu / popover vocabulary: white surface, radius-card,
   --lw-shadow-popover, Inter 14/600 title over 13/400 secondary body, navy
   primary button (bg-primary, hover /90) and ghost Skip/Back. The shade is
   the spotlight's own box-shadow (navy at 45%) so nothing else needs a
   full-screen element, and pointer-events stay OFF so the user can perform
   the highlighted action while the tip is showing. 2026-08-23. */

.lw-coach[b-m4ug9c0f2w] {
    position: fixed;
    inset: 0;
    z-index: var(--lw-z-coachmarks);
    pointer-events: none;
    font-family: var(--lw-font-family);
}

.lw-coach-spot[b-m4ug9c0f2w] {
    position: fixed;
    border-radius: 10px;
    box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--lw-primary-dark) 45%, transparent);
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 0;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
    pointer-events: none;
}

/* Pulsing ring: the thing people did not notice was the step indicator, so
   the spotlight itself breathes until the step advances. */
.lw-coach-spot[b-m4ug9c0f2w]::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    border: 2px solid var(--lw-primary-blue);
    animation: lw-coach-pulse-b-m4ug9c0f2w 1.6s ease-out infinite;
}

@keyframes lw-coach-pulse-b-m4ug9c0f2w {
    0%   { transform: scale(1);    opacity: 0.9; }
    100% { transform: scale(1.04); opacity: 0; }
}

.lw-coach-card[b-m4ug9c0f2w] {
    position: fixed;
    width: 300px;
    padding: 16px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-popover), 0 0 0 1px var(--lw-border);
    pointer-events: auto;
    transition: top 0.2s ease, left 0.2s ease;
    animation: lw-coach-in-b-m4ug9c0f2w 0.18s ease-out;
}

/* While the user drags (e.g. an invoice card toward a budget line), the tip
   card must not swallow the drop: lwCoachmarks.watch flags the body for the
   duration of the drag so the card becomes transparent to pointer events. */
body.lw-coach-dragging .lw-coach-card[b-m4ug9c0f2w] {
    pointer-events: none;
    opacity: 0.35;
}

@keyframes lw-coach-in-b-m4ug9c0f2w {
    from { opacity: 0; translate: 0 4px; }
    to   { opacity: 1; translate: 0 0; }
}

.lw-coach-meta[b-m4ug9c0f2w] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lw-coach-count[b-m4ug9c0f2w] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.lw-coach-dots[b-m4ug9c0f2w] { display: inline-flex; gap: 4px; }

.lw-coach-dot[b-m4ug9c0f2w] {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--lw-bg-muted);
    box-shadow: inset 0 0 0 1px var(--lw-border);
}

.lw-coach-dot--on[b-m4ug9c0f2w] {
    background: var(--lw-primary-blue);
    box-shadow: none;
}

.lw-coach-title[b-m4ug9c0f2w] {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.lw-coach-body[b-m4ug9c0f2w] {
    margin: 0;
    font-size: 13px;
    line-height: 19px;
    color: var(--lw-gray-graphite);
}

.lw-coach-actions[b-m4ug9c0f2w] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.lw-coach-spacer[b-m4ug9c0f2w] { flex: 1; }

.lw-coach-btn[b-m4ug9c0f2w] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--lw-radius-control);
    border: 1px solid transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-coach-btn--ghost[b-m4ug9c0f2w] {
    background: transparent;
    color: var(--lw-gray-graphite);
}

.lw-coach-btn--ghost:hover[b-m4ug9c0f2w] { background: var(--lw-accent); color: var(--lw-text-primary); }

.lw-coach-btn--primary[b-m4ug9c0f2w] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lw-coach-btn--primary:hover[b-m4ug9c0f2w] { background: var(--lw-primary-dark-hover); }

.lw-coach-btn:focus-visible[b-m4ug9c0f2w] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Static specimen (/styleguide): spot + card side by side in normal flow. */
.lw-coach--inline[b-m4ug9c0f2w] {
    position: relative;
    inset: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px;
    pointer-events: auto;
}
.lw-coach--inline .lw-coach-spot[b-m4ug9c0f2w] {
    position: relative;
    width: 240px;
    height: 96px;
    box-shadow: none;
    background: var(--lw-bg-muted);
}
.lw-coach--inline .lw-coach-card[b-m4ug9c0f2w] { position: relative; animation: none; }

/* Phones (US-1043): the 300px card never exceeds the viewport minus 16px
   gutters (the C# clamp keeps it inside; this guards narrower screens), and
   the step buttons grow to 44px tap targets. */
@media (max-width: 767.98px) {
    .lw-coach-card[b-m4ug9c0f2w] {
        max-width: calc(100vw - 32px);
    }

    .lw-coach-btn[b-m4ug9c0f2w] {
        height: 44px;
        padding: 0 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lw-coach-spot[b-m4ug9c0f2w]::after { animation: none; }
    .lw-coach-card[b-m4ug9c0f2w], .lw-coach-spot[b-m4ug9c0f2w] { transition: none; animation: none; }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwColumnChart.razor.rz.scp.css */
/* LwColumnChart -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18), "Payment volume by month" and "Revenue outlook":
     layout   40px value axis, 10px, then the plot; month labels 8px under the plot
     plot     220px tall (the caller sets it; 200 on the outlook)
     grid     1px solid hairlines (never dashed); the baseline in grayscale Smoke
     axis     11px, right-aligned, each label centred on its line (6px below it)
     months   11.5px, centred under each column (a caller with many columns labels only
              some of them and passes an empty label for the rest)
     slot     a button the full height of the plot; a rounded highlight (radius 6) fills it
              with brand accent at 6% while it is pointed at
     column   Standard 58% of the slot, at most 40px; Wide 44%, at most 56px; parts stacked
              from the bottom with 2px between them; radius 4 on the top corners; a part is
              never under 2px tall
     label    the called-out total, 12px / 600, 6px above its column
     dimming  the other columns drop to 45% while one is pointed at or focused
     tooltip  navy, white 12.5px, radius 8, padding 10 12, at least 210px wide, shadow
              0 10px 24px navy at 20%, 8px from the top of the plot beside its column
   The axis and month labels are content-secondary rather than the design's lighter grey:
   that grey is 3.3:1 on white, and small text has to reach 4.5:1.

   Hatched: the design's repeating-linear-gradient(45deg, #BCBFCC 0 2px, #E4E6EC 2px 6px),
   written as grayscale Steel and Steel at 40% over white (LwLegend paints the same).

   Tooltip swatches sit on navy, where the chart colours themselves are too dark to read, so
   each is its chart colour at 60% over white.

   A tooltip is a child of its slot's button but is placed against the plot, so that it can
   sit beside its column and be as wide as its text. That needs the slot NOT to be positioned
   (the tooltip's containing block is then .lw-colchart-cols, which covers the plot) -- and
   the app's global button style makes every button position: relative, so the slot states
   position: static. Inside a 40px-wide slot the tooltip would be squeezed to its minimum
   width and its rows would wrap (seen 2026-11-18). */

.lw-colchart[b-tyu2p3o9wb] {
    display: flex;
    gap: 10px;
    min-width: 0;
}

.lw-colchart-axis[b-tyu2p3o9wb] {
    position: relative;
    flex: 0 0 40px;
    height: var(--lw-colchart-height, 220px);
    font-size: 11px;
    color: var(--lw-gray-graphite);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.lw-colchart-tick[b-tyu2p3o9wb] {
    position: absolute;
    right: 0;
    line-height: 12px;
    white-space: nowrap;
}

.lw-colchart-main[b-tyu2p3o9wb] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.lw-colchart-plot[b-tyu2p3o9wb] {
    position: relative;
    height: var(--lw-colchart-height, 220px);
}

.lw-colchart-grid[b-tyu2p3o9wb] {
    position: absolute;
    inset: 0;
}

.lw-colchart-line[b-tyu2p3o9wb] {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid var(--lw-border);
}

.lw-colchart-line--base[b-tyu2p3o9wb] {
    border-top-color: var(--lw-gray-smoke);
}

.lw-colchart-cols[b-tyu2p3o9wb] {
    position: absolute;
    inset: 0;
    display: grid;
}

.lw-colchart-slot[b-tyu2p3o9wb] {
    position: static;
    display: block;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
}

.lw-colchart-slot:focus-visible[b-tyu2p3o9wb] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
    border-radius: 6px;
}

.lw-colchart-slot-inner[b-tyu2p3o9wb] {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lw-colchart-hl[b-tyu2p3o9wb] {
    position: absolute;
    inset: 0 2px;
    border-radius: 6px;
}

.lw-colchart--wide .lw-colchart-hl[b-tyu2p3o9wb] {
    inset: 0 6px;
}

.lw-colchart-slot:hover .lw-colchart-hl[b-tyu2p3o9wb],
.lw-colchart-slot:focus-visible .lw-colchart-hl[b-tyu2p3o9wb] {
    background: color-mix(in srgb, var(--lw-primary-blue) 6%, transparent);
}

.lw-colchart-col[b-tyu2p3o9wb] {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    width: 58%;
    max-width: 40px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
    transition: opacity 0.15s ease;
}

.lw-colchart--wide .lw-colchart-col[b-tyu2p3o9wb] {
    width: 44%;
    max-width: 56px;
}

.lw-colchart-cols:has(.lw-colchart-slot:hover) .lw-colchart-slot:not(:hover) .lw-colchart-col[b-tyu2p3o9wb],
.lw-colchart-cols:has(.lw-colchart-slot:focus-visible) .lw-colchart-slot:not(:focus-visible):not(:hover) .lw-colchart-col[b-tyu2p3o9wb] {
    opacity: 0.45;
}

.lw-colchart-seg[b-tyu2p3o9wb] {
    display: block;
    min-height: 2px;
}

.lw-colchart-seg--chart-1[b-tyu2p3o9wb] { background: var(--lw-chart-1); }
.lw-colchart-seg--chart-2[b-tyu2p3o9wb] { background: var(--lw-chart-2); }
.lw-colchart-seg--chart-3[b-tyu2p3o9wb] { background: var(--lw-chart-3); }

.lw-colchart-seg--hatched[b-tyu2p3o9wb] {
    background: repeating-linear-gradient(
        45deg,
        var(--lw-gray-steel) 0 2px,
        color-mix(in srgb, var(--lw-gray-steel) 40%, var(--lw-white)) 2px 6px);
}

.lw-colchart-toplabel[b-tyu2p3o9wb] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    line-height: 14px;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lw-colchart-empty[b-tyu2p3o9wb] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    pointer-events: none;
}

.lw-colchart-labels[b-tyu2p3o9wb] {
    display: grid;
    font-size: 11.5px;
    color: var(--lw-gray-graphite);
    text-align: center;
    white-space: nowrap;
}

/* A label is centred on its column and may run past its slot on both sides: when there are
   too many columns to label each one, the caller leaves the neighbours' labels empty. */
.lw-colchart-labels span[b-tyu2p3o9wb] {
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* ---- Tooltip ---- */

.lw-colchart-tip[b-tyu2p3o9wb] {
    position: absolute;
    top: 8px;
    z-index: 2;
    display: none;
    min-width: 210px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--lw-primary-dark);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--lw-primary-dark) 20%, transparent);
    box-sizing: border-box;
    pointer-events: none;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--lw-white);
    text-align: left;
    white-space: normal;
}

.lw-colchart-slot:hover > .lw-colchart-tip[b-tyu2p3o9wb],
.lw-colchart-slot:focus-visible > .lw-colchart-tip[b-tyu2p3o9wb] {
    display: block;
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-title {
    display: block;
    margin-bottom: 6px;
    font-weight: var(--lw-font-semibold);
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-row--muted {
    color: var(--lw-gray-steel);
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-row--total {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--lw-white) 15%, transparent);
    font-weight: var(--lw-font-semibold);
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-swatch {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 2px;
}

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-swatch--chart-1 { background: color-mix(in srgb, var(--lw-chart-1) 60%, var(--lw-white)); }
.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-swatch--chart-2 { background: color-mix(in srgb, var(--lw-chart-2) 60%, var(--lw-white)); }
.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-swatch--chart-3 { background: color-mix(in srgb, var(--lw-chart-3) 60%, var(--lw-white)); }

.lw-colchart-tip[b-tyu2p3o9wb]  .lw-colchart-tip-note {
    display: block;
    max-width: 220px;
    margin-top: 6px;
    font-size: 11.5px;
    color: var(--lw-gray-steel);
}

@media (max-width: 599.98px) {
    /* A phone has no room beside a column: the tooltip takes the width of the plot, at its top. */
    .lw-colchart-tip[b-tyu2p3o9wb] {
        left: 0 !important;
        right: 0 !important;
        min-width: 0;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwCustomRangeSegment.razor.rz.scp.css */
/* LwCustomRangeSegment -- the panel behind the "Custom" segment of an LwSegmented control.
   The segment's own chrome is LwSegmented's (lw-segmented-btn); only the panel is styled here.

   Source: the builder dashboard's Custom block (Home.razor.css hd-daterange-custom, measured
   2026-07-28): 220px minimum, 12px between the parts, 16px side padding; the heading is the
   date range menu's (12px / 600 uppercase, content-secondary). The error line is this atom's
   own: 12px in the destructive colour, with the fields it is about.

   The panel renders inside MudBlazor's popover, away from the segment; its elements are
   written in this component, so they still carry its CSS scope.

   Phones (below 768px): the panel never passes the 16px gutters. */

.lw-range-panel[b-gcxr94bnju] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.lw-range-title[b-gcxr94bnju] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: var(--lw-tracking-tight);
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

/* The two date fields share one wrapper (it keeps their keys away from MudMenu) and keep the
   panel's spacing between them. */
.lw-range-fields[b-gcxr94bnju] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lw-range-error[b-gcxr94bnju] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-destructive);
}

@media (max-width: 767.98px) {
    .lw-range-panel[b-gcxr94bnju] {
        min-width: 272px;
        max-width: calc(100vw - 32px);
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwDateField.razor.rz.scp.css */
/* LwDateField -- source: ledgerwise-app atoms/date-field.tsx + FieldShell.
   Same measured chrome as LwTextField.razor.css (2026-07-08 spec): 54px white
   box, radius 8, border --lw-input-border, 14/400 value, notched label with
   the muted -> graphite -> phantom state colors. MudDatePicker renders the
   same mud-input-outlined structure, so the recipe carries over. */

.lw-datefield[b-f3uf93tcdx] {
    width: 100%;
}

.lw-datefield[b-f3uf93tcdx]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.lw-datefield[b-f3uf93tcdx]  .mud-input-control {
    margin-top: 0;
}

.lw-datefield[b-f3uf93tcdx]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    /* Input token: 14px desktop, 16px phones (Task-832) so iOS does not zoom
       the page when the field takes focus (US-926). */
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    /* 16 + 22 + 16 = 54 -- centers the text block exactly like FieldShell. */
    line-height: 22px;
}

.lw-datefield[b-f3uf93tcdx]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label geometrically centered in the box (same recipe as
   LwTextField/LwNumericField), with `top` in the transition so the float
   stays smooth. */
.lw-datefield[b-f3uf93tcdx]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

.lw-datefield[b-f3uf93tcdx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.lw-datefield[b-f3uf93tcdx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.lw-datefield[b-f3uf93tcdx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* FieldShell placeholder behavior (reference date-field.tsx: the label is
   the resting placeholder; nothing shows until open/filled). When a
   Placeholder is set Mud pre-floats the label -- hide the placeholder and
   re-seat the label while empty and unfocused, closing the border notch. */
.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined:not(:focus-within) input.mud-input-slot::placeholder {
    color: transparent;
}

.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    color: var(--lw-gray-space);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) .mud-input-outlined-border legend {
    max-width: 0;
    padding: 0;
}

/* Calendar adornment -- gray-space icon at rest, foreground while focused
   (reference: text-muted-foreground -> text-foreground when open). */
.lw-datefield[b-f3uf93tcdx]  .mud-input-adornment .mud-icon-button {
    color: var(--lw-gray-space);
}

.lw-datefield[b-f3uf93tcdx]  .mud-input:focus-within .mud-input-adornment .mud-icon-button {
    color: var(--lw-gray-phantom);
}

/* The floated label sits ON the border, and the white field fill starts halfway down it, so
   the fill's top edge (and Chrome's blue autofill tint) read as a line through the label
   (Cody 2026-09-29, US-926). The label carries the field's white behind its text -- a small
   tab on the border -- and autofilled inputs keep the white fill. Invisible on white cards. */
.lw-datefield[b-f3uf93tcdx]  .mud-input-label-outlined {
    background-color: var(--lw-white);
    border-radius: 4px;
}

.lw-datefield[b-f3uf93tcdx]  input.mud-input-slot:is(:autofill, :-webkit-autofill) {
    -webkit-box-shadow: 0 0 0 1000px var(--lw-white) inset;
    box-shadow: 0 0 0 1000px var(--lw-white) inset;
    -webkit-text-fill-color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwDocActionBar.razor.rz.scp.css */
/* LwDocActionBar -- document signing footer bar.
   Source: ledgerwise-ui-app organisms/kickoff/doc-action-bar.tsx +
   ui/button.tsx size=action (measured from source 2026-07-19):
   bar "border-t border-border bg-white px-4 py-3 sm:px-6", flex wrap
   justify-between gap-x-4 gap-y-3; Back/Download "h-10 rounded-md border
   border-border px-4 text-sm font-medium text-foreground hover:bg-accent"
   (download px-3/px-4, 13px, 16px Printer glyph, label hidden < 640px);
   primary Button size=action "h-10 gap-2 rounded-md px-5 text-sm" navy,
   hover primary/90; disabled bg-grey-smoke text-grey-space.
   rounded-md = --radius-control (8px); --accent = rgba(145,158,171,.16). */

.lw-doc-action-bar[b-6p3j54hw9g] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
    row-gap: 12px;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-white);
    padding: 12px 16px;
}

@media (min-width: 640px) {
    .lw-doc-action-bar[b-6p3j54hw9g] { padding: 12px 24px; }
}

.lw-dab-side[b-6p3j54hw9g] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lw-dab-secondary[b-6p3j54hw9g] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lw-dab-secondary:hover[b-6p3j54hw9g] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
    text-decoration: none;
}

.lw-dab-with-icon[b-6p3j54hw9g] { padding: 0 12px; font-size: 13px; }

@media (min-width: 640px) {
    .lw-dab-with-icon[b-6p3j54hw9g] { padding: 0 16px; }
}

.lw-dab-with-icon[b-6p3j54hw9g]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Download label collapses to icon-only below 640px, per the reference. */
.lw-dab-download-label[b-6p3j54hw9g] { display: none; }

@media (min-width: 640px) {
    .lw-dab-download-label[b-6p3j54hw9g] { display: inline; }
    .lw-dab-primary[b-6p3j54hw9g] { padding: 0 20px; }
}

.lw-dab-primary[b-6p3j54hw9g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    font-family: var(--lw-font-family);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-primary-dark-fg);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lw-dab-primary:hover:not(:disabled)[b-6p3j54hw9g] {
    background: var(--lw-primary-dark-hover);
}

.lw-dab-primary:disabled[b-6p3j54hw9g] {
    /* Reference: opacity-50 base + grey-smoke/grey-space override. */
    background: var(--lw-gray-smoke);
    color: var(--lw-gray-space);
    opacity: 0.5;
    cursor: not-allowed;
}

.lw-dab-primary:focus-visible[b-6p3j54hw9g],
.lw-dab-secondary:focus-visible[b-6p3j54hw9g] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

/* Phones (US-926, O8): one row -- Back and Print keep their natural width and
   the primary action fills the rest as a 44px target, instead of a small
   button floating at the right edge. */
@media (max-width: 639.98px) {
    .lw-doc-action-bar[b-6p3j54hw9g] {
        flex-wrap: nowrap;
        column-gap: 8px;
    }

    .lw-dab-side:last-child[b-6p3j54hw9g] {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .lw-dab-primary[b-6p3j54hw9g] {
        flex: 1 1 auto;
        height: 44px;
    }

    .lw-dab-secondary[b-6p3j54hw9g] {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwDocEmpty.razor.rz.scp.css */
/* Source: ledgerwise-app gc-documents.tsx DocsEmptyState / DocsNoResults
   (2026-07-20). Outer: flex flex-1 items-center justify-center py-10.
   Card: w-full max-w-md flex-col items-center gap-5 rounded-card border
   bg-card px-6 py-12 text-center shadow-card. Medallion: size-14 rounded-full
   bg-info-bg text-brand-accent (muted variant: bg-muted text-muted-fg),
   icon size-7. Title text-base semibold; description text-sm leading-relaxed
   content-secondary max-w-sm. */

.lw-doc-empty[b-743busrzv7] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.lw-doc-empty-card[b-743busrzv7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    max-width: 28rem;
    padding: 48px 24px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
}

.lw-doc-empty-medallion[b-743busrzv7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.lw-doc-empty-medallion--muted[b-743busrzv7] {
    background: var(--lw-bg-muted);
    color: var(--lw-gray-space);
}

.lw-doc-empty-medallion[b-743busrzv7]  .mud-icon-root { width: 1.75rem; height: 1.75rem; }

.lw-doc-empty-copy[b-743busrzv7] { display: flex; flex-direction: column; gap: 6px; }

.lw-doc-empty-title[b-743busrzv7] {
    margin: 0;
    overflow-wrap: anywhere;
    font-family: var(--lw-font-family);
    font-size: 1rem;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lw-doc-empty-sub[b-743busrzv7] {
    margin: 0 auto;
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Flush (US-926): inside a host card -- no second border / shadow, tighter inset. */
.lw-doc-empty--flush[b-743busrzv7] {
    padding: 8px 16px;
}

.lw-doc-empty--flush .lw-doc-empty-card[b-743busrzv7] {
    gap: 16px;
    max-width: none;
    padding: 32px 16px;
    border: none;
    background: transparent;
    box-shadow: none;
}

/* Phone (US-1043, A3): the host's action button (a .lw-page-action, 36px on
   desktop) reaches 44px; the copy column may shrink so a long title wraps
   inside the card instead of widening it. */
.lw-doc-empty-copy[b-743busrzv7] { min-width: 0; max-width: 100%; }

@media (max-width: 767.98px) {
    .lw-doc-empty-action[b-743busrzv7]  .lw-page-action {
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwEditableText.razor.rz.scp.css */
/* LwEditableText -- inline editable text.
   Source: ledgerwise-ui src/components/atoms/editable-text.tsx (measured 2026-08-04).
   Spec: h-8 = 32px; px-2 = 8px; text-sm = 14px/400; border 1px transparent at
   rest; hover border --border; focus border brand accent over white; truncate. */

.lw-editable[b-w7dfegezve] {
    min-width: 0;
}

.lw-editable-input[b-w7dfegezve],
.lw-editable-static[b-w7dfegezve] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 8px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: normal;
    color: var(--bs-body-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-editable-input[b-w7dfegezve] {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: var(--lw-radius-control);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.lw-editable-input:hover[b-w7dfegezve] {
    border-color: var(--lw-border);
}

.lw-editable-input:focus[b-w7dfegezve] {
    border-color: var(--lw-primary-blue);
    background-color: #fff;
}

.lw-editable--bold[b-w7dfegezve] {
    font-weight: 600;
}

/* Phone (US-1043, A3): the input is the tap target, so it grows to 44px and
   its text to 16px (below 16px iOS zooms the page on focus). The read-only
   span keeps the row height of the editable one. A value too long for the
   column still ellipsizes; the full value is in the title attribute. */
@media (max-width: 767.98px) {
    .lw-editable-input[b-w7dfegezve],
    .lw-editable-static[b-w7dfegezve] {
        height: 44px;
        line-height: 42px;
    }

    .lw-editable-input[b-w7dfegezve] {
        font-size: var(--lw-input-font-size);
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwEmptyState.razor.rz.scp.css */
/* Source: ledgerwise-app organisms/gc/invoice-empty-state.tsx (shared shape
   of all *-empty-state organisms). Wrapper centers a max-w-xl (576px) card:
   border, card radius/shadow, px-6 py-10 (md:px-10), 28px stack gap,
   text-center. Signature panel: form-surface card, 12px pad, 6px row gap,
   11px bold uppercase label. Headline 22/700 tracking-tight; description
   14px leading-relaxed muted, max-w-md. Points grid: hairline top, 28px pad,
   3 columns >=640px, 20px gap. Slot-internal chrome lives in lw-page.css. */

.lw-empty-wrap[b-lp947x4399] {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.lw-empty-card[b-lp947x4399] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
    max-width: 576px;
    padding: 40px 24px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    text-align: center;
}

@media (min-width: 768px) {
    .lw-empty-card[b-lp947x4399] {
        padding: 40px;
    }
}

.lw-empty-sig[b-lp947x4399] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
    text-align: left;
}

.lw-empty-sig-label[b-lp947x4399] {
    margin: 0;
    padding: 0 4px 2px;
    font-size: 11px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.lw-empty-msg[b-lp947x4399] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lw-empty-headline[b-lp947x4399] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 22px;
    font-weight: var(--lw-font-bold);
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
}

.lw-empty-desc[b-lp947x4399] {
    margin: 0 auto;
    max-width: 448px;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* CTA row -- centers one or more .lw-page-action--lg buttons. */
.lw-empty-action[b-lp947x4399] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lw-empty-points[b-lp947x4399] {
    display: grid;
    gap: 20px;
    width: 100%;
    border-top: 1px solid var(--lw-border);
    padding-top: 28px;
}

@media (min-width: 640px) {
    .lw-empty-points[b-lp947x4399] {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwEntityHeader.razor.rz.scp.css */
/* LwEntityHeader -- the LwProjectHeader identity-zone recipe
   (Components/Shared/LwProjectHeader.razor.css) for non-project records.
   Values are that file's, one for one; keep the two in step.
   Desktop: zone px-24 pt-20; row gap 16px; info col gap 4px; name 22px/32px
   700 tracking-tight; meta row column-gap 12px row-gap 6px; meta items 14px
   content-secondary with 14px muted-foreground icons (gap 6px).
   Mobile: row items-start gap 12px, 16px gutters; name 16px/1.25 700
   line-clamp-2; meta 12px muted-foreground line-clamp-2; badges mt-4 gap-8;
   kebab 44px target, top-aligned.
   Not in the project header (it always has a tab strip under it): the closed
   bottom -- padding + hairline -- used when no LwPageTabs strip follows.
   muted-foreground = --lw-gray-space; content-secondary = --lw-gray-graphite;
   foreground = --lw-text-primary. */

.lw-entity-header[b-mv9xpw1tti] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

/* Tab strip below: title and tabs are one white block; the strip draws the
   hairline and its top padding is the gap (16px desktop, 12px phones). */
.lw-entity-header--tabbed[b-mv9xpw1tti] {
    border-bottom: none;
}

/* --- Desktop (>= md) ---------------------------------------------------- */

.lw-eh-desktop[b-mv9xpw1tti] {
    display: none;
}

@media (min-width: 768px) {
    .lw-eh-desktop[b-mv9xpw1tti] {
        display: flex;
        flex-direction: column;
        padding: 20px 24px;
    }

    .lw-entity-header--tabbed .lw-eh-desktop[b-mv9xpw1tti] {
        padding-bottom: 0;
    }
}

.lw-eh-row[b-mv9xpw1tti] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lw-eh-info[b-mv9xpw1tti] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.lw-eh-name-row[b-mv9xpw1tti] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lw-eh-name[b-mv9xpw1tti] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    line-height: 32px;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
}

.lw-eh-name--truncated[b-mv9xpw1tti] {
    cursor: default;
}

/* Optional identifier chip beside the name (caller supplies the chip). */
.lw-eh-title-adornment[b-mv9xpw1tti] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lw-eh-title-adornment--mobile[b-mv9xpw1tti] {
    margin-top: 2px;
}

.lw-eh-actions[b-mv9xpw1tti] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Leading icon of the built-in Back action (16px, the lw-page-action size). */
.lw-eh-actions[b-mv9xpw1tti]  .lw-eh-action-icon.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.lw-eh-meta[b-mv9xpw1tti] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
}

.lw-eh-meta-item[b-mv9xpw1tti] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 14px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* MudIcon is a child component -- ::deep + .mud-icon-root to out-specific
   Mud's sizing. */
.lw-eh-meta-item[b-mv9xpw1tti]  .lw-eh-meta-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

/* --- Mobile (< md) ------------------------------------------------------ */

.lw-eh-mobile[b-mv9xpw1tti] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

/* The LwPageTabs strip brings its own 12px top padding on phones -- the same
   12px the project header leaves above its section select. */
.lw-entity-header--tabbed .lw-eh-mobile[b-mv9xpw1tti] {
    padding-bottom: 0;
}

.lw-eh-mobile-info[b-mv9xpw1tti] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.lw-eh-mobile-name[b-mv9xpw1tti] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 16px;
    font-weight: var(--lw-font-bold);
    line-height: 1.25;
    letter-spacing: normal;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.lw-eh-mobile-meta[b-mv9xpw1tti] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
    overflow-wrap: anywhere;
}

.lw-eh-mobile-badges[b-mv9xpw1tti] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* The kebab sits on the name line (MudMenu centres itself in a flex row by
   default). */
.lw-eh-mobile[b-mv9xpw1tti]  > .mud-menu {
    align-self: flex-start;
}

/* 44px target; the negative margin keeps the 32px visual footprint so the
   title column does not lose width (project header, US-1043 A3). */
.lw-eh-kebab[b-mv9xpw1tti] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

/* Hover only where a pointer can hover: a tapped kebab must not stay filled. */
@media (hover: hover) {
    .lw-eh-kebab:hover[b-mv9xpw1tti] {
        background: var(--lw-accent);
        color: var(--lw-text-primary);
    }
}

.lw-eh-kebab:focus-visible[b-mv9xpw1tti] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
    border-radius: var(--lw-radius-control);
}

.lw-eh-mobile[b-mv9xpw1tti]  .lw-eh-kebab-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Desktop hides the mobile zone. This must come AFTER the base .lw-eh-mobile
   rule -- same specificity, so source order decides. */
@media (min-width: 768px) {
    .lw-eh-mobile[b-mv9xpw1tti] {
        display: none;
    }
}

/* --- Loading skeleton (Loading="true") ---------------------------------- */
/* Same zones, paddings and gaps as the loaded header (the rules above); only
   the line boxes are restated so the bars sit in rows of the loaded heights:
   desktop 32px name line + 22px chip-height meta row beside the 56px avatar
   (LwProjectDetailSkeleton .lw-pds-name-row / .lw-pds-meta); phones 20px name
   line (16px x 1.25), 18px meta line and the 22px chip row beside the 44px
   avatar. Classes handed to LwSkeleton land on the child component's root,
   so they need ::deep. */
.lw-eh-skel-name-row[b-mv9xpw1tti] {
    min-height: 32px;
}

.lw-eh-skel-name-row[b-mv9xpw1tti]  .lw-eh-skel-name {
    width: 280px;
    max-width: 100%;
}

.lw-eh-skel-meta[b-mv9xpw1tti] {
    min-height: 22px;
}

.lw-eh-skel-mobile-line[b-mv9xpw1tti] {
    display: flex;
    align-items: center;
}

.lw-eh-skel-mobile-line--name[b-mv9xpw1tti] {
    min-height: 20px;
}

.lw-eh-skel-mobile-line--meta[b-mv9xpw1tti] {
    min-height: 18px;
}

.lw-entity-header--loading[b-mv9xpw1tti]  .lw-eh-skel-fixed {
    flex-shrink: 0;
}

/* Avatar sketch takes the LwAvatar shape: squircle, or a circle for a person. */
.lw-entity-header--loading[b-mv9xpw1tti]  .lw-eh-skel-avatar {
    border-radius: var(--lw-radius-control);
}

.lw-entity-header--loading[b-mv9xpw1tti]  .lw-eh-skel-avatar--circle {
    border-radius: 50%;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwFeatureRow.razor.rz.scp.css */
/* LwFeatureRow -- source: vendor-intro-card.tsx guarantee rows.
   Measured 2026-07-13: gap 14; tile 36 radius 8, border --lw-border, white,
   graphite glyph 16; title 14/600/20 text-primary; body 14 / 1.625 graphite,
   2px above. */

.lw-feature-row[b-83aryimli3] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.lw-feature-row-tile[b-83aryimli3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
}

[b-83aryimli3] .lw-feature-row-tile svg,
[b-83aryimli3] .lw-feature-row-tile .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.lw-feature-row-text[b-83aryimli3] {
    min-width: 0;
    flex: 1;
}

.lw-feature-row-title[b-83aryimli3] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.lw-feature-row-body[b-83aryimli3] {
    margin: 2px 0 0;
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): long words (emails, org names) break rather than push the row wide. */
@media (max-width: 767.98px) {
    .lw-feature-row-title[b-83aryimli3],
    .lw-feature-row-body[b-83aryimli3] {
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwFilterPill.razor.rz.scp.css */
/* Source: ledgerwise-app ui/filter-pill.tsx (2026-07-10).
   h-7 (28px) card pill, rounded-md, hairline border, pl-2.5 (10px) / pr-1 (4px),
   text-13px/500 foreground; muted dimension lead-in; 20px remove button with a
   14px X, hover accent. */

.lw-filter-pill[b-ajleuxbo4t] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding-left: 10px;
    padding-right: 4px;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-text-primary);
    white-space: nowrap;
}

.lw-filter-pill-label[b-ajleuxbo4t] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Muted dimension prefix (reference text-content-secondary). */
.lw-filter-pill-lead[b-ajleuxbo4t] {
    color: var(--lw-gray-graphite);
    margin-right: 0.25em;
}

.lw-filter-pill-remove[b-ajleuxbo4t] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: var(--lw-radius-sm);
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-filter-pill-remove:hover[b-ajleuxbo4t] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.lw-filter-pill-remove svg[b-ajleuxbo4t] {
    display: block;
    width: 14px;
    height: 14px;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwInboxStat.razor.rz.scp.css */
/* Source: ledgerwise-app invoice-inbox-panel.tsx PopulatedState stat
   columns, measured 2026-07-28: 2px tone rule, 12px left pad, value
   28px/700 tracking-tight, label 11px/500 muted-foreground. */

.lw-inbox-stat[b-1bold91pqe] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--lw-border);
}

.lw-inbox-stat--success[b-1bold91pqe] { border-left-color: var(--lw-success-dark); }
.lw-inbox-stat--warning[b-1bold91pqe] { border-left-color: var(--lw-status-warning-fg); }
.lw-inbox-stat--error[b-1bold91pqe]   { border-left-color: var(--lw-destructive); }

.lw-inbox-stat-value[b-1bold91pqe] {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family-heading);
    font-variant-numeric: tabular-nums;
}

.lw-inbox-stat-label[b-1bold91pqe] {
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-gray-space);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwInvoiceNumberEditor.razor.rz.scp.css */
/* Source: canonical repeater -- ledgerwise-ui-app create-step-owner.tsx /
   license-step-content.tsx, as ported in AddProject.razor.css (.pw-owner-card,
   .pw-add-btn), restated here for a single-field item (2026-08-23).
   Spec: rows stacked with a 12px gap; each row is a hairline card (1px
   --lw-border, card radius, white) holding the value as an in-place field
   (14px/500, borderless -- the ROW shows focus via an accent border) and an
   18px graphite trash that goes destructive on hover / when armed. The add
   control is the repeater's 40px full-width outlined button (14px/500, plus
   icon, muted hover). */

.lw-inum[b-sgaoghzdv1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lw-inum-row[b-sgaoghzdv1] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 8px 0 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    background: var(--lw-white);
    transition: border-color 0.15s, background 0.15s;
}

.lw-inum-row:focus-within[b-sgaoghzdv1] {
    border-color: var(--lw-primary-blue);
}

.lw-inum-row--draft[b-sgaoghzdv1] {
    background: var(--lw-form-surface, #FCFDFE);
}

/* Armed-for-removal tint: the destructive token at 6%, expressed as the
   relationship so it tracks --lw-destructive instead of drifting from it. */
.lw-inum-row--armed[b-sgaoghzdv1] {
    border-color: var(--lw-destructive);
    background: color-mix(in srgb, var(--lw-destructive) 6%, var(--lw-white));
}

.lw-inum-field[b-sgaoghzdv1] {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom (US-1043) */
    font-weight: 500;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    outline: none;
    text-overflow: ellipsis;
}

.lw-inum-field[b-sgaoghzdv1]::placeholder {
    font-weight: 400;
    color: var(--lw-gray-graphite, #6E7180);
}

.lw-inum-field:read-only[b-sgaoghzdv1] { cursor: default; }
.lw-inum-field:disabled[b-sgaoghzdv1] { opacity: 0.6; cursor: default; }

.lw-inum-remove[b-sgaoghzdv1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--lw-gray-graphite, #6E7180);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.lw-inum-remove:hover:not(.lw-inum-remove--off)[b-sgaoghzdv1] { color: var(--lw-destructive); }

.lw-inum-remove--armed[b-sgaoghzdv1] {
    color: var(--lw-destructive);
    background: color-mix(in srgb, var(--lw-destructive) 12%, transparent);
}

/* Busy / Disabled look (O14: the button is never natively disabled; the
   handler ignores the press). Same 40% the :disabled rule used to draw. */
.lw-inum-remove--off[b-sgaoghzdv1] { opacity: 0.4; cursor: default; }

.lw-inum-add[b-sgaoghzdv1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background 0.15s;
}

.lw-inum-add:hover:not(.lw-inum-add--off)[b-sgaoghzdv1] { background: var(--lw-bg-muted); }
.lw-inum-add--off[b-sgaoghzdv1] { opacity: 0.5; cursor: default; }

/* Phones (US-1043): 44px tap targets -- the trash fills the row height and the
   add button follows the phone action-height token. */
@media (max-width: 767.98px) {
    .lw-inum-row[b-sgaoghzdv1] {
        gap: 4px;
        padding: 0 0 0 16px;
    }

    .lw-inum-remove[b-sgaoghzdv1] {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .lw-inum-add[b-sgaoghzdv1] {
        height: var(--lw-button-action-height, 44px);
        font-size: var(--lw-button-action-label-size, 15px);
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwInvoiceTracking.razor.rz.scp.css */
/* Source: ledgerwise-app atoms/invoice-tracking.tsx (2026-07-12):
   flex gap-1 (4px); dots size-[5px] rounded-full;
   on = --success-dark, off = --tracking-grey. */

.lw-invoice-tracking[b-6zs0ifj4i3] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lw-invoice-tracking-dot[b-6zs0ifj4i3] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lw-tracking-grey);
}

.lw-invoice-tracking-dot--on[b-6zs0ifj4i3] {
    background: var(--lw-success-dark);
}

/* Phones (US-1043): the strip sits inside a phone card beside the status chip.
   It may wrap rather than push the card wider, and the dots scale to 6px with a
   5px gap so the seven steps stay legible at arm's length (79px total). */
@media (max-width: 767.98px) {
    .lw-invoice-tracking[b-6zs0ifj4i3] {
        flex-wrap: wrap;
        gap: 5px;
        min-width: 0;
    }

    .lw-invoice-tracking-dot[b-6zs0ifj4i3] {
        width: 6px;
        height: 6px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwKpiCard.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/kpi-card.tsx, measured 2026-07-28 on
   /gc/dashboard @ 1400px: card p 20px (mobile 14px), radius 8, hairline
   border, card shadow; label 11px/600 uppercase +0.1em content-secondary;
   value 32px/700 -0.025em foreground; trend 12px/600 success-dark or
   destructive; subtitle 11px muted-foreground; illustration 28px navy.

   Responsiveness (2026-08-20): values are now full-precision currency
   ("$2,153,208.00"), so the card is a size container and the value scales
   with the card's own width (clamp on cqi) instead of jumping 20 -> 32px at
   the 768px viewport. The illustration and subtitle drop out when the card
   is too narrow to hold them, and the foot row wraps instead of squeezing
   the trend chip into a vertical stack. */

.lw-kpi-card[b-z9xbb2ecro] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.875rem;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    container-type: inline-size;
}

@media (min-width: 768px) {
    .lw-kpi-card[b-z9xbb2ecro] {
        padding: 1.25rem;
    }
}

.lw-kpi-label[b-z9xbb2ecro] {
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lw-gray-graphite);
}

@media (min-width: 768px) {
    .lw-kpi-label[b-z9xbb2ecro] { font-size: 11px; }
}

.lw-kpi-value-row[b-z9xbb2ecro] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
    min-width: 0;
}

.lw-kpi-value[b-z9xbb2ecro] {
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    /* cqi = container CONTENT width (padding excluded): 32px once the content
       box is ~290px (card ~330px); 18px floor on 2-up mobile cards. */
    font-size: clamp(18px, 11cqi, 32px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family-heading);
}

/* Fallback for engines without container-query units. */
@supports not (font-size: 1cqi) {
    @media (min-width: 768px) {
        .lw-kpi-value[b-z9xbb2ecro] { font-size: 32px; }
    }
}

.lw-kpi-illustration[b-z9xbb2ecro] {
    display: none;
    flex-shrink: 0;
}

/* Only show the glyph once the card has room for the value beside it. */
@container (min-width: 280px) {
    .lw-kpi-illustration[b-z9xbb2ecro] { display: block; }
}

/* Page-provided MudIcon glyphs: reference lucide size-7 (28px) text-primary. */
.lw-kpi-illustration[b-z9xbb2ecro]  .mud-icon-root {
    display: block;
    width: 28px;
    height: 28px;
    font-size: 28px;
    color: var(--lw-primary-dark);
}

/* Sub-dashboard treatment: size-9 (36px) navy at 40%. */
.lw-kpi-illustration--soft[b-z9xbb2ecro]  .mud-icon-root {
    width: 36px;
    height: 36px;
    font-size: 36px;
    color: color-mix(in srgb, var(--lw-primary-dark) 40%, transparent);
}

.lw-kpi-foot[b-z9xbb2ecro] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Wrapping is for Foot overrides (e.g. "QuickBooks not connected" +
       Connect); the default trend + subtitle row always stays on one line. */
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-top: 0.5rem;
    min-width: 0;
}

@media (min-width: 768px) {
    .lw-kpi-foot[b-z9xbb2ecro] { margin-top: 0.75rem; }
}

.lw-kpi-trend[b-z9xbb2ecro] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .lw-kpi-trend[b-z9xbb2ecro] { font-size: 12px; }
}

.lw-kpi-trend--good[b-z9xbb2ecro] { color: var(--lw-success-dark); }
.lw-kpi-trend--bad[b-z9xbb2ecro]  { color: var(--lw-destructive); }

.lw-kpi-trend[b-z9xbb2ecro]  .lw-kpi-trend-icon {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.lw-kpi-subtitle[b-z9xbb2ecro] {
    display: none;
    font-size: 11px;
    color: var(--lw-gray-space);
    /* basis 0 so it never forces the foot onto a second line -- it shrinks
       and ellipsizes beside the trend chip instead. */
    min-width: 0;
    flex: 1 1 0px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Caption needs a card wide enough for trend + caption on one line. */
@container (min-width: 200px) {
    .lw-kpi-subtitle[b-z9xbb2ecro] { display: inline; }
}

/* Helper for page-provided Foot content: the reference's Connect-style
   accent link (11/12px 600 brand-accent, hover 80%). */
.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-connect {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: var(--lw-primary-blue);
    font-family: var(--lw-font-family);
    transition: color 0.15s;
}

@media (min-width: 768px) {
    .lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-connect { font-size: 12px; }
}

.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-connect:hover {
    color: color-mix(in srgb, var(--lw-primary-blue) 80%, transparent);
}

/* Count caption for sub KPI feet -- reference countLabel: accent 11/500
   (12 on md) with a 12px leading document glyph. */
.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue);
}

@media (min-width: 768px) {
    .lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-count { font-size: 12px; }
}

.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-count .mud-icon-root {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

/* Muted caption used by disconnected states in page Foot content. */
.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-foot-muted {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    font-size: 11px;
    color: var(--lw-gray-space);
}

@media (min-width: 768px) {
    .lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-foot-muted { font-size: 12px; }
}

.lw-kpi-foot[b-z9xbb2ecro]  .lw-kpi-foot-muted .mud-icon-root {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

/* Opt-in phone row (US-926) -- the Project Owner overview KPI strip (US-798,
   ClientProjectOverview .cpo-kpi): below 600px two half-width cards forced long
   captions to clip ("5 invoices awaiting p..."), so each KPI takes a full-width
   row instead: figure at 20px with its label beside it (reordered from the
   owner strip at Cody's request, 2026-09-23), foot caption beneath. The illustration drops out (the container query would otherwise
   show it on a full-width card). The host grid goes one column. */
@media (max-width: 599px) {
    .lw-kpi-card--phone-row[b-z9xbb2ecro] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: baseline;
        column-gap: 0.5rem;
        row-gap: 0;
        padding: 0.75rem 1rem;
    }

    /* Figure first with the label right beside it (Cody, 2026-09-23: "switch
       the label and the value", then "put the label next to the value") --
       the amount is what the row is read for; the label reads as its unit. */
    .lw-kpi-card--phone-row .lw-kpi-label[b-z9xbb2ecro] {
        grid-row: 1;
        grid-column: 2;
    }

    .lw-kpi-card--phone-row .lw-kpi-value-row[b-z9xbb2ecro] {
        grid-row: 1;
        grid-column: 1;
        margin-top: 0;
    }

    .lw-kpi-card--phone-row .lw-kpi-value[b-z9xbb2ecro] {
        font-size: 20px;
    }

    .lw-kpi-card--phone-row .lw-kpi-illustration[b-z9xbb2ecro] {
        display: none;
    }

    .lw-kpi-card--phone-row .lw-kpi-foot[b-z9xbb2ecro] {
        grid-row: 2;
        grid-column: 1 / -1;
        margin-top: 0.25rem;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwLabelValue.razor.rz.scp.css */
/* Source: ledgerwise-ui review grids (ProjectCreateModal review step), measured
   2026-07-24 and re-used by VendorSummary (US-983): 11px/500 uppercase label with
   0.025em tracking in gray-space, 2px gap, 14px/20px value in the primary text
   colour that wraps anywhere rather than overflowing a fixed grid column. */
.lw-label-value[b-ukyefglvqt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lw-label-value__label[b-ukyefglvqt] {
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.lw-label-value__value[b-ukyefglvqt] {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwLegend.razor.rz.scp.css */
/* LwLegend -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18): flex, 16px between items, wrapping; swatch 10px square with
   radius 2, 6px from the name; 12.5px content-secondary. Small: 8px swatches.
   Hatched: the design's repeating-linear-gradient(45deg, #BCBFCC 0 2px, #E4E6EC 2px 6px) --
   grayscale Steel, and Steel at 40% over white. LwColumnChart paints the same hatch. */

.lw-legend[b-lwxl91jy96] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 12.5px;
    color: var(--lw-gray-graphite);
}

.lw-legend-item[b-lwxl91jy96] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.lw-legend-swatch[b-lwxl91jy96] {
    display: block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.lw-legend--sm .lw-legend-swatch[b-lwxl91jy96] {
    width: 8px;
    height: 8px;
}

.lw-legend-swatch--chart-1[b-lwxl91jy96] { background: var(--lw-chart-1); }
.lw-legend-swatch--chart-2[b-lwxl91jy96] { background: var(--lw-chart-2); }
.lw-legend-swatch--chart-3[b-lwxl91jy96] { background: var(--lw-chart-3); }

.lw-legend-swatch--hatched[b-lwxl91jy96] {
    background: repeating-linear-gradient(
        45deg,
        var(--lw-gray-steel) 0 2px,
        color-mix(in srgb, var(--lw-gray-steel) 40%, var(--lw-white)) 2px 6px);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwListCard.razor.rz.scp.css */
/* Source: ledgerwise-ui project list card shell. Surface = white, hairline
   border, 8px radius, card shadow; rows divided by 1px hairlines (owned by
   LwListRow's top border), corner-clipped via overflow:hidden. */

.lw-list-card[b-w8aafjsbrn] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
}

/* Desktop-only column header (hidden < md): table-header surface, muted
   14px/500 labels, same horizontal rhythm as a row. */
.lw-list-header[b-w8aafjsbrn] {
    display: none;
}

@media (min-width: 768px) {
    .lw-list-header[b-w8aafjsbrn] {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 10px 16px;
        background: var(--lw-bg-table-header);
        font-size: 14px;
        font-weight: 500;
        color: var(--lw-gray-graphite);
    }
}

/* -- Phone cards mode (.lw-list-card--phone-cards, US-798) -- */
/* Opt-in: below 768px the single bordered card of hairline-divided rows
   becomes a stack of separate cards, so each row can grow tall enough to show
   its full title instead of ellipsizing it against the trailing badge (Cody,
   2026-09-03). The surface itself goes transparent and the rows take the card
   chrome. Row internals (lead identity, mobile trailing) are reached with
   ::deep -- this component's root is a plain div, so the scope lands on it. */
@media (max-width: 767.98px) {
    .lw-list-card--phone-cards[b-w8aafjsbrn] {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        gap: 8px;
    }

    .lw-list-card--phone-cards[b-w8aafjsbrn]  .lw-list-row {
        align-items: flex-start;
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 12px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }

    /* The trailing badge drops onto its own line, indented past the avatar, so
       the identity block owns the full first line. */
    .lw-list-card--phone-cards[b-w8aafjsbrn]  .lw-list-row-trailing-mobile {
        /* 56px = avatar (40) + row gap (16). Subtract it from the basis or the
           indent pushes the item past the card edge. */
        flex-basis: calc(100% - 56px);
        margin-left: 56px;
    }
}

/* -- Flush mode (.lw-list-card--flush, US-926) -- */
/* Opt-in: the list lives inside a host surface (LwPanel) rather than being a
   card of its own, so the card chrome goes and a top hairline separates it
   from the host's header. Rows and the column header take the panel's 20px
   horizontal inset (LwPanel px-5) so everything aligns under the panel title.
   First consumer: the subcontractor dashboard's Active projects panel. */
.lw-list-card--flush[b-w8aafjsbrn] {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--lw-border);
    border-radius: 0;
    box-shadow: none;
}

.lw-list-card--flush[b-w8aafjsbrn]  .lw-list-row {
    padding-left: 20px;
    padding-right: 20px;
}

/* Split rows (with an Actions column) carry their inset inside, like the default card: the
   link region takes the 20px left inset and the actions cell makes up the right edge, so the
   Trailing cells end where the column header's stats end (header: 20px pad + 16px actions
   spacer + 16px gap = 52px = actions cell 8 + 32 + 12). Without this the flush inset was
   added on top and every column sat 16px off its header (US-926, Cody 2026-09-29). */
.lw-list-card--flush[b-w8aafjsbrn]  .lw-list-row--split {
    padding-left: 0;
    padding-right: 0;
}

.lw-list-card--flush[b-w8aafjsbrn]  .lw-list-row--split .lw-list-row-link {
    padding-left: 20px;
}

.lw-list-card--flush[b-w8aafjsbrn]  .lw-list-row--split .lw-list-row-actions {
    padding-right: 12px;
}

@media (min-width: 768px) {
    .lw-list-card--flush .lw-list-header[b-w8aafjsbrn] {
        padding: 10px 20px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwListRow.razor.rz.scp.css */
/* Source: ledgerwise-ui project list row. Flex row, 16px gap, 12px/16px
   padding, hairline top divider, accent hover; entire row is the link. */

.lw-list-row[b-96f13kmo8d] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-top: 1px solid var(--lw-border);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.12s ease;
}

.lw-list-row:first-child[b-96f13kmo8d] {
    border-top: 0;
}

/* Accent hover only on rows that do something -- a link, an OnClick row, or a split row
   whose link region is live (US-926, Cody 2026-09-29: static rows such as payments looked
   selectable). Static rows (no Href / OnClick) stay flat.
   Exactly ONE element takes the fill: on a split row it is the outer row (so the
   tint covers the actions cell and follows the card radius in phone-cards mode).
   The inner OnClick link region also carries .lw-list-row--clickable (for the
   pointer cursor) and must NOT take a fill of its own -- --lw-accent is
   translucent, so a second layer showed as a darker square box inside the row
   (US-1043, Cody 2026-10-12). */
a.lw-list-row:hover[b-96f13kmo8d],
.lw-list-row--clickable:not(.lw-list-row-link):hover[b-96f13kmo8d],
.lw-list-row--split:has(> a.lw-list-row-link, > .lw-list-row-link.lw-list-row--clickable):hover[b-96f13kmo8d] {
    background: var(--lw-accent);
}

/* Split variant (row with an Actions column): the padding moves to the inner
   link region so the sibling actions cell stays outside the anchor
   (reference: outer flex row, Link py-3 pl-4 flex-1, actions div px-2). */
.lw-list-row--split[b-96f13kmo8d] {
    padding: 0;
    /* Cancel the base row gap: the actions cell carries its own 8px pads, and
       any gap here shifts the trailing columns out from under the header. */
    gap: 0;
}

.lw-list-row-link[b-96f13kmo8d] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
    padding: 12px 0 12px 16px;
    text-decoration: none;
    color: inherit;
}

.lw-list-row-actions[b-96f13kmo8d] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 8px;
}

/* Modal-driven rows (OnClick, no Href) still read as clickable. */
.lw-list-row--clickable[b-96f13kmo8d] {
    cursor: pointer;
}

/* New-row highlight: info-tinted, fades out. */
.lw-list-row--highlight[b-96f13kmo8d] {
    background: var(--lw-status-info-bg);
    transition: background-color 0.7s ease;
}

.lw-list-row-lead[b-96f13kmo8d] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}

/* Desktop stat columns -- hidden < md (reference drops numeric cols on mobile). */
.lw-list-row-trailing[b-96f13kmo8d] {
    display: none;
}

@media (min-width: 768px) {
    .lw-list-row-trailing[b-96f13kmo8d] {
        display: flex;
        align-items: center;
        gap: 24px;
        flex-shrink: 0;
    }
}

/* Mobile trailing (e.g. status badge) -- shown only < md. */
.lw-list-row-trailing-mobile[b-96f13kmo8d] {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .lw-list-row-trailing-mobile[b-96f13kmo8d] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwListStat.razor.rz.scp.css */
/* Source: ledgerwise-ui ProjectStat. Right-aligned column, tabular numerals. */

.lw-list-stat[b-qthyznipaf] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-variant-numeric: tabular-nums;
}

.lw-list-stat-value[b-qthyznipaf] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    /* Text values (e.g. an owner name in the contractor list) truncate
       instead of overflowing the fixed column. */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-list-stat--muted .lw-list-stat-value[b-qthyznipaf] {
    color: var(--lw-gray-space);
}

.lw-list-stat-label[b-qthyznipaf] {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    /* reference: tracking-wide = 0.025em (was 0.04em, too wide). */
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

/* Label-first: the same cell read across a panel instead of down a list. Only
   direction and alignment change -- type treatment is shared with the default. */
.lw-list-stat--label-first[b-qthyznipaf] {
    align-items: flex-start;
}

/* Alert: the dashboard's below-minimum treatment (red figure, red
   sentence-case tag under it). */
.lw-list-stat--alert .lw-list-stat-value[b-qthyznipaf],
.lw-list-stat--alert .lw-list-stat-label[b-qthyznipaf] {
    color: var(--lw-status-error-fg);
}

.lw-list-stat--alert .lw-list-stat-label[b-qthyznipaf] {
    text-transform: none;
    letter-spacing: 0;
}

/* Label only where there is no column header (below md). */
@media (min-width: 768px) {
    .lw-list-stat--label-mobile .lw-list-stat-label[b-qthyznipaf] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwLoadingBlock.razor.rz.scp.css */
/* LwLoadingBlock (US-926): skeleton lines + caption inside a card body. */
.lw-loading-block[b-5cwq9z620s] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
}

.lw-loading-block[b-5cwq9z620s]  .lw-loading-block__line {
    border-radius: 4px;
}

.lw-loading-block__caption[b-5cwq9z620s] {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwMeter.razor.rz.scp.css */
/* LwMeter -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18):
     track   --secondary; radius half the height; fills clipped to it
     sizes   6px (table row, tile split bar), 8px (drill-down lists), 10px (project budget)
     fill    chart-1 / chart-2 / chart-3, the same radius as the track
     tinted  the design's #DCE9F1 track under a chart-1 fill, written as what it is:
             chart-1 at 15% over white
     split   fills share the bar by flex, 2px apart (the surface shows through) */

.lw-meter[b-202sxejyzx] {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    background: var(--lw-bg-secondary);
}

.lw-meter--sm[b-202sxejyzx] { height: 6px; border-radius: 3px; }
.lw-meter--md[b-202sxejyzx] { height: 8px; border-radius: 4px; }
.lw-meter--lg[b-202sxejyzx] { height: 10px; border-radius: 5px; }

.lw-meter--tinted[b-202sxejyzx] {
    background: color-mix(in srgb, var(--lw-chart-1) 15%, var(--lw-white));
}

.lw-meter--split[b-202sxejyzx] {
    gap: 2px;
}

.lw-meter-fill[b-202sxejyzx] {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.lw-meter-fill--chart-1[b-202sxejyzx] { background: var(--lw-chart-1); }
.lw-meter-fill--chart-2[b-202sxejyzx] { background: var(--lw-chart-2); }
.lw-meter-fill--chart-3[b-202sxejyzx] { background: var(--lw-chart-3); }
/* _content/Ledgerwise/Components/Shared/Atoms/LwMiniBars.razor.rz.scp.css */
/* LwMiniBars -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18), the mini visuals on the KPI tiles:
     box        34px tall, bars standing on its floor
     highlight  bars 6px wide, 3px apart, grayscale Smoke; the last one chart-1
     soft       bars 8px wide, 4px apart, light brand blue
     bar        radius 2 on the top corners, height set inline (2px to 34px) */

.lw-mini-bars[b-4m2guvdq8b] {
    display: inline-flex;
    align-items: flex-end;
    height: 34px;
}

.lw-mini-bars--highlight[b-4m2guvdq8b] { gap: 3px; }
.lw-mini-bars--soft[b-4m2guvdq8b] { gap: 4px; }

.lw-mini-bar[b-4m2guvdq8b] {
    display: block;
    border-radius: 2px 2px 0 0;
}

.lw-mini-bars--highlight .lw-mini-bar[b-4m2guvdq8b] {
    width: 6px;
    background: var(--lw-gray-smoke);
}

.lw-mini-bars--highlight .lw-mini-bar--current[b-4m2guvdq8b] {
    background: var(--lw-chart-1);
}

.lw-mini-bars--soft .lw-mini-bar[b-4m2guvdq8b] {
    width: 8px;
    background: var(--lw-primary-blue-light);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwModalBody.razor.rz.scp.css */
/* Spec from ledgerwise-app src/components/ui/dialog.tsx DialogBody (2026-07-10):
   24px padding, transparent over the dialog's form-surface panel. The 16px
   column gap matches the filter modals' field stack (DialogBody callers pass
   flex flex-col gap-4 in the reference). Chrome previously lived globally in
   app.css as .lw-filter-modal .mud-dialog-content + .lw-filter-fields. */

.lw-modal-body[b-8zjm5ibpj2] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: transparent;
}

/* Phones (US-926): 16px inset like LwModalHeader / LwModalFooter (O10), so the
   three regions of a bottom sheet share one gutter. Flush dialogs
   (.lw-modal--flush) still zero it from app.css. */
@media (max-width: 767.98px) {
    .lw-modal-body[b-8zjm5ibpj2] {
        padding: 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwModalFooter.razor.rz.scp.css */
/* Spec from ledgerwise-app src/components/ui/dialog.tsx DialogFooter (2026-07-10),
   as measured for the project filter modal: 16px/24px padding, top hairline,
   transparent over the form-surface panel; buttons normalized to the 40px
   action shape (h-10, control radius, 14px/500). Variant classes mirror the
   reference Button variants: ghost (Reset), outline (Cancel/DialogClose),
   primary (navy CTA). Chrome previously lived globally in app.css as
   .lw-filter-reset/.lw-filter-cancel/.lw-filter-apply. */

.lw-modal-footer[b-kz30z1z62x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border-top: 1px solid var(--lw-border);
}

.lw-modal-footer-left[b-kz30z1z62x] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lw-modal-footer-actions[b-kz30z1z62x] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* Sizing contract: every button in the footer takes the 40px action shape. */
.lw-modal-footer[b-kz30z1z62x]  button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    border-radius: var(--lw-radius-control);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    transition: background 0.15s ease, color 0.15s ease;
}

/* Disabled state: reference Button contract disabled:opacity-50. */
.lw-modal-footer[b-kz30z1z62x]  button:disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* Ghost: transparent text button (Reset). */
.lw-modal-footer[b-kz30z1z62x]  .lw-modal-ghost {
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--lw-gray-graphite);
}

.lw-modal-footer[b-kz30z1z62x]  .lw-modal-ghost:hover {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

/* Outline: secondary action (Cancel). */
.lw-modal-footer[b-kz30z1z62x]  .lw-modal-outline {
    padding: 0 16px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    color: var(--lw-text-primary);
}

.lw-modal-footer[b-kz30z1z62x]  .lw-modal-outline:hover {
    background: var(--lw-accent);
}

/* Primary: navy filled CTA (Apply). */
.lw-modal-footer[b-kz30z1z62x]  .lw-modal-primary {
    padding: 0 16px;
    border: 0;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lw-modal-footer[b-kz30z1z62x]  .lw-modal-primary:hover {
    background: var(--lw-primary-dark-hover);
}

/* Destructive confirm (reference: bg-destructive text-white, hover /90). */
.lw-modal-footer[b-kz30z1z62x]  .lw-modal-destructive {
    padding: 0 16px;
    border: 0;
    background: var(--lw-destructive);
    color: var(--lw-white);
}

.lw-modal-footer[b-kz30z1z62x]  .lw-modal-destructive:hover {
    background: color-mix(in srgb, var(--lw-destructive) 90%, var(--lw-white));
}

/* Phones (US-926): 16px side gutter (O10), same as LwModalHeader. O8 (promoted
   in US-1043 from the owner review sheets): the secondary keeps its label width
   and the primary fills the rest of the row; a left slot (Delete) wraps onto
   its own row when the three do not fit (360px: Delete / Close + Submit). */
@media (max-width: 767.98px) {
    .lw-modal-footer[b-kz30z1z62x] {
        flex-wrap: wrap;
        row-gap: 8px;
        padding: 16px;
    }

    .lw-modal-footer-actions[b-kz30z1z62x] {
        flex: 1 1 auto;
        min-width: 0;
        /* A lone secondary (read-only sheets: Close) stays at the right edge. */
        justify-content: flex-end;
    }

    .lw-modal-footer[b-kz30z1z62x]  .lw-modal-primary,
    .lw-modal-footer[b-kz30z1z62x]  .lw-modal-destructive {
        flex: 1 1 auto;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwModalHeader.razor.rz.scp.css */
/* Spec from ledgerwise-app src/components/ui/dialog.tsx DialogHeader (2026-07-10),
   as measured for the project filter modal: white bar over the form-surface
   panel, bottom hairline, 16px/24px padding; title 16px/700, subtitle 13px
   graphite; 28px icon close with accent hover. Chrome previously lived
   globally in app.css as .lw-filter-header/.lw-filter-title/etc. */

.lw-modal-header[b-7r6pfu8e9s] {
    display: flex;
    /* Reference DialogHeader is items-center (icon, title block, X). */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.lw-modal-header-text[b-7r6pfu8e9s] {
    min-width: 0;
    flex: 1;
}

/* Title + optional inline badge (full-page modal context pill beside the
   title, reference gc-allocation-wizard.tsx header). */
.lw-modal-title-row[b-7r6pfu8e9s] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lw-modal-title[b-7r6pfu8e9s] {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--lw-font-family);
    font-size: 16px;
    line-height: 22px;
    font-weight: var(--lw-font-bold);
    color: var(--lw-text-primary);
}

.lw-modal-title-badge[b-7r6pfu8e9s] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.lw-modal-subtitle[b-7r6pfu8e9s] {
    margin: 2px 0 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.lw-modal-close[b-7r6pfu8e9s] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-space);
    cursor: pointer;
    border-radius: var(--lw-radius-control);
    transition: background 0.15s ease, color 0.15s ease;
}

.lw-modal-close:hover[b-7r6pfu8e9s] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

/* Leading icon slot (accept-proposal-modal.tsx icon titles): the caller's
   roundel/glyph markup keeps its own scoped chrome; this wrapper only
   aligns it with the title line. */
.lw-modal-header-icon[b-7r6pfu8e9s] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

/* Right-aligned action cluster before the close button (reference drawer
   headers: prev/next nav + counter + hairline divider). */
.lw-modal-header-actions[b-7r6pfu8e9s] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Phones (US-926): 16px side gutter like every other phone surface (O10) and a
   32px close target -- matching the bespoke detail-sheet headers
   (ViewInvoiceModal) so sheets read the same size. */
@media (max-width: 767.98px) {
    .lw-modal-header[b-7r6pfu8e9s] {
        padding: 16px;
    }

    .lw-modal-close[b-7r6pfu8e9s] {
        width: 32px;
        height: 32px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwNumericField.razor.rz.scp.css */
/* LwNumericField -- source: ledgerwise-app ui/field-shell.tsx (same measured
   FieldShell spec as LwTextField.razor.css, 2026-07-25): 54px white box,
   radius 8, border --lw-input-border, 14/400 value, notched label with the
   muted -> graphite -> phantom state colors. MudNumericField renders the same
   mud-input-outlined structure as MudTextField, so the recipe carries over. */

.lw-numfield[b-55e9i9fybx] {
    width: 100%;
}

.lw-numfield[b-55e9i9fybx]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.lw-numfield[b-55e9i9fybx]  .mud-input-control {
    margin-top: 0;
}

.lw-numfield[b-55e9i9fybx]  .mud-input-outlined {
    font-size: 14px;
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.lw-numfield[b-55e9i9fybx]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    /* Input token: 14px desktop, 16px phones (Task-832) so iOS does not zoom
       the page when the field takes focus (US-926). */
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 22px;
}

.lw-numfield[b-55e9i9fybx]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

.lw-numfield[b-55e9i9fybx]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

.lw-numfield[b-55e9i9fybx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.lw-numfield[b-55e9i9fybx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(0.857);
}

.lw-numfield[b-55e9i9fybx]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.lw-numfield[b-55e9i9fybx]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* FieldShell placeholder behavior -- hide the placeholder and re-seat the
   label while empty and unfocused (see LwTextField.razor.css). AlwaysFloat
   (lw-numfield--float) opts out: label stays in the notch, placeholder shows. */
.lw-numfield:not(.lw-numfield--float)[b-55e9i9fybx]  .mud-input.mud-input-outlined:not(:focus-within) input.mud-input-slot::placeholder {
    color: transparent;
}

.lw-numfield:not(.lw-numfield--float)[b-55e9i9fybx]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    color: var(--lw-gray-space);
}

.lw-numfield:not(.lw-numfield--float)[b-55e9i9fybx]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) .mud-input-outlined-border legend {
    max-width: 0;
    padding: 0;
}

/* Border states -- rest = --lw-input-border 1px; hover = no change;
   focus = 1px foreground (mirror Mud's own selectors). */
.lw-numfield[b-55e9i9fybx]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.lw-numfield[b-55e9i9fybx]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.lw-numfield[b-55e9i9fybx]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

.lw-numfield[b-55e9i9fybx]  .mud-input-adornment-start .mud-input-adornment-text {
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* The floated label sits ON the border, and the white field fill starts halfway down it, so
   the fill's top edge (and Chrome's blue autofill tint) read as a line through the label
   (Cody 2026-09-29, US-926). The label carries the field's white behind its text -- a small
   tab on the border -- and autofilled inputs keep the white fill. Invisible on white cards. */
.lw-numfield[b-55e9i9fybx]  .mud-input-label-outlined {
    background-color: var(--lw-white);
    border-radius: 4px;
}

.lw-numfield[b-55e9i9fybx]  input.mud-input-slot:is(:autofill, :-webkit-autofill) {
    -webkit-box-shadow: 0 0 0 1000px var(--lw-white) inset;
    box-shadow: 0 0 0 1000px var(--lw-white) inset;
    -webkit-text-fill-color: var(--lw-text-primary);
}

/* -- Label info glyph (US-1131) -- drawn by the atom beside a hidden copy of the label, at the
   floated label's transform, so it sits in the notch after the text. The legend is padded to
   leave the notch open for it. While the label rests inside an empty, unfocused box the glyph
   rests beside it there. */
.lw-numfield[b-55e9i9fybx] {
    position: relative;
}

.lw-numfield__labelinfo[b-55e9i9fybx] {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 2px;
    transform: translate(13px, -6px) scale(0.857);
    transform-origin: top left;
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: normal;
    white-space: nowrap;
    pointer-events: none;
}

.lw-numfield__labelghost[b-55e9i9fybx] {
    visibility: hidden;
}

/* !important: Mud's focus-within / shrink rules set the legend's padding at higher specificity
   and would close the notch over the glyph. */
.lw-numfield--info[b-55e9i9fybx]  .mud-input.mud-input-outlined .mud-input-outlined-border legend {
    padding-right: 24px !important;
}

/* Resting label (empty, unfocused): the label sits inside the box at full size, so the glyph
   follows it there, at 16px, and the tip drops its scale compensation. */
.lw-numfield:not(.lw-numfield--float):has(.mud-input.mud-input-outlined.mud-shrink:not(:focus-within) input.mud-input-slot:placeholder-shown) .lw-numfield__labelinfo[b-55e9i9fybx] {
    /* Half the 54px box, not 50% of the wrapper (which also holds the helper line). */
    top: 27px;
    transform: translate(13px, -50%) scale(1);
}

.lw-numfield:not(.lw-numfield--float):has(.mud-input.mud-input-outlined.mud-shrink:not(:focus-within) input.mud-input-slot:placeholder-shown) .lw-numfield__info[b-55e9i9fybx]  .lw-numfield__info-glyph {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.lw-numfield:not(.lw-numfield--float):has(.mud-input.mud-input-outlined.mud-shrink:not(:focus-within) input.mud-input-slot:placeholder-shown) .lw-numfield__info-tip[b-55e9i9fybx] {
    width: 17.5rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
}

/* Label info glyph (US-1131): Material's filled Info in the floated label's notch, with the
   app's CSS tooltip (MudTooltip teleports out of scoped-CSS reach). The label is drawn at
   scale(0.857), so the glyph and tip are sized up to land at 16px and 12px on screen. */
.lw-numfield__info[b-55e9i9fybx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1px;
    color: var(--lw-gray-space);
    outline: none;
    pointer-events: auto;
    transition: color 120ms ease;
}

.lw-numfield__info:hover[b-55e9i9fybx],
.lw-numfield__info:focus-visible[b-55e9i9fybx] {
    color: var(--lw-gray-graphite);
}

.lw-numfield__info[b-55e9i9fybx]  .lw-numfield__info-glyph {
    display: block;
    width: 18.7px;
    height: 18.7px;
    font-size: 18.7px;
    color: currentColor !important;
}

.lw-numfield__info:focus-visible[b-55e9i9fybx]  .lw-numfield__info-glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.lw-numfield__info-tip[b-55e9i9fybx] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: 20.4rem;
    max-width: 78vw;
    padding: 0.73rem 0.875rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.lw-numfield__info:hover .lw-numfield__info-tip[b-55e9i9fybx],
.lw-numfield__info:focus-visible .lw-numfield__info-tip[b-55e9i9fybx],
.lw-numfield__info:focus-within .lw-numfield__info-tip[b-55e9i9fybx] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwOnboardingVideoCard.razor.rz.scp.css */
/* LwOnboardingVideoCard (US-1140). Chrome from --lw-* tokens; the poster matches the
   dashboard tile (Home.razor.css .hd-gs-video*). */
.lw-ovc[b-01c9ywd715] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    text-align: left;
}

/* Inside a parent card: same hairline and 28px rhythm as LwEmptyState's points grid. */
.lw-ovc--inline[b-01c9ywd715] {
    padding: 28px 0 0;
    border: 0;
    border-top: 1px solid var(--lw-border);
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* The whole poster and text row plays the video. */
.lw-ovc-main[b-01c9ywd715] {
    display: grid;
    flex: 1;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lw-ovc-main:focus-visible[b-01c9ywd715],
.lw-ovc-toggle:focus-visible[b-01c9ywd715] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.lw-ovc-poster[b-01c9ywd715] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background:
        radial-gradient(360px 220px at 10% 0%, color-mix(in srgb, var(--lw-primary-blue) 30%, transparent) 0%, transparent 70%),
        var(--lw-primary-dark);
    overflow: hidden;
}

.lw-ovc-still[b-01c9ywd715] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lw-ovc-play[b-01c9ywd715] {
    /* Bottom-right corner, clear of the title centred on the poster. */
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%; /* a circle: no --lw-radius token is one at this size */
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-md);
    transition: transform 120ms ease;
}

.lw-ovc-play[b-01c9ywd715]  .mud-icon-root {
    color: var(--lw-primary-dark);
    font-size: 1.125rem;
}

.lw-ovc-main:hover .lw-ovc-play[b-01c9ywd715] { transform: scale(1.06); }
.lw-ovc-main:hover .lw-ovc-title[b-01c9ywd715] { color: var(--lw-primary-blue); }

.lw-ovc-text[b-01c9ywd715] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lw-ovc-kicker[b-01c9ywd715] {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.lw-ovc-title[b-01c9ywd715] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
    transition: color 120ms ease;
}

.lw-ovc-meta[b-01c9ywd715] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Minimize and Show: one quiet outlined control, the chevron says which way it moves. */
.lw-ovc-toggle[b-01c9ywd715] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 32px;
    padding: 0 8px 0 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-gray-graphite);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.lw-ovc-toggle:hover[b-01c9ywd715] {
    background: var(--lw-bg-muted);
    color: var(--lw-primary-dark);
}

.lw-ovc-toggle[b-01c9ywd715]  .mud-icon-root { font-size: 1.125rem; }
.lw-ovc-toggle--end[b-01c9ywd715] { margin-left: auto; }

/* Minimized: a slim row with the title and Show. */
.lw-ovc--min[b-01c9ywd715] {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.lw-ovc--inline.lw-ovc--min[b-01c9ywd715] {
    padding: 20px 0 0;
}

.lw-ovc--min[b-01c9ywd715]  .lw-ovc-min-icon {
    flex: none;
    font-size: 1.125rem;
    color: var(--lw-primary-blue);
}

.lw-ovc-min-title[b-01c9ywd715] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.lw-ovc-min-meta[b-01c9ywd715] {
    flex: none;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Stacked: poster over text in a narrow column, at any width. */
.lw-ovc--stack:not(.lw-ovc--min)[b-01c9ywd715] { position: relative; }
.lw-ovc--stack .lw-ovc-main[b-01c9ywd715] { grid-template-columns: minmax(0, 1fr); }
.lw-ovc--stack .lw-ovc-text[b-01c9ywd715] { padding-right: 108px; }

.lw-ovc--stack:not(.lw-ovc--min) .lw-ovc-toggle[b-01c9ywd715] {
    position: absolute;
    right: 16px;
    bottom: 16px;
}

/* Phones: poster on top; the toggle goes icon-only (the 44px target) beside the text. */
@media (max-width: 599.98px) {
    .lw-ovc:not(.lw-ovc--min)[b-01c9ywd715] { position: relative; }

    .lw-ovc-main[b-01c9ywd715] { grid-template-columns: minmax(0, 1fr); }
    .lw-ovc-text[b-01c9ywd715],
    .lw-ovc--stack .lw-ovc-text[b-01c9ywd715] { padding-right: 52px; }

    .lw-ovc-toggle[b-01c9ywd715] {
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .lw-ovc:not(.lw-ovc--min) .lw-ovc-toggle[b-01c9ywd715] {
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .lw-ovc:not(.lw-ovc--min):not(.lw-ovc--inline) .lw-ovc-toggle[b-01c9ywd715] {
        right: 16px;
        bottom: 16px;
    }

    .lw-ovc-toggle-label[b-01c9ywd715],
    .lw-ovc-min-meta[b-01c9ywd715] { display: none; }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwPacketBreakdown.razor.rz.scp.css */
/* LwPacketBreakdown -- per-document ledger of a multi-document upload.
   Source: ledgerwise-ui src/components/molecules/adjustment-cost-breakdown.tsx
   (measured 2026-08-04).
   Spec: rounded-md = --lw-radius-control (8px); border 1px --border;
   bg-muted/30; p-3 = 12px; rows space-y-1.5 = 6px; row text-sm = 14px;
   divider my-2 = 8px, border-t 1px --border; total row 14px/600;
   amounts tabular-nums 500; credit amounts --success-text. */

.lw-packet[b-o8sne942id] {
    padding: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background-color: color-mix(in srgb, var(--lw-bg-muted) 30%, transparent);
}

.lw-packet-head[b-o8sne942id] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.lw-packet-title[b-o8sne942id] {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-body-color);
}

.lw-packet-count[b-o8sne942id] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.lw-packet-rows[b-o8sne942id] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lw-packet-row[b-o8sne942id] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* The number column takes the slack so the chip, page and amount columns keep
   a stable right edge however long a vendor's numbering runs. */
.lw-packet-number[b-o8sne942id] {
    flex: 1 1 auto;
    min-width: 0;
}

.lw-packet-page[b-o8sne942id] {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
}

.lw-packet-amount[b-o8sne942id] {
    flex: 0 0 auto;
    min-width: 92px;
    text-align: right;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--bs-body-color);
}

.lw-packet-amount--credit[b-o8sne942id] {
    color: var(--lw-status-success-fg);
}

.lw-packet-remove[b-o8sne942id] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: var(--lw-radius-control);
    background-color: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-packet-remove:hover[b-o8sne942id] {
    background-color: var(--lw-bg-secondary);
    color: var(--bs-body-color);
}

.lw-packet-remove[b-o8sne942id]  .mud-icon-root {
    font-size: 16px;
}

.lw-packet-divider[b-o8sne942id] {
    margin: 8px 0;
    border-top: 1px solid var(--lw-border);
}

.lw-packet-total[b-o8sne942id] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-body-color);
}

.lw-packet-total-amount[b-o8sne942id] {
    font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
    .lw-packet[b-o8sne942id] {
        padding: 16px;
    }
}

/* Phone (US-1043): number + chip + page + 92px amount + remove do not fit one
   line at 360 (the number was left ~60px). Each document becomes two lines:
   the editable number with its remove button, then chip, pages and the amount
   pushed right. Remove is a 44px target. With no remove button (ReadOnly) the
   number simply takes the whole first line. */
@media (max-width: 767.98px) {
    .lw-packet-head[b-o8sne942id] {
        flex-wrap: wrap;
    }

    .lw-packet-rows[b-o8sne942id] {
        gap: 10px;
    }

    .lw-packet-row[b-o8sne942id] {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .lw-packet-number[b-o8sne942id] {
        order: -2;
        flex: 1 1 calc(100% - 52px);
    }

    .lw-packet-remove[b-o8sne942id] {
        order: -1;
        width: 44px;
        height: 44px;
    }

    .lw-packet-amount[b-o8sne942id] {
        min-width: 0;
        margin-left: auto;
    }

    .lw-packet-total[b-o8sne942id] {
        gap: 8px;
    }

    .lw-packet-total-amount[b-o8sne942id] {
        flex-shrink: 0;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwPager.razor.rz.scp.css */
/* Source: ledgerwise-app critical-tasks-panel.tsx pagination (measured
   2026-07-28). DELIBERATE DEVIATION (Cody, 2026-07-28): the reference
   renders three disjoint pieces (rounded shadowed buttons around a
   square muted indicator), which reads as misaligned; here the pager is
   one connected segment -- single hairline border, rounded outer
   corners, internal hairline dividers, one card shadow. Cell sizes and
   type (36px cells, 16px chevrons, 11px/500 tabular indicator on the
   muted fill) keep the reference's proportions. */

.lw-pager[b-myhworx6ky] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    overflow: hidden;
}

.lw-pager-btn[b-myhworx6ky] {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--lw-white);
    border: none;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-pager-btn:hover:not(.lw-pager-btn--end)[b-myhworx6ky] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

/* End of the range: muted, still a real button (O14); the atom ignores the tap. */
.lw-pager-btn--end[b-myhworx6ky] {
    cursor: default;
    opacity: 0.3;
}

.lw-pager-indicator[b-myhworx6ky] {
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border-left: 1px solid var(--lw-border);
    border-right: 1px solid var(--lw-border);
    background: var(--lw-bg-muted);
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--lw-text-primary);
    box-sizing: border-box;
}

.lw-pager-btn[b-myhworx6ky]  .lw-pager-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Phones (US-1043, A3): 44px chevron cells and indicator (36px on desktop). */
@media (max-width: 767.98px) {
    .lw-pager-btn[b-myhworx6ky] {
        width: 44px;
        height: 44px;
    }

    .lw-pager-indicator[b-myhworx6ky] {
        height: 44px;
        line-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwPageTabs.razor.rz.scp.css */
/* LwPageTabs -- page-level underline tab strip.
   Source: Project.razor.css .project-tabs (project detail), measured from
   ledgerwise-app project-header.tsx. Spec: white bar, 16px top / 24px side
   padding, hairline bottom border; tabs 40px tall, content-sized, 32px
   apart, 14px / 500, letter-spacing 0; inactive content-secondary
   (--lw-gray-graphite), hover and active foreground (--lw-text-primary);
   active = 2px foreground underline drawn as an inset shadow on the tab;
   overflow scrolls natively with no scrollbar. Ported 2026-10-04. */

.lw-page-tabs[b-2ckkna9yjz] {
    display: flex;
    align-items: stretch;
    gap: 32px;
    flex-shrink: 0;
    padding: 16px 24px 0;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    overflow-x: auto;
    scrollbar-width: none;
}

/* Hosted in a toolbar row: the row owns the bar, gutters and border. */
.lw-page-tabs--bare[b-2ckkna9yjz] {
    align-self: stretch;
    padding: 0;
    background: transparent;
    border-bottom: none;
}

.lw-page-tabs[b-2ckkna9yjz]::-webkit-scrollbar {
    display: none;
}

.lw-page-tab[b-2ckkna9yjz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    cursor: pointer;
}

.lw-page-tab:hover[b-2ckkna9yjz],
.lw-page-tab--active[b-2ckkna9yjz] {
    color: var(--lw-text-primary);
}

.lw-page-tab--active[b-2ckkna9yjz] {
    box-shadow: inset 0 -2px 0 var(--lw-text-primary);
}

.lw-page-tab:focus-visible[b-2ckkna9yjz] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
    border-radius: var(--lw-radius-control);
}

/* Optional count: the same weight, one step quieter than its label. */
.lw-page-tab-count[b-2ckkna9yjz] {
    font-size: 12px;
    color: var(--lw-gray-space);
}

@media (max-width: 767.98px) {
    .lw-page-tabs[b-2ckkna9yjz] {
        padding: 12px 16px 0;
        gap: 24px;
    }

    .lw-page-tabs--bare[b-2ckkna9yjz] {
        padding: 0;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwPanel.razor.rz.scp.css */
/* Source: ledgerwise-app dashboard panel shells (critical-tasks-panel /
   invoice-inbox-panel / active-projects-table), measured 2026-07-28:
   white surface, hairline border, 8px radius, card shadow, clipped
   corners; header 16px 20px, title 14px/600 foreground. */

.lw-panel[b-tflzux7hnu] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
}

.lw-panel-head[b-tflzux7hnu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 1rem 1.25rem;
}

.lw-panel-head--divided[b-tflzux7hnu] {
    border-bottom: 1px solid var(--lw-border);
}

.lw-panel-title[b-tflzux7hnu] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
}

.lw-panel-action[b-tflzux7hnu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Page-provided title toggle (collapse chevron + label), mirroring the
   reference's header button: flex gap-2 text-sm font-semibold foreground,
   chevron 16px content-secondary rotating -90deg when collapsed. */
.lw-panel-head[b-tflzux7hnu]  .lw-panel-title-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
}

.lw-panel-head[b-tflzux7hnu]  .lw-panel-title-btn .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite);
    transition: transform 0.2s;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwPaneSwitch.razor.rz.scp.css */
/* LwPaneSwitch -- promoted verbatim from ViewInvoiceModal.razor.css
   .vim-mobile-switch* (US-798); see the .razor header for the spec. */

.lw-pane-switch[b-3trjmm5tx9] {
    display: none;
}

@media (max-width: 767.98px) {
    .lw-pane-switch[b-3trjmm5tx9] {
        display: grid;
        grid-auto-columns: 1fr;
        grid-auto-flow: column;
        gap: 4px;
        padding: 4px;
        background: var(--lw-bg-secondary);
        border-radius: var(--lw-radius-control);
        flex-shrink: 0;
    }
}

.lw-pane-switch-btn[b-3trjmm5tx9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 32px;
    border: 0;
    border-radius: calc(var(--lw-radius-control) - 2px);
    background: transparent;
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.lw-pane-switch-btn--active[b-3trjmm5tx9] {
    background: var(--lw-white);
    color: var(--lw-text-primary);
    box-shadow: var(--lw-shadow-card);
}

.lw-pane-switch-badge[b-3trjmm5tx9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lw-gray-cloud);
    color: var(--lw-gray-arsenic);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwProgressRing.razor.rz.scp.css */
/* LwProgressRing -- source: the US-475 lender prototype's progress cell (no ledgerwise-app atom).
   Measured: 34px box (--lw-ring-size), 4px round-capped stroke from 12 o'clock;
   track --lw-bg-secondary, fill --lw-primary-blue; label 10px / 700 / --lw-primary-dark. */

.lw-ring[b-lzwirdwh8s] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--lw-ring-size, 34px);
    height: var(--lw-ring-size, 34px);
    flex: 0 0 auto;
}

.lw-ring-svg[b-lzwirdwh8s] {
    width: 100%;
    height: 100%;
}

.lw-ring-track[b-lzwirdwh8s] {
    stroke: var(--lw-bg-secondary);
}

.lw-ring-fill[b-lzwirdwh8s] {
    stroke: var(--lw-primary-blue);
}

.lw-ring-label[b-lzwirdwh8s] {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: var(--lw-primary-dark);
    font-variant-numeric: tabular-nums;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSectionSelect.razor.rz.scp.css */
/* LwSectionSelect (US-926, O3): full-width outline trigger + lw-menu section list. */
.lw-section-select[b-j9wm11cujt] {
    width: 100%;
}

.lw-section-select[b-j9wm11cujt]  .lw-section-select__menu {
    display: block;
    width: 100%;
}

.lw-section-select__trigger[b-j9wm11cujt] {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    width: 100%;
    white-space: nowrap;
}

.lw-section-select__label[b-j9wm11cujt] {
    margin-right: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-section-select__trigger[b-j9wm11cujt]  .lw-section-select__chevron.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite);
}

.lw-section-select__item[b-j9wm11cujt] {
    display: inline-flex;
    align-items: center;
}

.lw-section-select__item--active[b-j9wm11cujt] {
    color: var(--lw-text-primary);
    font-weight: 600;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSecureChip.razor.rz.scp.css */
/* LwSecureChip -- source: vendor-intro-card.tsx secureLabel chip.
   Spec 2026-07-13: border --lw-border, white, radius 4, pad 4/8, gap 6,
   11/500 graphite label, 12px brand-accent lock. Hidden below 640px. */

.lw-secure-chip[b-aqvv9bcdkl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--lw-border);
    border-radius: 4px;
    background: var(--lw-white);
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.lw-secure-chip svg[b-aqvv9bcdkl] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: var(--lw-primary-blue);
}

@media (max-width: 640px) {
    .lw-secure-chip[b-aqvv9bcdkl] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSegmented.razor.rz.scp.css */
/* LwSegmented -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18), period control:
     track    background --secondary, radius 8, padding 3, gap 2
     segment  height 30, padding 0 12, radius 6 (control radius - 2), 13px
              rest: transparent, content-secondary, 500
              on:   white, foreground, 600, shadow 0 1px 2px navy at 8%
   The on shadow is the design's own value: --lw-shadow-sm is the same shape at 5%.
   A segment at rest is grayscale Arsenic, not the design's content-secondary: on the grey
   track content-secondary is 4.25:1, and 13px text has to reach 4.5:1. The segment in force
   still stands apart by its white raised pill and its weight.

   Every segment rule is written through ::deep so that a segment the caller supplies in
   ChildContent (a menu's button) gets the same chrome as the ones rendered here.

   Phones (below 768px): the track spans its container and the segments share it equally at
   36px, so each is a comfortable tap. */

.lw-segmented[b-kau1i85kcl] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-bg-secondary);
    box-sizing: border-box;
    max-width: 100%;
}

.lw-segmented[b-kau1i85kcl]  .lw-segmented-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: calc(var(--lw-radius-control) - 2px);
    background: transparent;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-medium);
    line-height: 1;
    color: var(--lw-gray-arsenic);
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.lw-segmented[b-kau1i85kcl]  .lw-segmented-btn:hover {
    color: var(--lw-text-primary);
}

.lw-segmented[b-kau1i85kcl]  .lw-segmented-btn--active {
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-semibold);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--lw-primary-dark) 8%, transparent);
}

.lw-segmented[b-kau1i85kcl]  .lw-segmented-btn:focus-visible {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .lw-segmented[b-kau1i85kcl] {
        display: flex;
        width: 100%;
    }

    .lw-segmented[b-kau1i85kcl]  .lw-segmented-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 36px;
        padding: 0 6px;
    }

    /* A caller's menu wraps its segment in MudBlazor's own elements: let them share the track too. */
    .lw-segmented[b-kau1i85kcl]  .mud-menu {
        flex: 1 1 0;
        min-width: 0;
    }

    .lw-segmented[b-kau1i85kcl]  .mud-menu .mud-menu-activator,
    .lw-segmented[b-kau1i85kcl]  .mud-menu .lw-segmented-btn {
        display: flex;
        width: 100%;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSelect.razor.rz.scp.css */
/* Measured spec from ledgerwise-app FieldShell + select trigger (2026-07-10):
   box 54px, white, radius 8px, border rgba(145,158,171,.4);
   value 14px/400, vertically centered; label 14px/400 graphite in the notch;
   trailing clear (x) + caret. Mirrors LwTextField.razor.css -- same FieldShell
   chrome, adapted for MudSelect (the value is a <div> slot, not an <input>, so
   it centers via padding+line-height rather than input line-height).
   Font: Inter. */

.lw-select[b-yjjhj4boyc] {
    width: 100%;
}

.lw-select[b-yjjhj4boyc]  .mud-input-control {
    margin-top: 0;
}

.lw-select[b-yjjhj4boyc]  .mud-input-outlined {
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone (US-926: no iOS focus zoom) */
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

/* Value slot: MudSelect renders the selected value in a <div class="mud-input-slot">
   (not an <input>). Match FieldShell's 54px box and center the value the same way
   LwTextField does -- 16 + 22 + 16 = 54 -- so it clears the notched label instead
   of top-aligning into it. box-sizing:border-box keeps padding from inflating it. */
.lw-select[b-yjjhj4boyc]  .mud-input-outlined .mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 22px;
    /* Inputs always sit on a white fill, even over a tinted (form-surface) body. */
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

/* Label: MudBlazor pins its own font-family -- override directly. Resting label
   sits left 13px, vertically centered in the 54px box; color states mirror
   FieldShell (resting muted-fg, floated content-secondary, focused foreground). */
.lw-select[b-yjjhj4boyc]  .mud-input-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

.lw-select[b-yjjhj4boyc]  .mud-input-label-outlined {
    transform: translate(13px, 16px) scale(1);
    padding: 0 2px !important;
}

/* Floated label: mirror Mud's own shrink/focus selectors (4-class specificity),
   12px like FieldShell's text-xs (scale 12/14 = .857). */
.lw-select[b-yjjhj4boyc]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.lw-select[b-yjjhj4boyc]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    transform: translate(13px, -6px) scale(0.857);
}

.lw-select[b-yjjhj4boyc]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.lw-select[b-yjjhj4boyc]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states -- FieldShell: rest = --lw-input-border 1px; hover = no change;
   focus = 1px foreground (mirror Mud's own selectors to beat its darken/2px-blue
   defaults). */
.lw-select[b-yjjhj4boyc]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.lw-select[b-yjjhj4boyc]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.lw-select[b-yjjhj4boyc]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Trailing clear (x) + caret: gray-space icons, aligned to the right edge. */
.lw-select[b-yjjhj4boyc]  .mud-input-adornment .mud-icon-button,
.lw-select[b-yjjhj4boyc]  .mud-select-input .mud-icon-button {
    color: var(--lw-gray-space);
}

/* The readonly <input> MudSelect keeps behind the value slot takes focus on tap;
   keep it on the input token so iOS does not zoom (US-926). */
.lw-select[b-yjjhj4boyc]  .mud-input-outlined input {
    font-size: var(--lw-input-font-size);
}

/* The floated label sits ON the border, and the white field fill starts halfway down it, so
   the fill's top edge (and Chrome's blue autofill tint) read as a line through the label
   (Cody 2026-09-29, US-926). The label carries the field's white behind its text -- a small
   tab on the border -- and autofilled inputs keep the white fill. Invisible on white cards. */
.lw-select[b-yjjhj4boyc]  .mud-input-label-outlined {
    background-color: var(--lw-white);
    border-radius: 4px;
}

.lw-select[b-yjjhj4boyc]  input.mud-input-slot:is(:autofill, :-webkit-autofill) {
    -webkit-box-shadow: 0 0 0 1000px var(--lw-white) inset;
    box-shadow: 0 0 0 1000px var(--lw-white) inset;
    -webkit-text-fill-color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSideSheet.razor.rz.scp.css */
/* LwSideSheet -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18), the drill-down drawer:
     layer   fixed over the whole window; scrim foreground at 40% (--lw-scrim + its blur)
     panel   right edge, full height, 580px (the screen's width when it is narrower), white,
             shadow -20px 0 40px navy at 12%
     header  padding 20 24 16, hairline under it; eyebrow 11px / 600 uppercase +0.08em
             content-secondary, 4px over the title; title heading font 20px / 700 -0.01em;
             close 36px square ghost button, radius 8, 18px icon
     body    scrolls; padding 20 24 28; 24px between its blocks
     footer  padding 14 24, hairline over it, ends pushed apart
   Mechanics from the house hand-rolled sheet (SupportChatPanel.razor.css): the layer is hidden
   with visibility + pointer-events and shown by a class, the panel slides 300ms on
   cubic-bezier(0.22, 1, 0.36, 1), the scrim fades 200ms. Layer: --lw-z-sheet, above the app bar
   (1300) and below MudDialog (1400). */

.lw-sheet[b-ogx9vpbssz] {
    position: fixed;
    inset: 0;
    z-index: var(--lw-z-sheet);
    visibility: hidden;
    pointer-events: none;
}

.lw-sheet--open[b-ogx9vpbssz] {
    visibility: visible;
    pointer-events: auto;
}

.lw-sheet-scrim[b-ogx9vpbssz] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--lw-scrim);
    backdrop-filter: var(--lw-scrim-blur);
    -webkit-backdrop-filter: var(--lw-scrim-blur);
    cursor: default;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lw-sheet--open .lw-sheet-scrim[b-ogx9vpbssz] {
    opacity: 1;
}

.lw-sheet-panel[b-ogx9vpbssz] {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 580px;
    height: 100dvh;
    overflow: hidden;
    background: var(--lw-white);
    box-shadow: -20px 0 40px color-mix(in srgb, var(--lw-primary-dark) 12%, transparent);
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lw-sheet--open .lw-sheet-panel[b-ogx9vpbssz] {
    transform: translateX(0);
}

/* Focus lands on the panel only so that Escape is heard; it is not a control to ring. */
.lw-sheet-panel:focus[b-ogx9vpbssz] {
    outline: none;
}

.lw-sheet-head[b-ogx9vpbssz] {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--lw-border);
}

.lw-sheet-head-text[b-ogx9vpbssz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lw-sheet-eyebrow[b-ogx9vpbssz] {
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.lw-sheet-title[b-ogx9vpbssz] {
    margin: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 20px;
    font-weight: var(--lw-font-bold);
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--lw-text-primary);
}

.lw-sheet-close[b-ogx9vpbssz] {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: transparent;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    transition: background 0.15s ease;
}

.lw-sheet-close:hover[b-ogx9vpbssz] {
    background: var(--lw-bg-secondary);
}

.lw-sheet-close:focus-visible[b-ogx9vpbssz] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.lw-sheet-close[b-ogx9vpbssz]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.lw-sheet-body[b-ogx9vpbssz] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    padding: 20px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.lw-sheet-foot[b-ogx9vpbssz] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid var(--lw-border);
}

@media (max-width: 599.98px) {
    .lw-sheet-head[b-ogx9vpbssz] { padding: 16px 16px 12px; }
    .lw-sheet-body[b-ogx9vpbssz] { padding: 16px 16px 24px; }
    .lw-sheet-foot[b-ogx9vpbssz] { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lw-sheet-panel[b-ogx9vpbssz],
    .lw-sheet-scrim[b-ogx9vpbssz] {
        transition: none;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app atoms/skeleton-block.tsx + globals.css @keyframes
   shimmer (measured from compiled Tailwind output 2026-07-10):
   background-image: linear-gradient(to right in oklab,
     color-mix(in oklab, var(--border) 60%, transparent),
     color-mix(in oklab, var(--border) 30%, transparent),
     color-mix(in oklab, var(--border) 60%, transparent));
   background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite;
   keyframes: background-position 200% 0 -> -200% 0. No border-radius on the
   atom itself -- reference callers add rounding per use. --border in the
   reference (#919eab33) resolves to the same value as --lw-border, so the
   alphas are encoded as color-mix relationships, not resolved hex. */

/* No flex-shrink here: reference applies shrink-0 per caller (avatar, badge)
   while text lines stay shrinkable inside min-width:0 columns. */
.lw-skeleton[b-rt46lsgiqd] {
    background-image: linear-gradient(
        to right in oklab,
        color-mix(in oklab, var(--lw-border) 60%, transparent),
        color-mix(in oklab, var(--lw-border) 30%, transparent),
        color-mix(in oklab, var(--lw-border) 60%, transparent)
    );
    background-size: 200% 100%;
    animation: lw-shimmer-b-rt46lsgiqd 1.5s ease-in-out infinite;
}

@keyframes lw-shimmer-b-rt46lsgiqd {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwSnackbar.razor.rz.scp.css */
/* Chrome moved to wwwroot/css/components/lw-snackbar.css (global) when
   AlertComponent became the second consumer of the canonical toast --
   scoped ::deep rules cannot be shared across components. */
/* _content/Ledgerwise/Components/Shared/Atoms/LwSplitButton.razor.rz.scp.css */
/* Source: ledgerwise-app organisms/project-header.tsx action cluster
   (2026-07-10). Main: h-8 gap-2 rounded-l-md border px-3 text-[13px]
   font-medium text-foreground hover:bg-accent active:bg-border.
   Chevron: -ml-px h-8 w-8 rounded-r-md border text-content-secondary
   hover:bg-accent hover:text-foreground active:bg-border focus-visible ring.
   rounded-md resolves to --radius-control (8px); icons size-3.5 (14px). */

.lw-split-button[b-zfngkkuomt] {
    display: inline-flex;
    align-items: center;
}

.lw-split-button-main[b-zfngkkuomt],
.lw-split-button-chevron[b-zfngkkuomt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 32px;
    border: 1px solid var(--lw-border);
    background: transparent;
    font-family: var(--lw-font-family);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
    white-space: nowrap;
}

.lw-split-button-main[b-zfngkkuomt] {
    gap: 8px;
    padding: 0 12px;
    border-radius: var(--lw-radius-control) 0 0 var(--lw-radius-control);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: normal;
    color: var(--lw-text-primary);
}

.lw-split-button-chevron[b-zfngkkuomt] {
    width: 32px;
    padding: 0;
    border-radius: 0 var(--lw-radius-control) var(--lw-radius-control) 0;
    color: var(--lw-gray-graphite);
}

.lw-split-button-main:hover:not(:disabled)[b-zfngkkuomt],
.lw-split-button-chevron:hover:not(:disabled)[b-zfngkkuomt] {
    background: var(--lw-accent);
}

.lw-split-button-chevron:hover:not(:disabled)[b-zfngkkuomt] {
    color: var(--lw-text-primary);
}

.lw-split-button-main:active:not(:disabled)[b-zfngkkuomt],
.lw-split-button-chevron:active:not(:disabled)[b-zfngkkuomt] {
    background: var(--lw-border);
}

.lw-split-button-chevron:focus-visible[b-zfngkkuomt] {
    position: relative;
    z-index: 1;
    outline: none;
    box-shadow: 0 0 0 2px var(--lw-primary-blue);
}

.lw-split-button-main:disabled[b-zfngkkuomt],
.lw-split-button-chevron:disabled[b-zfngkkuomt] {
    opacity: 0.5;
    cursor: default;
}

/* Busy (US-1198, no ledgerwise-app source): LwButton's spinner spec (a ring in the label
   colour, 35% track, 0.7s turn) at the segment's icon size, in the icon's place. The
   segments keep their resting look and are not dimmed; the cursor says "working". */
.lw-split-button-spinner[b-zfngkkuomt] {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 2px solid color-mix(in srgb, currentColor 35%, transparent);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: lw-split-button-spin-b-zfngkkuomt 0.7s linear infinite;
}

.lw-split-button--primary .lw-split-button-spinner[b-zfngkkuomt] {
    width: 16px;
    height: 16px;
}

.lw-split-button--busy .lw-split-button-main[b-zfngkkuomt],
.lw-split-button--busy .lw-split-button-chevron[b-zfngkkuomt] {
    cursor: progress;
}

@keyframes lw-split-button-spin-b-zfngkkuomt {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .lw-split-button-spinner[b-zfngkkuomt] {
        animation-duration: 2s;
    }
}

/* Variant Primary (US-983): the page title-bar primary action as a split button. Mirrors
   .lw-page-action--primary (lw-page.css): 36px, navy fill, white 13px/500, 16px icon, 6px
   gap; hover is the derived --lw-primary-dark-hover. The segments keep their own fill, so
   the boundary is a white-alpha hairline on the chevron instead of the shared border. */
.lw-split-button--primary .lw-split-button-main[b-zfngkkuomt],
.lw-split-button--primary .lw-split-button-chevron[b-zfngkkuomt] {
    height: 36px;
    border: none;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lw-split-button--primary .lw-split-button-main[b-zfngkkuomt] {
    gap: 6px;
    padding: 0 16px;
}

.lw-split-button--primary .lw-split-button-chevron[b-zfngkkuomt] {
    width: 36px;
    border-left: 1px solid color-mix(in srgb, var(--lw-white) 24%, transparent);
}

.lw-split-button--primary .lw-split-button-main:hover:not(:disabled)[b-zfngkkuomt],
.lw-split-button--primary .lw-split-button-chevron:hover:not(:disabled)[b-zfngkkuomt],
.lw-split-button--primary .lw-split-button-main:active:not(:disabled)[b-zfngkkuomt],
.lw-split-button--primary .lw-split-button-chevron:active:not(:disabled)[b-zfngkkuomt] {
    background: var(--lw-primary-dark-hover);
    color: var(--lw-white);
}

.lw-split-button--primary[b-zfngkkuomt]  .mud-menu {
    margin-left: 0;
}

.lw-split-button--primary[b-zfngkkuomt]  .lw-split-button-icon.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* MudMenu wraps the chevron activator in its own element; keep it in the
   flex row and apply the -1px border overlap here (the segment boundary
   shares one hairline). */
.lw-split-button[b-zfngkkuomt]  .mud-menu {
    display: inline-flex;
    margin-left: -1px;
}

/* Icons = reference size-3.5 (14px); out-specific Mud's size classes. */
.lw-split-button[b-zfngkkuomt]  .lw-split-button-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwStackedBar.razor.rz.scp.css */
/* Source: project-account-display reference mock (us-473-account-display-mock.png /
   mocks/audience-owners.svg), "BUDGET COMMITTED" block, measured 2026-07-29 at the
   mock's native 996px width: track 12px tall (up from the mock's 8px, Cody
   2026-07-29), fully rounded, remainder
   --lw-gray-smoke; spent segment --lw-primary-dark, pending --lw-primary-blue;
   legend row gap 32px, dot 7px round, label 11px/600 uppercase +0.08em
   content-secondary, value 15px/700 -0.01em navy, 4px above the value. */

.lw-stacked-bar[b-mvs2pmf77v] {
    display: flex;
    flex-direction: column;
    /* The legend is a separate reading unit from the track, not a caption on it --
       18px lets the eye finish the bar before it starts the figures. */
    gap: 1.125rem;
}

/* -- Track -- */

.lw-stacked-bar__track[b-mvs2pmf77v] {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: var(--lw-gray-smoke);
    overflow: hidden;
}

.lw-stacked-bar__seg[b-mvs2pmf77v] {
    height: 100%;
    /* A nonzero segment must never vanish: a $1,250 request against a $2.9M budget is
       0.04% and would otherwise round to zero pixels (US-731 review). Zero-percent
       segments are already skipped by the component, so this only widens real slivers. */
    min-width: 8px;
    transition: width 180ms ease;
}

.lw-stacked-bar__seg--filled[b-mvs2pmf77v] {
    background: var(--lw-primary-dark);
}

.lw-stacked-bar__seg--inflight[b-mvs2pmf77v] {
    background: var(--lw-primary-blue);
}

/* Highlight = brand gold, reserved for the amount under review ("this request"
   in the payment-request sheets, 2026-08-10 feedback) -- matches the gold
   this-PR segment the budget-impact bars already use. */
.lw-stacked-bar__seg--highlight[b-mvs2pmf77v] {
    background: var(--lw-primary-gold);
}

.lw-stacked-bar__seg--over[b-mvs2pmf77v] {
    background: var(--lw-destructive);
}

/* -- Legend -- */

.lw-stacked-bar__legend[b-mvs2pmf77v] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.lw-stacked-bar__legend-item[b-mvs2pmf77v] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.lw-stacked-bar__legend-head[b-mvs2pmf77v] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.lw-stacked-bar__legend-dot[b-mvs2pmf77v] {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.lw-stacked-bar__legend-dot--filled[b-mvs2pmf77v] {
    background: var(--lw-primary-dark);
}

.lw-stacked-bar__legend-dot--inflight[b-mvs2pmf77v] {
    background: var(--lw-primary-blue);
}

.lw-stacked-bar__legend-dot--highlight[b-mvs2pmf77v] {
    background: var(--lw-primary-gold);
}

.lw-stacked-bar__legend-dot--over[b-mvs2pmf77v] {
    background: var(--lw-destructive);
}

.lw-stacked-bar__legend-dot--track[b-mvs2pmf77v] {
    background: var(--lw-gray-smoke);
}

.lw-stacked-bar__legend-label[b-mvs2pmf77v] {
    font-family: var(--lw-font-family);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.lw-stacked-bar__legend-value[b-mvs2pmf77v] {
    font-family: var(--lw-font-family);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--lw-primary-dark);
    white-space: nowrap;
}

@media (max-width: 599px) {
    .lw-stacked-bar__legend[b-mvs2pmf77v] {
        gap: 0.5rem 1.25rem;
    }

    .lw-stacked-bar__legend-value[b-mvs2pmf77v] {
        font-size: 0.875rem;
    }
}

/* -- Full-width legend: equal columns divided by hairlines --
   Each figure gets an equal measured cell so the row reads as a table of
   totals. Dividers sit between cells only (never a leading or trailing rule),
   which is what makes the division read as structure rather than decoration. */

.lw-stacked-bar__legend--split[b-mvs2pmf77v] {
    display: grid;
    grid-template-columns: repeat(var(--lw-stacked-bar-cols, 3), 1fr);
    gap: 0;
    width: 100%;
}

.lw-stacked-bar__legend--split .lw-stacked-bar__legend-item[b-mvs2pmf77v] {
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    border-left: 1px solid var(--lw-border);
}

.lw-stacked-bar__legend--split .lw-stacked-bar__legend-item:first-child[b-mvs2pmf77v] {
    padding-left: 0;
    border-left: none;
}

.lw-stacked-bar__legend--split .lw-stacked-bar__legend-item:last-child[b-mvs2pmf77v] {
    padding-right: 0;
}

@media (max-width: 599px) {
    /* Phone: narrow columns cannot hold currency at this width. Two columns
       left an odd third figure stranded and centred under the first (Cody,
       2026-09-03), so the row of cells becomes a stacked label/value list --
       dot + label left, figure right, hairline between rows. Same idiom as the
       fee and cost-breakdown rows. */
    .lw-stacked-bar__legend--split[b-mvs2pmf77v] {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lw-stacked-bar__legend--split .lw-stacked-bar__legend-item[b-mvs2pmf77v] {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        text-align: left;
        padding: 0.5rem 0;
        border-left: none;
        border-top: 1px solid var(--lw-border);
    }

    .lw-stacked-bar__legend--split .lw-stacked-bar__legend-item:first-child[b-mvs2pmf77v] {
        border-top: none;
        padding-top: 0;
    }

    .lw-stacked-bar__legend--split .lw-stacked-bar__legend-item:last-child[b-mvs2pmf77v] {
        padding-bottom: 0;
    }
}

/* -- Per-segment tooltips (ShowSegmentTooltips) --
   Ported from the Project Owner budget tab's utilization bar, which had them
   before this atom existed. Same navy popover idiom as the account-balance
   breakdown: swatch + label + figure, then the share on its own line. */

.lw-stacked-bar__seg--interactive[b-mvs2pmf77v] {
    position: relative;
    cursor: default;
    outline: none;
}

.lw-stacked-bar__seg-tip[b-mvs2pmf77v] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    width: max-content;
    max-width: 14rem;
    padding: 0.5rem 0.625rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    text-align: left;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--lw-primary-dark) 22%, transparent);
}

.lw-stacked-bar__seg--interactive:hover .lw-stacked-bar__seg-tip[b-mvs2pmf77v],
.lw-stacked-bar__seg--interactive:focus-visible .lw-stacked-bar__seg-tip[b-mvs2pmf77v] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.lw-stacked-bar__seg-tip-row[b-mvs2pmf77v] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.lw-stacked-bar__seg-tip-swatch[b-mvs2pmf77v] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex: 0 0 auto;
}

.lw-stacked-bar__seg-tip-swatch--filled[b-mvs2pmf77v] {
    background: var(--lw-white);
}

.lw-stacked-bar__seg-tip-swatch--inflight[b-mvs2pmf77v] {
    background: var(--lw-primary-blue);
}

.lw-stacked-bar__seg-tip-swatch--highlight[b-mvs2pmf77v] {
    background: var(--lw-primary-gold);
}

.lw-stacked-bar__seg-tip-swatch--over[b-mvs2pmf77v] {
    background: var(--lw-destructive);
}

.lw-stacked-bar__seg-tip-swatch--track[b-mvs2pmf77v] {
    background: var(--lw-gray-smoke);
}

.lw-stacked-bar__seg-tip-label[b-mvs2pmf77v] {
    color: color-mix(in srgb, var(--lw-white) 75%, transparent);
}

.lw-stacked-bar__seg-tip-value[b-mvs2pmf77v] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.lw-stacked-bar__seg-tip-pct[b-mvs2pmf77v] {
    font-size: 0.6875rem;
    color: color-mix(in srgb, var(--lw-white) 60%, transparent);
    white-space: nowrap;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwStatTile.razor.rz.scp.css */
/* LwStatTile -- source: the approved administrator dashboard design (US-1249,
   mockup.dc.html, 2026-11-18), KPI row:
     tile     white, 1px hairline, radius 8, card shadow, padding 18 20 16, column, gap 10
     hover    border brand accent at 45%, shadow 0 8px 18px navy at 8%, cue underlined
     label    11px / 600, uppercase, +0.08em, content-secondary
     note     12px, content-secondary, tabular
     figure   heading font, 30px / 700, -0.02em, line height 1, tabular
     visual   34px tall, bottom-aligned with the figure, 12px away from it
     foot     12.5px; support in content-secondary unless the caller tones it; cue brand
              accent at 500
   The tile is a button, and the app's global button style centres a button's content on
   both axes, so the column's alignment is stated: rows start at the top and span the width.
   Tiles in one row are as tall as the tallest; the foot sits at the bottom of each, so the
   supporting lines and the cues line up across the row. */

.lw-stat-tile[b-2znxzwm0ht] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 20px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-card);
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
    font-family: var(--lw-font-family);
    color: var(--lw-text-primary);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lw-stat-tile:hover[b-2znxzwm0ht] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 45%, transparent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--lw-primary-dark) 8%, transparent);
}

.lw-stat-tile:hover .lw-stat-tile-cta[b-2znxzwm0ht] {
    text-decoration: underline;
}

.lw-stat-tile:focus-visible[b-2znxzwm0ht] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

.lw-stat-tile--loading[b-2znxzwm0ht] {
    cursor: default;
}

.lw-stat-tile--loading:hover[b-2znxzwm0ht] {
    border-color: var(--lw-border);
    box-shadow: var(--lw-shadow-card);
}

.lw-stat-tile-head[b-2znxzwm0ht] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.lw-stat-tile-label[b-2znxzwm0ht] {
    font-size: 11px;
    font-weight: var(--lw-font-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.lw-stat-tile-meta[b-2znxzwm0ht] {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lw-stat-tile-main[b-2znxzwm0ht] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.lw-stat-tile-value[b-2znxzwm0ht] {
    font-family: var(--lw-font-family-heading);
    font-size: 30px;
    font-weight: var(--lw-font-bold);
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lw-stat-tile-visual[b-2znxzwm0ht] {
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
    height: 34px;
}

.lw-stat-tile-body[b-2znxzwm0ht] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.lw-stat-tile-foot[b-2znxzwm0ht] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 19px;
    margin-top: auto;
    font-size: 12.5px;
}

.lw-stat-tile-support[b-2znxzwm0ht] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: var(--lw-gray-graphite);
}

.lw-stat-tile-cta[b-2znxzwm0ht] {
    flex-shrink: 0;
    margin-left: auto;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    white-space: nowrap;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwTextField.razor.rz.scp.css */
/* Measured spec from ledgerwise-app FieldShell (2026-07-08):
   box 54px, white, radius 8px, border rgba(145,158,171,.4);
   text 14px/400; label 14px/400 graphite; floated label 12px (scale 12/14).
   Font: Inter -- ledgerwise-app moved off Plus Jakarta Sans; app-wide token
   update pending (see internal-docs/ui-redesign-phased-plan.md).
   Sizes are read from the --lw-* control tokens in branding.css (Task-832), which
   carry phone values (16px text, scale 12/16, 44px targets) in their max-width
   block. This file is shared verbatim with the mobile app -- keep it free of
   hard-coded sizes and of anything phone- or site-specific. */

.lw-textfield[b-t9kgj4tv9e] {
    width: 100%;
}

/* Built-in field validation message (Mud renders it from For + EditContext) --
   this IS the inline validation; do not add a separate <ValidationMessage>
   next to LwTextField (it duplicates this). Styled to text-sm destructive. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-helper-text {
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input-control {
    margin-top: 0;
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input-outlined {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: 8px;
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    /* 16 + 22 + 16 = 54 --centers the text block exactly like FieldShell. */
    line-height: 22px;
}

/* MudBlazor pins its own font-family on labels --must override directly.
   Measured FieldShell resting label: FOREGROUND-dark #1e1e24 (not muted),
   14px/22px, 2px side padding, vertically centered in the 54px box. */
/* Label color states (FieldShell span): resting muted-foreground #9DA2B3,
   floated content-secondary #6E7180, focused foreground #1E1E24. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-label {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 22px;
    /* Mud adds Material's +0.00938em; FieldShell label is normal. */
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label: FieldShell puts it at left 13px, geometrically centered in
   the box (top 50% / -50% -- exact regardless of box height, unlike a fixed
   y offset). Mud's padding is !important, so ours must be too. `top` is
   transitioned alongside transform so the float animation stays smooth. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Multiline shell: the label centers against the first line, not the box. */
.lw-textfield--area[b-t9kgj4tv9e]  .mud-input-label-outlined {
    top: 23px;
}

/* Floated label: mirror Mud's own shrink/focus selectors (they carry 4-class
   specificity) --12px like FieldShell's text-xs (scale 12/14 = .857). */
.lw-textfield[b-t9kgj4tv9e]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.lw-textfield[b-t9kgj4tv9e]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(var(--lw-input-label-floated-scale));
}

.lw-textfield[b-t9kgj4tv9e]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

/* Focused wins over floated (declared last at equal specificity). */
.lw-textfield[b-t9kgj4tv9e]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* AlwaysFloat (lw-textfield--float, US-1131) opts out of the rest behavior below:
   the label stays in the notch and the placeholder shows while the box is empty. */
/* FieldShell placeholder behavior: when a Placeholder is set, Mud pre-floats
   the label to clear it. FieldShell instead keeps the label resting until
   focus/fill and reveals the placeholder only while focused -- so hide the
   placeholder and re-seat the label whenever the box is empty and unfocused. */
.lw-textfield:not(.lw-textfield--float)[b-t9kgj4tv9e]  .mud-input.mud-input-outlined:not(:focus-within) input.mud-input-slot::placeholder {
    color: transparent;
}

.lw-textfield:not(.lw-textfield--float)[b-t9kgj4tv9e]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    color: var(--lw-gray-space);
}

/* ...and close the fieldset-legend border notch while the label is re-seated. */
.lw-textfield:not(.lw-textfield--float)[b-t9kgj4tv9e]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(input.mud-input-slot:placeholder-shown) .mud-input-outlined-border legend {
    max-width: 0;
    padding: 0;
}

/* EXCEPT when a start adornment holds that spot: a resting label would land on
   top of the "$" (caught on the add-to-budget allocation fields, 2026-07-28).
   The reference keeps amount labels floated with the unit inside the box, so
   re-float the label and reopen the notch whenever StartText is present. */
.lw-textfield:not(.lw-textfield--float)[b-t9kgj4tv9e]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(.mud-input-adornment-start):has(input.mud-input-slot:placeholder-shown) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(var(--lw-input-label-floated-scale));
    color: var(--lw-gray-graphite);
}

.lw-textfield:not(.lw-textfield--float)[b-t9kgj4tv9e]  .mud-input.mud-input-outlined.mud-shrink:not(:focus-within):has(.mud-input-adornment-start):has(input.mud-input-slot:placeholder-shown) .mud-input-outlined-border legend {
    max-width: 100%;
    padding: 0 5px;
}

/* Browser autofill can populate static inputs before MudStatic's blur handler
   adds mud-shrink. Float the label and open its notch directly from the
   browser state, including passwords with the visibility adornment (Bug-552).
   :is() keeps the vendor alias from invalidating the standard selector. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input:has(input:is(:autofill, :-webkit-autofill)) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(var(--lw-input-label-floated-scale));
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input:not(:focus-within):has(input:is(:autofill, :-webkit-autofill)) ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input:has(input:is(:autofill, :-webkit-autofill)) .mud-input-outlined-border legend {
    max-width: 100%;
    padding: 0 5px;
}

/* Border states --FieldShell: rest = --lw-input-border rgba(145,158,171,.4)
   1px; hover = NO change; active/focus = 1px foreground #1e1e24. Mud's
   defaults (hover darken, focus 2px primary-blue) are overridden below by
   mirroring its own selectors. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.lw-textfield[b-t9kgj4tv9e]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.lw-textfield[b-t9kgj4tv9e]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Eye adornment: --lw-touch-target hit target (40px desktop like FieldShell's
   size-10 button, 44px on phones), gray-space icon, right edge 15px from the
   box edge. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-adornment .mud-icon-button {
    width: var(--lw-touch-target);
    height: var(--lw-touch-target);
    margin-right: 1px;
    color: var(--lw-gray-space);
}

/* Multiline shell (textarea-field.tsx): auto-height box, min 96px,
   top-aligned content, py-3. Mud reserves margin-top 18.5px on outlined
   textareas for an inset label; our label floats on the border like the
   reference, so the reserve just sinks the text block -- zero it. */
.lw-textfield--area[b-t9kgj4tv9e]  .mud-input.mud-input-outlined textarea.mud-input-slot {
    box-sizing: border-box;
    min-height: 96px;
    margin-top: 0;
    padding: 12px 14px;
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 1.625;
}

/* Start/end-adornment text (field-shell.tsx startIcon / trailing unit,
   e.g. "$" on amount fields, a fixed email domain): 14px muted, snug to
   the input text like the reference. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-adornment-start .mud-input-adornment-text,
.lw-textfield[b-t9kgj4tv9e]  .mud-input-adornment-end .mud-input-adornment-text {
    font-size: var(--lw-input-font-size);
    color: var(--lw-gray-graphite);
}

/* The floated label sits ON the border, and the white field fill starts halfway down it, so
   the fill's top edge (and Chrome's blue autofill tint) read as a line through the label
   (Cody 2026-09-29, US-926). The label carries the field's white behind its text -- a small
   tab on the border -- and autofilled inputs keep the white fill. Invisible on white cards. */
.lw-textfield[b-t9kgj4tv9e]  .mud-input-label-outlined {
    background-color: var(--lw-white);
    border-radius: 4px;
}

.lw-textfield[b-t9kgj4tv9e]  input.mud-input-slot:is(:autofill, :-webkit-autofill) {
    -webkit-box-shadow: 0 0 0 1000px var(--lw-white) inset;
    box-shadow: 0 0 0 1000px var(--lw-white) inset;
    -webkit-text-fill-color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwToggle.razor.rz.scp.css */
/* ============================================================
   LwToggle -- source: ledgerwise-ui-app
   src/components/atoms/toggle-switch.tsx (2026-07-28).
   Spec: track h-6 w-11 (24x44) rounded-full; on = sidebar-bg
   navy, off = grey-steel/60; thumb size-5 (20px) white circle
   w/ shadow-sm, translate-x 22px on / 2px off; disabled =
   opacity-50 + not-allowed.
   ============================================================ */

.lw-toggle[b-s96ucl2441] {
    position: relative;
    display: inline-flex;
    align-items: center;
    /* Global button rules center flex content; the thumb's translateX
       offsets are measured from the track's LEFT edge, so re-assert it. */
    justify-content: flex-start;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    border: none;
    border-radius: 9999px;
    padding: 0;
    cursor: pointer;
    background-color: color-mix(in srgb, var(--lw-gray-steel) 60%, transparent);
    transition: background-color 0.15s ease;
}

.lw-toggle--on[b-s96ucl2441] {
    background-color: var(--lw-primary-dark);
}

.lw-toggle:disabled[b-s96ucl2441] {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Thumb: 20px white circle; shadow-sm = 0 1px 2px rgba(0,0,0,.05). */
.lw-toggle__thumb[b-s96ucl2441] {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    background-color: var(--lw-white);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transform: translateX(2px);
    transition: transform 0.15s ease;
}

.lw-toggle--on .lw-toggle__thumb[b-s96ucl2441] {
    transform: translateX(22px);
}

/* Phones (US-1043, A3): the track stays 44x24 but the tap box grows to 44px
   tall through a transparent pseudo-element, so a thumb-sized finger lands
   on it without the row having to pad itself. */
@media (max-width: 767.98px) {
    .lw-toggle[b-s96ucl2441]::before {
        content: "";
        position: absolute;
        inset: -10px 0;
    }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwTrustBadge.razor.rz.scp.css */
/* Source: ledgerwise-app atoms/trust-health-badge.tsx (2026-07-10).
   ui/badge.tsx md base: h-6 rounded-sm (--radius-control) leading-none;
   overrides: gap-1.5 (6px), px-2 (8px), text-xs (12px), font-semibold (600),
   normal-case, tracking-normal, tabular-nums; icon size-3.5 (14px);
   asButton hover = opacity .9. Tones reuse the shared status tokens. */

.lw-trust-badge[b-ttwx968zbk] {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.12s ease;
}

.lw-trust-badge:hover[b-ttwx968zbk] {
    opacity: 0.9;
}

.lw-trust-badge--healthy[b-ttwx968zbk] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.lw-trust-badge--low[b-ttwx968zbk] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

/* Icon = reference size-3.5 (14px); out-specific Mud's size classes. */
.lw-trust-badge[b-ttwx968zbk]  .lw-trust-badge-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwTypingIndicator.razor.rz.scp.css */
/* LwTypingIndicator -- source: bol-os atoms/typing-indicator.tsx (2026-09-14).
   Spec: inline-flex, gap 4, pad 2/4; dots 6px round at muted-foreground/60;
   y 0 -> -4 -> 0 over 0.8s ease-in-out, repeat, stagger 0.15s. */

.lw-typing[b-qj3s9629uq] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
}

.lw-typing span[b-qj3s9629uq] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--lw-gray-graphite) 60%, transparent);
    animation: lw-typing-bounce-b-qj3s9629uq 0.8s ease-in-out infinite;
}

.lw-typing span:nth-child(2)[b-qj3s9629uq] { animation-delay: 0.15s; }
.lw-typing span:nth-child(3)[b-qj3s9629uq] { animation-delay: 0.3s; }

@keyframes lw-typing-bounce-b-qj3s9629uq {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .lw-typing span[b-qj3s9629uq] { animation: none; }
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwVerifiedBadge.razor.rz.scp.css */
/* LwVerifiedBadge (US-983, 2026-10-04). No ledgerwise-app source. 16px Material
   "Verified" glyph in the brand accent (--lw-primary-blue), inline with the name it
   follows and never shrinking when that name truncates. Tokens only. */

.lw-verified-badge[b-us6nj5vri6] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--lw-primary-blue);
}

.lw-verified-badge[b-us6nj5vri6]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwViewAllLink.razor.rz.scp.css */
/* Source: ledgerwise-app dashboard "View All" header links, measured
   2026-07-28: 12px/500 brand-accent, hover 80% alpha, no underline. */

.lw-view-all[b-d8180x1566] {
    display: inline-flex;
}

.lw-view-all-link[b-d8180x1566] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-primary-blue);
    text-decoration: none;
    font-family: var(--lw-font-family);
    transition: color 0.15s;
}

.lw-view-all-link:hover[b-d8180x1566] {
    color: color-mix(in srgb, var(--lw-primary-blue) 80%, transparent);
    text-decoration: none;
}
/* _content/Ledgerwise/Components/Shared/Atoms/LwViewToggle.razor.rz.scp.css */
/* Source: ledgerwise-app gc-documents.tsx view toggle (2026-07-20).
   Track: inline-flex h-9 items-center gap-0.5 rounded-md bg-muted p-0.5.
   Buttons: size-8 rounded-[5px]; selected bg-white shadow-sm text-foreground;
   idle text-muted-foreground hover:text-foreground. Icons 18px. */

.lw-view-toggle[b-jqpwscupzg] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 36px;
    padding: 2px;
    background: var(--lw-bg-muted);
    border-radius: var(--lw-radius-control);
}

.lw-view-toggle[b-jqpwscupzg]  button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: var(--lw-gray-space);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lw-view-toggle[b-jqpwscupzg]  button:hover { color: var(--lw-text-primary); }

.lw-view-toggle[b-jqpwscupzg]  button.active {
    background: var(--lw-white);
    color: var(--lw-text-primary);
    box-shadow: var(--lw-shadow-sm);
}

.lw-view-toggle[b-jqpwscupzg]  .mud-icon-root { width: 18px; height: 18px; }

/* Phones (US-1043, A3): each button is a 44px target and the track stands 44px
   beside the toolbar's other phone controls. The selected card keeps its 2px
   inset from the track, so it is drawn by a pseudo-element under the icon
   instead of by the (now edge-to-edge) button itself. Opt-in per toolbar
   (.gcdoc-toolbar, the builder Documents tab) so the Project Owner and
   subcontractor toolbars, still 36px, keep a matching toggle. */
@media (max-width: 767.98px) {
    .gcdoc-toolbar .lw-view-toggle[b-jqpwscupzg] {
        gap: 0;
        height: 44px;
        padding: 0;
        flex-shrink: 0;
    }

    .gcdoc-toolbar .lw-view-toggle[b-jqpwscupzg]  button {
        position: relative;
        width: 44px;
        height: 44px;
    }

    .gcdoc-toolbar .lw-view-toggle[b-jqpwscupzg]  button.active {
        background: transparent;
        box-shadow: none;
    }

    .gcdoc-toolbar .lw-view-toggle[b-jqpwscupzg]  button.active::before {
        content: "";
        position: absolute;
        inset: 2px;
        border-radius: 5px;
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-sm);
    }

    .gcdoc-toolbar .lw-view-toggle[b-jqpwscupzg]  .mud-icon-root {
        position: relative;
    }
}
/* _content/Ledgerwise/Components/Shared/BuilderMouPanel.razor.rz.scp.css */
/* US-957: a builder's MOU on the administrator's onboarding dialog.
   source: none -- ledgerwise-ui has no administrator MOU view (2026-10-01). Composed from
   existing pieces so nothing here is new chrome:
   - head + title: the dialog section title (Bug-938 .sod-history-title: 12px/600 uppercase
     0.04em --lw-gray-graphite) with a StatusChip Small (badge sm) at the right;
   - note: OnboardingStatusPanel .osp-note (13px --lw-gray-graphite);
   - document row: owner-documents-table.tsx row cell -- flex items-center gap-2.5 (10px);
     file-type tag text-[10px] font-bold uppercase tracking-wide on bg-muted, rounded-sm (4px),
     px-1.5 py-0.5 (6x2px), text-content-secondary; name text-sm font-medium (14/500)
     text-foreground; meta text-xs (12px) text-content-secondary (the stacked-card variant);
     the row action is the shared outline page action (lw-page.css, action-sm) instead of
     the reference's hidden "..." menu, so the one thing an admin can do is visible. */
.bmp[b-rj6vodkjbn] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bmp-head[b-rj6vodkjbn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bmp-title[b-rj6vodkjbn] {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.bmp-note[b-rj6vodkjbn] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.bmp-doc[b-rj6vodkjbn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bmp-doc-tag[b-rj6vodkjbn] {
    flex-shrink: 0;
    display: inline-flex;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--lw-bg-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-graphite);
}

.bmp-doc-text[b-rj6vodkjbn] {
    flex: 1 1 200px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bmp-doc-name[b-rj6vodkjbn] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

/* The revision rides beside the name at meta weight, so the signed line stays one phrase. */
.bmp-doc-rev[b-rj6vodkjbn] {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 400;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.bmp-doc-meta[b-rj6vodkjbn] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.bmp-doc-view[b-rj6vodkjbn] {
    flex-shrink: 0;
}

/* Phone width: the action drops under the row and stretches, as the site's
   phone layouts stack their row actions. */
@media (max-width: 480px) {
    .bmp-doc-view[b-rj6vodkjbn] {
        width: 100%;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Shared/Card.razor.rz.scp.css */
.lw-card[b-qtytj2dnbq] {
    border-radius: var(--lw-radius-card);
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.lw-card--surface-form[b-qtytj2dnbq] {
    background: var(--lw-form-surface);
}

.lw-card--elevated[b-qtytj2dnbq] {
    box-shadow: var(--lw-shadow-card);
}

.lw-card--clip[b-qtytj2dnbq] {
    overflow: hidden;
}

.lw-card__header[b-qtytj2dnbq] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--lw-border);
}

/* Interactive (clickable) card: hover lift + keyboard focus ring. */
.lw-card--interactive[b-qtytj2dnbq] {
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.lw-card--interactive:hover[b-qtytj2dnbq] {
    box-shadow: var(--lw-shadow-card);
}

.lw-card--interactive:focus-visible[b-qtytj2dnbq] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}
/* _content/Ledgerwise/Components/Shared/CheckDeliveryChooser.razor.rz.scp.css */
/* The mailing-address block under the Mailed check card (US-1175). The cards themselves are
   the shared lw-sign-method vocabulary (css/components/lw-sign.css). */
.cdc-address[b-6zg7ad5p3x] {
    margin-top: 1rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    background: var(--lw-bg-muted, #F0F3F6);
}

.cdc-address-title[b-6zg7ad5p3x] {
    margin: 0 0 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-gray-graphite, #6E7180);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cdc-address-current[b-6zg7ad5p3x] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* The pin is a MudIcon (a child component), so it needs ::deep to take the scope. */
.cdc-address-current[b-6zg7ad5p3x]  .cdc-address-pin {
    color: var(--lw-primary-blue, #3980A5);
}

.cdc-address-text[b-6zg7ad5p3x] {
    flex: 1 1 12rem;
    font-weight: 500;
}

.cdc-address-picked[b-6zg7ad5p3x] {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--lw-gray-graphite, #6E7180);
}

.cdc-address-errors[b-6zg7ad5p3x] {
    margin: 0.5rem 0 0;
    padding-left: 1.125rem;
    font-size: 0.8125rem;
    color: var(--bs-danger, #B42318);
}

/* The host's line under the title (the W-9 link: where the address comes from, what it is for). */
.cdc-address-help[b-6zg7ad5p3x] {
    margin: -0.25rem 0 0.625rem;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite, #6E7180);
}

/* Confirmed / awaiting-confirmation tag beside the address on file (US-1175). */
.cdc-address-tag[b-6zg7ad5p3x] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.cdc-address-tag--pending[b-6zg7ad5p3x] {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

/* The note under a new address: the builder confirms it, this payment is emailed. */
.cdc-address[b-6zg7ad5p3x]  .cdc-address-pending {
    margin-top: 0.75rem;
}

/* ---- Compact (US-1191, the W-9 link) ---- */
.cdc-address--compact .cdc-address-current[b-6zg7ad5p3x] {
    padding: 10px 12px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

.cdc-address--compact .cdc-address-text[b-6zg7ad5p3x] {
    font-weight: var(--lw-font-regular);
    color: var(--lw-text-primary);
}

.cdc-change[b-6zg7ad5p3x] {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-primary-blue);
    cursor: pointer;
}

.cdc-change:hover[b-6zg7ad5p3x] {
    text-decoration: underline;
}

/* Compact: no panel; a plain 14/600 title over the help line, like a form section. */
.cdc-address--compact[b-6zg7ad5p3x] {
    margin-top: 20px;
    padding: 0;
    border: 0;
    background: transparent;
}

.cdc-address--compact .cdc-address-title[b-6zg7ad5p3x] {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
    text-transform: none;
    letter-spacing: normal;
}

.cdc-address--compact .cdc-address-help[b-6zg7ad5p3x] {
    margin: 0 0 10px;
}

/* Compact hover (Saad, 19 Nov): the app's choose-one hover (VendorTypeChooser, SelectRfpRecipient):
   a 40% brand-blue border, no lift or shadow, so hover never reads as selected. */
.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method:not(.lw-sign-method--selected):hover {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
    box-shadow: none;
    transform: none;
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method--selected:hover {
    transform: none;
}

/* Compact edit state: the address and suite fields 12px apart; "Keep the current address" under them. */
.cdc-edit[b-6zg7ad5p3x] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cdc-keep[b-6zg7ad5p3x] {
    display: inline-block;
    /* Close to the fields it undoes (8px visual; the field box adds 4px below). */
    margin-top: 4px;
}

/* Compact title with its info tip (ProjectPeopleCard / LwBalanceStat pattern). */
.cdc-address--compact .cdc-address-title--tip[b-6zg7ad5p3x] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.cdc-info[b-6zg7ad5p3x] {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 20px;
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
}

.cdc-info:hover[b-6zg7ad5p3x],
.cdc-info:focus-visible[b-6zg7ad5p3x] {
    color: var(--lw-gray-graphite);
}

.cdc-info[b-6zg7ad5p3x]  .cdc-info__glyph {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.cdc-info__tip[b-6zg7ad5p3x] {
    position: absolute;
    z-index: 60;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    width: max-content;
    max-width: 17.5rem;
    padding: 0.625rem 0.75rem;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    font-family: var(--lw-font-family);
    font-size: 0.75rem;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.cdc-info:hover .cdc-info__tip[b-6zg7ad5p3x],
.cdc-info:focus-visible .cdc-info__tip[b-6zg7ad5p3x] {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Compact cards (Saad, 19 Nov): the app's choose-one card (VendorTypeChooser .lw-vtype-item,
   SelectRfpRecipientModal .srr-row) instead of the lien waiver card: 1px hairline, card radius,
   selected = brand-blue border + a 30% ring + a light info tint. Keyboard focus is the same soft
   ring, never a second outline outside the selected ring. */
.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method {
    border-width: 1px;
    border-radius: var(--lw-radius-card);
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method--selected {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
}

/* Compact sizing (Saad, 19 Nov): the saved-address box is a read-only twin of the inputs that
   replace it on Change -- same 54px height and 14px text -- and the title clears the floated labels. */
.cdc-address--compact .cdc-address-current[b-6zg7ad5p3x] {
    min-height: 54px;
    padding: 0 14px;
    box-sizing: border-box;
}

.cdc-address--compact .cdc-address-text[b-6zg7ad5p3x] {
    font-size: 14px;
}

.cdc-address--compact:has(.cdc-edit) .cdc-address-title--tip[b-6zg7ad5p3x] {
    margin-bottom: 18px;
}

/* Compact card anatomy (Saad, 19 Nov): the app's choose-one card (VendorTypeChooser .lw-vtype-row):
   16px radio on the left, 14/600 Inter name with a 13px graphite line 2px under it, 14px 16px padding. */
.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    padding: 14px 16px;
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-radio {
    position: static;
    grid-row: 1 / span 2;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-width: 2px;
    border-color: var(--lw-gray-smoke);
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method--selected .lw-sign-radio {
    border-color: var(--lw-primary-blue);
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method--selected .lw-sign-radio::after {
    width: 6px;
    height: 6px;
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method-name {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    line-height: 20px;
    color: var(--lw-text-primary);
}

.cdc-compact[b-6zg7ad5p3x]  .lw-sign-method-desc {
    font-size: 13px;
    line-height: 1.45;
}
/* _content/Ledgerwise/Components/Shared/ControlCard.razor.rz.scp.css */
/* Wizard control card -- mirrors ledgerwise-ui ControlCard. */
.cc-card[b-3yz83k5trf] {
    display: flex;
    flex-direction: column;
    border-radius: var(--lw-radius-card);
    border: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
    box-shadow: var(--lw-shadow-card);
}

.cc-head[b-3yz83k5trf] {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--lw-border);
    background: var(--lw-white);
    padding: 16px 24px;
    border-radius: var(--lw-radius-card) var(--lw-radius-card) 0 0;
}

.cc-head__icon[b-3yz83k5trf] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
}

.cc-head__icon[b-3yz83k5trf]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: var(--lw-primary-blue) !important;
}

.cc-head__text[b-3yz83k5trf] {
    flex: 1;
    min-width: 0;
}

.cc-head__title[b-3yz83k5trf] {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 24px;
    color: var(--lw-text-primary);
}

/* Title adornment (US-1043): a count pill directly after the title text, on the
   title line; it wraps under the title when the line is too narrow. */
.cc-head__title--adorned[b-3yz83k5trf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.cc-head__title-adornment[b-3yz83k5trf] {
    display: inline-flex;
    align-items: center;
}

/* Sub reads in the LIGHT muted-foreground (#9DA2B3), not graphite --
   corrected 2026-07-23 against control-card.tsx (text-muted-foreground). */
.cc-head__sub[b-3yz83k5trf] {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cc-head__action[b-3yz83k5trf] {
    flex-shrink: 0;
}

/* ── Collapsible variant ── the whole head is the toggle. */
.cc-head--toggle[b-3yz83k5trf] {
    cursor: pointer;
    user-select: none;
    transition: background-color 120ms ease-out;
}

/* Pointer devices only: on touch the tint stuck after a tap and read as a state. */
@media (hover: hover) {
    .cc-head--toggle:hover[b-3yz83k5trf] {
        background: color-mix(in srgb, var(--lw-bg-muted) 60%, var(--lw-white));
    }
}

.cc-head--toggle:focus-visible[b-3yz83k5trf] {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: -2px;
}

/* Collapsed: the head is the whole card, so it owns all four corners and no
   hairline sits under it. */
.cc-card--collapsed .cc-head[b-3yz83k5trf],
.cc-card--head-only .cc-head[b-3yz83k5trf] {
    border-bottom-color: transparent;
    border-radius: var(--lw-radius-card);
}

.cc-head__chevron[b-3yz83k5trf] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--lw-radius-control);
    color: var(--lw-gray-graphite);
    transition: transform 180ms ease-out;
}

.cc-head__chevron[b-3yz83k5trf]  .mud-icon-root {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.cc-card--collapsed .cc-head__chevron[b-3yz83k5trf] {
    transform: rotate(-90deg);
}

/* Body expand/collapse: 0fr -> 1fr grid row (height auto without JS), with
   the fade the reference's framer height/opacity pairing gives. Transitions
   only arm after the stored state is applied (.cc-collapse--animate). */
.cc-collapse[b-3yz83k5trf] {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
}

.cc-collapse--animate[b-3yz83k5trf] {
    transition: grid-template-rows 180ms ease-out, opacity 180ms ease-out, visibility 0s linear 180ms;
}

.cc-collapse.is-open[b-3yz83k5trf] {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
}

.cc-collapse--animate.is-open[b-3yz83k5trf] {
    transition: grid-template-rows 180ms ease-out, opacity 180ms ease-out, visibility 0s;
}

.cc-collapse__inner[b-3yz83k5trf] {
    min-height: 0;
    overflow: hidden;
    /* Round the clipped edge so a flush body still ends on the card radius. */
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
}

@media (prefers-reduced-motion: reduce) {
    .cc-collapse--animate[b-3yz83k5trf],
    .cc-head__chevron[b-3yz83k5trf] {
        transition: none;
    }
}

.cc-body[b-3yz83k5trf] {
    padding: 24px;
}

.cc-note[b-3yz83k5trf] {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-muted);
    padding: 12px;
}

.cc-note[b-3yz83k5trf]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: var(--lw-gray-graphite) !important;
    margin-top: 1px;
}

.cc-note__text[b-3yz83k5trf] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

/* Reference bolds + darkens <strong> runs inside a note. */
.cc-note__text[b-3yz83k5trf]  strong,
.cc-note__text strong[b-3yz83k5trf] {
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

/* Below md the reference tightens to px-5/p-5 (20px). */
@media (max-width: 767px) {
    .cc-head[b-3yz83k5trf] {
        padding: 16px 20px;
    }

    .cc-body[b-3yz83k5trf] {
        padding: 20px;
    }

    .cc-body--flush[b-3yz83k5trf] {
        padding: 0;
    }
}

/* Full-bleed body variant (list rows own their inset). Clips to the card's bottom
   radius so a row background cannot square off the card's bottom corners. */
.cc-body--flush[b-3yz83k5trf] {
    padding: 0;
    border-radius: 0 0 var(--lw-radius-card) var(--lw-radius-card);
    overflow: hidden;
}

/* Phone (US-798): the one-line ellipsized subtitle hides most of its sentence
   on a 375px card, so let it wrap there. The two-line clamp went in US-1043:
   beside an inline action the text column is narrow enough that two lines
   still cut the sentence ("People acting for the Project Owner on this
   project - Owner'..."), and a hidden sentence is worse than a taller head. */
@media (max-width: 599px) {
    .cc-head__sub[b-3yz83k5trf] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    /* A trailing action competing for the same line squeezed the text column
       to about half the card: the title broke across two lines and the
       subtitle still truncated ("How the construction budget is being..."),
       while the action itself wrapped. The action drops to its own line,
       aligned under the text column, so the title and subtitle get the full
       width -- the same shape the critical-task and document rows use. */
    .cc-head[b-3yz83k5trf] {
        flex-wrap: wrap;
        row-gap: 10px;
        padding: 16px;
    }

    .cc-head__text[b-3yz83k5trf] {
        flex: 1 1 calc(100% - 58px);
    }

    .cc-head__action[b-3yz83k5trf] {
        /* 44px icon tile + 14px gap keeps it on the title's left edge. */
        flex: 0 0 auto;
        margin-left: 58px;
    }

    /* Collapsible head: the chevron is part of the head, not an action -- it stays on
       the title row at the far right (the canonical head: tile | title + subtitle |
       trailing control) instead of wrapping to a line of its own (Cody 2026-10-12). */
    .cc-head--toggle[b-3yz83k5trf] {
        flex-wrap: nowrap;
    }

    .cc-head--toggle .cc-head__text[b-3yz83k5trf] {
        flex: 1 1 0;
        min-width: 0;
    }
}

/* Inline-action mode (US-926): a single compact action (an icon-only Edit) stays on the title
   row at the top right on phones -- dropping it to its own line spent a whole row on one
   small button (Cody 2026-09-29). The head is a grid: icon | title + subtitle | action.
   Title and subtitle stay ONE block beside the tile, exactly as on a card with no action
   (Cody 2026-10-12: a subtitle on its own row under the tile is not the canonical head);
   card actions are icon-only 44px squares on phones (lw-card-action), so the text column
   is no longer squeezed by a label. */
@media (max-width: 599px) {
    .cc-card--inline-action .cc-head[b-3yz83k5trf] {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        column-gap: 14px;
        align-items: center;
    }

    .cc-card--inline-action .cc-head__icon[b-3yz83k5trf] {
        grid-column: 1;
        grid-row: 1;
    }

    .cc-card--inline-action .cc-head__text[b-3yz83k5trf] {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .cc-card--inline-action .cc-head__action[b-3yz83k5trf] {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }
}
/* _content/Ledgerwise/Components/Shared/CountBadge.razor.rz.scp.css */
.lw-count-badge[b-rtil1yenjt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    font-family: var(--lw-font-family);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.lw-count-badge--xs[b-rtil1yenjt] {
    height: 14px;
    min-width: 14px;
    padding: 0 4px;
    font-size: 9px;
}

.lw-count-badge--sm[b-rtil1yenjt] {
    height: 18px;
    min-width: 18px;
    padding: 0 5px;
    font-size: 10px;
}

.lw-count-badge--md[b-rtil1yenjt] {
    height: 20px;
    min-width: 20px;
    padding: 0 6px;
    font-size: 11px;
}

.lw-count-badge--accent[b-rtil1yenjt] {
    background: var(--lw-primary-blue);
    color: var(--lw-primary-blue-fg);
}

.lw-count-badge--sidebar[b-rtil1yenjt] {
    background: rgba(255, 255, 255, 0.15);
    color: var(--lw-sidebar-text-active);
}

.lw-count-badge--ring[b-rtil1yenjt] {
    box-shadow: 0 0 0 2px var(--lw-white);
}
/* _content/Ledgerwise/Components/Shared/DuplicateInvoiceWarning.razor.rz.scp.css */
/* DuplicateInvoiceWarning -- body content inside the Warning LwCallout.
   The callout owns the box, glyph, title, and 14/1.625 graphite body type;
   this file only sets the match list's internal rhythm (2026-07-29). */

.dup-lead[b-i1m05247p8] {
    margin: 0;
}

.dup-matches[b-i1m05247p8] {
    display: grid;
    gap: 8px;
    margin: 10px 0 0;
}

.dup-match[b-i1m05247p8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
}

.dup-match-label[b-i1m05247p8] {
    margin: 0;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lw-status-warning-fg);
}

.dup-match-value[b-i1m05247p8] {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--lw-text-primary);
    /* File names and reference lists have no break points (US-1043, A2). */
    overflow-wrap: anywhere;
    min-width: 0;
}

.dup-hint[b-i1m05247p8] {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Shared/EmptyState.razor.rz.scp.css */
.lw-empty-hero[b-fhrnsb7zyc] {
    padding: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--lw-primary-dark) 0%, var(--lw-primary-blue) 100%);
    border-radius: 16px;
}

.lw-empty-hero-title[b-fhrnsb7zyc] {
    color: var(--lw-white);
    font-weight: var(--lw-font-bold);
    margin-bottom: 0.75rem;
}

.lw-empty-hero-desc[b-fhrnsb7zyc]  p,
.lw-empty-hero-desc[b-fhrnsb7zyc] {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.25rem 0;
}

.lw-empty-hero-cta[b-fhrnsb7zyc] {
    background-color: var(--lw-white) !important;
    color: var(--lw-primary-dark) !important;
    font-weight: var(--lw-font-semibold);
    border-radius: 24px;
    text-transform: none;
}

.lw-empty-hero-iconwrap[b-fhrnsb7zyc] {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lw-empty-hero-icon[b-fhrnsb7zyc] {
    color: var(--lw-white);
    font-size: 4rem;
}

.lw-empty-features[b-fhrnsb7zyc] {
    margin-top: 0;
}
/* _content/Ledgerwise/Components/Shared/FileDropZone.razor.rz.scp.css */
.fdz-wrap[b-o7eq5iutab] {
    position: relative;
}

.fdz[b-o7eq5iutab] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 150px;
    padding: 24px;
    border: 2px dashed var(--lw-input-border, rgba(145, 158, 171, 0.4));
    border-radius: var(--lw-radius-card, 8px);
    background: var(--lw-bg-muted, #f0f3f6);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fdz:hover[b-o7eq5iutab],
.fdz--over[b-o7eq5iutab] {
    border-color: var(--lw-primary-blue, #3980a5);
    background: var(--lw-status-info-bg, #e8f1f6);
}

.fdz__text[b-o7eq5iutab] {
    min-width: 0;
}

/* Compact: a short row with a hairline dash and a small outline icon. */
.fdz--compact[b-o7eq5iutab] {
    flex-direction: row;
    gap: 12px;
    min-height: 72px;
    padding: 12px 16px;
    border-width: 1px;
    background: var(--lw-form-surface, #fcfdfe);
    text-align: left;
}

.fdz--compact .fdz__icon[b-o7eq5iutab] {
    display: inline-flex;
    flex-shrink: 0;
}

.fdz--compact .fdz__icon[b-o7eq5iutab]  .mud-icon-root {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
    color: var(--lw-gray-graphite, #6e7180);
}

.fdz--compact .fdz__title[b-o7eq5iutab] {
    margin: 0;
    font-weight: 500;
}

.fdz__icon[b-o7eq5iutab]  .mud-icon-root {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 2.4rem;
    color: var(--lw-primary-blue, #3980a5);
}

.fdz__title[b-o7eq5iutab] {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-text-primary, #18181b);
}

.fdz__sub[b-o7eq5iutab] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite, #6e7180);
}
/* _content/Ledgerwise/Components/Shared/FilterChip.razor.rz.scp.css */
.lw-filter-chip[b-62odolomc2] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 28px;
    padding: 0 0.625rem;
    border-radius: var(--lw-radius-control);
    border: 1px solid var(--lw-border);
    background: transparent;
    color: var(--lw-gray-graphite);
    font-family: var(--lw-font-family);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lw-filter-chip--sm[b-62odolomc2] {
    font-size: 12px;
}

.lw-filter-chip--md[b-62odolomc2] {
    font-size: 13px;
}

.lw-filter-chip:hover[b-62odolomc2] {
    background: var(--lw-bg-muted);
    color: var(--lw-text-primary);
}

.lw-filter-chip--active[b-62odolomc2] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-color: transparent;
    font-weight: 600;
}

.lw-filter-chip--active:hover[b-62odolomc2] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lw-filter-chip__close[b-62odolomc2] {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    opacity: 0.7;
}

.lw-filter-chip__close:hover[b-62odolomc2] {
    opacity: 1;
}

.lw-filter-chip__close-icon[b-62odolomc2] {
    font-size: 0.875rem;
}
/* _content/Ledgerwise/Components/Shared/Form5119/Form5119Document.razor.rz.scp.css */
/* Form5119Document chrome lives in wwwroot/css/components/lw-legal-doc.css
   (promoted 2026-08-23 when LienWaiverDocument became the second consumer of
   the aa-doc / aa-toc / aa-article reading surface). Only the phone fit of
   this document's own markup is scoped here (US-1043). */

/* Phones: the bands take the 16px phone gutter (the shared sheet stops at
   20px), and party names typed without spaces break instead of pushing the
   card wider than the screen. */
@media (max-width: 767.98px) {
    .aa-recitals[b-romphvetip],
    .aa-article[b-romphvetip] {
        padding-left: 16px;
        padding-right: 16px;
    }

    .aa-recital[b-romphvetip],
    .aa-article__title[b-romphvetip],
    .aa-clause__heading[b-romphvetip],
    .aa-clause__text[b-romphvetip],
    .aa-gloss__text[b-romphvetip],
    .aa-callout__text[b-romphvetip] {
        overflow-wrap: anywhere;
    }

    /* Flex children: without min-width 0 a long word sets the row's width. */
    .aa-article__title[b-romphvetip],
    .aa-callout > div[b-romphvetip] {
        min-width: 0;
    }

    .aa-callout[b-romphvetip] {
        gap: 12px;
        padding: 14px 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/Form5119/Form5119SignBlock.razor.rz.scp.css */
/* ============================================================
   Shared Form 5119 sign block: acknowledgments, signature grid, and the
   draw/type adopt-signature overlay. Lifted verbatim from
   AccountAgreement.razor.css. Colors reference --lw-* tokens.
   ============================================================ */

.aa-sign[b-smipyeppxg] {
    margin-top: 24px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    padding: 24px 28px;
}

.aa-sign__title[b-smipyeppxg] {
    font-size: 18px;
    font-weight: 700;
    color: var(--lw-text-primary);
    margin: 0;
}

.aa-sign__sub[b-smipyeppxg] {
    margin: 6px 0 0;
    max-width: 60ch;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}

.aa-acks[b-smipyeppxg] {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aa-ack[b-smipyeppxg] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start !important;
    gap: 12px;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    border-radius: var(--lw-radius-card);
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
}

.aa-ack:hover[b-smipyeppxg] {
    background: var(--lw-bg-muted);
}

.aa-ack.is-checked[b-smipyeppxg] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-status-info-bg);
}

.aa-ack__box[b-smipyeppxg] {
    flex-shrink: 0;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--lw-gray-steel);
    background: var(--lw-white);
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.aa-ack.is-checked .aa-ack__box[b-smipyeppxg] {
    border-color: var(--lw-primary-blue);
    background: var(--lw-primary-blue);
}

.aa-ack__box[b-smipyeppxg]  .mud-icon-root {
    color: var(--lw-white) !important;
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.aa-ack__text[b-smipyeppxg] {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-text-primary);
}

.aa-ack__text strong[b-smipyeppxg] {
    font-weight: 700;
}

/* Signature grid */
.aa-sig-grid[b-smipyeppxg] {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.aa-sig-field[b-smipyeppxg] {
    grid-column: 1 / -1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 140px;
    padding: 28px 14px 14px;
    border: 1px dashed var(--lw-input-border);
    border-radius: 6px;
    background: var(--lw-white);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease;
    font-family: inherit;
}

.aa-sig-field:hover[b-smipyeppxg] {
    border-color: var(--lw-primary-blue);
}

.aa-sig-field.is-signed[b-smipyeppxg] {
    border-style: solid;
    border-color: var(--lw-primary-blue);
}

.aa-sig-field__label[b-smipyeppxg] {
    position: absolute;
    left: 14px;
    top: 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.aa-sig-field__action[b-smipyeppxg] {
    position: absolute;
    right: 14px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--lw-primary-blue);
}

.aa-sig-field__action[b-smipyeppxg]  .mud-icon-root {
    color: var(--lw-primary-blue) !important;
    width: 13px;
    height: 13px;
    font-size: 13px;
}

.aa-sig-field__img[b-smipyeppxg] {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
}

.aa-sig-field__typed[b-smipyeppxg] {
    font-size: 34px;
    line-height: 1.1;
    color: var(--lw-text-primary);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.aa-sig-field__placeholder[b-smipyeppxg] {
    font-size: 0.875rem;
    color: var(--lw-gray-space);
}

.aa-sig-field__baseline[b-smipyeppxg] {
    margin-top: 6px;
    border-top: 1px solid var(--lw-border);
}

.aa-sig-input[b-smipyeppxg] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aa-sig-input__label[b-smipyeppxg] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.aa-sig-input__field[b-smipyeppxg] {
    height: 40px;
    border: 1px solid var(--lw-input-border);
    border-radius: 6px;
    background: var(--lw-white);
    padding: 0 12px;
    font-size: var(--lw-input-font-size); /* 16px on phones: no iOS focus zoom (US-926) */
    color: var(--lw-text-primary);
    font-family: inherit;
    transition: border-color 0.15s ease;
}

.aa-sig-input__field[b-smipyeppxg]::placeholder {
    color: var(--lw-gray-space);
}

.aa-sig-input__field:focus[b-smipyeppxg] {
    outline: none;
    border-color: var(--lw-primary-blue);
}

.aa-sig-date[b-smipyeppxg] {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lw-text-primary);
}

/* Cursive signature face (typed signatures + previews) */
.aa-sig-script[b-smipyeppxg] {
    font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
}

/* -- Adopt-signature dialog (US-926) --
   Shell, header, body padding, footer and the phone bottom sheet are the
   canonical lw-modal atoms (MudDialog + LwModalHeader / LwModalBody /
   LwModalFooter); Draw / Type are LwChip tabs. Only the dialog's content
   (tab row spacing, canvas, typed preview, legal line) is styled here. */
.aa-adopt__tabs[b-smipyeppxg] {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.aa-adopt__body[b-smipyeppxg] {
    padding: 0;
}

.aa-adopt__canvas-wrap[b-smipyeppxg] {
    position: relative;
}

.aa-adopt__canvas[b-smipyeppxg] {
    display: block;
    width: 100%;
    height: 180px;
    border: 1px dashed var(--lw-input-border);
    border-radius: 6px;
    background: var(--lw-white);
    cursor: crosshair;
    touch-action: none;
}

.aa-adopt__baseline[b-smipyeppxg] {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 40px;
    border-bottom: 1px solid var(--lw-border);
    pointer-events: none;
}

.aa-adopt__hint[b-smipyeppxg] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--lw-gray-space);
    pointer-events: none;
}

.aa-adopt__clear[b-smipyeppxg] {
    position: absolute;
    right: 8px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    font-family: inherit;
}

.aa-adopt__clear:hover[b-smipyeppxg] {
    background: var(--lw-bg-muted);
    color: var(--lw-text-primary);
}

.aa-adopt__clear[b-smipyeppxg]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: currentColor !important;
}

.aa-adopt__type[b-smipyeppxg] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aa-adopt__type-input[b-smipyeppxg] {
    height: 40px;
    border: 1px solid var(--lw-input-border);
    border-radius: 6px;
    background: var(--lw-white);
    padding: 0 12px;
    font-size: var(--lw-input-font-size); /* 16px on phones: no iOS focus zoom (US-926) */
    color: var(--lw-text-primary);
    font-family: inherit;
}

.aa-adopt__type-input:focus[b-smipyeppxg] {
    outline: none;
    border-color: var(--lw-primary-blue);
}

.aa-adopt__type-preview[b-smipyeppxg] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px dashed var(--lw-input-border);
    border-radius: 6px;
    background: var(--lw-white);
}

.aa-adopt__type-preview .aa-sig-script[b-smipyeppxg] {
    font-size: 34px;
    line-height: 1;
    color: var(--lw-text-primary);
    padding: 0 16px;
    text-align: center;
}

.aa-adopt__legal[b-smipyeppxg] {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.is-hidden[b-smipyeppxg] {
    display: none !important;
}

/* E-sign disclosure link under the acknowledgments */
.aa-disclosure[b-smipyeppxg] {
    margin: 10px 2px 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.aa-disclosure a[b-smipyeppxg] {
    color: var(--lw-primary-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* -- Phones (US-1043) -- shared by the account agreement, send-proposal,
   lien waiver and Founding Builder MOU hosts. */
@media (max-width: 767.98px) {
    .aa-sig-grid[b-smipyeppxg] {
        grid-template-columns: 1fr;
    }

    .aa-sign[b-smipyeppxg] {
        padding: 20px 16px;
    }

    .aa-ack[b-smipyeppxg] {
        min-height: 44px;
    }

    /* Long organization names in the "authorized to bind" line wrap. */
    .aa-ack__text[b-smipyeppxg] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* 44px fields; the text is already 16px through --lw-input-font-size. */
    .aa-sig-input__field[b-smipyeppxg],
    .aa-adopt__type-input[b-smipyeppxg] {
        height: 44px;
    }

    /* Clear fills the pad's top-right corner as a 44px target. */
    .aa-adopt__clear[b-smipyeppxg] {
        top: 0;
        right: 0;
        height: 44px;
        min-width: 44px;
        padding: 0 12px;
        font-size: 13px;
    }

    /* The baseline keeps the same proportion of a narrower pad. */
    .aa-adopt__baseline[b-smipyeppxg] {
        left: 16px;
        right: 16px;
    }

    /* A long typed name wraps inside the preview instead of spilling out. */
    .aa-adopt__type-preview[b-smipyeppxg] {
        height: auto;
        min-height: 120px;
        padding: 12px 0;
    }

    .aa-adopt__type-preview .aa-sig-script[b-smipyeppxg] {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
/* _content/Ledgerwise/Components/Shared/InvoicePhotosCard.razor.rz.scp.css */
/* InvoicePhotosCard: the photo tile grid shared by the invoice drawer and the inbox
   Confirm sheet (US-1165). Moved here from ViewInvoiceModal.razor.css so both hosts
   draw the same card. Tokens only; no brand fonts declared here. */

.ipc-count[b-0j5vh6asvb] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-bg-muted);
    color: var(--lw-gray-graphite, #6E7180);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.ipc-tiles[b-0j5vh6asvb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ipc-tile[b-0j5vh6asvb] {
    width: 76px;
    height: 76px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.ipc-tile:hover[b-0j5vh6asvb] {
    border-color: rgba(57, 128, 165, 0.4);
}

.ipc-tile img[b-0j5vh6asvb] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ipc-tile--active[b-0j5vh6asvb] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px var(--lw-primary-blue);
}

.ipc-add[b-0j5vh6asvb] {
    border: 1px dashed var(--lw-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    color: var(--lw-gray-graphite, #6E7180);
    font-size: 10px;
    font-weight: 500;
}

.ipc-add:hover[b-0j5vh6asvb] {
    border-color: rgba(57, 128, 165, 0.4);
    color: var(--lw-primary-blue);
}

/* Two-step remove: the first click arms (destructive fill), the second removes. */
.ipc-remove[b-0j5vh6asvb] {
    position: absolute;
    top: 3px;
    right: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(2, 11, 43, 0.55);
    color: var(--lw-white);
    cursor: pointer;
    transition: background 0.15s;
}

.ipc-remove:hover[b-0j5vh6asvb],
.ipc-remove--armed[b-0j5vh6asvb] {
    background: var(--lw-destructive);
}

/* Phone: the remove hit box grows to a 44px corner square while the visible chip
   stays a small dark (armed: destructive) disc in its middle (US-1043 targets). */
@media (max-width: 767.98px) {
    .ipc-remove[b-0j5vh6asvb],
    .ipc-remove:hover[b-0j5vh6asvb] {
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
        border-radius: 0;
        background: radial-gradient(circle, rgba(2, 11, 43, 0.55) 0 11px, transparent 11.5px);
    }

    .ipc-remove--armed[b-0j5vh6asvb],
    .ipc-remove--armed:hover[b-0j5vh6asvb] {
        background: radial-gradient(circle, var(--lw-destructive) 0 11px, transparent 11.5px);
    }
}
/* _content/Ledgerwise/Components/Shared/LegendItem.razor.rz.scp.css */
.lw-legend-item[b-2q6kg4frpe] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.lw-legend-item__label[b-2q6kg4frpe] {
    font-size: 0.6875rem;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Shared/LienWaiver/LienWaiverDocument.razor.rz.scp.css */
/* Lien waiver document -- only what the shared legal-document surface
   (wwwroot/css/components/lw-legal-doc.css, the aa-doc / aa-article / aa-clause
   vocabulary the account agreement uses) does not already cover. Every value
   row is an aa-clause (14px/600 heading over 14px regular text, 12px stack
   gap) so the content reads exactly like the agreement's articles. Tokens from
   branding.css. Re-seated 2026-08-23 (was a self-contained branded card with
   logo / masthead / gold rule and underlined navy value rows). */

/* Statutory title in the head band: sits under the statute eyebrow, sized
   like an article title so the band reads as the document's own header. */
.lw-waiver__doc-title[b-zl2hwc5geb] {
    margin: 6px 0 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--lw-text-primary);
}

/* Lead paragraph of an article sits above its clause list (the clause list
   carries its own 12px top margin). */
.lw-waiver__paragraph[b-zl2hwc5geb] {
    margin: 12px 0 0;
}

.lw-waiver__paragraph--tight[b-zl2hwc5geb] {
    margin: 0;
}

/* Signer-editable clause: the control sits under its heading at field width. */
.lw-waiver__input[b-zl2hwc5geb] {
    max-width: 260px;
    margin-top: 4px;
}

/* Exceptions list: statutory marker column + text, clause-text type. */
.lw-waiver__exception[b-zl2hwc5geb] {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.lw-waiver__exception-marker[b-zl2hwc5geb] {
    flex: 0 0 26px;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--lw-text-primary);
}

.lw-waiver__exception-body[b-zl2hwc5geb] {
    flex: 1;
    min-width: 0;
}

.lw-waiver__subfields[b-zl2hwc5geb] {
    margin-left: 0;
}

.lw-waiver__footer[b-zl2hwc5geb] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 10px;
    border-top: 1px solid var(--lw-border);
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

/* Phones (US-926, Cody 2026-09-27): the signer-editable fields (Through Date,
   the exception (3) date and amount, the final-payment disputed claims) span
   their column instead of stopping at 260px beside empty space -- a
   full-width tap target, like every other form field on a phone. */
@media (max-width: 767.98px) {
    .lw-waiver__input[b-zl2hwc5geb] {
        max-width: none;
    }
}
/* _content/Ledgerwise/Components/Shared/LienWaiver/LienWaiverSigningFlow.razor.rz.scp.css */
/* Lien waiver signing step: header + document + sign block stack. Width is
   owned by the host's wizard step column (pw-step-wrap). Header mirrors the
   account agreement step's aa-header (AccountAgreement.razor.css): 22px tight
   heading-font title, 14px muted sub, 24px below. */
.lw-flow[b-yao9jz8coy] {
    margin: 0 auto;
}

/* The sign block carries its own 24px top margin (aa-sign), so only the
   header sets spacing here. */
.lw-flow__header[b-yao9jz8coy] {
    margin: 0 0 24px;
}

.lw-flow__title[b-yao9jz8coy] {
    margin: 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    letter-spacing: var(--lw-tracking-tight);
    line-height: 1.3;
    color: var(--lw-title-color);
}

.lw-flow__sub[b-yao9jz8coy] {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Shared/LienWaiver/LienWaiverStatusCard.razor.rz.scp.css */
/* Lien waiver status card -- layout for the callout + summary grid inside
   the ControlCard body (chrome comes from LwCallout, StatusChip, and the
   pw-review grid in lw-wizard.css). Tokens from branding.css. 2026-08-23. */

.lws-loading[b-rz01b0fgft] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.lws-loading__text[b-rz01b0fgft] {
    min-width: 0;
}

.lws-loading__title[b-rz01b0fgft] {
    margin: 0;
    font-size: 14px;
    font-weight: var(--lw-font-semibold, 600);
    color: var(--lw-text-primary);
}

.lws-loading__sub[b-rz01b0fgft] {
    margin: 2px 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.lws-callout-copy[b-rz01b0fgft] {
    margin: 0;
}

.lws-steps-label[b-rz01b0fgft] {
    margin: 12px 0 4px;
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.lws-steps[b-rz01b0fgft] {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lws-steps li[b-rz01b0fgft] {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-text-primary);
}

/* US-921: the per-invoice breakdown of a waiver covering several invoices. */
.lws-covered__title[b-rz01b0fgft] {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.lws-covered[b-rz01b0fgft]  .lw-label-value__value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lws-summary[b-rz01b0fgft] {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--lw-border);
}

.lws-chip[b-rz01b0fgft] {
    display: inline-flex;
    margin-top: 2px;
}

/* ---- Phone (US-926) ----
   Inside the ControlCard the callout's icon column pushed the copy and the
   "what happens next" list into a narrow indented strip (Cody, 2026-09-27).
   Phones: the icon sits on the title line and the copy and steps run the full
   callout width below. The callout body dissolves (display: contents) so its
   title and text become grid items beside / under the icon. Anchored on the
   .lws-callout wrapper: LwCallout's root never carries this file's scope. */
@media (max-width: 767.98px) {
    .lws-callout[b-rz01b0fgft]  .lw-callout {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 6px;
        padding: 14px;
    }

    .lws-callout[b-rz01b0fgft]  .lw-callout .lw-callout-body {
        display: contents;
    }

    .lws-callout[b-rz01b0fgft]  .lw-callout .lw-callout-icon {
        grid-column: 1;
        grid-row: 1;
        margin-top: 1px;
    }

    .lws-callout[b-rz01b0fgft]  .lw-callout .lw-callout-title {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .lws-callout[b-rz01b0fgft]  .lw-callout .lw-callout-text {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .lws-steps[b-rz01b0fgft] {
        padding-left: 16px;
    }
}
/* _content/Ledgerwise/Components/Shared/LwBudgetTableSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/budget-table-skeleton.tsx, gc variant
   (2026-07-28): header row 44px on table-header fill, category rows 40px on
   40%-muted, line rows 48px, then subtotal 48px / Total Construction Cost
   56px on table-header fill / fee rows 40px / fees total 44px on 60%-muted;
   staggered modulo widths per row. Deviations (see .razor comment): toolbar
   sketches our BudgetToolbar; money columns 10rem per budget-table.css
   canonical widths (expand 2.5rem / line# 4.5rem / desc flex / actions
   4.5rem). Toolbar/table/card chrome comes from lw-page.css, lw-table.css
   and Card. Fade-in mirrors LwPaymentRequestsSkeleton. */

.lw-budget-table-skeleton[b-oxm04hacpg] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-bts-fade-in-b-oxm04hacpg 0.25s ease both;
}

@keyframes lw-bts-fade-in-b-oxm04hacpg {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Toolbar ---- */

.lw-bts-chips[b-oxm04hacpg] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lw-bts-toolbar-right[b-oxm04hacpg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep. */
.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-chip {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

/* Toolbar-right blocks, sized here (not via Width/Height) so the phone
   block below can resize them: search 208x36, two 36px icon buttons, a
   150px primary action -- the BudgetToolbar desktop shape. */
.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-search  { width: 208px; height: 36px; }
.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-icon    { width: 36px;  height: 36px; }
.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-primary { width: 150px; height: 36px; }

/* ---- Body (mirrors .bt-body) ---- */

.lw-bts-body[b-oxm04hacpg] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

/* Wide table scrolls inside the card like the real budget-table-host. */
.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-card {
    overflow-x: auto;
}

.lw-bts-table[b-oxm04hacpg] {
    min-width: 860px;
}

/* Skeleton rows are inert -- suppress the shared row affordances. */
.lw-bts-row[b-oxm04hacpg],
.lw-bts-row:hover[b-oxm04hacpg] {
    background: transparent;
    cursor: default;
}

/* ---- Row rhythm (reference: cat h-10, item h-12, subtotal h-12,
   total h-14, fee h-10, fees-total h-11) ---- */

.lw-bts-row--cat > .lw-table-td[b-oxm04hacpg]        { padding-top: 12px; padding-bottom: 12px; }
.lw-bts-row--fee > .lw-table-td[b-oxm04hacpg]        { padding-top: 12px; padding-bottom: 12px; }
.lw-bts-row--fees-total > .lw-table-td[b-oxm04hacpg] { padding-top: 14px; padding-bottom: 14px; }
.lw-bts-row--total > .lw-table-td[b-oxm04hacpg]      { padding-top: 20px; padding-bottom: 20px; }

/* Category header rows: reference bg-muted/40. */
.lw-bts-row--cat[b-oxm04hacpg],
.lw-bts-row--cat:hover[b-oxm04hacpg] {
    background: color-mix(in srgb, var(--lw-bg-muted) 40%, transparent);
}

/* Total Construction Cost row carries the table-header fill (reference
   bg-table-header-bg); fees total sits on 60%-muted. */
.lw-bts-row--total[b-oxm04hacpg],
.lw-bts-row--total:hover[b-oxm04hacpg] {
    background: var(--lw-bg-table-header);
}

.lw-bts-row--fees-total[b-oxm04hacpg],
.lw-bts-row--fees-total:hover[b-oxm04hacpg] {
    background: color-mix(in srgb, var(--lw-bg-muted) 60%, transparent);
}

/* ---- Column layout (mirrors budget-table.css canonical widths) ---- */

.lw-bts-col-expand[b-oxm04hacpg]  { flex: 0 0 2.5rem; justify-content: center; }
.lw-bts-col-num[b-oxm04hacpg]     { flex: 0 0 4.5rem; }
.lw-bts-col-desc[b-oxm04hacpg]    { flex: 1 1 auto; min-width: 0; }
.lw-bts-col-flex[b-oxm04hacpg]    { flex: 1 1 auto; min-width: 0; }
.lw-bts-col-money[b-oxm04hacpg]   { flex: 0 0 10rem; justify-content: flex-end; }
.lw-bts-col-actions[b-oxm04hacpg] { flex: 0 0 4.5rem; justify-content: center; }

.lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-fixed {
    flex-shrink: 0;
}

/* ---- Phones (US-1043): mirror the phone toolbar -- chips hidden, search
   full width on its own row, then a row of three 44px blocks (icon, icon,
   primary filling the rest). The card clips instead of scrolling so a
   placeholder never grows a horizontal scrollbar; the first three columns
   (expand, number, description) stay visible, the money columns are cut. */
@media (max-width: 767.98px) {
    .lw-bts-chips[b-oxm04hacpg] {
        display: none;
    }

    .lw-bts-toolbar-right[b-oxm04hacpg] {
        flex-wrap: wrap;
        width: 100%;
    }

    .lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-search {
        flex: 1 1 100%;
        width: 100%;
        height: 44px;
    }

    .lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-icon {
        width: 44px;
        height: 44px;
    }

    .lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-tb-primary {
        flex: 1 1 auto;
        width: auto;
        height: 44px;
    }

    .lw-budget-table-skeleton[b-oxm04hacpg]  .lw-bts-card {
        overflow: hidden;
    }
}
/* _content/Ledgerwise/Components/Shared/LwChangeOrdersSkeleton.razor.rz.scp.css */
/* Spec source: ProjectChangeOrders (2026-07-28) -- no ledgerwise-app skeleton
   exists for this tab, so the real tab layout is the measurement source:
   toolbar chips h-36, body muted 16px pad / 16px gap, summary strip grid
   (3-col md+; one figure-plus-label row per card below 768px, US-1043),
   pco-col* column flexes, mobile card stack at <768px, phone toolbar = section
   trigger + 44px create over a full-width 44px search. Toolbar/table/card chrome comes from lw-page.css, lw-table.css and
   Card; only layout + skeleton neutralizations live here. Fade-in mirrors
   LwPaymentRequestsSkeleton. */

.lw-change-orders-skeleton[b-0woywbyhsl] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-cos-fade-in-b-0woywbyhsl 0.25s ease both;
}

@keyframes lw-cos-fade-in-b-0woywbyhsl {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Toolbar ---- */

.lw-cos-chips[b-0woywbyhsl] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lw-cos-toolbar-right[b-0woywbyhsl] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep. */
.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-chip {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

/* Toolbar pieces: desktop = 208px search + 200px create at 36px (the section
   trigger is phone-only, like the real LwSectionTrigger). */
.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-trigger {
    display: none;
}

.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-search {
    width: 208px;
    height: 36px;
}

.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-create {
    width: 200px;
    height: 36px;
}

/* Phones (mirrors the .pco-toolbar phone block + lw-page.css --stack-search): the
   chip rail hides, the trigger fills the first row beside the create button, and
   search drops to its own full-width row; everything 44px tall, 16px gutters. */
@media (max-width: 767.98px) {
    .lw-change-orders-skeleton > .lw-page-toolbar[b-0woywbyhsl] {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }

    .lw-cos-chips[b-0woywbyhsl] {
        display: none;
    }

    .lw-cos-toolbar-right[b-0woywbyhsl] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-trigger {
        display: block;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 44px;
    }

    .lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-create {
        width: 190px;
        height: 44px;
    }

    .lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-search {
        order: 10;
        flex: 1 1 100%;
        width: auto;
        height: 44px;
    }
}

/* The create button is icon-only below 480px (.pco-new-btn-label hides). */
@media (max-width: 480px) {
    .lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-create {
        width: 46px;
    }
}

/* ---- Body (mirrors .pco-body) ---- */

.lw-cos-body[b-0woywbyhsl] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

/* ---- Summary strip (mirrors .pco-summary) ---- */

.lw-cos-summary[b-0woywbyhsl] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .lw-cos-summary[b-0woywbyhsl] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.lw-cos-summary[b-0woywbyhsl]  .lw-cos-summary-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

/* Phones: one row per figure (mirrors the .pco-summary phone rows) -- the figure
   first with its label beside it, 12px / 16px padding. */
@media (max-width: 767.98px) {
    .lw-cos-summary[b-0woywbyhsl]  .lw-cos-summary-item {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
        padding: 12px 16px;
    }
}

/* Skeleton rows are inert -- suppress the shared row affordances. */
.lw-cos-row[b-0woywbyhsl],
.lw-cos-row:hover[b-0woywbyhsl] {
    background: transparent;
    cursor: default;
}

/* ---- Column layout (mirrors ProjectChangeOrders .pco-col*) ---- */

.lw-cos-col-title[b-0woywbyhsl]   { flex: 1 1 220px; min-width: 0; }
.lw-cos-col-num[b-0woywbyhsl]     { flex: 0 0 90px; min-width: 0; }
.lw-cos-col-status[b-0woywbyhsl]  { flex: 0 0 170px; min-width: 0; }
.lw-cos-col-date[b-0woywbyhsl]    { flex: 1 0 140px; min-width: 0; }
.lw-cos-col-amount[b-0woywbyhsl]  { flex: 0 0 130px; min-width: 0; justify-content: flex-end; }
.lw-cos-col-actions[b-0woywbyhsl] { flex: 0 0 130px; justify-content: flex-end; }

.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-fixed {
    flex-shrink: 0;
}

/* Desktop table hidden below md, card stack above it -- same breakpoints as
   the real pco-table-card / pco-cards pair. */
.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-desktop {
    display: none;
    overflow: hidden;
}

@media (min-width: 768px) {
    .lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-desktop {
        display: block;
    }
}

.lw-cos-cards[b-0woywbyhsl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    .lw-cos-cards[b-0woywbyhsl] {
        display: none;
    }
}

/* Mirrors the phone adjustment card (.pco-card in an LwListCard phone-card):
   12px padding, 6px between the title/amount line, the status chip and the
   number / date line. */
.lw-change-orders-skeleton[b-0woywbyhsl]  .lw-cos-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.lw-cos-card-top[b-0woywbyhsl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 20px;
}
/* _content/Ledgerwise/Components/Shared/LwDocumentsSkeleton.razor.rz.scp.css */
/* Spec source: GcProjectDocuments Files view (2026-07-28) -- no ledgerwise-app
   skeleton exists for this tab; the real tab layout is the measurement source:
   toolbar chips h-36, .lw-doc-body muted 16px pad / 12px gap, shared
   lw-doc.css column widths (name flex / vis 160 / size 130 / date 170 /
   act 48). Toolbar/table/card chrome comes from lw-page.css, lw-table.css
   and Card. Fade-in mirrors LwPaymentRequestsSkeleton. */

.lw-documents-skeleton[b-yydd9d2pc4] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-dcs-fade-in-b-yydd9d2pc4 0.25s ease both;
}

@keyframes lw-dcs-fade-in-b-yydd9d2pc4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Toolbar ---- */

.lw-dcs-chips[b-yydd9d2pc4] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lw-dcs-toolbar-right[b-yydd9d2pc4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep. */
.lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-chip {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

/* ---- Body (mirrors .lw-doc-body) ---- */

.lw-dcs-body[b-yydd9d2pc4] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

/* Skeleton rows are inert -- suppress the shared row affordances. */
.lw-dcs-row[b-yydd9d2pc4],
.lw-dcs-row:hover[b-yydd9d2pc4] {
    background: transparent;
    cursor: default;
}

/* Icon + name cell */
.lw-dcs-col-name[b-yydd9d2pc4] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---- Column layout (mirrors lw-doc.css shared columns) ---- */

.lw-dcs-col-name[b-yydd9d2pc4] { flex: 1 1 auto; min-width: 0; }
.lw-dcs-col-vis[b-yydd9d2pc4]  { width: 160px; flex: none; }
.lw-dcs-col-size[b-yydd9d2pc4] { width: 130px; flex: none; }
.lw-dcs-col-date[b-yydd9d2pc4] { width: 170px; flex: none; }
.lw-dcs-col-act[b-yydd9d2pc4]  { width: 48px; flex: none; justify-content: center; }

.lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-fixed {
    flex-shrink: 0;
}

/* The section-trigger block only exists on phones (the chip rail carries the
   sections on desktop). */
.lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-trigger {
    display: none;
}

/* ---- Phone (US-926, US-1043) ----
   Mirrors the real phone tab: the chip rail is hidden and a section trigger
   shares row one with the view toggle and Add (all 44px), search takes row two
   at full width, and the file table renders as cards (lw-doc.css phone rows):
   name + kebab, then the visibility chip and the date. The sketch drops the
   column headers and the size cell. The inline Width / Height LwSkeleton is
   handed are desktop measurements, hence the !important overrides. */
@media (max-width: 767.98px) {
    .lw-dcs-chips[b-yydd9d2pc4] {
        display: none;
    }

    .lw-dcs-toolbar-right[b-yydd9d2pc4] {
        flex: 1 1 auto;
        flex-wrap: wrap;
        row-gap: 8px;
        min-width: 0;
    }

    .lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-trigger {
        display: block;
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
    }

    .lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-toggle {
        width: 88px !important;
        height: 44px !important;
    }

    .lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-add {
        height: 44px !important;
    }

    .lw-documents-skeleton[b-yydd9d2pc4]  .lw-dcs-search {
        order: 10;
        flex: 1 1 100%;
        width: auto !important;
        height: 44px !important;
    }

    .lw-dcs-body .lw-table-head[b-yydd9d2pc4],
    .lw-dcs-col-size[b-yydd9d2pc4] {
        display: none;
    }

    .lw-dcs-row[b-yydd9d2pc4] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        row-gap: 4px;
        padding: 12px;
    }

    .lw-dcs-row .lw-table-td[b-yydd9d2pc4] {
        width: auto;
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .lw-dcs-col-name[b-yydd9d2pc4] {
        grid-row: 1;
        grid-column: 1;
    }

    /* Stands in for the 44px row menu. */
    .lw-dcs-row .lw-dcs-col-act[b-yydd9d2pc4] {
        grid-row: 1;
        grid-column: 2;
        width: 44px;
        height: 44px;
        justify-content: center;
    }

    .lw-dcs-col-vis[b-yydd9d2pc4] {
        grid-row: 2;
        grid-column: 1;
    }

    .lw-dcs-col-date[b-yydd9d2pc4] {
        grid-row: 2;
        grid-column: 2;
        justify-content: flex-end;
    }
}
/* _content/Ledgerwise/Components/Shared/LwInvoiceTableSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/invoice-table-skeleton.tsx (2026-07-12):
   staggered row widths via the reference modulo formulas; status cell =
   h-5 w-[80px] badge over five 6x18 rounded-[500px] tracking dots (gap-1.5 /
   gap-1). Table chrome comes from lw-table.css + Card; only the pi-table
   column layout (vendor 300 / flex / actions 48) and skeleton-specific
   neutralizations live here. Fade-in mirrors LwProjectListSkeleton. */

.lw-invoice-table-skeleton[b-qnewmfvstj] {
    animation: lw-its-fade-in-b-qnewmfvstj 0.25s ease both;
}

@keyframes lw-its-fade-in-b-qnewmfvstj {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Desktop table card; hidden below md like the real pi-table. */
.lw-invoice-table-skeleton[b-qnewmfvstj]  .lw-its-desktop {
    display: none;
}

@media (min-width: 768px) {
    .lw-invoice-table-skeleton[b-qnewmfvstj]  .lw-its-desktop {
        display: block;
    }
}

/* Reference skeleton rows are inert -- suppress the shared row affordances. */
.lw-its-row[b-qnewmfvstj],
.lw-its-row:hover[b-qnewmfvstj] {
    background: transparent;
    cursor: default;
}

/* ---- Column layout (mirrors ProjectInvoices .pi-col* ) ---- */

.lw-its-col[b-qnewmfvstj] {
    flex: 1 1 0;
    min-width: 0;
}

.lw-its-col-vendor[b-qnewmfvstj] {
    flex: 0 0 300px;
    min-width: 0;
    gap: 12px;
}

.lw-its-col-actions[b-qnewmfvstj] {
    flex: 0 0 48px;
    justify-content: center;
}

.lw-its-identity[b-qnewmfvstj] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.lw-its-status[b-qnewmfvstj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lw-its-dots[b-qnewmfvstj] {
    display: flex;
    gap: 4px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep (same as LwProjectListSkeleton). */
.lw-its-dots[b-qnewmfvstj]  .lw-its-dot {
    flex-shrink: 0;
    border-radius: 500px;
}

.lw-invoice-table-skeleton[b-qnewmfvstj]  .lw-its-fixed {
    flex-shrink: 0;
}

/* ---- Mobile card stack ----
   Mirrors the phone invoice card (ProjectInvoices .pi-card on LwListRow phone
   cards, US-1043): 12px card padding, 8px between cards, title + amount + row
   menu on top, status chip + 7 tracking dots, then the stage and meta lines. */

.lw-its-cards[b-qnewmfvstj] {
    display: none;
}

@media (max-width: 767.98px) {
    .lw-its-cards[b-qnewmfvstj] {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.lw-invoice-table-skeleton[b-qnewmfvstj]  .lw-its-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.lw-its-card-top[b-qnewmfvstj] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.lw-its-card-status[b-qnewmfvstj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
/* _content/Ledgerwise/Components/Shared/LwPaymentRequestsSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/payment-requests-skeleton.tsx (2026-07-12):
   toolbar = pill row (h-9, gap-1.5) + right cluster (search w-52, create
   w-[180px]); body = banner card + table (rows 90/110/150/70 + right 90 +
   16px chevron); mobile card = id/badge row + amount + 12px meta line.
   Toolbar/table/card chrome comes from lw-page.css, lw-table.css and Card;
   only the pdr-table column layout and skeleton-specific neutralizations
   live here. Fade-in mirrors LwProjectListSkeleton. */

.lw-payment-requests-skeleton[b-i148j5sng7] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-prs-fade-in-b-i148j5sng7 0.25s ease both;
}

@keyframes lw-prs-fade-in-b-i148j5sng7 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Toolbar ---- */

.lw-prs-pills[b-i148j5sng7] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lw-prs-toolbar-right[b-i148j5sng7] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep (same as LwProjectListSkeleton). */
.lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-pill {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

/* The status-trigger stand-in only exists on phones (the live LwSectionTrigger is
   display:none from 768px up). */
.lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-trigger {
    display: none;
}

/* Phones (US-1043): the pill row hides with the live chip rail (lw-page.css), and
   the right cluster takes the row. Owner variant: one search block filling it at
   its 36px. Builder variant (.lw-prs-toolbar--gc): the stacked toolbar -- trigger
   filling the first row beside the 44px square Create, search full width below. */
@media (max-width: 767.98px) {
    .lw-prs-pills[b-i148j5sng7] {
        display: none;
    }

    .lw-prs-toolbar-right[b-i148j5sng7] {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* !important beats the inline width LwSkeleton writes from its Width parameter. */
    .lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-search {
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
    }

    .lw-prs-toolbar--gc .lw-prs-toolbar-right[b-i148j5sng7] {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .lw-prs-toolbar--gc[b-i148j5sng7]  .lw-prs-trigger {
        display: block;
        flex: 1 1 0;
        min-width: 0;
    }

    .lw-prs-toolbar--gc[b-i148j5sng7]  .lw-prs-create {
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
    }

    .lw-prs-toolbar--gc[b-i148j5sng7]  .lw-prs-search {
        order: 10;
        flex: 1 1 100%;
        height: 44px !important;
    }
}

/* ---- Body (mirrors .pdr-body) ---- */

.lw-prs-body[b-i148j5sng7] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .lw-prs-body[b-i148j5sng7] {
        padding: 24px;
    }
}

.lw-prs-body[b-i148j5sng7]  .lw-prs-banner {
    border-radius: var(--lw-radius-card);
}

/* Reference skeleton rows are inert -- suppress the shared row affordances. */
.lw-prs-row[b-i148j5sng7],
.lw-prs-row:hover[b-i148j5sng7] {
    background: transparent;
    cursor: default;
}

/* ---- Column layout (mirrors ProjectDrawRequests .pdr-col*) ---- */

.lw-prs-col-request[b-i148j5sng7] {
    flex: 0 0 140px;
    min-width: 0;
}

.lw-prs-col-status[b-i148j5sng7] {
    flex: 0 0 160px;
    min-width: 0;
}

.lw-prs-col-date[b-i148j5sng7] {
    flex: 1 1 180px;
    min-width: 0;
}

.lw-prs-col-invoices[b-i148j5sng7] {
    flex: 0 0 120px;
    min-width: 0;
}

.lw-prs-col-amount[b-i148j5sng7] {
    flex: 1 1 120px;
    min-width: 0;
    justify-content: flex-end;
}

.lw-prs-col-chevron[b-i148j5sng7] {
    flex: 0 0 40px;
    justify-content: center;
    padding: 12px 8px;
}

.lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-fixed {
    flex-shrink: 0;
}

/* Desktop table hidden below md, card stack above it -- same breakpoints as
   the real pdr-table / pdr-cards pair. */
.lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-desktop {
    display: none;
}

@media (min-width: 768px) {
    .lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-desktop {
        display: block;
    }
}

/* Phone card stack: mirrors the live phone request card (LwListCard phone-cards:
   12px padding, 8px between cards; number + amount, chip, meta at 6px). */
.lw-prs-cards[b-i148j5sng7] {
    display: none;
}

@media (max-width: 767.98px) {
    .lw-prs-cards[b-i148j5sng7] {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

.lw-payment-requests-skeleton[b-i148j5sng7]  .lw-prs-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.lw-prs-card-top[b-i148j5sng7] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
/* _content/Ledgerwise/Components/Shared/LwProjectDetailSkeleton.razor.rz.scp.css */
/* Composed from the shipped specs of the zones this stands in for
   (2026-07-12): LwProjectHeader.razor.css identity zone (padding 20px 24px 0,
   row gap 16, info col gap 4, name line-height 32, meta column-gap 12) and
   Project.razor.css tab strip (padding 16px 24px 0, 40px inner strip, gap 32,
   border-b) over the shared muted body (16px gutters, 24px from md up).
   Fade-in mirrors LwProjectListSkeleton (0.25s). */

.lw-project-detail-skeleton[b-ihu62edhl0] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-pds-fade-in-b-ihu62edhl0 0.25s ease both;
}

@keyframes lw-pds-fade-in-b-ihu62edhl0 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Identity zone ------------------------------------------------------ */

.lw-pds-header[b-ihu62edhl0] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--lw-white);
}

@media (min-width: 768px) {
    .lw-pds-header[b-ihu62edhl0] {
        padding: 20px 24px 0;
    }
}

.lw-pds-info[b-ihu62edhl0] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

/* Real name row is a 32px line (22px text, leading-8). */
.lw-pds-name-row[b-ihu62edhl0] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 32px;
}

/* Classes handed to LwSkeleton land on the child component's root div, which
   does not carry this component's scope attribute -- every such rule needs
   ::deep (same as LwProjectListSkeleton). */
.lw-pds-name-row[b-ihu62edhl0]  .lw-pds-name {
    width: 280px;
    max-width: 100%;
}

.lw-pds-actions[b-ihu62edhl0] {
    display: none;
    margin-left: auto;
}

@media (min-width: 768px) {
    .lw-pds-actions[b-ihu62edhl0] {
        display: flex;
        align-items: center;
        gap: 8px; /* cp-actions gap-2 */
        flex-shrink: 0;
    }
}

/* Contractor status row: hairline above, 8px top padding, 6px offset from the
   meta line, 24px between items (ContractorProject.razor.css .cp-status-row). */
.lw-pds-status[b-ihu62edhl0] {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 20px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--lw-border);
}

/* Chip-height meta row (status chip 22px + 14px meta lines). */
.lw-pds-meta[b-ihu62edhl0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
    min-height: 22px;
}

/* --- Tab strip ----------------------------------------------------------- */

/* 16px white gap above + 40px strip = 56px total, single bottom hairline
   (Project.razor.css .mud-tabs-tabbar recipe). Labels are middle-aligned in
   the 40px strip like the real 40px tabs. */
.lw-pds-tabbar[b-ihu62edhl0] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 32px;
    min-height: 56px;
    padding: 16px 24px 0;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    overflow: hidden;
}

/* --- Content region ------------------------------------------------------ */

.lw-pds-body[b-ihu62edhl0] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--lw-bg-muted);
}

@media (min-width: 768px) {
    .lw-pds-body[b-ihu62edhl0] {
        padding: 24px;
    }
}

.lw-pds-body[b-ihu62edhl0]  .lw-pds-card {
    border-radius: var(--lw-radius-card);
}

.lw-pds-body[b-ihu62edhl0]  .lw-pds-card--tall {
    flex: 1;
    min-height: 240px;
}

.lw-project-detail-skeleton[b-ihu62edhl0]  .lw-pds-fixed {
    flex-shrink: 0;
}

/* --- Phone header (opt-in PhoneHeader, US-926) --------------------------- */
/* Mirrors the owner/sub phone header: 44px avatar, and the tab strip replaced
   by one full-width section select. The select stand-in only exists when the
   host opts in, and only shows below 768px. */
.lw-pds-tabbar[b-ihu62edhl0]  .lw-pds-select {
    display: none;
}

@media (max-width: 767.98px) {
    /* The real phone header top-aligns the avatar with the name. */
    .lw-project-detail-skeleton--phone-header .lw-pds-header[b-ihu62edhl0] {
        align-items: flex-start;
        gap: 12px;
    }

    .lw-project-detail-skeleton--phone-header .lw-pds-header[b-ihu62edhl0]  .lw-pds-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .lw-project-detail-skeleton--phone-header .lw-pds-tabbar[b-ihu62edhl0] {
        min-height: 0;
        padding: 0 16px 12px;
    }

    .lw-project-detail-skeleton--phone-header .lw-pds-tabbar[b-ihu62edhl0]  .lw-pds-fixed {
        display: none;
    }

    .lw-project-detail-skeleton--phone-header .lw-pds-tabbar[b-ihu62edhl0]  .lw-pds-select {
        display: block;
        width: 100%;
    }
}
/* _content/Ledgerwise/Components/Shared/LwProjectHeader.razor.rz.scp.css */
/* Source: ledgerwise-app organisms/project-header.tsx identity zone
   (2026-07-10), values from the compiled Tailwind output:
   Desktop: zone px-6 pt-5; row gap-4 (16px); info col gap-1 (4px);
   name 22px/32px 700 tracking-tight (-0.025em) foreground; meta row
   gap-x-3 (12px) gap-y-1.5 (6px); meta items 14px content-secondary with
   14px muted-foreground icons (gap-1.5); Details 13px/500 muted-foreground,
   hover foreground + underline (offset 2).
   Mobile: row items-start gap-3 px-4 pt-4 pb-3; name 16px/1.25 700
   line-clamp-2; meta 12px muted-foreground line-clamp-2; badges mt-1 gap-2;
   kebab 32px square, content-secondary, hover accent + foreground.
   muted-foreground = --lw-gray-space; content-secondary = --lw-gray-graphite;
   foreground = --lw-text-primary. */

.lw-project-header[b-vimxh3i0ke] {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    background: var(--lw-white);
}

/* --- Desktop (>= md) ---------------------------------------------------- */

.lw-ph-desktop[b-vimxh3i0ke] {
    display: none;
}

@media (min-width: 768px) {
    .lw-ph-desktop[b-vimxh3i0ke] {
        display: flex;
        flex-direction: column;
        padding: 20px 24px 0;
    }
}

.lw-ph-row[b-vimxh3i0ke] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lw-ph-info[b-vimxh3i0ke] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.lw-ph-name-row[b-vimxh3i0ke] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lw-ph-name[b-vimxh3i0ke] {
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    line-height: 32px; /* reference leading-8 -- tighter than the title-bar default */
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
}

.lw-ph-name--truncated[b-vimxh3i0ke] {
    cursor: default;
}

/* Optional identifier chip beside the name (caller supplies the chip). */
.lw-ph-title-adornment[b-vimxh3i0ke] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lw-ph-title-adornment--mobile[b-vimxh3i0ke] {
    margin-top: 2px;
}

.lw-ph-actions[b-vimxh3i0ke] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.lw-ph-meta[b-vimxh3i0ke] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
}

.lw-ph-meta-item[b-vimxh3i0ke] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--lw-gray-graphite);
}

/* Meta icons = reference size-3.5 (14px) muted-foreground. MudIcon is a
   child component -- ::deep + .mud-icon-root to out-specific Mud's sizing. */
.lw-ph-meta-item[b-vimxh3i0ke]  .lw-ph-meta-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

.lw-ph-details[b-vimxh3i0ke] {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-gray-space);
    cursor: pointer;
    text-underline-offset: 2px;
    transition: color 0.12s ease;
}

.lw-ph-details:hover[b-vimxh3i0ke] {
    color: var(--lw-text-primary);
    text-decoration: underline;
}

/* --- Mobile (< md) ------------------------------------------------------ */

.lw-ph-mobile[b-vimxh3i0ke] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 12px;
}

.lw-ph-mobile-info[b-vimxh3i0ke] {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.lw-ph-mobile-name[b-vimxh3i0ke] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-family: var(--lw-font-family);
    font-size: 16px;
    font-weight: var(--lw-font-bold);
    line-height: 1.25;
    letter-spacing: normal;
    color: var(--lw-text-primary);
}

.lw-ph-mobile-meta[b-vimxh3i0ke] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-space);
}

.lw-ph-mobile-badges[b-vimxh3i0ke] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* The kebab sits on the name line (MudMenu centres itself in a flex row by
   default, which left it floating beside the badges). Details lives in the
   kebab as "View Details", so the phone header carries no separate link. */
.lw-ph-mobile[b-vimxh3i0ke]  > .mud-menu {
    align-self: flex-start;
}

.lw-ph-kebab[b-vimxh3i0ke] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

@media (hover: hover) {
    .lw-ph-kebab:hover[b-vimxh3i0ke] {
        background: var(--lw-accent);
        color: var(--lw-text-primary);
    }
}

/* Kebab icon = reference size-5 (20px). */
.lw-ph-mobile[b-vimxh3i0ke]  .lw-ph-kebab-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Desktop hides the mobile zone. This must come AFTER the base .lw-ph-mobile
   rule -- same specificity, so source order decides (a display:none earlier
   in the file loses to the later display:flex regardless of the media query). */
@media (min-width: 768px) {
    .lw-ph-mobile[b-vimxh3i0ke] {
        display: none;
    }
}

/* Desktop overflow menu in place of the Edit Project split button (setup state):
   a 36px outlined square, the same chrome as the split button's chevron half. */
.lw-ph-kebab--desktop[b-vimxh3i0ke] {
    width: 36px;
    height: 36px;
    border: 1px solid var(--lw-input-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
}

/* US-1120: the visible Edit Project button beside the kebab (post-send states). */
.lw-ph-actions[b-vimxh3i0ke]  .lw-ph-edit-icon.mud-icon-root {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.lw-ph-actions[b-vimxh3i0ke]  .lw-ph-kebab-icon.mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Phones (US-1043, A3): the kebab reaches the 44px target without moving the
   badge row (negative margins absorb the extra 12px). */
@media (max-width: 767.98px) {
    .lw-ph-kebab[b-vimxh3i0ke] {
        width: 44px;
        height: 44px;
        margin: -6px;
    }
}
/* _content/Ledgerwise/Components/Shared/LwProjectList.razor.rz.scp.css */
/* Source: ledgerwise-ui project list row content. Avatar = 40px gradient
   squircle (project entity), name 14px/500, desc 12px muted, both truncated.
   Stat columns + status are fixed-width to align across rows and the header. */

/* Column header cells (desktop) mirror the row's trailing widths. */
.lw-project-col-name[b-u3tqykx6sa] {
    flex: 1;
}

.lw-project-col-stats[b-u3tqykx6sa] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.lw-project-col-metric[b-u3tqykx6sa] {
    text-align: right;
}

.lw-project-col-status[b-u3tqykx6sa] {
    width: 176px;
    text-align: right; /* matches the right-aligned status badges below it */
}

/* Avatar chrome now lives in the LwAvatar atom (Components/Shared/Atoms). */

/* Identity */
.lw-project-identity[b-u3tqykx6sa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.lw-project-name[b-u3tqykx6sa] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status column: fixed width, badge right-aligned (reference w-44 justify-end). */
.lw-project-status-cell[b-u3tqykx6sa] {
    width: 176px;
    display: flex;
    justify-content: flex-end;
}

/* Phone-only status badge inside the identity column (see the markup note). */
.lw-project-status-mobile[b-u3tqykx6sa] {
    display: none;
}

/* -- Phone (US-798) -- */
/* In phone-cards mode each row is its own card, so the name no longer has to
   share one line with the status badge: it wraps to two lines and the badge
   sits directly beneath it. */
@media (max-width: 767.98px) {
    .lw-project-name[b-u3tqykx6sa] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        /* Shared list-card title type (lw-page.css tokens): 14 / medium / 20. */
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .lw-project-status-mobile[b-u3tqykx6sa] {
        display: flex;
        margin-top: 2px;
    }

    /* -- Phone facts (US-1043, Batch 6) -- */
    /* The host's Metric slots render a second time inside the row's
       MobileTrailing (LwListCard phone-cards mode indents it 56px, so the
       facts sit under the name, not the avatar). Label / value rows, one per
       line: label left, figure right -- the dashboard project cards'
       .hd-proj-stats-phone--grid recipe (Home.razor.css), ported here so
       every list reads the same (Cody, 2026-10-12, replaces the two-column
       label-over-value grid). */
    .lw-project-facts[b-u3tqykx6sa] {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }

    /* The host authors each stat for the desktop column (fixed inline Width,
       value-first, right-aligned column); LwListStat is a child component
       and the hosts are shared, so the cell is re-flowed here instead.
       !important is the only way past an inline style= width. The hosts'
       stats are value-first in the DOM (the dashboard's are LabelFirst), so
       row-reverse puts the label on the left without touching their markup. */
    .lw-project-facts[b-u3tqykx6sa]  .lw-list-stat {
        width: auto !important;
        min-width: 0;
        flex-direction: row-reverse;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
    }

    /* Label and value take the shared fact-row type (lw-page.css tokens,
       13 / 20), not LwListStat's column type (11px uppercase label over a
       14px semibold figure). */
    .lw-project-facts[b-u3tqykx6sa]  .lw-list-stat-label {
        flex-shrink: 0;
        font-size: var(--lw-row-fact-size);
        line-height: var(--lw-row-fact-line);
        font-weight: var(--lw-font-regular);
        text-transform: none;
        letter-spacing: 0;
        color: var(--lw-gray-graphite);
    }

    /* The value keeps LwListStat's single-line ellipsis, so a long owner
       name (subcontractor list) truncates instead of pushing the label. */
    .lw-project-facts[b-u3tqykx6sa]  .lw-list-stat-value {
        min-width: 0;
        text-align: right;
        font-size: var(--lw-row-fact-size);
        line-height: var(--lw-row-fact-line);
        font-weight: var(--lw-font-medium);
    }
}
/* _content/Ledgerwise/Components/Shared/LwProjectListSkeleton.razor.rz.scp.css */
/* Source: ledgerwise-app molecules/projects-list-skeleton.tsx +
   gc-projects-page.tsx skeleton branch (motion fade-in, 0.25s). Row shell
   (gap/padding/dividers) comes from LwListRow; here only the text-column
   stack (gap-1.5 = 6px) and skeleton-specific neutralizations live. */

.lw-project-list-skeleton[b-fomvftxfmj] {
    animation: lw-pls-fade-in-b-fomvftxfmj 0.25s ease both;
}

@keyframes lw-pls-fade-in-b-fomvftxfmj {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reference rows are inert divs -- suppress the list row's hover accent.
   Desktop only: in phone-cards mode each row IS a white card, so clearing
   its background on hover would blank the card. */
@media (min-width: 768px) {
    .lw-project-list-skeleton[b-fomvftxfmj]  .lw-list-row:hover {
        background: transparent;
    }
}

.lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-text {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-fixed {
    flex-shrink: 0;
}

/* Text lines carry fixed reference widths; cap them at the column so a
   360px card never pushes a 360px name line past its edge. */
.lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-line {
    max-width: 100%;
}

/* Phone-only pieces (status pill under the name, facts grid) are hidden on
   desktop; LwListRow already hides the MobileTrailing slot >= 768px, so only
   the lead's pill needs the toggle here. */
.lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-status-mobile {
    display: none;
}

/* -- Phone (US-1043, Batch 6) -- the sketch matches the real phone card:
   avatar + name line + status pill under it, then three label / value rows,
   label left and figure right (LwProjectList's .lw-project-facts recipe). */
@media (max-width: 767.98px) {
    .lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-sub {
        display: none;
    }

    .lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-status-mobile {
        display: block;
        margin-top: 2px;
    }

    .lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-facts {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }

    /* One 20px row per fact (--lw-row-fact-line), so the list does not jump
       when the real rows replace the sketch. */
    .lw-project-list-skeleton[b-fomvftxfmj]  .lw-pls-fact {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        min-height: var(--lw-row-fact-line);
    }
}
/* _content/Ledgerwise/Components/Shared/LwProposalsSkeleton.razor.rz.scp.css */
/* Spec source: ProjectProposals (2026-07-28) -- no ledgerwise-app skeleton
   exists for this tab; the real tab layout is the measurement source:
   toolbar chips h-36, pp-body 16px pad (24px md+) / 16px gap, pp-col*
   column flexes with the two-line title cell (20px/16px line boxes).
   Toolbar/table/card chrome comes from lw-page.css, lw-table.css and Card.
   Fade-in mirrors LwPaymentRequestsSkeleton. */

.lw-proposals-skeleton[b-2d5vg507mp] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-pps-fade-in-b-2d5vg507mp 0.25s ease both;
}

@keyframes lw-pps-fade-in-b-2d5vg507mp {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Toolbar ---- */

.lw-pps-chips[b-2d5vg507mp] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lw-pps-toolbar-right[b-2d5vg507mp] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Classes handed to LwSkeleton land on the child component's root div --
   scoped rules for them need ::deep. */
.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-chip {
    flex-shrink: 0;
    border-radius: var(--lw-radius-control);
}

/* The status-trigger and Upload stand-ins only exist on phones (the live
   LwSectionTrigger is display:none from 768px up, and the desktop sketch has
   never drawn the Upload Proposal button). */
.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-trigger,
.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-upload {
    display: none;
}

/* Phones (US-1043): the chip row hides with the live chip rail (lw-page.css) and
   the right cluster becomes the stacked toolbar -- trigger filling the first row
   beside three 44px squares (filter, upload, create), search full width below. */
@media (max-width: 767.98px) {
    .lw-pps-chips[b-2d5vg507mp] {
        display: none;
    }

    .lw-pps-toolbar-right[b-2d5vg507mp] {
        flex: 1 1 auto;
        flex-wrap: wrap;
        row-gap: 8px;
        min-width: 0;
    }

    .lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-trigger {
        display: block;
        flex: 1 1 0;
        min-width: 0;
    }

    /* !important beats the inline size LwSkeleton writes from Width / Height. */
    .lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-tool {
        display: block;
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
    }

    .lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-search {
        order: 10;
        flex: 1 1 100%;
        width: auto !important;
        height: 44px !important;
    }
}

/* ---- Body (mirrors .pp-body) ---- */

.lw-pps-body[b-2d5vg507mp] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

@media (min-width: 768px) {
    .lw-pps-body[b-2d5vg507mp] {
        padding: 24px;
    }
}

/* Skeleton rows are inert -- suppress the shared row affordances. */
.lw-pps-row[b-2d5vg507mp],
.lw-pps-row:hover[b-2d5vg507mp] {
    background: transparent;
    cursor: default;
}

/* Two-line title cell (real cell: 20px main over 16px sub, no gap). */
.lw-pps-identity[b-2d5vg507mp] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* ---- Column layout (mirrors ProjectProposals .pp-col*) ---- */

/* Must stay byte-for-byte in step with .pp-col* or the table jumps sideways
   the moment the real rows replace the skeleton. */
.lw-pps-col-title[b-2d5vg507mp]    { flex: 1 0 280px; min-width: 0; }
.lw-pps-col-status[b-2d5vg507mp]   { flex: 1 0 170px; min-width: 0; }
.lw-pps-col-due[b-2d5vg507mp]      { flex: 1 0 140px; min-width: 0; }
.lw-pps-col-received[b-2d5vg507mp] { flex: 1 0 160px; min-width: 0; }
.lw-pps-col-actions[b-2d5vg507mp]  { flex: 0 0 48px; justify-content: center; padding: 12px 8px; }

.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-fixed {
    flex-shrink: 0;
}

/* Desktop table above md, card stack below -- same breakpoints as the real
   pp-table-wrap / pp-cards pair. */
@media (max-width: 767.98px) {
    .lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-desktop {
        display: none;
    }
}

.lw-pps-cards[b-2d5vg507mp] {
    display: none;
}

@media (max-width: 767.98px) {
    .lw-pps-cards[b-2d5vg507mp] {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
}

/* Mirrors the phone RFP card (.pp-card in an LwListCard phone-card): 12px
   padding, 8px between the identity line, the status chip and the facts. */
.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

.lw-pps-card-top[b-2d5vg507mp] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Sits where the 44px row menu's glyph lands (centred in the button). */
.lw-proposals-skeleton[b-2d5vg507mp]  .lw-pps-card-menu {
    margin: 14px 14px 0 0;
}

.lw-pps-card-fact[b-2d5vg507mp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 20px;
}
/* _content/Ledgerwise/Components/Shared/LwTransactionsSkeleton.razor.rz.scp.css */
/* Spec source: Shane Durkin's US-476 ledger mockup, measured 2026-07-30
   (US-476 section 9.1.4). No ledgerwise-app skeleton exists -- the reference gc
   ledger route is a placeholder -- so the mockup is the layout source.
   Table/card chrome comes from lw-table.css and Card. Fade-in mirrors
   LwPaymentRequestsSkeleton. The host page (.pt-page) supplies the muted
   background and padding. */

.lw-transactions-skeleton[b-edut1iu9cn] {
    display: flex;
    flex: 1;
    flex-direction: column;
    animation: lw-txs-fade-in-b-edut1iu9cn 0.25s ease both;
}

@keyframes lw-txs-fade-in-b-edut1iu9cn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Balance equation card: geometry mirrors LwBalanceEquation.razor.css exactly
   (padding 16/20, 12/20 gap, 28px operator discs; US-1149: equal part columns, then the
   answer panel 16/20 on the success tint at full width beneath). Keep the two in step. ---- */

/* The host card: ControlCard's chrome (ControlCard.razor.css) -- form-surface card, white
   head band with a 44px icon tile and a hairline under it, 24px body (20px below 768,
   16px head inset below 600). Keep in step with that file. */
.lw-txs-eq-card[b-edut1iu9cn] {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    background: var(--lw-form-surface);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    box-shadow: var(--lw-shadow-card);
}

.lw-txs-eq-head[b-edut1iu9cn] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card) var(--lw-radius-card) 0 0;
}

.lw-txs-eq-tile[b-edut1iu9cn] {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-bg-secondary);
}

.lw-txs-eq-headtext[b-edut1iu9cn] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* The body is the query container: the one-line rule below keys off the same width the
   real equation's own host measures (the card body's content box). */
.lw-txs-eq-body[b-edut1iu9cn] {
    container-type: inline-size;
    padding: 24px;
}

@media (max-width: 767px) {
    .lw-txs-eq-head[b-edut1iu9cn] { padding: 16px 20px; }
    .lw-txs-eq-body[b-edut1iu9cn] { padding: 20px; }
}

@media (max-width: 599px) {
    .lw-txs-eq-head[b-edut1iu9cn] { padding: 16px; }
}

/* The equation itself is chrome-free (the real one renders Flat inside the card), with
   the 12px lead ProjectAccountBalanceSummary gives it. */
.lw-txs-eq[b-edut1iu9cn] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.75rem 1.25rem;
    margin-top: 0.75rem;
    box-sizing: border-box;
}

/* US-1149 (Proposal A): the parts share the row in equal columns and the answer panel
   takes the next line at full width, as LwBalanceEquation does. */

/* Operator + term wrapper, as in LwBalanceEquation: transparent to the flex strip on
   desktop, the statement row on phones. */
.lw-txs-eq-row[b-edut1iu9cn] {
    display: contents;
}

.lw-txs-eq-term[b-edut1iu9cn] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.375rem;
    flex: 1 1 0;
    min-width: 0;
}

.lw-txs-eq-figure[b-edut1iu9cn] {
    margin: 0.125rem 0;
}

.lw-txs-eq-result[b-edut1iu9cn] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 100%;
    min-width: 0;
}

.lw-txs-eq-term--result[b-edut1iu9cn] {
    flex: 1 1 auto;
    padding: 1rem 1.25rem;
    background: var(--lw-status-success-bg);
    border-radius: var(--lw-radius-control);
}

.lw-txs-eq-op[b-edut1iu9cn] {
    flex: 0 0 auto;
    align-self: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lw-bg-secondary);
}

.lw-txs-eq-op--result[b-edut1iu9cn] {
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    box-sizing: border-box;
}

/* Phones (US-1043, review round 3; operator moved 2026-10-15): mirrors LwBalanceEquation's
   statement rows -- label flush left, the operator dash directly before the figure on
   the right, a 20px line, a 16px explanation line beneath, 8px above and below (52px a
   row), a hairline over the answer row and no tinted panel. The -8px block margin is
   ProjectAccountBalanceSummary's. Keep the three in step. */
@media (max-width: 767.98px) {
    .lw-txs-eq[b-edut1iu9cn] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 0;
        margin: -8px 0;
    }

    /* One row grid: label | op | figure, explanation beneath. The term is flattened into
       it; the op column is auto, so the first row (no op) collapses it. */
    .lw-txs-eq-row[b-edut1iu9cn],
    .lw-txs-eq-result[b-edut1iu9cn] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: 20px 16px;
        align-items: center;
        gap: 0;
        min-width: 0;
        padding: 8px 0;
    }

    .lw-txs-eq-term[b-edut1iu9cn],
    .lw-txs-eq-term--result[b-edut1iu9cn] {
        display: contents;
    }

    .lw-txs-eq-figure[b-edut1iu9cn] {
        grid-column: 3;
        grid-row: 1;
        margin: 0;
    }

    /* Label and caption bars auto-place into column 1 (row 1, then row 2: the op and
       figure cells of row 1 are already taken). */
    .lw-txs-eq-term[b-edut1iu9cn]  .lw-skeleton {
        max-width: 100%;
    }

    /* LwSkeleton is a child component and sizes itself inline. */
    .lw-txs-eq-figure[b-edut1iu9cn]  .lw-skeleton {
        width: 96px !important;
        height: 16px !important;
    }

    /* The operator is a bare glyph on phones: a short dash on the figure line, 4px before
       the figure. */
    .lw-txs-eq-op[b-edut1iu9cn],
    .lw-txs-eq-op--result[b-edut1iu9cn] {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        width: 8px;
        height: 2px;
        margin: 0 4px 0 0;
        border: 0;
        border-radius: 1px;
        background: var(--lw-border);
    }

    .lw-txs-eq-result[b-edut1iu9cn] {
        margin: 4px 0 0;
        padding: 12px 0 8px;
        border-top: 1px solid var(--lw-border);
        background: transparent;
        border-radius: 0;
    }

    .lw-txs-eq-term--result[b-edut1iu9cn] {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }
}

/* Same overflow treatment as the real .pt-table-card. */
.lw-transactions-skeleton[b-edut1iu9cn]  .lw-txs-card {
    overflow-x: auto;
}

.lw-transactions-skeleton .lw-table[b-edut1iu9cn] {
    min-width: 980px;
}

/* Skeleton rows are inert -- suppress the shared row affordances. */
.lw-txs-row[b-edut1iu9cn],
.lw-txs-row:hover[b-edut1iu9cn] {
    background: transparent;
    cursor: default;
}

/* ---- Column layout: MUST mirror ProjectTransactions.razor.css exactly, or the
   skeleton shifts into the real table on load. Status is sized to the widest
   pill ("Pending Instructions"), not to the mockup's 150px. ---- */

.lw-txs-col-date[b-edut1iu9cn]    { flex: 0 0 120px; min-width: 0; }
.lw-txs-col-ref[b-edut1iu9cn]     { flex: 0 0 105px; min-width: 0; }
.lw-txs-col-status[b-edut1iu9cn]  { flex: 0 0 190px; min-width: 0; }
.lw-txs-col-desc[b-edut1iu9cn]    { flex: 1 1 220px; min-width: 0; }
.lw-txs-col-debit[b-edut1iu9cn]   { flex: 0 0 115px; min-width: 0; justify-content: flex-end; }
.lw-txs-col-credit[b-edut1iu9cn]  { flex: 0 0 115px; min-width: 0; justify-content: flex-end; }
.lw-txs-col-balance[b-edut1iu9cn] { flex: 0 0 125px; min-width: 0; justify-content: flex-end; }

/* The sort-field outline only exists on phones (desktop sorts from the headers). */
.lw-txs-sort[b-edut1iu9cn] {
    display: none;
}

/* ---- Phones (US-1043): one card per row, on the grid ProjectTransactions.razor.css
   gives the real rows (date + status / description / ref + amount / balance strip).
   MUST mirror that file, or the skeleton shifts into the real cards on load. ---- */
@media (max-width: 767.98px) {
    /* The table card's chrome goes away: each row is its own card on the muted body. */
    .lw-transactions-skeleton[b-edut1iu9cn]  .lw-txs-card {
        overflow-x: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .lw-txs-sort[b-edut1iu9cn] {
        display: block;
        margin-bottom: 12px;
    }

    .lw-transactions-skeleton .lw-table[b-edut1iu9cn] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .lw-transactions-skeleton .lw-table-head[b-edut1iu9cn] {
        display: none;
    }

    .lw-transactions-skeleton .lw-txs-row[b-edut1iu9cn] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 0.75rem;
        row-gap: 0.5rem;
        padding: 14px 16px;
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
        background: var(--lw-white);
        box-shadow: var(--lw-shadow-card);
    }

    .lw-transactions-skeleton .lw-table-td[b-edut1iu9cn] {
        padding: 0;
        min-width: 0;
        min-height: 21px;
    }

    .lw-txs-col-date[b-edut1iu9cn]   { grid-row: 1; grid-column: 1; }
    .lw-txs-col-status[b-edut1iu9cn] { grid-row: 1; grid-column: 2; justify-content: flex-end; }
    .lw-txs-col-desc[b-edut1iu9cn]   { grid-row: 2; grid-column: 1 / -1; }
    .lw-txs-col-ref[b-edut1iu9cn]    { grid-row: 3; grid-column: 1; }
    .lw-txs-col-debit[b-edut1iu9cn]  { grid-row: 3; grid-column: 2; }

    .lw-txs-col-desc[b-edut1iu9cn]  .lw-skeleton {
        max-width: 100%;
    }

    /* A real card shows one of debit / credit, never both. */
    .lw-transactions-skeleton .lw-table-td.lw-txs-col-credit[b-edut1iu9cn] {
        display: none;
    }

    /* Balance strip: same bleed and inset as the real card's footer; the bar on the
       left stands in for its "Balance" label. */
    .lw-transactions-skeleton .lw-table-td.lw-txs-col-balance[b-edut1iu9cn] {
        grid-row: 4;
        grid-column: 1 / -1;
        justify-content: space-between;
        border-top: 1px solid var(--lw-border);
        margin: 2px -16px -14px;
        padding: 10px 16px 12px;
    }

    .lw-txs-col-balance[b-edut1iu9cn]::before {
        content: "";
        width: 52px;
        height: 10px;
        background: var(--lw-border);
    }
}
/* _content/Ledgerwise/Components/Shared/Mou/FoundingBuilderMouDocument.razor.rz.scp.css */
/* ============================================================
   Shared Founding Builder MOU document: TOC sidebar + body (preamble + sections).
   Shell/TOC/preamble rules lifted verbatim from Form5119Document.razor.css so the
   MOU renders identically to the PAA; MOU-specific rules (meta row, bullets,
   closing) follow. Colors reference --lw-* tokens.
   ============================================================ */

/* ── Document shell: TOC sidebar + body ──
   overflow:clip (NOT hidden) so the sticky TOC pins against the page
   scroller instead of being confined to the card. */
.aa-doc[b-on3dikxex1] {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    overflow: clip;
}

/* ── TOC sidebar ── */
.aa-toc[b-on3dikxex1] {
    position: sticky;
    top: 8px;
    align-self: start;
    border-right: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
    padding: 20px 12px;
}

.aa-toc__progress[b-on3dikxex1] {
    padding: 0 12px 12px;
}

.aa-toc__progress-head[b-on3dikxex1] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.aa-toc__progress-label[b-on3dikxex1] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lw-gray-graphite);
}

.aa-toc__progress-count[b-on3dikxex1] {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lw-gray-graphite);
}

.aa-toc__progress-track[b-on3dikxex1] {
    margin-top: 8px;
    height: 4px;
    border-radius: 9999px;
    background: var(--lw-gray-smoke);
    overflow: hidden;
}

.aa-toc__progress-fill[b-on3dikxex1] {
    height: 100%;
    border-radius: 9999px;
    background: var(--lw-primary-blue);
    transition: width 0.3s ease;
}

.aa-toc__nav[b-on3dikxex1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.aa-toc__rail[b-on3dikxex1] {
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 16px;
    width: 1px;
    background: var(--lw-gray-smoke);
}

.aa-toc__item[b-on3dikxex1] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    padding: 8px 8px 8px 6px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    text-align: left;
    font-size: 13px;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: color 0.15s ease;
    font-family: inherit;
}

.aa-toc__item:hover[b-on3dikxex1] {
    color: var(--lw-text-primary);
}

.aa-toc__item.is-active[b-on3dikxex1] {
    font-weight: 600;
    color: var(--lw-text-primary);
}

.aa-toc__node[b-on3dikxex1] {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 9999px;
    border: 2px solid var(--lw-border);
    background: var(--lw-white);
    font-size: 9px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--lw-gray-graphite);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.aa-toc__node.is-active[b-on3dikxex1] {
    border-color: var(--lw-primary-blue);
    color: var(--lw-primary-blue);
}

.aa-toc__node.is-read[b-on3dikxex1] {
    border-color: var(--lw-success-dark);
    background: var(--lw-success-dark);
    color: var(--lw-white);
}

.aa-toc__node.is-read[b-on3dikxex1]  .mud-icon-root {
    color: var(--lw-white) !important;
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.aa-toc__dot[b-on3dikxex1] {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: var(--lw-primary-blue);
}

.aa-toc__item-label[b-on3dikxex1] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Document body ── */
.aa-body[b-on3dikxex1] {
    min-width: 0;
}

/* ── Document masthead (preamble) ── */
.aa-preamble[b-on3dikxex1] {
    background: var(--lw-white);
    padding: 28px 32px 24px;
}

.aa-preamble__eyebrow[b-on3dikxex1] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--lw-primary-blue);
}

.aa-preamble__title[b-on3dikxex1] {
    margin: 8px 0 0;
    font-family: var(--lw-font-family-heading, inherit);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--lw-primary-dark);
}

.aa-preamble__rule[b-on3dikxex1] {
    display: block;
    width: 100%;
    height: 3px;
    margin: 16px 0 20px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lw-primary-gold) 0%, var(--lw-primary-gold-dark) 100%);
}

.aa-preamble__intro[b-on3dikxex1] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--lw-text-primary);
}

.aa-preamble__intro strong[b-on3dikxex1] {
    font-weight: 700;
    color: var(--lw-primary-dark);
}

/* Populated party fill-in field (Founding Builder). */
.aa-party[b-on3dikxex1] {
    display: inline-block;
    min-width: 150px;
    font-weight: 600;
    color: var(--lw-primary-dark);
    padding: 0 4px 1px;
    border-bottom: 1px solid var(--lw-primary-dark);
}

/* ── Document meta row (Document / Effective Date / Nature) ── */
.aa-meta[b-on3dikxex1] {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lw-border);
}

.aa-meta__item[b-on3dikxex1] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.aa-meta__label[b-on3dikxex1] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lw-gray-graphite);
}

.aa-meta__value[b-on3dikxex1] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

/* ── Sections ── */
.aa-article[b-on3dikxex1] {
    padding: 24px 32px;
    scroll-margin-top: 16px;
    border-top: 1px solid var(--lw-border);
}

.aa-article__head[b-on3dikxex1] {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.aa-article__num[b-on3dikxex1] {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--lw-primary-blue);
}

.aa-article__title[b-on3dikxex1] {
    font-size: 16px;
    font-weight: 700;
    color: var(--lw-text-primary);
    margin: 0;
    line-height: 1.3;
}

.aa-blocks[b-on3dikxex1] {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aa-block[b-on3dikxex1] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--lw-text-primary);
}

/* ── Bullets (What We'll Provide / What We Ask / Equity & Pricing) ── */
.aa-bullet[b-on3dikxex1] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.aa-bullet__dot[b-on3dikxex1] {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    margin-top: 7px;
    background: var(--lw-primary-gold);
}

.aa-bullet__text[b-on3dikxex1] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--lw-text-primary);
}

.aa-bullet__text strong[b-on3dikxex1] {
    font-weight: 700;
    color: var(--lw-primary-dark);
}

/* ── Closing line ── */
.aa-closing__text[b-on3dikxex1] {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--lw-primary-dark);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .aa-doc[b-on3dikxex1] {
        grid-template-columns: 1fr;
    }

    .aa-toc[b-on3dikxex1] {
        display: none;
    }

    .aa-preamble[b-on3dikxex1],
    .aa-article[b-on3dikxex1] {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Phones (US-1043): the Form5119Document recipe applied to this file's own
   aa-* copy -- bands take the 16px phone gutter, and a builder name or clause
   typed without spaces breaks instead of pushing the card past the screen. */
@media (max-width: 767.98px) {
    .aa-preamble[b-on3dikxex1] {
        padding: 20px 16px;
    }

    .aa-article[b-on3dikxex1] {
        padding: 20px 16px;
    }

    .aa-preamble__title[b-on3dikxex1],
    .aa-preamble__intro[b-on3dikxex1],
    .aa-meta__value[b-on3dikxex1],
    .aa-article__title[b-on3dikxex1],
    .aa-block[b-on3dikxex1],
    .aa-bullet__text[b-on3dikxex1],
    .aa-closing__text[b-on3dikxex1] {
        overflow-wrap: anywhere;
    }

    /* Flex children: without min-width 0 a long word sets the row's width. */
    .aa-article__title[b-on3dikxex1],
    .aa-bullet__text[b-on3dikxex1],
    .aa-meta__item[b-on3dikxex1] {
        min-width: 0;
    }

    /* Document / Effective Date / Nature wrap as tighter label-over-value pairs. */
    .aa-meta[b-on3dikxex1] {
        gap: 12px 24px;
    }

    /* The fill-in field keeps its underline but can never be wider than the line. */
    .aa-party[b-on3dikxex1] {
        min-width: 0;
        max-width: 100%;
    }
}
/* _content/Ledgerwise/Components/Shared/NetworkVendorDetails.razor.rz.scp.css */
/* NetworkVendorDetails -- label / value rows inside the "Confirm the vendor"
   card (InvoiceReviewModal, ProposalReviewModal, AddInvoiceModal). Replaces
   the MudStack + MudText pair (US-1043): same 70px caption column and 14px
   value on a 4px rhythm, but the value wraps (emails, addresses) instead of
   widening the card on a phone. */

.nvd[b-jk8yf84c8x] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0 4px;
}

.nvd-row[b-jk8yf84c8x] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.nvd-label[b-jk8yf84c8x] {
    flex: 0 0 70px;
    margin: 0;
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.nvd-value[b-jk8yf84c8x] {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}
/* _content/Ledgerwise/Components/Shared/OnboardingCompletedView.razor.rz.scp.css */
/* OnboardingCompletedView -- mirrors ledgerwise-ui-app
   organisms/kickoff/vendor-intro-card.tsx `complete` state (measured from
   source 2026-07-19): success body "px-5 py-6" on the form surface; merged
   row "rounded-card border border-border bg-white px-4 py-3.5" flex gap-3.5;
   name 14/600 foreground; success Badge sm w/ 12px check; sub 12
   content-secondary mt-0.5. Check circle stands in for the reference's
   AvatarCircle logo slot. */

.obc-complete[b-jrh8ef66wg] {
    padding: 24px 20px;
}

@media (min-width: 768px) {
    .obc-complete[b-jrh8ef66wg] { padding: 24px; }
    .obc-row[b-jrh8ef66wg] { flex-wrap: nowrap; }
}

.obc-row[b-jrh8ef66wg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    padding: 14px 16px;
}

.obc-check[b-jrh8ef66wg] {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--lw-success-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.obc-check[b-jrh8ef66wg]  .mud-icon-root {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

.obc-text[b-jrh8ef66wg] { min-width: 0; flex: 1; }

.obc-line[b-jrh8ef66wg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 4px;
}

.obc-name[b-jrh8ef66wg] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Reference Badge tone=success size=sm: h-5 px-1.5 text-10 bold uppercase
   tracking-wide leading-none rounded-sm. */
.obc-badge[b-jrh8ef66wg] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--lw-radius-control);
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1;
}

.obc-badge[b-jrh8ef66wg]  .mud-icon-root {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.obc-sub[b-jrh8ef66wg] {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* -- Phone (US-798) -- */
/* The completed-step subtitle is a full sentence truncated to one line. On a
   desktop row that line is long enough to read; at 500px it cut off mid-word
   ("This step is complete an..."), hiding what happens next. It wraps here
   instead -- the card has the room. Used by the identity, bank and fund
   steps alike. */
@media (max-width: 767.98px) {
    .obc-sub[b-jrh8ef66wg] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}
/* _content/Ledgerwise/Components/Shared/OnboardingStatusPanel.razor.rz.scp.css */
.osp[b-c3h7t87drk] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.osp-summary[b-c3h7t87drk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.osp-next[b-c3h7t87drk] {
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.osp-note[b-c3h7t87drk] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.osp-steps[b-c3h7t87drk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.osp-step[b-c3h7t87drk] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

[b-c3h7t87drk] .osp-step-icon {
    flex: none;
    font-size: 1.125rem;
    margin-top: 1px;
    color: var(--lw-gray-smoke);
}

.osp-step--done[b-c3h7t87drk]  .osp-step-icon {
    color: var(--lw-status-success-fg);
}

.osp-step-text[b-c3h7t87drk] {
    min-width: 0;
}

.osp-step-name[b-c3h7t87drk] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lw-text-primary);
}

.osp-step:not(.osp-step--done) .osp-step-name[b-c3h7t87drk] {
    color: var(--lw-gray-graphite);
}

/* Bug-938: a step blocked by a problem Ledgerwise must resolve.
   source: none -- ledgerwise-ui has no project-account-setup problem state (2026-09-30).
   Error icon and name in --lw-status-error-fg (out-specifies the open-step muting above);
   the detail keeps the muted tone. */
.osp-step--problem[b-c3h7t87drk]  .osp-step-icon {
    color: var(--lw-status-error-fg);
}

.osp-step.osp-step--problem .osp-step-name[b-c3h7t87drk] {
    color: var(--lw-status-error-fg);
}

.osp-step-tag[b-c3h7t87drk] {
    margin-left: 6px;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.osp-step-detail[b-c3h7t87drk] {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.osp-owners-title[b-c3h7t87drk] {
    margin: 4px 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.osp-owners[b-c3h7t87drk] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.osp-owner[b-c3h7t87drk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.osp-owner + .osp-owner[b-c3h7t87drk] {
    border-top: 1px solid var(--lw-border);
}

.osp-owner-identity[b-c3h7t87drk] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.osp-owner-name[b-c3h7t87drk] {
    font-size: 0.875rem;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.osp-owner-sub[b-c3h7t87drk] {
    font-size: 0.75rem;
    color: var(--lw-gray-graphite);
}

.osp-invited[b-c3h7t87drk] {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* Phone (US-1043): step names and details can carry an email or a long account name with
   nowhere to break; an owner row wraps its chip under a long sub line instead of
   squeezing it. */
@media (max-width: 767.98px) {
    .osp-step-text[b-c3h7t87drk],
    .osp-next[b-c3h7t87drk],
    .osp-note[b-c3h7t87drk],
    .osp-invited[b-c3h7t87drk] {
        overflow-wrap: anywhere;
    }

    .osp-owner[b-c3h7t87drk] {
        flex-wrap: wrap;
        row-gap: 6px;
    }
}
/* _content/Ledgerwise/Components/Shared/OnboardingStepFooter.razor.rz.scp.css */
/* OnboardingStepFooter -- source: onboarding-footer.tsx + button.tsx
   size="action". Spec 2026-07-13: white, border-t --lw-border, pad 16/24;
   Back 40px outline; skip = underlined graphite; Continue 40px navy. */

.ob-step-footer[b-cj3vzu1rez] {
    position: fixed;
    left: var(--lw-wizard-rail-width);
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    background: var(--lw-white);
    border-top: 1px solid var(--lw-border);
    z-index: 20;
}

.ob-step-footer__back[b-cj3vzu1rez] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ob-step-footer__back-btn[b-cj3vzu1rez] {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: transparent;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.ob-step-footer__back-btn:hover[b-cj3vzu1rez] {
    background-color: var(--lw-accent);
    color: var(--lw-text-primary);
    text-decoration: none;
}

.ob-step-footer__actions[b-cj3vzu1rez] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.ob-step-footer__skip[b-cj3vzu1rez] {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    text-decoration: underline;
    transition: color 0.15s ease;
}

.ob-step-footer__skip:hover[b-cj3vzu1rez] {
    color: var(--lw-text-primary);
}

.ob-step-footer__primary[b-cj3vzu1rez] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--lw-radius-control);
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    cursor: pointer;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.ob-step-footer__primary:hover:not(:disabled)[b-cj3vzu1rez] {
    background: var(--lw-primary-dark-hover);
}

.ob-step-footer__primary:disabled[b-cj3vzu1rez] {
    opacity: 0.55;
    cursor: default;
}

@media (max-width: 960px) {
    .ob-step-footer[b-cj3vzu1rez] {
        left: 0;
        padding: 16px;
    }
}

/* Note beside the primary action: 13px graphite, icon in the same tone (a fact, not a status). */
.ob-step-footer__note[b-cj3vzu1rez] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.ob-step-footer__note[b-cj3vzu1rez]  .mud-icon-root {
    font-size: 18px;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043, O8): the primary fills the row beside a label-width Back,
   the same rule LwModalFooter applies, instead of Back | gap | Next. */
@media (max-width: 767.98px) {
    .ob-step-footer__actions[b-cj3vzu1rez] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ob-step-footer__primary[b-cj3vzu1rez] {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* 44px tap targets on every wizard that uses this footer (onboarding,
       Add Vendor / Project / Project Owner, Send Proposal, import). */
    .ob-step-footer__back-btn[b-cj3vzu1rez],
    .ob-step-footer__primary[b-cj3vzu1rez] {
        height: 44px;
    }

    .ob-step-footer__skip[b-cj3vzu1rez] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .ob-step-footer__note[b-cj3vzu1rez] {
        display: none;
    }
}
/* _content/Ledgerwise/Components/Shared/Onboarding/GettingStartedVideoModal.razor.rz.scp.css */
/* US-1084: the player fills the modal body at 16:9; frame + regions come from
   app.css .lw-modal and the LwModal* atoms, chrome from --lw-* tokens. */
.gsv-frame[b-7kqhpvh41b] {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--lw-primary-dark);
    border-radius: var(--lw-radius-control);
    overflow: hidden;
}

.gsv-player[b-7kqhpvh41b] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: var(--lw-primary-dark);
}
/* _content/Ledgerwise/Components/Shared/PageHeader.razor.rz.scp.css */
.lw-page-header[b-w330k5qder] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

@media (min-width: 640px) {
    .lw-page-header[b-w330k5qder] {
        flex-direction: row;
        align-items: center;
    }
}

.lw-page-header-text[b-w330k5qder] {
    min-width: 0;
}

/* Pre-redesign values (-0.01em / primary-dark / heading font) replaced with
   the shared page-title tokens (2026-07-12) so legacy PageHeader pages render
   the same title as migrated ones. */
.lw-page-header-title[b-w330k5qder] {
    font-size: var(--lw-title-size);
    font-weight: var(--lw-title-weight);
    letter-spacing: var(--lw-tracking-tight);
    color: var(--lw-title-color);
    margin: 0;
    font-family: var(--lw-font-family);
}

.lw-page-header-subtitle[b-w330k5qder] {
    font-size: 0.875rem;
    color: var(--lw-gray-graphite);
    margin: 0.25rem 0 0;
}

.lw-page-header-actions[b-w330k5qder] {
    display: flex;
    align-items: center;
    gap: var(--lw-spacing-sm);
    flex-shrink: 0;
}
/* _content/Ledgerwise/Components/Shared/PartyMemberRow.razor.rz.scp.css */
/* PartyMemberRow -- source: ledgerwise-app party-manager.tsx PartyRow, as
   translated by the AddProject team step (pw-member spec, 2026-07-24):
   hairline card row, 40px tinted initials avatar, 14/700 name + 11/600 badge
   pill over a 12px muted meta line; edit area separated by a hairline
   (borderless when the head is hidden). */

.lw-party-row[b-yytzr0izjg] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
}

.lw-party-row__head[b-yytzr0izjg] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
}

.lw-party-row__avatar[b-yytzr0izjg] {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.lw-party-row__avatar--builder[b-yytzr0izjg] {
    background: var(--lw-primary-dark);
    color: var(--lw-white);
}

.lw-party-row__avatar--pm[b-yytzr0izjg] {
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.lw-party-row__avatar--consultant[b-yytzr0izjg] {
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.lw-party-row__text[b-yytzr0izjg] {
    min-width: 0;
    flex: 1;
}

.lw-party-row__line[b-yytzr0izjg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lw-party-row__name[b-yytzr0izjg] {
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-text-primary);
}

.lw-party-row__badge[b-yytzr0izjg] {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--lw-bg-secondary);
    color: var(--lw-gray-graphite);
}

.lw-party-row__badge--accent[b-yytzr0izjg] {
    background: var(--lw-status-info-bg);
    color: var(--lw-primary-blue);
}

.lw-party-row__meta[b-yytzr0izjg] {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Trailing action cluster. Buttons come from the caller's fragment, so the
   chrome pierces via ::deep. Icon-only actions use the global
   lw-row-icon-btn recipe (ghost 32px, muted -> danger, reference PartyRow
   Trash2 ghost icon button) and are exempt from the link chrome below. */
.lw-party-row__actions[b-yytzr0izjg] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lw-party-row__actions[b-yytzr0izjg]  button:not(.lw-row-icon-btn) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-primary-blue);
    transition: opacity 0.15s ease;
}

.lw-party-row__actions[b-yytzr0izjg]  button:not(.lw-row-icon-btn):hover {
    opacity: 0.8;
}

.lw-party-row__actions[b-yytzr0izjg]  button:not(.lw-row-icon-btn) .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: currentColor !important;
}

.lw-party-row__edit[b-yytzr0izjg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--lw-border);
    padding: 14px 16px;
}

/* Unassigned roles have no head row -- the select stands alone. */
.lw-party-row__edit--solo[b-yytzr0izjg] {
    border-top: 0;
}

/* Phone (US-1043): the row must never push the card wider than the screen --
   the text column wraps long names and emails, the action cluster drops under
   the text instead of crushing it, and the edit area's select (an LwSelect
   from the caller's fragment) spans the full inner width. 16px insets kept;
   action links get a 44px tap target drawn around the 13px text. */
@media (max-width: 767.98px) {
    .lw-party-row__head[b-yytzr0izjg] {
        flex-wrap: wrap;
        gap: 12px;
    }

    .lw-party-row__text[b-yytzr0izjg] {
        flex: 1 1 160px;
        overflow-wrap: anywhere;
    }

    /* Shared list-card type (lw-page.css tokens): name 14 / medium / 20 (bold on
       desktop), meta line 12 / 16 -- the same as every other list card on a phone. */
    .lw-party-row__name[b-yytzr0izjg] {
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    .lw-party-row__meta[b-yytzr0izjg] {
        font-size: var(--lw-row-sub-size);
        line-height: var(--lw-row-sub-line);
    }

    .lw-party-row__actions[b-yytzr0izjg] {
        flex-wrap: wrap;
    }

    .lw-party-row__actions[b-yytzr0izjg]  button:not(.lw-row-icon-btn) {
        min-height: 44px;
        margin: -2px 0;
    }

    .lw-party-row__edit[b-yytzr0izjg] {
        padding: 12px 16px;
    }

    .lw-party-row__edit[b-yytzr0izjg]  > * {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}
/* _content/Ledgerwise/Components/Shared/PaymentRequestPhotoGallery.razor.rz.scp.css */
/* Payment request photo gallery (US-821): a lead photo across the full width, then a grid. */
.prg-gallery[b-dhirlz6w3u] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.prg-tile[b-dhirlz6w3u] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
}

.prg-tile--lead[b-dhirlz6w3u] {
    grid-column: 1 / -1;
}

.prg-frame[b-dhirlz6w3u] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card, 8px);
    background: var(--lw-bg-muted);
    overflow: hidden;
    transition: border-color 0.15s;
}

.prg-tile--lead .prg-frame[b-dhirlz6w3u] {
    aspect-ratio: 16 / 9;
}

.prg-tile:hover .prg-frame[b-dhirlz6w3u],
.prg-tile:focus-visible .prg-frame[b-dhirlz6w3u] {
    border-color: var(--lw-primary-blue);
}

.prg-tile:focus-visible[b-dhirlz6w3u] {
    outline: none;
}

.prg-frame img[b-dhirlz6w3u] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prg-placeholder[b-dhirlz6w3u] {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--lw-bg-muted) 25%, var(--lw-bg-secondary) 50%, var(--lw-bg-muted) 75%);
    background-size: 200% 100%;
    animation: prg-shimmer-b-dhirlz6w3u 1.2s ease-in-out infinite;
}

.prg-unavailable[b-dhirlz6w3u] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lw-gray-graphite);
}

.prg-caption[b-dhirlz6w3u] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

@keyframes prg-shimmer-b-dhirlz6w3u {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Phones: two across, the lead still full width. */
@media (max-width: 599.98px) {
    .prg-gallery[b-dhirlz6w3u] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }
}
/* _content/Ledgerwise/Components/Shared/PaymentRequestVendorList.razor.rz.scp.css */
/* PaymentRequestVendorList -- one accordion row per payee in a payment request (US-731).
   Shared by DrawRequestSubmitModal (builder) and DrawRequestApprovalModal (Project Owner),
   so the metrics here are the ones both sheets already used for their invoice rows
   (.drs-invoice-* / .dra-invoice-*): 32px squircle avatar, 14px/600 name, 12px scope,
   canonical ControlCard-in-miniature anatomy for the expanded body. All chrome from
   --lw-* tokens. */

.prv-list[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* -- Payee row (collapsed head + expandable body) -- */
.prv-vendor[b-4iknw6hsuj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    overflow: hidden;
    transition: border-color 0.12s;
}

.prv-vendor--open[b-4iknw6hsuj] {
    border-color: color-mix(in srgb, var(--lw-primary-blue, #3980a5) 45%, var(--lw-border));
}

.prv-head[b-4iknw6hsuj] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.12s;
}

.prv-head:hover[b-4iknw6hsuj] {
    background: rgba(145, 158, 171, 0.08);
}

.prv-head:focus-visible[b-4iknw6hsuj] {
    outline: 2px solid var(--lw-primary-blue, #3980a5);
    outline-offset: -2px;
}

.prv-expand-btn[b-4iknw6hsuj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    transition: color 0.15s;
}

.prv-expand-btn:hover[b-4iknw6hsuj] {
    color: var(--lw-text-primary);
}

.prv-expand-chev[b-4iknw6hsuj] {
    transition: transform 0.2s ease;
}

.prv-expand-chev--open[b-4iknw6hsuj] {
    transform: rotate(90deg);
}

/* 32px squircle avatar (reference org avatar) -- same hues as the sheets. */
.prv-avatar[b-4iknw6hsuj] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--lw-font-family);
    color: var(--lw-white);
}

.prv-avatar-warm[b-4iknw6hsuj]    { background: var(--lw-avatar-warm-bg); color: var(--lw-avatar-warm-fg); }
.prv-avatar-blue[b-4iknw6hsuj]    { background: var(--lw-avatar-blue-bg); color: var(--lw-white); }
.prv-avatar-green[b-4iknw6hsuj]   { background: var(--lw-avatar-green-bg); color: var(--lw-white); }
.prv-avatar-purple[b-4iknw6hsuj]  { background: var(--lw-avatar-purple-bg); color: var(--lw-white); }
.prv-avatar-amber[b-4iknw6hsuj]   { background: var(--lw-avatar-amber-bg); color: var(--lw-avatar-warm-fg); }
.prv-avatar-default[b-4iknw6hsuj] { background: var(--lw-gray-graphite); color: var(--lw-white); }

/* Name over "what for" over the budget line(s). Everything truncates so rows keep one height. */
.prv-identity[b-4iknw6hsuj] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prv-vendor-name[b-4iknw6hsuj] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prv-scope[b-4iknw6hsuj] {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prv-amount[b-4iknw6hsuj] {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

/* Amber chip when an invoice's allocation total no longer matches its amount (US-630). */
.prv-mismatch-chip[b-4iknw6hsuj] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Builder-only prompt when an invoice has no description yet. */
.prv-scope--placeholder[b-4iknw6hsuj] {
    font-style: italic;
    color: var(--lw-gray-space);
}

/* Muted second line on a single-invoice row (the date). */
.prv-invoice-meta[b-4iknw6hsuj] {
    margin: 0;
    font-size: 11px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
}

.prv-desc-edit[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prv-desc-edit-actions[b-4iknw6hsuj] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* -- Expanded body: sections on the muted surface -- */
.prv-body[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--lw-border);
    background: color-mix(in srgb, var(--lw-bg-muted) 50%, transparent);
}

.prv-section[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prv-section-head[b-4iknw6hsuj] {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lw-gray-space);
}

.prv-section-empty[b-4iknw6hsuj] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

/* -- Invoice rows inside a payee -- */
.prv-invoices[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.prv-invoice[b-4iknw6hsuj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
}

.prv-invoice-row[b-4iknw6hsuj] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--lw-radius-control, 8px);
    cursor: pointer;
    transition: background 0.12s;
}

.prv-invoice-row:hover[b-4iknw6hsuj] {
    background: rgba(145, 158, 171, 0.08);
}

.prv-invoice-row:focus-visible[b-4iknw6hsuj] {
    outline: 2px solid var(--lw-primary-blue, #3980a5);
    outline-offset: -2px;
}

.prv-invoice-info[b-4iknw6hsuj] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* The scope line IS the row (pre-US-731 "Included invoices" lead style). */
.prv-invoice-scope[b-4iknw6hsuj] {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prv-invoice-amount[b-4iknw6hsuj] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.prv-invoice-open[b-4iknw6hsuj] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
}

/* Status pill (owner sheet), same tones as .dra-inv-status. */
.prv-inv-status[b-4iknw6hsuj] {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    border-radius: var(--lw-radius-control, 8px);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.prv-inv-status-info[b-4iknw6hsuj]    { background: var(--lw-status-info-bg); color: var(--lw-status-info-fg); }
.prv-inv-status-success[b-4iknw6hsuj] { background: var(--lw-status-success-bg); color: var(--lw-status-success-fg); }
.prv-inv-status-warning[b-4iknw6hsuj] { background: var(--lw-status-warning-bg); color: var(--lw-status-warning-fg); }
.prv-inv-status-error[b-4iknw6hsuj]   { background: var(--lw-status-error-bg); color: var(--lw-status-error-fg); }
/* Voided (US-930): grey, withdrawn -- neither in flight nor failed. */
.prv-inv-status-neutral[b-4iknw6hsuj] { background: var(--lw-bg-secondary); color: var(--lw-gray-graphite); }

/* A voided invoice (US-930) stays on the row for the record: the amount is kept but struck
   through, the row reads muted, and the void date and reason sit beneath it. */
.prv-invoice--voided .prv-invoice-scope[b-4iknw6hsuj],
.prv-invoice--voided .prv-invoice-meta[b-4iknw6hsuj] {
    color: var(--lw-gray-graphite);
}

.prv-invoice--voided .prv-invoice-amount[b-4iknw6hsuj] {
    color: var(--lw-gray-graphite);
    text-decoration: line-through;
}

.prv-invoice-void-note[b-4iknw6hsuj] {
    margin: 0 0 6px;
    padding: 0 12px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

/* Builder's per-invoice actions (US-821): one LwRowMenu trigger at the row's end. */
.prv-row-menu[b-4iknw6hsuj] {
    display: inline-flex;
    flex-shrink: 0;
}

/* -- Budget impact per line item -- */
.prv-impacts[b-4iknw6hsuj] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Line card: canonical ControlCard anatomy in miniature -- white header over a
   hairline rule, form-surface body. */
.prv-li[b-4iknw6hsuj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-form-surface);
    overflow: hidden;
}

.prv-li--ba[b-4iknw6hsuj] {
    border-left: 2px solid var(--lw-primary-blue, #3980a5);
}

.prv-li-head[b-4iknw6hsuj] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    background: var(--lw-white);
}

.prv-li-body[b-4iknw6hsuj] {
    padding: 0.75rem 0.875rem 0.875rem;
    border-top: 1px solid var(--lw-border);
}

.prv-li-name[b-4iknw6hsuj] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
}

.prv-ba[b-4iknw6hsuj] {
    flex-shrink: 0;
    padding: 0.125rem 0.375rem;
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
    font-size: 11px;
    font-weight: 600;
}

.prv-li-amt[b-4iknw6hsuj] {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.prv-li-share[b-4iknw6hsuj] {
    font-size: 11px;
    font-weight: 400;
    color: var(--lw-gray-graphite);
}

.prv-stats[b-4iknw6hsuj] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.625rem;
}

.prv-stat[b-4iknw6hsuj] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control, 8px);
    background: var(--lw-white);
    padding: 0.375rem 0.625rem;
    min-width: 0;
}

/* Same metrics as the pre-US-731 category stat tiles (11px label / 13px value). */
.prv-stat-label[b-4iknw6hsuj] {
    display: block;
    font-size: 11px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prv-stat-val[b-4iknw6hsuj] {
    display: block;
    margin-top: 0.125rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--lw-text-primary);
    font-variant-numeric: tabular-nums;
}

.prv-stat-val--this[b-4iknw6hsuj] { color: var(--lw-primary-gold-dark, #b07829); }
.prv-stat-val--neg[b-4iknw6hsuj]  { color: var(--lw-destructive); }

/* -- Error -- */
.prv-error[b-4iknw6hsuj] {
    padding: 0.75rem;
    background: var(--lw-status-error-bg);
    border: 1px solid color-mix(in srgb, var(--lw-destructive, #b83530) 25%, transparent);
    border-radius: var(--lw-radius-control, 8px);
    color: var(--lw-status-error-fg);
    font-size: 0.8125rem;
}

/* -- Phone (US-798; breakpoint 599 -> 767.98 and the 640 two-up stats step folded
   in, US-1043 Batch 11, so the bottom sheet has one phone layout below 768) -- */
@media (max-width: 767.98px) {
    /* Vendor head: the name may take two lines rather than truncating to a
       dozen characters beside the amount. */
    .prv-vendor-name[b-4iknw6hsuj] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        /* Shared list-card title type (lw-page.css tokens): 14 / medium / 20. */
        font-size: var(--lw-row-title-size);
        font-weight: var(--lw-row-title-weight);
        line-height: var(--lw-row-title-line);
    }

    /* With a wrapping name, centring everything left the amount floating
       against the middle of a two-line block and the chevron drifting off the
       name it belongs to. Top-align the row so chevron, avatar, name and
       amount all start on the name's first line, and tighten the leading
       gutter (24px chevron + 32px avatar + two gaps ate 90px of a 360px
       screen) so the name gets the width it needs. */
    .prv-head[b-4iknw6hsuj] {
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 0.625rem;
        /* The whole head is the toggle: a 44px tap row (A3). The 24px chevron inside
           it stays the visual. */
        min-height: 44px;
        flex-wrap: wrap;
        align-content: flex-start;
    }

    /* Builder's "Allocation mismatch" chip drops under the name (indented past the
       chevron) instead of squeezing the name to nothing beside the amount. The
       ::after is a full-width flex break; with no chip it is an empty zero-height
       line. */
    .prv-head[b-4iknw6hsuj]::after {
        content: "";
        flex-basis: 100%;
        order: 5;
    }

    .prv-head .prv-mismatch-chip[b-4iknw6hsuj] {
        margin: 0.375rem 0 0 2rem;
    }

    .prv-expand-btn[b-4iknw6hsuj],
    .prv-amount[b-4iknw6hsuj] {
        margin-top: 1px;
    }

    /* The vendor initials avatar is desktop chrome: it repeats the name it
       sits beside and costs 40px of a 360px row (Cody, 2026-09-06). */
    .prv-avatar[b-4iknw6hsuj] {
        display: none;
    }

    /* Budget impact: four tiles two-up still gave each ~140px, so labels and
       figures stacked in a cramped box. One tile per row instead -- label
       left, figure right -- reading as a statement rather than a grid. */
    .prv-stats[b-4iknw6hsuj] {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.375rem;
    }

    .prv-stat[b-4iknw6hsuj] {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .prv-stat-label[b-4iknw6hsuj] {
        display: inline;
    }

    .prv-amount[b-4iknw6hsuj] {
        white-space: nowrap;
    }

    /* Invoice row breaks onto two lines: number/description + amount + open
       chevron first, the status pill on its own line beneath. The ::after
       pseudo-element is a full-width flex break placed between them.
       Top-aligned so the amount and chevron sit on the number's line rather
       than floating against the middle of the block, and indented so the pill
       lines up under the number (Cody, 2026-09-06). */
    .prv-invoice-row[b-4iknw6hsuj] {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 0.375rem;
        padding: 0.625rem;
        /* The row opens the invoice: 44px tap row on both sheets (A3). */
        min-height: 44px;
    }

    .prv-invoice-amount[b-4iknw6hsuj],
    .prv-invoice-open[b-4iknw6hsuj] {
        margin-top: 1px;
    }

    .prv-invoice-row[b-4iknw6hsuj]::after {
        content: "";
        flex-basis: 100%;
        order: 5;
    }

    .prv-inv-status[b-4iknw6hsuj],
    .prv-mismatch-chip[b-4iknw6hsuj] {
        order: 10;
        flex: 0 0 auto;
    }

    /* Inline description editor: 44px actions, Cancel keeps its width, Save fills (O8). */
    .prv-desc-edit-actions .lw-page-action[b-4iknw6hsuj] {
        height: 44px;
        padding: 0 16px;
        justify-content: center;
    }

    .prv-desc-edit-actions .lw-page-action--primary[b-4iknw6hsuj] {
        flex: 1 1 auto;
    }

    .prv-error[b-4iknw6hsuj] {
        overflow-wrap: anywhere;
    }

    .prv-invoice-scope[b-4iknw6hsuj] {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
/* _content/Ledgerwise/Components/Shared/PaymentRequestVideos.razor.rz.scp.css */
/* Task-1101: payment request videos (view only). Stacks full width at every size. */
.prv-list[b-pe2lfqghc5] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prv-item[b-pe2lfqghc5] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.prv-player[b-pe2lfqghc5] {
    display: block;
    width: 100%;
    max-height: 360px;
    background: var(--lw-black);
    border-radius: var(--lw-radius-card);
}

.prv-meta[b-pe2lfqghc5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.prv-name[b-pe2lfqghc5] {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 20px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prv-unplayable[b-pe2lfqghc5] {
    font-size: 0.8125rem;
    line-height: 18px;
    color: var(--lw-status-error-fg);
}

.prv-sub[b-pe2lfqghc5] {
    font-size: 0.8125rem;
    line-height: 18px;
    color: var(--lw-gray-graphite);
}

.prv-dot[b-pe2lfqghc5] {
    margin: 0 6px;
}
/* _content/Ledgerwise/Components/Shared/ProjectAccountBalanceSummary.razor.rz.scp.css */
/* Project account balance card body (US-473).

   Balance figure, caption, and breakdown tooltip carried over verbatim from the
   measured po-trust / po-balance-tip rules they replace in ProjectOverview.razor.css
   (28px/700 -0.025em tabular figure; 12px caption; 300px navy tooltip) so the
   restyle changes structure, not type. Hardcoded --po-* aliases are resolved back
   to their underlying --lw-* tokens here.

   The body is now the balance EQUATION (LwBalanceEquation, Flat) with the
   above/below-minimum pill and the delta/minimum explainer living on its Available
   term (2026-08-18); the 40px figure, allocation ring, hover breakdown, delta caption
   and hand-rolled info glyph this sheet used to style are all gone -- the glyph and
   its navy tooltip now belong to LwBalanceStat. The BUDGET COMMITTED block
   moved to ProjectBudgetProgress when it became its own card. */

.lw-acctbal[b-o7i8fpc3za] {
    display: flex;
    flex-direction: column;
}

/* -- The equation is the whole body; give it the same top breathing room the old
   headline row had. -- */
.lw-acctbal[b-o7i8fpc3za]  .lw-balance-eq {
    margin-top: 0.75rem;
}

/* Phones: the equation is a statement whose rows carry their own 8px padding, so the
   first and last row are pulled back by that much -- the host card's body padding is
   then the only space above the first label and below the last explanation. Same
   breakpoint as the equation's own phone sheet. */
@media (max-width: 767.98px) {
    .lw-acctbal[b-o7i8fpc3za]  .lw-balance-eq {
        margin: -8px 0;
    }
}
/* _content/Ledgerwise/Components/Shared/ProjectAccountSetupTimeline.razor.rz.scp.css */
/* Project account setup timeline (Bug-938, 2026-09-30).
   source: none -- ledgerwise-ui has no project-account-setup history. Composed from the
   milestone timeline pattern (ProjectKickoffOverview.razor.css .lw-timeline: 0.75rem row gap,
   1px --lw-border connector, 14/500 label, 12px muted detail) plus StatusDot markers and a
   muted technical line with copy buttons. Only --lw-* tokens. */
.past[b-oso2gjra0l] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.past-empty[b-oso2gjra0l] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lw-gray-graphite);
}

.past-list[b-oso2gjra0l] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.past-row[b-oso2gjra0l] {
    display: flex;
    gap: 0.75rem;
}

.past-marker[b-oso2gjra0l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.3125rem;
}

.past-connector[b-oso2gjra0l] {
    width: 1px;
    flex: 1 1 auto;
    min-height: 0.75rem;
    margin: 0.25rem 0;
    background: var(--lw-border);
}

.past-body[b-oso2gjra0l] {
    min-width: 0;
    flex: 1 1 auto;
}

.past-body--gap[b-oso2gjra0l] {
    padding-bottom: 14px;
}

.past-sentence[b-oso2gjra0l] {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--lw-text-primary);
}

.past-meta[b-oso2gjra0l] {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
}

.past-sep[b-oso2gjra0l] {
    margin: 0 4px;
}

.past-reason[b-oso2gjra0l] {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-status-error-fg);
    overflow-wrap: anywhere;
}

.past-tech[b-oso2gjra0l] {
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-family: var(--lw-font-family-mono, ui-monospace, Menlo, Consolas, monospace);
    font-size: 11px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.past-copy[b-oso2gjra0l] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: transparent;
    color: var(--lw-gray-graphite);
    font: inherit;
    cursor: pointer;
}

.past-copy:hover[b-oso2gjra0l] {
    color: var(--lw-primary-blue);
    border-color: var(--lw-primary-blue);
}

.past-copy[b-oso2gjra0l]  .mud-icon-root {
    font-size: 0.75rem;
}
/* _content/Ledgerwise/Components/Shared/ProjectAvatarPicker.razor.rz.scp.css */
/* ProjectAvatarPicker -- source: ledgerwise-app create-step-identity.tsx +
   atoms/project-avatar.tsx (2026-07-24 spec, extracted from AddProject):
   124px rounded-card gradient tile (= 2 x 54px fields + 16px gap), 32/700
   initials label, 28px navy corner camera button, hover overlay with white
   32px adjust/remove round buttons. */

.lw-avatar-picker[b-iv1uz6sjrj] {
    position: relative;
    width: 124px;
}

.lw-avatar-picker__tile[b-iv1uz6sjrj] {
    position: relative;
    width: 124px;
    height: 124px;
    border-radius: var(--lw-radius-card);
    background: var(--lw-gradient-project-avatar);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.lw-avatar-picker__label[b-iv1uz6sjrj] {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.lw-avatar-picker__label--icon[b-iv1uz6sjrj]  .mud-icon-root {
    width: 44px;
    height: 44px;
    font-size: 44px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.lw-avatar-picker__img[b-iv1uz6sjrj] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lw-avatar-picker__cam[b-iv1uz6sjrj] {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lw-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(2, 11, 43, 0.3);
}

.lw-avatar-picker__cam[b-iv1uz6sjrj]  .mud-icon-root {
    width: 15px;
    height: 15px;
    font-size: 15px;
    color: #fff !important;
}

/* Hover overlay -- adjust/remove buttons over a darkened tile. Must stack
   above FileDropZone's transparent file input (z-20), or clicks on the
   buttons open the browse dialog instead. */
.lw-avatar-picker__overlay[b-iv1uz6sjrj] {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--lw-radius-card);
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.lw-avatar-picker:hover .lw-avatar-picker__overlay[b-iv1uz6sjrj] {
    opacity: 1;
    pointer-events: auto;
    background: rgba(30, 30, 36, 0.4);
}

.lw-avatar-picker__btn[b-iv1uz6sjrj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--lw-white);
    color: var(--lw-text-primary);
    cursor: pointer;
    box-shadow: var(--lw-shadow-sm);
}

.lw-avatar-picker__btn:hover[b-iv1uz6sjrj] {
    background: rgba(255, 255, 255, 0.9);
}

.lw-avatar-picker__btn--danger[b-iv1uz6sjrj] {
    color: var(--bs-danger, #d33);
}

.lw-avatar-picker__btn[b-iv1uz6sjrj]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}
/* _content/Ledgerwise/Components/Shared/ProjectBudgetProgress.razor.rz.scp.css */
/* Budget utilization card body (US-473). Carried over from the budget block that briefly
   sat inside the account-balance card; now the card IS the surface, so there is no inner
   fill or border here. Measured from the reference mock's "BUDGET COMMITTED" block:
   micro-label 11px/600 uppercase +0.08em graphite, committed figure 15px/700 navy with
   the total in graphite. */

.lw-budprog[b-57qke7x38f] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.lw-budprog__head[b-57qke7x38f] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.lw-budprog__label[b-57qke7x38f] {
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lw-gray-graphite);
}

.lw-budprog__figures[b-57qke7x38f] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.lw-budprog__committed[b-57qke7x38f] {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--lw-primary-dark);
}

.lw-budprog__of[b-57qke7x38f] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043): the head stacks at the app-wide phone breakpoint (was
   599px) and the figures wrap instead of forcing the card wider. */
@media (max-width: 767.98px) {
    .lw-budprog__head[b-57qke7x38f] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .lw-budprog__figures[b-57qke7x38f] {
        flex-wrap: wrap;
        white-space: normal;
    }
}
/* _content/Ledgerwise/Components/Shared/RichTextEditor.razor.rz.scp.css */
/* RichTextEditor -- source: ledgerwise-app send-proposal-stepper.tsx
   DescriptionEditor (2026-07-24 spec, extracted from AddProject):
   6px-radius input-border box, borderless 28px icon toolbar over a hairline,
   140px 14px/1.625 contenteditable body, focus border = primary. */

.lw-rte[b-agkdfr3cwc] {
    border: 1px solid var(--lw-input-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--lw-white);
    transition: border-color 0.15s ease;
}

.lw-rte:focus-within[b-agkdfr3cwc] {
    border-color: var(--lw-primary-dark);
}

.lw-rte__toolbar[b-agkdfr3cwc] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--lw-border);
}

.lw-rte__btn[b-agkdfr3cwc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: var(--lw-gray-graphite);
    font-family: inherit;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lw-rte__btn:hover[b-agkdfr3cwc] {
    background: var(--lw-accent);
    color: var(--lw-text-primary);
}

.lw-rte__btn[b-agkdfr3cwc]  .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: currentColor !important;
}

.lw-rte__editor[b-agkdfr3cwc] {
    min-height: 140px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.625;
    color: var(--lw-text-primary);
    outline: none;
}

.lw-rte__editor:empty[b-agkdfr3cwc]::before {
    content: attr(data-placeholder);
    color: var(--lw-gray-graphite);
}

/* Phones (US-1043, A3): toolbar buttons are 44px targets and the toolbar wraps
   rather than overflowing a narrow card. */
@media (max-width: 767.98px) {
    .lw-rte__toolbar[b-agkdfr3cwc] {
        flex-wrap: wrap;
        gap: 0;
        padding: 2px 4px;
    }

    .lw-rte__btn[b-agkdfr3cwc] {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/RoundIconButton.razor.rz.scp.css */
.lw-icon-round[b-pt1zam42ii] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    border-radius: 9999px;
    background: none;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.lw-icon-round--sm[b-pt1zam42ii] {
    width: 28px;
    height: 28px;
}

.lw-icon-round--md[b-pt1zam42ii] {
    width: 32px;
    height: 32px;
}

.lw-icon-round--lg[b-pt1zam42ii] {
    width: 36px;
    height: 36px;
}

.lw-icon-round:hover[b-pt1zam42ii] {
    background: rgba(145, 158, 171, 0.16);
    color: var(--lw-text-primary);
}

.lw-icon-round__icon[b-pt1zam42ii] {
    font-size: 1.25rem;
}
/* _content/Ledgerwise/Components/Shared/SearchableDropdown.razor.rz.scp.css */
/* Searchable dropdown. Menu chrome per the reference dropdown recipe
   (ledgerwise-app ui/dropdown-menu + gc-invoice-table autocomplete,
   2026-07-20): popover on the shared menu shadow with 8px radius and py-1;
   option rows px-14 py-8 14px, hover bg-accent; the SELECTED row reads as a
   brand-accent 5% tint with medium weight -- never a filled primary bar. */

.searchable-dropdown[b-wcbyx8l7sf] {
    position: relative;
    width: 100%;
}

/* ---- FieldShell input chrome (atom-level; mirrors LwSelect.razor.css:
   54px white box, 8px radius, 14px Inter, rgba(145,158,171,.4) border,
   1px phantom focus, notched floating label). Moved up from per-consumer
   scoping 2026-07-23 -- every picker gets the canonical field. ---- */

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-control {
    margin-top: 0;
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-outlined {
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom (US-1043) */
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-family: var(--lw-font-family);
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 22px;
}

.searchable-dropdown[b-wcbyx8l7sf]  input::placeholder {
    color: var(--lw-gray-space);
    opacity: 1;
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Label states (FieldShell): resting muted, floated graphite, focused
   phantom -- mirror Mud's own 4-class selectors. */
.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-label {
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-label-outlined {
    transform: translate(13px, 16px) scale(1);
    padding: 0 2px !important;
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.searchable-dropdown[b-wcbyx8l7sf]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    transform: translate(13px, -6px) scale(0.857);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Trailing caret / clear: quiet 20px gray icons, no Material ripple halo. */
.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-adornment .mud-icon-button,
.searchable-dropdown[b-wcbyx8l7sf]  .mud-input .mud-icon-button {
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent !important;
    color: var(--lw-gray-space);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-adornment .mud-icon-button:hover {
    color: var(--lw-text-primary);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-input-adornment .mud-icon-button .mud-icon-root {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-icon-button .mud-ripple {
    display: none;
}

/* Reference PickerField panel structure: the OPTION LIST scrolls in its own
   region; the footer action sits after it, outside the scroller, so it never
   overlaps a row (2026-07-23). */
.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow: hidden;
    margin-top: 4px;
    z-index: 1050;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    box-shadow: var(--lw-shadow-popover);
    padding: 4px 0 0;
}

.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* Phones (US-1043): every lw-modal is a height-capped bottom sheet whose body
   scrolls (app.css), so an absolutely positioned menu hanging below the field
   was clipped at the body's edge (the Filter invoices sheet showed one row).
   Below 768px the menu sits in flow instead, like a native picker: the sheet
   grows around it and scrolls, and nothing is cut off. Applies on pages too,
   where pushing the content down is the expected phone behaviour. */
@media (max-width: 767.98px) {
    .searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu {
        position: static;
        margin-top: 8px;
        max-height: 240px;
    }
}

/* Option rows: compact, quiet hover, no Mud ripple tint. */
.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list-item {
    padding: 8px 14px;
    min-height: 0;
    transition: background 0.12s ease;
}

.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list-item:hover {
    background: var(--lw-accent);
}

/* Item template typography (name over sub-line, tight leading). */
.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list-item .mud-typography-body2 {
    font-family: var(--lw-font-family);
    font-size: 14px;
    line-height: 20px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list-item .mud-typography-caption {
    font-family: var(--lw-font-family);
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-space);
}

/* Pinned footer action (reference create-fields.tsx PickerField footerAction):
   full-width hairline-topped row, 14px medium brand-accent, hover bg-accent.
   STICKY at the menu bottom so it stays visible while options scroll. */
.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-white);
    padding: 10px 12px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
    cursor: pointer;
    transition: background 0.12s ease;
}

/* Opaque hover: the translucent accent would let the scrolled rows show
   through the sticky footer. */
.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-footer:hover {
    background: color-mix(in srgb, var(--lw-accent), var(--lw-white));
}

.searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-footer-icon.mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Selected: brand-accent 5% tint; text keeps its normal colors. */
.searchable-dropdown[b-wcbyx8l7sf]  .mud-selected-item,
.searchable-dropdown[b-wcbyx8l7sf]  .mud-selected-item:hover {
    background-color: color-mix(in srgb, var(--lw-primary-blue) 5%, transparent);
}

.searchable-dropdown[b-wcbyx8l7sf]  .mud-selected-item .mud-typography-body2 {
    font-weight: var(--lw-font-semibold);
}

/* Phones (US-1043): 44px tap targets. Option rows and the pinned footer action
   grow to 44px; the caret / clear adornments keep their 20px glyph inside a
   44px hit area (the 54px field has the room). The input text itself follows
   --lw-input-font-size above (16px here). Declared last so it out-orders the
   desktop row / adornment rules of equal specificity. */
@media (max-width: 767.98px) {
    .searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-menu .mud-list-item {
        min-height: 44px;
    }

    .searchable-dropdown[b-wcbyx8l7sf]  .searchable-dropdown-footer {
        min-height: 44px;
        text-align: left;
    }

    .searchable-dropdown[b-wcbyx8l7sf]  .mud-input-adornment .mud-icon-button,
    .searchable-dropdown[b-wcbyx8l7sf]  .mud-input .mud-icon-button {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/StatusChip.razor.rz.scp.css */
/* Source: ledgerwise-app ui/badge.tsx (size md): h-6, gap-1.5, px-1.5,
   text-[11px] font-bold uppercase, rounded-sm (= --radius-control 8px in the
   reference), tracking-wide (0.025em), leading-none; icon size-3.5 (14px). */
.lw-status-chip[b-rszv7ws4h3] {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    height: 24px;
    padding: 0 6px;
    border-radius: var(--lw-radius-control);
    font-size: 11px;
    font-weight: var(--lw-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1;
    justify-content: center;
    white-space: nowrap;
}

/* Size sm (reference ui/badge.tsx size sm, measured on the GC proposals RFP
   table 2026-07-23): h-5 (20px), px-1.5 (6px), text-[10px] font-bold
   uppercase, tracking-[0.25px]. */
.lw-status-chip--sm[b-rszv7ws4h3] {
    height: 20px;
    font-size: 10px;
    letter-spacing: 0.25px;
}

/* Fills a status column (list rows): stretch to the cell, left-align content,
   so column width is stable regardless of label length. */
.lw-status-chip--fullwidth[b-rszv7ws4h3] {
    display: flex;
    width: 100%;
    justify-content: flex-start;
}

/* Icon = reference size-3.5 (14px). MudIcon defaults to Size.Medium (24px).
   MudIcon is a CHILD COMPONENT, so its <svg> does NOT carry this file's scope
   attribute -- a plain scoped rule never matches it. ::deep pierces the
   boundary; adding .mud-icon-root out-specifics Mud's .mud-icon-size-medium. */
.lw-status-chip[b-rszv7ws4h3]  .lw-status-chip-icon.mud-icon-root {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.lw-status-chip--success[b-rszv7ws4h3] {
    background: var(--lw-status-success-bg);
    color: var(--lw-status-success-fg);
}

.lw-status-chip--warning[b-rszv7ws4h3] {
    background: var(--lw-status-warning-bg);
    color: var(--lw-status-warning-fg);
}

.lw-status-chip--error[b-rszv7ws4h3] {
    background: var(--lw-status-error-bg);
    color: var(--lw-status-error-fg);
}

.lw-status-chip--info[b-rszv7ws4h3] {
    background: var(--lw-status-info-bg);
    color: var(--lw-status-info-fg);
}

.lw-status-chip--primary[b-rszv7ws4h3] {
    background: var(--lw-status-primary-bg);
    color: var(--lw-status-primary-fg);
}

.lw-status-chip--neutral[b-rszv7ws4h3] {
    background: var(--lw-status-neutral-bg);
    color: var(--lw-status-neutral-fg);
}

.lw-status-chip--secondary[b-rszv7ws4h3] {
    background: var(--lw-status-secondary-bg);
    color: var(--lw-status-secondary-fg);
}

.lw-status-chip--accent[b-rszv7ws4h3] {
    background: var(--lw-status-accent-bg);
    color: var(--lw-status-accent-fg);
}
/* _content/Ledgerwise/Components/Shared/StatusDot.razor.rz.scp.css */
.lw-status-dot[b-sq9xb6btdn] {
    display: inline-block;
    flex-shrink: 0;
}

.lw-status-dot--xs[b-sq9xb6btdn] {
    width: 6px;
    height: 6px;
}

.lw-status-dot--sm[b-sq9xb6btdn] {
    width: 8px;
    height: 8px;
}

.lw-status-dot--md[b-sq9xb6btdn] {
    width: 10px;
    height: 10px;
}

.lw-status-dot--round[b-sq9xb6btdn] {
    border-radius: 9999px;
}

.lw-status-dot--square[b-sq9xb6btdn] {
    border-radius: 2px;
}

.lw-status-dot--bordered[b-sq9xb6btdn] {
    box-shadow: 0 0 0 1px var(--lw-white);
}

.lw-status-dot--accent[b-sq9xb6btdn] {
    background: var(--lw-primary-blue);
}

.lw-status-dot--online[b-sq9xb6btdn] {
    background: var(--lw-indicator-online);
}

.lw-status-dot--success[b-sq9xb6btdn] {
    background: var(--lw-success-dark);
}

.lw-status-dot--warning[b-sq9xb6btdn] {
    /* Reference bg-warning-solid (#c9872a, critical-tasks-panel.tsx "high"
       priority). Was --lw-primary-gold-dark, which is the warning TEXT colour
       (#80471f) and read as a muddy brown when used as a fill (US-471). */
    background: var(--lw-warning-solid);
}

/* Reference StatusDot tone="gold" (brand gold swatch, e.g. budget legend). */
.lw-status-dot--gold[b-sq9xb6btdn] {
    background: var(--lw-primary-gold);
}

.lw-status-dot--muted[b-sq9xb6btdn] {
    background: var(--lw-gray-smoke);
}

.lw-status-dot--primary[b-sq9xb6btdn] {
    background: var(--lw-primary-dark);
}

.lw-status-dot--destructive[b-sq9xb6btdn] {
    /* Reference bg-destructive (solid #B83530), not the darker error-text fg. */
    background: var(--lw-destructive);
}
/* _content/Ledgerwise/Components/Shared/SupportChatPanel.razor.rz.scp.css */
/* Ledgerwise assistant chat panel (US-693; chat experience re-based on
   bol-os agent chat, US-818, 2026-09-14).

   Chat surface source: bol-os src/components/organisms/agent-view.tsx +
   agent-chat.tsx + molecules/chat-message-list.tsx + molecules/page-title.tsx
   (default variant). The transcript sits on a plain white surface with 24px
   between messages under a full-width 56px header band (border-b, white/80 +
   blur(4px)); the composer is the LwChatComposer pill and the bubbles are
   LwChatBubble.

   Shell source: none -- ledgerwise-ui has no chat/assistant component; composed onto
   the shared token language (2026-08-06) from the two closest archetypes:
   ui/drawer.tsx side=right (full-height right slide-over, max-width 440px,
   300ms slide, scrim bg-foreground/40 + blur(2px) = --lw-scrim tokens) and
   notification-drawer.tsx (header band: border-b, 18px icon + 15px/600 title,
   close icon button). Sheet shell mechanics match the house hand-rolled
   drawers (LedgerEntryDrawer): fixed shell toggled by "open", scrim fade,
   --lw-z-sheet layer so it yields to nested sheets and MudDialogs. */

.lw-chat[b-jk9q8miysh] {
    position: fixed;
    inset: 0;
    z-index: var(--lw-z-sheet);
    visibility: hidden;
    pointer-events: none;
}

.lw-chat.open[b-jk9q8miysh] {
    visibility: visible;
    pointer-events: auto;
}

.lw-chat-scrim[b-jk9q8miysh] {
    position: absolute;
    inset: 0;
    background: var(--lw-scrim);
    backdrop-filter: var(--lw-scrim-blur);
    -webkit-backdrop-filter: var(--lw-scrim-blur);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lw-chat.open .lw-chat-scrim[b-jk9q8miysh] { opacity: 1; }

.lw-chat-panel[b-jk9q8miysh] {
    position: absolute;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--lw-white);
    border-left: 1px solid var(--lw-border);
    box-shadow: var(--lw-shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lw-chat.open .lw-chat-panel[b-jk9q8miysh] { transform: translateX(0); }

/* ---- Header band (page-title.tsx default variant: 56px bar, border-b,
   background/80 + blur; full width rather than the floating card, Cody
   2026-09-14) ---- */

.lw-chat-head[b-jk9q8miysh] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 56px;
    padding: 0 12px 0 16px;
    border-bottom: 1px solid var(--lw-border);
    background: color-mix(in srgb, var(--lw-white) 80%, transparent);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lw-chat-head-title[b-jk9q8miysh] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
    font-family: var(--lw-font-family-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 32px;
    color: var(--lw-primary-dark);
    white-space: nowrap;
}

.lw-chat-head-title[b-jk9q8miysh]  .mud-icon-root { flex-shrink: 0; color: var(--lw-primary-blue); }

.lw-chat-iconbtn[b-jk9q8miysh] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--lw-gray-graphite);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.lw-chat-iconbtn:hover[b-jk9q8miysh] {
    background-color: var(--lw-bg-muted);
    color: var(--lw-text-primary);
}

/* ---- Maximized (US-879) ----
   The drawer grows to the full viewport (max-width transition rides the
   existing slide easing) and every band centers its content in a chat
   container that expands with it: --lw-chat-column, 72rem (Cody, 2026-09-15:
   the point is room for the preview's columns, so wider than the bol-os
   44rem reading column), with 32px gutters when the viewport is narrower. */

.lw-chat-panel--max[b-jk9q8miysh] { --lw-chat-column: 72rem; --lw-chat-gutter: 32px; }

.lw-chat-panel[b-jk9q8miysh] { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

.lw-chat-panel--max[b-jk9q8miysh] {
    max-width: 100%;
    border-left: 0;
}

.lw-chat-panel--max .lw-chat-head[b-jk9q8miysh] { padding-left: max(var(--lw-chat-gutter), calc((100% - var(--lw-chat-column)) / 2)); padding-right: max(calc(var(--lw-chat-gutter) - 4px), calc((100% - var(--lw-chat-column)) / 2 - 4px)); }
.lw-chat-panel--max .lw-chat-body[b-jk9q8miysh],
.lw-chat-panel--max .lw-chat-dock[b-jk9q8miysh],
.lw-chat-panel--max .lw-chat-disclaimer[b-jk9q8miysh] { padding-left: max(var(--lw-chat-gutter), calc((100% - var(--lw-chat-column)) / 2)); padding-right: max(var(--lw-chat-gutter), calc((100% - var(--lw-chat-column)) / 2)); }
.lw-chat-panel--max .lw-chat-foot[b-jk9q8miysh]  .lw-chat-composer { max-width: calc(var(--lw-chat-column) + 32px); margin: 0 auto; }

/* ---- Message region ---- */

.lw-chat-transcript[b-jk9q8miysh] {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.lw-chat-body[b-jk9q8miysh] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 16px;
    background: var(--lw-white);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Scroll-to-bottom FAB (chat-message-list.tsx): 32px outline circle pinned
   16px above the transcript's foot; blazor-helpers.js toggles --show. */
.lw-chat-fab[b-jk9q8miysh] {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--lw-border);
    border-radius: 9999px;
    background: var(--lw-white);
    color: var(--lw-text-primary);
    box-shadow: var(--lw-shadow-sm);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.lw-chat-fab--show[b-jk9q8miysh] {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.lw-chat-fab:hover[b-jk9q8miysh] { background: var(--lw-bg-muted); }

/* ---- Sources under an answer ---- */

.lw-chat-sources[b-jk9q8miysh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--lw-border);
}

.lw-chat-sources-label[b-jk9q8miysh] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
}

.lw-chat-sources a[b-jk9q8miysh] {
    font-size: 12px;
    color: var(--lw-primary-blue);
    text-decoration: none;
}

.lw-chat-sources a:hover[b-jk9q8miysh] { text-decoration: underline; }

/* ---- Empty state + starter questions ---- */

.lw-chat-empty[b-jk9q8miysh] {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 24px;
}

.lw-chat-empty[b-jk9q8miysh]  .mud-icon-root { color: var(--lw-gray-graphite); }

.lw-chat-empty-title[b-jk9q8miysh] {
    margin: 6px 0 0;
    font-family: var(--lw-font-family-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--lw-primary-dark);
}

.lw-chat-empty-sub[b-jk9q8miysh] {
    margin: 0;
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

.lw-chat-starters[b-jk9q8miysh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}

.lw-chat-starter[b-jk9q8miysh] {
    border: 1px solid var(--lw-border);
    border-radius: 9999px;
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.lw-chat-starter:hover[b-jk9q8miysh] { background-color: var(--lw-bg-muted); }

/* ---- Foot: LwChatComposer pill + disclaimer ---- */

.lw-chat-foot[b-jk9q8miysh] {
    flex-shrink: 0;
    background: var(--lw-white);
}

.lw-chat-disclaimer[b-jk9q8miysh] {
    margin: 0;
    padding: 0 16px 12px;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    color: var(--lw-gray-graphite);
    background: var(--lw-white);
}

.lw-chat-disclaimer a[b-jk9q8miysh] { color: var(--lw-primary-blue); }

/* Full-width panel on phones (drawer.tsx: w-full below sm; the breakpoint
   moved from 640 to the house 767.98 phone line in US-1043 so the panel,
   the atoms it hosts and the maximize control all switch together). */
@media (max-width: 767.98px) {
    .lw-chat-panel[b-jk9q8miysh] { max-width: 100%; border-left: 0; }
    .lw-chat-maximize[b-jk9q8miysh] { display: none; }
    /* The preview cards pass the maximize control as their header action; with the
       button gone its ControlCard wrapper must go too, or the empty grid column
       still costs the title a 14px gap. */
    .lw-chat-panel[b-jk9q8miysh]  .cc-head__action:has(> .lw-chat-maximize) { display: none; }
}

/* ---- Budget import mode (US-807) ----
   Same token language as the help mode: header subtitle (the close control
   is the only exit -- it abandons the session), the
   shared FileDropZone inside an assistant bubble, and a pinned preview card
   between the transcript and the composer. */

.lw-chat-head-text[b-jk9q8miysh] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    height: 32px;
}

.lw-chat-head-sub[b-jk9q8miysh] {
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
}

.lw-chat-head-text > span:first-child[b-jk9q8miysh] { line-height: 1.15; }

.lw-chat-head-actions[b-jk9q8miysh] {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Dock: the assistant's requests to the user, pinned above the composer. */
.lw-chat-dock[b-jk9q8miysh] {
    flex-shrink: 0;
    padding: 12px 16px 4px;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-white);
}

.lw-chat-foot--no-composer[b-jk9q8miysh] { padding-top: 12px; }

.lw-chat-drop[b-jk9q8miysh] {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.lw-chat-drop[b-jk9q8miysh]  .fdz { min-height: 120px; }

/* While the upload is being read the zone stays in the DOM (Blazor streams
   the file through its <input>); it just goes inert under the typing dots. */
.lw-chat-drop--busy[b-jk9q8miysh]  .fdz-wrap {
    pointer-events: none;
    opacity: 0.5;
}

.lw-chat-drop-typing[b-jk9q8miysh] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Preview card body: rides inline in the transcript inside a ControlCard
   (header band + 24px body + Note slot for the hint). Content is the
   canonical atoms -- LwListStat (LabelFirst) tiles, LwListCard/LwListRow
   rows, LwCardNote warnings, LwButton actions. */
.lw-chat-preview[b-jk9q8miysh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lw-chat-preview-stats[b-jk9q8miysh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lw-chat-preview-list[b-jk9q8miysh] { min-width: 0; }

/* "Show N more" foot row of a paged preview list (Cody, 2026-09-15). */
.lw-chat-preview-more[b-jk9q8miysh] {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: 0;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-white);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 500;
    color: var(--lw-primary-blue);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s;
}

.lw-chat-preview-more:hover[b-jk9q8miysh] { background: var(--lw-bg-muted); }

.lw-chat-preview-name[b-jk9q8miysh] {
    display: block;
    min-width: 0;
    font-size: 13px;
    color: var(--lw-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Expandable category rows (Cody, 2026-09-15): chevron turns when open and
   the category's line items follow as indented, muted sub-rows. */
.lw-chat-preview-lead[b-jk9q8miysh] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lw-chat-preview-chevron[b-jk9q8miysh] {
    flex-shrink: 0;
    color: var(--lw-gray-graphite);
    transition: transform 0.15s ease;
}

.lw-chat-preview-cat--open .lw-chat-preview-chevron[b-jk9q8miysh] { transform: rotate(90deg); }

.lw-chat-preview-cat--open[b-jk9q8miysh] { background: var(--lw-bg-table-header); }

.lw-chat-preview-item[b-jk9q8miysh] { background: var(--lw-bg-table-header); }

.lw-chat-preview-item-name[b-jk9q8miysh] {
    padding-left: 22px;
    color: var(--lw-gray-graphite);
}

.lw-chat-preview-actions[b-jk9q8miysh] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---- Budget changes mode (US-835) ----
   Same anatomy as the import mode: header subtitle + exit pill, and the
   pinned preview card between transcript and composer. The list rows show
   each name before and after, labelled by the owning category (or
   "Category" for a category rename), so the builder confirms the exact
   edit that will be saved. */


.lw-chat-change[b-jk9q8miysh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
        "kind kind kind"
        "before arrow after";
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    min-width: 0;
    font-family: var(--lw-font-family);
    font-size: 13px;
}

.lw-chat-change-kind[b-jk9q8miysh] {
    grid-area: kind;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lw-chat-change-before[b-jk9q8miysh] {
    grid-area: before;
    color: var(--lw-gray-graphite);
    text-decoration: line-through;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lw-chat-change-arrow[b-jk9q8miysh] {
    grid-area: arrow;
    display: flex;
    color: var(--lw-gray-smoke);
}

.lw-chat-change-after[b-jk9q8miysh] {
    grid-area: after;
    color: var(--lw-primary-dark);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Phones (US-1043, Batch 4) ----
   The panel is the whole viewport under 768px (360-440px wide), so the
   preview cards get 286-366px of body width. Rules follow the Project Owner
   phone patterns: 44px tap targets (A3), phone cards for the list (O7),
   figures stacked under the name, primary action fills the footer row with
   the secondary keeping its width (O8). Desktop (>= 768px) is untouched. */
@media (max-width: 767.98px) {
    /* Header close and transcript starters reach the 44px phone tap target. */
    .lw-chat-iconbtn[b-jk9q8miysh] {
        width: var(--lw-touch-target);
        height: var(--lw-touch-target);
    }

    .lw-chat-head[b-jk9q8miysh] { padding-right: 6px; }

    .lw-chat-starter[b-jk9q8miysh] {
        min-height: var(--lw-touch-target);
        padding: 10px 16px;
    }

    .lw-chat-fab[b-jk9q8miysh] {
        width: var(--lw-touch-target);
        height: var(--lw-touch-target);
    }

    /* Three stat tiles at 90px each ellipsize a six-figure total, so the
       strip goes 2 + 1: the third tile (Total / Unchanged) spans the row. */
    .lw-chat-preview-stats[b-jk9q8miysh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lw-chat-preview-stats[b-jk9q8miysh]  .lw-list-stat:nth-child(3) {
        grid-column: 1 / -1;
    }

    /* Preview list on the phone-cards recipe (LwListCard phone-cards mode).
       The atom indents the stacked trailing block past a 40px avatar; these
       rows lead with a 14px chevron instead, so the indent is 22px here
       (chevron + 8px gap) and 0 on the line-item rows. Names wrap to two
       lines instead of ellipsizing against the figures (O7). */
    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-list-row {
        row-gap: 6px;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-list-row-trailing-mobile {
        flex-basis: calc(100% - 22px);
        margin-left: 22px;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-list-row-trailing-mobile .lw-list-stat {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-list-row-trailing-mobile .lw-list-stat-value {
        order: 2;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-list-row-trailing-mobile .lw-list-stat-label {
        order: 1;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lw-chat-preview-name[b-jk9q8miysh] {
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow-wrap: anywhere;
    }

    /* Line items keep the amount on the name's line (the name wraps to two
       lines; one figure needs no stacked block) and read as an indented,
       tinted continuation of the category card above them. */
    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-item {
        flex-wrap: nowrap;
        align-items: flex-start;
        margin-top: -8px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-top: 0;
        background: var(--lw-bg-table-header);
        box-shadow: none;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-item + .lw-chat-preview-item {
        border-top: 1px solid var(--lw-border);
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-item .lw-list-row-trailing-mobile {
        flex-basis: auto;
        margin-left: 0;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-item .lw-list-row-trailing-mobile .lw-list-stat {
        width: auto;
    }

    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-cat--open {
        background: var(--lw-bg-table-header);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    /* "Show N more" sits below the stack of cards as its own outlined pill
       (the shared card surface it used to foot is transparent here). */
    .lw-chat-preview-list[b-jk9q8miysh]  .lw-list-card--phone-cards .lw-chat-preview-more {
        min-height: var(--lw-touch-target);
        border: 1px solid var(--lw-border);
        border-radius: var(--lw-radius-card);
    }

    /* Budget changes list: before / after each got about 110px on a 360px
       phone and ellipsized both names. The pair stacks -- kind, struck
       before, then the arrow leading the new name -- and the names wrap. */
    .lw-chat-change[b-jk9q8miysh] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "kind kind"
            "before before"
            "arrow after";
        align-items: start;
    }

    .lw-chat-change-before[b-jk9q8miysh],
    .lw-chat-change-after[b-jk9q8miysh] {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
        line-height: 20px;
    }

    .lw-chat-change-arrow[b-jk9q8miysh] {
        align-self: start;
        height: 20px;
        align-items: center;
    }

    /* Footer actions (O8): the primary (Create budget / Apply N changes)
       fills the row, Start over keeps its own width beside it. */
    .lw-chat-preview-actions[b-jk9q8miysh]  .lw-button--inline:first-child:not(.lw-button--ghost) {
        flex: 1 1 auto;
    }

    .lw-chat-preview-actions[b-jk9q8miysh]  .lw-button--inline:first-child:not(.lw-button--ghost) .lw-button-native {
        width: 100%;
    }

    .lw-chat-preview-actions[b-jk9q8miysh]  .lw-button-native {
        min-height: var(--lw-touch-target);
    }
}
/* _content/Ledgerwise/Components/Shared/VendorBankConnectionPanel.razor.rz.scp.css */
/* Bank-connection panel body: same stack rhythm as the dialog section it was
   extracted from (EditVendorDialog "Modern Treasury Payment Account"). */
.vbc[b-keevvcstf6] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vbc-hint[b-keevvcstf6] {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lw-gray-graphite);
}

.vbc-hint strong[b-keevvcstf6] {
    color: var(--lw-text-primary);
    font-weight: var(--lw-font-semibold);
}

/* Connected payout accounts. */
.vbc-account-list[b-keevvcstf6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vbc-account-row[b-keevvcstf6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.vbc-account-row[b-keevvcstf6]  .mud-icon-root {
    color: var(--lw-gray-graphite);
    flex-shrink: 0;
}

.vbc-account-id[b-keevvcstf6] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.vbc-account-name[b-keevvcstf6] {
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vbc-account-sub[b-keevvcstf6] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Linked bank details read-out. */
.vbc-bank-details[b-keevvcstf6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vbc-bank-details p[b-keevvcstf6] {
    margin: 0;
    font-size: 14px;
    color: var(--lw-text-primary);
}

.vbc-bank-details strong[b-keevvcstf6] {
    font-weight: var(--lw-font-semibold);
}

/* Inline action row (digital-check election) + busy note (loading states). */
.vbc-inline-actions[b-keevvcstf6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vbc-busy-note[b-keevvcstf6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-status-info-bg);
    font-size: 14px;
    color: var(--lw-text-primary);
}
/* _content/Ledgerwise/Components/Shared/VendorInsuranceCertificates.razor.rz.scp.css */
/* VendorInsuranceCertificates -- the certificate (COI) list shared by My Organization and the
   builder's view of a vendor (US-1024). The rules came over from MyOrganization.razor.css
   (org-table / org-col / org-row-card, US-798 / US-926) when the list moved here, so both
   hosts render the same list. */

/* --- Desktop table --------------------------------------- */

/* Cells measured at 12x20 (reference px-5 py-3) vs the list-page default of 12x16. */
.vic-table .lw-table-th[b-tu70tm3bss],
.vic-table .lw-table-td[b-tu70tm3bss] {
    padding: 12px 20px;
}

/* The whole row opens the certificate in the document sheet. */
.vic-table .lw-table-tr[b-tu70tm3bss] {
    cursor: pointer;
}

.vic-col[b-tu70tm3bss] {
    flex: 1;
    min-width: 0;
}

.vic-col--lg[b-tu70tm3bss] {
    flex: 1.6;
}

.vic-col--sm[b-tu70tm3bss] {
    flex: 0.8;
}

.vic-col--actions[b-tu70tm3bss] {
    flex: 0 0 88px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Trailing chevron affordance on the clickable rows (56px gutter, no header text). */
.vic-col--chevron[b-tu70tm3bss] {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.vic-col--chevron[b-tu70tm3bss]  .mud-icon-root {
    color: var(--lw-gray-space);
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: color 0.15s ease;
}

.vic-table .lw-table-tr:hover .vic-col--chevron[b-tu70tm3bss]  .mud-icon-root {
    color: var(--lw-gray-graphite);
}

/* Type chip next to the type name. */
.vic-cell-gap[b-tu70tm3bss] {
    gap: 0.5rem;
}

/* Single-line provider names with ellipsis. */
.vic-truncate[b-tu70tm3bss] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Phone row cards (US-926, O7) ------------------------- */
/* Type chip + name + status on the first line, then the carrier, "Policy ... . coverage"
   and the date range as quiet meta lines (the invoice card recipe). */
.vic-phone[b-tu70tm3bss] {
    display: none;
}

.vic-row-card[b-tu70tm3bss] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.vic-row-card__top[b-tu70tm3bss] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Names wrap to two lines on phone cards (O7) instead of truncating beside the chips. */
.vic-row-card__name[b-tu70tm3bss] {
    flex: 1;
    min-width: 0;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vic-row-card__meta[b-tu70tm3bss] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--lw-gray-graphite);
    overflow-wrap: anywhere;
}

.vic-row-card__dot[b-tu70tm3bss] {
    color: var(--lw-border);
}

@media (max-width: 767.98px) {
    .vic-desktop[b-tu70tm3bss] {
        display: none;
    }

    .vic-phone[b-tu70tm3bss] {
        display: block;
    }

    /* The edit pencil beside a phone row (My Organization only): the bare 26px table
       kebab grows to a 44px tap target (US-1043). */
    .vic-phone[b-tu70tm3bss]  .lw-list-row-actions .lw-table-kebab {
        width: 44px;
        height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/VendorSearchSelect.razor.rz.scp.css */
/* VendorSearchSelect (US-983, 2026-10-04). The field is the FieldShell reskin of
   MudAutocomplete used by the supplier dialog's company field
   (Components/Modals/AddVendorModal.razor.css .avm-field, itself from
   CreateChangeOrderModal .cco-field mirroring LwTextField.razor.css): 54px box, 14px text,
   centred resting label, 1px phantom focus border. Option rows are the arr-option idiom
   (14/500 name over a 12px graphite line); the popover chrome is the global .lw-select-menu.
   Option elements are authored in this component, so these rules reach them inside Mud's
   popover. Tokens only. */

/* Heading over the suggestions (the wizard field-label recipe: 11px uppercase muted). */
.lw-vsearch-head[b-p8zak7j8ib] {
    margin: 0;
    padding: 8px 16px 4px;
    font-family: var(--lw-font-family);
    font-size: 11px;
    font-weight: var(--lw-font-medium);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--lw-gray-space);
}

.lw-vsearch-option[b-p8zak7j8ib] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 2px 0;
}

.lw-vsearch-line[b-p8zak7j8ib] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.lw-vsearch-name[b-p8zak7j8ib] {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-text-primary);
}

.lw-vsearch-sub[b-p8zak7j8ib] {
    font-family: var(--lw-font-family);
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* "Add ... as a new vendor": the action row, accent text with a leading plus. */
.lw-vsearch-option--new[b-p8zak7j8ib] {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: var(--lw-font-family);
    font-size: 14px;
    font-weight: var(--lw-font-medium);
    color: var(--lw-primary-blue);
}

.lw-vsearch-option--new[b-p8zak7j8ib]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* -- FieldShell reskin (cco-field recipe) -- */
.lw-vsearch[b-p8zak7j8ib]  .mud-input-control {
    margin-top: 0;
}

.lw-vsearch[b-p8zak7j8ib]  .mud-input-outlined {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    background-color: var(--lw-white);
    border-radius: var(--lw-radius-control);
}

.lw-vsearch[b-p8zak7j8ib]  .mud-input-outlined input.mud-input-slot {
    height: 54px;
    box-sizing: border-box;
    padding: 16px 14px;
    font-size: var(--lw-input-font-size); /* 14px desktop, 16px phone: no iOS focus zoom (A3) */
    font-weight: 400;
    line-height: 22px;
}

.lw-vsearch[b-p8zak7j8ib]  .mud-input-label {
    font-size: var(--lw-input-font-size);
    font-weight: 400;
    line-height: 22px;
    letter-spacing: normal;
    color: var(--lw-gray-space);
}

/* Resting label geometrically centered in the 54px box. */
.lw-vsearch[b-p8zak7j8ib]  .mud-input-label-outlined {
    top: 50%;
    transform: translate(13px, -50%) scale(1);
    padding: 0 2px !important;
    transition: top 0.2s cubic-bezier(0, 0, 0.2, 1), transform 0.2s cubic-bezier(0, 0, 0.2, 1), color 0.2s;
}

/* Floated label: mirror Mud's shrink/focus selectors (4-class specificity). */
.lw-vsearch[b-p8zak7j8ib]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.lw-vsearch[b-p8zak7j8ib]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    top: 0;
    transform: translate(13px, -6px) scale(var(--lw-input-label-floated-scale)); /* 12px floated at either size */
}

.lw-vsearch[b-p8zak7j8ib]  .mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-graphite);
}

.lw-vsearch[b-p8zak7j8ib]  .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    color: var(--lw-gray-phantom);
}

/* Border states -- rest --lw-input-border 1px; focus 1px phantom. */
.lw-vsearch[b-p8zak7j8ib]  .mud-input.mud-input-outlined:not(.mud-disabled):not(:focus-within):hover .mud-input-outlined-border {
    border-color: var(--lw-input-border);
}

.lw-vsearch[b-p8zak7j8ib]  .mud-input.mud-input-outlined:focus-within > .mud-input-outlined-border,
.lw-vsearch[b-p8zak7j8ib]  .mud-input.mud-input-outlined:focus-within .mud-shrink > .mud-input-outlined-border {
    border-width: 1px;
    border-color: var(--lw-gray-phantom);
}

/* Caret / clear adornments: quiet gray like the LwSelect caret. */
.lw-vsearch[b-p8zak7j8ib]  .mud-input-adornment .mud-icon-button,
.lw-vsearch[b-p8zak7j8ib]  .mud-icon-button-edge-end {
    color: var(--lw-gray-space);
}

/* Phone (US-1043, A3): every suggestion row reaches 44px. The two-line vendor
   rows already do; the one-line "add as new" row gets a 28px content box
   inside the menu's 8px row padding. The popover itself is the field's width
   and scrolls inside Mud's MaxHeight, so it cannot push the page sideways. */
@media (max-width: 767.98px) {
    .lw-vsearch-option[b-p8zak7j8ib] {
        min-height: 28px;
        justify-content: center;
    }

    .lw-vsearch-option--new[b-p8zak7j8ib] {
        justify-content: flex-start;
    }

    .lw-vsearch-sub[b-p8zak7j8ib] {
        overflow-wrap: anywhere;
    }

    /* The clear (x) inside the 54px field is a 44px target. */
    .lw-vsearch[b-p8zak7j8ib]  .mud-input-adornment .mud-icon-button {
        min-width: 44px;
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/VendorSummary.razor.rz.scp.css */
/* VendorSummary (US-983, 2026-10-04). Content source: Brooks's "Vendor Onboarding" Claude
   Design, screen 3. Chrome source: the Add Contractor suggestion rows (hairline white row,
   8px radius, 14/500 title) and the wizard review grid (11px uppercase muted labels over
   14px values). Warning tone = the vendor is already in the builder's vendors. Tokens only. */

.lw-vsum[b-pyhn3aojdd] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.lw-vsum--warning[b-pyhn3aojdd] {
    border-color: color-mix(in srgb, var(--lw-status-warning-fg) 40%, transparent);
}

.lw-vsum-top[b-pyhn3aojdd] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.lw-vsum-identity[b-pyhn3aojdd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lw-vsum-name[b-pyhn3aojdd] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lw-font-family);
    font-size: 16px;
    font-weight: var(--lw-font-semibold);
    line-height: 22px;
    color: var(--lw-text-primary);
    overflow-wrap: anywhere;
}

.lw-vsum-chips[b-pyhn3aojdd] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lw-vsum-actions[b-pyhn3aojdd] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lw-vsum-grid[b-pyhn3aojdd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
}

@media (min-width: 1024px) {
    .lw-vsum-grid[b-pyhn3aojdd] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Cells are the LwLabelValue atom (US-1047). */

@media (max-width: 767.98px) {
    .lw-vsum-top[b-pyhn3aojdd] {
        flex-wrap: wrap;
    }

    .lw-vsum-identity[b-pyhn3aojdd] {
        flex: 1 1 100%;
    }

    .lw-vsum-grid[b-pyhn3aojdd] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Host-supplied actions (Change, Use this vendor): their own full-width row of
       44px buttons under the identity (US-1043). */
    .lw-vsum-actions[b-pyhn3aojdd] {
        flex: 1 1 100%;
    }

    .lw-vsum-actions[b-pyhn3aojdd]  .lw-page-action {
        flex: 1 1 0;
        height: 44px;
        justify-content: center;
    }
}
/* _content/Ledgerwise/Components/Shared/VendorTypeChooser.razor.rz.scp.css */
/* VendorTypeChooser (US-983, 2026-10-04). Content source: Brooks's "Vendor Onboarding"
   Claude Design, Set B. Chrome source: the canonical choose-one row,
   Components/Modals/SelectRfpRecipientModal.razor.css (.srr-row, from the reference chooser
   anatomy): 12px 14px padding, 12px gap, hairline card on white, 16px radio with a 2px
   smoke ring, 14/600 name over a 12px graphite line; active = accent border + 30% ring +
   info tint. The expanded body is a form-surface panel under a hairline (control-card
   .cc-body anatomy) holding two hairline white panels, each a 13/600 head with an 18px
   icon over a 13px list. Tokens only. */

.lw-vtype[b-kvf1ur38za] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lw-vtype-item[b-kvf1ur38za] {
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-card);
    background: var(--lw-white);
    overflow: hidden;
    transition: border-color 0.15s, background 0.15s;
}

.lw-vtype-item:hover[b-kvf1ur38za] {
    border-color: color-mix(in srgb, var(--lw-primary-blue) 40%, transparent);
}

.lw-vtype-item--active[b-kvf1ur38za] {
    border-color: var(--lw-primary-blue);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--lw-primary-blue) 30%, transparent);
    background: color-mix(in srgb, var(--lw-status-info-bg) 50%, var(--lw-white));
}

/* Locked (an existing vendor fixes the type): the other options read as unavailable. */
.lw-vtype-item--locked[b-kvf1ur38za] {
    opacity: 0.55;
}

.lw-vtype-item--locked:hover[b-kvf1ur38za] {
    border-color: var(--lw-border);
}

/* MudTooltip wraps the row in an inline root; make it fill the card. */
.lw-vtype-item[b-kvf1ur38za]  .lw-vtype-tip {
    display: block;
    width: 100%;
}

.lw-vtype-row[b-kvf1ur38za] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: var(--lw-font-family);
}

.lw-vtype-row[aria-disabled="true"][b-kvf1ur38za] {
    cursor: default;
}

.lw-vtype-radio[b-kvf1ur38za] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--lw-gray-smoke);
    flex-shrink: 0;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lw-vtype-item--active .lw-vtype-radio[b-kvf1ur38za] {
    border-color: var(--lw-primary-blue);
    box-shadow: inset 0 0 0 3px var(--lw-white);
    background: var(--lw-primary-blue);
}

.lw-vtype-text[b-kvf1ur38za] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.lw-vtype-name[b-kvf1ur38za] {
    font-size: 14px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lw-vtype-sub[b-kvf1ur38za] {
    font-size: 12px;
    color: var(--lw-gray-graphite);
}

/* Why a locked row cannot be chosen (host-supplied; primary text so it survives the dim). */
.lw-vtype-reason[b-kvf1ur38za] {
    color: var(--lw-text-primary);
}

/* Expanded body: two white panels on the form surface -- what the builder provides (each
   line with a Required / Optional chip) and what the vendor's invite asks of them. */
.lw-vtype-body[b-kvf1ur38za] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--lw-border);
    background: var(--lw-form-surface);
}

.lw-vtype-panel[b-kvf1ur38za] {
    min-width: 0;
    padding: 14px 16px;
    background: var(--lw-white);
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
}

.lw-vtype-head[b-kvf1ur38za] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-semibold);
    color: var(--lw-text-primary);
}

.lw-vtype-head[b-kvf1ur38za]  .mud-icon-root {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--lw-gray-graphite);
}

.lw-vtype-list[b-kvf1ur38za] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lw-vtype-entry[b-kvf1ur38za],
.lw-vtype-check[b-kvf1ur38za] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lw-font-family);
    font-size: 13px;
    line-height: 18px;
    color: var(--lw-text-primary);
}

.lw-vtype-entry[b-kvf1ur38za] {
    justify-content: space-between;
}

.lw-vtype-check[b-kvf1ur38za]  .mud-icon-root {
    width: 16px;
    height: 16px;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--lw-primary-blue);
}

@media (max-width: 767.98px) {
    .lw-vtype-body[b-kvf1ur38za] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* A3: the choose-one row never drops under 44px, and a wrapped "what
       happens next" line keeps its chevron on the first line. */
    .lw-vtype-row[b-kvf1ur38za] {
        min-height: 44px;
    }

    .lw-vtype-text[b-kvf1ur38za],
    .lw-vtype-entry > span:first-child[b-kvf1ur38za],
    .lw-vtype-check > span[b-kvf1ur38za] {
        overflow-wrap: anywhere;
    }

    .lw-vtype-check[b-kvf1ur38za] {
        align-items: flex-start;
    }

    .lw-vtype-check[b-kvf1ur38za]  .mud-icon-root {
        margin-top: 1px;
    }
}

/* ---- Inline (US-1191): three cards in a row; the name carries an info glyph whose popover
   says what the builder provides and what happens next (the ProjectPeopleCard tooltip chrome,
   wider, with two short lists). One column on phones. ---- */
.lw-vtype--inline[b-kvf1ur38za] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.lw-vtype--inline .lw-vtype-item[b-kvf1ur38za] {
    position: relative;
    overflow: visible;
}

.lw-vtype--inline .lw-vtype-row[b-kvf1ur38za] {
    align-items: flex-start;
    padding: 14px 16px;
}

.lw-vtype--inline .lw-vtype-radio[b-kvf1ur38za] {
    margin-top: 2px;
}

/* The glyph sits after the name; the name keeps room for it. */
.lw-vtype--inline .lw-vtype-name[b-kvf1ur38za] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.lw-vtype-info[b-kvf1ur38za] {
    position: relative;
    display: inline-flex;
    align-items: center;
    /* The app's info glyph: filled, muted grey (ProjectPeopleCard / LwBalanceStat). */
    color: var(--lw-gray-space);
    cursor: default;
    outline: none;
}

.lw-vtype-info[b-kvf1ur38za]  .lw-vtype-info__glyph {
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: currentColor !important;
}

.lw-vtype-row:focus-visible[b-kvf1ur38za]  .lw-vtype-info__glyph {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
    border-radius: 50%;
}

.lw-vtype-pop[b-kvf1ur38za] {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    left: -14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 21rem;
    max-width: 82vw;
    padding: 14px 16px;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    border-radius: var(--lw-radius-control);
    box-shadow: 0 12px 28px rgba(2, 11, 43, 0.22);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: var(--lw-font-regular);
    line-height: 1.45;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.lw-vtype-info:hover .lw-vtype-pop[b-kvf1ur38za],
.lw-vtype-row:focus-visible .lw-vtype-pop[b-kvf1ur38za] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.lw-vtype-pop__head[b-kvf1ur38za] {
    font-weight: var(--lw-font-semibold);
}

.lw-vtype-pop__list[b-kvf1ur38za] {
    margin: 0;
    padding-left: 18px;
}

.lw-vtype-pop__list li + li[b-kvf1ur38za] {
    margin-top: 4px;
}

.lw-vtype-pop__opt[b-kvf1ur38za] {
    color: rgba(255, 255, 255, 0.6);
}

.lw-vtype-pop__rule[b-kvf1ur38za] {
    height: 1px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 767.98px) {
    .lw-vtype--inline[b-kvf1ur38za] {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

/* The last card's popover opens leftwards so it stays on screen. */
.lw-vtype--inline .lw-vtype-item:last-child:not(:first-child) .lw-vtype-pop[b-kvf1ur38za] {
    left: auto;
    right: -14px;
}

.lw-vtype-info:hover[b-kvf1ur38za] {
    color: var(--lw-gray-graphite);
}
/* _content/Ledgerwise/Components/Shared/ViewAsBanner.razor.rz.scp.css */
/* -- View as banner (US-1088) --
   The read-only strip of an administrator viewing the app as a user. Same status-warning
   tint vocabulary as the warning StatusChip / LwCardNote: soft amber band, warning-fg
   text, outline-action stop button. Rendered by every layout shell. */
.lw-view-as-banner[b-qijx28d9pu] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 24px;
    background-color: var(--lw-status-warning-bg);
    border-bottom: 1px solid var(--lw-border);
    color: var(--lw-status-warning-fg);
    font-family: var(--lw-font-family, sans-serif);
    font-size: 13px;
    line-height: 18px;
}

.lw-view-as-banner svg[b-qijx28d9pu] {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.lw-view-as-banner-text strong[b-qijx28d9pu] {
    font-weight: 600;
}

.lw-view-as-banner-meta[b-qijx28d9pu] {
    opacity: 0.85;
}

.lw-view-as-banner-stop-form[b-qijx28d9pu] {
    margin-left: auto;
    display: flex;
    flex-shrink: 0;
}

.lw-view-as-banner-stop[b-qijx28d9pu] {
    flex-shrink: 0;
    border: 1px solid var(--lw-border);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    border-radius: var(--lw-radius-control, 8px);
    padding: 4px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lw-view-as-banner-stop:hover[b-qijx28d9pu] {
    background-color: var(--lw-bg-muted);
}

/* Phones: the strip wraps and the stop button keeps a 44px tap target (US-1043). */
@media (max-width: 640px) {
    .lw-view-as-banner[b-qijx28d9pu] {
        padding: 8px 16px;
    }

    .lw-view-as-banner-stop[b-qijx28d9pu] {
        min-height: 44px;
    }
}
/* _content/Ledgerwise/Components/Shared/VisibilityBadgeMenu.razor.rz.scp.css */
/* ---- Inline visibility badge + "Visible To" popover ----
   The popover ChildContent is portaled by MudPopover, but scoped CSS still
   reaches it because the Razor scope attribute is baked onto the elements at
   compile time. ::deep is used where the styled element is rendered by a
   MudBlazor component (StatusChip, MudIcon, MudCheckBox) rather than by us. */

.lw-vis-trigger[b-ip4or0z9i9] {
    display: inline-flex;
    cursor: pointer;
}

.lw-vis-trigger--static[b-ip4or0z9i9] {
    cursor: default;
    pointer-events: none;
}

/* Make the status chip read as an interactive control. */
.lw-vis-trigger[b-ip4or0z9i9]  .lw-status-chip {
    gap: 0.25rem;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.lw-vis-trigger:hover[b-ip4or0z9i9]  .lw-status-chip {
    filter: brightness(0.96);
}

.lw-vis-trigger[b-ip4or0z9i9]  .lw-vis-caret {
    width: 0.95rem !important;
    height: 0.95rem !important;
    margin-right: -0.125rem;
}

/* ---- Popover body ---- */
.lw-vis-menu[b-ip4or0z9i9] {
    min-width: 188px;
    padding: 0.25rem;
}

.lw-vis-menu-header[b-ip4or0z9i9] {
    padding: 0.375rem 0.5rem 0.25rem;
    font-size: 11px;
    font-weight: var(--lw-font-bold, 700);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lw-gray-graphite, #6E7180);
}

.lw-vis-row[b-ip4or0z9i9] {
    border-radius: var(--lw-radius-control, 8px);
    transition: background-color 0.15s ease;
}

.lw-vis-row:hover[b-ip4or0z9i9] {
    background-color: var(--lw-bg-secondary, #EEF0F4);
}

/* Stretch the checkbox across the row so the whole label is clickable. */
.lw-vis-row[b-ip4or0z9i9]  .lw-vis-check {
    width: 100%;
    margin: 0;
    padding: 0.125rem 0.5rem 0.125rem 0.25rem;
}

.lw-vis-row[b-ip4or0z9i9]  .lw-vis-check .mud-checkbox {
    width: 100%;
}

.lw-vis-menu-note[b-ip4or0z9i9] {
    margin-top: 0.25rem;
    padding: 0.375rem 0.5rem 0.25rem;
    border-top: 1px solid var(--lw-border);
    font-size: 11px;
    line-height: 1.35;
    color: var(--lw-gray-graphite, #6E7180);
}

/* ---- Phones (US-1043) ---- */
@media (max-width: 767.98px) {
    /* The chip keeps its measured height; the tap box grows to 44px through a
       transparent pseudo-element centred on it (the LwChip recipe). A host that
       clips its cell must release the overflow for the box to count. */
    .lw-vis-trigger[b-ip4or0z9i9] {
        position: relative;
        min-width: 0;
        max-width: 100%;
    }

    .lw-vis-trigger[b-ip4or0z9i9]::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 44px;
        transform: translateY(-50%);
    }

    /* In a narrow host (a 2-up photo tile) the label ellipsizes and the caret stays. */
    .lw-vis-trigger[b-ip4or0z9i9]  .lw-status-chip {
        min-width: 0;
        max-width: 100%;
    }

    .lw-vis-label[b-ip4or0z9i9] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lw-vis-trigger[b-ip4or0z9i9]  .lw-vis-caret {
        flex-shrink: 0;
    }

    /* Popover: never wider than the screen less a 16px gutter each side; each
       stakeholder row is a 44px target and the whole row toggles the box. */
    .lw-vis-menu[b-ip4or0z9i9] {
        box-sizing: border-box;
        max-width: calc(100vw - 32px);
    }

    .lw-vis-row[b-ip4or0z9i9] {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .lw-vis-row[b-ip4or0z9i9]  .lw-vis-check,
    .lw-vis-row[b-ip4or0z9i9]  .lw-vis-check .mud-checkbox {
        min-height: 44px;
        align-items: center;
    }

    .lw-vis-menu-note[b-ip4or0z9i9] {
        font-size: 12px;
    }
}
/* _content/Ledgerwise/Components/Shared/WizardTopBar.razor.rz.scp.css */
/* WizardTopBar -- source: ledgerwise-app top-bar.tsx inside the wizard
   portals. Spec 2026-07-24: 56px, bg white, border-b hairline, px 24;
   crumbs 14px/22px, gap 16, root = foreground (hover graphite), chevron and
   current = muted; account chip behind a left hairline, initials avatar 28px. */

.wtb[b-2ed9sgd4cr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    height: 56px;
    padding: 0 24px;
    background: var(--lw-white);
    border-bottom: 1px solid var(--lw-border);
}

.wtb__crumbs[b-2ed9sgd4cr] {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    line-height: 22px;
}

.wtb__root[b-2ed9sgd4cr] {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
    color: var(--lw-text-primary);
    transition: color 0.15s ease;
}

.wtb__root:hover[b-2ed9sgd4cr] {
    color: var(--lw-gray-graphite);
}

.wtb__sep[b-2ed9sgd4cr] {
    color: var(--lw-gray-space);
    flex-shrink: 0;
}

.wtb__current[b-2ed9sgd4cr] {
    color: var(--lw-gray-space);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

/* Small labeled outline button (ledgerwise-ui button.tsx outline + size
   sm: h-7, px-2.5, 0.8rem, border-border, bg-background, hover:bg-muted). margin-left:auto keeps
   the crumbs/actions split now that the bar has three flex children. */
.wtb__feedback[b-2ed9sgd4cr] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    margin-left: auto;
    margin-right: 12px;
    border: 1px solid var(--lw-border);
    border-radius: var(--lw-radius-control);
    background: var(--lw-white);
    color: var(--lw-text-primary);
    font-family: inherit;
    font-size: 12.8px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wtb__feedback:hover[b-2ed9sgd4cr] {
    background: var(--lw-bg-muted);
}

.wtb__feedback svg[b-2ed9sgd4cr] {
    flex-shrink: 0;
}

.wtb__account[b-2ed9sgd4cr] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--lw-border);
}

.wtb__avatar[b-2ed9sgd4cr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lw-primary-blue);
    color: var(--lw-primary-blue-fg);
    font-size: 11px;
    font-weight: 700;
}

.wtb__name[b-2ed9sgd4cr] {
    font-size: 14px;
    font-weight: 500;
    color: var(--lw-text-primary);
}

/* Narrow viewports (US-926): the bar stays -- it holds the Exit crumb, the
   only way out of a wizard on a phone. 16px gutter, feedback collapses to its
   icon, the account chip drops to the avatar. */
@media (max-width: 860px) {
    .wtb[b-2ed9sgd4cr] {
        padding: 0 16px;
        gap: 12px;
    }

    .wtb__crumbs[b-2ed9sgd4cr] {
        gap: 8px;
        min-width: 0;
    }

    .wtb__root[b-2ed9sgd4cr] {
        flex-shrink: 0;
    }

    .wtb__current[b-2ed9sgd4cr] {
        min-width: 0;
        max-width: none;
    }

    .wtb__feedback[b-2ed9sgd4cr] {
        width: 32px;
        height: 32px;
        padding: 0;
        margin-right: 0;
        justify-content: center;
        font-size: 0;
        gap: 0;
    }

    .wtb__name[b-2ed9sgd4cr] {
        display: none;
    }

    .wtb__account[b-2ed9sgd4cr] {
        padding-left: 12px;
    }
}

/* Phones (US-1043, A3): the feedback icon and the exit crumb reach the 44px target
   inside the 56px bar. */
@media (max-width: 767.98px) {
    .wtb__feedback[b-2ed9sgd4cr] {
        width: 44px;
        height: 44px;
    }

    .wtb__root[b-2ed9sgd4cr] {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
