/* Pilot-only design tokens. Other application screens retain their current styles. */
.dashboard-load-context { border: 1px solid #dbe3ee; border-radius: 8px; padding: 14px 16px; background: #f8fafc; margin-bottom: 16px; font-size: 13px; color: #0f172a; }
.dashboard-context-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.dashboard-context-facts strong { display: block; color: #475569; font-size: 12px; }
.dashboard-load-progress { display: flex; gap: 12px; align-items: center; border-top: 1px solid #dbe3ee; padding-top: 12px; margin-top: 12px; }
.dashboard-source-details { font-size: 12px; color: #475569; margin-top: 10px; overflow-wrap: anywhere; }
.pilot-workspace {
    --workspace-ink: #0f172a;
    --workspace-muted: #475569;
    --workspace-primary: #1d4ed8;
    --workspace-border: #dbe3ee;
    --workspace-surface: #f8fafc;
    --workspace-row-height: 48px;
    color: var(--workspace-ink);
    font-size: 14px;
    min-width: 0;
}
.pilot-workspace.is-compact { --workspace-row-height: 36px; }
.pilot-workspace .workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.pilot-workspace .workspace-heading-copy { flex: 1 1 280px; min-width: 0; }
.pilot-workspace .workspace-eyebrow { color: var(--workspace-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.pilot-workspace .workspace-heading h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; margin: 0 0 8px; }
.pilot-workspace .workspace-heading p { color: var(--workspace-muted); line-height: 1.5; margin: 0; max-width: 72ch; }
.pilot-workspace .workspace-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.pilot-workspace .workspace-file-picker { position: relative; overflow: hidden; }
.pilot-workspace .workspace-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pilot-workspace .workspace-file-picker:focus-within { outline: 2px solid var(--workspace-primary); outline-offset: 2px; }
.pilot-workspace .workspace-context { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px; border: 1px solid var(--workspace-border); border-radius: 10px; background: var(--workspace-surface); margin-bottom: 16px; }
.pilot-workspace .workspace-context-values { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--workspace-muted); font-size: 13px; }
.pilot-workspace .workspace-context-values strong { color: var(--workspace-ink); margin-right: 4px; }
.pilot-workspace .workspace-density { display: inline-flex; padding: 3px; border: 1px solid var(--workspace-border); border-radius: 8px; background: white; gap: 2px; }
.pilot-workspace .workspace-density button { border: 0; border-radius: 5px; background: transparent; color: var(--workspace-muted); padding: 6px 10px; font-size: 12px; min-height: 30px; }
.pilot-workspace .workspace-density button[aria-pressed="true"] { background: #e8efff; color: #1e40af; font-weight: 700; }
.pilot-workspace .btn { min-height: 36px; border-radius: 7px; font-size: 13px; padding: 7px 12px; }
.pilot-workspace .btn-primary, .pilot-workspace .btn-success { --bs-btn-bg: var(--workspace-primary); --bs-btn-border-color: var(--workspace-primary); --bs-btn-hover-bg: #1e40af; --bs-btn-hover-border-color: #1e40af; --bs-btn-active-bg: #1e3a8a; --bs-btn-active-border-color: #1e3a8a; }
.pilot-workspace .btn-link { min-height: 28px; }
.pilot-workspace .card { border-color: var(--workspace-border); border-radius: 10px; box-shadow: none; margin-bottom: 16px !important; }
.pilot-workspace .card-header { background: var(--workspace-surface); border-bottom-color: var(--workspace-border); padding: 12px 16px !important; }
.pilot-workspace .card-body { padding: 16px; }
.pilot-workspace .form-control, .pilot-workspace .form-select { min-height: 38px; border-radius: 6px; font-size: 14px; border-color: #b7c5d6; }
.pilot-workspace .form-label, .pilot-workspace .rolloff-filter span { color: var(--workspace-muted); font-size: 13px; font-weight: 600; }
.pilot-workspace :is(button, input, select, summary, a):focus-visible { outline: 2px solid var(--workspace-primary) !important; outline-offset: 2px; }
.pilot-workspace .smart-table-wrapper { max-height: min(65vh, 720px); border: 1px solid var(--workspace-border); border-radius: 8px; scrollbar-gutter: stable; }
.pilot-workspace .smart-table th, .pilot-workspace .smart-table td { height: var(--workspace-row-height); box-sizing: border-box; font-size: 14px; padding: 6px 10px !important; vertical-align: middle; }
.pilot-workspace.is-compact .smart-table th, .pilot-workspace.is-compact .smart-table td { font-size: 13px; padding: 4px 8px !important; }
.pilot-workspace .smart-table td[data-type="number"] { text-align: right; font-variant-numeric: tabular-nums; }
.pilot-workspace .smart-table input:not([type="checkbox"]):not([type="radio"]), .pilot-workspace .smart-table select { height: 34px; min-height: 34px; font-size: 14px !important; padding: 4px 6px !important; }
.pilot-workspace.is-compact .smart-table input:not([type="checkbox"]):not([type="radio"]), .pilot-workspace.is-compact .smart-table select { height: 28px; min-height: 28px; font-size: 13px !important; }
.pilot-workspace .smart-table td.editable { background-color: #f4f8ff !important; }
.pilot-workspace .smart-table .editing-box input, .pilot-workspace .smart-table .editing-box select { background-color: #fff !important; border-color: var(--workspace-primary) !important; }
.pilot-workspace .smart-table td.editable:hover::after { content: none; }
.pilot-workspace .workspace-table-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.pilot-workspace .workspace-table-status { color: var(--workspace-muted); font-size: 13px; margin-left: 8px; }
.pilot-workspace :is(.rolloff-summary-scroll, .nomination-summary-scroll, .open-need-summary-scroll) { --summary-row-height: 40px; }
.pilot-workspace.is-compact :is(.rolloff-summary-scroll, .nomination-summary-scroll, .open-need-summary-scroll) { --summary-row-height: 36px; }
.pilot-workspace :is(.rolloff-summary-table, .nomination-summary-table, .open-need-summary-table) .btn { min-height: 24px; font-size: 13px; }
.pilot-workspace .nomination-filter span { color: var(--workspace-muted); font-size: 13px; font-weight: 600; }
.pilot-workspace .workspace-source { color: var(--workspace-muted); font-size: 12px; margin: 12px 0; white-space: normal; }
.pilot-workspace .workspace-help { color: var(--workspace-muted); line-height: 1.5; margin: 12px 0; }
.financial-workspace .financial-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.financial-workspace .financial-stages > div { padding: 16px; border: 1px solid var(--workspace-border); border-radius: 8px; background: var(--workspace-surface); }
.financial-workspace .financial-stages span { display: block; color: var(--workspace-muted); margin-top: 6px; }
.financial-workspace .financial-state { padding: 16px; border: 1px solid var(--workspace-border); border-left-width: 4px; border-radius: 8px; margin: 16px 0; }
.financial-workspace .financial-state p { margin: 6px 0; }
.financial-workspace .financial-state-saved { border-left-color: #1d4ed8; background: #f3f7ff; }
.financial-workspace .financial-state-proposed { border-left-color: #a16207; background: #fffbeb; }
.financial-workspace .financial-state-history { border-left-color: #64748b; background: #f8fafc; }
.financial-workspace .financial-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.financial-workspace .financial-facts strong { display: block; font-size: 12px; color: var(--workspace-muted); }
.financial-workspace .financial-draft-label { color: #854d0e; background: #fef3c7; border-radius: 4px; padding: 6px; margin-bottom: 8px; font-size: 12px; white-space: normal; }
.financial-workspace .financial-allocation-scroll { max-height: 26rem; overflow: auto; }
@media (max-width: 760px) {
    .pilot-workspace .workspace-heading { gap: 12px; }
    .pilot-workspace .workspace-actions { width: 100%; }
    .pilot-workspace .workspace-context { align-items: flex-start; }
    .pilot-workspace .smart-table-wrapper { max-height: 60vh; }
    .pilot-workspace .investment-filter-card .card-header { flex-wrap: wrap; gap: 12px; }
}
