:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--swf-red:#fa0026;--swf-pink:#f781bf;--swf-violet:#7d228c;--swf-light-violet:#c492c6;--swf-blue:#0e2884;--swf-light-blue:#688acb;--swf-dark-gray:#514f4a;--seoul-red:#941e34;--seoul-gray-light:#dfdfdd;--seoul-orange:#bc6f25;--seoul-blue:#6789ca;--seoul-green:#455f54;--seoul-brown:#594743;--seoul-dark-gray:#504e49;--seoul-gray:#a4a199;--seoul-ochre:#e5b560;--seoul-beige:#d8ccad;--seoul-local-233:#273538;--seoul-local-242:#eae3d4;--seoul-local-221:#2e3330;--derived-violet-strong:#641b70;--derived-violet-soft:#f5ecf6;--derived-gray-muted:#6e6b64;--derived-canvas:#f4f4f2;--derived-orange-strong:#96581d;--derived-red-strong:#7a1930;--derived-green-soft:#e8eeeb;--derived-red-soft:#f6e9ec;--derived-orange-soft:#f7efe3;--derived-blue-soft:#eaeff8;--color-text:var(--seoul-dark-gray);--color-text-muted:var(--derived-gray-muted);--color-text-inverse:#fff;--color-interactive:var(--swf-violet);--color-interactive-strong:var(--derived-violet-strong);--color-interactive-soft:var(--derived-violet-soft);--color-brand-accent:var(--swf-red);--color-danger:var(--seoul-red);--color-success:var(--seoul-green);--color-info:var(--seoul-blue);--color-warning:var(--derived-orange-strong);--color-danger-strong:var(--derived-red-strong);--color-success-soft:var(--derived-green-soft);--color-danger-soft:var(--derived-red-soft);--color-warning-soft:var(--derived-orange-soft);--color-info-soft:var(--derived-blue-soft);--color-surface:#fff;--color-surface-muted:var(--seoul-gray-light);--color-canvas:var(--derived-canvas);--color-border:var(--seoul-gray);--color-border-strong:var(--derived-gray-muted);--color-focus-ring:var(--swf-violet);--color-backdrop:#10182873;--color-sidebar-bg:var(--seoul-local-233);--color-sidebar-text:var(--seoul-gray-light);--color-sidebar-text-muted:var(--seoul-gray);--color-sidebar-highlight:var(--seoul-ochre);--color-sidebar-hover-bg:#ffffff14;--color-sidebar-border:#ffffff1f;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--z-header:10;--z-dropdown:20;--z-overlay:30;--z-modal:40;--z-toast:50;--shadow-sm:0 1px 2px #10182814;--radius-sm:.5rem;--radius-md:.75rem;--sidebar-width:248px;--control-height:2.5rem;--control-padding-y:.55rem;--control-padding-x:.85rem;--control-radius:var(--radius-sm);--chart-series-actual:var(--swf-violet);--chart-series-expected:var(--seoul-orange);--chart-series-scenario:var(--seoul-blue);--chart-band-fill:color-mix(in srgb, var(--chart-series-scenario) 12%, transparent);--chart-grid:var(--color-border);--button-primary-bg:var(--color-interactive);--button-primary-bg-hover:var(--color-interactive-strong);--button-danger-bg:var(--color-danger);--button-danger-bg-hover:var(--color-danger-strong)}*,:before,:after{box-sizing:border-box}html{color:var(--color-text);background:var(--color-canvas);font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0;font-size:1rem;line-height:1.5}button,input,select,textarea{font:inherit}a{color:inherit}:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px}h1,p{margin-block-start:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100vh;display:grid}.skip-link{top:var(--space-2);left:var(--space-2);z-index:var(--z-toast);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);background:var(--color-surface);color:var(--color-interactive);font-weight:700;position:fixed;transform:translateY(-200%)}.skip-link:focus-visible{transform:none}.sidebar{min-width:0;color:var(--color-text-inverse);background:var(--color-sidebar-bg);flex-direction:column;gap:1.5rem;padding:1.5rem 1rem;display:flex}.brand{align-items:center;gap:.75rem;display:flex}.brand-mark{border-radius:var(--radius-sm);background:var(--color-brand-accent);flex:none;place-items:center;width:2.5rem;height:2.5rem;font-weight:800;display:grid}.brand-title{margin:0;font-size:1.125rem;font-weight:800}.brand-caption{color:var(--color-sidebar-text-muted);margin:.2rem 0 0;font-size:.75rem}.nav-list{gap:.375rem;display:grid}.nav-link{border-radius:var(--radius-sm);color:var(--color-sidebar-text);border-inline-start:3px solid #0000;padding:.75rem .875rem;font-weight:650;text-decoration:none}.nav-link:hover{color:var(--color-text-inverse);background:var(--color-sidebar-hover-bg)}.nav-link[aria-current=page]{color:var(--color-text-inverse);background:var(--color-interactive);border-inline-start-color:var(--color-sidebar-highlight);font-weight:700}.sidebar-note{border:1px solid var(--color-sidebar-border);border-radius:var(--radius-sm);color:var(--color-sidebar-text-muted);justify-content:space-between;margin-top:auto;padding:.875rem;font-size:.8125rem;display:flex}.sidebar-note strong{color:var(--color-sidebar-highlight)}.main-shell{min-width:0}.topbar{border-bottom:1px solid var(--color-border);background:var(--color-surface);align-items:center;min-height:4rem;padding:0 2rem;display:flex}.topbar p{color:var(--color-text-muted);margin:0;font-size:.875rem;font-weight:650}.content{padding:2rem}.page,.route-error{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);max-width:80rem;box-shadow:var(--shadow-sm);margin:0 auto;padding:1.5rem}.eyebrow{color:var(--color-interactive-strong);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.375rem;font-size:.75rem;font-weight:800}.page>p:last-child,.route-error p{color:var(--color-text-muted)}@media (width<=760px){.app-shell{display:block}.sidebar{padding:1rem}.nav-list{gap:.25rem;display:flex;overflow-x:auto}.nav-link{white-space:nowrap;flex:none}.sidebar-note{display:none}.topbar{min-height:3.25rem;padding-inline:1rem}.content{padding:1rem}}.page-heading,.page-actions,.dialog-heading,.dialog-actions,.row-actions{align-items:center;display:flex}.page-heading{justify-content:space-between;gap:var(--space-4)}.page-heading h1,.app-dialog h2{margin:0}.page-heading>div>p:last-child{color:var(--color-text-muted);margin:.35rem 0 0}.page-actions,.dialog-actions,.row-actions{gap:var(--space-2)}.dialog-actions{justify-content:flex-end}.dialog-heading{margin-bottom:var(--space-4);justify-content:space-between}.button,.text-button,.dialog-close{font:inherit;cursor:pointer}.button{min-height:var(--control-height);border-radius:var(--control-radius);padding:var(--control-padding-y) var(--control-padding-x);word-break:keep-all;border:1px solid #0000;font-weight:700}.button:disabled,.text-button:disabled{cursor:not-allowed;opacity:.58}.button[aria-busy=true],.text-button[aria-busy=true]{cursor:wait;opacity:.58}.button-primary{background:var(--button-primary-bg);color:var(--color-text-inverse)}.button-primary:hover:not(:disabled,[aria-busy=true]),.button-primary:active:not(:disabled,[aria-busy=true]){background:var(--button-primary-bg-hover)}.button-secondary{border-color:var(--color-border);background:var(--color-surface);color:var(--color-text)}.button-secondary:hover:not(:disabled,[aria-busy=true]),.button-secondary:active:not(:disabled,[aria-busy=true]){background:var(--color-surface-muted)}.button-danger{background:var(--button-danger-bg);color:var(--color-text-inverse)}.button-danger:hover:not(:disabled,[aria-busy=true]),.button-danger:active:not(:disabled,[aria-busy=true]){background:var(--button-danger-bg-hover)}.text-button{padding:var(--space-1);color:var(--color-interactive);background:0 0;border:0;font-weight:700}.text-button:hover:not(:disabled,[aria-busy=true]){color:var(--color-interactive-strong);text-decoration:underline}.text-button-danger{color:var(--color-danger)}.text-button-danger:hover:not(:disabled,[aria-busy=true]){color:var(--color-danger-strong)}.app-dialog{z-index:var(--z-modal);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);width:min(48rem,100vw - 2rem);max-height:calc(100vh - 3rem);box-shadow:var(--shadow-sm);padding:1.25rem;position:fixed;inset:50% auto auto 50%;overflow:auto;transform:translate(-50%,-50%)}.app-dialog::backdrop{background:var(--color-backdrop)}.confirm-dialog{width:min(29rem,100vw - 2rem)}.dialog-close{color:var(--color-text-muted);background:0 0;border:0;padding:.25rem .5rem;font-size:1.5rem}.table-scroll{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow-x:auto}.form-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.form-field-wide{grid-column:1/-1}.data-table{border-collapse:collapse;width:100%;font-size:.84rem}.data-table th,.data-table td{border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;padding:.65rem .7rem}.data-table thead th{background:var(--color-canvas);color:var(--color-text-muted);letter-spacing:.02em;text-transform:uppercase;font-size:.72rem}.data-table tbody tr:last-child>*{border-bottom:0}.data-table thead th[aria-sort]{cursor:pointer}.data-table thead th[aria-sort=ascending]:after{content:" ▲"}.data-table thead th[aria-sort=descending]:after{content:" ▼"}.data-table tbody tr:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:-2px;background:var(--color-interactive-soft)}.table-selection-count{color:var(--color-text-muted);font-size:.8rem;font-weight:700}.month-series-scroll{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);min-width:0;overflow-x:auto}.month-series-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:.84rem}.month-series-table caption{color:var(--color-text-muted);text-align:left;padding:.65rem .7rem 0;font-size:.78rem;font-weight:700}.month-series-table th,.month-series-table td{border-bottom:1px solid var(--color-border);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;min-width:5rem;padding:.55rem .7rem}.month-series-table thead th{background:var(--color-canvas);color:var(--color-text-muted);letter-spacing:.02em;text-align:center;font-size:.72rem}.month-series-table thead th[scope=colgroup]{text-align:left}.month-series-table tbody tr:last-child>*{border-bottom:0}.month-series-table .month-series-row-header{z-index:1;border-right:1px solid var(--color-border);background:var(--color-surface);text-align:left;min-width:9rem;font-weight:700;position:sticky;left:0}.month-series-table thead .month-series-row-header{z-index:2;background:var(--color-canvas)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}:where(input:not([type=checkbox],[type=radio]),select,textarea){width:100%;min-height:var(--control-height);border:1px solid var(--color-border);border-radius:var(--control-radius);background:var(--color-surface);color:var(--color-text);font:inherit;padding:.48rem .58rem}textarea{resize:vertical}:where(input,select,textarea):disabled{border-color:var(--color-border);background:var(--color-canvas);color:var(--color-text-muted);cursor:not-allowed}.form-field{gap:var(--space-1);color:var(--color-text-muted);font-size:.78rem;font-weight:700;display:grid}.alert{gap:var(--space-2);border-radius:var(--radius-sm);border:1px solid;margin:0;padding:.85rem 1rem;display:flex}.alert-info{border-color:var(--color-info);background:var(--color-info-soft);color:var(--color-text)}.alert-success{border-color:var(--color-success);background:var(--color-success-soft);color:var(--color-success)}.alert-warning{border-color:var(--color-warning);background:var(--color-warning-soft);color:var(--color-warning)}.alert-error{border-color:var(--color-danger);background:var(--color-danger-soft);color:var(--color-danger)}.alert-actions{margin-top:var(--space-2);display:block}.state-panel,.success-message{border-radius:var(--radius-sm);margin:0;padding:.85rem 1rem}.state-panel{border:1px dashed var(--color-border);color:var(--color-text-muted);text-align:center}.state-error{border:1px solid var(--color-danger);background:var(--color-danger-soft);color:var(--color-danger)}.state-error p{margin:0}.success-message{border:1px solid var(--color-success);background:var(--color-success-soft);color:var(--color-success)}.field-error{color:var(--color-danger);margin:0;font-size:.75rem;font-weight:600}.field-help{color:var(--color-text-muted);margin:0;font-size:.75rem}.status-badge{background:var(--color-interactive-soft);color:var(--color-interactive-strong);border-radius:999px;align-items:center;padding:.2rem .48rem;font-size:.72rem;font-weight:800;display:inline-flex}.status-won{background:var(--color-success-soft);color:var(--color-success)}.status-lost,.status-badge.danger{background:var(--color-danger-soft);color:var(--color-danger)}.status-on_hold{background:var(--color-warning-soft);color:var(--color-warning)}@media (width<=700px){.page-heading,.page-actions{flex-direction:column;align-items:stretch}.form-grid{grid-template-columns:1fr}.form-field-wide{grid-column:auto}}.resources-page{gap:1rem;min-width:0;max-width:none;display:grid}.resource-page-heading{align-items:flex-start}.resource-summary{flex-wrap:wrap;gap:.75rem;margin:0;display:flex}.resource-summary dl{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);min-width:8rem;margin:0;padding:.65rem .8rem}.resource-summary dt{color:var(--color-text-muted);font-size:.72rem;font-weight:700}.resource-summary dd{margin:.2rem 0 0;font-size:1.1rem;font-weight:800}.resource-filters{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-canvas);grid-template-columns:repeat(4,minmax(9rem,1fr));align-items:end;gap:.7rem;padding:.85rem;display:grid}.resource-range-error{grid-column:1/-1;margin:0}.resource-capacity-workbench{min-width:0}.resource-grid-scroll{border:1px solid var(--color-border);border-radius:var(--radius-md);max-height:calc(100dvh - 16rem);overflow:auto}.capacity-mode-control{border:0;flex-wrap:wrap;gap:.65rem;margin:0 0 1rem;padding:0;display:flex}.capacity-mode-control legend{width:100%;font-weight:700}.capacity-mode-control label{border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;border-radius:.6rem;align-items:flex-start;gap:.45rem;padding:.6rem .75rem;display:flex}.capacity-mode-control label:has(input:checked){border-color:var(--color-interactive);box-shadow:0 0 0 1px var(--color-interactive)}.capacity-mode-control span{gap:.1rem;display:grid}.capacity-mode-control small{color:var(--color-text-muted);max-width:15rem}.resource-allocation-grid tr[data-row-kind=pool] th[scope=row]{background:color-mix(in srgb, var(--color-surface) 82%, var(--color-interactive) 18%)}.resource-allocation-grid [data-contribution-type=NAMED_RESERVATION]{border:2px dashed #ffffffbf}.resource-stale-warning{border-left:4px solid var(--color-danger);background:color-mix(in srgb, var(--color-danger) 8%, var(--color-surface));padding:.65rem .8rem}.capacity-contribution-list{gap:.5rem;padding:0;list-style:none;display:grid}.capacity-contribution-list li{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.resource-allocation-grid{contain:paint;border-collapse:separate;border-spacing:0;background:var(--color-surface);width:max-content;min-width:100%;font-size:.78rem}.resource-allocation-grid th,.resource-allocation-grid td{border-right:1px solid var(--color-border);border-bottom:1px solid var(--color-border);vertical-align:top;min-width:6.5rem;padding:0}.resource-allocation-grid thead th{z-index:2;background:var(--color-canvas);height:2rem;color:var(--color-text-muted);text-align:center;padding:.4rem;font-size:.74rem;position:sticky;top:0}.resource-allocation-grid thead tr:nth-child(2) th{background:var(--color-surface);top:2rem}.resource-allocation-grid tr:last-child>*{border-bottom:0}.resource-allocation-grid tr>:last-child{border-right:0}.resource-allocation-grid .resource-sticky-column{z-index:3;pointer-events:none;background:var(--color-surface);text-align:left;min-width:12rem;padding:.7rem;position:sticky;left:0}.resource-allocation-grid thead .resource-sticky-column{z-index:5;background:var(--color-canvas)}.resource-sticky-column span,.resource-project-mix{color:var(--color-text-muted);margin-top:.25rem;font-size:.72rem;font-weight:500;display:block}.resource-allocation-grid td>button{width:100%;min-height:5.25rem;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:.22rem;padding:.55rem;display:grid}.resource-allocation-grid td>button:focus-visible{z-index:1;outline:2px solid var(--color-focus-ring);outline-offset:-2px;position:relative}.resource-allocation-grid td strong{font-variant-numeric:tabular-nums;font-size:1.1rem}.resource-allocation-grid td small,.resource-project-mix{white-space:nowrap;text-overflow:ellipsis;font-size:.68rem;overflow:hidden}.resource-capacity-available{background:var(--color-success-soft);color:var(--color-success)}.resource-capacity-limited{background:var(--color-warning-soft);color:var(--color-warning)}.resource-capacity-full{background:var(--color-danger-soft);color:var(--color-danger)}.resource-capacity-over{background:var(--color-danger);color:var(--color-surface)}.resource-segments{background:#ffffffbf;border:1px solid #17203329;border-radius:999px;height:.5rem;display:flex;overflow:hidden}.resource-segments [data-contribution-type=ALLOCATION]{background-color:var(--color-info)}.resource-segments [data-contribution-type=NAMED_RESERVATION]{background-color:var(--color-interactive)}.resource-segments [data-contribution-type=ROLE_DEMAND]{background-color:var(--color-warning);background-image:repeating-linear-gradient(135deg,#ffffff8c 0 2px,#0000 2px 5px)}.resource-segments .resource-segment-remaining{background-color:var(--color-success)}.resource-allocation-drawer{z-index:30;border:0;border-left:1px solid var(--color-border);background:var(--color-surface);width:min(25rem,100vw);max-width:none;height:100dvh;max-height:none;color:var(--color-text);margin:0;padding:1.25rem;position:fixed;inset:0 0 0 auto;overflow-y:auto;box-shadow:-1rem 0 2rem #10182824}.resource-allocation-drawer::backdrop{background:var(--color-backdrop)}.resource-allocation-drawer-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.resource-allocation-drawer-header h2,.resource-allocation-drawer h3{margin:0}.resource-allocation-drawer-header p:last-child{color:var(--color-text-muted);margin:.4rem 0 0;font-size:.8rem}.resource-allocation-drawer>section{margin-top:1.25rem}.resource-allocation-drawer>section h3{margin-bottom:.55rem;font-size:.9rem}.resource-allocation-drawer form,.resource-allocation-drawer fieldset{gap:.75rem;display:grid}.resource-allocation-drawer form{margin-top:1rem}.resource-allocation-drawer fieldset{border:0;min-width:0;padding:0}.resource-fixed-project{border-radius:var(--radius-sm);background:var(--color-canvas);gap:.25rem;padding:.7rem;display:grid}.resource-fixed-project span{color:var(--color-text-muted);font-size:.8rem}.resource-capacity-controls{justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.pool-demand-details ul{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.pool-demand-details li{border:1px solid var(--color-border);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:1rem;padding:.65rem;display:flex}.pool-demand-details li div{gap:.2rem;display:grid}.resource-allocation-existing{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);gap:.5rem;padding:.75rem;display:grid}.resource-allocation-existing p{margin:0}.resource-allocation-existing article{grid-template-columns:minmax(0,1fr) auto;gap:.2rem .5rem;display:grid}.resource-allocation-existing article strong{overflow-wrap:anywhere}.resource-allocation-existing article small{color:var(--color-text-muted);grid-column:1/-1}.resource-allocation-adjustment{color:var(--color-interactive);margin:0;font-size:.78rem}.resource-allocation-projection{border:1px solid var(--color-success);border-radius:var(--radius-sm);background:var(--color-success-soft);color:var(--color-success);gap:.2rem;padding:.75rem;display:grid}.resource-allocation-projection.is-warning{border-color:var(--color-warning);background:var(--color-warning-soft);color:var(--color-warning)}.resource-allocation-actions{justify-content:flex-end;gap:.5rem;padding-top:.35rem;display:flex}@media (width<=900px){.resource-page-heading{flex-direction:column;align-items:stretch}.resource-filters{grid-template-columns:1fr 1fr}.resource-allocation-grid th,.resource-allocation-grid td{min-width:6rem}.resource-allocation-grid .resource-sticky-column{min-width:9rem}.resource-allocation-drawer{width:100vw;inset:0}}@media (width<=600px){.resource-filters{grid-template-columns:1fr}.resource-range-error{grid-column:1}}.project-detail-page{gap:1rem;display:grid}.detail-back{width:fit-content;color:var(--color-interactive);font-size:.85rem;font-weight:750;text-decoration:none}.detail-heading h1,.detail-heading p,.detail-section p,.detail-section dl{margin:0}.detail-heading>div>p:last-child,.section-toolbar>p{color:var(--color-text-muted);margin-top:.35rem}.detail-section{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);overflow:clip}.detail-section>summary{cursor:pointer;color:var(--color-text);background:var(--color-canvas);padding:.9rem 1rem;font-weight:800}.detail-section>summary:hover{color:var(--color-interactive-strong)}.detail-section-body{gap:.85rem;padding:1rem;display:grid}.section-toolbar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;display:grid}.summary-grid>div{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);min-width:0;padding:.7rem}.summary-grid dt{color:var(--color-text-muted);font-size:.72rem;font-weight:750}.summary-grid dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:.3rem 0 0;font-weight:800}.detail-list{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.detail-list>li{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:.7rem 0;display:flex}.detail-list>li:first-child{padding-top:0}.detail-list>li:last-child{border-bottom:0;padding-bottom:0}.memo-list p{white-space:pre-wrap;margin-top:.35rem}.detail-form{border-top:1px solid var(--color-border);gap:.85rem;padding-top:1rem;display:grid}@media (width<=900px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.section-toolbar,.detail-list>li{flex-direction:column;align-items:stretch}.summary-grid,.form-grid{grid-template-columns:1fr}}.project-staffing-workbench{gap:1rem;display:grid}.project-staffing-workbench .section-heading p{color:var(--color-text-muted);margin:.25rem 0 0}.project-demand-summary{gap:.6rem;display:grid}.project-demand-summary h3{margin:0}.project-allocation-list{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.project-allocation-list li{border:1px solid var(--color-border);border-radius:var(--radius-sm);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.7rem;padding:.75rem;display:grid}.project-allocation-list li div{gap:.2rem;display:grid}.project-allocation-list li span{color:var(--color-text-muted)}.allocation-origin-label{background:var(--color-canvas);border-radius:999px;padding:.25rem .45rem;font-size:.8rem}.allocation-over-warning{color:var(--color-danger)}@media (width<=800px){.project-allocation-list li{grid-template-columns:1fr;align-items:start}}.employees-page,.employee-form{gap:1rem;display:grid}.employee-table{min-width:62rem}.employee-row-inactive{color:var(--color-text-muted);background:var(--color-canvas)}.employee-row-inactive th,.employee-row-inactive td{-webkit-text-decoration-color:var(--color-border);text-decoration-color:var(--color-border)}.employee-status-fields{border:1px solid var(--color-border);border-radius:var(--radius-sm);align-items:center;gap:1rem;min-width:0;padding:.55rem .7rem;display:flex}.employee-status-fields legend{color:var(--color-text-muted);padding-inline:.25rem;font-size:.78rem;font-weight:700}.employee-status-fields label{align-items:center;gap:.35rem;display:inline-flex}.projects-page{gap:1rem;display:grid}.project-filters{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:minmax(13rem,2fr) repeat(4,minmax(8rem,1fr)) auto;align-items:end;gap:.65rem;padding:.85rem;display:grid}.project-table{min-width:72rem}.project-table a{color:var(--color-interactive);font-weight:800}.number-cell{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right!important}.cell-detail{color:var(--color-text-muted);white-space:nowrap;margin-top:.2rem;font-size:.73rem;font-weight:500;display:block}.project-form{gap:1rem;display:grid}@media (width<=1050px){.project-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.project-filters{grid-template-columns:1fr}}.dashboard-page{gap:1rem;max-width:96rem;display:grid}.summary-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.summary-card,.dashboard-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);box-shadow:var(--shadow-sm)}.summary-card{min-width:0;padding:1rem}.summary-card>span{color:var(--color-text-muted);font-size:.78rem}.summary-card strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:.65rem;font-size:clamp(1.05rem,2vw,1.4rem);display:block}.dashboard-panel{padding:1rem}.dashboard-panel-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.8rem;display:flex}.dashboard-panel-heading h2{margin:0;font-size:1rem}.dashboard-panel-heading>span{color:var(--color-text-muted);font-size:.78rem;font-weight:800}.dashboard-list-empty{color:var(--color-text-muted);margin:0;padding:.7rem 0;font-size:.8rem}.revenue-trend{gap:.85rem;display:grid}.revenue-trend-intro,.revenue-trend-note{color:var(--color-text-muted);margin:0;font-size:.8rem}.revenue-trend-mode{border:0;flex-wrap:wrap;gap:.65rem;margin:0;padding:0;display:flex}.revenue-trend-mode legend{width:100%;margin-bottom:.4rem;font-size:.8rem;font-weight:700}.revenue-trend-mode label{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);cursor:pointer;align-items:flex-start;gap:.45rem;padding:.5rem .7rem;display:flex}.revenue-trend-mode label:has(input:checked){border-color:var(--color-interactive);box-shadow:0 0 0 1px var(--color-interactive)}.revenue-trend-mode span{gap:.1rem;font-size:.82rem;display:grid}.revenue-trend-mode small{max-width:14rem;color:var(--color-text-muted)}.revenue-trend-legend{flex-wrap:wrap;gap:.35rem 1.1rem;margin:0;padding:0;font-size:.8rem;list-style:none;display:flex}.revenue-trend-legend li{align-items:center;gap:.4rem;display:flex}.revenue-trend-key{border-radius:.15rem;flex:none;width:1rem;height:.75rem}.revenue-trend-key-actual{background:var(--chart-series-actual)}.revenue-trend-key-expected{background:var(--chart-series-expected);border-radius:.1rem;height:.2rem}.revenue-trend-key-scenario{border:1px solid var(--chart-series-scenario);background:var(--chart-band-fill)}.revenue-trend-scroll{overflow-x:auto}.revenue-trend-figure{border-radius:var(--radius-sm);min-width:42rem;position:relative}.revenue-trend-svg{width:100%;height:auto;display:block}.revenue-trend-grid line,.revenue-trend-baseline{stroke:var(--chart-grid);stroke-width:1px}.revenue-trend-baseline{stroke:var(--color-border-strong)}.revenue-trend-axis-label{fill:var(--color-text-muted);font-variant-numeric:tabular-nums;font-size:.72rem}.revenue-trend-end-label{fill:var(--color-text);font-variant-numeric:normal}.revenue-trend-band{fill:var(--chart-band-fill)}.revenue-trend-band-edge{fill:none;stroke:var(--chart-series-scenario);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.revenue-trend-bars path{fill:var(--chart-series-actual)}.revenue-trend-expected{fill:none;stroke:var(--chart-series-expected);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.revenue-trend-expected-end{fill:var(--chart-series-expected);stroke:var(--color-surface);stroke-width:2px}.revenue-trend-crosshair{stroke:var(--color-border-strong);stroke-width:1px}.revenue-trend-hit-areas rect{fill:#0000}.revenue-trend-tooltip{z-index:var(--z-dropdown);border:1px solid var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface);min-width:11rem;box-shadow:var(--shadow-sm);pointer-events:none;gap:.3rem;padding:.55rem .7rem;font-size:.78rem;display:grid;position:absolute;top:.25rem}.revenue-trend-tooltip dl{gap:.18rem;margin:0;display:grid}.revenue-trend-tooltip dl>div{justify-content:space-between;gap:.75rem;display:flex}.revenue-trend-tooltip dt{color:var(--color-text-muted)}.revenue-trend-tooltip dd{font-variant-numeric:tabular-nums;margin:0}.revenue-trend-table{min-width:0}.revenue-trend-table summary{cursor:pointer;width:fit-content;padding:.3rem 0;font-size:.82rem;font-weight:700}@media (width<=980px){.summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.summary-cards{grid-template-columns:1fr}}.customer-toolbar{flex-wrap:wrap;align-items:end;gap:.75rem;margin-bottom:1rem;display:flex}.customer-card-header{justify-content:space-between;gap:1rem;display:flex}.customer-actions,.contact-actions{flex-wrap:wrap;align-items:start;gap:.5rem;display:flex}.contact-panel{border-top:1px solid var(--color-border);margin-top:1rem;padding-top:1rem}.contact-panel-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.contact-panel-heading h3{margin:0;font-size:.9rem}.contact-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;padding:0;list-style:none;display:grid}.contact-item{background:var(--color-canvas);border-radius:8px;justify-content:space-between;gap:1rem;padding:.75rem;display:flex}.contact-summary{gap:.2rem;display:grid}.contact-summary strong{margin-right:.5rem}.customer-workspace{grid-template-columns:minmax(280px,32%) 1fr;align-items:start;gap:1rem;display:grid}.customer-list-pane{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;align-self:start;max-height:calc(100vh - 8rem);padding:1rem;position:sticky;top:1rem;overflow:auto}.customer-overview-pane{gap:1rem;min-width:0;display:grid}.customer-list-filters{grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1rem;display:grid}.customer-list-filters label:first-child{grid-column:1/-1}.customer-overview-list{gap:.5rem;padding:0;list-style:none;display:grid}.customer-list-row{border:1px solid var(--color-border);text-align:left;background:0 0;border-radius:10px;gap:.3rem;width:100%;padding:.75rem;display:grid}.customer-list-row.selected{border-color:var(--color-interactive);background:var(--color-interactive-soft)}.customer-list-title{justify-content:space-between;gap:.5rem;display:flex}.customer-list-badges{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem;display:flex}.customer-empty{gap:.5rem;display:grid}.customer-summary-card h2{margin:.2rem 0}@media (width<=900px){.customer-workspace{grid-template-columns:1fr}.customer-list-pane{max-height:none;position:static}}.customer-sales-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.customer-sales-columns ul,.customer-activity-list{gap:.75rem;padding:0;list-style:none;display:grid}.customer-sales-columns li{gap:.2rem;display:grid}.customer-sales-columns li span{color:var(--color-text-muted);font-size:.85rem}.customer-activity-list li{border-bottom:1px solid var(--color-border);justify-content:space-between;gap:1rem;padding-bottom:.75rem;display:flex}.customer-activity-list p{color:var(--color-text-muted);margin:.25rem 0 0}.customer-activity-list time{white-space:nowrap;color:var(--color-text-muted);font-size:.85rem}@media (width<=700px){.customer-sales-columns{grid-template-columns:1fr}.customer-activity-list li{display:grid}}@media (width<=400px){.contact-grid{grid-template-columns:1fr}.contact-item{flex-wrap:wrap}.contact-actions{width:100%}.contact-actions button{flex:auto;min-width:0}}.follow-up-panel{overflow:hidden}.follow-up-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.follow-up-heading h3{margin:.15rem 0 0}.next-action-card{border:1px solid var(--color-border);background:linear-gradient(135deg, var(--color-interactive-soft), var(--color-surface));border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0;padding:1rem;display:flex}.next-action-card.overdue{border-color:color-mix(in srgb, var(--color-danger) 45%, var(--color-border))}.next-action-card>div{gap:.25rem;display:grid}.next-action-label{color:var(--color-text-muted);letter-spacing:.08em;font-size:.75rem;font-weight:700}.follow-up-tabs{border-bottom:1px solid var(--color-border);gap:.35rem;display:flex}.follow-up-tabs button{color:var(--color-text-muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:.65rem .85rem}.follow-up-tabs button[aria-selected=true]{border-bottom-color:var(--color-interactive);color:var(--color-text);font-weight:700}.follow-up-tabs button span{background:var(--color-canvas);border-radius:999px;place-items:center;min-width:1.25rem;height:1.25rem;margin-left:.25rem;font-size:.75rem;display:inline-grid}.follow-up-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.follow-up-list li{border-bottom:1px solid var(--color-border);justify-content:space-between;gap:1rem;padding:1rem 0;display:flex}.follow-up-item-main{gap:.25rem;min-width:0;display:grid}.follow-up-item-main>div{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.follow-up-item-main>span{color:var(--color-text-muted);font-size:.85rem}.follow-up-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.follow-up-conflict{background:color-mix(in srgb, var(--color-danger) 8%, transparent);border-radius:8px;margin-top:1rem;padding:.75rem}.customer-follow-up-dialog{width:min(34rem,100vw - 2rem);box-shadow:0 24px 48px #10182838}.follow-up-form{gap:1rem;display:grid}.follow-up-form p{margin:0}.follow-up-form textarea{resize:vertical;min-height:7rem}.follow-up-form .dialog-actions{gap:.5rem;padding-top:.25rem;display:flex}@media (width<=700px){.follow-up-list li,.next-action-card{flex-direction:column;align-items:stretch}.follow-up-actions{justify-content:flex-start}}.master-list{gap:1rem;margin:0;padding:0;list-style:none;display:grid}.master-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:1rem}.master-card h2{margin:0;font-size:1rem}.master-card>div{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.stage-settings-panel{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);margin-top:1rem;padding:1rem}.stage-settings-panel h2,.stage-settings-panel h3{margin:0}.stage-rate-row{border-top:1px solid var(--color-border);grid-template-columns:minmax(16rem,1fr) 7rem auto;align-items:end;gap:.75rem;padding:.7rem 0;display:grid}@media (width<=700px){.stage-rate-row{grid-template-columns:1fr;align-items:stretch}}.opportunities-page{gap:1rem;display:grid}.opportunity-filters{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);grid-template-columns:2fr repeat(3,1fr) auto;align-items:end;gap:.65rem;padding:.85rem;display:grid}.opportunity-filters-hint{grid-column:1/-1;margin:0}.opportunity-form{grid-template-columns:repeat(2,minmax(14rem,1fr));gap:.75rem;min-width:min(42rem,85vw);display:grid}.opportunity-form .dialog-actions,.opportunity-form [role=alert]{grid-column:1/-1}.opportunity-hero{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);justify-content:space-between;align-items:start;gap:1rem;padding:1.2rem;display:flex}.opportunity-hero h1{margin:0}.status-actions{gap:.5rem;margin-top:.7rem;display:flex}.metric-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;display:grid}.metric-grid article,.detail-card{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);padding:1rem}.metric-grid span{color:var(--color-text-muted);font-size:.78rem;display:block}.metric-grid strong{margin-top:.3rem;display:block}.section-heading,.activity-list li{justify-content:space-between;align-items:center;gap:1rem;display:flex}.section-heading h2,.detail-card h2{margin-top:0}.activity-form{background:var(--color-canvas);grid-template-columns:1fr 1fr;gap:.7rem;padding:.8rem;display:grid}.activity-form .dialog-actions{grid-column:1/-1}.activity-list,.history-list{padding-left:1.3rem}.activity-list li{border-bottom:1px solid var(--color-border);padding:.7rem 0}.activity-list p{color:var(--color-text-muted);margin:.25rem 0 0}.back-link{color:var(--color-interactive);font-weight:700}@media (width<=900px){.opportunity-filters,.opportunity-form,.metric-grid{grid-template-columns:1fr}.opportunity-form .dialog-actions,.opportunity-form [role=alert],.activity-form .form-field-wide,.activity-form .dialog-actions{grid-column:auto}}.staffing-input-panel,.policy-settings-panel{gap:.85rem;display:grid}.staffing-input-panel .section-heading p,.policy-settings-panel .section-heading p{color:var(--color-text-muted);margin:.25rem 0 0}.staffing-row-list{gap:.6rem;display:grid}.staffing-row{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);justify-content:space-between;align-items:center;gap:1rem;padding:.8rem;display:flex}.staffing-row h3{margin:0;font-size:.95rem}.staffing-row p{color:var(--color-text-muted);margin:.25rem 0 0}.staffing-form{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);grid-template-columns:repeat(3,minmax(10rem,1fr));gap:.7rem;padding:.85rem;display:grid}.staffing-form .dialog-actions,.staffing-form .staffing-form-alert{grid-column:1/-1}.staffing-readonly-note{border-radius:var(--radius-sm);background:var(--color-canvas);color:var(--color-text-muted);margin:0;padding:.6rem}@media (width<=900px){.staffing-form{grid-template-columns:1fr}.staffing-form .dialog-actions,.staffing-form .staffing-form-alert{grid-column:auto}.staffing-row{flex-direction:column;align-items:start}}.staffing-page{gap:1rem;display:grid}.staffing-page .page-heading{align-items:center}.staffing-scenario-toggle{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);align-items:center;gap:.5rem;padding:.7rem;font-weight:700;display:flex}.staffing-action-card{border:1px solid var(--color-info);border-radius:var(--radius-md);background:var(--color-info-soft);justify-content:space-between;align-items:center;gap:1.5rem;padding:1.3rem;display:flex}.staffing-action-card h2{margin:.15rem 0;font-size:2rem}.staffing-action-hire{border-color:var(--color-success);background:var(--color-success-soft)}.staffing-action-outsource,.staffing-action-needs_criteria{border-color:var(--color-warning);background:var(--color-warning-soft)}.staffing-action-lost{border-color:var(--color-danger);background:var(--color-danger-soft)}.staffing-fte-explanation{background:var(--color-canvas);text-align:left;gap:.2rem;display:grid}.staffing-fte-explanation p{margin:0}.staffing-scale{text-align:right;min-width:10rem}.staffing-scale span,.staffing-scale small{color:var(--color-text-muted);display:block}.staffing-scale strong{font-size:2.2rem;display:block}.staffing-risk-grid{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.staffing-risk-grid article{border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);gap:.25rem;padding:1rem;display:grid}.staffing-risk-grid span,.staffing-risk-grid small{color:var(--color-text-muted)}.staffing-risk-grid strong{font-size:1.35rem}.staffing-evidence{gap:.75rem;display:grid}.staffing-pools{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:.6rem;display:grid}.staffing-pools article{border-radius:var(--radius-sm);background:var(--color-canvas);padding:.75rem}.staffing-pools h3,.staffing-pools p{margin:.2rem 0}.staffing-decision-form{grid-template-columns:repeat(2,minmax(12rem,1fr));gap:.75rem;display:grid}.staffing-decision-form>div:first-child,.staffing-decision-form .form-field-wide,.staffing-decision-form .dialog-actions,.staffing-refresh-note{grid-column:1/-1}.staffing-decision-form textarea{resize:vertical;min-height:6rem}.staffing-refresh-note{border-radius:var(--radius-sm);background:var(--color-warning-soft);color:var(--color-warning);padding:.6rem}.staffing-history>ol{gap:.75rem;padding-left:1.25rem;display:grid}.staffing-history article{border:1px solid var(--color-border);border-radius:var(--radius-sm);padding:.75rem}.staffing-history h3{margin-top:0}.staffing-outcome-panel{margin-top:.75rem}.staffing-outcome-body{border-radius:var(--radius-sm);background:var(--color-canvas);gap:.7rem;margin-top:.65rem;padding:.75rem;display:grid}.staffing-inline-form,.staffing-outcome-form{flex-wrap:wrap;align-items:end;gap:.6rem;display:flex}.staffing-outcome-form h4{flex-basis:100%}.opportunity-capacity-section{gap:1rem;display:grid}.staffing-feasibility-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.staffing-feasibility-summary article{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);gap:.25rem;padding:.85rem;display:grid}.staffing-feasibility-summary span,.staffing-feasibility-summary small{color:var(--color-text-muted)}.staffing-feasibility-summary strong{font-size:1.15rem}.resource-allocation-drawer>header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.resource-allocation-drawer>header h2{margin:0}.staffing-capacity-warning{border:1px solid var(--color-warning);border-radius:var(--radius-sm);background:var(--color-warning-soft);color:var(--color-warning);padding:.8rem}.staffing-capacity-warning p{margin-bottom:0}.staffing-release-form{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-canvas);gap:.65rem;padding:.8rem;display:grid}.staffing-release-form textarea{resize:vertical;min-height:5rem}@media (width<=900px){.staffing-action-card{flex-direction:column;align-items:start}.staffing-scale{text-align:left}.staffing-risk-grid,.staffing-decision-form{grid-template-columns:1fr}.staffing-decision-form>div:first-child,.staffing-decision-form .form-field-wide,.staffing-decision-form .dialog-actions,.staffing-refresh-note{grid-column:auto}}@media (width<=600px){.staffing-feasibility-summary{grid-template-columns:1fr}}
