/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-page[b-ruksuaxati] {
    min-height: 100vh;
    background: #F2E8D8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    font-family: var(--font-sans);
}

.auth-card[b-ruksuaxati] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 880px;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(80, 40, 10, 0.14), 0 2px 8px rgba(80, 40, 10, 0.08);
}

.auth-left[b-ruksuaxati] {
    background: #C06820;
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand[b-ruksuaxati] {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.auth-left-mid[b-ruksuaxati] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 0 28px;
}

.auth-tagline[b-ruksuaxati] {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 230px;
}

.auth-tagline-main[b-ruksuaxati] {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.auth-tagline-accent[b-ruksuaxati] {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    font-style: italic;
    color: #FFE0BC;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.auth-subtitle[b-ruksuaxati] {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    max-width: 200px;
    margin: 0;
}

.auth-right[b-ruksuaxati] {
    background: #FFFFFF;
    padding: 52px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container[b-ruksuaxati] {
    width: 100%;
    max-width: 300px;
}

@media (max-width: 720px) {
    .auth-card[b-ruksuaxati] {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-left[b-ruksuaxati] {
        padding: 36px 32px;
        min-height: 220px;
    }

    .auth-tagline-main[b-ruksuaxati],
    .auth-tagline-accent[b-ruksuaxati] {
        font-size: 28px;
    }

    .auth-tagline[b-ruksuaxati] {
        max-width: none;
    }

    .auth-right[b-ruksuaxati] {
        padding: 40px 32px;
    }

    .auth-form-container[b-ruksuaxati] {
        max-width: none;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Old accent color across the app was #C17F4E */

.evie-header[b-5ox7trjgpl] {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 56px;
    background-color: #C06820;
}

.evie-header-inner[b-5ox7trjgpl] {
    /*max-width: 1536px;*/
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.evie-brand[b-5ox7trjgpl] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.evie-brand-icon[b-5ox7trjgpl] {
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #FFFFFF;
}

.evie-brand-text[b-5ox7trjgpl] {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #FFFFFF;
}

.evie-nav[b-5ox7trjgpl] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

[b-5ox7trjgpl] .evie-nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background-color 150ms, color 150ms;
}

[b-5ox7trjgpl] .evie-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

[b-5ox7trjgpl] .evie-nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.evie-header-actions[b-5ox7trjgpl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.evie-header-icon[b-5ox7trjgpl] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms, color 150ms;
}

.evie-header-icon:hover[b-5ox7trjgpl] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.evie-main[b-5ox7trjgpl] {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
    min-height: calc(100vh - 56px);
}

.evie-content[b-5ox7trjgpl] {
    min-width: fit-content;
    margin: 0 auto;
    padding: 0 2rem;
    /*justify-self: center;*/
}

@media (min-width: 1280px) {
    .evie-content[b-5ox7trjgpl] {
        padding: 0 3rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pxyvn3r6mx],
.components-reconnect-repeated-attempt-visible[b-pxyvn3r6mx],
.components-reconnect-failed-visible[b-pxyvn3r6mx],
.components-pause-visible[b-pxyvn3r6mx],
.components-resume-failed-visible[b-pxyvn3r6mx],
.components-rejoining-animation[b-pxyvn3r6mx] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-retrying[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-failed[b-pxyvn3r6mx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pxyvn3r6mx] {
    display: block;
}

#components-reconnect-modal[b-pxyvn3r6mx] {
    background-color: var(--evie-surface);
    color: var(--evie-text);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid var(--evie-border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px 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-pxyvn3r6mx 0.5s both;
}

#components-reconnect-modal[open][b-pxyvn3r6mx] {
    animation: components-reconnect-modal-slideUp-b-pxyvn3r6mx 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
               components-reconnect-modal-fadeInOpacity-b-pxyvn3r6mx 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-pxyvn3r6mx]::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    animation: components-reconnect-modal-fadeInOpacity-b-pxyvn3r6mx 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pxyvn3r6mx {
    0% { transform: translateY(30px) scale(0.95); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-pxyvn3r6mx {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pxyvn3r6mx {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.components-reconnect-container[b-pxyvn3r6mx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pxyvn3r6mx] {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--evie-text-muted);
}

#components-reconnect-modal button[b-pxyvn3r6mx] {
    border: 0;
    background-color: var(--evie-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 150ms;
}

#components-reconnect-modal button:hover[b-pxyvn3r6mx] {
    background-color: var(--evie-primary-hover);
}

.components-rejoining-animation[b-pxyvn3r6mx] {
    position: relative;
    width: 80px;
    height: 80px;
}

.components-rejoining-animation div[b-pxyvn3r6mx] {
    position: absolute;
    border: 3px solid var(--evie-primary);
    opacity: 1;
    border-radius: 50%;
    animation: components-rejoining-animation-b-pxyvn3r6mx 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-pxyvn3r6mx] {
    animation-delay: -0.5s;
}

@keyframes components-rejoining-animation-b-pxyvn3r6mx {
    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: 0; left: 0; width: 80px; height: 80px; opacity: 0; }
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
.denied-content[b-4prx8uc9lu] {
    text-align: center;
}

.denied-title[b-4prx8uc9lu] {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 0.75rem;
}

.denied-message[b-4prx8uc9lu] {
    font-size: 0.9375rem;
    color: #6B6B6B;
    margin-bottom: 1.5rem;
}
/* /Components/Pages/Admin/AiSettings.razor.rz.scp.css */
.section-title[b-pj55hnfles] { font-size: 0.9375rem; font-weight: 500; color: var(--evie-text); margin-bottom: 0.75rem; }
.section-spacer[b-pj55hnfles] { margin-top: 1.5rem; }
.subsection-title[b-pj55hnfles] { font-size: 0.8125rem; font-weight: 500; color: var(--evie-text-muted); margin: 1rem 0 0.5rem; }

.settings-grid[b-pj55hnfles] { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.setting-group[b-pj55hnfles] { display: flex; flex-direction: column; gap: 0.375rem; }
.input-narrow[b-pj55hnfles] { max-width: 8rem; }

.radio-group[b-pj55hnfles] { display: flex; flex-direction: column; gap: 0.375rem; }
.radio-label[b-pj55hnfles] { font-size: 0.8125rem; color: var(--evie-text-muted); display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.toggle-grid[b-pj55hnfles] { display: flex; flex-direction: column; gap: 0.5rem; }
.toggle-label[b-pj55hnfles] { font-size: 0.8125rem; color: var(--evie-text-muted); display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

.action-bar[b-pj55hnfles] { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--evie-border); }
.hint-text[b-pj55hnfles] { font-size: 0.75rem; color: var(--evie-text-dim); }

.cost-grid[b-pj55hnfles] { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.cost-card[b-pj55hnfles] { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; background: var(--evie-surface); border-radius: 0.375rem; }
.cost-label[b-pj55hnfles] { font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.cost-value[b-pj55hnfles] { font-size: 1.5rem; font-weight: 500; color: var(--evie-text); }

.action-message[b-pj55hnfles] { padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 0.375rem; font-size: 0.8125rem; }
.success-state[b-pj55hnfles] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.error-state[b-pj55hnfles] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }
.mono[b-pj55hnfles] { font-family: var(--evie-font-mono); }
.data-table th[b-pj55hnfles] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 1rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-pj55hnfles] { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-pj55hnfles] { border-bottom: none; }

.loading-state[b-pj55hnfles] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; color: var(--evie-text-dim); }
/* /Components/Pages/Admin/ExtractionLogs.razor.rz.scp.css */
.filter-bar[b-r42jynpu6x] { margin-bottom: 1rem; }
.filter-grid[b-r42jynpu6x] { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; margin-bottom: 0.75rem; }
.filter-field[b-r42jynpu6x] { display: flex; flex-direction: column; gap: 0.25rem; }
.result-count[b-r42jynpu6x] { font-size: 0.75rem; color: var(--evie-text-dim); margin-bottom: 0.75rem; }

.clickable-row[b-r42jynpu6x] { cursor: pointer; }
.clickable-row:hover td[b-r42jynpu6x] { background-color: var(--evie-surface); }

.phase-badge[b-r42jynpu6x] { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 0.25rem; font-size: 0.6875rem; font-weight: 500; }
.phase-primary[b-r42jynpu6x] { color: var(--evie-indigo); background: rgba(99, 102, 241, 0.1); }
.phase-escalation[b-r42jynpu6x] { color: var(--evie-amber); background: rgba(251, 191, 36, 0.1); }
.phase-verification[b-r42jynpu6x] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.phase-mathretry[b-r42jynpu6x] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }

.confidence-indicator[b-r42jynpu6x] { font-size: 0.6875rem; font-weight: 500; padding: 0.125rem 0.375rem; border-radius: 0.25rem; }
.confidence-high[b-r42jynpu6x] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.confidence-medium[b-r42jynpu6x] { color: var(--evie-amber); background: rgba(251, 191, 36, 0.1); }
.confidence-low[b-r42jynpu6x] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }

.detail-row td[b-r42jynpu6x] { background: var(--evie-surface) !important; }
.detail-content[b-r42jynpu6x] { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.detail-item[b-r42jynpu6x] { font-size: 0.8125rem; color: var(--evie-text-muted); }
.detail-label[b-r42jynpu6x] { font-weight: 500; color: var(--evie-text); margin-right: 0.375rem; }
.field-list[b-r42jynpu6x] { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.375rem; }
.field-chip[b-r42jynpu6x] { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 0.25rem; font-size: 0.6875rem; background: rgba(100, 116, 139, 0.1); color: var(--evie-text-dim); }
.field-corrected[b-r42jynpu6x] { background: rgba(251, 191, 36, 0.1); color: var(--evie-amber); }

.pagination[b-r42jynpu6x] { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 0 0.5rem; }
.page-info[b-r42jynpu6x] { font-size: 0.75rem; color: var(--evie-text-dim); }
.btn-xs[b-r42jynpu6x] { padding: 0.1875rem 0.5rem; font-size: 0.6875rem; }
.mono[b-r42jynpu6x] { font-family: var(--evie-font-mono); }
.data-table th[b-r42jynpu6x] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-r42jynpu6x] { padding: 0.625rem 0.75rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-r42jynpu6x] { border-bottom: none; }

.loading-state[b-r42jynpu6x] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; color: var(--evie-text-dim); }
/* /Components/Pages/Admin/ResetData.razor.rz.scp.css */
.section-title[b-3qsto157bp] { font-size: 0.9375rem; font-weight: 500; color: var(--evie-text); margin-bottom: 0.75rem; }

.summary-grid[b-3qsto157bp] { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.75rem; }
.summary-item[b-3qsto157bp] { display: flex; justify-content: space-between; padding: 0.5rem 0.75rem; background: var(--evie-surface); border-radius: 0.375rem; }
.summary-label[b-3qsto157bp] { font-size: 0.8125rem; color: var(--evie-text-muted); }
.summary-value[b-3qsto157bp] { font-size: 0.8125rem; font-weight: 500; color: var(--evie-text); font-family: var(--evie-font-mono); }

.danger-card[b-3qsto157bp] { border-left: 3px solid var(--evie-coral); }
.danger-title[b-3qsto157bp] { color: var(--evie-coral); }
.danger-text[b-3qsto157bp] { font-size: 0.8125rem; color: var(--evie-text-muted); margin-bottom: 1rem; }

.confirm-group[b-3qsto157bp] { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; max-width: 16rem; }
.confirm-input[b-3qsto157bp] { font-family: var(--evie-font-mono); }

.btn-destructive[b-3qsto157bp] { background: rgba(248, 113, 113, 0.15); color: var(--evie-coral); border: 1px solid rgba(248, 113, 113, 0.3); padding: 0.5rem 1rem; border-radius: 0.375rem; cursor: pointer; }
.btn-destructive:hover:not(:disabled)[b-3qsto157bp] { background: rgba(248, 113, 113, 0.25); }
.btn-destructive:disabled[b-3qsto157bp] { opacity: 0.5; cursor: not-allowed; }

.result-card[b-3qsto157bp] { margin-top: 1rem; }
.success-state[b-3qsto157bp] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.error-state[b-3qsto157bp] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); padding: 1rem; }

.deleted-list[b-3qsto157bp] { display: flex; flex-direction: column; gap: 0.25rem; }
.deleted-item[b-3qsto157bp] { font-size: 0.8125rem; color: var(--evie-text-muted); font-family: var(--evie-font-mono); }
/* /Components/Pages/ApMatching/Admin/MlDashboard.razor.rz.scp.css */
.summary-grid[b-gp6qpqg6qv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card[b-gp6qpqg6qv] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.25rem;
}

.summary-label[b-gp6qpqg6qv] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-value[b-gp6qpqg6qv] {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--evie-text);
    font-family: var(--evie-font-mono);
}

.summary-pending[b-gp6qpqg6qv] {
    color: var(--evie-amber);
}

.section-title[b-gp6qpqg6qv] {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--evie-text);
    margin-bottom: 0.75rem;
}

.hint-stats[b-gp6qpqg6qv] {
    display: flex;
    gap: 1.5rem;
}

.hint-stat[b-gp6qpqg6qv] {
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
}

.hint-type-badge[b-gp6qpqg6qv] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    background: rgba(100, 116, 139, 0.1);
}

.hint-value-cell[b-gp6qpqg6qv] {
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.action-buttons[b-gp6qpqg6qv] {
    display: flex;
    gap: 0.375rem;
}

.btn-xs[b-gp6qpqg6qv] {
    padding: 0.1875rem 0.5rem;
    font-size: 0.6875rem;
}

.btn-approve[b-gp6qpqg6qv] {
    color: var(--evie-teal);
    border-color: rgba(45, 212, 191, 0.3);
    background: rgba(45, 212, 191, 0.1);
}

.btn-approve:hover[b-gp6qpqg6qv] {
    background: rgba(45, 212, 191, 0.2);
}

.btn-reject-hint[b-gp6qpqg6qv] {
    color: var(--evie-coral);
    border-color: rgba(248, 113, 113, 0.3);
}

.btn-reject-hint:hover[b-gp6qpqg6qv] {
    background: rgba(248, 113, 113, 0.1);
}

.confidence-indicator[b-gp6qpqg6qv] {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.confidence-high[b-gp6qpqg6qv] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.confidence-medium[b-gp6qpqg6qv] { color: var(--evie-amber); background: rgba(251, 191, 36, 0.1); }
.confidence-low[b-gp6qpqg6qv] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }

.category-badge[b-gp6qpqg6qv] {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
}

.category-formatting[b-gp6qpqg6qv] { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.1); }
.category-extra[b-gp6qpqg6qv] { color: var(--evie-amber); background: rgba(251, 191, 36, 0.1); }
.category-missing[b-gp6qpqg6qv] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }
.category-wrongvalue[b-gp6qpqg6qv] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.15); }

.correction-value[b-gp6qpqg6qv] {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--evie-font-mono);
    font-size: 0.75rem;
}.data-table th[b-gp6qpqg6qv] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 1rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-gp6qpqg6qv] { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-gp6qpqg6qv] { border-bottom: none; }
.data-table tr:hover td[b-gp6qpqg6qv] { background-color: var(--evie-surface); }

.loading-state[b-gp6qpqg6qv] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; color: var(--evie-text-dim); }
/* /Components/Pages/ApMatching/Approval.razor.rz.scp.css */
.data-table th[b-q5a6nlix50] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.data-table td[b-q5a6nlix50] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.data-table tr:last-child td[b-q5a6nlix50] {
    border-bottom: none;
}

.data-table tr:hover td[b-q5a6nlix50] {
    background-color: var(--evie-surface);
}
.btn-stamp[b-q5a6nlix50] {
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--evie-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin-right: 0.375rem;
}

.btn-stamp:hover[b-q5a6nlix50] {
    background-color: rgba(99, 102, 241, 0.25);
}

