@import '_content/Proton.Public/Proton.Public.t3ilqg96k4.bundle.scp.css';

/* /Components/Global/Components/DocumentSheet.razor.rz.scp.css */
/*
    The paper sheet. Colors are the --doc-* tokens (app.css), NOT --mud-palette-*: a sheet of paper
    reads the same in light and dark mode and mirrors the PDF's palette. Everything else about it
    (rules, tabular figures, a real margin) is the Heartwood preview's "paper rendered honestly" idea.
*/

.sheet[b-a0dqrri56s] {
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--doc-rule);
    border-radius: 10px;
    background-color: var(--doc-paper);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 28px rgba(0, 0, 0, 0.14);
    color: var(--doc-ink);
    font-size: 13px;
    line-height: 1.5;
}

/* ------------------------------------------------------------------ header band */

.sheet-band[b-a0dqrri56s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 30px;
    background-color: var(--doc-olive);
}

.band-left[b-a0dqrri56s] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.band-logo[b-a0dqrri56s] {
    width: 104px;
    height: auto;
}

.band-wordmark[b-a0dqrri56s] {
    color: var(--doc-on-olive);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.band-right[b-a0dqrri56s] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: right;
}

.band-tagline[b-a0dqrri56s] {
    color: var(--doc-lime);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.band-email[b-a0dqrri56s] {
    color: var(--doc-on-olive);
    font-size: 12px;
}

.sheet-bar[b-a0dqrri56s] {
    height: 5px;
    background-color: var(--doc-lime);
}

.sheet-body[b-a0dqrri56s] {
    padding: 26px 30px 6px;
}

/* ------------------------------------------------------------------ title + info */

.sheet-title[b-a0dqrri56s] {
    margin: 0;
    color: var(--doc-olive);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.2;
}

.sheet-subtitle[b-a0dqrri56s] {
    margin: 4px 0 0;
    color: var(--doc-muted);
    font-size: 14px;
}

.sheet-rule[b-a0dqrri56s] {
    margin: 10px 0 16px;
    border: 0;
    border-top: 1px solid var(--doc-lime);
}

.sheet-info[b-a0dqrri56s] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.sheet-info.with-box[b-a0dqrri56s] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
}

.info[b-a0dqrri56s] {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
}

