/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* === Main Wrap (prod: sidebar left, main right) === */
.main-wrap[b-jiz0eo4kwg] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* === Sidebar (matches prod: fixed, full-height, 220px, #D6D6D4) === */
.sidebar[b-jiz0eo4kwg] {
    width: 220px;
    height: 100%;
    background: #D6D6D4;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    flex-shrink: 0;
    z-index: 6;
    transition: width 250ms ease;
}

/* === Main content area (right of sidebar) === */
.main[b-jiz0eo4kwg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* === Header Bar (prod: white, border-bottom, right of sidebar) === */
.header-bar[b-jiz0eo4kwg] {
    background: #fff;
    border-bottom: 1px solid #ddd;
    height: 52px;
    flex-shrink: 0;
    z-index: 99;
    display: flex;
    align-items: center;
}

.header-bar-inner[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.header-left[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-right[b-jiz0eo4kwg] {
    display: flex;
    align-items: center;
}

.site-title[b-jiz0eo4kwg] {
    display: none;
}

.user-info[b-jiz0eo4kwg] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    line-height: 1.3;
}

.user-info .username[b-jiz0eo4kwg] {
    font-weight: 700;
    color: #000;
    font-size: 13px;
    white-space: nowrap;
    text-align: right;
}

.header-bar-navigation[b-jiz0eo4kwg] {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.header-bar-navigation li[b-jiz0eo4kwg] {
    position: relative;
}

.header-bar-navigation li[b-jiz0eo4kwg]::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    height: 18px;
    background-color: #4f677f;
}

.header-bar-navigation li:last-child[b-jiz0eo4kwg]::after {
    display: none;
}

.header-bar-navigation[b-jiz0eo4kwg]  a {
    padding: 0 10px;
    display: block;
    color: #006bb7;
    font-size: 14px;
    text-decoration: none;
}

.header-bar-navigation[b-jiz0eo4kwg]  a:hover {
    color: #002868;
    text-decoration: underline;
}

/* === Main content scrollable area === */
main[b-jiz0eo4kwg] {
    flex: 1;
    overflow-y: auto;
    background: #fcfcfc;
}

.content[b-jiz0eo4kwg] {
    padding: 20px 30px;
    max-width: 1550px;
}

/* === Sidebar Collapsed State (desktop) === */
.sidebar.collapsed[b-jiz0eo4kwg] {
    width: 60px;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .logo-container img {
    max-width: 36px;
    padding: 0;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .primary-navigation li a {
    font-size: 0;
    padding: 14px 0;
    text-align: center;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .primary-navigation li a::after {
    display: none;
}

.sidebar.collapsed[b-jiz0eo4kwg]  .collapse-button {
    right: 50%;
    transform: translateX(50%);
}

/* === Tablet: Sidebar off-screen, header full-width === */
@media (max-width: 1023px) {
    .sidebar[b-jiz0eo4kwg] {
        position: fixed;
        top: 0;
        left: -280px;
        bottom: 0;
        width: 280px;
        z-index: 99;
        transition: left 250ms ease-in-out;
        box-shadow: 2px 2px 7px 0 rgba(0, 0, 0, 0.4);
    }

    .sidebar.open[b-jiz0eo4kwg] {
        left: 0;
    }

    .header-bar[b-jiz0eo4kwg] {
        padding-left: 50px;
    }

    .mobile-trigger[b-jiz0eo4kwg] {
        display: block !important;
    }

    .content[b-jiz0eo4kwg] {
        padding: 20px;
    }
}

/* === Mobile: Stacked layout, compact spacing === */
@media (max-width: 767.98px) {
    .sidebar[b-jiz0eo4kwg] {
        position: fixed;
        top: 0;
        left: -280px;
        bottom: 0;
        width: 280px;
        z-index: 99;
        box-shadow: none;
    }

    .sidebar.open[b-jiz0eo4kwg] {
        left: 0;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    }

    .header-bar .username[b-jiz0eo4kwg] {
        font-size: 12px;
    }

    .header-bar-navigation[b-jiz0eo4kwg]  a {
        font-size: 13px;
        padding: 0 5px;
    }

    .content[b-jiz0eo4kwg] {
        padding: 15px;
    }
}

/* === Small mobile: Hide user info, compact buttons === */
@media (max-width: 576px) {
    .user-info[b-jiz0eo4kwg] {
        display: none;
    }

    .header-bar[b-jiz0eo4kwg] {
        min-height: 52px;
    }
}

@media (min-width: 1024px) {
    .mobile-trigger[b-jiz0eo4kwg] {
        display: none;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* === Sidebar Inner Layout === */
.sidebar-inner[b-ktedh1exn3] {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* === Logo (matches prod: .logo-container height:75px, centered, img padded) === */
.logo-container[b-ktedh1exn3] {
    text-align: center;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-container .logo[b-ktedh1exn3] {
    display: inline-block;
    text-align: center;
}

.logo-container img[b-ktedh1exn3] {
    width: 100%;
    max-width: 172px;
    padding: 0 24px;
    transition: all 300ms linear;
}

/* === Navigation (matches prod: margin-top:20px after logo) === */
.primary-navigation[b-ktedh1exn3] {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
    transition: all 200ms linear;
}

.primary-navigation ul[b-ktedh1exn3] {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-navigation li[b-ktedh1exn3] {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.primary-navigation li:last-child[b-ktedh1exn3] {
    border: 0;
}

/* Nav links — matches prod: padding 16px 20px 18px, weight 700, spacing 2px */
.primary-navigation li[b-ktedh1exn3]  a {
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    width: 100%;
    padding: 16px 20px 18px;
    transition: all 200ms ease-in;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    color: #303030;
    text-decoration: none;
}

/* Chevron via CSS ::after — matches prod: Font Awesome \f105 equivalent */
.primary-navigation li[b-ktedh1exn3]  a::after {
    content: '\203A';  /* single right-pointing angle quotation mark — close to fa-angle-right */
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #303030;
    transition: all ease-in-out 250ms;
}

.primary-navigation li[b-ktedh1exn3]  a:hover {
    background: #ccc;
    font-weight: 700;
    text-decoration: none;
}

.primary-navigation li[b-ktedh1exn3]  a.active {
    background: #ccc;
    font-weight: 700;
}

/* Long admin labels (e.g. Closing templates) keep clear of the chevron at laptop widths (#6837). */
.primary-navigation li[b-ktedh1exn3]  a.nav-link-long-label {
    padding-right: 2.75rem;
    letter-spacing: 1px;
}

/* === Collapse Button (matches prod: absolute, bottom:80px, right:15px) === */
.collapse-button[b-ktedh1exn3] {
    position: absolute;
    right: 15px;
    bottom: 80px;
    cursor: pointer;
    color: #fff;
    transition: all 350ms ease;
}

.collapse-button .icon-container[b-ktedh1exn3] {
    position: relative;
    padding: 3px 5px;
    width: 30px;
    height: 30px;
    background-color: #9e9e9e;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collapse-button .icon-container:hover[b-ktedh1exn3] {
    background-color: #303030;
}

/* === Tablet: Hide collapse button when sidebar is off-screen === */
@media (max-width: 1023px) {
    .collapse-button[b-ktedh1exn3] {
        display: none;
    }

    .logo-container[b-ktedh1exn3] {
        padding: 20px;
        justify-content: flex-start;
    }

    .logo-container img[b-ktedh1exn3] {
        height: 24px;
        max-width: none;
        width: auto;
        padding: 0;
    }
}

/* === Mobile === */
@media (max-width: 767.98px) {
    .primary-navigation li[b-ktedh1exn3]  a {
        padding: 12px 15px 14px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-tna42o2vak],
.components-reconnect-repeated-attempt-visible[b-tna42o2vak],
.components-reconnect-failed-visible[b-tna42o2vak],
.components-reconnect-rejected-visible[b-tna42o2vak],
.components-reconnect-reference-visible[b-tna42o2vak],
.components-reconnect-reload-visible[b-tna42o2vak],
.components-pause-visible[b-tna42o2vak],
.components-resume-failed-visible[b-tna42o2vak],
.components-rejoining-animation[b-tna42o2vak] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-show .components-reconnect-reference-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-show .components-reconnect-reload-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-paused .components-reconnect-reference-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-resume-failed .components-reconnect-reference-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-retrying[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-reference-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-reload-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-failed[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-reference-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-rejected[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-rejected .components-reconnect-rejected-visible[b-tna42o2vak],
#components-reconnect-modal.components-reconnect-rejected .components-reconnect-reference-visible[b-tna42o2vak] {
    display: block;
}

#components-reconnect-modal[b-tna42o2vak] {
    background: transparent;
    border: none;
    color: var(--ls-text, #333);
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    margin: 20vh auto;
    max-width: 22rem;
    opacity: 0;
    padding: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    width: calc(100% - 2rem);
    animation: components-reconnect-modal-fadeOutOpacity-b-tna42o2vak 0.5s both;
}

.reconnect-modal-card[b-tna42o2vak] {
    background-color: var(--bs-danger-bg-subtle, #f8d7da);
    border: 1px solid var(--bs-danger-border-subtle, #f1aeb5);
    border-radius: 0.5rem;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
    padding: 1.75rem 1.5rem;
    width: 100%;
}

.reconnect-modal-icon[b-tna42o2vak] {
    color: var(--ls-red, #ba1a1e);
    font-size: 2rem;
    line-height: 1;
}

#components-reconnect-modal[open][b-tna42o2vak] {
    animation: components-reconnect-modal-slideUp-b-tna42o2vak 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
        components-reconnect-modal-fadeInOpacity-b-tna42o2vak 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-tna42o2vak]::backdrop {
    animation: components-reconnect-modal-fadeInOpacity-b-tna42o2vak 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-tna42o2vak {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-tna42o2vak {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-tna42o2vak {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-tna42o2vak] {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reconnect-modal-body[b-tna42o2vak] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
}

.reconnect-modal-heading[b-tna42o2vak] {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.reconnect-modal-message[b-tna42o2vak],
#components-reconnect-modal p[b-tna42o2vak] {
    color: var(--ls-gray-800, #555);
    font-size: 0.9375rem;
    margin: 0;
}

.reconnect-modal-reference[b-tna42o2vak] {
    color: var(--ls-gray-800, #555);
    font-size: 0.8125rem;
    margin: 0.25rem 0 0;
}

.reconnect-modal-reference code[b-tna42o2vak] {
    color: var(--ls-text, #333);
    font-size: 0.8125rem;
    user-select: all;
    word-break: break-all;
}

.reconnect-modal-actions[b-tna42o2vak] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.reconnect-modal-actions .btn[b-tna42o2vak] {
    width: 100%;
}

.components-rejoining-animation[b-tna42o2vak] {
    height: 80px;
    position: relative;
    width: 80px;
}

.components-rejoining-animation div[b-tna42o2vak] {
    animation: components-rejoining-animation-b-tna42o2vak 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    border: 3px solid var(--ls-blue, #006bb7);
    border-radius: 50%;
    opacity: 1;
    position: absolute;
}

.components-rejoining-animation div:nth-child(2)[b-tna42o2vak] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-tna42o2vak {
    0% {
        height: 0;
        left: 40px;
        opacity: 0;
        top: 40px;
        width: 0;
    }

    4.9% {
        height: 0;
        left: 40px;
        opacity: 0;
        top: 40px;
        width: 0;
    }

    5% {
        height: 0;
        left: 40px;
        opacity: 1;
        top: 40px;
        width: 0;
    }

    100% {
        height: 80px;
        left: 0;
        opacity: 0;
        top: 0;
        width: 80px;
    }
}
/* /Components/Pages/Admin/ClosingTemplateEdit.razor.rz.scp.css */
/* The layout's <main> is the scroll container and sits below the 52px header bar. */
@media (min-width: 992px) {
    /* Keep the formatting buttons and the save/lint/preview column in view while a long template scrolls. */
    .closing-template-edit-row > [class*="col-"][b-7kfsiykhfr] {
        min-width: 0;
    }

    .closing-template-sheet-host[b-7kfsiykhfr] {
        max-width: 100%;
        overflow-x: auto;
    }

    .closing-template-toolbar[b-7kfsiykhfr] {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #fff;
    }

    .closing-template-sidebar[b-7kfsiykhfr] {
        position: sticky;
        top: .5rem;
        max-height: calc(100vh - 52px - 1.5rem);
        overflow-y: auto;
        padding-right: .25rem;
    }
}
/* /Components/Pages/Admin/ClosingTemplatePreviewPanel.razor.rz.scp.css */
.closing-template-preview[b-9tmcgo4zun] {
    width: 100%;
    height: 540px;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
}

@media (min-width: 992px) {
    .closing-template-preview[b-9tmcgo4zun] {
        height: max(400px, calc(100vh - 52px - 16rem));
    }
}
/* /Components/Pages/Sales/Closing/ClosingCompleteStep.razor.rz.scp.css */
/* Complete step checklist (#6970). */
.closing-checklist[b-c9g35i4c37] {
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
}

.closing-checklist h2[b-c9g35i4c37] {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: normal;
    margin: 0;
    padding: 14px 20px;
}

.closing-checklist ul[b-c9g35i4c37] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.closing-checklist li[b-c9g35i4c37] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 14px 20px;
    border-top: 1px solid #efefef;
}

.closing-checklist-mark[b-c9g35i4c37] {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #aaa;
    box-sizing: border-box;
}

.is-done .closing-checklist-mark[b-c9g35i4c37] {
    background: var(--closing-success, #1b7a3a);
    border-color: var(--closing-success, #1b7a3a);
    color: #fff;
}

.is-todo .closing-checklist-mark[b-c9g35i4c37] {
    border-color: var(--closing-blocked, #ba1a1e);
}

.is-override .closing-checklist-mark[b-c9g35i4c37] {
    border-color: var(--closing-attention, #9a5b00);
    color: var(--closing-attention, #9a5b00);
}

.closing-checklist-text[b-c9g35i4c37] {
    flex: 1 1 320px;
    min-width: 0;
}

.closing-checklist-title[b-c9g35i4c37] {
    font-weight: 600;
}

.closing-checklist-detail[b-c9g35i4c37] {
    font-size: 15px;
    color: var(--closing-muted, #555);
}

.closing-checklist-footer[b-c9g35i4c37] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 20px;
    border-top: 1px solid #efefef;
    background: #fafafa;
}

.closing-checklist-footer p[b-c9g35i4c37] {
    flex: 1 1 320px;
    margin: 0;
    font-size: 15px;
    color: #444;
}

.closing-complete-done[b-c9g35i4c37] {
    padding: 16px 20px;
    border: 1px solid #b8d8c2;
    background: #f1f8f3;
    border-radius: 4px;
}
/* /Components/Pages/Sales/Closing/ClosingGenerationStep.razor.rz.scp.css */
/* Package step (#6969). */
.closing-package-steps[b-tw77wdssuw] {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.closing-package-steps > li[b-tw77wdssuw] {
    background: #fff;
    border-radius: 4px;
    padding: 14px 16px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.closing-package-steps > li.is-current[b-tw77wdssuw] {
    box-shadow: 0 0 0 2px var(--closing-current, #006bb7);
}

.closing-package-steps p[b-tw77wdssuw] {
    margin: 0;
    font-size: 14px;
    color: var(--closing-muted, #555);
}

.closing-package-step-head[b-tw77wdssuw] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.closing-package-step-mark[b-tw77wdssuw] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid #aaa;
    color: var(--closing-muted, #555);
}

.is-done .closing-package-step-mark[b-tw77wdssuw] {
    background: var(--closing-done, #002868);
    border-color: var(--closing-done, #002868);
    color: #fff;
}

.is-current .closing-package-step-mark[b-tw77wdssuw] {
    border-color: var(--closing-current, #006bb7);
    color: var(--closing-current, #006bb7);
}

.closing-package-note[b-tw77wdssuw] {
    font-size: 14px;
}

.closing-package-note.is-verified[b-tw77wdssuw] {
    color: var(--closing-success, #1b7a3a);
    font-weight: 600;
}

.closing-package-review[b-tw77wdssuw] {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 1000px) {
    .closing-package-steps[b-tw77wdssuw],
    .closing-package-review[b-tw77wdssuw] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.closing-package-doclist[b-tw77wdssuw] {
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
    align-self: start;
}

.closing-package-doclist-head[b-tw77wdssuw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 14px 18px;
}

.closing-package-doclist-head h2[b-tw77wdssuw] {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: normal;
    margin: 0;
}

.closing-package-doc[b-tw77wdssuw] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 9px 18px;
    text-align: left;
    background: none;
    border: 0;
    border-top: 1px solid #efefef;
    border-left: 3px solid transparent;
    font-size: 15px;
    color: #333;
}

.closing-package-doc:hover[b-tw77wdssuw] {
    background: #f4f7fa;
}

.closing-package-doc.is-selected[b-tw77wdssuw] {
    background: #eef5fc;
    border-left-color: var(--closing-current, #006bb7);
    font-weight: 600;
}

.closing-package-pages[b-tw77wdssuw] {
    color: var(--closing-muted, #555);
    font-weight: 400;
    white-space: nowrap;
}

.closing-package-preview[b-tw77wdssuw] {
    width: 100%;
    height: min(75vh, 900px);
    border: 1px solid #d1d1d1;
    border-radius: 4px;
}

.closing-checks[b-tw77wdssuw] {
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
    padding: 12px 18px;
    margin-bottom: 16px;
}

.closing-checks summary[b-tw77wdssuw] {
    font-weight: 600;
    cursor: pointer;
}

.closing-checks ul[b-tw77wdssuw] {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    font-size: 14px;
}

.closing-checks li[b-tw77wdssuw] {
    margin-bottom: 4px;
}
/* /Components/Pages/Sales/Closing/ClosingPage.razor.rz.scp.css */
/*
 * Closing page palette (#6964). One blue for "current" and actions, navy for done, red for
 * blocked, amber for needs-attention. Every state also carries text and an icon, so colour is
 * never the only signal. --closing-success replaces --ls-green as a text colour because
 * #26b050 fails 4.5:1 contrast on white.
 */
.closing-page[b-kkxu36y9uk] {
    --closing-current: var(--ls-blue, #006bb7);
    --closing-done: var(--ls-blue-dark, #002868);
    --closing-blocked: var(--ls-red, #ba1a1e);
    --closing-attention: #9a5b00;
    --closing-success: #1b7a3a;
    --closing-muted: #555;
    max-width: 1240px;
}

/* --- Header (#6971) --- */
.closing-header[b-kkxu36y9uk] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.closing-header-title[b-kkxu36y9uk] {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .closing-header[b-kkxu36y9uk] {
        flex-wrap: wrap;
    }

    /* Wrapped header: anchors sit toward the left; right-aligned menus clipped off narrow viewports (#6976). */
    .closing-menu[b-kkxu36y9uk] {
        left: 0;
        right: auto;
    }
}

.closing-breadcrumb[b-kkxu36y9uk] {
    display: flex;
    gap: 6px;
    font-size: 14px;
    color: var(--closing-muted);
}

.closing-title[b-kkxu36y9uk] {
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 1px;
    margin: 6px 0 0;
}

.closing-subtitle[b-kkxu36y9uk] {
    margin: 2px 0 0;
    color: var(--closing-muted);
    font-size: 15px;
}

.closing-status-pill[b-kkxu36y9uk] {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 6px;
}

.closing-status-pill.is-open[b-kkxu36y9uk] { background: #e6f0fa; color: #00457a; }
.closing-status-pill.is-done[b-kkxu36y9uk] { background: #e3f1e7; color: #1b5e2f; }
.closing-status-pill.is-voided[b-kkxu36y9uk] { background: #f3f3f3; color: #444; }

.closing-header-actions[b-kkxu36y9uk] {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.closing-menu-anchor[b-kkxu36y9uk] {
    position: relative;
}

.closing-more-button[b-kkxu36y9uk] {
    min-width: 44px;
}

.closing-menu[b-kkxu36y9uk] {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--ls-gray-300, #e5e5e5);
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.closing-menu a[b-kkxu36y9uk],
.closing-menu button[b-kkxu36y9uk] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    font-size: 15px;
    color: #333;
    background: none;
    border: 0;
}

.closing-menu a:hover[b-kkxu36y9uk],
.closing-menu button:hover[b-kkxu36y9uk],
.closing-menu a:focus-visible[b-kkxu36y9uk],
.closing-menu button:focus-visible[b-kkxu36y9uk] {
    background: #f2f6fb;
}

.closing-menu .closing-menu-danger[b-kkxu36y9uk] {
    color: var(--closing-blocked);
}

/* --- Facts strip --- */
.closing-facts[b-kkxu36y9uk] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 0 20px;
    padding: 12px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
}

.closing-facts > div[b-kkxu36y9uk] {
    padding: 0 18px;
    border-right: 1px solid #efefef;
}

.closing-facts > div:last-child[b-kkxu36y9uk] {
    border-right: 0;
}

.closing-facts dt[b-kkxu36y9uk] {
    font-size: 13px;
    font-weight: 600;
    color: var(--closing-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.closing-facts dd[b-kkxu36y9uk] {
    margin: 0;
    font-weight: 600;
}

@media (max-width: 900px) {
    .closing-facts[b-kkxu36y9uk] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 12px;
    }

    .closing-facts > div[b-kkxu36y9uk] {
        border-right: 0;
    }
}

/* --- Stepper (#6964, #6966) --- */
.closing-stepper[b-kkxu36y9uk] {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ls-gray-300, #e5e5e5);
}

.closing-stepper ol[b-kkxu36y9uk] {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.closing-stepper ol[b-kkxu36y9uk]::before {
    content: "";
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    top: 23px;
    height: 2px;
    background: #d1d1d1;
}

.closing-stepper li[b-kkxu36y9uk] {
    flex: 1 1 0;
}

.closing-step[b-kkxu36y9uk] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px 12px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.closing-step.is-current[b-kkxu36y9uk] {
    border-bottom-color: var(--closing-current);
}

.closing-step-dot[b-kkxu36y9uk] {
    position: relative;
    z-index: 1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    background: #fff;
    border: 2px solid #aaa;
    color: var(--closing-muted);
}

.closing-step.is-done .closing-step-dot[b-kkxu36y9uk] {
    background: var(--closing-done);
    border-color: var(--closing-done);
    color: #fff;
}

.closing-step.is-blocked .closing-step-dot[b-kkxu36y9uk] {
    border-color: var(--closing-blocked);
    color: var(--closing-blocked);
    background: #fdecec;
}

.closing-step.is-attention .closing-step-dot[b-kkxu36y9uk] {
    border-color: var(--closing-attention);
    color: var(--closing-attention);
    background: #fff4e0;
}

.closing-step.is-current .closing-step-dot[b-kkxu36y9uk] {
    box-shadow: 0 0 0 4px var(--ls-blue-light, #bfd9ff);
}

.closing-step-name[b-kkxu36y9uk] {
    font-weight: 600;
    color: #333;
}

.closing-step-status[b-kkxu36y9uk] {
    font-size: 13px;
    color: var(--closing-muted);
}

.closing-step.is-blocked .closing-step-status[b-kkxu36y9uk] {
    color: var(--closing-blocked);
    font-weight: 600;
}

.closing-step.is-attention .closing-step-status[b-kkxu36y9uk] {
    color: #8a5300;
    font-weight: 600;
}

/* --- Step footer --- */
.closing-step-footer[b-kkxu36y9uk] {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
/* /Components/Pages/Sales/Closing/ClosingReadinessStep.razor.rz.scp.css */
.closing-readiness[b-k6z1tp6ygw] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.closing-refresh-message[b-k6z1tp6ygw],
.closing-readiness-clear[b-k6z1tp6ygw] {
    margin: 0;
    font-size: 15px;
    color: var(--closing-muted, #555);
}

.closing-readiness-group[b-k6z1tp6ygw] {
    background: #fff;
    border-radius: 4px;
    box-shadow: var(--ls-card-shadow, 0 0 4px rgba(0, 0, 0, 0.15));
}

.closing-readiness-group-header[b-k6z1tp6ygw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 14px 20px;
}

.closing-readiness-group-header h2[b-k6z1tp6ygw] {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: normal;
    margin: 0;
}

.closing-readiness-group-header h2 span[b-k6z1tp6ygw] {
    font-weight: 400;
    font-size: 15px;
    color: var(--closing-muted, #555);
}

.closing-readiness-group ul[b-k6z1tp6ygw] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.closing-readiness-group li[b-k6z1tp6ygw] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    padding: 12px 20px;
    border-top: 1px solid #efefef;
}

.closing-readiness-label[b-k6z1tp6ygw] {
    flex: 1 1 320px;
    min-width: 0;
    font-weight: 600;
}

.closing-readiness-fix[b-k6z1tp6ygw],
.closing-readiness-fix-hint[b-k6z1tp6ygw] {
    font-size: 15px;
}

.closing-readiness-fix[b-k6z1tp6ygw] {
    font-weight: 600;
}

.closing-readiness-fix-hint[b-k6z1tp6ygw] {
    color: var(--closing-muted, #555);
}

.closing-severity[b-k6z1tp6ygw] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.closing-severity.is-block[b-k6z1tp6ygw] {
    background: var(--closing-blocked, #ba1a1e);
    color: #fff;
}

.closing-severity.is-warning[b-k6z1tp6ygw] {
    background: #fff4e0;
    color: #7a4700;
    border: 1px solid #f3d39b;
}
/* /Components/Pages/Sales/Closing/ClosingStepGuide.razor.rz.scp.css */
/* Closing status banner (#6966). Colours come from the closing palette set on .closing-page (#6964). */
.closing-banner[b-78239f455t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid var(--ls-gray-300, #e5e5e5);
    border-radius: 4px;
    background: #fff;
}

.closing-banner-icon[b-78239f455t] {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: var(--closing-current, #006bb7);
}

.closing-banner-text[b-78239f455t] {
    flex: 1 1 320px;
    min-width: 0;
}

.closing-banner-headline[b-78239f455t] {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: 0.5px;
    margin: 0;
    color: #222;
}

.closing-banner-detail[b-78239f455t] {
    margin: 2px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
}

.closing-banner-actions[b-78239f455t] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tone-done[b-78239f455t] { border-color: #b8d8c2; background: #f1f8f3; }
.tone-done .closing-banner-icon[b-78239f455t] { background: var(--closing-success, #1b7a3a); }

.tone-ready[b-78239f455t] { border-color: var(--ls-blue-light, #bfd9ff); background: #f2f7fd; }
.tone-ready .closing-banner-icon[b-78239f455t] { background: var(--closing-current, #006bb7); }

.tone-attention[b-78239f455t] { border-color: #f3d39b; background: #fffaf0; }
.tone-attention .closing-banner-icon[b-78239f455t] { background: var(--closing-attention, #9a5b00); }

.tone-blocked[b-78239f455t] { border-color: #f0b9ba; background: #fdf3f3; }
.tone-blocked .closing-banner-icon[b-78239f455t] { background: var(--closing-blocked, #ba1a1e); }
/* /Components/Shared/FileSlot.razor.rz.scp.css */
.file-slot-input-hidden[b-p1xeu80n3l] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

/* Bootstrap's .btn:focus only fires on the label itself, not on a focused
   descendant. The InputFile is nested inside the label, so :has() forwards
   the descendant focus to the wrapper — keyboard users get a visible focus
   ring on the slot's affordance. :focus-visible (not :focus) limits this to
   keyboard navigation; mouse-click focus reuses Bootstrap's default. box-shadow
   inherits the button's border-radius, so the ring hugs the rounded edges
   instead of painting a square outline around them. */
label.btn:has(.file-slot-input-hidden:focus-visible)[b-p1xeu80n3l] {
    box-shadow: 0 0 0 2px var(--bs-primary, #0d6efd);
}
/* /Components/Shared/FileUploadButton.razor.rz.scp.css */
.file-upload-button-hidden[b-gszbi0fe34] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

label.btn:has(.file-upload-button-hidden:focus-visible)[b-gszbi0fe34] {
    box-shadow: 0 0 0 2px var(--bs-primary, #0d6efd);
}
/* /Components/Shared/SecureField.razor.rz.scp.css */
/* Mask typed PII without type=password (avoids password-manager credential semantics). */
.secure-field-input[b-8e1nvb8oae] {
    -webkit-text-security: disc;
    text-security: disc;
}
/* /Components/Shared/SubdivisionFilter.razor.rz.scp.css */
.subdivision-filter-backdrop[b-03w4fc6qnk] {
    position: fixed;
    inset: 0;
    z-index: 1035;
}

.subdivision-filter-card[b-03w4fc6qnk] {
    position: relative;
    z-index: 1036;
}

.subdivision-filter-col[b-03w4fc6qnk] {
    min-width: 0;
}

.subdivision-filter-toggle[b-03w4fc6qnk] {
    text-align: left;
    overflow: hidden;
}

.subdivision-filter-summary[b-03w4fc6qnk] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.subdivision-filter-menu[b-03w4fc6qnk] {
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1037;
}
/* /Components/Shared/ToastContainer.razor.rz.scp.css */
.toast-container-fixed[b-49nx0jbj4p] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    max-width: 400px;
}

.toast-item[b-49nx0jbj4p] {
    animation: toast-fade-in-b-49nx0jbj4p 0.3s ease-in;
}

@keyframes toast-fade-in-b-49nx0jbj4p {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