.btn-reject[b-q5a6nlix50] {
    color: var(--evie-coral);
    border-color: rgba(248, 113, 113, 0.3);
}

.btn-reject:hover[b-q5a6nlix50] {
    background-color: rgba(248, 113, 113, 0.1);
}.loading-state[b-q5a6nlix50], .error-state[b-q5a6nlix50] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    font-size: 0.875rem;
}

.loading-state[b-q5a6nlix50] {
    color: var(--evie-text-dim);
}

.error-state[b-q5a6nlix50] {
    color: var(--evie-coral);
}

.btn-sm[b-q5a6nlix50] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ApMatching/DropBox.razor.rz.scp.css */
.dropbox-zone-card[b-zy57q6da9j] {
    margin-bottom: 1.5rem;
}

.dropbox-list-card[b-zy57q6da9j] {
    margin-top: 0;
}

/* Upload results */

.upload-results[b-zy57q6da9j] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.upload-result[b-zy57q6da9j] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
}

.upload-result-success[b-zy57q6da9j] {
    background-color: var(--evie-verified-muted);
    color: var(--evie-verified);
}

.upload-result-error[b-zy57q6da9j] {
    background-color: var(--evie-coral-muted);
    color: var(--evie-coral);
}

.upload-result-filename[b-zy57q6da9j] {
    font-weight: 500;
}

.upload-result-message[b-zy57q6da9j] {
    font-size: 0.75rem;
}

/* Upload progress */

.upload-progress[b-zy57q6da9j] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    background-color: var(--evie-primary-muted);
    color: var(--evie-primary);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
}

.upload-spinner[b-zy57q6da9j] {
    display: inline-block;
    font-size: 1rem;
}

/* Loading state */

.dropbox-loading[b-zy57q6da9j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    color: var(--evie-text-dim);
    font-size: 0.875rem;
}

/* Document table */

.dropbox-table[b-zy57q6da9j] {
    width: 100%;
    border-collapse: collapse;
}

.dropbox-table th[b-zy57q6da9j] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.dropbox-table td[b-zy57q6da9j] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.dropbox-table tr:last-child td[b-zy57q6da9j] {
    border-bottom: none;
}

.dropbox-table tr:hover td[b-zy57q6da9j] {
    background-color: var(--evie-surface);
}

.dropbox-filename[b-zy57q6da9j] {
    color: var(--evie-text);
    font-weight: 500;
}

/* Badge dim for "uploaded" pending state */

[b-zy57q6da9j] .badge-dim {
    background-color: rgba(110, 115, 136, 0.15);
    color: var(--evie-text-dim);
}

/* Error states */

.dropbox-error[b-zy57q6da9j] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--evie-coral);
    font-size: 0.875rem;
}

.view-error-msg[b-zy57q6da9j] {
    display: block;
    color: var(--evie-coral);
    font-size: 0.6875rem;
    margin-top: 0.25rem;
}

/* Small button variant */

.btn-sm[b-zy57q6da9j] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ApMatching/Index.razor.rz.scp.css */
.page-title[b-dvowe3xq02] {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
}

.section-grid[b-dvowe3xq02] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .section-grid[b-dvowe3xq02] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section-grid[b-dvowe3xq02] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.section-card[b-dvowe3xq02] {
    display: block;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 200ms ease-out;
}

.section-card:hover[b-dvowe3xq02] {
    border-color: #C06820;
    box-shadow: 0 0 0 1px #C06820;
}

.section-card-title[b-dvowe3xq02] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 0.375rem 0;
}

.section-card-desc[b-dvowe3xq02] {
    font-size: 0.8125rem;
    color: #6B6B6B;
    margin: 0;
    line-height: 1.5;
}

.count-line[b-dvowe3xq02] {
    color: #6B6B6B;
}
/* /Components/Pages/ApMatching/Invoices.razor.rz.scp.css */
.data-table th[b-yvkq4ppnkb] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.data-table td[b-yvkq4ppnkb] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.data-table tr:last-child td[b-yvkq4ppnkb] {
    border-bottom: none;
}

.data-table tr:hover td[b-yvkq4ppnkb] {
    background-color: var(--evie-surface);
}

.col-money[b-yvkq4ppnkb] {
    text-align: right;
}
/* Loading / error states */

.loading-state[b-yvkq4ppnkb], .error-state[b-yvkq4ppnkb] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    font-size: 0.875rem;
}

.loading-state[b-yvkq4ppnkb] {
    color: var(--evie-text-dim);
}

.error-state[b-yvkq4ppnkb] {
    color: var(--evie-coral);
}

/* Match results */

.match-results-cell[b-yvkq4ppnkb] {
    padding: 0 1rem 1rem 1rem !important;
    background-color: var(--evie-surface) !important;
}

.match-no-results[b-yvkq4ppnkb] {
    padding: 0.75rem;
    color: var(--evie-text-dim);
    font-size: 0.8125rem;
}

.match-candidates[b-yvkq4ppnkb] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-candidates-header[b-yvkq4ppnkb] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
}

.match-candidate[b-yvkq4ppnkb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--evie-border);
    border-radius: 0.5rem;
    background-color: var(--evie-card);
}

.match-candidate-info[b-yvkq4ppnkb] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.match-vendor[b-yvkq4ppnkb], .match-po[b-yvkq4ppnkb] {
    font-size: 0.75rem;
    color: var(--evie-text-dim);
}

.match-candidate-score[b-yvkq4ppnkb] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.match-candidate-reasons[b-yvkq4ppnkb] {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.match-reason[b-yvkq4ppnkb] {
    font-size: 0.6875rem;
    color: var(--evie-text-dim);
    padding: 0.125rem 0.5rem;
    background-color: rgba(110, 115, 136, 0.1);
    border-radius: 0.25rem;
}

/* Small button */

.btn-sm[b-yvkq4ppnkb] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ApMatching/PackageDetail.razor.rz.scp.css */
.page-header[b-y11efi7akv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.detail-section[b-y11efi7akv] {
    margin-bottom: 1rem;
}

.section-title[b-y11efi7akv] {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--evie-text);
    margin-bottom: 0.75rem;
}

.status-row[b-y11efi7akv] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.status-badge[b-y11efi7akv] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-pending[b-y11efi7akv] { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.1); }
.status-verified[b-y11efi7akv] { color: var(--evie-indigo); background: rgba(99, 102, 241, 0.1); }
.status-approved[b-y11efi7akv] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.status-entered[b-y11efi7akv] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.15); }

.hint-text[b-y11efi7akv] {
    font-size: 0.8125rem;
    color: var(--evie-text-dim);
    margin-bottom: 1rem;
}

.field-grid[b-y11efi7akv] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.field-row[b-y11efi7akv] {
    display: grid;
    grid-template-columns: 10rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.field-label[b-y11efi7akv] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--evie-text-muted);
}

.field-input-group[b-y11efi7akv] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-input[b-y11efi7akv] {
    flex: 1;
    padding: 0.375rem 0.625rem;
    background: var(--evie-surface);
    border: 1px solid var(--evie-border);
    border-radius: 0.375rem;
    color: var(--evie-text);
    font-size: 0.8125rem;
}

.field-input:focus[b-y11efi7akv] {
    outline: none;
    border-color: var(--evie-indigo);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.field-modified[b-y11efi7akv] {
    border-color: var(--evie-amber) !important;
    background: rgba(251, 191, 36, 0.05);
}

.confidence-indicator[b-y11efi7akv] {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.confidence-badge[b-y11efi7akv] {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.confidence-high[b-y11efi7akv] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.confidence-medium[b-y11efi7akv] { color: var(--evie-amber); background: rgba(251, 191, 36, 0.1); }
.confidence-low[b-y11efi7akv] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }

.original-value[b-y11efi7akv] {
    font-size: 0.6875rem;
    color: var(--evie-text-dim);
    font-style: italic;
}

.action-bar[b-y11efi7akv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--evie-border);
}

.save-message[b-y11efi7akv] {
    font-size: 0.8125rem;
}

.success-state[b-y11efi7akv] {
    color: var(--evie-teal);
}
.mono[b-y11efi7akv] {
    font-family: var(--evie-font-mono);
}
.data-table th[b-y11efi7akv] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 1rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-y11efi7akv] { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-y11efi7akv] { border-bottom: none; }

.loading-state[b-y11efi7akv], .error-state[b-y11efi7akv] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; }
.loading-state[b-y11efi7akv] { color: var(--evie-text-dim); }
.error-state[b-y11efi7akv] { color: var(--evie-coral); }
.btn-sm[b-y11efi7akv] { padding: 0.25rem 0.625rem; font-size: 0.75rem; }
/* /Components/Pages/ApMatching/Packages.razor.rz.scp.css */
.data-table th[b-wo6nc6cogm] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.data-table td[b-wo6nc6cogm] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.data-table tr:last-child td[b-wo6nc6cogm] {
    border-bottom: none;
}

.data-table tr:hover td[b-wo6nc6cogm] {
    background-color: var(--evie-surface);
}
.needs-attention[b-wo6nc6cogm] {
    margin-left: 0.25rem;
}

/* Workflow stamps */

.workflow-stamp[b-wo6nc6cogm] {
    display: inline-block;
    font-size: 0.6875rem;
    color: var(--evie-text-dim);
    margin-right: 0.375rem;
}
/* Action buttons */

.btn-stamp[b-wo6nc6cogm] {
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--evie-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-stamp:hover[b-wo6nc6cogm] {
    background-color: rgba(99, 102, 241, 0.25);
}

.btn-reject[b-wo6nc6cogm] {
    color: var(--evie-coral);
    border-color: rgba(248, 113, 113, 0.3);
}

.btn-reject:hover[b-wo6nc6cogm] {
    background-color: rgba(248, 113, 113, 0.1);
}
/* Loading / error states */

.loading-state[b-wo6nc6cogm], .error-state[b-wo6nc6cogm] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    font-size: 0.875rem;
}

.loading-state[b-wo6nc6cogm] {
    color: var(--evie-text-dim);
}

.error-state[b-wo6nc6cogm] {
    color: var(--evie-coral);
}

.btn-sm[b-wo6nc6cogm] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ApMatching/PackingSlips.razor.rz.scp.css */
.data-table th[b-ho77xeu8vr] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.data-table td[b-ho77xeu8vr] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.data-table tr:last-child td[b-ho77xeu8vr] {
    border-bottom: none;
}

.data-table tr:hover td[b-ho77xeu8vr] {
    background-color: var(--evie-surface);
}
/* Loading / error states */

.loading-state[b-ho77xeu8vr], .error-state[b-ho77xeu8vr] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    font-size: 0.875rem;
}

.loading-state[b-ho77xeu8vr] {
    color: var(--evie-text-dim);
}

.error-state[b-ho77xeu8vr] {
    color: var(--evie-coral);
}

.btn-sm[b-ho77xeu8vr] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ApMatching/Payment.razor.rz.scp.css */
.data-table th[b-8cdywee356] {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.data-table td[b-8cdywee356] {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.5);
}

.data-table tr:last-child td[b-8cdywee356] {
    border-bottom: none;
}

.data-table tr:hover td[b-8cdywee356] {
    background-color: var(--evie-surface);
}
.batch-actions[b-8cdywee356] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--evie-border);
}

.batch-status[b-8cdywee356] {
    color: var(--evie-text-dim);
    font-size: 0.8125rem;
}

.btn-stamp[b-8cdywee356] {
    background-color: rgba(99, 102, 241, 0.15);
    color: var(--evie-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-stamp:hover[b-8cdywee356] {
    background-color: rgba(99, 102, 241, 0.25);
}
.loading-state[b-8cdywee356], .error-state[b-8cdywee356] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 2rem;
    font-size: 0.875rem;
}

.loading-state[b-8cdywee356] {
    color: var(--evie-text-dim);
}

.error-state[b-8cdywee356] {
    color: var(--evie-coral);
}

.btn-sm[b-8cdywee356] {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
}
/* /Components/Pages/ComingSoon.razor.rz.scp.css */
.coming-soon[b-tlyih8rhfh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem;
    gap: 0.75rem;
}

.coming-soon-title[b-tlyih8rhfh] {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: #1A1A1A;
}

.coming-soon-desc[b-tlyih8rhfh] {
    font-size: 0.9375rem;
    color: #6B6B6B;
    max-width: 28rem;
    line-height: 1.625;
    margin: 0;
}

.coming-soon-badge[b-tlyih8rhfh] {
    display: inline-block;
    padding: 0.375rem 1rem;
    background-color: rgba(192, 104, 32, 0.1);
    color: #C06820;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    margin-top: 0.5rem;
}

.coming-soon-link[b-tlyih8rhfh] {
    margin-top: 1.5rem;
}
/* /Components/Pages/Error.razor.rz.scp.css */
.error-content[b-3eiz8jm595] {
    text-align: center;
    padding-top: 4rem;
}

.error-title[b-3eiz8jm595] {
    font-size: 1rem;
    font-weight: 500;
    color: var(--evie-coral);
    margin-bottom: 0.75rem;
}

.error-message[b-3eiz8jm595] {
    font-size: 0.875rem;
    color: var(--evie-text-muted);
    margin-bottom: 0.5rem;
}

.error-request-id[b-3eiz8jm595] {
    font-size: 0.75rem;
    color: var(--evie-text-dim);
}

.error-request-id code[b-3eiz8jm595] {
    color: var(--evie-text-muted);
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-3sz7bb1pmt] {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 4rem;
}

.home-greeting[b-3sz7bb1pmt] {
    text-align: center;
    margin-bottom: 3rem;
}

.home-greeting-label[b-3sz7bb1pmt] {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.home-greeting-title[b-3sz7bb1pmt] {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.2;
}

.home-greeting-accent[b-3sz7bb1pmt] {
    font-style: italic;
    color: #C06820;
}

.module-grid[b-3sz7bb1pmt] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .home-container[b-3sz7bb1pmt] {
        padding-top: 2rem;
    }

    .home-greeting-title[b-3sz7bb1pmt] {
        font-size: 1.75rem;
    }

    .module-grid[b-3sz7bb1pmt] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* Auth form styles moved to wwwroot/css/evie.css so they apply to all
   pages that use AuthLayout (Login, ForgotPassword, ChangePassword, ResetPassword). */
/* /Components/Pages/NotFound.razor.rz.scp.css */
.not-found-content[b-itk6dgl7ju] {
    text-align: center;
    padding-top: 4rem;
}

.not-found-title[b-itk6dgl7ju] {
    font-size: 1rem;
    font-weight: 500;
    color: var(--evie-text);
    margin-bottom: 0.75rem;
}

.not-found-message[b-itk6dgl7ju] {
    font-size: 0.875rem;
    color: var(--evie-text-muted);
    margin-bottom: 1.5rem;
}
/* /Components/Pages/OrderEntry/HeldDocumentsSection.razor.rz.scp.css */
.held-section[b-uexw0gj28a] {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--ev-border, rgba(148, 163, 184, 0.18));
    border-radius: 0.75rem;
    background-color: var(--ev-surface-2, rgba(148, 163, 184, 0.04));
    /* Never take more than half the grid area: a long list scrolls internally
       instead of pushing the order grid above it into a collapse. */
    box-sizing: border-box;
    max-height: 50%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex-shrink: 0;
}

.held-header[b-uexw0gj28a] {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.held-title[b-uexw0gj28a] {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A1A;
}

.held-subtitle[b-uexw0gj28a] {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #6B6B6B;
}

.held-list[b-uexw0gj28a] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    overflow-y: auto;
    min-height: 0;
    flex: 1;
}

.held-list[b-uexw0gj28a]::-webkit-scrollbar {
    width: 4px;
}

.held-list[b-uexw0gj28a]::-webkit-scrollbar-track {
    background: transparent;
}

.held-list[b-uexw0gj28a]::-webkit-scrollbar-thumb {
    background-color: #E5E7EB;
    border-radius: 2px;
}

.held-list[b-uexw0gj28a]::-webkit-scrollbar-thumb:hover {
    background-color: #9CA3AF;
}

.held-card[b-uexw0gj28a] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--ev-border, rgba(148, 163, 184, 0.14));
    border-radius: 0.5rem;
    background-color: var(--ev-surface, rgba(148, 163, 184, 0.03));
    flex-shrink: 0;
}