.info dt[b-a0dqrri56s] {
    color: var(--doc-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 2px;
}

.info dd[b-a0dqrri56s] {
    margin: 0;
}

.mailbox[b-a0dqrri56s] {
    align-self: start;
    padding: 12px 14px;
    border-left: 3px solid var(--doc-lime);
    background-color: var(--doc-band);
}

.mailbox h4[b-a0dqrri56s] {
    margin: 0 0 6px;
    color: var(--doc-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.sheet-note[b-a0dqrri56s] {
    margin: 14px 0 0;
    color: var(--doc-muted);
}

.sheet-heading[b-a0dqrri56s] {
    margin: 22px 0 8px;
    color: var(--doc-olive);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
}

/* ------------------------------------------------------------------ pricing table */

.sheet-lines[b-a0dqrri56s] {
    overflow-x: auto;
}

.sheet-lines table[b-a0dqrri56s] {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
}

.sheet-lines th[b-a0dqrri56s] {
    padding: 8px 10px;
    background-color: var(--doc-olive);
    color: var(--doc-on-olive);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: left;
    white-space: nowrap;
}

.sheet-lines th.num[b-a0dqrri56s],
.sheet-lines td.num[b-a0dqrri56s] {
    text-align: right;
}

.sheet-lines td[b-a0dqrri56s] {
    padding: 10px;
    vertical-align: middle;
}

.sheet-lines tbody tr:nth-child(odd)[b-a0dqrri56s] {
    background-color: var(--doc-band);
}

.m-name[b-a0dqrri56s] {
    color: var(--doc-olive);
    font-weight: 700;
}

.m-basis[b-a0dqrri56s] {
    color: var(--doc-muted);
    font-size: 12px;
}

.m-badge[b-a0dqrri56s] {
    display: block;
    color: var(--doc-olive);
    font-size: 12px;
    font-weight: 700;
}

.m-reason[b-a0dqrri56s] {
    display: block;
    color: var(--doc-muted);
    font-size: 12px;
    font-style: italic;
}

.m-price[b-a0dqrri56s] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.m-list[b-a0dqrri56s] {
    display: block;
    color: var(--doc-muted);
    font-size: 11px;
}

/* ------------------------------------------------------------------ totals */

.sheet-totals[b-a0dqrri56s] {
    margin: 0;
}

.tot[b-a0dqrri56s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 10px;
}

.tot dt[b-a0dqrri56s],
.tot dd[b-a0dqrri56s] {
    margin: 0;
}

.tot dd[b-a0dqrri56s] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tot-muted[b-a0dqrri56s] {
    color: var(--doc-muted);
    font-style: italic;
}

.tot-bold[b-a0dqrri56s] {
    font-weight: 700;
}

.tot-grand[b-a0dqrri56s] {
    background-color: var(--doc-band);
    font-size: 14px;
    font-weight: 700;
}

.tot-referral[b-a0dqrri56s] {
    color: var(--doc-rust);
    font-size: 14px;
    font-weight: 700;
}

.tot-final[b-a0dqrri56s] {
    padding: 11px 10px;
    background-color: var(--doc-olive);
    color: var(--doc-on-olive);
    font-size: 16px;
    font-weight: 700;
}

.tot-final dd[b-a0dqrri56s] {
    color: var(--doc-lime);
    font-size: 18px;
}

/* ------------------------------------------------------------------ sections, signatures, footer */

.sheet-section p[b-a0dqrri56s] {
    margin: 0 0 8px;
}

.bullets[b-a0dqrri56s] {
    margin: 0;
    padding-left: 18px;
    list-style-type: "-   ";
}

.bullets li[b-a0dqrri56s] {
    padding-bottom: 3px;
}

.bullets.muted[b-a0dqrri56s] {
    color: var(--doc-muted);
}

.sheet-sign[b-a0dqrri56s] {
    display: grid;
    gap: 40px;
    margin: 30px 0 18px;
}

.sign-line[b-a0dqrri56s] {
    display: flex;
    gap: 22px;
}

.sign-line > div[b-a0dqrri56s] {
    padding-top: 5px;
    border-top: 1px solid var(--doc-muted);
    color: var(--doc-muted);
    font-size: 11px;
}

.sign-name[b-a0dqrri56s] {
    flex: 65;
}

.sign-date[b-a0dqrri56s] {
    flex: 35;
}

.sheet-foot[b-a0dqrri56s] {
    padding: 4px 0 16px;
    color: var(--doc-muted);   /* the PDF footer grey is 3.2:1 on white - too faint for 11px screen text */
    font-size: 11px;
    text-align: center;
}

/* Screen-reader-only text (the "was $850" before a struck-through list price). */
.visually-hidden[b-a0dqrri56s] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ phone width */

@media (max-width: 700px) {
    .sheet-band[b-a0dqrri56s] {
        padding: 14px 16px;
    }

    .sheet-body[b-a0dqrri56s] {
        padding: 18px 16px 4px;
    }

    .sheet-title[b-a0dqrri56s] {
        font-size: 18px;
        letter-spacing: 0.18em;
    }

    .sheet-info.with-box[b-a0dqrri56s] {
        grid-template-columns: minmax(0, 1fr);
    }

    .info[b-a0dqrri56s] {
        grid-template-columns: 7rem minmax(0, 1fr);
    }
}
/* /Components/Global/Components/IconSelect.razor.rz.scp.css */
.icon-select[b-cz3fgwd2oi] {

    .mud-input-adornment {
        display: none;
    }

    .mud-input-slot[b-cz3fgwd2oi] {
        padding: 0 !important;
        height: 100% !important;
        width: 100% !important;
    }

    .mud-icon-root[b-cz3fgwd2oi] {
        align-items: end;
        vertical-align: bottom;
    }

    .mud-select-filler[b-cz3fgwd2oi] {
        max-width: 1.65vw;
        margin-left: 0;
        margin-right: 0;
    }
}

.icon-select-popover[b-cz3fgwd2oi] {
    width: fit-content !important;

    .mud-list > .mud-list-item {
        padding-left:8px;
        padding-right:8px;
    }
}
/* /Components/Global/Components/MudToolWindow.razor.rz.scp.css */
:root[b-bnvi5vptgz] {
    /* Brand tokens - keep in sync with Theming/ProtonTheme.cs */
    --theme-primary: #3B4532;
    --theme-primary-overlay: #3B4532cc;
    --DarkHighlight: #0C0E0A78;
}

.tool-window[b-bnvi5vptgz] {
    
}

.tool-window-container[b-bnvi5vptgz] {
    padding-bottom: 1rem;
    
}

.tool-window-footer[b-bnvi5vptgz] {
    position: absolute;
    background-color:var(--DarkHighlight);
    top: 95%;
    left: 1px;
    padding: 0.25vh;
    width: 101%;
    
    h6 {
        font-size: 1.2rem;
    }
}
/* /Components/Global/Dialogs/DocumentPreviewDialog.razor.rz.scp.css */
/*
    Dialog chrome for the document preview (ported from Heartwood's QuotePreviewDialog.razor.css).
    The chrome follows the active MudBlazor theme in both modes; the sheet inside it is paper (DocumentSheet).
*/

.qpv-title[b-uhzuik40qa] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.qpv-title-text[b-uhzuik40qa] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-right: auto;
}

/* The title bar is lime in both modes (global .mud-dialog-title rule), so every title color must be
   --mud-palette-primary-text (ink) - never white and never a secondary/olive that goes light in dark mode. */
.qpv-eyebrow[b-uhzuik40qa] {
    color: var(--mud-palette-primary-text);
    opacity: 0.8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.qpv-badge[b-uhzuik40qa] {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background-color: var(--mud-palette-surface);
}

.qpv-title-text h2[b-uhzuik40qa] {
    margin: 0;
    color: var(--mud-palette-primary-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
}

/* The dialog body is the scroll container, not the page: a long document scrolls inside a frame that keeps
   the title and the action bar in view. The backdrop is background-gray - the recessed step below surface in
   MudBlazor's own elevation order - so the sheet reads as paper on a desk in both modes. */
.qpv-scroll[b-uhzuik40qa] {
    max-height: min(66vh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
    background-color: var(--mud-palette-background-gray);
}

.qpv-actions[b-uhzuik40qa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.qpv-actions-group[b-uhzuik40qa] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 700px) {
    .qpv-scroll[b-uhzuik40qa] {
        padding: 8px;
    }

    /* Buttons stack into full-width rows below the sheet's breakpoint instead of clipping in a shrinking strip.
       ::deep because MudButton's root carries no scope attribute (it is rendered by the component). */
    .qpv-actions[b-uhzuik40qa],
    .qpv-actions-group[b-uhzuik40qa] {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .qpv-actions[b-uhzuik40qa]  .mud-button-root {
        width: 100%;
        justify-content: flex-start;
    }
}
