@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-m2beu30b12],
.components-reconnect-repeated-attempt-visible[b-m2beu30b12],
.components-reconnect-failed-visible[b-m2beu30b12],
.components-pause-visible[b-m2beu30b12],
.components-resume-failed-visible[b-m2beu30b12],
.components-rejoining-animation[b-m2beu30b12] {
    display: none;
}

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


#components-reconnect-modal[b-m2beu30b12] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-m2beu30b12 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-m2beu30b12] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-m2beu30b12] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-m2beu30b12] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-m2beu30b12] {
        background-color: #6b9ed2;
    }

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

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

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

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

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

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

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AutomationOperations.razor.rz.scp.css */
.automation-operations-page[b-jw47vjojn7] { gap: 20px; }
.automation-toolbar[b-jw47vjojn7] { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.automation-checkbox[b-jw47vjojn7] { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; font-size: 13px; }
.automation-message[b-jw47vjojn7] { padding: 12px 16px; border-radius: 8px; border: 1px solid #b8dfcb; background: #effaf4; color: #17663d; }
.automation-message.error[b-jw47vjojn7] { border-color: #efc1c1; background: #fff3f3; color: #9b2525; }
.automation-empty[b-jw47vjojn7] { padding: 28px; text-align: center; color: #667085; }
.automation-error[b-jw47vjojn7] { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.automation-issue-list[b-jw47vjojn7] { display: grid; gap: 10px; padding: 16px; }
.automation-issue-list article[b-jw47vjojn7] { padding: 14px; border: 1px solid #e4e7ec; border-radius: 8px; }
.automation-issue-list article > div[b-jw47vjojn7] { display: flex; align-items: center; gap: 8px; }
.automation-issue-list p[b-jw47vjojn7] { margin: 8px 0; color: #475467; white-space: pre-wrap; }
.automation-issue-list small[b-jw47vjojn7] { color: #667085; }
/* /Components/Pages/CollectionStatusReview.razor.rz.scp.css */
.collection-status-page[b-ef8fj7fuaf] {
    min-width: 0;
}

.collection-status-header[b-ef8fj7fuaf] {
    align-items: flex-end;
}

.collection-workspace-filter[b-ef8fj7fuaf] {
    margin-left: auto;
}

.collection-status-metrics[b-ef8fj7fuaf] {
    margin-bottom: 16px;
}

.collection-status-panel[b-ef8fj7fuaf] {
    min-width: 0;
}

.collection-review-layout[b-ef8fj7fuaf] {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.collection-review-content[b-ef8fj7fuaf] {
    min-width: 0;
}

.collection-group-nav[b-ef8fj7fuaf] {
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid #d9e0e7;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7faf9 0%, #fff 44%);
}

.collection-group-list[b-ef8fj7fuaf] {
    display: grid;
    gap: 3px;
    max-height: 620px;
    overflow-y: auto;
    padding: 10px 10px 12px;
}

.collection-group-item[b-ef8fj7fuaf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    padding: 8px 10px;
    color: #26353c;
    text-align: left;
    cursor: pointer;
}

.collection-group-item > span[b-ef8fj7fuaf] {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.collection-group-item strong[b-ef8fj7fuaf] {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-group-item small[b-ef8fj7fuaf] {
    color: var(--gray);
    font-size: 11px;
}

.collection-group-item b[b-ef8fj7fuaf] {
    min-width: 30px;
    border-radius: 999px;
    background: #edf1f3;
    padding: 3px 7px;
    color: #526069;
    font-size: 11px;
    text-align: center;
}

.collection-group-item:hover[b-ef8fj7fuaf] {
    background: #f3f7f5;
}

.collection-group-item.active[b-ef8fj7fuaf] {
    border-color: #a8c6bd;
    background: #e7f2ee;
    color: #123f34;
}

.collection-group-item.active b[b-ef8fj7fuaf] {
    background: #1f6857;
    color: #fff;
}

.collection-status-filters[b-ef8fj7fuaf] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 12px;
}

.collection-status-filters .inline-field[b-ef8fj7fuaf],
.collection-status-filters .period-range-tool[b-ef8fj7fuaf],
.collection-status-filters > button[b-ef8fj7fuaf] {
    flex: 0 0 auto;
}

.collection-status-search[b-ef8fj7fuaf] {
    flex: 1 1 260px;
    width: auto;
    max-width: none;
}

.collection-status-summary[b-ef8fj7fuaf] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    margin-bottom: 8px;
    color: var(--midnight-900);
    font-size: 14px;
}

.collection-raw-table-wrap[b-ef8fj7fuaf] {
    overflow: auto;
}

.collection-raw-table[b-ef8fj7fuaf] {
    min-width: 2450px;
}

.collection-raw-table th[b-ef8fj7fuaf],
.collection-raw-table td[b-ef8fj7fuaf] {
    white-space: nowrap;
}

.collection-raw-table .raw-text-cell[b-ef8fj7fuaf] {
    min-width: 150px;
    max-width: 240px;
    white-space: normal;
}

.collection-raw-table code[b-ef8fj7fuaf] {
    color: var(--midnight-800);
    font-size: 11px;
}

.raw-subtext[b-ef8fj7fuaf] {
    display: block;
    margin-top: 2px;
    color: var(--gray);
    font-size: 11px;
}

@media (max-width: 1100px) {
    .collection-review-layout[b-ef8fj7fuaf] {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .collection-status-filters[b-ef8fj7fuaf] {
        align-items: stretch;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .collection-status-search[b-ef8fj7fuaf] {
        flex-basis: 260px;
        min-width: 260px;
    }
}

@media (max-width: 720px) {
    .collection-review-layout[b-ef8fj7fuaf] {
        grid-template-columns: 1fr;
    }

    .collection-group-nav[b-ef8fj7fuaf] {
        position: static;
    }

    .collection-group-list[b-ef8fj7fuaf] {
        grid-auto-flow: column;
        grid-auto-columns: minmax(170px, 1fr);
        grid-template-columns: none;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .collection-status-header[b-ef8fj7fuaf] {
        align-items: stretch;
    }

    .collection-workspace-filter[b-ef8fj7fuaf] {
        margin-left: 0;
    }

    .collection-status-metrics[b-ef8fj7fuaf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/CounterpartyLedger.razor.rz.scp.css */
.counterparty-ledger-page[b-gfkvp5ejs8] {
    min-width: 0;
}

.counterparty-toolbar[b-gfkvp5ejs8] {
    align-items: end;
    display: flex;
    gap: .75rem;
}

.counterparty-message[b-gfkvp5ejs8] {
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: .8rem 1rem;
}

.counterparty-message.error[b-gfkvp5ejs8] {
    background: #fff1f2;
    color: #be123c;
}

.counterparty-layout[b-gfkvp5ejs8] {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    margin-top: 1rem;
}

.counterparty-ledger-page .metric-grid[b-gfkvp5ejs8] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.counterparty-ledger-page .metric-card[b-gfkvp5ejs8] {
    min-height: 102px;
    padding: 16px 18px;
}

.counterparty-ledger-page .metric-card .metric-amount[b-gfkvp5ejs8] {
    margin: 0.5rem 0 0.2rem;
    font-size: 20px;
    line-height: 1.3;
}

.counterparty-ledger-page .metric-card .metric-amount span[b-gfkvp5ejs8] {
    font-size: 12px;
}

.counterparty-ledger-page .metric-card small[b-gfkvp5ejs8] {
    font-size: 12px;
    line-height: 1.35;
    color: var(--gray);
}

.counterparty-review-panel[b-gfkvp5ejs8] {
    margin-top: 1rem;
}

.counterparty-ledger-page .panel-header > div[b-gfkvp5ejs8] {
    display: grid;
    gap: .28rem;
}

.counterparty-ledger-page .panel-header h2[b-gfkvp5ejs8] {
    margin: 0;
}

.counterparty-ledger-page .panel-header span[b-gfkvp5ejs8] {
    color: var(--midnight-600);
    line-height: 1.45;
}

.counterparty-review-description[b-gfkvp5ejs8] {
    color: var(--midnight-600);
    font-size: 12px;
    line-height: 1.45;
}

.counterparty-title-with-count[b-gfkvp5ejs8] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.counterparty-list-panel .panel-header[b-gfkvp5ejs8] {
    margin-bottom: 0.75rem;
}

.counterparty-sort-controls[b-gfkvp5ejs8] {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: .3rem;
    justify-content: flex-end;
    white-space: nowrap;
}

.counterparty-sort-controls .sort-field[b-gfkvp5ejs8] {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: .35rem;
    margin: 0;
}

.counterparty-sort-controls .sort-field > span[b-gfkvp5ejs8] {
    font-size: 12px;
    font-weight: 600;
}

.counterparty-sort-controls .select-small[b-gfkvp5ejs8] {
    min-width: 72px;
    width: 72px;
}

.counterparty-candidate-list[b-gfkvp5ejs8] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.counterparty-list-panel[b-gfkvp5ejs8],
.counterparty-detail-panel[b-gfkvp5ejs8] {
    min-width: 0;
}

.counterparty-search[b-gfkvp5ejs8] {
    display: block;
    margin-bottom: .8rem;
    width: 100%;
}

.counterparty-search input[b-gfkvp5ejs8] {
    width: 100%;
}

.counterparty-list[b-gfkvp5ejs8] {
    display: grid;
    gap: .5rem;
    max-height: 650px;
    overflow: auto;
}

.counterparty-list-toolbar[b-gfkvp5ejs8] {
    align-items: end;
    display: flex;
    gap: .75rem;
    margin-bottom: .75rem;
}

.counterparty-search-slot[b-gfkvp5ejs8] {
    flex: 1 1 auto;
    min-width: 0;
}

.counterparty-sort-controls[b-gfkvp5ejs8] {
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .counterparty-list-toolbar[b-gfkvp5ejs8] {
        align-items: stretch;
        flex-direction: column;
        gap: .5rem;
    }

    .counterparty-sort-controls[b-gfkvp5ejs8],
    .counterparty-sort-controls .sort-field[b-gfkvp5ejs8] {
        width: 100%;
    }

    .counterparty-sort-controls .select-small[b-gfkvp5ejs8] {
        width: 100%;
    }
}

.counterparty-list-item[b-gfkvp5ejs8] {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: .35rem;
    padding: .8rem;
    text-align: left;
}

.counterparty-list-item:hover[b-gfkvp5ejs8],
.counterparty-list-item.active[b-gfkvp5ejs8] {
    background: #f0fdfa;
    border-color: #14b8a6;
}

.counterparty-name[b-gfkvp5ejs8],
.counterparty-balances[b-gfkvp5ejs8] {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.counterparty-name em[b-gfkvp5ejs8] {
    background: #fff1f2;
    border-radius: 999px;
    color: #be123c;
    font-size: .72rem;
    font-style: normal;
    padding: .15rem .45rem;
}

.counterparty-list-item small[b-gfkvp5ejs8],
.counterparty-balances[b-gfkvp5ejs8] {
    color: #64748b;
    font-size: .78rem;
}

.counterparty-empty[b-gfkvp5ejs8] {
    color: #64748b;
    padding: 2rem 1rem;
    text-align: center;
}

.counterparty-empty.large[b-gfkvp5ejs8] {
    display: grid;
    gap: .4rem;
    min-height: 320px;
    place-content: center;
}

.counterparty-detail-header[b-gfkvp5ejs8] {
    align-items: start;
}

.counterparty-detail-header h2[b-gfkvp5ejs8] {
    margin-bottom: .2rem;
}

.counterparty-detail-header span[b-gfkvp5ejs8] {
    color: #64748b;
}

.age-pill[b-gfkvp5ejs8] {
    background: #ecfdf5;
    border-radius: 999px;
    color: #047857 !important;
    font-size: .78rem;
    padding: .35rem .65rem;
}

.age-pill.warning[b-gfkvp5ejs8] {
    background: #fff7ed;
    color: #c2410c !important;
}

.counterparty-management[b-gfkvp5ejs8] {
    align-items: end;
    background: #f8fafc;
    border-radius: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .7rem;
}

.counterparty-aliases[b-gfkvp5ejs8] {
    color: #64748b;
    font-size: .78rem;
}

.merge-field[b-gfkvp5ejs8] {
    margin-left: auto;
}

.counterparty-lines[b-gfkvp5ejs8] {
    max-height: 520px;
    overflow: auto;
}

.line-kind[b-gfkvp5ejs8] {
    border-radius: 999px;
    display: inline-block;
    font-size: .75rem;
    padding: .2rem .5rem;
}

.line-kind.income[b-gfkvp5ejs8] {
    background: #ecfdf5;
    color: #047857;
}

.line-kind.expense[b-gfkvp5ejs8] {
    background: #fff1f2;
    color: #be123c;
}

@media (max-width: 980px) {
    .counterparty-layout[b-gfkvp5ejs8] {
        grid-template-columns: 1fr;
    }

    .counterparty-list[b-gfkvp5ejs8] {
        max-height: 280px;
    }
}

@media (max-width: 640px) {
    .counterparty-toolbar[b-gfkvp5ejs8] {
        align-items: stretch;
        flex-direction: column;
    }

    .counterparty-summary-grid[b-gfkvp5ejs8] {
        grid-template-columns: repeat(2, 1fr);
    }

    .counterparty-sort-controls[b-gfkvp5ejs8] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/DeductionReview.razor.rz.scp.css */
.deduction-workbench[b-ra7xdtkk0r] {
    gap: 16px;
}

.deduction-status-workbench[b-ra7xdtkk0r] {
    margin-bottom: 16px;
}

.deduction-ledger-panel[b-ra7xdtkk0r] {
    min-width: 0;
}

.deduction-list-panel[b-ra7xdtkk0r] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: clamp(440px, calc(100dvh - 300px), 760px);
    overflow: visible;
    background: transparent;
}

.deduction-table-wrap[b-ra7xdtkk0r] {
    flex: 1 0 auto;
    width: 100%;
    min-height: 360px;
    max-height: none;
    overflow-x: auto;
}

.deduction-list-panel[b-ra7xdtkk0r]  .pager {
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 12px;
    border-top: 1px solid var(--pale-light-gray);
}

.deduction-list-panel[b-ra7xdtkk0r]  .review-list-toolbar {
    background: transparent;
}

.deduction-selection-summary[b-ra7xdtkk0r] {
    color: var(--classic-blue);
}

.deduction-table[b-ra7xdtkk0r] {
    min-width: 1120px;
}

.deduction-table td[b-ra7xdtkk0r] {
    vertical-align: middle;
}

.deduction-date time[b-ra7xdtkk0r] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.deduction-table td strong[b-ra7xdtkk0r],
.deduction-table td small[b-ra7xdtkk0r] {
    display: block;
}

.deduction-table td small[b-ra7xdtkk0r] {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.deduction-table tbody tr[b-ra7xdtkk0r] {
    cursor: pointer;
}

.source-badge[b-ra7xdtkk0r],
.deduction-badge[b-ra7xdtkk0r] {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.source-badge[b-ra7xdtkk0r] {
    background: var(--classic-blue-25);
    color: var(--classic-blue);
}

.deduction-badge.deductible[b-ra7xdtkk0r] {
    background: rgba(32, 128, 141, .1);
    color: var(--classic-blue);
}

.deduction-badge.non-deductible[b-ra7xdtkk0r] {
    background: rgba(204, 77, 70, .1);
    color: var(--deep-rose);
}

.deduction-badge.review[b-ra7xdtkk0r] {
    background: rgba(192, 142, 48, .12);
    color: #8a6118;
}

.deduction-empty[b-ra7xdtkk0r] {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 36px 20px;
    color: var(--muted);
    text-align: center;
}

.deduction-empty strong[b-ra7xdtkk0r] {
    color: var(--text);
}

.deduction-decision-modal[b-ra7xdtkk0r] {
    width: min(720px, calc(100vw - 32px));
}

.deduction-decision-grid[b-ra7xdtkk0r] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deduction-decision-reason[b-ra7xdtkk0r] {
    grid-column: 1 / -1;
}

.deduction-decision-validation[b-ra7xdtkk0r] {
    min-height: 34px;
    padding: 8px 10px;
    border: 1px solid var(--gold-200);
    border-radius: 6px;
    background: var(--gold-25);
    color: var(--gold-700);
    font-size: 12px;
    line-height: 16px;
}

.deduction-decision-validation.valid[b-ra7xdtkk0r] {
    border-color: rgba(32, 128, 141, .24);
    background: var(--emerald-green-25);
    color: var(--emerald-green);
}

@media (max-width: 760px) {
    .deduction-list-panel[b-ra7xdtkk0r] {
        min-height: 440px;
    }

    .deduction-table-wrap[b-ra7xdtkk0r] {
        min-height: 330px;
    }

    .deduction-decision-grid[b-ra7xdtkk0r],
    .deduction-decision-modal .batch-assign-summary[b-ra7xdtkk0r] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/ProofReview.razor.rz.scp.css */
.proof-review-home[b-2bcc4410u1] {
    --proof-navy: #14273f;
    --proof-blue: #2463eb;
    --proof-mint: #e8f7f1;
    --proof-line: #dfe6ee;
    background:
        radial-gradient(circle at 82% 2%, rgba(36, 99, 235, .08), transparent 25rem),
        #f7f9fc;
    min-height: 100vh;
}

.proof-review-hero[b-2bcc4410u1] {
    align-items: flex-end;
    margin-bottom: 22px;
    padding: 8px 0 4px;
}

.proof-review-hero h1[b-2bcc4410u1] {
    color: var(--proof-navy);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.proof-review-hero p:last-child[b-2bcc4410u1] {
    max-width: 680px;
    margin-top: 10px;
    color: #617083;
    font-size: 14px;
    line-height: 1.7;
}

.proof-review-hero .btn-primary[b-2bcc4410u1],
.proof-review-hero .btn-outline[b-2bcc4410u1],
.experiment-notice .btn-outline[b-2bcc4410u1],
.card-action[b-2bcc4410u1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.hero-actions[b-2bcc4410u1] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.experiment-notice[b-2bcc4410u1] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #cfe0f6;
    border-radius: 10px;
    background: #eef6ff;
    color: #20456f;
}

.experiment-notice .notice-icon[b-2bcc4410u1] {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--proof-blue);
}

.experiment-notice strong[b-2bcc4410u1] {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.experiment-notice p[b-2bcc4410u1] {
    color: #526d8b;
    font-size: 12px;
    line-height: 1.55;
}

.review-type-grid[b-2bcc4410u1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.review-type-card[b-2bcc4410u1] {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 360px;
    flex-direction: column;
    gap: 22px;
    padding: 26px;
    border: 1px solid var(--proof-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 39, 63, .06);
}

.review-type-card[b-2bcc4410u1]::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--proof-blue);
    content: "";
}

.review-type-card.sales[b-2bcc4410u1]::before {
    background: #17866a;
}

.card-heading[b-2bcc4410u1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.type-icon[b-2bcc4410u1] {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: #edf3ff;
    color: var(--proof-blue);
}

.sales .type-icon[b-2bcc4410u1] {
    background: var(--proof-mint);
    color: #14765e;
}

.status-chip[b-2bcc4410u1] {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e7efff;
    color: #2658b7;
    font-size: 11px;
    font-weight: 800;
}

.status-chip.neutral[b-2bcc4410u1] {
    background: #eef1f5;
    color: #5e6977;
}

.review-type-card h2[b-2bcc4410u1] {
    margin-bottom: 10px;
    color: var(--proof-navy);
    font-size: 22px;
}

.review-type-card p:not(.eyebrow)[b-2bcc4410u1] {
    color: #617083;
    font-size: 13px;
    line-height: 1.7;
}

.review-type-card ul[b-2bcc4410u1] {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    color: #46566a;
    font-size: 13px;
    list-style: none;
}

.review-type-card li[b-2bcc4410u1]::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 10px 2px 0;
    border-radius: 50%;
    background: #72a0f5;
    content: "";
}

.sales li[b-2bcc4410u1]::before {
    background: #65b5a0;
}

.card-action[b-2bcc4410u1] {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf0f4;
    color: var(--proof-blue);
    font-size: 13px;
    font-weight: 800;
}

.sales .card-action[b-2bcc4410u1] {
    color: #14765e;
}

.validation-panel[b-2bcc4410u1] {
    padding: 24px;
    border: 1px solid var(--proof-line);
    border-radius: 14px;
    background: var(--proof-navy);
    color: #fff;
}

.validation-heading[b-2bcc4410u1] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.validation-heading h2[b-2bcc4410u1] {
    color: #fff;
    font-size: 20px;
}

.validation-heading .eyebrow[b-2bcc4410u1] {
    color: #86aef7;
}

.validation-heading > span[b-2bcc4410u1] {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: #cbd7e6;
    font-size: 11px;
}

.validation-grid[b-2bcc4410u1] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.validation-grid article[b-2bcc4410u1] {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    background: rgba(255,255,255,.05);
}

.validation-grid article > strong[b-2bcc4410u1] {
    color: #86aef7;
    font-size: 11px;
}

.validation-grid h3[b-2bcc4410u1] {
    margin-bottom: 6px;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.validation-grid p[b-2bcc4410u1] {
    color: #b9c6d6;
    font-size: 11px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .validation-grid[b-2bcc4410u1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .proof-review-hero[b-2bcc4410u1],
    .validation-heading[b-2bcc4410u1] {
        align-items: stretch;
        flex-direction: column;
    }

    .experiment-notice[b-2bcc4410u1] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .experiment-notice .btn-outline[b-2bcc4410u1] {
        grid-column: 1 / -1;
    }

    .review-type-grid[b-2bcc4410u1],
    .validation-grid[b-2bcc4410u1] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/ProofReviewHistory.razor.rz.scp.css */
.proof-history[b-c3f5udozx5] {
    --history-navy: #14273f;
    --history-blue: #2463eb;
    --history-green: #168267;
    --history-line: #dfe6ee;
    min-height: 100vh;
    padding-top: 24px;
    background: #f5f7fa;
}

.history-header[b-c3f5udozx5] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.breadcrumb[b-c3f5udozx5] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #7a8796;
    font-size: 11px;
}

.breadcrumb a[b-c3f5udozx5] {
    color: #5f7187;
    text-decoration: none;
}

.history-header h1[b-c3f5udozx5] {
    color: var(--history-navy);
    font-size: 25px;
}

.history-header p[b-c3f5udozx5] {
    margin-top: 7px;
    color: #647286;
    font-size: 13px;
}

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

.primary-link[b-c3f5udozx5],
.secondary-link[b-c3f5udozx5] {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.primary-link[b-c3f5udozx5] {
    background: var(--history-blue);
    color: #fff;
}

.secondary-link[b-c3f5udozx5] {
    border: 1px solid #cfd8e4;
    background: #fff;
    color: #536275;
}

.history-controls[b-c3f5udozx5] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--history-line);
    border-radius: 10px;
    background: #fff;
}

.control-block[b-c3f5udozx5],
.date-field[b-c3f5udozx5] {
    display: grid;
    gap: 6px;
}

.control-label[b-c3f5udozx5],
.date-field span[b-c3f5udozx5] {
    color: #788698;
    font-size: 10px;
    font-weight: 800;
}

.segmented-control[b-c3f5udozx5] {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid #cfd8e4;
    border-radius: 7px;
    background: #f8fafc;
}

.segmented-control button[b-c3f5udozx5] {
    min-height: 34px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid #dfe5ec;
    background: transparent;
    color: #536275;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.segmented-control button:last-child[b-c3f5udozx5] {
    border-right: 0;
}

.segmented-control button.active[b-c3f5udozx5] {
    background: var(--history-navy);
    color: #fff;
}

.date-field:first-of-type[b-c3f5udozx5] {
    margin-left: auto;
}

.date-field input[b-c3f5udozx5] {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #cfd8e4;
    border-radius: 7px;
    background: #fff;
    color: #344458;
    font-size: 12px;
}

.date-separator[b-c3f5udozx5] {
    margin-bottom: 9px;
    color: #98a2ae;
}

.search-button[b-c3f5udozx5],
.cancel-open-button[b-c3f5udozx5],
.secondary-button[b-c3f5udozx5],
.danger-button[b-c3f5udozx5] {
    min-height: 34px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.search-button[b-c3f5udozx5] {
    padding: 0 18px;
    border: 1px solid var(--history-blue);
    background: #edf3ff;
    color: #1f58c3;
}

button:disabled[b-c3f5udozx5] {
    cursor: not-allowed;
    opacity: .52;
}

.history-summary[b-c3f5udozx5] {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
    align-items: center;
    gap: 1px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--history-line);
    border-radius: 10px;
    background: var(--history-line);
}

.history-summary > div[b-c3f5udozx5] {
    display: grid;
    min-height: 67px;
    align-content: center;
    gap: 3px;
    padding: 10px 15px;
    background: #fff;
}

.history-summary span[b-c3f5udozx5] {
    color: #7a8797;
    font-size: 10px;
}

.history-summary strong[b-c3f5udozx5] {
    color: var(--history-navy);
    font-size: 15px;
}

.history-summary .selected-summary[b-c3f5udozx5] {
    background: #f5f8ff;
}

.cancel-open-button[b-c3f5udozx5] {
    min-width: 128px;
    margin: 0 14px;
    padding: 0 14px;
    border: 1px solid #d69b9b;
    background: #fff6f6;
    color: #a53c3c;
}

.status-message[b-c3f5udozx5] {
    margin-bottom: 13px;
    padding: 12px 14px;
    border: 1px solid #b9dfd2;
    border-radius: 8px;
    background: #eef9f5;
    color: #17694f;
    font-size: 12px;
}

.status-message.error[b-c3f5udozx5] {
    border-color: #efcaca;
    background: #fff4f4;
    color: #a23f3f;
}

.cancel-panel[b-c3f5udozx5] {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(280px, 1.2fr) auto;
    align-items: end;
    gap: 18px;
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e4baba;
    border-radius: 10px;
    background: #fff8f8;
    box-shadow: 0 7px 18px rgba(122, 36, 36, .07);
}

.cancel-panel strong[b-c3f5udozx5] {
    color: #7d2e2e;
    font-size: 13px;
}

.cancel-panel p[b-c3f5udozx5] {
    margin-top: 5px;
    color: #816161;
    font-size: 11px;
    line-height: 1.55;
}

.cancel-panel label[b-c3f5udozx5] {
    display: grid;
    gap: 6px;
}

.cancel-panel label > span[b-c3f5udozx5] {
    color: #6e5353;
    font-size: 10px;
    font-weight: 800;
}

.cancel-panel em[b-c3f5udozx5] {
    color: #bd4545;
    font-style: normal;
}

.cancel-panel textarea[b-c3f5udozx5] {
    width: 100%;
    border: 1px solid #d9bcbc;
    border-radius: 7px;
    background: #fff;
    color: #493a3a;
}

.cancel-actions[b-c3f5udozx5] {
    display: flex;
    gap: 7px;
}

.secondary-button[b-c3f5udozx5],
.danger-button[b-c3f5udozx5] {
    padding: 0 13px;
}

.secondary-button[b-c3f5udozx5] {
    border: 1px solid #d4c3c3;
    background: #fff;
    color: #695656;
}

.danger-button[b-c3f5udozx5] {
    border: 1px solid #ad3f3f;
    background: #ad3f3f;
    color: #fff;
}

.state-panel[b-c3f5udozx5] {
    display: grid;
    min-height: 260px;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #536275;
    text-align: center;
}

.state-panel strong[b-c3f5udozx5] {
    color: var(--history-navy);
    font-size: 15px;
}

.state-panel p[b-c3f5udozx5] {
    color: #7c8794;
    font-size: 12px;
}

.state-panel a[b-c3f5udozx5] {
    margin-top: 8px;
    color: var(--history-blue);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.loading-dot[b-c3f5udozx5] {
    width: 22px;
    height: 22px;
    border: 3px solid #dce7fb;
    border-top-color: var(--history-blue);
    border-radius: 50%;
    animation: history-spin-b-c3f5udozx5 .8s linear infinite;
}

@keyframes history-spin-b-c3f5udozx5 {
    to { transform: rotate(360deg); }
}

.history-list[b-c3f5udozx5] {
    display: grid;
    gap: 12px;
    padding-bottom: 32px;
}

.history-card[b-c3f5udozx5] {
    overflow: hidden;
    border: 1px solid var(--history-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(20, 39, 63, .045);
}

.history-card.selected[b-c3f5udozx5] {
    border-color: #89acef;
    box-shadow: 0 0 0 2px rgba(36, 99, 235, .08);
}

.card-selection[b-c3f5udozx5] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-bottom: 1px solid #edf0f4;
    background: #fbfcfe;
}

.card-selection label[b-c3f5udozx5] {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.card-selection label strong[b-c3f5udozx5] {
    color: #344458;
    font-size: 12px;
}

.card-selection label small[b-c3f5udozx5] {
    margin-left: auto;
    color: #8a95a3;
    font-size: 10px;
}

.kind-chip[b-c3f5udozx5] {
    padding: 4px 7px;
    border-radius: 999px;
    background: #edf3ff;
    color: #275dc2;
    font-size: 10px;
    font-weight: 900;
}

.kind-chip.sales[b-c3f5udozx5] {
    background: #e9f7f2;
    color: #15775e;
}

.match-content[b-c3f5udozx5] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    align-items: stretch;
    padding: 15px;
}

.member-column[b-c3f5udozx5] {
    overflow: hidden;
    border: 1px solid #e2e8ef;
    border-radius: 8px;
}

.member-column > header[b-c3f5udozx5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #e8edf3;
    background: #f7f9fc;
}

.member-column.evidence > header[b-c3f5udozx5] {
    background: #f1faf7;
}

.member-column header div[b-c3f5udozx5] {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.member-column header span[b-c3f5udozx5] {
    color: #748194;
    font-size: 10px;
}

.member-column header strong[b-c3f5udozx5] {
    color: #44556a;
    font-size: 11px;
}

.member-column header b[b-c3f5udozx5] {
    color: var(--history-navy);
    font-size: 13px;
}

.member-list[b-c3f5udozx5] {
    display: grid;
}

.member-row[b-c3f5udozx5] {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 12px;
    border-bottom: 1px solid #edf0f4;
}

.member-row:last-child[b-c3f5udozx5] {
    border-bottom: 0;
}

.member-row time[b-c3f5udozx5] {
    color: #758296;
    font-size: 10px;
}

.member-row div[b-c3f5udozx5] {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.member-row div strong[b-c3f5udozx5],
.member-row div span[b-c3f5udozx5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-row div strong[b-c3f5udozx5] {
    color: #344458;
    font-size: 11px;
}

.member-row div span[b-c3f5udozx5] {
    color: #8792a0;
    font-size: 9px;
}

.member-row > b[b-c3f5udozx5] {
    color: #293b51;
    font-size: 11px;
    white-space: nowrap;
}

.match-arrow[b-c3f5udozx5] {
    display: grid;
    place-items: center;
    color: #7f91a8;
    font-size: 16px;
}

.card-footer[b-c3f5udozx5] {
    display: grid;
    grid-template-columns: 110px 110px minmax(0, 1fr);
    gap: 1px;
    border-top: 1px solid #e7ecf2;
    background: #e7ecf2;
}

.card-footer > div[b-c3f5udozx5] {
    min-height: 52px;
    padding: 9px 13px;
    background: #fbfcfe;
}

.card-footer span[b-c3f5udozx5] {
    display: block;
    margin-bottom: 3px;
    color: #85909d;
    font-size: 9px;
}

.card-footer strong[b-c3f5udozx5] {
    color: #344458;
    font-size: 12px;
}

.difference.balanced strong[b-c3f5udozx5] {
    color: var(--history-green);
}

.difference.warning strong[b-c3f5udozx5] {
    color: #b5671d;
}

.card-footer .memo p[b-c3f5udozx5] {
    overflow: hidden;
    margin: 0;
    color: #5d6b7c;
    font-size: 10px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .history-header[b-c3f5udozx5],
    .history-controls[b-c3f5udozx5] {
        align-items: stretch;
        flex-direction: column;
    }

    .date-field:first-of-type[b-c3f5udozx5] {
        margin-left: 0;
    }

    .date-separator[b-c3f5udozx5] {
        display: none;
    }

    .history-summary[b-c3f5udozx5] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cancel-open-button[b-c3f5udozx5] {
        min-height: 44px;
    }

    .cancel-panel[b-c3f5udozx5] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-actions[b-c3f5udozx5],
    .cancel-actions[b-c3f5udozx5] {
        align-items: stretch;
        flex-direction: column;
    }

    .history-summary[b-c3f5udozx5],
    .match-content[b-c3f5udozx5] {
        grid-template-columns: 1fr;
    }

    .match-arrow[b-c3f5udozx5] {
        min-height: 30px;
    }

    .card-footer[b-c3f5udozx5] {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-footer .memo[b-c3f5udozx5] {
        grid-column: 1 / -1;
    }
}
/* /Components/Pages/ProofReviewWorkbench.razor.rz.scp.css */
.proof-workbench[b-q3qpfabj1e] {
    --proof-navy: var(--midnight-900);
    --proof-blue: var(--classic-blue);
    --proof-green: var(--emerald-green);
    --proof-line: var(--pale-light-gray);
    --proof-bg: var(--midnight-25);
    font-family: var(--font-body);
}

.header-actions[b-q3qpfabj1e],
.control-cluster[b-q3qpfabj1e],
.queue-actions[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.proof-kind-tabs[b-q3qpfabj1e] {
    margin: 0;
    padding: 0;
}

.proof-kind-tabs button:disabled[b-q3qpfabj1e] {
    cursor: wait;
    opacity: .65;
}

.proof-kind-panel[b-q3qpfabj1e] {
    margin-bottom: 12px;
}

.control-label[b-q3qpfabj1e],
.command-eyebrow[b-q3qpfabj1e] {
    color: var(--mid-gray);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

.segmented-control[b-q3qpfabj1e] {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--pale-gray);
    border-radius: 7px;
    background: var(--midnight-15);
}

.segmented-control button[b-q3qpfabj1e] {
    min-height: 31px;
    padding: 0 13px;
    border: 0;
    border-right: 1px solid var(--pale-light-gray);
    background: transparent;
    color: var(--dark-gray);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.segmented-control button:last-child[b-q3qpfabj1e] {
    border-right: 0;
}

.segmented-control button.active[b-q3qpfabj1e] {
    background: var(--proof-navy);
    color: var(--pure-white);
}

.proof-kind-tabs button:focus-visible[b-q3qpfabj1e],
.segmented-control button:focus-visible[b-q3qpfabj1e],
.direction-swap-button:focus-visible[b-q3qpfabj1e],
.verification-scope-toggle:focus-visible[b-q3qpfabj1e] {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--classic-blue);
    outline-offset: 2px;
}

.verification-scope-toggle[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--dark-gray);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.verification-scope-toggle:disabled[b-q3qpfabj1e] {
    cursor: wait;
    opacity: .65;
}

.verification-scope-toggle .toggle-track[b-q3qpfabj1e] {
    position: relative;
    width: 28px;
    height: 16px;
    border-radius: 999px;
    background: var(--pale-gray);
    transition: background .16s ease;
}

.verification-scope-toggle .toggle-track i[b-q3qpfabj1e] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 39, 63, .25);
    transition: transform .16s ease;
}

.verification-scope-toggle.active[b-q3qpfabj1e] {
    background: transparent;
    color: var(--classic-blue);
}

.verification-scope-toggle.active .toggle-track[b-q3qpfabj1e] {
    background: var(--proof-blue);
}

.verification-scope-toggle.active .toggle-track i[b-q3qpfabj1e] {
    transform: translateX(12px);
}

.recommendation-selection-panel[b-q3qpfabj1e] {
    margin-bottom: 12px;
    border: 1px solid var(--proof-line);
    border-radius: 10px;
    background: var(--pure-white);
}

.matching-command-panel[b-q3qpfabj1e] {
    grid-template-columns: minmax(0, 1fr);
}

.scope-control[b-q3qpfabj1e] {
    display: grid;
    gap: 6px;
}

.scope-heading[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.scope-heading > div:first-child[b-q3qpfabj1e] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.scope-heading strong[b-q3qpfabj1e] {
    color: var(--proof-navy);
    font-size: 12px;
}

.scope-result[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5d6b7c;
    font-size: 10px;
}

.scope-result > span[b-q3qpfabj1e] {
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--classic-blue-25);
    color: var(--classic-blue);
    font-weight: 700;
}

.text-button[b-q3qpfabj1e] {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--proof-blue);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.range-wrap[b-q3qpfabj1e] {
    min-width: 0;
    padding: 2px 1px 0;
}

.range-wrap input[b-q3qpfabj1e] {
    width: 100%;
    height: 4px;
    accent-color: var(--proof-blue);
    cursor: pointer;
}

.range-labels[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 3px;
    padding: 0 8px;
    color: #919baa;
    font-size: 10px;
    text-align: center;
}

.range-labels span:first-child[b-q3qpfabj1e] {
    text-align: left;
}

.range-labels span:last-child[b-q3qpfabj1e] {
    text-align: right;
}

.range-labels span.active[b-q3qpfabj1e] {
    color: var(--proof-blue);
    font-weight: 900;
}

.scope-range-summary[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .75fr);
    align-items: center;
    gap: 14px;
}

.scope-summary[b-q3qpfabj1e] {
    margin: 0;
    padding-left: 14px;
    border-left: 1px solid #e2e8f0;
    color: #627085;
    font-size: 10px;
    line-height: 1.35;
}

.recommendation-period-adjuster[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding-top: 9px;
    border-top: 1px solid #e2e8f0;
}

.recommendation-period-adjuster > strong[b-q3qpfabj1e] {
    color: #405166;
    font-size: 10px;
    white-space: nowrap;
}

.recommendation-period-fields[b-q3qpfabj1e] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
}

.recommendation-period-fields > label[b-q3qpfabj1e],
.recommendation-period-fields > div[b-q3qpfabj1e],
.recommendation-period-fields .period-preset[b-q3qpfabj1e] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    color: #7e8a99;
    font-size: 9px;
    white-space: nowrap;
}

.recommendation-period-fields input[b-q3qpfabj1e],
.recommendation-period-fields select[b-q3qpfabj1e] {
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #d6dee8;
    border-radius: 5px;
    background-color: #fff;
    color: #45566b;
    font: inherit;
    font-size: 10px;
}

.recommendation-period-fields input[b-q3qpfabj1e] {
    width: 112px;
}

.recommendation-period-fields select[b-q3qpfabj1e] {
    min-width: 82px;
    padding-right: 24px;
    background-size: 16px 16px;
}

.recommendation-period-fields i[b-q3qpfabj1e] {
    color: #a5aebb;
    font-size: 9px;
    font-style: normal;
}

.detail-settings[b-q3qpfabj1e] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 13px;
    border-top: 1px solid #e5eaf0;
}

.detail-settings > div:not(.detail-safety)[b-q3qpfabj1e] {
    padding: 0;
    border: 0;
    background: transparent;
}

.detail-settings span[b-q3qpfabj1e] {
    display: block;
    color: #8691a0;
    font-size: 9px;
}

.detail-settings strong[b-q3qpfabj1e] {
    display: block;
    margin-top: 4px;
    color: #405166;
    font-size: 11px;
}

.detail-settings label[b-q3qpfabj1e] {
    display: block;
}

.detail-settings select[b-q3qpfabj1e] {
    width: 100%;
    margin-top: 4px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid #d7dee7;
    border-radius: 5px;
    background: #fff;
    color: #405166;
    font: inherit;
    font-size: 11px;
}

.detail-safety[b-q3qpfabj1e] {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 6px;
    color: #5d6b7c;
}

.detail-safety span[b-q3qpfabj1e] {
    flex: 1;
    color: inherit;
    font-size: 10px;
}

.grade-navigation[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 8px;
    margin-bottom: 12px;
}

.recommendation-selection-panel .grade-navigation[b-q3qpfabj1e] {
    margin: 0;
    padding: 8px 12px 6px;
}

.grade-selection-description[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 12px 8px;
    color: #627085;
    font-size: 10px;
}

.grade-selection-description strong[b-q3qpfabj1e] {
    color: #354a62;
    font-size: 11px;
}

.grade-selection-description > span:last-child[b-q3qpfabj1e] {
    overflow: hidden;
    color: #7e8a99;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grade-tab[b-q3qpfabj1e] {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 4px;
    background: var(--pure-white);
    color: var(--gray);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 11px;
    text-align: left;
}

.grade-tab-copy[b-q3qpfabj1e] {
    display: grid;
    overflow: hidden;
    min-width: 0;
    gap: 2px;
}

.grade-tab-copy > span[b-q3qpfabj1e] {
    font-weight: 700;
}

.grade-tab-copy > small[b-q3qpfabj1e] {
    overflow: hidden;
    color: #8792a1;
    font-size: 9px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grade-tab > strong[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--midnight-800);
    font-size: 12px;
    white-space: nowrap;
}

.grade-tab-selected[b-q3qpfabj1e] {
    padding: 2px 5px;
    border-radius: 999px;
    background: var(--grade-bg, var(--classic-blue-25));
    color: var(--grade-color, var(--proof-blue));
    font-size: 9px;
    font-weight: 700;
}

.grade-tab.active[b-q3qpfabj1e] {
    border-color: var(--grade-color, var(--proof-blue));
    background: var(--grade-bg, var(--classic-blue-25));
    box-shadow: inset 0 -2px var(--grade-color, var(--proof-blue));
    color: var(--grade-color, var(--proof-blue));
}

.grade-tab.active > strong[b-q3qpfabj1e] {
    color: inherit;
}

.grade-tab.active .grade-tab-copy > small[b-q3qpfabj1e] {
    color: inherit;
    opacity: .72;
}

.grade-tab.grade-1[b-q3qpfabj1e] { --grade-color: #168267; --grade-bg: var(--emerald-green-25); }
.grade-tab.grade-2[b-q3qpfabj1e] { --grade-color: #3d74dc; --grade-bg: var(--classic-blue-25); }
.grade-tab.grade-3[b-q3qpfabj1e] { --grade-color: #d18b17; --grade-bg: var(--gold-25); }
.grade-tab.grade-4[b-q3qpfabj1e] { --grade-color: #a55d54; --grade-bg: var(--deep-rose-25); }

.grade-guide[b-q3qpfabj1e] {
    position: relative;
    z-index: 31;
    align-self: center;
}

.grade-guide-trigger[b-q3qpfabj1e] {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid var(--proof-line);
    border-radius: 50%;
    background: #fff;
    color: #607084;
    cursor: pointer;
}

.grade-guide-trigger:hover[b-q3qpfabj1e],
.grade-guide-trigger:focus-visible[b-q3qpfabj1e] {
    border-color: var(--proof-blue);
    background: #f3f7ff;
    color: var(--proof-blue);
    outline: none;
}

.grade-guide-backdrop[b-q3qpfabj1e] {
    position: fixed;
    z-index: 30;
    inset: 0;
}

.grade-guide-popover[b-q3qpfabj1e] {
    position: absolute;
    z-index: 32;
    top: calc(100% + 6px);
    right: 0;
    width: 340px;
    padding: 13px;
    border: 1px solid var(--proof-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 9px 22px rgba(20,39,63,.12);
}

.grade-guide-popover header[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: var(--proof-navy);
    font-size: 12px;
}

.grade-guide-close[b-q3qpfabj1e] {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #607084;
    cursor: pointer;
}

.grade-guide-close:hover[b-q3qpfabj1e],
.grade-guide-close:focus-visible[b-q3qpfabj1e] {
    background: #eef3f8;
    color: var(--proof-navy);
    outline: none;
}

.grade-guide-popover p[b-q3qpfabj1e] {
    margin-bottom: 7px;
    line-height: 1.5;
}

.grade-guide-popover p:last-child[b-q3qpfabj1e] {
    margin-bottom: 0;
}

.recommendation-workspace[b-q3qpfabj1e] {
    overflow: hidden;
    border: 1px solid var(--proof-line);
    border-radius: 10px;
    background: #fff;
}

.matching-command-panel .recommendation-filter-strip[b-q3qpfabj1e] {
    padding: 0;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
}

.recommendation-search-tools[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 14px;
    padding-top: 10px;
    border-top: 1px solid var(--proof-line);
}

.selection-apply-panel[b-q3qpfabj1e] {
    position: sticky;
    z-index: 19;
    top: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--proof-line);
    border-radius: 10px;
    background: var(--pure-white);
    box-shadow: var(--shadow-100);
}

.selection-apply-panel.balanced[b-q3qpfabj1e] {
    border-color: var(--pale-light-gray);
}

.selection-apply-panel .queue-toolbar[b-q3qpfabj1e] {
    min-height: 42px;
    padding: 6px 10px;
    background: var(--midnight-15);
}

.selection-apply-panel .selection-basket[b-q3qpfabj1e] {
    position: static;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--pure-white);
    box-shadow: none;
}

.queue-toolbar[b-q3qpfabj1e] {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 11px 16px;
    border-bottom: 1px solid #e4e9ef;
}

.queue-toolbar > div:first-child[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7b8795;
    font-size: 11px;
}

.queue-toolbar strong[b-q3qpfabj1e] {
    color: var(--proof-navy);
    font-size: 13px;
}

.raw-search-panel[b-q3qpfabj1e] {
    position: relative;
    z-index: 20;
    margin-bottom: 12px;
    overflow: visible;
    border: 1px solid var(--proof-line);
    border-radius: 10px;
    background: #fff;
}

.raw-search-panel > .independent-filters:last-child[b-q3qpfabj1e] {
    border-radius: 0 0 10px 10px;
}

.raw-search-panel > .independent-filters:only-child[b-q3qpfabj1e] {
    border-radius: 10px;
}

.raw-search-panel .independent-filters[b-q3qpfabj1e] {
    border-bottom: 0;
}

.raw-search-panel + .selection-basket[b-q3qpfabj1e] {
    margin-bottom: 12px;
}

.queue-action-group[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 4px 3px 7px;
    border: 1px solid #dfe6ee;
    border-radius: 8px;
    background: #f8fafc;
}

.queue-action-label[b-q3qpfabj1e] {
    color: #68778a;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.queue-action-group .btn-outline[b-q3qpfabj1e] {
    background: #fff;
}

.grade-pill.raw[b-q3qpfabj1e] {
    background: #e9edf2;
    color: #4f6074;
}

.independent-filters[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--pale-light-gray);
    background: var(--midnight-15);
}

.filter-direction[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    color: #9aa7b7;
}

.current-direction[b-q3qpfabj1e] {
    color: var(--classic-blue);
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
}

.direction-swap-button[b-q3qpfabj1e] {
    align-self: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--pale-gray);
    border-radius: 50%;
    background: var(--pure-white);
    color: var(--mid-gray);
    cursor: pointer;
}

.direction-swap-button:hover:not(:disabled)[b-q3qpfabj1e] {
    border-color: var(--classic-blue);
    background: var(--classic-blue-25);
}

.direction-swap-button:disabled[b-q3qpfabj1e] {
    cursor: wait;
    opacity: .55;
}

.direction-swap-button[b-q3qpfabj1e]  .ds-icon {
    transform: rotate(90deg);
    transform-origin: center;
}

.filter-panel[b-q3qpfabj1e] {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 8px;
    background: var(--pure-white);
}

.filter-panel-title[b-q3qpfabj1e],
.filter-row[b-q3qpfabj1e],
.filter-date-row[b-q3qpfabj1e],
.raw-table-title[b-q3qpfabj1e],
.raw-table-title > div[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
}

.filter-panel-title[b-q3qpfabj1e] {
    justify-content: space-between;
    color: var(--gray);
}

.filter-panel-title strong[b-q3qpfabj1e] {
    color: var(--midnight-800);
    font-size: 12px;
}

.filter-panel-title span[b-q3qpfabj1e] {
    font-size: 10px;
}

.evidence-panel-actions[b-q3qpfabj1e],
.evidence-verification-option[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
}

.evidence-panel-actions[b-q3qpfabj1e] {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 10px;
}

.evidence-verification-option[b-q3qpfabj1e] {
    gap: 6px;
    color: var(--gray);
    white-space: nowrap;
}

.filter-row[b-q3qpfabj1e] {
    gap: 7px;
}

.filter-row > label[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: auto minmax(90px, 1fr);
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 5px;
    color: var(--gray);
    font-size: 10px;
}

.filter-row > label:first-child[b-q3qpfabj1e] {
    flex: 1;
}

.filter-row input[b-q3qpfabj1e],
.filter-row select[b-q3qpfabj1e],
.filter-date-row input[b-q3qpfabj1e] {
    min-width: 0;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--pale-gray);
    border-radius: 4px;
    background: var(--pure-white);
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: 12px;
}

.filter-row[b-q3qpfabj1e]  .search-field,
.evidence-search-row[b-q3qpfabj1e]  .search-field {
    position: relative;
    display: flex;
    flex: 0 0 240px;
    width: 240px;
    max-width: 240px;
    min-width: 0;
}

.search-field[b-q3qpfabj1e]  .ds-icon {
    position: absolute;
    z-index: 1;
    left: 8px;
    color: #8b97a5;
}

.filter-row .search-field input[b-q3qpfabj1e],
.evidence-search-row .search-field input[b-q3qpfabj1e] {
    height: 28px;
    width: 100%;
    min-width: 0;
    padding-left: 27px;
    font-size: 12px;
    line-height: 1;
}

.filter-row[b-q3qpfabj1e]  .input-small,
.evidence-search-row[b-q3qpfabj1e]  .input-small {
    height: 28px;
    border-color: var(--pale-gray);
    border-radius: 4px;
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: 12px;
}

.filter-row[b-q3qpfabj1e]  .input-small::placeholder,
.evidence-search-row[b-q3qpfabj1e]  .input-small::placeholder {
    color: #8b97a5;
    font-family: var(--font-body);
    font-size: 12px;
    opacity: 1;
}

.filter-date-row[b-q3qpfabj1e] {
    gap: 5px;
}

.filter-date-row label[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 10px;
}

.filter-date-row i[b-q3qpfabj1e] {
    color: #a5aebb;
    font-size: 9px;
    font-style: normal;
}

.grade-pill[b-q3qpfabj1e],
.score[b-q3qpfabj1e] {
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.grade-pill.grade-1[b-q3qpfabj1e], .score.grade-1[b-q3qpfabj1e] { background: #e3f4ee; color: #176852; }
.grade-pill.grade-2[b-q3qpfabj1e], .score.grade-2[b-q3qpfabj1e] { background: #e8effd; color: #285ebd; }
.grade-pill.grade-3[b-q3qpfabj1e], .score.grade-3[b-q3qpfabj1e] { background: #fff2da; color: #98600a; }
.grade-pill.grade-4[b-q3qpfabj1e], .score.grade-4[b-q3qpfabj1e] { background: #f9e8e6; color: #914d45; }

.auto-selection-note[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #18745d;
    font-size: 10px;
    font-weight: 750;
}

.comparison-head[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: center;
    padding: 8px 40px;
    border-bottom: 1px solid #e7ebf0;
    background: #f8fafc;
}

.comparison-head > div[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.comparison-head > div:last-child[b-q3qpfabj1e] {
    justify-content: flex-end;
    text-align: right;
}

.comparison-head strong[b-q3qpfabj1e],
.comparison-head small[b-q3qpfabj1e] {
    display: block;
}

.comparison-head strong[b-q3qpfabj1e] {
    color: #33465d;
    font-size: 11px;
}

.comparison-head small[b-q3qpfabj1e] {
    margin-top: 2px;
    color: #8b95a3;
    font-size: 9px;
}

.direction-index[b-q3qpfabj1e] {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: var(--proof-navy);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.direction-arrow[b-q3qpfabj1e] {
    color: var(--classic-blue);
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.direction-control[b-q3qpfabj1e] {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}

.recommendation-direction-swap[b-q3qpfabj1e] {
    grid-row: 2;
    grid-column: 1;
    align-self: center;
}

.direction-control > .direction-arrow[b-q3qpfabj1e] {
    grid-row: 1;
    grid-column: 1;
}

.recommendation-list[b-q3qpfabj1e] {
    display: grid;
}

.recommendation-pair[b-q3qpfabj1e] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    padding: 8px 12px 8px 40px;
    border-bottom: 1px solid var(--pale-light-gray);
    background: var(--pure-white);
    transition: background .15s ease, box-shadow .15s ease;
}

.recommendation-pair:last-child[b-q3qpfabj1e] {
    border-bottom: 0;
}

.recommendation-pair.grade-border-1[b-q3qpfabj1e] { --grade-border: var(--emerald-green); }
.recommendation-pair.grade-border-2[b-q3qpfabj1e] { --grade-border: var(--midnight-500); }
.recommendation-pair.grade-border-3[b-q3qpfabj1e] { --grade-border: var(--gold-500); }
.recommendation-pair.grade-border-4[b-q3qpfabj1e] { --grade-border: var(--deep-rose); }

.recommendation-pair .source-card[b-q3qpfabj1e] {
    border-color: var(--grade-border, var(--pale-light-gray));
}

.recommendation-pair.selected[b-q3qpfabj1e] {
    background: var(--classic-blue-25);
    box-shadow: inset 0 0 0 1px var(--midnight-200);
}

.recommendation-pair.conflict[b-q3qpfabj1e] {
    background-image: linear-gradient(90deg, rgba(255,241,218,.45), transparent 25%);
}

.pair-selector[b-q3qpfabj1e] {
    position: absolute;
    top: 50%;
    left: 12px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    transform: translateY(-50%);
}

.pair-selector input[b-q3qpfabj1e] {
    margin: 0;
    cursor: pointer;
}

.source-card[b-q3qpfabj1e] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 7px;
    background: var(--pure-white);
    box-shadow: none;
}

.source-topline[b-q3qpfabj1e],
.source-bottomline[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.source-topline[b-q3qpfabj1e] {
    margin-bottom: 4px;
    color: var(--gray);
    font-size: 10px;
}

.source-card > strong[b-q3qpfabj1e] {
    overflow: hidden;
    color: var(--midnight-800);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-card > p[b-q3qpfabj1e] {
    overflow: hidden;
    margin: 2px 0 5px;
    color: var(--gray);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-bottomline b[b-q3qpfabj1e] {
    color: var(--midnight-900);
    font-size: 12px;
}

.source-bottomline span[b-q3qpfabj1e] {
    color: var(--gray);
    font-size: 10px;
}

.pair-bridge[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
    border-right: 1px dashed #dce2e9;
    border-left: 1px dashed #dce2e9;
    text-align: center;
}

.reason-list[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px;
}

.reason-list span[b-q3qpfabj1e] {
    color: #6c798a;
    font-size: 8px;
}

.reason-list span:not(:last-child)[b-q3qpfabj1e]::after {
    margin-left: 3px;
    color: #b6bec8;
    content: "·";
}

.conflict-label[b-q3qpfabj1e],
.completed-label[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #a36013;
    font-size: 8px;
}

.completed-label[b-q3qpfabj1e] {
    color: #16725a;
}

.temporary-label[b-q3qpfabj1e] {
    padding: 3px 5px;
    border: 1px solid #bfd0f3;
    border-radius: 4px;
    background: #eef4ff;
    color: #355fae;
    font-size: 8px;
}

.raw-comparison-grid[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 360px;
}

.raw-table-card[b-q3qpfabj1e] {
    min-width: 0;
    border-right: 1px solid #e1e6ec;
}

.raw-table-card > .classification-render-limit[b-q3qpfabj1e] {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-top: 1px solid var(--proof-line);
    background: var(--pure-white);
}

.proof-review-toast[b-q3qpfabj1e] {
    position: fixed;
    z-index: 1500;
    top: 24px;
    right: 24px;
    display: flex;
    max-width: min(520px, calc(100vw - 48px));
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--midnight-200);
    border-radius: 8px;
    background: var(--classic-blue-25);
    box-shadow: 0 10px 30px rgba(15, 35, 67, .18);
    color: var(--midnight-800);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 18px;
}

.proof-review-toast > span[b-q3qpfabj1e] {
    min-width: 0;
    flex: 1;
}

.proof-review-toast.error[b-q3qpfabj1e] {
    border-color: var(--deep-rose);
    background: var(--deep-rose-25);
    color: var(--deep-rose);
}

.proof-review-toast .icon-button[b-q3qpfabj1e] {
    width: 28px;
    min-width: 28px;
    height: 28px;
}

.raw-table-card:last-child[b-q3qpfabj1e] {
    border-right: 0;
}

.raw-table-title[b-q3qpfabj1e] {
    min-height: 45px;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #e3e8ee;
    background: #f7f9fb;
}

.raw-table-title > div[b-q3qpfabj1e] {
    gap: 7px;
}

.raw-table-title strong[b-q3qpfabj1e] {
    color: #354a62;
    font-size: 11px;
}

.raw-table-title small[b-q3qpfabj1e] {
    color: #8792a0;
    font-size: 9px;
}

.raw-table-filter-state[b-q3qpfabj1e] {
    justify-content: flex-end;
    min-width: 0;
    margin-left: auto;
    color: #65758a;
    font-size: 9px;
    white-space: nowrap;
}

.raw-table-filter-state .text-button[b-q3qpfabj1e] {
    flex: 0 0 auto;
    font-size: 9px;
}

.raw-table-scroll[b-q3qpfabj1e] {
    overflow: auto;
    max-height: 480px;
}

@media (min-width: 881px) {
    .raw-comparison-grid[b-q3qpfabj1e] {
        height: calc(100dvh - 48px);
        min-height: 540px;
    }

    .raw-table-card[b-q3qpfabj1e] {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .raw-table-scroll[b-q3qpfabj1e] {
        min-height: 0;
        flex: 1;
        max-height: none;
    }
}

.raw-table-card table[b-q3qpfabj1e] {
    width: 100%;
    border-collapse: collapse;
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: 12px;
}

.raw-table-card th[b-q3qpfabj1e] {
    position: sticky;
    z-index: 2;
    top: 0;
    padding: 8px 7px;
    border-bottom: 1px solid var(--pale-light-gray);
    background: var(--pure-white);
    color: var(--gray);
    font-weight: 800;
    text-align: left;
}

.raw-table-card td[b-q3qpfabj1e] {
    padding: 9px 7px;
    border-bottom: 1px solid var(--pale-light-gray);
    cursor: pointer;
    vertical-align: middle;
}

.raw-table-card tr:hover td[b-q3qpfabj1e] {
    background: var(--classic-blue-25);
}

.raw-table-card tr.focused td[b-q3qpfabj1e] {
    background: var(--midnight-50);
    box-shadow: inset 0 1px 0 var(--midnight-200), inset 0 -1px 0 var(--midnight-200);
}

.raw-table-card tr.selected td[b-q3qpfabj1e] {
    background: var(--emerald-green-25);
}

.raw-table-card tr.focused.selected td[b-q3qpfabj1e] {
    background: linear-gradient(90deg, var(--midnight-50), var(--emerald-green-25));
}

.raw-table-card td strong[b-q3qpfabj1e],
.raw-table-card td small[b-q3qpfabj1e] {
    display: block;
}

.raw-table-card td strong[b-q3qpfabj1e] {
    overflow: hidden;
    max-width: 170px;
    color: var(--midnight-800);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.raw-table-card td small[b-q3qpfabj1e] {
    overflow: hidden;
    max-width: 170px;
    margin-top: 2px;
    color: var(--gray);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.raw-table-card .number[b-q3qpfabj1e] {
    color: var(--midnight-800);
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.raw-score[b-q3qpfabj1e] {
    display: inline-grid;
    min-width: 25px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: #e9f1ff;
    color: #2c61bd;
    font-weight: 850;
}

.raw-table-card td em[b-q3qpfabj1e] {
    display: inline-block;
    margin-left: 3px;
    color: var(--classic-blue);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
}

.raw-table-card td em.temporary[b-q3qpfabj1e] {
    color: #17745d;
}

.raw-selection-state[b-q3qpfabj1e] {
    color: var(--gray);
    font-size: 10px;
    white-space: nowrap;
}

.raw-selection-state.temporary[b-q3qpfabj1e] {
    color: #2161bd;
    font-weight: 850;
}

.raw-selection-state.completed[b-q3qpfabj1e] {
    color: #17745d;
    font-weight: 850;
}

.workbench-empty[b-q3qpfabj1e] {
    display: grid;
    min-height: 230px;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #7a8795;
    text-align: center;
}

.workbench-empty strong[b-q3qpfabj1e] {
    color: #405166;
    font-size: 13px;
}

.workbench-empty p[b-q3qpfabj1e] {
    font-size: 10px;
}

.loading-dot[b-q3qpfabj1e] {
    width: 22px;
    height: 22px;
    border: 3px solid #dce5f3;
    border-top-color: var(--proof-blue);
    border-radius: 50%;
}

@media (max-width: 1180px) {
    .grade-navigation[b-q3qpfabj1e] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grade-guide[b-q3qpfabj1e] { justify-self: end; }
}

@media (max-width: 880px) {
    .queue-toolbar[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }

    .control-cluster[b-q3qpfabj1e] {
        justify-content: space-between;
    }

    .detail-settings[b-q3qpfabj1e] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparison-head[b-q3qpfabj1e] {
        display: none;
    }

    .independent-filters[b-q3qpfabj1e],
    .raw-comparison-grid[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
    }

    .filter-direction[b-q3qpfabj1e] {
        transform: none;
    }

    .filter-direction .current-direction[b-q3qpfabj1e] {
        transform: rotate(90deg);
    }

    .raw-table-card[b-q3qpfabj1e] {
        border-right: 0;
        border-bottom: 1px solid #e1e6ec;
    }

    .recommendation-pair[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
        padding-left: 46px;
    }

    .pair-bridge[b-q3qpfabj1e] {
        border: 0;
        border-top: 1px dashed #dce2e9;
        border-bottom: 1px dashed #dce2e9;
    }
}

@media (max-width: 620px) {
    .proof-workbench[b-q3qpfabj1e] {
        padding: 16px;
    }

    .header-actions[b-q3qpfabj1e],
    .scope-heading[b-q3qpfabj1e],
    .queue-actions[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }

    .scope-range-summary[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .scope-summary[b-q3qpfabj1e] {
        padding-top: 6px;
        padding-left: 0;
        border-top: 1px solid #e2e8f0;
        border-left: 0;
    }

    .recommendation-period-adjuster[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .queue-action-group[b-q3qpfabj1e] {
        justify-content: space-between;
    }

    .detail-settings[b-q3qpfabj1e],
    .grade-navigation[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
    }

    .grade-guide-popover[b-q3qpfabj1e] {
        right: auto;
        left: 0;
        width: min(300px, 80vw);
    }
}

/* v2: 원본 데이터셋 상태·선택·필터 */
.selection-basket[b-q3qpfabj1e] {
    position: sticky;
    z-index: 19;
    top: 8px;
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border: 1px solid var(--gold-200);
    border-radius: 8px;
    background: var(--gold-25);
    box-shadow: var(--shadow-100);
    white-space: nowrap;
}

.selection-basket.balanced[b-q3qpfabj1e] {
    border-color: var(--pale-light-gray);
    background: var(--pure-white);
}

.basket-heading[b-q3qpfabj1e],
.basket-actions[b-q3qpfabj1e],
.basket-totals[b-q3qpfabj1e],
.basket-totals > div[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
}

.basket-heading[b-q3qpfabj1e] {
    flex: 0 0 auto;
    gap: 7px;
}

.basket-auto-note[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 7px;
    border-left: 1px solid var(--pale-gray);
    color: var(--emerald-green) !important;
    font-size: 9px !important;
    font-weight: 700;
    white-space: nowrap;
}

.basket-draft-note[b-q3qpfabj1e] {
    color: var(--gray);
    font-size: 9px;
    white-space: nowrap;
}

/* 등급 기준 도움말은 아이콘과 본문 자체의 위계만 사용한다. */
.grade-guide-trigger[b-q3qpfabj1e],
.grade-guide-close[b-q3qpfabj1e] {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.grade-guide-trigger:hover[b-q3qpfabj1e],
.grade-guide-trigger:focus-visible[b-q3qpfabj1e],
.grade-guide-close:hover[b-q3qpfabj1e],
.grade-guide-close:focus-visible[b-q3qpfabj1e] {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.grade-guide-trigger:focus-visible[b-q3qpfabj1e],
.grade-guide-close:focus-visible[b-q3qpfabj1e] {
    outline: 2px solid var(--classic-blue-50);
    outline-offset: 3px;
}

.grade-guide-popover[b-q3qpfabj1e] {
    width: min(360px, calc(100vw - 32px));
    padding: 16px 18px;
    border-color: var(--pale-light-gray);
    border-radius: 8px;
    font-family: var(--font-body);
}

.grade-guide-popover header[b-q3qpfabj1e] {
    margin-bottom: 12px;
}

.grade-guide-popover header strong[b-q3qpfabj1e] {
    color: var(--midnight-800);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.grade-guide-popover p[b-q3qpfabj1e] {
    margin: 0 0 9px;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
}

.grade-guide-popover p:last-child[b-q3qpfabj1e] {
    margin-bottom: 0;
}

.grade-guide-popover p b[b-q3qpfabj1e] {
    color: var(--midnight-800);
    font-size: inherit;
    font-weight: 700;
}

/* 추천 목록은 등급색을 배경이나 외곽선이 아닌 등급 표기에만 사용한다. */
.recommendation-workspace[b-q3qpfabj1e],
.recommendation-workspace .recommendation-list[b-q3qpfabj1e],
.recommendation-workspace .candidate-list[b-q3qpfabj1e] {
    background-color: var(--pure-white);
    background-image: none;
}

.recommendation-workspace .recommendation-card[b-q3qpfabj1e],
.recommendation-workspace .candidate-card[b-q3qpfabj1e],
.recommendation-workspace .source-card[b-q3qpfabj1e] {
    border-color: var(--pale-light-gray);
    background-image: none;
}

/* 추천 항목은 핵심 비교 정보가 두 줄 안에서 읽히도록 밀도를 높인다. */
.recommendation-workspace :is(.recommendation-card, .candidate-card, .recommendation-item, .candidate-item)[b-q3qpfabj1e] {
    min-height: 0;
    gap: 8px;
    padding: 8px 10px;
}

.recommendation-workspace .source-card[b-q3qpfabj1e] {
    min-height: 0;
    gap: 4px;
    padding: 7px 9px;
}

.recommendation-workspace .source-card :is(header, .source-card-header, .source-summary, .source-meta)[b-q3qpfabj1e] {
    min-width: 0;
    gap: 4px 7px;
    margin: 0;
}

.recommendation-workspace .source-card :is(h3, h4, strong, p)[b-q3qpfabj1e] {
    margin-block: 0;
    line-height: 1.35;
}

.recommendation-workspace .source-card :is(h3, h4, .source-title, .source-vendor, .source-description)[b-q3qpfabj1e] {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommendation-workspace .source-card :is(.source-meta, small)[b-q3qpfabj1e] {
    font-size: 10px;
    line-height: 1.3;
}

.recommendation-workspace :is(.recommendation-reasons, .candidate-reasons, [class*="reason-list"])[b-q3qpfabj1e] {
    overflow: hidden;
    max-height: 1.4em;
    margin: 0;
    line-height: 1.4;
}

.recommendation-workspace :is(.recommendation-reasons, .candidate-reasons, [class*="reason-list"]) > *[b-q3qpfabj1e] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommendation-workspace :is(.recommendation-bridge, .candidate-bridge)[b-q3qpfabj1e] {
    gap: 4px;
    padding-block: 2px;
}

.recommendation-workspace :is(.amount, .source-amount, .grade-badge, .recommendation-grade)[b-q3qpfabj1e] {
    white-space: nowrap;
}

@media (max-width: 720px) {
    .recommendation-workspace :is(.recommendation-card, .candidate-card, .recommendation-item, .candidate-item)[b-q3qpfabj1e] {
        gap: 6px;
        padding: 8px;
    }

    .recommendation-workspace .source-card[b-q3qpfabj1e] {
        padding: 7px 8px;
    }
}

/* 5단계 캡션을 range 손잡이의 실제 이동 위치와 일치시킨다. */
:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels)[b-q3qpfabj1e] {
    position: relative;
    display: block;
    height: 20px;
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > *[b-q3qpfabj1e] {
    position: absolute;
    top: 0;
    width: max-content;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > :nth-child(1)[b-q3qpfabj1e] {
    left: 12px;
    transform: none;
    text-align: left;
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > :nth-child(2)[b-q3qpfabj1e] {
    left: calc(25% + 6px);
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > :nth-child(3)[b-q3qpfabj1e] {
    left: 50%;
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > :nth-child(4)[b-q3qpfabj1e] {
    left: calc(75% - 6px);
}

:is(.scope-slider-labels, .scope-range-labels, .scope-scale-labels, .scope-preset-labels) > :nth-child(5)[b-q3qpfabj1e] {
    right: 12px;
    left: auto;
    transform: none;
    text-align: right;
}

/* 실제 마크업의 range 다음 5개 캡션에도 동일한 단계 좌표를 적용한다. */
input[type="range"] + :has(> :nth-child(5):last-child)[b-q3qpfabj1e] {
    position: relative;
    display: block;
    height: 20px;
}

input[type="range"] + :has(> :nth-child(5):last-child) > *[b-q3qpfabj1e] {
    position: absolute;
    top: 0;
    width: max-content;
    text-align: center;
    white-space: nowrap;
}

input[type="range"] + :has(> :nth-child(5):last-child) > :nth-child(1)[b-q3qpfabj1e] {
    left: 12px;
    transform: none;
    text-align: left;
}

input[type="range"] + :has(> :nth-child(5):last-child) > :nth-child(2)[b-q3qpfabj1e] {
    left: calc(25% + 6px);
    transform: translateX(-50%);
}

input[type="range"] + :has(> :nth-child(5):last-child) > :nth-child(3)[b-q3qpfabj1e] {
    left: 50%;
    transform: translateX(-50%);
}

input[type="range"] + :has(> :nth-child(5):last-child) > :nth-child(4)[b-q3qpfabj1e] {
    left: calc(75% - 6px);
    transform: translateX(-50%);
}

input[type="range"] + :has(> :nth-child(5):last-child) > :nth-child(5)[b-q3qpfabj1e] {
    right: 12px;
    left: auto;
    transform: none;
    text-align: right;
}

/* 추천 목록의 장식용 그라데이션은 제거하고 의미 있는 단색 상태만 유지한다. */
.recommendation-workspace[b-q3qpfabj1e],
.recommendation-workspace :is(article, section, div, li)[b-q3qpfabj1e] {
    background-image: none !important;
}

/* 자료 요약은 날짜·유형 / 거래처·메모 / 금액의 3줄 구조로 표시한다. */
.source-primary-line[b-q3qpfabj1e] {
    display: flex;
    overflow: hidden;
    min-width: 0;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 4px;
    line-height: 1.35;
}

.source-primary-line > strong[b-q3qpfabj1e] {
    overflow: hidden;
    max-width: 68%;
    flex: 0 1 auto;
    color: var(--midnight-800);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-primary-line > p[b-q3qpfabj1e] {
    overflow: hidden;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    color: var(--gray);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-primary-line > p[b-q3qpfabj1e]::before {
    content: "· ";
    color: var(--pale-gray);
}

/* 현재 방향은 위에, 자료 전환 동작은 그 아래에 배치한다. */
:is(
    :has(> button[aria-label*="전환"]),
    :has(> button[title*="전환"])
)[b-q3qpfabj1e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

:is(button[aria-label*="전환"], button[title*="전환"])[b-q3qpfabj1e] {
    order: 2;
    margin: 0;
}

.comparison-head > .direction-control[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

/* 추천 비교의 가운데 정보를 넓히고 등급 배지와 방향을 같은 행에 둔다. */
@media (min-width: 901px) {
    .recommendation-pair[b-q3qpfabj1e] {
        grid-template-columns: minmax(0, 1fr) minmax(210px, .48fr) minmax(0, 1fr);
    }
}

.pair-bridge[b-q3qpfabj1e] {
    display: grid;
    min-width: 0;
    align-content: start;
    align-items: center;
    justify-content: center;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
    padding: 4px 6px;
}

.pair-bridge > .score[b-q3qpfabj1e] {
    display: inline-flex;
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    height: 22px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.pair-bridge > .reason-list[b-q3qpfabj1e] {
    display: flex;
    overflow: hidden;
    min-width: 0;
    grid-row: 2;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pair-bridge > .reason-list > span[b-q3qpfabj1e] {
    overflow: hidden;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pair-bridge > :is(.conflict-label, .completed-label, .temporary-label)[b-q3qpfabj1e] {
    overflow: hidden;
    max-width: 100%;
    min-height: 18px;
    grid-row: 3;
    grid-column: 1;
    justify-self: center;
    margin: 0;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 추천 행은 콘텐츠 높이에 맞추고 카드 위아래 여백을 동일하게 유지한다. */
.recommendation-list .recommendation-pair[b-q3qpfabj1e] {
    height: auto;
    min-height: 0;
    align-items: stretch;
    padding-top: 8px;
    padding-bottom: 8px;
}

.recommendation-pair > :is(.source-card, .pair-bridge)[b-q3qpfabj1e] {
    height: auto;
    min-height: 0;
    align-self: stretch;
}

.recommendation-pair > .source-card[b-q3qpfabj1e] {
    margin: 0;
}

.basket-context-help[b-q3qpfabj1e] {
    display: inline-flex;
    overflow: hidden;
    align-items: center;
    flex: 1 1 280px;
    min-width: 120px;
    gap: 5px;
    color: var(--gray);
    font-size: 10px;
}

.basket-context-help > svg[b-q3qpfabj1e] {
    flex: 0 0 auto;
    color: var(--classic-blue);
}

.basket-context-help > span[b-q3qpfabj1e] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.basket-heading span[b-q3qpfabj1e],
.basket-totals dt[b-q3qpfabj1e] {
    color: var(--gray);
    font-size: 10px;
}

.basket-icon[b-q3qpfabj1e] {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    background: transparent;
    color: var(--classic-blue);
}

.basket-heading > strong[b-q3qpfabj1e] {
    color: var(--midnight-800);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.basket-validation[b-q3qpfabj1e] {
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--gold-50);
    color: var(--gold-700);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
}

.basket-validation.valid[b-q3qpfabj1e] {
    background: var(--emerald-green-25);
    color: var(--emerald-green);
}

.basket-totals[b-q3qpfabj1e] {
    flex: 0 0 auto;
    gap: 12px;
    margin: 0 0 0 auto;
}

.basket-totals > div[b-q3qpfabj1e] {
    gap: 4px;
}

.basket-totals dd[b-q3qpfabj1e] {
    margin: 0;
    color: var(--midnight-800);
    font-size: 11px;
    font-weight: 800;
}

.basket-totals .difference dd[b-q3qpfabj1e] {
    color: var(--gold-700);
}

.balanced .basket-totals .difference dd[b-q3qpfabj1e] {
    color: var(--emerald-green);
}

.basket-actions[b-q3qpfabj1e] {
    flex: 0 0 auto;
    gap: 7px;
}

.basket-actions button[b-q3qpfabj1e] {
    white-space: nowrap;
}

.allocation-cell[b-q3qpfabj1e] {
    min-width: 190px;
}

.allocation-summary[b-q3qpfabj1e] {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 7px;
    white-space: nowrap;
}

.allocation-editor[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: auto minmax(72px, 1fr) auto;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 3px 6px;
    border: 1px solid #9abcf8;
    border-radius: 7px;
    background: #fff;
    color: #52657d;
    text-align: left;
}

.allocation-editor span[b-q3qpfabj1e],
.allocation-editor i[b-q3qpfabj1e] {
    font-size: 10px;
    font-style: normal;
    white-space: nowrap;
}

.allocation-editor[b-q3qpfabj1e]  input {
    width: 100%;
    min-width: 0;
    padding: 1px 4px;
    border: 0;
    border-bottom: 1px solid #c8d8f4;
    outline: 0;
    background: transparent;
    color: #14273f;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.allocation-editor:focus-within[b-q3qpfabj1e] {
    border-color: #2463eb;
    box-shadow: 0 0 0 2px rgba(36, 99, 235, .12);
}

.allocation-editor.invalid[b-q3qpfabj1e] {
    border-color: #e3a19d;
    background: #fff7f6;
}

.allocation-editor.invalid[b-q3qpfabj1e]  input {
    border-bottom-color: #d7655e;
    color: #b42318;
}

.raw-table-card td small.allocation-remaining[b-q3qpfabj1e] {
    margin-top: 0;
    color: #5e728c;
    font-size: 9px;
    text-align: right;
    white-space: nowrap;
}

.recommendation-filter-strip[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: minmax(0, 240px) auto minmax(0, 240px);
    align-items: center;
    justify-content: start;
    gap: 7px;
    padding: 10px 12px;
    border-bottom: 1px solid #e6ebf1;
    background: #f8fafc;
}

.recommendation-filter-strip[b-q3qpfabj1e]  .search-field {
    position: relative;
    display: flex;
    width: 240px;
    max-width: 240px;
    min-width: 0;
    align-items: center;
}

.recommendation-filter-strip[b-q3qpfabj1e]  .search-input-control {
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--pale-gray);
    border-radius: 4px;
    background: var(--pure-white);
}

.recommendation-filter-strip[b-q3qpfabj1e]  .search-field input {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1;
}

.recommendation-filter-strip[b-q3qpfabj1e]  .search-field input::placeholder {
    color: #8b97a5;
    font-size: 12px;
    opacity: 1;
}

.raw-toolbar[b-q3qpfabj1e] {
    border-bottom: 1px solid #e6ebf1;
}

.suggestion-toggle[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #46566a;
    font-size: 12px;
}

.raw-workspace[b-q3qpfabj1e] {
    overflow: visible;
}

.period-preset[b-q3qpfabj1e] {
    min-width: 150px;
}

.filter-date-row .period-preset[b-q3qpfabj1e] {
    margin-left: 5px;
    gap: 6px;
}

.filter-date-row .period-preset select[b-q3qpfabj1e] {
    min-width: 92px;
    height: 28px;
    padding: 0 26px 0 8px;
    border: 1px solid var(--pale-gray);
    border-radius: 4px;
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-size: 12px;
    background-color: #fff;
    background-position: right 4px center;
    background-size: 16px 16px;
    color: #45566b;
    font: inherit;
    font-size: 10px;
    line-height: 1;
}

.evidence-search-row[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.evidence-search-row .search-field[b-q3qpfabj1e] {
    align-items: center;
}

.evidence-search-row .search-field input[b-q3qpfabj1e] {
    text-overflow: ellipsis;
}

.evidence-kind-tabs[b-q3qpfabj1e] {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
    gap: 5px;
}

.evidence-kind-tabs button[b-q3qpfabj1e] {
    min-height: 24px;
    padding: 4px 10px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 999px;
    background: var(--pure-white);
    color: var(--midnight-600);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
}

.evidence-kind-tabs button.active[b-q3qpfabj1e] {
    border-color: transparent;
    background: var(--midnight-50);
    color: var(--midnight-600);
    font-weight: 700;
}

.table-count[b-q3qpfabj1e] {
    padding: 3px 7px;
    border-radius: 999px;
    background: #edf3ff;
    color: #1e4fae;
    font-size: 11px;
}

.select-column[b-q3qpfabj1e] {
    width: 42px;
    text-align: center;
}

.sort-button[b-q3qpfabj1e] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.row-status[b-q3qpfabj1e] {
    display: inline-flex;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef1f5;
    color: #536173;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.row-status.status-recommended[b-q3qpfabj1e] { background: var(--classic-blue-25); color: var(--classic-blue); }
.row-status.status-partial[b-q3qpfabj1e] { background: var(--gold-50); color: var(--gold-700); }
.row-status.status-completed[b-q3qpfabj1e] { background: var(--emerald-green-25); color: var(--emerald-green); }
.row-status.status-missingevidence[b-q3qpfabj1e] { background: var(--deep-rose-25); color: var(--deep-rose); }
.row-status.status-duplicaterisk[b-q3qpfabj1e] { background: var(--deep-rose-50); color: var(--deep-rose); }
.row-status.status-unmatchedevidence[b-q3qpfabj1e] { background: var(--gold-50); color: var(--gold-700); }
.row-status.status-hidden[b-q3qpfabj1e] { background: var(--midnight-50); color: var(--gray); }

.raw-score[b-q3qpfabj1e] {
    display: inline-block;
    margin-left: 5px;
    color: #2463eb;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.raw-score.muted[b-q3qpfabj1e] {
    color: #8a95a5;
}

.combination-card[b-q3qpfabj1e] {
    gap: 10px;
}

.combination-members[b-q3qpfabj1e] {
    display: grid;
    gap: 6px;
}

.combination-members > div[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    border-radius: 7px;
    background: rgba(36, 99, 235, .06);
    color: #46566a;
    font-size: 11px;
}

.combination-members b[b-q3qpfabj1e] {
    color: #14273f;
    white-space: nowrap;
}

.row-action-column[b-q3qpfabj1e] {
    width: 60px;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

.row-action-column .btn-small[b-q3qpfabj1e] {
    min-height: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}

.proof-edit-backdrop[b-q3qpfabj1e] {
    overflow-y: auto;
}

.proof-edit-modal[b-q3qpfabj1e] {
    width: min(640px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.proof-edit-grid[b-q3qpfabj1e] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.proof-edit-grid label.wide[b-q3qpfabj1e] {
    grid-column: 1 / -1;
}

.proof-edit-grid textarea[b-q3qpfabj1e] {
    min-height: 96px;
    height: auto;
    resize: vertical;
}

.proof-edit-error[b-q3qpfabj1e] {
    margin: -6px 0 14px;
    padding: 9px 11px;
    border-radius: 8px;
    background: #fdecec;
    color: #b42318;
    font-size: 12px;
}

.proof-edit-modal > footer[b-q3qpfabj1e] {
    padding-top: 16px;
    border-top: 1px solid var(--pale-light-gray);
}

.proof-edit-help[b-q3qpfabj1e] {
    color: var(--gray);
    font-size: 11px;
    line-height: 1.5;
}

.proof-edit-actions[b-q3qpfabj1e] {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 1100px) {
    .selection-apply-panel[b-q3qpfabj1e] {
        position: static;
    }

    .selection-basket[b-q3qpfabj1e] {
        position: static;
    }
}

@media (max-width: 620px) {
    .recommendation-filter-strip[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
    }

    .recommendation-filter-strip[b-q3qpfabj1e]  .search-field {
        width: 100%;
        max-width: none;
    }

    .recommendation-search-tools[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }

    .recommendation-filter-strip > span[b-q3qpfabj1e] {
        display: none;
    }

    .evidence-search-row[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }

    .evidence-search-row[b-q3qpfabj1e]  .search-field {
        flex-basis: auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .filter-row[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-row[b-q3qpfabj1e]  .search-field {
        flex-basis: auto;
        width: 100%;
        max-width: none;
    }

    .evidence-kind-tabs[b-q3qpfabj1e] {
        justify-content: flex-start;
    }

    .proof-edit-grid[b-q3qpfabj1e] {
        grid-template-columns: 1fr;
    }

    .proof-edit-grid label.wide[b-q3qpfabj1e] {
        grid-column: auto;
    }

    .proof-edit-modal > footer[b-q3qpfabj1e] {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Components/Shared/BankIcon.razor.rz.scp.css */
.bank-icon[b-pwysqy5pry] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--bank-icon-size, 24px);
    height: var(--bank-icon-size, 24px);
    flex: 0 0 auto;
    object-fit: contain;
    vertical-align: middle;
}

.bank-icon img[b-pwysqy5pry],
.bank-icon .ds-icon[b-pwysqy5pry] {
    display: block;
}
/* /Components/Shared/DrIcon.razor.rz.scp.css */
.ds-icon[b-q8pblhw8wb] {
    display: inline-block;
    width: var(--ds-icon-size, 24px);
    height: var(--ds-icon-size, 24px);
    flex: 0 0 auto;
    color: inherit;
    background-color: currentColor;
    vertical-align: middle;
    -webkit-mask: var(--ds-icon-url) center / contain no-repeat;
    mask: var(--ds-icon-url) center / contain no-repeat;
}
/* /Components/Shared/ManualLedgerCreateAction.razor.rz.scp.css */
.manual-ledger-create-modal[b-a9qucohxe1] {
    width: min(680px, calc(100vw - 32px));
    max-height: min(860px, calc(100vh - 32px));
    overflow: auto;
}

.manual-ledger-create-modal .modal-header[b-a9qucohxe1] {
    align-items: flex-start;
}

.manual-ledger-create-modal .modal-header p:not(.modal-eyebrow)[b-a9qucohxe1] {
    margin: 4px 0 0;
    color: var(--gray);
    font-size: 13px;
}

.manual-ledger-create-body[b-a9qucohxe1] {
    display: grid;
    gap: 14px;
}

.manual-ledger-create-grid[b-a9qucohxe1] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.manual-ledger-name-field[b-a9qucohxe1],
.manual-ledger-description-field[b-a9qucohxe1] {
    grid-column: 1 / -1;
}

.manual-ledger-create-grid b[b-a9qucohxe1] {
    color: var(--deep-rose);
}

.manual-ledger-form-status[b-a9qucohxe1] {
    margin: 0;
    border: 1px solid var(--midnight-100);
    border-radius: 6px;
    background: var(--midnight-25);
    color: var(--midnight-800);
    padding: 10px 12px;
    font-size: 13px;
}

.manual-ledger-form-status.is-error[b-a9qucohxe1] {
    border-color: var(--deep-rose);
    background: var(--deep-rose-25);
    color: var(--deep-rose);
}

@media (max-width: 720px) {
    .manual-ledger-create-modal[b-a9qucohxe1] {
        width: min(100% - 16px, 680px);
        max-height: calc(100vh - 16px);
    }

    .manual-ledger-create-grid[b-a9qucohxe1] {
        grid-template-columns: 1fr;
    }

    .manual-ledger-name-field[b-a9qucohxe1],
    .manual-ledger-description-field[b-a9qucohxe1] {
        grid-column: auto;
    }

    .manual-ledger-create-modal .modal-footer[b-a9qucohxe1] {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .manual-ledger-create-modal .modal-footer button[b-a9qucohxe1] {
        min-height: 44px;
        width: 100%;
    }
}
/* /Components/Shared/ManualLedgerWorkbench.razor.rz.scp.css */
.manual-ledger-workbench[b-21hde505yg] {
    display: grid;
    gap: 14px;
    margin: 2px 0 4px;
    border: 1px solid var(--midnight-100);
    border-radius: 8px;
    background: var(--midnight-25);
    padding: 14px;
}

.manual-ledger-workbench-head[b-21hde505yg],
.manual-ledger-workbench-head > div[b-21hde505yg],
.manual-ledger-entry-toolbar[b-21hde505yg],
.manual-ledger-toolbar-actions[b-21hde505yg],
.manual-ledger-paste-actions[b-21hde505yg],
.manual-ledger-workbench-footer[b-21hde505yg],
.manual-ledger-workbench-footer > div[b-21hde505yg],
.manual-ledger-template-layout header[b-21hde505yg],
.manual-ledger-history-layout header[b-21hde505yg],
.manual-ledger-duplicate-panel header[b-21hde505yg],
.manual-ledger-duplicate-panel footer[b-21hde505yg],
.manual-ledger-file-copy[b-21hde505yg],
.manual-ledger-history-actions[b-21hde505yg],
.manual-ledger-row-actions[b-21hde505yg] {
    display: flex;
    align-items: center;
}

.manual-ledger-workbench-head[b-21hde505yg],
.manual-ledger-entry-toolbar[b-21hde505yg],
.manual-ledger-workbench-footer[b-21hde505yg],
.manual-ledger-template-layout header[b-21hde505yg],
.manual-ledger-history-layout header[b-21hde505yg],
.manual-ledger-duplicate-panel header[b-21hde505yg] {
    justify-content: space-between;
}

.manual-ledger-workbench-head[b-21hde505yg] {
    gap: 16px;
}

.manual-ledger-workbench-head > div[b-21hde505yg] {
    min-width: 0;
    gap: 10px;
}

.manual-ledger-workbench-head > div > div[b-21hde505yg],
.manual-ledger-template-layout header > div[b-21hde505yg],
.manual-ledger-history-layout header > div[b-21hde505yg],
.manual-ledger-paste-panel > div:first-child[b-21hde505yg],
.manual-ledger-file-copy > div[b-21hde505yg],
.manual-ledger-duplicate-panel header > div[b-21hde505yg] {
    display: grid;
    gap: 2px;
}

.manual-ledger-workbench-head strong[b-21hde505yg],
.manual-ledger-template-layout strong[b-21hde505yg],
.manual-ledger-history-layout strong[b-21hde505yg],
.manual-ledger-paste-panel strong[b-21hde505yg],
.manual-ledger-file-panel strong[b-21hde505yg],
.manual-ledger-duplicate-panel strong[b-21hde505yg] {
    color: var(--midnight-900);
    font-size: 14px;
}

.manual-ledger-workbench-head span:not(.badge)[b-21hde505yg],
.manual-ledger-template-layout span[b-21hde505yg],
.manual-ledger-template-layout small[b-21hde505yg],
.manual-ledger-history-layout span[b-21hde505yg],
.manual-ledger-paste-panel span[b-21hde505yg],
.manual-ledger-file-panel span[b-21hde505yg],
.manual-ledger-duplicate-panel span[b-21hde505yg] {
    color: var(--gray);
    font-size: 12px;
}

.manual-ledger-tabs[b-21hde505yg] {
    border-bottom: 1px solid var(--pale-light-gray);
    padding-bottom: 10px;
}

.manual-ledger-tabs button[b-21hde505yg] {
    justify-content: flex-start;
}

.manual-ledger-tabs button span[b-21hde505yg] {
    color: var(--gray);
    font-size: 11px;
}

.manual-ledger-tabs button.active span[b-21hde505yg] {
    color: var(--classic-blue);
}

.manual-ledger-tabpanel[b-21hde505yg] {
    min-width: 0;
}

.manual-ledger-entry-toolbar[b-21hde505yg] {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.manual-ledger-retain-options[b-21hde505yg] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.manual-ledger-retain-options label[b-21hde505yg] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--dark-gray);
    font-size: 12px;
}

.manual-ledger-toolbar-actions[b-21hde505yg],
.manual-ledger-paste-actions[b-21hde505yg],
.manual-ledger-row-actions[b-21hde505yg],
.manual-ledger-history-actions[b-21hde505yg] {
    gap: 6px;
}

.manual-ledger-recurrence[b-21hde505yg] {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 180px)) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 10px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 6px;
    background: var(--pure-white);
    padding: 10px;
}

.manual-ledger-entry-wrap[b-21hde505yg] {
    overflow: visible;
    border: 1px solid var(--pale-light-gray);
    border-radius: 6px;
    background: var(--pure-white);
}

.manual-ledger-entry-table[b-21hde505yg] {
    min-width: 1100px;
}

.manual-ledger-entry-table th[b-21hde505yg],
.manual-ledger-entry-table td[b-21hde505yg] {
    padding: 7px 6px;
}

.manual-ledger-entry-table th:first-child[b-21hde505yg],
.manual-ledger-entry-table td:first-child[b-21hde505yg] {
    width: 126px;
}

.manual-ledger-entry-table th:nth-child(2)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(2)[b-21hde505yg] {
    width: 88px;
}

.manual-ledger-entry-table th:nth-child(3)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(3)[b-21hde505yg],
.manual-ledger-entry-table th:nth-child(4)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(4)[b-21hde505yg] {
    width: 180px;
}

.manual-ledger-entry-table th:nth-child(5)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(5)[b-21hde505yg] {
    width: 126px;
}

.manual-ledger-entry-table th:nth-child(6)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(6)[b-21hde505yg],
.manual-ledger-entry-table th:nth-child(7)[b-21hde505yg],
.manual-ledger-entry-table td:nth-child(7)[b-21hde505yg] {
    width: 138px;
}

.manual-ledger-entry-table tr.is-error td[b-21hde505yg] {
    background: var(--deep-rose-25);
}

.manual-ledger-entry-table tr.is-duplicate td[b-21hde505yg] {
    background: var(--deep-rose-50);
}

.manual-ledger-entry-table tr.is-similar td[b-21hde505yg] {
    background: var(--gold-25);
}

.manual-ledger-entry-table tr.is-valid td[b-21hde505yg] {
    background: var(--emerald-green-25);
}

.manual-ledger-entry-table input:focus[b-21hde505yg],
.manual-ledger-entry-table select:focus[b-21hde505yg] {
    outline: 2px solid var(--classic-blue);
    outline-offset: 1px;
    border-color: var(--classic-blue);
}

.manual-ledger-amount-input[b-21hde505yg] {
    text-align: right;
}

.manual-ledger-row-status[b-21hde505yg] {
    display: grid;
    justify-items: start;
    gap: 3px;
    min-width: 92px;
}

.manual-ledger-combobox-cell[b-21hde505yg] {
    position: relative;
}

.manual-ledger-combobox[b-21hde505yg] {
    position: relative;
}

.manual-ledger-suggestions[b-21hde505yg] {
    position: absolute;
    z-index: 80;
    top: calc(100% + 4px);
    left: 0;
    display: grid;
    width: min(420px, 70vw);
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--midnight-200);
    border-radius: 6px;
    background: var(--pure-white);
    box-shadow: 0 10px 28px rgba(12, 27, 84, .14);
    padding: 4px;
}

.manual-ledger-suggestion[b-21hde505yg] {
    display: grid;
    gap: 3px;
    width: 100%;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--midnight-900);
    cursor: pointer;
    padding: 8px 10px;
    text-align: left;
}

.manual-ledger-suggestion:hover[b-21hde505yg],
.manual-ledger-suggestion.active[b-21hde505yg] {
    background: var(--midnight-50);
}

.manual-ledger-suggestion:focus-visible[b-21hde505yg] {
    outline: 2px solid var(--classic-blue);
    outline-offset: -2px;
}

.manual-ledger-suggestion strong[b-21hde505yg] {
    overflow: hidden;
    color: var(--midnight-900);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-ledger-suggestion strong span[b-21hde505yg],
.manual-ledger-suggestion small[b-21hde505yg],
.manual-ledger-suggestion-status[b-21hde505yg] {
    color: var(--gray);
    font-size: 11px;
}

.manual-ledger-suggestion-status[b-21hde505yg] {
    padding: 10px;
}

.manual-ledger-undo[b-21hde505yg] {
    min-height: 22px;
    margin-top: 3px;
    padding: 0;
}

.manual-ledger-duplicate-panel[b-21hde505yg] {
    display: grid;
    gap: 9px;
    margin-top: 10px;
    border: 1px solid var(--gold-300);
    border-radius: 6px;
    background: var(--gold-25);
    padding: 12px;
}

.manual-ledger-duplicate-panel article[b-21hde505yg] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-top: 1px solid var(--gold-100);
    padding-top: 9px;
}

.manual-ledger-duplicate-panel article > div[b-21hde505yg] {
    display: grid;
    gap: 2px;
}

.manual-ledger-duplicate-panel footer[b-21hde505yg] {
    justify-content: flex-end;
    gap: 7px;
}

.manual-ledger-paste-panel[b-21hde505yg],
.manual-ledger-file-panel[b-21hde505yg] {
    display: grid;
    gap: 14px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 6px;
    background: var(--pure-white);
    padding: 16px;
}

.manual-ledger-paste-panel textarea[b-21hde505yg] {
    width: 100%;
    min-height: 180px;
}

.manual-ledger-paste-actions[b-21hde505yg] {
    justify-content: flex-end;
}

.manual-ledger-paste-actions .field[b-21hde505yg] {
    width: 140px;
}

.manual-ledger-file-panel[b-21hde505yg] {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.manual-ledger-file-copy[b-21hde505yg] {
    gap: 12px;
}

.manual-ledger-template-layout[b-21hde505yg],
.manual-ledger-history-layout[b-21hde505yg] {
    display: grid;
    gap: 14px;
}

.manual-ledger-template-layout > section[b-21hde505yg],
.manual-ledger-history-layout > section[b-21hde505yg] {
    display: grid;
    gap: 10px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 6px;
    background: var(--pure-white);
    padding: 14px;
}

.manual-ledger-template-list[b-21hde505yg],
.manual-ledger-batch-list[b-21hde505yg] {
    display: grid;
    gap: 7px;
}

.manual-ledger-template-list article[b-21hde505yg],
.manual-ledger-batch-list article[b-21hde505yg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    border: 1px solid var(--pale-light-gray);
    border-radius: 5px;
    padding: 9px 11px;
}

.manual-ledger-template-list article > div[b-21hde505yg],
.manual-ledger-batch-list article > div[b-21hde505yg] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.manual-ledger-history-layout .data-table td span[b-21hde505yg] {
    color: var(--gray);
    font-size: 11px;
}

.manual-ledger-workbench-footer[b-21hde505yg] {
    gap: 14px;
    border-top: 1px solid var(--pale-light-gray);
    padding-top: 12px;
}

.manual-ledger-workbench-footer > div[b-21hde505yg] {
    flex-wrap: wrap;
    gap: 8px;
}

.manual-ledger-workbench-footer > div:first-child span[b-21hde505yg] {
    color: var(--dark-gray);
    font-size: 12px;
}

.manual-ledger-workbench-footer > div:first-child span.is-error[b-21hde505yg] {
    color: var(--deep-rose);
    font-weight: 700;
}

.manual-ledger-status[b-21hde505yg] {
    margin: 0;
    border: 1px solid var(--midnight-100);
    border-radius: 6px;
    background: var(--pure-white);
    color: var(--midnight-800);
    padding: 10px 12px;
    font-size: 12px;
}

.manual-ledger-status.is-error[b-21hde505yg] {
    border-color: var(--deep-rose);
    background: var(--deep-rose-25);
    color: var(--deep-rose);
}

@media (max-width: 1100px) {
    .manual-ledger-file-panel[b-21hde505yg] {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .manual-ledger-recurrence[b-21hde505yg] {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
    }

    .manual-ledger-recurrence button[b-21hde505yg] {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .manual-ledger-workbench[b-21hde505yg] {
        margin-inline: -4px;
        padding: 12px;
    }

    .manual-ledger-workbench-head[b-21hde505yg],
    .manual-ledger-entry-toolbar[b-21hde505yg],
    .manual-ledger-workbench-footer[b-21hde505yg],
    .manual-ledger-template-layout header[b-21hde505yg],
    .manual-ledger-history-layout header[b-21hde505yg] {
        align-items: stretch;
        flex-direction: column;
    }

    .manual-ledger-workbench-head > button[b-21hde505yg],
    .manual-ledger-workbench-footer button[b-21hde505yg],
    .manual-ledger-template-layout header button[b-21hde505yg] {
        min-height: 44px;
        width: 100%;
    }

    .manual-ledger-tabs[b-21hde505yg] {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .manual-ledger-tabs button[b-21hde505yg] {
        flex: 0 0 auto;
        min-height: 44px;
    }

    .manual-ledger-recurrence[b-21hde505yg] {
        grid-template-columns: 1fr;
    }

    .manual-ledger-recurrence button[b-21hde505yg],
    .manual-ledger-paste-actions .field[b-21hde505yg] {
        width: 100%;
    }

    .manual-ledger-paste-actions[b-21hde505yg],
    .manual-ledger-duplicate-panel footer[b-21hde505yg],
    .manual-ledger-history-actions[b-21hde505yg] {
        align-items: stretch;
        flex-direction: column;
    }

    .manual-ledger-paste-actions button[b-21hde505yg],
    .manual-ledger-duplicate-panel footer button[b-21hde505yg],
    .manual-ledger-history-actions button[b-21hde505yg] {
        min-height: 40px;
        width: 100%;
    }

    .manual-ledger-suggestions[b-21hde505yg] {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 84px;
        width: auto;
        max-height: 48vh;
    }

    .manual-ledger-template-list article[b-21hde505yg],
    .manual-ledger-batch-list article[b-21hde505yg] {
        align-items: stretch;
        flex-direction: column;
    }

    .manual-ledger-template-list article button[b-21hde505yg],
    .manual-ledger-batch-list article button[b-21hde505yg] {
        min-height: 40px;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .manual-ledger-workbench *[b-21hde505yg],
    .manual-ledger-suggestions[b-21hde505yg] {
        scroll-behavior: auto;
        transition: none;
    }
}