.held-info[b-uexw0gj28a] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.held-name[b-uexw0gj28a] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.held-meta[b-uexw0gj28a] {
    font-size: 0.75rem;
    color: #6B6B6B;
}

.held-meta strong[b-uexw0gj28a] {
    color: #1A1A1A;
    font-weight: 500;
}

/* Small kind tag at the start of the meta line. */
.held-tag[b-uexw0gj28a] {
    display: inline-block;
    padding: 0.0625rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 500;
}

.held-tag-duplicate[b-uexw0gj28a] {
    background-color: rgba(59, 130, 246, 0.12);
    color: #2563EB;
}

.held-tag-notpo[b-uexw0gj28a] {
    background-color: rgba(217, 119, 6, 0.12);
    color: #B45309;
}

.held-tag-error[b-uexw0gj28a] {
    background-color: rgba(220, 38, 38, 0.12);
    color: #DC2626;
}

/* Actions pinned to the right of each card. */
.held-actions[b-uexw0gj28a] {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.held-btn[b-uexw0gj28a] {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Document viewer / side-by-side compare — full-screen modal. */
.held-viewer-overlay[b-uexw0gj28a] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(15, 23, 42, 0.72);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.held-viewer-panel[b-uexw0gj28a] {
    background-color: #FFFFFF;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.held-viewer-bar[b-uexw0gj28a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #E5E5E5;
    background-color: #FFFFFF;
    flex-shrink: 0;
}

.held-viewer-heading[b-uexw0gj28a] {
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A1A;
}

.held-viewer-close[b-uexw0gj28a] {
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    font-size: 0.875rem;
    line-height: 1;
    color: #6B6B6B;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.held-viewer-close:hover[b-uexw0gj28a] {
    background-color: #F1F5F9;
    color: #1A1A1A;
}

.held-viewer-body[b-uexw0gj28a] {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 1px;
    background-color: #E5E5E5;
}

.held-viewer-pane[b-uexw0gj28a] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background-color: #F8FAFC;
}

.held-viewer-pane-label[b-uexw0gj28a] {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334155;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEF1F4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.held-viewer-frame[b-uexw0gj28a] {
    flex: 1;
    min-height: 0;
    position: relative;
}

/* The Apryse container fills its pane (global rule sets 100%; pin a floor so it
   never collapses while the viewer initializes). */
.held-viewer-frame[b-uexw0gj28a]  .apryse-viewer-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
}

/* File-type chip — self-contained here since scoped CSS doesn't cross into
   this component from the grid. */
.file-icon[b-uexw0gj28a] {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.file-icon-pdf[b-uexw0gj28a] {
    background-color: rgba(220, 74, 58, 0.1);
    color: #DC4A3A;
}

.file-icon-xls[b-uexw0gj28a] {
    background-color: rgba(46, 139, 87, 0.1);
    color: #16A34A;
}

.file-icon-csv[b-uexw0gj28a] {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.file-icon-default[b-uexw0gj28a] {
    background-color: rgba(148, 163, 184, 0.1);
    color: #94A3B8;
}
/* /Components/Pages/OrderEntry/Index.razor.rz.scp.css */
.order-page-layout[b-4byqd4m18f] {
    display: flex;
    height: calc(100vh - 56px - 2rem - 3.5rem - 32px);
    overflow: hidden;
}

/* Order Management Section */
.order-management[b-4byqd4m18f] {
    min-width: 65%;
    max-width: 1100px;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-management-pinned[b-4byqd4m18f] {
    flex-shrink: 0;
}

/* The grid + Not-a-PO section share the space left after the pinned filters.
   Wrapping them lets the Not-a-PO section's max-height resolve against THIS
   area (the grid's normal height), not the whole column. */
.order-grid-area[b-4byqd4m18f] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-table-container[b-4byqd4m18f] {
    flex: 1;
    min-height: 0;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-table[b-4byqd4m18f] {
    width: 100%;
    border-collapse: collapse;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.order-table thead[b-4byqd4m18f] {
    flex-shrink: 0;
}

.order-table-container tbody[b-4byqd4m18f] {
    display: block;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.order-table-container thead tr[b-4byqd4m18f],
.order-table-container tbody tr[b-4byqd4m18f] {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.order-table-container tbody[b-4byqd4m18f]::-webkit-scrollbar {
    width: 4px;
}

.order-table-container tbody[b-4byqd4m18f]::-webkit-scrollbar-track {
    background: transparent;
}

.order-table-container tbody[b-4byqd4m18f]::-webkit-scrollbar-thumb {
    background-color: #E5E7EB;
    border-radius: 2px;
}

.order-table-container tbody[b-4byqd4m18f]::-webkit-scrollbar-thumb:hover {
    background-color: #9CA3AF;
}

.order-entry-header[b-4byqd4m18f] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.order-entry-breadcrumb[b-4byqd4m18f] {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #9CA3AF;
}

.order-entry-title[b-4byqd4m18f] {
    font-size: 1.375rem;
    font-weight: 400;
    color: #1A1A1A;
    margin: 0.25rem 0 0 0;
}

.order-entry-subtitle[b-4byqd4m18f] {
    font-size: 0.875rem;
    color: #6B6B6B;
    margin: 0.25rem 0 0 0;
}

.order-entry-header-right[b-4byqd4m18f] {
    text-align: right;
}

.upload-btn[b-4byqd4m18f] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: #C06820;
    color: #FFFFFF;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms;
}

.upload-btn:hover[b-4byqd4m18f] {
    background-color: #A85818;
}

.upload-hint[b-4byqd4m18f] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin: 0.5rem 0 0 0;
}

/* Filters */
.order-entry-filters[b-4byqd4m18f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    min-height: 3.5rem;
}

.filter-btn[b-4byqd4m18f] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    color: #6B6B6B;
    border: 1px solid #E5E5E5;
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
}

.filter-btn:hover[b-4byqd4m18f] {
    border-color: #C06820;
    color: #C06820;
}

.filter-btn-active[b-4byqd4m18f] {
    border-color: #C06820;
    color: #C06820;
}

.filter-spacer[b-4byqd4m18f] {
    flex: 1;
}

.search-box[b-4byqd4m18f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.5rem;
    width: 320px;
}

.search-box svg[b-4byqd4m18f] {
    color: #9CA3AF;
    flex-shrink: 0;
}

.search-input[b-4byqd4m18f] {
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: #1A1A1A;
    width: 100%;
}

.search-input[b-4byqd4m18f]::placeholder {
    color: #9CA3AF;
}

.order-table th[b-4byqd4m18f] {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    border-bottom: 1px solid #E5E5E5;
    background-color: #FAFAFA;
}

.th-confidence[b-4byqd4m18f],
.td-confidence[b-4byqd4m18f] {
    width: 100px;
}

.th-updated[b-4byqd4m18f],
.td-updated[b-4byqd4m18f] {
    width: 120px;
}

.th-action[b-4byqd4m18f],
.td-action[b-4byqd4m18f] {
    width: 90px;
    text-align: center;
}

.order-table td[b-4byqd4m18f] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #F5F5F5;
    vertical-align: middle;
}

.order-row:last-child td[b-4byqd4m18f] {
    border-bottom: none;
}

.order-row:hover[b-4byqd4m18f] {
    background-color: #FAFAFA;
}

/* Document cell */
.document-cell[b-4byqd4m18f] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.file-icon[b-4byqd4m18f] {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.file-icon-pdf[b-4byqd4m18f] {
    background-color: rgba(220, 74, 58, 0.1);
    color: #DC4A3A;
}

.file-icon-xls[b-4byqd4m18f] {
    background-color: rgba(46, 139, 87, 0.1);
    color: #16A34A;
}

.file-icon-csv[b-4byqd4m18f] {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

.file-icon-default[b-4byqd4m18f] {
    background-color: #F5F5F5;
    color: #6B7280;
}

.document-info[b-4byqd4m18f] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    /* Let this column shrink inside the flex row instead of forcing its
       intrinsic width — without min-width:0 a long unbreakable filename
       overflows the cell and overlaps the customer column. */
    flex: 1;
    min-width: 0;
}

.document-name[b-4byqd4m18f] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
    /* Truncate long, unbreakable names rather than overflow the cell. */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-meta[b-4byqd4m18f] {
    font-size: 0.75rem;
    color: #9CA3AF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Customer */
.td-customer[b-4byqd4m18f] {
    font-size: 0.875rem;
    color: #1A1A1A;
}

/* Status badge */
.status-badge[b-4byqd4m18f] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.status-dot[b-4byqd4m18f] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-needs-review[b-4byqd4m18f] {
    background-color: rgba(232, 168, 56, 0.15);
    color: #B8860B;
}

.status-needs-review .status-dot[b-4byqd4m18f] {
    background-color: #B8860B;
}

.status-ready[b-4byqd4m18f] {
    background-color: rgba(46, 139, 87, 0.12);
    color: #16A34A;
}

.status-ready .status-dot[b-4byqd4m18f] {
    background-color: #16A34A;
}

.status-sent[b-4byqd4m18f] {
    background-color: rgba(107, 114, 128, 0.12);
    color: #6B7280;
}

.status-sent .status-dot[b-4byqd4m18f] {
    background-color: #6B7280;
}

.status-failed[b-4byqd4m18f] {
    background-color: rgba(220, 38, 38, 0.12);
    color: #DC2626;
}

.status-failed .status-dot[b-4byqd4m18f] {
    background-color: #DC2626;
}

/* Violet — distinct from the amber "needs review" and not red (which would
   read as an error). A deliberate "flagged for follow-up" marker. */
.status-flagged[b-4byqd4m18f] {
    background-color: rgba(124, 58, 237, 0.15);
    color: #7C3AED;
}

.status-flagged .status-dot[b-4byqd4m18f] {
    background-color: #7C3AED;
}

/* Queued — waiting in the durable extraction queue. Pending has no color
   (brand rule): a muted neutral slate, no alarm. */
.status-queued[b-4byqd4m18f] {
    background-color: rgba(148, 163, 184, 0.12);
    color: #94A3B8;
}

.status-queued .status-dot[b-4byqd4m18f] {
    background-color: #94A3B8;
}

/* Duplicate — the PO already exists in the ERP. Informational, not an error,
   so a distinct cool blue rather than coral. */
.status-duplicate[b-4byqd4m18f] {
    background-color: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
}

.status-duplicate .status-dot[b-4byqd4m18f] {
    background-color: #3B82F6;
}

/* Small secondary line under a status badge (e.g. the matched ERP order ref
   on a Duplicate row). Identifiers stay monospace per brand. */
.status-subnote[b-4byqd4m18f] {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: #94A3B8;
}

/* Inline Retry / Remove buttons on a Failed row. */
.row-actions[b-4byqd4m18f] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.row-action-btn[b-4byqd4m18f] {
    padding: 0.3125rem 0.625rem;
    font-size: 0.75rem;
}

/* Confidence */
.confidence-value[b-4byqd4m18f] {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
}

.confidence-high[b-4byqd4m18f] {
    color: #16A34A;
}

.confidence-medium[b-4byqd4m18f] {
    color: #B8860B;
}

.confidence-low[b-4byqd4m18f] {
    color: #DC4A3A;
}

/* Updated */
.td-updated[b-4byqd4m18f] {
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* Action links */
.action-link[b-4byqd4m18f] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    text-decoration: none;
    transition: color 150ms;
}

.action-link:hover[b-4byqd4m18f] {
    color: #6B6B6B;
}

.action-link-review[b-4byqd4m18f] {
    color: #C06820;
}

.action-link-review:hover[b-4byqd4m18f] {
    color: #A85818;
}

.action-arrow[b-4byqd4m18f] {
    font-size: 0.75rem;
    line-height: 1;
}

/* Footer hint */
.order-footer-hint[b-4byqd4m18f] {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: #9CA3AF;
}

/* Upload dialog */
.upload-overlay[b-4byqd4m18f] {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.upload-dialog[b-4byqd4m18f] {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
}

.upload-dialog h2[b-4byqd4m18f] {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 0.5rem 0;
}

.upload-dialog p[b-4byqd4m18f] {
    color: #6B6B6B;
    margin: 0 0 1.5rem 0;
}

/* Order Upload Section */
.upload-section[b-4byqd4m18f] {
    min-width: 33%;
    max-width: 1100px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.upload-section-pinned[b-4byqd4m18f] {
    flex-shrink: 0;
}

.upload-card-list[b-4byqd4m18f] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
    padding-bottom: 1rem;
}

.upload-card-list[b-4byqd4m18f]::-webkit-scrollbar {
    width: 4px;
}

.upload-card-list[b-4byqd4m18f]::-webkit-scrollbar-track {
    background: transparent;
}

.upload-card-list[b-4byqd4m18f]::-webkit-scrollbar-thumb {
    background-color: #E5E7EB;
    border-radius: 2px;
}

.upload-card-list[b-4byqd4m18f]::-webkit-scrollbar-thumb:hover {
    background-color: #9CA3AF;
}
/* /Components/Pages/OrderEntry/Review.razor.rz.scp.css */
.review-page[b-zheyk4leov] {
    width: 100%;
}

/* Base .oe-loading/.oe-empty is global (evie.css); only the page-specific
   empty-state heading margin stays scoped here. */
.oe-empty h2[b-zheyk4leov] {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-header[b-zheyk4leov] {
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid #E5E5E5;
}

.eyebrow[b-zheyk4leov] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9CA3AF;
    margin-bottom: 0.375rem;
}

.header-top[b-zheyk4leov] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.page-title[b-zheyk4leov] {
    font-size: 1.375rem;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.1;
    margin: 0;
}

.page-sub[b-zheyk4leov] {
    font-size: 0.875rem;
    color: #6B6B6B;
    margin: 0.25rem 0 0 0;
}

.header-actions[b-zheyk4leov] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn[b-zheyk4leov] {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid;
    transition: all 0.18s;
    white-space: nowrap;
    background: transparent;
}

.btn-sm[b-zheyk4leov] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Ghost buttons read as active by default — the old ghost grey made enabled
   buttons (Back to list, Cancel, Confirm Review, etc.) look disabled. Disabled
   then has its own clearly-muted state. */
.btn-ghost[b-zheyk4leov] {
    color: #1A1A1A;
    border-color: #C8C8C8;
}

.btn-ghost:hover:not(:disabled)[b-zheyk4leov] {
    border-color: #9CA3AF;
    color: #1A1A1A;
    background: #FAFAFA;
}

.btn-ghost:disabled[b-zheyk4leov] {
    color: #B0B0B0;
    border-color: #ECECEC;
    cursor: not-allowed;
}

.btn-outline[b-zheyk4leov] {
    color: #C06820;
    border-color: #FCCF9A;
}

.btn-outline:hover[b-zheyk4leov] {
    background: #FFF5EE;
    border-color: #C06820;
}

.btn-warning[b-zheyk4leov] {
    background: #FFFBEB;
    color: #92400E;
    border-color: #FCD34D;
}

.btn-warning:hover[b-zheyk4leov] {
    background: #FEF3C7;
}

.btn-primary[b-zheyk4leov] {
    background: #C06820;
    color: #FFF;
    border-color: #C06820;
    box-shadow: 0 3px 10px rgba(192, 104, 32, 0.22);
}

.btn-primary:hover:not(:disabled)[b-zheyk4leov] {
    background: #A85818;
    box-shadow: 0 5px 16px rgba(192, 104, 32, 0.32);
    transform: translateY(-1px);
}

.btn-primary:disabled[b-zheyk4leov] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-link[b-zheyk4leov] {
    background: none;
    border: none;
    color: #C06820;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.btn-link.danger[b-zheyk4leov] {
    color: #DC4A3A;
}

/* Summary strip */
.summary-strip[b-zheyk4leov] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #E5E5E5;
    background: #FAFAFA;
}

.sum-item[b-zheyk4leov] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sum-label[b-zheyk4leov] {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
}

.sum-val[b-zheyk4leov] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.sum-sep[b-zheyk4leov] {
    width: 1px;
    height: 20px;
    background: #E5E5E5;
}

.file-badge[b-zheyk4leov] {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    border: 1px solid;
}

.badge-pdf[b-zheyk4leov] {
    color: #C06820;
    background: #FFF5EE;
    border-color: #FCCF9A;
}

.pill[b-zheyk4leov] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
}

.pill-dot[b-zheyk4leov] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.pill-review[b-zheyk4leov] {
    color: #92400E;
    background: #FFFBEB;
    border-color: #FCD34D;
}

.pill-review .pill-dot[b-zheyk4leov] {
    background: #D97706;
}

.pill-ready[b-zheyk4leov] {
    color: #14532D;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.pill-ready .pill-dot[b-zheyk4leov] {
    background: #16A34A;
}

.pill-sent[b-zheyk4leov] {
    color: #374151;
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.pill-sent .pill-dot[b-zheyk4leov] {
    background: #6B7280;
}

.pill-failed[b-zheyk4leov] {
    color: #991B1B;
    background: #FEF2F2;
    border-color: #FECACA;
}

.pill-failed .pill-dot[b-zheyk4leov] {
    background: #DC2626;
}

/* Violet — distinct from the amber "needs review" pill and not red (error). */
.pill-flagged[b-zheyk4leov] {
    color: #6D28D9;
    background: #F5F3FF;
    border-color: #C4B5FD;
}

.pill-flagged .pill-dot[b-zheyk4leov] {
    background: #7C3AED;
}

.conf-badge[b-zheyk4leov] {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
}

.conf-high[b-zheyk4leov] { color: #16A34A; }
.conf-mid[b-zheyk4leov]  { color: #D97706; }
.conf-low[b-zheyk4leov]  { color: #DC2626; }

/* Workspace */
.workspace[b-zheyk4leov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-top: 1.5rem;
    /* start, not stretch: a long extracted-data panel must not stretch the source
       -document panel to match (which pushes the PDF far down / vertically centered). */
    align-items: start;
    min-width: 0;
}

/* The source-document viewer keeps a bounded viewport height and sticks in view
   while the (potentially very long) extracted-data panel scrolls beside it, so the
   document always sits at the top of the viewer instead of being centered in an
   over-tall column. */
.doc-panel[b-zheyk4leov] {
    position: sticky;
    /* Clear the 56px sticky app header, with a little breathing room. */
    top: calc(56px + 1rem);
    /* Fit between the 56px header and the fixed 60px bottom action bar (plus a
       1rem gap above each) so the viewer never tucks behind the footer. */
    height: calc(100vh - 56px - 60px - 2rem);
}

.panel[b-zheyk4leov] {
    min-width: 0;
}

.panel[b-zheyk4leov] {
    background: #FFFFFF;
    border: 1.5px solid #E5E5E5;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 600px;
}

.panel-header[b-zheyk4leov] {
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.panel-title[b-zheyk4leov] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
}

.panel-sub[b-zheyk4leov] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.125rem;
}

/* "Source not located" hint — subtle amber, not alarming. */
.panel-sub.hl-miss[b-zheyk4leov] {
    color: #B45309;
}

.panel-controls[b-zheyk4leov] {
    display: flex;
    gap: 0.35rem;
}

.panel-body[b-zheyk4leov] {
    flex: 1;
    overflow-y: auto;
}

.doc-viewer-body[b-zheyk4leov] {
    padding: 0;
    background: #EBEBEB;
    overflow: hidden; /* clip to rounded corners of .panel when viewer is full-height */
}

.doc-viewer-body[b-zheyk4leov]  .apryse-viewer-container {
    height: 100%;
    min-height: 560px;
}

.viewer-placeholder[b-zheyk4leov] {
    padding: 3rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Right sections */
.right-section[b-zheyk4leov] {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #F0F0F0;
}

.right-section:last-child[b-zheyk4leov] {
    border-bottom: none;
}

.section-head[b-zheyk4leov] {
    margin-bottom: 0.875rem;
}

.section-title[b-zheyk4leov] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
}

.section-sub[b-zheyk4leov] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.125rem;
}

.section-toolbar[b-zheyk4leov] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.875rem;
}

.section-count[b-zheyk4leov] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-actions[b-zheyk4leov] {
    display: flex;
    gap: 0.375rem;
}

/* Fields */
.fields-grid[b-zheyk4leov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.field-full[b-zheyk4leov] {
    grid-column: 1 / -1;
}

.field-item[b-zheyk4leov] {
    /* Subtle warm-neutral fill so each field reads as its own card against
       the white panel — the border alone wasn't enough separation. */
    background: #FAF9F7;
    border: 1px solid #E7E3DD;
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    transition: border-color 0.15s, background-color 0.15s;
}

.field-item:hover[b-zheyk4leov] {
    border-color: #D6CFC5;
    background: #FCFBFA;
}

.field-item:focus-within[b-zheyk4leov] {
    border-color: #C06820;
    box-shadow: 0 0 0 3px rgba(192, 104, 32, 0.1);
}

.field-label-row[b-zheyk4leov] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.field-label[b-zheyk4leov] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    font-weight: 500;
}

.conf-tag[b-zheyk4leov] {
    font-size: 0.625rem;
    font-weight: 500;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid;
}

.tag-high[b-zheyk4leov] {
    color: #14532D;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.tag-mid[b-zheyk4leov] {
    color: #92400E;
    background: #FFFBEB;
    border-color: #FCD34D;
}

.tag-low[b-zheyk4leov] {
    color: #DC2626;
    background: #FEF2F2;
    border-color: #FECACA;
}

.conf-dot[b-zheyk4leov] {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.conf-dot.tag-high[b-zheyk4leov]   { background: #16A34A; }
.conf-dot.tag-mid[b-zheyk4leov]    { background: #D97706; }
.conf-dot.tag-low[b-zheyk4leov]    { background: #DC2626; }
.conf-dot.tag-failed[b-zheyk4leov] { background: #DC2626; }

.field-input[b-zheyk4leov] {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
    padding: 0;
    outline: none;
}

.field-note[b-zheyk4leov] {
    font-size: 0.75rem;
    color: #D97706;
    margin-top: 0.25rem;
}

/* Success variant for resolved-match notes (e.g. "Matched to ERP customer X"). */
.field-note.match[b-zheyk4leov] {
    color: #059669;
}

.field-note.matching[b-zheyk4leov] {
    color: #6B6B6B;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.field-note.matching[b-zheyk4leov]::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #9CA3AF;
    animation: match-pulse-b-zheyk4leov 1.4s ease-in-out infinite;
}

@keyframes match-pulse-b-zheyk4leov {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.field-note.notfound[b-zheyk4leov] {
    color: #DC4A3A;
}

.field-note.failed[b-zheyk4leov] {
    color: #B5443B;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.field-note .retry-btn[b-zheyk4leov] {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #C06820;
    background: transparent;
    border: 1px solid #FCCF9A;
    border-radius: 0.375rem;
    padding: 0.125rem 0.5rem;
    cursor: pointer;
}

.field-note .retry-btn:hover[b-zheyk4leov] {
    background: #FFF5EE;
    border-color: #C06820;
}

.field-note .retry-btn:disabled[b-zheyk4leov] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Stage suffix shown next to "Matched ..." in field-note variants
   (header-level matches like ShipTo). Same look as .cell-note .stage-tag. */
.field-note .stage-tag[b-zheyk4leov] {
    color: #9CA3AF;
    font-style: italic;
    margin-left: 0.25rem;
    font-weight: 400;
}

/* Six-input ship-to grid. Two columns on wide layouts; collapses to one
   column under ~520px. Line 1 + Line 2 span both columns. */
.shipto-grid[b-zheyk4leov] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.shipto-grid .shipto-line1[b-zheyk4leov],
.shipto-grid .shipto-line2[b-zheyk4leov] {
    grid-column: 1 / -1;
}

@media (max-width: 520px) {
    .shipto-grid[b-zheyk4leov] {
        grid-template-columns: 1fr;
    }
}

/* Ship-to picker — a small inline "Change" link that lazily loads the
   customer's ERP ship-tos into a popup menu on first open. */
.shipto-dd[b-zheyk4leov] {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
}

/* The status value rendered as an inline "click to change" combobox: dashed
   underline + caret signal it's editable; subtle hover confirms it. Inherits
   the surrounding note's font/colour so it still reads as the value. Kept as
   display:inline so the label sits on the sentence baseline. */
.shipto-dd-trigger-inline[b-zheyk4leov] {
    display: inline;
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    border-radius: 3px;
    padding: 0 0.15rem;
    margin: 0;
    cursor: pointer;
}

.shipto-dd-trigger-label[b-zheyk4leov] {
    border-bottom: 1px dashed currentColor;
}

.shipto-dd-trigger-inline:hover[b-zheyk4leov] {
    background: rgba(0, 0, 0, 0.06);
}

.shipto-dd-trigger-inline:hover .shipto-dd-trigger-label[b-zheyk4leov] {
    border-bottom-style: solid;
}

.shipto-dd-chevron[b-zheyk4leov] {
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.15rem;
    vertical-align: -0.08em;
    transition: transform 0.15s ease;
}

.shipto-dd-chevron.open[b-zheyk4leov] {
    transform: rotate(180deg);
}

.shipto-dd-menu[b-zheyk4leov] {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.25rem);
    left: 0;
}

/* Fixed-positioned variant (candidate-parts picker): JS (dropdown-interop.js)
   sets top/left relative to the trigger so the menu escapes the clipped
   line-items panel entirely — robust even when the panel is only 1-2 rows.
   Starts hidden until JS places it (no flash), above the backdrop. */
.shipto-dd-menu.dd-fixed[b-zheyk4leov] {
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    z-index: 2000;
}

.shipto-dd-menu[b-zheyk4leov] {
    min-width: 20rem;
    max-width: 32rem;
    max-height: 16rem;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.25rem;
}

/* Full-viewport outside-click catcher; sits just below the menu (z 20). */
.shipto-dd-backdrop[b-zheyk4leov] {
    position: fixed;
    inset: 0;
    z-index: 19;
}

/* Search box pinned to the top of the menu while the options scroll. */
.shipto-dd-search[b-zheyk4leov] {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: #1F2937;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.25rem;
    outline: none;
}

.shipto-dd-search:focus[b-zheyk4leov] {
    border-color: #C06820;
}

.shipto-dd-status[b-zheyk4leov] {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    color: #6B6B6B;
}

.shipto-dd-option[b-zheyk4leov] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: #1F2937;
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.625rem;
    cursor: pointer;
    text-align: left;
}

.shipto-dd-option:hover[b-zheyk4leov] {
    background: #F5F5F5;
}

.shipto-dd-option.active[b-zheyk4leov] {
    background: #FFF5EE;
    color: #C06820;
}

.shipto-dd-option-main[b-zheyk4leov] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.shipto-dd-option-text[b-zheyk4leov] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shipto-dd-option-addr[b-zheyk4leov] {
    font-size: 0.6875rem;
    color: #9CA3AF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shipto-dd-option.active .shipto-dd-option-addr[b-zheyk4leov] {
    color: #C0996F;
}

.shipto-dd-default[b-zheyk4leov] {
    flex: 0 0 auto;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6B7280;
    background: #F0F0F0;
    border-radius: 999px;
    padding: 0.0625rem 0.375rem;
}

/* Per-line UOM match indicator. Smaller-footprint variant of .field-note;
   sits inside the table cell below the Uom input. */
.cell-note[b-zheyk4leov] {
    font-size: 0.6875rem;
    margin-top: 0.25rem;
    line-height: 1.1;
}

.cell-note.match[b-zheyk4leov] {
    color: #059669;
}

.cell-note.matching[b-zheyk4leov] {
    color: #6B6B6B;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
}

.cell-note.matching .dot[b-zheyk4leov] {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #9CA3AF;
    animation: match-pulse-b-zheyk4leov 1.4s ease-in-out infinite;
}

.cell-note.notfound[b-zheyk4leov] {
    color: #DC4A3A;
}

.cell-note.failed[b-zheyk4leov] {
    color: #B5443B;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.cell-note .match-retry-btn[b-zheyk4leov] {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    color: #C06820;
    background: transparent;
    border: 1px solid #FCCF9A;
    border-radius: 0.25rem;
    padding: 0 0.375rem;
    cursor: pointer;
    line-height: 1.4;
}

.cell-note .match-retry-btn:hover[b-zheyk4leov] {
    background: #FFF5EE;
    border-color: #C06820;
}

.cell-note .match-retry-btn:disabled[b-zheyk4leov] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Stage suffix shown next to "Matched" — e.g. "(description, LIKE)".
   Dim and italic so the primary "Matched" text reads first; the stage
   label is for reviewers who care about how the match was made. */
.cell-note .stage-tag[b-zheyk4leov] {
    color: #9CA3AF;
    font-style: italic;
    margin-left: 0.25rem;
    font-weight: 400;
}

/* Line table */
.empty-lines[b-zheyk4leov] {
    padding: 1rem 1.15rem;
    background: #FAFAFA;
    border: 1px dashed #E5E5E5;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #6B6B6B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.line-table-wrap[b-zheyk4leov] {
    /* overflow-x:auto keeps horizontal scroll for the min-width table and
       (per CSS) computes overflow-y to auto, so content clips to the
       rounded corners — framing the line items as a card like the fields. */
    overflow-x: auto;
    border: 1px solid #E7E3DD;
    border-radius: 8px;
}

.line-table[b-zheyk4leov] {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.875rem;
}

.line-table th[b-zheyk4leov] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    padding: 0.6rem 0.5rem;
    text-align: left;
    font-weight: 500;
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
}

.line-table td[b-zheyk4leov] {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: top;
}

.line-table tbody tr.flagged td[b-zheyk4leov] {
    background: #FFFDF5;
}

.cell-input[b-zheyk4leov] {
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: #1A1A1A;
    padding: 0.25rem 0.4rem;
    border-radius: 3px;
    outline: none;
}

.cell-input.mono[b-zheyk4leov] {
    font-family: var(--font-mono);
}

/* Field-vs-document mismatch marker: the field was edited to a value that
   isn't on the document. Coral underline + faint tint (works on the borderless
   field inputs and the bordered cell inputs alike). */
/* Amber, not red — a value that isn't on the document is an attention cue,
   not an error (it's often legitimately the case after an edit/alias). */
.field-input.doc-mismatch[b-zheyk4leov],
.cell-input.doc-mismatch[b-zheyk4leov] {
    box-shadow: inset 0 -2px 0 0 #E8A838;
    background: rgba(232, 168, 56, 0.13);
    border-radius: 3px;
}

.cell-input:focus[b-zheyk4leov] {
    border-color: #C06820;
    background: #FFF5EE;
}

/* Locked derived fields (qty / UOM / price) while the Part → Pricing lookup is
   pending — matching can rewrite them, so editing is blocked until it settles. */
.cell-input:disabled[b-zheyk4leov] {
    color: #9A9A9A;
    background: rgba(0, 0, 0, 0.03);
    cursor: not-allowed;
}

/* Part-alias confirm dialog: the checkbox list of corrections to remember. */
.part-alias-list[b-zheyk4leov] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    max-height: 40vh;
    overflow-y: auto;
}

.part-alias-row[b-zheyk4leov] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.35;
}

.part-alias-row input[type="checkbox"][b-zheyk4leov] {
    margin-top: 0.15rem;
    flex: 0 0 auto;
}

.part-alias-text .mono[b-zheyk4leov] {
    font-family: var(--font-mono);
}

.mono[b-zheyk4leov] {
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.total-mismatch[b-zheyk4leov] {
    color: #D97706;
    font-weight: 600;
}

.total-mismatch-indicator[b-zheyk4leov] {
    margin-left: 0.35rem;
    font-size: 0.75rem;
    color: #D97706;
}

/* Validation cards */
.val-cards[b-zheyk4leov] {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.val-card[b-zheyk4leov] {
    border: 1.5px solid;
    border-radius: 6px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.val-card.acked[b-zheyk4leov] {
    opacity: 0.65;
}

.val-card.acked .val-title[b-zheyk4leov] {
    text-decoration: line-through;
}

.val-check[b-zheyk4leov] {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    display: inline-flex;
    cursor: pointer;
}

.val-check input[type="checkbox"][b-zheyk4leov] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    cursor: pointer;
    accent-color: #B45309;
}

.val-check input[type="checkbox"]:disabled[b-zheyk4leov] {
    cursor: default;
}

.val-helper[b-zheyk4leov] {
    font-size: 0.75rem;
    color: #6B6B6B;
    font-style: italic;
    margin-top: 0.25rem;
}

.val-body[b-zheyk4leov] {
    flex: 1 1 auto;
    min-width: 0;
}

.val-card.warn[b-zheyk4leov] {
    border-color: #FCD34D;
    background: #FFFBEB;
}

.val-card.error[b-zheyk4leov] {
    border-color: #FECACA;
    background: #FEF2F2;
}

.val-card.info[b-zheyk4leov] {
    border-color: #E5E5E5;
    background: #FAFAFA;
}

.val-title[b-zheyk4leov] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.2rem;
}

.val-text[b-zheyk4leov] {
    font-size: 0.75rem;
    color: #6B6B6B;
    line-height: 1.5;
}

/* Evie card */
.evie-card[b-zheyk4leov] {
    background: #FAFAFA;
    border: 1.5px solid #E5E5E5;
    border-radius: 6px;
    padding: 0.875rem 1rem;
}

.evie-label[b-zheyk4leov] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C06820;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.evie-bullets[b-zheyk4leov] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.evie-bullets li[b-zheyk4leov] {
    font-size: 0.875rem;
    color: #6B6B6B;
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
}

.evie-bullets li[b-zheyk4leov]::before {
    content: '·';
    position: absolute;
    left: 0.25rem;
    color: #C06820;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Bottom bar */
.bottom-bar[b-zheyk4leov] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 200;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.bar-note[b-zheyk4leov] {
    font-size: 0.875rem;
    color: #6B6B6B;
}

.bar-note strong[b-zheyk4leov] {
    color: #1A1A1A;
    font-weight: 600;
}

.bar-right[b-zheyk4leov] {
    display: flex;
    gap: 0.5rem;
}

/* Toast */
.toast[b-zheyk4leov] {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    z-index: 300;
}

@media (max-width: 1100px) {
    .workspace[b-zheyk4leov] {
        grid-template-columns: 1fr;
    }

    /* Single column: don't pin the viewer over the screen — let it sit inline as a
       bounded-height panel above the extracted data. */
    .doc-panel[b-zheyk4leov] {
        position: static;
        height: 70vh;
    }
}

.flag-banner[b-zheyk4leov] {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    color: #92400E;
}

.flag-banner-text[b-zheyk4leov] {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.flag-banner-icon[b-zheyk4leov] {
    font-size: 1rem;
    line-height: 1;
}

.flag-banner-actor[b-zheyk4leov] {
    font-weight: 600;
}

.flag-banner-note[b-zheyk4leov] {
    color: #78350F;
}

.flag-banner-resolve[b-zheyk4leov] {
    flex-shrink: 0;
}

.modal-overlay[b-zheyk4leov] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 400;
}

.modal-card[b-zheyk4leov] {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 1.5rem;
    width: min(520px, 90vw);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-title[b-zheyk4leov] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1A;
}

.modal-sub[b-zheyk4leov] {
    margin: 0;
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.5;
}

.flag-note-input[b-zheyk4leov] {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: #1A1A1A;
    resize: vertical;
    min-height: 4.5rem;
}

.flag-note-input:focus[b-zheyk4leov] {
    outline: none;
    border-color: #C06820;
    box-shadow: 0 0 0 3px rgba(192, 104, 32, 0.15);
}

.modal-actions[b-zheyk4leov] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
/* /Components/Pages/OrderEntry/Sent.razor.rz.scp.css */
.sent-page[b-xln5x4moxp] {
    width: 100%;
    padding-bottom: 3rem;
}

/* Base .oe-loading/.oe-empty is global (evie.css); only the page-specific
   empty-state heading margin stays scoped here. */
.oe-empty h2[b-xln5x4moxp] {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Header */
.page-header[b-xln5x4moxp] {
    padding: 1.75rem 0 1.25rem;
    border-bottom: 1px solid #E5E5E5;
}

.breadcrumb[b-xln5x4moxp] {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.375rem;
}

.breadcrumb a[b-xln5x4moxp] {
    color: #C06820;
    text-decoration: none;
}

.breadcrumb a:hover[b-xln5x4moxp] {
    text-decoration: underline;
}

.bc-sep[b-xln5x4moxp] {
    color: #9CA3AF;
}

.header-top[b-xln5x4moxp] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.page-title[b-xln5x4moxp] {
    font-size: 1.375rem;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.1;
    margin: 0 0 0.25rem 0;
}

.page-sub[b-xln5x4moxp] {
    font-size: 0.875rem;
    color: #6B6B6B;
    margin: 0;
}

.header-right[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Buttons */
.btn[b-xln5x4moxp] {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid;
    transition: all 0.18s;
    white-space: nowrap;
    background: transparent;
}

.btn-sm[b-xln5x4moxp] {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Active by default so Back to list / View Original don't read as disabled. */
.btn-ghost[b-xln5x4moxp] {
    color: #1A1A1A;
    border-color: #C8C8C8;
}

.btn-ghost:hover:not(:disabled)[b-xln5x4moxp] {
    border-color: #9CA3AF;
    color: #1A1A1A;
    background: #FAFAFA;
}

.btn-ghost:disabled[b-xln5x4moxp] {
    color: #B0B0B0;
    border-color: #ECECEC;
    cursor: not-allowed;
}

.btn-outline[b-xln5x4moxp] {
    color: #C06820;
    border-color: #FCCF9A;
}

.btn-outline:hover[b-xln5x4moxp] {
    background: #FFF5EE;
    border-color: #C06820;
}

.btn-primary[b-xln5x4moxp] {
    background: #C06820;
    color: #FFF;
    border-color: #C06820;
}

.btn-primary:hover[b-xln5x4moxp] {
    background: #A85818;
}

/* Pills */
.pill[b-xln5x4moxp] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid;
}

.pill-dot[b-xln5x4moxp] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.pill-sent[b-xln5x4moxp] {
    color: #166534;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.pill-sent .pill-dot[b-xln5x4moxp] { background: #16A34A; }

.pill-ready[b-xln5x4moxp] {
    color: #14532D;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.pill-ready .pill-dot[b-xln5x4moxp] { background: #16A34A; }

.pill-review[b-xln5x4moxp] {
    color: #92400E;
    background: #FFFBEB;
    border-color: #FCD34D;
}

.pill-review .pill-dot[b-xln5x4moxp] { background: #D97706; }

.pill-failed[b-xln5x4moxp] {
    color: #DC2626;
    background: #FEF2F2;
    border-color: #FECACA;
}

.pill-failed .pill-dot[b-xln5x4moxp] { background: #DC2626; }

/* Summary strip */
.summary-strip[b-xln5x4moxp] {
    padding: 1rem;
    border-bottom: 1px solid #E5E5E5;
    background: #FAFAFA;
    display: flex;
    align-items: stretch;
    overflow-x: auto;
}

.sum-card[b-xln5x4moxp] {
    padding: 0 1.75rem;
    border-right: 1px solid #E5E5E5;
    min-width: 130px;
}

.sum-card:first-child[b-xln5x4moxp] {
    padding-left: 0;
}

.sum-card:last-child[b-xln5x4moxp] {
    border-right: none;
}

.sum-label[b-xln5x4moxp] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.sum-val[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.2;
}

.sum-val-sm[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.sum-sub[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.15rem;
}

.sum-sub.matched[b-xln5x4moxp] {
    color: #059669;
    font-weight: 500;
}

.sum-sub.matching[b-xln5x4moxp] {
    color: #6B6B6B;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.sum-sub.matching[b-xln5x4moxp]::before {
    content: "";
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: #9CA3AF;
    animation: sum-match-pulse-b-xln5x4moxp 1.4s ease-in-out infinite;
}

@keyframes sum-match-pulse-b-xln5x4moxp {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.sum-sub.failed[b-xln5x4moxp] {
    color: #B5443B;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.match-retry-btn[b-xln5x4moxp] {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    color: #C06820;
    background: transparent;
    border: 1px solid #FCCF9A;
    border-radius: 0.375rem;
    padding: 0.0625rem 0.4375rem;
    cursor: pointer;
}

.match-retry-btn:hover[b-xln5x4moxp] {
    background: #FFF5EE;
    border-color: #C06820;
}

.match-retry-btn:disabled[b-xln5x4moxp] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Per-line UOM match indicator inside the line items table cell. Mirrors
   the .field-note variants on Review but smaller-footprint to fit in a cell. */
.cell-note[b-xln5x4moxp] {
    font-size: 0.6875rem;
    margin-top: 0.25rem;
    line-height: 1.1;
}

.cell-note.match[b-xln5x4moxp] {
    color: #059669;
}

.cell-note.matching[b-xln5x4moxp] {
    color: #6B6B6B;
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
}

.cell-note.matching .dot[b-xln5x4moxp] {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #9CA3AF;
    animation: sum-match-pulse-b-xln5x4moxp 1.4s ease-in-out infinite;
}

.cell-note.notfound[b-xln5x4moxp] {
    color: #9CA3AF;
}

.cell-note.failed[b-xln5x4moxp] {
    color: #B5443B;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

/* Stage suffix shown next to "Matched" — e.g. "(description, LIKE)".
   Dim and italic so the primary "Matched" text reads first; the stage
   label is for reviewers who care about how the match was made. */
.cell-note .stage-tag[b-xln5x4moxp],
.sum-sub .stage-tag[b-xln5x4moxp] {
    color: #9CA3AF;
    font-style: italic;
    margin-left: 0.25rem;
    font-weight: 400;
}

/* Multi-line ship-to block render on Sent. Stacks each non-blank
   address part on its own line. */
.shipto-block > div[b-xln5x4moxp] {
    line-height: 1.4;
}

/* Per-line ERP reference rendered under the line number cell. Mirrors the
   header's .sum-erp colour (warm amber) so reviewers visually link the two
   "this came from the ERP" markers. */
.cell-note.erp-ref[b-xln5x4moxp] {
    color: #D97706;
    font-weight: 600;
    margin-top: 0.25rem;
}

.sum-erp[b-xln5x4moxp] {
    font-size: 0.875rem;
    color: #D97706;
    font-weight: 600;
}

/* Main layout */
.main[b-xln5x4moxp] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    padding: 1.5rem 0 3rem;
    align-items: start;
    min-width: 0;
}

.left-col[b-xln5x4moxp],
.right-col[b-xln5x4moxp] {
    min-width: 0;
}

.left-col[b-xln5x4moxp],
.right-col[b-xln5x4moxp] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Card */
.card[b-xln5x4moxp] {
    background: #FFFFFF;
    border: 1.5px solid #E5E5E5;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-header[b-xln5x4moxp] {
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.card-title[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
}

.card-sub[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.1rem;
}

.card-body[b-xln5x4moxp] {
    padding: 1.125rem 1.25rem;
}

/* Field grid */
.fields-grid[b-xln5x4moxp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.field-cell[b-xln5x4moxp] {
    padding: 0.7rem 0.9rem;
    border-bottom: 0.5px solid #F3F4F6;
    border-right: 0.5px solid #F3F4F6;
}

.field-cell:nth-child(2n)[b-xln5x4moxp] {
    border-right: none;
}

.field-cell.full[b-xln5x4moxp] {
    grid-column: 1 / -1;
    border-right: none;
}

.field-cell:nth-last-child(-n+2)[b-xln5x4moxp] {
    border-bottom: none;
}

.f-label[b-xln5x4moxp] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.f-val[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.f-val.muted[b-xln5x4moxp] {
    color: #9CA3AF;
}

.muted[b-xln5x4moxp] {
    color: #9CA3AF;
}

/* Empty states */
.empty-lines[b-xln5x4moxp],
.empty-changes[b-xln5x4moxp] {
    padding: 0.875rem 1.25rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Line items table */
.line-table-wrap[b-xln5x4moxp] {
    overflow-x: auto;
}

.po-line-table[b-xln5x4moxp] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.po-line-table th[b-xln5x4moxp] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-weight: 500;
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
    border-top: 1px solid #F3F4F6;
}

.po-line-table td[b-xln5x4moxp] {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: top;
}

.po-line-table tbody tr:last-child td[b-xln5x4moxp] {
    border-bottom: none;
}

.mono[b-xln5x4moxp] {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.dim[b-xln5x4moxp] {
    color: #9CA3AF;
}

/* Attachment */
.attachment-row[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
}

.att-left[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.att-icon[b-xln5x4moxp] {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid #FCCF9A;
    color: #C06820;
    background: #FFF5EE;
}

.att-name[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.att-meta[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 0.15rem;
}

/* Timeline */
.timeline[b-xln5x4moxp] {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
}

.tl-item[b-xln5x4moxp] {
    display: flex;
    gap: 0.875rem;
    padding-bottom: 1.25rem;
}

.tl-item:last-child[b-xln5x4moxp] {
    padding-bottom: 0;
}

.tl-dot-wrap[b-xln5x4moxp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    flex-shrink: 0;
}

.tl-dot[b-xln5x4moxp] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid;
}

.tl-dot.done[b-xln5x4moxp] {
    background: #16A34A;
    border-color: #16A34A;
}

.tl-dot.active[b-xln5x4moxp] {
    background: #C06820;
    border-color: #C06820;
}

.tl-dot.pending[b-xln5x4moxp] {
    background: #FFFFFF;
    border-color: #E5E5E5;
}

.tl-dot.failed[b-xln5x4moxp] {
    background: #DC2626;
    border-color: #DC2626;
}

.tl-line[b-xln5x4moxp] {
    width: 1.5px;
    background: #E5E5E5;
    flex: 1;
    margin-top: 0.125rem;
}

.tl-line.done[b-xln5x4moxp] {
    background: #86EFAC;
}

.tl-title[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.tl-time[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.tl-note[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #6B6B6B;
    margin-top: 0.2rem;
    line-height: 1.45;
}

/* Audit rows */
.audit-row[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
    border-bottom: 0.5px solid #F3F4F6;
    gap: 0.75rem;
}

.audit-row:last-child[b-xln5x4moxp] {
    border-bottom: none;
}

.audit-key[b-xln5x4moxp] {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    font-weight: 500;
}

.audit-val[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
    text-align: right;
}

/* Review change log */
.change-list[b-xln5x4moxp] {
    display: flex;
    flex-direction: column;
}

.change-row[b-xln5x4moxp] {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.change-row:first-child[b-xln5x4moxp] {
    border-top: none;
}

.change-row-head[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.change-kind[b-xln5x4moxp] {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    border: 1px solid;
}

.change-kind.edit[b-xln5x4moxp] {
    color: #92400E;
    background: #FFFBEB;
    border-color: #FCD34D;
}

.change-kind.add[b-xln5x4moxp] {
    color: #14532D;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.change-kind.remove[b-xln5x4moxp] {
    color: #DC2626;
    background: #FEF2F2;
    border-color: #FECACA;
}

.change-kind.flagged[b-xln5x4moxp] {
    color: #B91C1C;
    background: #FEF2F2;
    border-color: #FECACA;
}

.change-kind.resolved[b-xln5x4moxp] {
    color: #166534;
    background: #F0FDF4;
    border-color: #86EFAC;
}

.flag-row-note[b-xln5x4moxp] {
    font-size: 0.8125rem;
    color: #1A1A1A;
    white-space: pre-wrap;
}

.change-subject[b-xln5x4moxp] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.change-row-body[b-xln5x4moxp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.change-old[b-xln5x4moxp] {
    color: #9CA3AF;
    text-decoration: line-through;
}

.change-arrow[b-xln5x4moxp] {
    color: #9CA3AF;
}

.change-new[b-xln5x4moxp] {
    color: #1A1A1A;
    font-weight: 500;
}

.change-row-meta[b-xln5x4moxp] {
    font-size: 0.75rem;
    color: #9CA3AF;
}

/* Resend warning */
.resend-note[b-xln5x4moxp] {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: #92400E;
    line-height: 1.5;
}

.resend-note strong[b-xln5x4moxp] {
    font-weight: 600;
}

/* Toast */
.toast[b-xln5x4moxp] {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    z-index: 300;
}

@media (max-width: 1024px) {
    .main[b-xln5x4moxp] {
        grid-template-columns: 1fr;
    }
}

/* Order-level probe — rendered as one extra sub-line inside the ERP
   Status sum-card. Severity class flips by status / outcome (see
   OrderProbeSeverity() in Sent.razor). */
.probe-inline[b-xln5x4moxp] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.probe-inline.probe-pending[b-xln5x4moxp] { color: #6B7280; }
.probe-inline.probe-ok[b-xln5x4moxp]      { color: #16A34A; }
.probe-inline.probe-danger[b-xln5x4moxp]  { color: #DC2626; }
.probe-inline.probe-warn[b-xln5x4moxp]    { color: #B45309; cursor: help; }

/* Per-row line-probe indicator in the lines table. */
.line-erp-col[b-xln5x4moxp] {
    width: 110px;
    white-space: nowrap;
}

.line-erp-cell[b-xln5x4moxp] {
    white-space: nowrap;
}

/* Match the header indicator's treatment: text-only colored ink, no
   pill/background. Light tinted backgrounds were muting the red/green
   in busy table rows. Same color values as .probe-inline so the lines
   read as visually consistent with the ERP Status sub-line. */
.line-erp-tag[b-xln5x4moxp] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.line-erp-tag.line-erp-pending[b-xln5x4moxp] { color: #6B7280; }
.line-erp-tag.line-erp-ok[b-xln5x4moxp]      { color: #16A34A; }
.line-erp-tag.line-erp-missing[b-xln5x4moxp] { color: #DC2626; }
.line-erp-tag.line-erp-warn[b-xln5x4moxp]    { color: #B45309; cursor: help; }

.probe-spinner-sm[b-xln5x4moxp] {
    width: 10px;
    height: 10px;
    border: 2px solid #9CA3AF;
    border-top-color: transparent;
    border-radius: 50%;
    animation: probe-spin-b-xln5x4moxp 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes probe-spin-b-xln5x4moxp {
    to { transform: rotate(360deg); }
}

.modal-overlay[b-xln5x4moxp] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 400;
}

.modal-card[b-xln5x4moxp] {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 1.5rem;
    width: min(520px, 90vw);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-title[b-xln5x4moxp] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A1A1A;
}

.modal-sub[b-xln5x4moxp] {
    margin: 0;
    font-size: 0.875rem;
    color: #4B5563;
    line-height: 1.5;
}

.modal-sub p[b-xln5x4moxp] {
    margin: 0;
}

.modal-actions[b-xln5x4moxp] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
}
/* /Components/Pages/Profile/Index.razor.rz.scp.css */
.profile-shell[b-map5i92ahg] {
    display: grid;
    grid-template-columns: 220px 1fr;
    /* 56px = the sticky .evie-header height. Keeping these in sync prevents the
       shell from pushing the document past the viewport (phantom scrollbar). */
    min-height: calc(100vh - 56px);
    background: var(--evie-bg);
    /* Cancel .evie-main / .evie-content padding so the sidebar goes edge-to-edge.
       Values must match MainLayout.razor.css. */
    margin: -2rem -2rem -3.5rem -2rem;
}

@media (min-width: 1280px) {
    .profile-shell[b-map5i92ahg] {
        margin-left: -3rem;
        margin-right: -3rem;
    }
}

.profile-sidebar[b-map5i92ahg] {
    border-right: 1px solid var(--evie-border);
    background: #FAFAFA;
    padding: 28px 0 0px;
    display: flex;
    flex-direction: column;
    position: sticky;
    /* Sit below the 56px sticky header — not under it — and only fill the space
       between the header and the fixed footer. Using 100vh here was the bug: a
       full-viewport sidebar stacked under a 56px header overflowed the page by
       exactly the header's height. The extra 36px keeps the sidebar (and its
       scrollbar) clear of the ~35px fixed .evie-footer instead of running
       behind it. */
    top: 56px;
    height: calc(100vh - 56px - 36px);
    overflow-y: auto;
}

/* Standard properties for Firefox */
aside.profile-sidebar[b-map5i92ahg] {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* WebKit properties for Chrome/Safari/Edge */
aside.profile-sidebar[b-map5i92ahg]::-webkit-scrollbar {
    width: 6px;
}

aside.profile-sidebar[b-map5i92ahg]::-webkit-scrollbar-track {
    background: transparent;
}

aside.profile-sidebar[b-map5i92ahg]::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid transparent;
    background-clip: content-box;
}

aside.profile-sidebar[b-map5i92ahg]::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.sidebar-user[b-map5i92ahg] {
    padding: 0 20px 24px;
    border-bottom: 1px solid var(--evie-border);
    margin-bottom: 16px;
}

.user-avatar[b-map5i92ahg] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--evie-primary-muted);
    border: 2px solid rgba(192, 104, 32, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--evie-primary);
    margin-bottom: 10px;
}

.user-name[b-map5i92ahg] {
    font-size: 13px;
    font-weight: 600;
    color: var(--evie-text);
}

.user-email[b-map5i92ahg] {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--evie-text-dim);
    margin-top: 2px;
}

.user-role[b-map5i92ahg] {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--evie-primary);
    background: var(--evie-primary-muted);
    border: 1px solid rgba(192, 104, 32, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    margin-top: 6px;
    font-weight: 500;
}

.nav-group[b-map5i92ahg] {
    margin-bottom: 6px;
}

.nav-group-label[b-map5i92ahg] {
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--evie-text-dim);
    padding: 8px 20px 4px;
    font-weight: 500;
}

.nav-item[b-map5i92ahg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    cursor: pointer;
    color: var(--evie-text-muted);
    /* <button> does not inherit typography from its parent by default
       — without these lines the button-based nav items render in the
       browser's default button font while <a class="nav-item"> renders
       in the page's Outfit. Force inheritance so both types match. */
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: inherit;
    position: relative;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background-color 120ms, color 120ms;
}

.nav-item svg[b-map5i92ahg] {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--evie-text-dim);
}

.nav-item:hover[b-map5i92ahg] {
    background: var(--evie-secondary-hover);
    color: var(--evie-text);
}

.nav-item.active[b-map5i92ahg] {
    background: var(--evie-primary-muted);
    color: var(--evie-primary);
    font-weight: 600;
}

.nav-item.active svg[b-map5i92ahg] {
    color: var(--evie-primary);
}

.nav-item.active[b-map5i92ahg]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--evie-primary);
    border-radius: 0 2px 2px 0;
}

/* Admin pages are reached via real route links rather than the panel
   buttons — strip the default anchor underline so they read like the
   button-based nav items. Color/hover inherit from .nav-item above. */
a.nav-item[b-map5i92ahg] {
    text-decoration: none;
}

a.nav-item:hover[b-map5i92ahg] {
    text-decoration: none;
}

.nav-item-danger[b-map5i92ahg] {
    color: #B91C1C;
}

.nav-item-danger svg[b-map5i92ahg] {
    color: #B91C1C;
}

.nav-item-danger:hover[b-map5i92ahg] {
    background: #FEF2F2;
    color: #991B1B;
}

.profile-main[b-map5i92ahg] {
    padding: 36px 48px 60px;
}

.section-eyebrow[b-map5i92ahg] {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--evie-text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}

.section-title[b-map5i92ahg] {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--evie-text);
    margin: 0 0 4px 0;
}

.section-sub[b-map5i92ahg] {
    font-size: 13px;
    font-weight: 300;
    color: var(--evie-text-muted);
    margin-bottom: 32px;
}

.card[b-map5i92ahg] {
    background: var(--evie-surface);
    border: 1.5px solid var(--evie-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.card-header[b-map5i92ahg] {
    background: #FAFAFA;
    border-bottom: 1px solid var(--evie-border);
    padding: 13px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title[b-map5i92ahg] {
    font-size: 13px;
    font-weight: 600;
    color: var(--evie-text);
}

.card-sub-text[b-map5i92ahg] {
    font-size: 11px;
    color: var(--evie-text-dim);
    font-weight: 300;
    margin-top: 1px;
}

.card-body[b-map5i92ahg] {
    padding: 20px 22px;
}

.placeholder-body[b-map5i92ahg] {
    color: var(--evie-text-dim);
    font-size: 12px;
    font-style: italic;
}

.form-grid[b-map5i92ahg] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-full[b-map5i92ahg] {
    grid-column: 1 / -1;
}

.form-actions[b-map5i92ahg] {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.f-label[b-map5i92ahg] {
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--evie-text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}

.f-input[b-map5i92ahg] {
    width: 100%;
    border: 1.5px solid var(--evie-border);
    border-radius: 6px;
    padding: 9px 12px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--evie-text);
    background: var(--evie-surface);
    outline: none;
    transition: border-color 180ms, box-shadow 180ms;
}

.f-input:focus[b-map5i92ahg] {
    border-color: var(--evie-primary);
    box-shadow: 0 0 0 3px rgba(192, 104, 32, 0.1);
}

.f-input:disabled[b-map5i92ahg] {
    background: var(--evie-surface-hover);
    color: var(--evie-text-muted);
    cursor: not-allowed;
}

.f-input[b-map5i92ahg]::placeholder {
    color: var(--evie-text-dim);
}

.f-select[b-map5i92ahg] {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%239CA3AF' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.toggle-row[b-map5i92ahg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--evie-border);
}

.toggle-row:last-child[b-map5i92ahg] {
    border-bottom: none;
}

.toggle-label[b-map5i92ahg] {
    font-size: 13px;
    font-weight: 500;
    color: var(--evie-text);
    margin-bottom: 2px;
}

.toggle-desc[b-map5i92ahg] {
    font-size: 11px;
    color: var(--evie-text-muted);
    font-weight: 300;
}

.toggle[b-map5i92ahg] {
    position: relative;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.toggle input[b-map5i92ahg] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track[b-map5i92ahg] {
    position: absolute;
    inset: 0;
    background: var(--evie-border);
    border-radius: 999px;
    cursor: pointer;
    transition: background 200ms;
}

.toggle input:checked + .toggle-track[b-map5i92ahg] {
    background: var(--evie-primary);
}

.toggle-track[b-map5i92ahg]::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFF;
    top: 3px;
    left: 3px;
    transition: transform 200ms;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.toggle input:checked + .toggle-track[b-map5i92ahg]::after {
    transform: translateX(16px);
}

.toggle input:disabled + .toggle-track[b-map5i92ahg] {
    cursor: not-allowed;
    opacity: 0.6;
}

.erp-connected[b-map5i92ahg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 6px;
    border: 1.5px solid var(--evie-border);
    background: #FAFAFA;
    margin-bottom: 18px;
}

.erp-dot[b-map5i92ahg] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--evie-text-dim);
    flex-shrink: 0;
}

.erp-label[b-map5i92ahg] {
    font-size: 13px;
    font-weight: 500;
    color: var(--evie-text);
}

.erp-meta[b-map5i92ahg] {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--evie-text-dim);
    margin-top: 2px;
}

.btn-sm[b-map5i92ahg] {
    padding: 6px 12px;
    font-size: 12px;
}

/* Active by default — muted ghost grey made enabled buttons look disabled. */
.btn-ghost[b-map5i92ahg] {
    background: transparent;
    color: var(--evie-text);
    border: 1.5px solid #C8C8C8;
}

.btn-ghost:hover:not(:disabled)[b-map5i92ahg] {
    color: var(--evie-text);
    border-color: #9CA3AF;
    background: var(--evie-surface-hover);
}

.btn-ghost:disabled[b-map5i92ahg] {
    color: var(--evie-text-dim);
    border-color: var(--evie-border);
    cursor: not-allowed;
}

/* Compact 1-line column-mapping rows used by Field Mapping panel. */
.map-row[b-map5i92ahg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--evie-border);
}

.map-row:last-child[b-map5i92ahg] {
    border-bottom: none;
}

.map-row .f-input[b-map5i92ahg] {
    margin: 0;
    box-sizing: border-box;
    /* Override the user-agent intrinsic min-width on form controls
       (selects size themselves to fit their widest option, which makes
       them wider than read-only divs in the same row otherwise). */
    min-width: 0;
}

.map-row-srctype[b-map5i92ahg] {
    flex: 0 0 110px;
}

.map-row-field[b-map5i92ahg] {
    flex: 1 1 140px;
}

.map-row-arrow[b-map5i92ahg] {
    color: var(--evie-text-muted);
    font-size: 16px;
    user-select: none;
}

.map-row-column[b-map5i92ahg] {
    flex: 1 1 140px;
}

/* Pin both the Remove button AND the "required" badge to the same fixed
   width so the flex remainder distributes identically across required vs.
   non-required rows — otherwise the wider "REQUIRED" badge eats into the
   row's flex budget and shifts the field columns left for required rows. */
.map-row-remove[b-map5i92ahg],
.map-row-required[b-map5i92ahg] {
    flex: 0 0 90px;
    box-sizing: border-box;
    text-align: center;
}

.map-row-remove[b-map5i92ahg] {
    color: #DC4A3A;
    border: 1.5px solid rgba(220, 74, 58, 0.4);
    background: transparent;
}

.map-row-remove:hover:not(:disabled)[b-map5i92ahg] {
    background: rgba(220, 74, 58, 0.08);
    border-color: #DC4A3A;
}

.map-row-required[b-map5i92ahg] {
    font-size: 11px;
    color: var(--evie-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Required-row read-only stand-in: matches the dimensions of an enabled
   <select.f-input.f-select> so the row aligns vertically with non-required
   rows. display: flex centers the text inside the div the same way a
   form control would. */
.map-row-readonly[b-map5i92ahg] {
    display: flex;
    align-items: center;
    background: var(--evie-surface-hover);
    color: var(--evie-text-muted);
    cursor: not-allowed;
}

/* ===== Users & roles panel ===== */

.users-action-message[b-map5i92ahg] {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 14px;
    border: 1px solid;
}

.users-action-success[b-map5i92ahg] {
    color: var(--evie-teal);
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.25);
}

.users-action-error[b-map5i92ahg] {
    color: var(--evie-coral);
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.25);
}

.temp-password-display[b-map5i92ahg] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-top: 14px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 6px;
}

.temp-password-value[b-map5i92ahg] {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--evie-text);
}

.temp-password-hint[b-map5i92ahg] {
    font-size: 11px;
    color: var(--evie-text-dim);
}

.users-search[b-map5i92ahg] {
    margin-bottom: 14px;
}

.users-loading[b-map5i92ahg] {
    padding: 24px;
    text-align: center;
    color: var(--evie-text-dim);
    font-size: 13px;
}

.users-table-wrap[b-map5i92ahg] {
    overflow-x: auto;
}

.users-table[b-map5i92ahg] {
    width: 100%;
    border-collapse: collapse;
}

.users-table th[b-map5i92ahg] {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    color: var(--evie-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 10px 12px;
    border-bottom: 1px solid var(--evie-border);
    white-space: nowrap;
}

.users-table td[b-map5i92ahg] {
    padding: 12px;
    font-size: 13px;
    color: var(--evie-text-muted);
    border-bottom: 1px solid rgba(50, 55, 72, 0.4);
    vertical-align: middle;
}

.users-table tr:last-child td[b-map5i92ahg] {
    border-bottom: none;
}

.users-table tr:hover td[b-map5i92ahg] {
    background: var(--evie-surface);
}

.users-cell-strong[b-map5i92ahg] {
    color: var(--evie-text);
    font-weight: 500;
}

.users-cell-dim[b-map5i92ahg] {
    color: var(--evie-text-dim);
    font-size: 12px;
    white-space: nowrap;
}

.users-input-sm[b-map5i92ahg] {
    padding: 4px 8px;
    font-size: 12px;
    width: 7rem;
    display: inline-block;
    margin-right: 4px;
}

.invite-link-row[b-map5i92ahg] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.invite-link-input[b-map5i92ahg] {
    flex: 1 1 auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.users-action-buttons[b-map5i92ahg] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.users-pagination[b-map5i92ahg] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 0 4px;
}

.users-page-info[b-map5i92ahg] {
    font-size: 12px;
    color: var(--evie-text-dim);
}

/* Role and status badges */
.role-badge[b-map5i92ahg] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.role-viewer[b-map5i92ahg]   { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.12); }
.role-reviewer[b-map5i92ahg] { color: var(--evie-teal);     background: rgba(45, 212, 191, 0.12); }
.role-admin[b-map5i92ahg]    { color: var(--evie-amber);    background: rgba(251, 191, 36, 0.12); }
.role-system[b-map5i92ahg]   { color: var(--evie-coral);    background: rgba(248, 113, 113, 0.12); }

.status-badge[b-map5i92ahg] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 500;
}

.status-active[b-map5i92ahg]   { color: var(--evie-teal);     background: rgba(45, 212, 191, 0.12); }
.status-inactive[b-map5i92ahg] { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.12); }

/* Small inline action buttons used in the users table.
   .btn / .btn-ghost come from the global stylesheet — these are size +
   semantic-tone modifiers only. */
.btn-xs[b-map5i92ahg] {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
}

.btn-approve[b-map5i92ahg] {
    color: var(--evie-teal);
    border: 1px solid rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.1);
}

.btn-approve:hover:not(:disabled)[b-map5i92ahg] {
    background: rgba(45, 212, 191, 0.2);
}

.btn-reject-hint[b-map5i92ahg] {
    color: var(--evie-coral);
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: transparent;
}

.btn-reject-hint:hover:not(:disabled)[b-map5i92ahg] {
    background: rgba(248, 113, 113, 0.1);
}
/* /Components/Pages/Vault/DocumentDetail.razor.rz.scp.css */
.page-header[b-fttroignkk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title[b-fttroignkk] {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--evie-text);
    margin-bottom: 0.75rem;
}

.detail-grid[b-fttroignkk] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.meta-form[b-fttroignkk] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-field[b-fttroignkk] { display: flex; flex-direction: column; gap: 0.25rem; }
.form-actions[b-fttroignkk] { display: flex; gap: 0.5rem; }

.meta-info[b-fttroignkk] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--evie-border);
}

.meta-item[b-fttroignkk] {
    font-size: 0.75rem;
    color: var(--evie-text-dim);
}

.status-badge[b-fttroignkk] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
}

.status-uploaded[b-fttroignkk] { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.1); }
.status-stamped[b-fttroignkk] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.status-archived[b-fttroignkk] { color: var(--evie-indigo); background: rgba(99, 102, 241, 0.1); }

.stamp-apply[b-fttroignkk] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.stamp-type-badge[b-fttroignkk] {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--evie-indigo);
    background: rgba(99, 102, 241, 0.1);
}

.action-message[b-fttroignkk] { padding: 0.75rem 1rem; margin-top: 1rem; border-radius: 0.375rem; font-size: 0.8125rem; }
.success-state[b-fttroignkk] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.error-state[b-fttroignkk] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }
.empty-state[b-fttroignkk] { padding: 2rem; text-align: center; color: var(--evie-text-dim); font-size: 0.875rem; }
.data-table th[b-fttroignkk] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 1rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-fttroignkk] { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-fttroignkk] { border-bottom: none; }

.loading-state[b-fttroignkk] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; color: var(--evie-text-dim); }
/* /Components/Pages/Vault/Index.razor.rz.scp.css */
.page-header[b-2be6jlniiu] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title[b-2be6jlniiu] { font-size: 0.9375rem; font-weight: 500; color: var(--evie-text); margin-bottom: 0.75rem; }

.upload-card[b-2be6jlniiu] { margin-bottom: 1rem; }
.upload-form[b-2be6jlniiu] { display: flex; flex-direction: column; gap: 0.75rem; }
.form-field[b-2be6jlniiu] { display: flex; flex-direction: column; gap: 0.25rem; }
.file-info[b-2be6jlniiu] { font-size: 0.75rem; color: var(--evie-text-dim); }

.search-bar[b-2be6jlniiu] { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.search-input[b-2be6jlniiu] { flex: 1; }
.status-filter[b-2be6jlniiu] { width: 10rem; }

.clickable-row[b-2be6jlniiu] { cursor: pointer; }
.clickable-row:hover td[b-2be6jlniiu] { background-color: var(--evie-surface); }

.status-badge[b-2be6jlniiu] { display: inline-block; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.6875rem; font-weight: 500; }
.status-uploaded[b-2be6jlniiu] { color: var(--evie-text-dim); background: rgba(100, 116, 139, 0.1); }
.status-stamped[b-2be6jlniiu] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.status-archived[b-2be6jlniiu] { color: var(--evie-indigo); background: rgba(99, 102, 241, 0.1); }

.action-message[b-2be6jlniiu] { padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 0.375rem; font-size: 0.8125rem; }
.success-state[b-2be6jlniiu] { color: var(--evie-teal); background: rgba(45, 212, 191, 0.1); }
.error-state[b-2be6jlniiu] { color: var(--evie-coral); background: rgba(248, 113, 113, 0.1); }
.empty-state[b-2be6jlniiu] { padding: 2rem; text-align: center; color: var(--evie-text-dim); font-size: 0.875rem; }

.pagination[b-2be6jlniiu] { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1rem 0 0.5rem; }
.page-info[b-2be6jlniiu] { font-size: 0.75rem; color: var(--evie-text-dim); }
.btn-xs[b-2be6jlniiu] { padding: 0.1875rem 0.5rem; font-size: 0.6875rem; }
.data-table th[b-2be6jlniiu] { text-align: left; font-size: 0.75rem; font-weight: 500; color: var(--evie-text-dim); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.625rem 1rem; border-bottom: 1px solid var(--evie-border); }
.data-table td[b-2be6jlniiu] { padding: 0.75rem 1rem; font-size: 0.8125rem; color: var(--evie-text-muted); border-bottom: 1px solid rgba(50, 55, 72, 0.5); }
.data-table tr:last-child td[b-2be6jlniiu] { border-bottom: none; }

.loading-state[b-2be6jlniiu] { display: flex; align-items: center; justify-content: center; gap: 0.625rem; padding: 2rem; font-size: 0.875rem; color: var(--evie-text-dim); }
/* /Components/Shared/AppFooter.razor.rz.scp.css */
.evie-footer[b-2kxdq08pul] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background-color: #FFFFFF;
    border-top: 1px solid #E5E5E5;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
}

.evie-footer-deploy[b-2kxdq08pul] {
    flex: 1;
    text-align: left;
}

.evie-footer-center[b-2kxdq08pul] {
    flex: 1;
    text-align: center;
}

.evie-footer-spacer[b-2kxdq08pul] {
    flex: 1;
}

.evie-footer-brand[b-2kxdq08pul] {
    font-weight: 500;
    color: #6B6B6B;
}
/* /Components/Shared/DropZone.razor.rz.scp.css */
.dropzone[b-r4h97c5law] {
    position: relative;
    border: 2px dashed #E5E7EB;
    border-radius: 0.75rem;
    padding: 2.5% 1.5rem;
    text-align: center;
    transition: border-color 200ms, background-color 200ms;
    cursor: pointer;
    background-color: #FFFFFF;
}

.dropzone:hover[b-r4h97c5law] {
    border-color: #C06820;
    background-color: #FFF5EE;
}

.dropzone-active[b-r4h97c5law] {
    border-color: #C06820;
    background-color: #FFF5EE;
}

[b-r4h97c5law] .dropzone-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dropzone-label[b-r4h97c5law] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropzone-icon[b-r4h97c5law] {
    color: #C06820;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #FFFFFF;
}

.dropzone-text-primary[b-r4h97c5law] {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.dropzone-text-secondary[b-r4h97c5law] {
    font-size: 0.8125rem;
    color: #6B7280;
}

.dropzone-click-link[b-r4h97c5law] {
    color: #C06820;
    text-decoration: underline;
}

.dropzone-pills[b-r4h97c5law] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
/* /Components/Shared/EmptyState.razor.rz.scp.css */
.empty-state[b-g6169xuznb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-state-icon[b-g6169xuznb] {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.empty-state-message[b-g6169xuznb] {
    font-size: 0.875rem;
    color: var(--evie-text-dim);
    max-width: 24rem;
    line-height: 1.625;
    margin: 0;
}
/* /Components/Shared/EVButton.razor.rz.scp.css */
.btn[b-t1kqiuj226] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--btn-bgcolor,#C06820);
    color: var(--btn-color,#FFFFFF);
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms;
    width: var(--btn-height, 100px);
    height: var(--btn-width, 30px);
}

.btn:hover[b-t1kqiuj226] {
    background-color: #A85818;
}
/* /Components/Shared/EVDatePicker.razor.rz.scp.css */
.ev-datepicker[b-b68c5vi9yf] {
    position: relative;
    display: inline-flex;
}

/* --- Trigger button (matches EVDropdown filter-btn) --- */

.ev-datepicker-trigger[b-b68c5vi9yf] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--evie-surface, #FFFFFF);
    color: var(--evie-text-muted, #6B6B6B);
    border: 1px solid var(--evie-border, #E5E5E5);
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
}

.ev-datepicker-trigger:hover[b-b68c5vi9yf] {
    border-color: var(--evie-primary, #C06820);
    color: var(--evie-primary, #C06820);
}

.ev-datepicker-trigger-active[b-b68c5vi9yf] {
    border-color: var(--evie-primary, #C06820);
    color: var(--evie-primary, #C06820);
}

.ev-datepicker-trigger-text[b-b68c5vi9yf] {
    white-space: nowrap;
}

.ev-datepicker-icon[b-b68c5vi9yf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ev-datepicker-chevron[b-b68c5vi9yf] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ev-datepicker-chevron-open[b-b68c5vi9yf] {
    transform: rotate(180deg);
}

/* --- Popup panel (matches EVDropdown filter-dropdown-menu) --- */

.ev-datepicker-popup[b-b68c5vi9yf] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    min-width: 260px;
    border-radius: 8px;
    border: 1px solid var(--evie-border, #E5E5E5);
    background: var(--evie-surface, #FFFFFF);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 0.75rem;
    animation: ev-datepicker-fadeIn-b-b68c5vi9yf 0.15s ease;
}

/* --- Header: nav arrows + month/year --- */

.ev-datepicker-header[b-b68c5vi9yf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ev-datepicker-month-year[b-b68c5vi9yf] {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--evie-text, #1A1A1A);
}

.ev-datepicker-nav[b-b68c5vi9yf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--evie-text-muted, #6B6B6B);
    cursor: pointer;
    transition: background-color 150ms, color 150ms;
}

.ev-datepicker-nav:hover[b-b68c5vi9yf] {
    background-color: var(--evie-primary-muted, rgba(192, 104, 32, 0.12));
    color: var(--evie-primary, #C06820);
}

.ev-datepicker-nav svg[b-b68c5vi9yf] {
    width: 16px;
    height: 16px;
}

/* --- Weekday labels --- */

.ev-datepicker-weekdays[b-b68c5vi9yf] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.25rem;
}

.ev-datepicker-weekday[b-b68c5vi9yf] {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--evie-text-dim, #9CA3AF);
    padding: 0.25rem 0;
}

/* --- Day grid --- */

.ev-datepicker-days[b-b68c5vi9yf] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.ev-datepicker-day[b-b68c5vi9yf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--evie-text, #1A1A1A);
    cursor: pointer;
    transition: background-color 150ms, color 150ms;
}

.ev-datepicker-day:hover:not(:disabled)[b-b68c5vi9yf] {
    background-color: var(--evie-primary-muted, rgba(192, 104, 32, 0.12));
    color: var(--evie-primary, #C06820);
}

.ev-datepicker-day:disabled[b-b68c5vi9yf] {
    color: var(--evie-text-dim, #9CA3AF);
    opacity: 0.4;
    cursor: default;
}

.ev-datepicker-day-outside[b-b68c5vi9yf] {
    color: var(--evie-text-dim, #9CA3AF);
}

.ev-datepicker-day-today[b-b68c5vi9yf] {
    border: 1px solid var(--evie-primary, #C06820);
}

.ev-datepicker-day-selected[b-b68c5vi9yf] {
    background-color: var(--evie-primary, #C06820);
    color: #FFFFFF;
    font-weight: 600;
}

.ev-datepicker-day-selected:hover:not(:disabled)[b-b68c5vi9yf] {
    background-color: var(--evie-primary-hover, #A85818);
    color: #FFFFFF;
}

/* --- Footer --- */

.ev-datepicker-footer[b-b68c5vi9yf] {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--evie-border, #E5E5E5);
}

.ev-datepicker-footer-link[b-b68c5vi9yf] {
    padding: 0;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--evie-primary, #C06820);
    cursor: pointer;
    transition: color 150ms;
}

.ev-datepicker-footer-link:hover[b-b68c5vi9yf] {
    color: var(--evie-primary-hover, #A85818);
}

/* --- Animation --- */

@keyframes ev-datepicker-fadeIn-b-b68c5vi9yf {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/Shared/EVDateRange.razor.rz.scp.css */
.ev-daterange[b-gaqdnk6gyb] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ev-daterange-field[b-gaqdnk6gyb] {
    display: flex;
    flex-direction: column;
    gap: 0.1875rem;
}

.ev-daterange-label[b-gaqdnk6gyb] {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--evie-text-muted, #6B6B6B);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ev-daterange-separator[b-gaqdnk6gyb] {
    font-size: 0.875rem;
    color: var(--evie-text-muted, #6B6B6B);
    padding-top: 1rem;
}
/* /Components/Shared/EVDropdown.razor.rz.scp.css */
.filter-dropdown[b-006owc7q4s] {
    position: relative;
    display: inline-flex;
}

.filter-btn[b-006owc7q4s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #FFFFFF;
    color: #6B6B6B;
    border: 1px solid #E5E5E5;
    border-radius: 9999px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms;
    min-width: var(--dropdown-width);
}
.filter-btn:hover[b-006owc7q4s] {
    border-color: #C06820;
    color: #C06820;
}
/* Icon slots — layout only; caller icons own their size */
.filter-dropdown-icon[b-006owc7q4s] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Chevron inherits filter-btn sizing and rotates on open */
.filter-dropdown-chevron[b-006owc7q4s] {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.filter-dropdown-chevron-open[b-006owc7q4s] {
    transform: rotate(180deg);
}

/* Dropdown panel */
.filter-dropdown-menu[b-006owc7q4s] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 100%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--evie-surface, #1a1a2e);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 4px 0;
    animation: filterDropdownFadeIn-b-006owc7q4s 0.15s ease;
}

/* Option rows */
.filter-dropdown-option[b-006owc7q4s] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.1s ease;
}

.filter-dropdown-option:hover[b-006owc7q4s] {
    background: rgba(192, 104, 32, 0.4);
}

.filter-dropdown-option-selected[b-006owc7q4s] {
    background: rgba(192, 104, 32, 1);
    font-weight: 500;
}

.filter-dropdown-option-text[b-006owc7q4s] {
    flex: 1;
    text-align: left;
}

@keyframes filterDropdownFadeIn-b-006owc7q4s {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Components/Shared/EvieWordmark.razor.rz.scp.css */
.evie-wordmark[b-axcfgpss41] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.evie-wordmark:hover[b-axcfgpss41] {
    text-decoration: none;
}

.evie-wordmark-icon[b-axcfgpss41] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5px;
}

.evie-wordmark-bar[b-axcfgpss41] {
    display: block;
    height: 2.5px;
    border-radius: 1.5px;
    background-color: var(--evie-text);
}

.evie-wordmark-bar-primary[b-axcfgpss41] {
    background-color: var(--evie-primary);
    opacity: 1 !important;
}

.evie-wordmark-text[b-axcfgpss41] {
    font-family: var(--font-sans);
    font-weight: 300;
    letter-spacing: 0.07em;
    color: var(--evie-text);
    line-height: 1;
    text-transform: lowercase;
}
/* /Components/Shared/EVTextPill.razor.rz.scp.css */
.text-pill[b-hwe2dzq3ei] {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #6B7280;
    white-space: nowrap;
}
/* /Components/Shared/EVUploadToast.razor.rz.scp.css */
.ev-upload-toast[b-qb2b5rcc2u] {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background-color: var(--evie-surface, #FFFFFF);
    border: 1px solid var(--evie-border, #E5E5E5);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: ev-toast-slide-in-b-qb2b5rcc2u 250ms ease-out;
}

@keyframes ev-toast-slide-in-b-qb2b5rcc2u {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ev-upload-toast-header[b-qb2b5rcc2u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.5rem;
}

.ev-upload-toast-title[b-qb2b5rcc2u] {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--evie-text, #1A1A1A);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ev-upload-toast-close[b-qb2b5rcc2u] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--evie-text-muted, #6B6B6B);
    font-size: 0.875rem;
    padding: 0.125rem 0.25rem;
    border-radius: 4px;
    line-height: 1;
    transition: color 150ms, background-color 150ms;
}

.ev-upload-toast-close:hover[b-qb2b5rcc2u] {
    color: var(--evie-text, #1A1A1A);
    background-color: var(--evie-surface-hover, #F5F5F5);
}

.ev-upload-toast-body[b-qb2b5rcc2u] {
    padding: 0 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 240px;
    overflow-y: auto;
}

.ev-upload-toast-entry[b-qb2b5rcc2u] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.5rem;
}

.entry-success[b-qb2b5rcc2u] {
    background-color: var(--evie-verified-muted, rgba(46, 139, 87, 0.12));
}

.entry-failure[b-qb2b5rcc2u] {
    background-color: var(--evie-error-muted, #FEF2F2);
}

.ev-upload-toast-icon[b-qb2b5rcc2u] {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}

.entry-success .ev-upload-toast-icon[b-qb2b5rcc2u] {
    color: var(--evie-verified, #16A34A);
}

.entry-failure .ev-upload-toast-icon[b-qb2b5rcc2u] {
    color: var(--evie-error, #FEF2F2);
}

.ev-upload-toast-detail[b-qb2b5rcc2u] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.ev-upload-toast-filename[b-qb2b5rcc2u] {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--evie-text, #1A1A1A);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ev-upload-toast-message[b-qb2b5rcc2u] {
    font-family: var(--font-sans, 'Outfit', sans-serif);
    font-size: 0.75rem;
    color: var(--evie-text-muted, #6B6B6B);
}

.ev-upload-toast-timer[b-qb2b5rcc2u] {
    height: 3px;
    background-color: var(--evie-border, #E5E5E5);
}

.ev-upload-toast-timer-bar[b-qb2b5rcc2u] {
    height: 100%;
    background-color: var(--evie-primary, #C06820);
    width: 100%;
    animation: ev-toast-timer-shrink-b-qb2b5rcc2u linear forwards;
}

@keyframes ev-toast-timer-shrink-b-qb2b5rcc2u {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
/* /Components/Shared/ModuleCard.razor.rz.scp.css */
.module-card[b-b45xxqp80g] {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 200ms ease-out;
    min-height: 200px;
}

.module-card-active[b-b45xxqp80g] {
    cursor: pointer;
}

.module-card-active:hover[b-b45xxqp80g] {
    border-color: #C06820;
    box-shadow: 0 0 0 1px #C06820;
}

.module-card-disabled[b-b45xxqp80g] {
    opacity: 0.5;
    cursor: default;
}

.module-card-header[b-b45xxqp80g] {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}

.module-card-icon[b-b45xxqp80g] {
    width: 48px;
    height: 48px;
    background-color: rgba(192, 104, 32, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C06820;
    flex-shrink: 0;
}

.module-card-icon-disabled[b-b45xxqp80g] {
    background-color: #F5F5F5;
    color: #9CA3AF;
}

.module-card-title[b-b45xxqp80g] {
    font-size: 1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.module-card-disabled .module-card-title[b-b45xxqp80g] {
    color: #9CA3AF;
}

.module-card-desc[b-b45xxqp80g] {
    font-size: 0.875rem;
    color: #6B6B6B;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.module-card-disabled .module-card-desc[b-b45xxqp80g] {
    color: #9CA3AF;
}

.module-card-footer[b-b45xxqp80g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
}

.module-card-status[b-b45xxqp80g] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #C06820;
}

.module-card-status-dot[b-b45xxqp80g] {
    width: 6px;
    height: 6px;
    background-color: #C06820;
    border-radius: 50%;
}

.module-card-arrow[b-b45xxqp80g] {
    font-size: 1.25rem;
    color: #C06820;
    transition: transform 150ms;
}

.module-card-active:hover .module-card-arrow[b-b45xxqp80g] {
    transform: translateX(4px);
}

.module-card-lock[b-b45xxqp80g] {
    color: #9CA3AF;
    margin-left: auto;
}
/* /Components/Shared/NotificationBell.razor.rz.scp.css */
.notif-bell[b-0ya9bep7fy] {
    position: relative;
}

/* Match the look of .evie-header-icon in MainLayout — duplicated here because
   Blazor CSS isolation scopes that class to the layout component. */
.notif-bell-btn[b-0ya9bep7fy] {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms, color 150ms;
}

.notif-bell-btn:hover[b-0ya9bep7fy] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.notif-bell-dot[b-0ya9bep7fy] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 9px;
    height: 9px;
    background-color: #F59E0B; /* Amber per spec */
    border-radius: 50%;
    border: 2px solid #1F2937;
    pointer-events: none;
}

.notif-drawer[b-0ya9bep7fy] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 22rem;
    max-height: 28rem;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 50;
    overflow: hidden;
}

.notif-drawer-header[b-0ya9bep7fy] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E5E5;
}

.notif-drawer-title[b-0ya9bep7fy] {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1A1A1A;
}

.notif-drawer-body[b-0ya9bep7fy] {
    overflow-y: auto;
    flex: 1;
}

.notif-drawer-empty[b-0ya9bep7fy] {
    padding: 1.25rem 1rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.notif-item[b-0ya9bep7fy] {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.notif-item:last-child[b-0ya9bep7fy] {
    border-bottom: none;
}

.notif-item-unread[b-0ya9bep7fy] {
    background-color: rgba(245, 158, 11, 0.06);
}

.notif-item-message[b-0ya9bep7fy] {
    font-size: 0.875rem;
    color: #1A1A1A;
    line-height: 1.35;
}

.notif-item-message a[b-0ya9bep7fy] {
    color: inherit;
    text-decoration: none;
}

.notif-item-message a:hover[b-0ya9bep7fy] {
    text-decoration: underline;
}

.notif-item-time[b-0ya9bep7fy] {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #9CA3AF;
}

.notif-bell-backdrop[b-0ya9bep7fy] {
    position: fixed;
    inset: 0;
    z-index: 49;
}
/* /Components/Shared/OrderUploadCard.razor.rz.scp.css */
/* ===== Card Shell ===== */

.upload-card[b-zkatq4q5m4] {
    background-color: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 300ms;
    flex-shrink: 0;
}

.border-uploading[b-zkatq4q5m4] {
    border-color: #7C6EE0;
}

.border-extracting[b-zkatq4q5m4] {
    border-color: #D97706;
}

.border-processing[b-zkatq4q5m4] {
    border-color: #D97706;
}

.border-ready[b-zkatq4q5m4] {
    border-color: #16A34A;
}

.border-failed[b-zkatq4q5m4] {
    border-color: #DC2626;
}

/* ===== Header ===== */

.upload-card-header[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    cursor: pointer;
    user-select: none;
}

.upload-card-file-info[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.file-type-badge[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.file-type-pdf[b-zkatq4q5m4] {
    background-color: rgba(220, 74, 58, 0.08);
    color: #DC4A3A;
}

.file-type-xls[b-zkatq4q5m4] {
    background-color: rgba(46, 139, 87, 0.08);
    color: #16A34A;
}

.file-type-csv[b-zkatq4q5m4] {
    background-color: rgba(107, 114, 128, 0.08);
    color: #6B7280;
}

.file-type-default[b-zkatq4q5m4] {
    background-color: #F5F5F5;
    color: #6B7280;
}

.file-details[b-zkatq4q5m4] {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    min-width: 0;
}

.file-name[b-zkatq4q5m4] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size[b-zkatq4q5m4] {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: #9CA3AF;
}

.upload-card-actions[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ===== Status Pill ===== */

.status-pill[b-zkatq4q5m4] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border: 1px solid;
    white-space: nowrap;
}

.status-dot[b-zkatq4q5m4] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pill-uploading[b-zkatq4q5m4] {
    background-color: rgba(124, 110, 224, 0.08);
    border-color: rgba(124, 110, 224, 0.3);
    color: #7C6EE0;
}

.pill-uploading .status-dot[b-zkatq4q5m4] {
    background-color: #7C6EE0;
}

.pill-extracting[b-zkatq4q5m4] {
    background-color: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.4);
    color: #B8860B;
}

.pill-extracting .status-dot[b-zkatq4q5m4] {
    background-color: #D97706;
}

.pill-processing[b-zkatq4q5m4] {
    background-color: rgba(232, 168, 56, 0.1);
    border-color: rgba(232, 168, 56, 0.4);
    color: #B8860B;
}

.pill-processing .status-dot[b-zkatq4q5m4] {
    background-color: #D97706;
}

.pill-ready[b-zkatq4q5m4] {
    background-color: rgba(46, 139, 87, 0.08);
    border-color: rgba(46, 139, 87, 0.3);
    color: #16A34A;
}

.pill-ready .status-dot[b-zkatq4q5m4] {
    background-color: #16A34A;
}

.pill-failed[b-zkatq4q5m4] {
    background-color: #FEF2F2;
    border-color: #DC2626;
    color: #DC2626;
}

.pill-failed .status-dot[b-zkatq4q5m4] {
    background-color: #DC2626;
}

/* ===== Dismiss Button ===== */

.dismiss-btn[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 150ms;
}

.dismiss-btn:hover[b-zkatq4q5m4] {
    color: #6B7280;
}

/* ===== Progress Bar ===== */

.progress-bar-track[b-zkatq4q5m4] {
    height: 4px;
    margin: 0 1rem;
    border-radius: 2px;
    overflow: hidden;
    transition: background-color 300ms;
}

.track-uploading[b-zkatq4q5m4] {
    background-color: rgba(124, 110, 224, 0.15);
}

.track-extracting[b-zkatq4q5m4] {
    background-color: rgba(232, 168, 56, 0.15);
}

.track-processing[b-zkatq4q5m4] {
    background-color: rgba(232, 168, 56, 0.15);
}

.track-ready[b-zkatq4q5m4] {
    background-color: rgba(46, 139, 87, 0.15);
}

.track-failed[b-zkatq4q5m4] {
    background-color: rgba(220, 74, 58, 0.15);
}

.progress-bar-fill[b-zkatq4q5m4] {
    height: 100%;
    border-radius: 2px;
    transition: width 400ms ease, background-color 300ms;
}

.fill-uploading[b-zkatq4q5m4] {
    background-color: #7C6EE0;
}

.fill-extracting[b-zkatq4q5m4] {
    background-color: #D97706;
}

.fill-processing[b-zkatq4q5m4] {
    background-color: #D97706;
}

.fill-ready[b-zkatq4q5m4] {
    background-color: #16A34A;
}

.fill-failed[b-zkatq4q5m4] {
    background-color: #DC2626;
}

/* ===== Collapsible Body ===== */

.upload-card-body[b-zkatq4q5m4] {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 300ms ease;
}

.upload-card-body.collapsed[b-zkatq4q5m4] {
    grid-template-rows: 0fr;
}

.upload-card-body-inner[b-zkatq4q5m4] {
    overflow: hidden;
}

/* ===== Step List ===== */

.step-list[b-zkatq4q5m4] {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.step-item[b-zkatq4q5m4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.step-dot[b-zkatq4q5m4] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-complete .step-dot[b-zkatq4q5m4] {
    background-color: #16A34A;
}

.step-complete .step-text[b-zkatq4q5m4] {
    color: #16A34A;
}

.step-active .step-dot[b-zkatq4q5m4] {
    background-color: #D97706;
}

.step-active .step-text[b-zkatq4q5m4] {
    color: #D97706;
}

.step-pending .step-dot[b-zkatq4q5m4] {
    background-color: #9CA3AF;
}

.step-pending .step-text[b-zkatq4q5m4] {
    color: #9CA3AF;
}

.step-failed .step-dot[b-zkatq4q5m4] {
    background-color: #DC2626;
}

.step-failed .step-text[b-zkatq4q5m4] {
    color: #DC2626;
}
/* /Components/Shared/UserMenu.razor.rz.scp.css */
.user-menu[b-q37a68p337] {
    position: relative;
}

.user-menu-btn[b-q37a68p337] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 150ms;
}

.user-menu-btn:hover[b-q37a68p337] {
    background-color: rgba(255, 255, 255, 0.25);
}

.user-menu-btn:focus-visible[b-q37a68p337] {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.user-dropdown[b-q37a68p337] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 14rem;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow: hidden;
}

.user-menu-backdrop[b-q37a68p337] {
    position: fixed;
    inset: 0;
    z-index: 49;
}

.user-dropdown-header[b-q37a68p337] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E5E5;
}

.user-dropdown-email[b-q37a68p337] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    word-break: break-all;
}

.user-dropdown-role[b-q37a68p337] {
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.user-dropdown-item[b-q37a68p337] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1f2937;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 150ms;
}

.user-dropdown-item:hover[b-q37a68p337] {
    background-color: #f3f4f6;
}

.user-dropdown-item svg[b-q37a68p337] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.user-dropdown-signout[b-q37a68p337] {
    color: #b91c1c;
}
