:root{--color-brand-orange: #ff9933;--color-brand-gray: #5c5c5c;--color-brand-blue: #4f758b;--color-text-primary: #18212e;--color-text-secondary: #596575;--color-surface-page: #e4e8ec;--color-surface-panel: #ffffff;--color-surface-structural: #f3f5f7;--color-border: #cfd6dd;--color-border-soft: #dde3e9;--color-nav-text: #f7fbff;--color-frame-gray: #5c5c5c;--color-frame-gray-deep: #4d4d4d;--color-page-wash: #dde2e7;--color-blue-soft: #dbe6ed;--color-blue-ink: #3f647a;--font-display: "Avenir Pro", Avenir, "Segoe UI", sans-serif;--font-body: "Segoe UI", Arial, sans-serif;font-family:var(--font-body);color:var(--color-text-primary);background:var(--color-surface-page)}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--color-brand-blue) #d8dde3}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:#d8dde3}*::-webkit-scrollbar-thumb{background:var(--color-brand-blue)}*::-webkit-scrollbar-thumb:hover{background:var(--color-brand-orange)}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}button,input,textarea,select{font:inherit}.app-shell{display:grid;grid-template-columns:clamp(240px,16vw,260px) minmax(0,1fr);min-height:100vh;width:100%;max-width:100%}.sidebar{display:flex;flex-direction:column;background:linear-gradient(180deg,var(--color-brand-blue) 0%,var(--color-blue-ink) 100%);color:var(--color-nav-text);--sidebar-pad: 16px;--brand-logo-size: 72px;--brand-wordmark-size: 48px;--brand-tagline-size: 12px;--brand-header-gap: 6px;--brand-text-pull: 6px;padding:var(--sidebar-pad);min-width:0;scrollbar-gutter:stable;box-shadow:inset -1px 0 #ffffff0f;position:sticky;top:0;align-self:start;height:100vh;overflow-y:auto}.brand-header{display:grid;grid-template-columns:var(--brand-logo-size) minmax(0,1fr);grid-template-rows:auto auto;column-gap:var(--brand-header-gap);width:100%;min-width:0;margin-bottom:16px;padding:0;border:1px solid transparent;border-radius:0;background:transparent;color:inherit;cursor:pointer;text-align:left;transition:background-color .14s ease,border-color .14s ease}.brand-header:hover{background:#ffffff0f;border-color:#ffffff1f}.brand-header:focus{outline:none}.brand-header:focus-visible{outline:2px solid var(--color-brand-orange);outline-offset:2px}.brand-tagline{display:flex;justify-content:space-between;grid-column:2;grid-row:2;margin:0;margin-left:calc(-1 * var(--brand-text-pull));width:calc(100% + var(--brand-text-pull));padding:2px 0 0;color:#f7fbffb8;font-size:var(--brand-tagline-size);font-weight:400;text-transform:uppercase;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.brand-tagline-letter{flex:0 0 auto}.brand-wordmark{display:flex;justify-content:space-between;grid-column:2;grid-row:1;align-self:end;margin-left:calc(-1 * var(--brand-text-pull));width:calc(100% + var(--brand-text-pull));padding-bottom:0;font-family:Barlow Condensed,Avenir Next,Segoe UI,sans-serif;font-size:var(--brand-wordmark-size);font-weight:600;text-transform:uppercase;color:#e2e8f0;line-height:.95;min-width:0}.brand-wordmark-letter{flex:0 0 auto}.brand-mark{display:block;grid-column:1;grid-row:1 / 3;align-self:center;justify-self:start;width:var(--brand-logo-size);height:var(--brand-logo-size);object-fit:contain;object-position:left center}.nav-list{display:grid;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;min-height:38px;width:100%;border:1px solid transparent;border-radius:0;background:transparent;color:inherit;cursor:pointer;padding:0 12px;text-align:left;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}.nav-item.active,.nav-item:hover{background:#ffffff14;border-color:#ffffff0f}.nav-item.active{background:#ff993329;border-color:#ff993347;color:#fff}.main-content{padding:28px;background:#d9dde0;min-width:0;overflow-x:auto}.page-stack{display:grid;gap:16px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.eyebrow{margin:0 0 8px;color:#6b737d;font-family:var(--font-display);font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase}h1,h2,p{margin:0}h1{font-family:var(--font-display);font-size:36px;font-weight:600;line-height:1.1;letter-spacing:-.01em}h2{font-family:var(--font-display);font-size:18px;font-weight:600;line-height:1.25}.page-description{margin-top:10px;color:var(--color-text-secondary);font-size:14px;line-height:1.5;max-width:720px}.primary-button,.secondary-button{min-height:40px;border:0;border-radius:0;cursor:pointer;font-weight:600;font-size:13px;letter-spacing:.02em;padding:0 16px;transition:background-color .14s ease,color .14s ease,border-color .14s ease,opacity .14s ease}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.6}.primary-button{display:inline-flex;align-items:center;gap:8px;background:#5f6e79;color:#fff;border-bottom:2px solid rgb(255 153 51 / .55)}.primary-button:hover,.primary-button:focus-visible{background:#6b7b86;color:#fff}.secondary-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #c7ccd1;background:#f7f8f9;color:var(--color-text-primary)}.secondary-button:hover,.secondary-button:focus-visible,.table-link-button:hover,.table-link-button:focus-visible,.back-link-button:hover,.back-link-button:focus-visible{border-color:var(--color-brand-orange);color:var(--color-brand-orange)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat-card,.section-card,.history-card{border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel)}.stat-card{display:grid;gap:4px;min-height:64px;padding:10px 14px;background:var(--color-surface-panel)}.stat-card span{color:#6b737d;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.stat-card strong{font-family:var(--font-display);font-size:20px;font-weight:500;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.stat-card-negative strong{color:#c0392b}.content-grid,.financial-overview-grid,.detail-grid,.cost-code-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:stretch}.content-grid>.section-card,.detail-grid>.section-card{display:flex;flex-direction:column}.content-grid>.section-card>.section-body,.detail-grid>.section-card>.section-body{flex:1}.section-header{background:var(--color-brand-gray);color:#fff;border-bottom:3px solid var(--color-brand-orange);padding:12px 20px}.section-header p{margin-top:2px;color:#ffffffc7;font-size:13px}.section-header h2{color:#fff;font-size:16px;font-weight:600;letter-spacing:-.005em}.section-body{padding:12px 16px}.project-list{display:grid}.project-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f5;padding:14px 0}.project-row:last-child{border-bottom:0}.project-row p{color:var(--color-text-secondary);margin-top:4px}.project-meta{display:grid;justify-items:end;gap:6px}.project-meta span:first-child{color:var(--color-text-secondary)}.status-pill{border-radius:0;background:#eceff1;color:#5c6670;font-size:12px;font-weight:600;padding:6px 10px}.bullet-list{margin:0;padding-left:18px;color:#445162}.bullet-list li+li{margin-top:10px}.toolbar-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:5;background:#d9dde0;padding:12px 0 8px;margin-top:-12px;border-bottom:1px solid var(--color-border)}.toolbar-copy{display:grid;gap:4px}.detail-nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.page-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 2px}.page-title-row h1{font-size:28px;font-weight:600;line-height:1.1;letter-spacing:-.01em;margin:0}.project-code-chip{display:inline-flex;align-items:center;background:var(--color-brand-orange);color:#fff;font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.06em;font-variant-numeric:tabular-nums;padding:5px 11px;border-radius:4px;white-space:nowrap;box-shadow:0 1px 2px #0000001f}.eyebrow-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0}.eyebrow-dot{color:var(--color-text-secondary);opacity:.6}.toolbar-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.metric-list{display:grid;gap:12px}.metric-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--color-border-soft);padding-bottom:10px}.metric-row:last-child{border-bottom:0;padding-bottom:0}.metric-row span{color:var(--color-text-secondary)}.metric-row strong{font-family:var(--font-display);font-weight:500;font-variant-numeric:tabular-nums}.empty-state{border:1px dashed var(--color-border);background:#f5f7f9;color:var(--color-text-secondary);padding:20px}.under-construction-page{display:flex;align-items:center;justify-content:center;min-height:min(60vh,520px);padding:32px 24px}.under-construction-stack{display:flex;flex-direction:column;align-items:center;gap:18px}.under-construction-art{width:min(100%,360px);height:auto}.under-construction-label{margin:0;font-family:var(--font-display);font-size:.92rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-secondary)}.table-wrap{overflow:auto}.compact-table-wrap{max-height:420px;border:1px solid var(--color-border);background:var(--color-surface-panel)}.scrollable-table-wrap{max-height:480px}.scrollable-table-wrap thead th{position:sticky;top:0;z-index:1;background:var(--color-surface-page);box-shadow:inset 0 -1px 0 var(--color-border)}.cost-tx-type{text-transform:capitalize;color:var(--color-text-secondary);font-size:12px}.financial-table-wrap{max-height:560px}.data-table{width:100%;border-collapse:collapse;background:var(--color-surface-panel)}.data-table th,.data-table td{border-bottom:1px solid #dde2e7;text-align:left;white-space:nowrap}.data-table th.numeric,.data-table td.numeric,.data-table th.cell-numeric,.data-table td.cell-numeric{text-align:right;font-variant-numeric:tabular-nums}.compact-table th,.compact-table td{padding:10px 12px;font-size:12px}.compact-table th{position:sticky;top:0;background:#f5f6f8;color:#2a3340;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-bottom:2px solid var(--color-brand-orange);z-index:1}.table-link-button,.back-link-button{display:inline-flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;color:#476276;cursor:pointer;padding:0;text-align:left}.table-link-button.secondary{color:var(--color-text-primary)}.table-select{min-width:106px;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);padding:4px 8px}.table-money-input{width:104px;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);padding:4px 8px;font-size:12px}.table-money-input:disabled{background:#f2f4f6;color:var(--color-text-secondary)}.table-date-input{width:100%;min-width:8.25rem;max-width:10.5rem;box-sizing:border-box;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);padding:3px 6px;font-size:12px}.table-date-input:disabled{background:#f2f4f6;color:var(--color-text-secondary)}.invoice-cell,.invoice-attention-cell{display:grid;gap:4px}.financial-row-active td{background:#ff993314}.financial-row-cancelled td{background:#5c5c5c1a}.invoice-attention-cell-strong{background:#7db05238!important}.invoice-attention-flag{display:inline-flex;align-items:center;justify-content:flex-start;width:fit-content;border:1px solid rgb(90 140 52 / .45);background:#7db05238;color:#35621b;font-size:11px;font-weight:700;padding:2px 6px}.project-name-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.post-completion-flag{display:inline-flex;align-items:center;gap:4px;border:1px solid rgb(196 30 58 / .55);background:#c41e3a1f;color:#8a1322;font-size:10px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;padding:2px 6px;border-radius:4px;white-space:nowrap}.post-completion-flag--clickable{cursor:pointer;font:inherit}.post-completion-flag--clickable:hover:not(:disabled){background:#c41e3a38}.post-completion-flag--clickable:disabled{opacity:.65;cursor:default}.post-completion-banner{display:inline-flex;align-items:center;gap:8px;margin-top:8px;border:1px solid rgb(196 30 58 / .55);background:#c41e3a14;color:#8a1322;font-size:13px;font-weight:600;padding:8px 12px;border-radius:6px;max-width:fit-content}.detail-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;align-items:start}.field-group{display:grid;gap:4px}.field-group span{color:#5e6873;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.field-group input,.field-group textarea,.field-group select{width:100%;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);font-size:13px;padding:6px 10px}.field-group textarea{resize:vertical}.read-only-field{background:#f0f2f4!important;color:var(--color-text-secondary)!important;border-color:#d4dbe2!important}.project-detail-fieldset{border:0;margin:0;min-width:0;padding:0}.field-inline-actions{display:grid;gap:6px;justify-items:start}.inline-action-button{border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-brand-blue);cursor:pointer;font-size:12px;font-weight:700;padding:6px 10px}.inline-action-button:hover,.inline-action-button:focus-visible{border-color:var(--color-brand-orange);color:var(--color-brand-orange)}.field-helper-text{color:var(--color-text-secondary);font-size:12px;line-height:1.4}.field-span-2{grid-column:span 2}.field-span-3{grid-column:span 3}.field-span-4{grid-column:span 4}@media (max-width: 1000px){.detail-form{grid-template-columns:repeat(2,minmax(0,1fr))}.field-span-3,.field-span-4{grid-column:span 2}}.field-helper-text-compact{color:var(--color-text-secondary);font-size:11px;line-height:1.35}.project-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}.project-snapshot-col-title{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-secondary);margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid var(--color-border)}.project-snapshot .metric-list{gap:5px}.project-snapshot--align-pairs .project-snapshot-col:first-child .metric-list{gap:10px}.project-snapshot .metric-row{padding-bottom:0;border-bottom:0}.project-snapshot .metric-row span{font-size:12px}.project-snapshot .metric-row strong{font-size:13px;font-weight:500}.project-snapshot .metric-row-subtotal{border-top:1px solid var(--color-border);border-bottom:0;padding-top:7px;padding-bottom:0;margin-top:3px}.project-snapshot .metric-row-subtotal span{color:var(--color-text-primary);font-weight:600}.project-snapshot .metric-row-subtotal strong{font-size:14px;font-weight:700}.project-snapshot .metric-pair-subtotal{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid var(--color-border);padding-top:7px;margin-top:3px}.project-snapshot .metric-pair-subtotal>div{display:flex;flex-direction:column;gap:2px;min-width:0}.project-snapshot .metric-pair-subtotal>div:nth-child(2){align-items:flex-end;text-align:right}.project-snapshot .metric-pair-subtotal span{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-secondary)}.project-snapshot .metric-pair-subtotal strong{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:16px;font-weight:700;color:var(--color-text-primary)}.project-snapshot .metric-pair-annotation{font-family:var(--font-body);font-size:11px;font-weight:500;color:var(--color-text-secondary);font-variant-numeric:tabular-nums;margin-top:1px}.project-snapshot .metric-row>div:first-child{display:flex;flex-direction:column;gap:1px;min-width:0}.project-snapshot .metric-annotation-inline{margin-top:0}.project-snapshot-divider{display:flex;align-items:center;gap:8px;margin:16px 0 8px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--color-brand-orange)}.project-snapshot-divider:before,.project-snapshot-divider:after{content:"";flex:1;height:1px;background:var(--color-brand-orange);opacity:.4}@media (max-width: 960px){.project-snapshot{grid-template-columns:1fr;gap:16px}}.project-snapshot strong.negative,.project-snapshot .metric-row-subtotal strong.negative,.project-snapshot .metric-pair-subtotal strong.negative{color:#c0392b}.field-spacer{visibility:hidden;pointer-events:none}.status-chip{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-family:var(--font-body);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:#e3e8ef;color:var(--color-text-secondary);line-height:1.4}.status-chip--draft{background:#e3e8ef;color:#4a5568}.status-chip--sent{background:#d9e8fb;color:#1d4ed8}.status-chip--paid{background:#d4ecdd;color:#166534}.status-chip--partial,.status-chip--partially-paid{background:#fef3c7;color:#92400e}.status-chip--past-due{background:#fde2e2;color:#c0392b}.status-chip--void,.status-chip--cancelled{background:#efe1f5;color:#6b21a8}.status-chip--awarded{background:#d4ecdd;color:#166534}.status-chip--lost{background:#fde2e2;color:#c0392b}.status-chip--withdrawn{background:#efe1f5;color:#6b21a8}.status-chip--superseded{background:#e3e8ef;color:#4a5568}.status-chip--promoted{background:#d9e8fb;color:#1d4ed8}.adjacent-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}.adjacent-cards>.section-card{display:flex;flex-direction:column}.adjacent-cards>.section-card>.section-body{flex:1}.adjacent-cards .detail-form{grid-template-columns:repeat(2,minmax(0,1fr))}.adjacent-cards .field-span-3,.adjacent-cards .field-span-4{grid-column:span 2}.field-row-actions{display:flex;gap:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;background:#1018285c;padding:24px}.modal-shell{width:min(1200px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--color-border);background:var(--color-surface-panel)}.new-estimate-modal-backdrop{inset:0 0 0 clamp(240px,16vw,260px)}.new-estimate-modal-shell{width:min(1520px,calc(100vw - clamp(240px,16vw,260px) - 48px))}.new-estimate-modal-shell .estimate-line-table{min-width:1180px}.new-estimate-modal-shell .estimate-activity-section>.compact-table-wrap{overflow-x:auto}.new-estimate-modal-shell .estimate-line-table th.estimate-col-labor-hrs,.new-estimate-modal-shell .estimate-line-table td.estimate-labor-hrs-cell{overflow:visible;text-overflow:clip}.importer-modal{display:grid;gap:16px;padding:20px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-header h1{font-size:26px;font-weight:600;letter-spacing:-.005em;line-height:1.15;margin-top:2px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);cursor:pointer}.icon-button:hover,.icon-button:focus-visible{border-color:var(--color-brand-orange);color:var(--color-brand-orange)}.import-form{display:grid;gap:14px}.file-input-wrap{display:grid;gap:8px;font-size:14px;font-weight:700}.file-input-wrap input{border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);padding:10px 12px}.modal-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}.message-banner{border:1px solid var(--color-border);padding:12px 14px}.message-banner.info{border-color:#b6c8d6;background:#f5f9fc;color:#345065}.message-banner.error{border-color:#d49393;background:#fff4f4;color:#8f2121}.message-banner.success{border-color:#9fcca2;background:#f3fbf3;color:#22612c}.message-banner.warning{border-color:#e0b070;background:#fff8ed;color:#7a4e12}.preview-stack{display:grid;gap:16px}.preview-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.preview-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-code-catalog-group-row td{background:#f0f4f8;font-size:12px;font-weight:700;font-style:italic;color:var(--color-text-primary);padding:8px 10px;border-top:1px solid var(--color-border-soft)}.cost-code-catalog-phase-select{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-text-secondary)}.cost-code-catalog-phase-select select{min-width:220px}.cost-code-catalog-order-saving{margin:0 0 10px;font-size:12px}.cost-code-order-col,.cost-code-order-cell{width:32px;padding-right:0}.cost-code-row--dragging{opacity:.55}.cost-code-row--drag-over td{background:#f4f8fc}.cost-code-order-cell .cost-code-template-order-grip{cursor:grab}.cost-code-row--dragging .cost-code-template-order-grip{cursor:grabbing}.cost-code-stats-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.monthly-reporting-toolbar{align-items:flex-start;gap:16px}.monthly-report-line-grid,.monthly-report-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:12px}.monthly-report-preview-grid{margin-bottom:0}.monthly-report-field{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid var(--color-border);background:var(--color-surface-panel)}.monthly-report-field span{color:var(--color-text-secondary);font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.monthly-report-field strong{font-size:18px;font-variant-numeric:tabular-nums}.monthly-report-field--reportable{background:#fff7ed;border-color:#fdba74}.monthly-report-th--reportable,.monthly-report-td--reportable{background:#fff7ed}.monthly-report-opening-note{margin:0 0 12px;font-size:13px}.monthly-report-history-wrap{margin-top:8px}.monthly-report-history-table .row-actions-cell{text-align:right}.monthly-report-update-button{min-height:28px;padding:0 10px;font-size:12px}.monthly-report-empty-history{padding:16px;font-size:13px}.monthly-report-modal{width:min(720px,100%)}.modal-mode-row{display:flex;flex-wrap:wrap;gap:8px}.monthly-report-modal-form{grid-template-columns:repeat(3,minmax(0,1fr))}.monthly-report-modal-hint{margin:0 0 12px;font-size:.82rem;line-height:1.45}.monthly-report-modal-hint strong{font-weight:600}.fo-title-bar .toolbar-actions{align-items:center}.fo-fy-picker{appearance:none;-webkit-appearance:none;-moz-appearance:none;display:inline-flex;align-items:center;min-height:40px;min-width:5.75rem;padding:0 34px 0 14px;border:1px solid #c7ccd1;border-radius:0;background-color:#f7f8f9;background-image:linear-gradient(45deg,transparent 50%,var(--color-text-secondary) 50%),linear-gradient(135deg,var(--color-text-secondary) 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;color:var(--color-text-primary);font-family:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer;transition:border-color .14s ease,background-color .14s ease}.fo-fy-picker::-ms-expand{display:none}.fo-fy-picker:hover:not(:disabled),.fo-fy-picker:focus-visible:not(:disabled){border-color:var(--color-brand-orange);background-color:#fff}.fo-fy-picker:disabled{cursor:not-allowed;opacity:.6}.fo-fy-picker:focus{outline:none}.fo-fy-picker:focus-visible{outline:2px solid var(--color-brand-orange);outline-offset:2px}.message-banner.success{background:#ecfdf5;border-color:#6ee7b7;color:#065f46}.cost-code-activity-list{display:grid;gap:12px}.cost-code-activity-card{border:1px solid var(--color-border-soft);background:#fbfcfe;padding:12px}.cost-code-activity-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.cost-code-activity-header--toggle{width:100%;border:none;background:transparent;padding:0;text-align:left;cursor:pointer}.cost-code-activity-header--toggle:hover .cost-code-activity-header-title,.cost-code-activity-header--toggle:focus-visible .cost-code-activity-header-title{color:var(--color-brand-blue)}.cost-code-activity-header-title{display:flex;align-items:flex-start;gap:8px;color:inherit}.cost-code-activity-header-title svg{flex-shrink:0;margin-top:4px;color:var(--color-text-secondary)}.cost-code-template-order{margin-top:12px;padding-top:12px;border-top:1px solid var(--color-border-soft)}.cost-code-template-order-header{display:grid;gap:4px;margin-bottom:10px}.cost-code-template-order-header strong{font-size:13px}.cost-code-template-order-header span{font-size:12px}.cost-code-template-order-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.cost-code-template-order-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--color-border-soft);background:var(--color-surface-panel);border-radius:6px}.cost-code-template-order-item--dragging{opacity:.55}.cost-code-template-order-item--dragging .cost-code-template-order-grip{cursor:grabbing}.cost-code-template-order-item--drag-over{border-color:var(--color-brand-blue);background:#f4f8fc}.cost-code-template-order-grip{color:var(--color-text-secondary);display:inline-flex;cursor:grab}.cost-code-template-order-copy{flex:1;min-width:0;display:grid;gap:2px}.cost-code-template-order-name{font-size:13px;font-weight:600}.cost-code-template-order-meta{font-size:12px}.cost-code-template-order-actions{display:flex;gap:2px}.cost-code-template-order-saving{margin:8px 0 0;font-size:12px}.cost-code-activity-header strong{display:block;font-family:var(--font-display);font-size:20px}.cost-code-activity-header span,.cost-code-activity-meta span{color:var(--color-text-secondary);font-size:13px}.cost-code-activity-meta{display:grid;gap:4px;justify-items:end;text-align:right}.cost-code-activity-metrics{display:grid;gap:10px}.cost-code-table-wrap{overflow:visible;max-height:none;border:1px solid var(--color-border);background:var(--color-surface-panel)}.cost-code-expand-cell{width:32px;padding-right:0}.cost-code-expand-toggle{display:inline-flex;align-items:center;gap:2px;border:none;background:transparent;color:var(--color-text-secondary);cursor:pointer;padding:2px 4px;font-size:11px;font-weight:600}.cost-code-expand-toggle:hover,.cost-code-expand-toggle:focus-visible{color:var(--color-brand-blue)}.cost-code-expand-count{background:#e3e8ef;color:var(--color-text-secondary);padding:1px 5px;border-radius:8px;font-variant-numeric:tabular-nums;font-size:10px;line-height:1.3}.cost-code-expand-toggle[aria-expanded=true] .cost-code-expand-count{background:#d9e8fb;color:#1d4ed8}.cost-code-descriptions-row>td{background:#fbfcfe;padding:12px 16px;border-bottom:1px solid var(--color-border)}.task-descriptions-editor{display:grid;gap:8px}.task-descriptions-editor-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:var(--color-text-primary);text-transform:uppercase;letter-spacing:.04em}.task-descriptions-editor-header .muted{text-transform:none;letter-spacing:0;font-weight:400;color:var(--color-text-secondary)}.task-descriptions-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}.task-description-row{display:grid;grid-template-columns:minmax(220px,1fr) 120px 36px;gap:8px;align-items:center}.task-description-row-add{margin-top:4px;padding-top:8px;border-top:1px dashed var(--color-border)}.task-description-input{border:1px solid var(--color-border);background:var(--color-surface-panel);padding:6px 8px}.task-description-rate{border:1px solid var(--color-border);background:var(--color-surface-panel);padding:6px 8px;text-align:right;font-variant-numeric:tabular-nums}.task-description-remove{width:28px;height:28px;border:1px solid var(--color-border);background:var(--color-surface-panel);color:var(--color-text-secondary);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.task-description-remove:hover,.task-description-remove:focus-visible{color:var(--color-brand-orange);border-color:var(--color-brand-orange)}.task-description-remove:disabled{opacity:.5;cursor:progress}.task-description-add{display:inline-flex;align-items:center;gap:4px;width:auto;justify-self:stretch;padding:6px 8px}.task-descriptions-empty{margin:2px 0;font-size:12px}.estimate-line-code{font-variant-numeric:tabular-nums;font-size:12px;color:var(--color-text-secondary);letter-spacing:.02em}.phase-picker{border:1px solid var(--color-border);background:var(--color-surface-panel);padding:10px 12px;display:grid;gap:8px}.phase-picker legend{color:#5e6873;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:0 4px}.phase-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px}.phase-picker-pill{display:flex;align-items:center;gap:8px;border:1px solid var(--color-border);background:var(--color-surface-panel);padding:6px 10px;cursor:pointer;font-size:12px;-webkit-user-select:none;user-select:none}.phase-picker-pill input[type=checkbox]{margin:0}.phase-picker-pill:hover{border-color:var(--color-brand-orange)}.phase-picker-pill--on{border-color:var(--color-brand-blue);background:#f1f6fd}.phase-picker-code{font-weight:700;font-variant-numeric:tabular-nums;color:var(--color-text-primary)}.phase-picker-name{color:var(--color-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phase-chip-cell{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}.phase-chip{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--color-border);background:var(--color-surface-panel);padding:1px 4px 1px 6px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--color-text-primary);line-height:1.4}.phase-chip-remove{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--color-text-secondary);cursor:pointer;padding:0 2px;font-size:12px;line-height:1}.phase-chip-remove:hover,.phase-chip-remove:focus-visible{color:var(--color-brand-orange)}.phase-chip-remove:disabled{cursor:progress;opacity:.5}.phase-chip-add{display:inline-flex;align-items:center;gap:2px;border:1px dashed var(--color-border);background:transparent;color:var(--color-brand-blue);cursor:pointer;font-size:11px;font-weight:700;padding:1px 6px;line-height:1.4}.phase-chip-add:hover,.phase-chip-add:focus-visible{border-color:var(--color-brand-orange);border-style:solid;color:var(--color-brand-orange)}.phase-chip-add:disabled{cursor:progress;opacity:.5}.phase-chip-add-wrapper{position:relative;display:inline-flex}.phase-chip-add-menu{position:absolute;top:calc(100% + 4px);left:0;z-index:30;display:grid;gap:2px;border:1px solid var(--color-border);background:var(--color-surface-panel);box-shadow:0 4px 12px #1018281f;padding:4px;min-width:200px}.phase-chip-add-menu button{text-align:left;border:none;background:transparent;padding:4px 8px;font-size:12px;cursor:pointer;display:flex;gap:6px}.phase-chip-add-menu button:hover,.phase-chip-add-menu button:focus-visible{background:#f1f6fd;color:var(--color-brand-blue)}.phase-chip-add-menu .muted{color:var(--color-text-secondary)}.summary-tile{display:grid;gap:6px;border:1px solid var(--color-border);background:var(--color-surface-panel);padding:12px}.summary-tile span{color:var(--color-text-secondary);font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}.summary-tile strong{font-family:var(--font-display);font-size:20px;font-weight:500;font-variant-numeric:tabular-nums}.accent-tile{border-color:#cfd9e5;background:#fbfcfe}.inline-meta{display:flex;flex-wrap:wrap;gap:16px;color:var(--color-text-secondary);font-size:13px}.history-card-header{border-bottom:1px solid var(--color-border-soft);background:var(--color-surface-structural);padding:16px}.spin{animation:spin .9s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1280px){.main-content{padding:20px}}@media (max-width: 1100px){.preview-summary-grid,.preview-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 960px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;overflow-y:visible}.new-estimate-modal-backdrop{top:0;right:0;bottom:0;left:0}.new-estimate-modal-shell{width:min(1520px,calc(100vw - 48px))}.stats-grid,.content-grid,.financial-overview-grid,.detail-grid,.cost-code-layout,.detail-form,.adjacent-cards{grid-template-columns:1fr}.project-detail-plan-activity>.section-card>.section-body{max-height:none}.project-detail-page{height:auto;max-height:none}.project-detail-scroll-body{overflow:visible;min-height:0}.field-span-2,.field-span-3,.field-span-4{grid-column:span 1}.toolbar-row,.page-header,.project-detail-hero-main{flex-direction:column;align-items:stretch}.toolbar-actions{justify-content:flex-start}.field-span-2{grid-column:span 1}.modal-backdrop{padding:12px}}.cost-code-budget-section{border:1px solid var(--color-border);background:var(--color-surface-panel)}.cost-code-budget-list{display:grid;gap:16px}.cost-code-budget-activity{border:1px solid var(--color-border-soft);background:#fbfcfe}.cost-code-budget-activity-header{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--color-border-soft);background:var(--color-surface-structural);padding:12px 14px}.cost-code-budget-activity-header strong{font-family:var(--font-display);font-size:18px}.cost-code-budget-activity-header span{color:var(--color-text-secondary)}.cost-code-budget-editor{display:grid;gap:16px}.phase-fee-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.phase-fee-editor-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.phase-fee-editor-summary--split{align-items:flex-end;gap:16px}.phase-fee-stat{display:flex;flex-direction:column;gap:2px;min-width:96px}.phase-fee-stat span{font-size:11px;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em}.phase-fee-stat strong{font-size:15px;font-variant-numeric:tabular-nums}.phase-fee-contract-note{font-size:12px;align-self:center}.phase-fee-card-list{display:flex;flex-direction:column;gap:8px}.phase-fee-card{flex-shrink:0;border:1px solid var(--color-border);background:#fff;overflow:hidden}.phase-fee-card--expanded{border-color:color-mix(in srgb,var(--color-brand-orange) 35%,var(--color-border))}.phase-fee-card-header{display:grid;grid-template-columns:minmax(160px,1.4fr) minmax(120px,.7fr) minmax(130px,.7fr) minmax(130px,.7fr);gap:10px;align-items:end;padding:12px 14px;min-height:68px;background:var(--color-surface-structural)}.phase-fee-card-toggle{display:flex;align-items:center;gap:8px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.phase-fee-card-phase{display:flex;flex-direction:column;gap:2px;min-width:0}.phase-fee-card-phase strong{font-size:13px}.phase-fee-card-phase span{font-size:12px;color:var(--color-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phase-fee-card-field{display:flex;flex-direction:column;gap:4px;min-width:0}.phase-fee-card-field>span{font-size:11px;color:var(--color-text-secondary)}.phase-fee-card-field--total .table-money-input{font-weight:600}.phase-fee-card-body{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 12px 12px;border-top:1px solid var(--color-border-soft);background:#fafbfc}.phase-fee-split-box{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--color-border);background:#fff}.phase-fee-split-box>span{font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-secondary)}.phase-fee-split-box--bond{border-top:2px solid var(--color-brand-orange)}.phase-fee-split-box--consultant{border-top:2px solid #5c6670}.phase-fee-editor-hint{margin-top:12px;font-size:.85rem}@media (max-width: 900px){.phase-fee-card-header{grid-template-columns:1fr 1fr}.phase-fee-card-toggle{grid-column:1 / -1}.phase-fee-card-body{grid-template-columns:1fr}}.cost-code-budget-summary{display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:10px 14px;background:var(--color-surface-structural);border:1px solid var(--color-border-soft);border-radius:4px}.cost-code-budget-summary>div{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.promote-estimate-summary{display:grid;gap:12px;margin-top:4px;padding:12px 14px;background:var(--color-surface-panel);border:1px solid var(--color-border-soft);border-radius:4px}.promote-estimate-summary .section-header h2{font-size:16px;margin:0 0 4px}.promote-estimate-summary .section-header p{margin:0;font-size:12px;color:var(--color-text-secondary)}.promote-estimate-summary-table+.promote-estimate-summary-table{margin-top:4px}.cost-code-budget-summary-label{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary)}.cost-code-budget-summary strong{font-family:var(--font-display);font-size:16px}.cost-code-budget-summary .primary-button{margin-left:auto}.cost-code-row-active td{background:#fff7ed}.cost-code-row-active:hover td{background:#ffefd5}.data-row-clickable{cursor:pointer}.data-row-clickable:hover td{background:#f5f8fd}.estimate-status-badge{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;border:1px solid transparent}.estimate-status-draft{background:#eef2f7;color:#4a5568;border-color:#d2dae5}.estimate-status-sent{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.estimate-status-awarded{background:#dcfce7;color:#166534;border-color:#86efac}.estimate-status-lost{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.estimate-status-withdrawn{background:#fef3c7;color:#92400e;border-color:#fcd34d}.estimate-status-superseded{background:#f3f4f6;color:#6b7280;border-color:#d1d5db}.estimate-status-promoted{background:#ede9fe;color:#5b21b6;border-color:#c4b5fd}.employee-cost-summary-grid{margin-bottom:20px}.employee-cost-activity-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.employee-cost-activity-panel{min-width:0}.employee-wbs-ga-tag{display:inline-flex;align-items:center;padding:1px 6px;border:1px solid #fcd34d;border-radius:999px;background:#fef3c7;color:#92400e;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.employee-wbs-block--ga .employee-week-block-header{background:#fffbeb}.employee-wbs-block--ga.employee-week-block--expanded .employee-week-block-header{background:#fff7ed}.employee-wbs-header-link{font-size:13px;font-weight:700;text-align:left}.employee-wbs-detail-table .employee-cost-date-col{width:34%;min-width:120px}.employee-wbs-detail-table .employee-cost-description-col,.employee-wbs-detail-table .employee-cost-description-cell{width:34%}.employee-cost-week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px}.employee-cost-week-toolbar .employee-cost-section-label{margin:0}.employee-cost-week-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.employee-cost-section-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-secondary, #5c6670)}.employee-cost-ledger-wrap,.employee-week-ledger{max-height:min(68vh,880px);overflow:auto;border:1px solid var(--color-border);background:#fff}.employee-week-ledger{display:flex;flex-direction:column}.employee-week-block{border-bottom:1px solid var(--color-border)}.employee-week-block:last-child{border-bottom:none}.employee-week-block-header{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 16px;padding:12px 14px;border:0;border-left:3px solid transparent;background:var(--color-surface-structural, #f6f8fb);color:inherit;text-align:left;cursor:pointer;transition:background .12s ease,border-color .12s ease}.employee-week-block-header:hover{background:#eef2f6}.employee-week-block--expanded .employee-week-block-header{background:#fff7f0;border-left-color:var(--color-brand-orange)}.employee-week-block-chevron{display:inline-flex;align-items:center;color:var(--color-text-secondary, #5c6670)}.employee-week-header-copy{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;min-width:0}.employee-week-header-copy strong{font-size:13px}.employee-week-header-meta{color:var(--color-text-secondary, #5c6670);font-size:11px;font-weight:600}.employee-week-header-totals{display:flex;align-items:center;gap:20px;padding-left:12px;border-left:1px solid var(--color-border)}.employee-week-header-total{display:grid;gap:2px;justify-items:end;font-variant-numeric:tabular-nums}.employee-week-header-total-label{color:var(--color-text-secondary, #5c6670);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.employee-week-block-body{background:#fff;border-top:1px solid var(--color-border)}.employee-week-detail-table-wrap{border:none;border-radius:0}.employee-week-detail-table{table-layout:fixed;width:100%}.employee-week-detail-table thead th{position:sticky;top:0;z-index:1;background:#fff;box-shadow:inset 0 -1px 0 var(--color-border)}.employee-week-detail-table .employee-cost-date-col{width:16%;min-width:140px}.employee-week-detail-table .employee-cost-project-col,.employee-week-detail-table .employee-cost-project-cell{width:28%}.employee-week-detail-table .employee-cost-task-col{width:68px;text-align:center}.employee-week-detail-table .employee-cost-activity-col{width:60px;text-align:center}.employee-week-detail-table .employee-cost-description-col,.employee-week-detail-table .employee-cost-description-cell{width:26%;max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-week-detail-table .employee-cost-hours-col{width:84px}.employee-week-detail-table .employee-cost-amount-col{width:96px}.employee-cost-project-link,.employee-cost-project-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-week-empty-copy{margin:0;padding:12px 16px;color:var(--color-text-secondary, #5c6670);font-size:12px;font-style:italic}@media (max-width: 1200px){.employee-cost-activity-split{grid-template-columns:1fr}}@media (max-width: 900px){.employee-week-block-header{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"chevron copy" "chevron totals"}.employee-week-block-chevron{grid-area:chevron}.employee-week-header-copy{grid-area:copy}.employee-week-header-totals{grid-area:totals;border-left:0;padding-left:0;justify-self:start}}.estimate-version-tag{color:var(--color-text-secondary);font-weight:500;margin-left:4px}.estimate-totals-bar{display:flex;align-items:center;justify-content:flex-end;gap:28px;padding:10px 14px;margin-bottom:12px;background:var(--color-surface-structural);border:1px solid var(--color-border-soft);border-radius:4px}.estimate-setup-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px 28px;align-items:start}.estimate-setup-col{display:grid;gap:10px;align-content:start}.estimate-setup-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.estimate-setup-triple{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,1fr);gap:10px 14px}.estimate-setup-full{grid-column:1 / -1}.estimate-setup-field-spacer{min-height:1px}.estimate-setup-form{display:grid;gap:18px}@media (max-width: 900px){.estimate-setup-columns{grid-template-columns:1fr}}.estimate-catalog-table .estimate-catalog-col-include{width:36px;text-align:center;font-size:10px;letter-spacing:.04em}.estimate-line-table .estimate-col-index{width:28px}.estimate-line-table .estimate-col-desc{width:21%}.estimate-line-table .estimate-col-code{width:56px}.estimate-line-table .estimate-col-resource{width:17%}.estimate-line-table .estimate-col-hrs{width:64px}.estimate-line-table .estimate-col-labor-hrs{width:74px}.estimate-line-table .estimate-col-money{width:72px}.estimate-line-table .estimate-col-sf-day{width:64px}.estimate-line-table .estimate-col-actions{width:36px}.estimate-sf-per-day-cell{color:var(--color-text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap}.estimate-catalog-table .estimate-catalog-col-include input{width:16px;height:16px;cursor:pointer}.estimate-catalog-row--excluded{color:var(--color-text-secondary);background:#00000005}.estimate-catalog-row--excluded .estimate-catalog-desc-text{color:var(--color-text-secondary)}.estimate-catalog-row--included{background:#ff99330a}.estimate-catalog-desc-text{display:block;font-size:13px;line-height:1.35;padding:6px 2px}.estimate-catalog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;background:var(--color-surface-panel);border-top:1px solid var(--color-border-soft)}.estimate-additional-code-select{min-width:220px;max-width:min(360px,100%);min-height:40px;padding:8px 32px 8px 12px;background:#fff;border:1px solid #9aacb8;border-left:3px solid var(--color-brand-orange);font-weight:500;color:var(--color-text-primary)}.estimate-additional-code-select:disabled{opacity:.55;cursor:not-allowed;border-left-color:#c7ccd1}.estimate-additional-code-select:not(:disabled):hover,.estimate-additional-code-select:not(:disabled):focus-visible{border-color:var(--color-brand-orange);box-shadow:0 0 0 2px #ff993324}.estimate-catalog-row--duplicate td{background:#ffffff73}.estimate-catalog-row--duplicate .estimate-catalog-desc-text{padding-left:10px}.estimate-phase-weeks-field{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--color-text-secondary);white-space:nowrap}.estimate-phase-weeks-field input{width:64px}.estimate-labor-hrs-cell{overflow:visible;text-overflow:clip}.estimate-labor-hrs-field{display:flex;align-items:center;gap:0;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);box-sizing:border-box}.estimate-labor-hrs-field .table-money-input{flex:1;min-width:0;border:0;background:transparent;padding-right:2px}.estimate-labor-hrs-field .table-money-input:disabled{background:transparent}.estimate-labor-hrs-field:has(.table-money-input:disabled){background:#f2f4f6}.estimate-labor-reset-button{flex-shrink:0;padding:2px;color:var(--color-text-secondary)}.estimate-row-actions-cell{overflow:visible;text-overflow:clip;padding-left:4px;padding-right:4px}.estimate-row-actions{display:flex;align-items:center;justify-content:center;gap:4px}.estimate-line-table td.estimate-phase-margin-cell,.estimate-line-table th.estimate-col-actions,.estimate-line-table td.estimate-row-actions-cell{overflow:visible;text-overflow:clip}.estimate-labor-reset-button:hover:not(:disabled),.estimate-labor-reset-button:focus-visible:not(:disabled){color:var(--color-brand-orange)}.estimate-labor-reset-button:disabled{opacity:.35;cursor:default}.estimate-coins-rate-cell{text-align:center}.estimate-readonly-rate{display:block;width:100%;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}.estimate-phase-weeks-readonly{font-size:12px;color:var(--color-text-secondary);white-space:nowrap}.estimate-phase-header-meta{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}.estimate-phase-fee-summary{font-size:12px;color:var(--color-text-secondary);white-space:nowrap}.estimate-phase-fee-summary strong{color:var(--color-text-primary);font-family:var(--font-display)}.estimate-phase-fee-row td{border-top:2px solid var(--color-border);background:#f8fafc;font-weight:600}.estimate-phase-fee-label{text-align:right;text-transform:uppercase;letter-spacing:.04em;font-size:11px;color:var(--color-text-secondary)}.estimate-phase-fee-amount{font-family:var(--font-display);color:var(--color-brand-orange);text-align:right;overflow:visible;text-overflow:clip;white-space:nowrap}.estimate-phase-total-cost{color:var(--color-text-primary)}.estimate-phase-fee-delta{font-family:var(--font-display);text-align:right;white-space:nowrap}.estimate-phase-fee-delta--positive{color:#2d6a3a}.estimate-phase-fee-delta--negative{color:#8a1322}.estimate-sf-seed-hint{margin:0 0 12px;padding:8px 12px;font-size:12px;color:var(--color-text-muted, #6b7280);background:#ff993314;border-left:3px solid var(--color-brand-orange);border-radius:2px}.estimate-totals-bar>div{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.estimate-totals-bar strong{font-family:var(--font-display);font-size:16px}.estimate-line-table{table-layout:fixed;width:100%}.estimate-line-table th,.estimate-line-table td{font-size:12px;overflow:hidden;text-overflow:ellipsis;padding:8px 6px}.estimate-line-table .table-money-input,.estimate-line-table .table-select{font-size:12px;padding:4px 6px;width:100%;min-width:0;box-sizing:border-box}.estimate-line-included td{background:#f0f9ff}.estimate-line-included:hover td{background:#e0f2fe}.estimate-version-current td{background:#fff7ed;font-weight:600}.table-select{width:100%;padding:4px 6px;border:1px solid var(--color-border-soft);border-radius:3px;background:#fff;font-size:12px}.manual-override{background:#fffbeb!important;border-color:#fcd34d!important}.estimate-line-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px}.estimate-line-hint{margin-top:8px;color:var(--color-text-secondary);font-size:12px;font-style:italic}.estimate-line-editor{display:grid;gap:16px}.estimate-activity-section{border:1px solid var(--color-border-soft);background:#fbfcfe;border-radius:4px;overflow:hidden}.estimate-activity-section>.compact-table-wrap{border-bottom:0}.estimate-activity-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:var(--color-surface-structural);border-bottom:1px solid var(--color-border-soft)}.estimate-activity-header strong{font-family:var(--font-display);font-size:15px}.estimate-activity-header span{color:var(--color-text-secondary);margin-left:8px}.estimate-activity-empty{padding:14px;color:var(--color-text-secondary);font-size:13px;font-style:italic;text-align:center}.danger-button{border-color:#d49393;color:#8f2121}.danger-button:hover,.danger-button:focus-visible{border-color:#c66a6a;color:#7a1313}.danger-button.solid{background:#a62f2f;color:#fff}.danger-button.solid:hover,.danger-button.solid:focus-visible{background:#8f2121;color:#fff}.confirmation-modal{width:min(640px,100%)}.confirmation-copy{display:grid;gap:2px}.confirmation-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.message-banner-inline{display:flex;align-items:flex-start;gap:10px}.table-sort-button{border:0;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer}.table-sort-button:hover,.table-sort-button:focus-visible{color:var(--color-brand-orange)}.link-button{border:0;background:transparent;padding:0;font:inherit;color:var(--color-brand-blue);cursor:pointer;text-align:left}.link-button:hover,.link-button:focus-visible{color:var(--color-brand-orange)}.detail-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}.supporting-copy{margin:16px 0 0;color:var(--color-text-secondary)}.section-header-with-action{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.section-header-action{flex-shrink:0}.section-header-collapsible{cursor:pointer;-webkit-user-select:none;user-select:none}.section-header-collapsible:hover{background:#4a4a4a}.section-header-collapsible-title{display:flex;align-items:center;gap:10px;color:#fff}.section-header-collapsible-title h2,.section-header-collapsible-title p{color:#fff}.lazy-section-loading{color:var(--color-text-muted);font-size:.95rem;padding:16px 4px}.project-detail-loading-hint{margin-top:6px;display:inline-flex;align-items:center;gap:6px}.section-header-action-row{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.table-text-input{width:128px;border:1px solid var(--color-border);border-radius:0;background:var(--color-surface-panel);color:var(--color-text-primary);padding:4px 8px;font-size:12px}.table-text-input:disabled{background:#f2f4f6;color:var(--color-text-secondary)}.detail-form-actions{display:flex;justify-content:flex-start}.nav-sections{display:grid;gap:16px;flex:1;align-content:start}.sidebar-user-section{border-top:1px solid rgb(255 255 255 / .16);padding-top:15px}.nav-section{display:grid;gap:6px}.nav-section-banner{border-top:1px solid rgb(255 255 255 / .16);padding-top:10px;color:#f7fbffb8;font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.sidebar .nav-item{min-height:38px;padding:0 12px;font-size:15px}.financial-overview-page{gap:14px}.financial-overview-toolbar{align-items:center;margin-bottom:6px}.compact-toolbar-copy h2{font-size:28px}.financial-stats-grid{gap:10px}.compact-metric-list{gap:8px}.financial-master-table{table-layout:fixed;width:100%}.financial-master-table .col-project{width:56px}.financial-master-table .col-client{width:100px}.financial-master-table .col-project-name{width:190px}.financial-master-table .col-pl{width:76px}.financial-master-table .col-sector{width:56px}.financial-master-table .col-customer{width:88px}.financial-master-table .col-bond{width:74px}.financial-master-table .col-money{width:90px}.financial-master-table th,.financial-master-table td{overflow:hidden;text-overflow:ellipsis}.financial-master-table tbody td{vertical-align:middle}.financial-master-table thead th{overflow:visible;vertical-align:middle}.financial-master-table .cell-project,.financial-master-table .cell-client,.financial-master-table .cell-project-name{white-space:normal}.financial-master-table .cell-left{text-align:left;vertical-align:middle}.financial-master-table .cell-center{text-align:center;vertical-align:middle}.financial-master-table .cell-money,.financial-master-table .cell-numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;vertical-align:middle}.money-negative{color:#c2362f}.financial-master-table .table-link-button.secondary{display:block;line-height:1.3}.financial-master-table .cell-wbs .table-link-button{display:inline-flex;align-items:center;justify-content:center;width:100%}.financial-master-table .table-link-button{font-weight:700}.fo-inline-edit-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:0 4px;margin:0;width:100%;font:inherit;font-variant-numeric:tabular-nums;color:inherit;text-align:right;cursor:text;border-radius:3px;line-height:1.3;transition:background-color .12s ease}.fo-inline-edit-button:hover{background:#ff99331f;box-shadow:inset 0 -1px 0 0 var(--color-brand-orange)}.fo-inline-edit-button:focus-visible{outline:2px solid var(--color-brand-orange);outline-offset:-2px}.fo-inline-edit{width:100%;border:1px solid var(--color-brand-orange);background:#fff;padding:2px 4px;font:inherit;font-variant-numeric:tabular-nums;color:inherit;text-align:right;border-radius:3px;outline:0;box-shadow:0 0 0 2px #f933}.fo-inline-edit:disabled{opacity:.6;cursor:progress}.fo-table-select{text-align:left;border-color:transparent;box-shadow:none;background:transparent;cursor:pointer}.fo-table-select:hover,.fo-table-select:focus{border-color:var(--color-brand-orange);background:#fff;box-shadow:0 0 0 2px #f933}.inline-edit-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:2px 6px;margin:0;font:inherit;color:inherit;cursor:text;border-radius:3px;transition:background-color .12s ease;text-align:left}.inline-edit-trigger:hover{background:#ff99331f;box-shadow:inset 0 -1px 0 0 var(--color-brand-orange)}.inline-edit-trigger:focus-visible{outline:2px solid var(--color-brand-orange);outline-offset:-2px}.inline-edit-input{width:100%;border:1px solid var(--color-brand-orange);background:#fff;padding:2px 6px;font:inherit;font-variant-numeric:tabular-nums;color:inherit;border-radius:3px;outline:0;box-shadow:0 0 0 2px #f933}.inline-edit-input:disabled{opacity:.6;cursor:progress}.muted{color:var(--color-text-muted, #9aa0a6);font-style:italic}.billable-rate-cell{font-variant-numeric:tabular-nums;white-space:nowrap}.fo-page{display:flex;flex-direction:column;gap:18px;height:calc(100vh - 56px);max-height:calc(100vh - 56px)}.fo-page>:not(.fo-table-wrap){flex-shrink:0}.financial-overview-page.fo-page{height:auto;max-height:none}.financial-overview-page .fo-table-stage{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;gap:10px;height:100vh;max-height:100vh;min-height:0;box-sizing:border-box;padding-bottom:16px;background:#d9dde0}.financial-overview-page .fo-table-stage .fo-filter-row{flex-shrink:0}.financial-overview-page .fo-table-wrap{flex:1 1 0;min-height:0;height:auto;overflow:auto}.fo-table-wrap{border:1px solid var(--color-border);background:var(--color-surface-panel);flex:1 1 0;min-height:0;overflow:auto}.fo-table-wrap .financial-master-table{border-collapse:separate;border-spacing:0}.fo-master-table{--fo-header-band-height: 28px;--fo-header-label-height: 34px}.fo-table-wrap .fo-master-table.compact-table thead th{padding:0 10px;border-bottom:none;white-space:nowrap}.fo-table-wrap .fo-master-table thead .fo-col-band-row th{position:sticky;top:0;z-index:6;height:var(--fo-header-band-height);min-height:var(--fo-header-band-height);max-height:var(--fo-header-band-height);box-sizing:border-box;background:#e8edf2;border-bottom:1px solid var(--color-border-soft);box-shadow:none;text-align:center}.fo-table-wrap .fo-master-table thead .fo-col-label-row th{position:sticky;top:var(--fo-header-band-height);z-index:5;height:var(--fo-header-label-height);min-height:var(--fo-header-label-height);max-height:var(--fo-header-label-height);box-sizing:border-box;background:#f5f6f8;border-bottom:2px solid var(--color-brand-orange);box-shadow:none}.fo-col-band-label{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-secondary);line-height:1;text-align:center;vertical-align:middle}.fo-table-wrap .fo-master-table.compact-table tbody td{padding:8px 10px}.financial-master-table .invoice-cell,.financial-master-table .invoice-attention-cell{justify-items:end}.financial-master-table th.fo-col-band-start,.financial-master-table td.fo-col-band-start{border-left:2px solid var(--color-border)}.fo-pl-cell{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:1px;line-height:1.15;min-height:2.3em}.fo-pl-cell strong{font-weight:700}.fo-pl-cell .fo-pl-margin-pct{font-size:10px;color:var(--color-text-secondary)}.fo-pl-cell--positive strong{color:#1a6b3c}.fo-pl-cell--positive .fo-pl-margin-pct{color:#1a6b3c;opacity:.85}.fo-pl-cell--negative strong{color:#b42318}.fo-pl-cell--negative .fo-pl-margin-pct{color:#b42318;opacity:.85}.fo-title-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:4px}.fo-title-bar h1{margin-top:4px}.fo-buckets{display:grid;gap:8px}.fo-buckets-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}.fo-bucket-panel{display:flex;flex-direction:column;min-height:100%;border:1px solid var(--color-border);background:var(--color-surface-panel);padding:10px 12px 12px}.fo-bucket-title{margin:0 0 8px;padding-bottom:6px;border-bottom:2px solid var(--color-brand-orange);font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.3;min-height:2.6em;text-transform:uppercase}.fo-bucket-grid{display:grid;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 8px}.fo-bucket-grid>.fo-bucket-metric:nth-child(n+5):nth-child(-n+8),.fo-bucket-grid>.fo-bucket-metric:nth-child(n+9){padding-top:6px;border-top:1px solid var(--color-border-soft)}.fo-bucket-metric{display:grid;gap:2px;min-height:34px;padding:2px 0}.fo-bucket-metric span{font-size:9px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-secondary);line-height:1.2}.fo-bucket-metric strong{font-family:var(--font-display);font-size:14px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--color-text-primary)}.fo-bucket-metric--negative span,.fo-bucket-metric--negative strong{color:#c2362f}.fo-bucket-metric--positive span,.fo-bucket-metric--positive strong{color:#2d6a3a}.fo-contract-cell{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;width:100%}.fo-contract-value{min-width:0}.fo-contract-over-flag{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#b45309;cursor:help}.fo-contract-over-flag svg{display:block}.fo-cross-attrib{display:inline-block;margin-top:2px;padding:1px 6px;border-radius:999px;border:1px solid var(--color-border-soft);background:var(--surface-muted, #fafbfc);color:var(--color-text-muted);font-size:10px;font-weight:600;letter-spacing:.02em;line-height:1.4}@media (max-width: 1400px){.fo-buckets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 700px){.fo-buckets-grid{grid-template-columns:1fr}}.fo-stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.fo-stat-card{display:grid;align-content:center;gap:8px;min-height:100px;padding:18px 20px;border:1px solid var(--color-border);background:var(--color-surface-panel)}.fo-stat-card>span{color:var(--color-text-secondary);font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}.fo-stat-card>strong{font-family:var(--font-display);font-size:24px;font-weight:500;color:var(--color-text-primary);letter-spacing:-.015em;line-height:1.15;font-variant-numeric:tabular-nums}.financial-master-table thead th.cell-left{text-align:left}.financial-master-table thead th.cell-center,.fo-master-table.data-table thead th.fo-col-band-label{text-align:center}.fo-master-table.data-table thead .fo-col-label-row th.cell-left{text-align:left}.fo-master-table.data-table thead .fo-col-label-row th.cell-center,.fo-master-table.data-table thead .fo-col-label-row th{text-align:center}.financial-master-table thead .fo-col-label-row th{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#2a3340}.fo-bu-header td,.wbs-bu-header td{background:var(--color-brand-blue);color:#fff;text-align:center;font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:8px 12px;border-bottom:1px solid var(--color-brand-blue)}.wbs-bu-header{cursor:default}.wbs-bu-header:hover td{background:var(--color-brand-blue)}.fo-bu-header--collapsible{cursor:default}.fo-bu-header-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.fo-bu-header-toggle:hover,.fo-bu-header-toggle:focus-visible{opacity:.92}.fo-bu-header-meta{font-size:11px;font-weight:600;letter-spacing:.04em;opacity:.85}.fo-filter-row{margin-bottom:0}.fo-filter-count{font-size:12px;font-weight:600;color:var(--color-blue-ink)}.invoices-filter-actions .fo-filter-count{align-self:center;margin:0;padding:0}.financial-master-table thead th .table-sort-button{justify-content:center;width:100%;letter-spacing:.05em}.financial-master-table thead th .table-sort-button:hover,.financial-master-table thead th .table-sort-button:focus-visible{color:var(--color-brand-orange)}.financial-master-table thead th .table-sort-button.is-sorted{color:var(--color-brand-blue);box-shadow:inset 0 -2px 0 var(--color-brand-orange)}.financial-master-table .fo-bu-subtotal td{background:var(--color-surface-structural);border-top:2px solid var(--color-border);border-bottom:1px solid var(--color-border-soft);padding:8px 12px;vertical-align:middle}.financial-master-table .fo-bu-subtotal--grand td{background:#e8edf2;border-top:3px solid var(--color-brand-blue)}.fo-bu-subtotal-label{text-align:left;font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.fo-bu-subtotal-pl--positive strong{color:#1a6b3c}.fo-bu-subtotal-pl--negative strong{color:#b42318}.fo-bu-subtotal:hover td{background:var(--color-surface-structural)}.fo-bu-subtotal--grand:hover td{background:#e8edf2}.invoices-filter-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 14px;padding:12px 14px;background:linear-gradient(180deg,#f8fafb,#eef3f6);border:1px solid var(--color-border);border-left:3px solid var(--color-brand-orange);box-shadow:inset 0 1px #ffffffb3}.invoices-filter-field{display:flex;flex-direction:column;gap:5px;min-width:120px}.invoices-filter-field>span{font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--color-blue-ink);display:inline-flex;align-items:center;gap:5px}.invoices-filter-field>span svg{color:var(--color-brand-orange)}.invoices-filter-field>select,.invoices-filter-field>input{padding:7px 10px;border:1px solid var(--color-border);border-radius:0;background:#fff;font-size:13px;min-height:34px;color:var(--color-text-primary);transition:border-color .12s ease,box-shadow .12s ease}.invoices-filter-field>select:hover,.invoices-filter-field>input:hover{border-color:#b7c3cd}.invoices-filter-field>select:focus,.invoices-filter-field>input:focus{outline:none;border-color:var(--color-brand-blue);box-shadow:0 0 0 3px #4f758b29}.invoices-filter-search{flex:1 1 260px;min-width:220px}.invoices-filter-toggle{display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 11px;min-height:34px;border:1px solid var(--color-border);background:#fff;font-size:12px;font-weight:600;color:var(--color-text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.invoices-filter-toggle:hover{border-color:#b7c3cd;color:var(--color-text-primary)}.invoices-filter-toggle:has(input:checked){background:var(--color-blue-soft);border-color:var(--color-brand-blue);color:var(--color-blue-ink);box-shadow:inset 0 -2px 0 var(--color-brand-orange)}.invoices-filter-toggle input{accent-color:var(--color-brand-blue);width:14px;height:14px;margin:0}.invoices-filter-actions{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:34px;white-space:nowrap}.invoices-filter-actions .link-button{font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--color-brand-blue)}.invoices-filter-actions .link-button:hover,.invoices-filter-actions .link-button:focus-visible{color:var(--color-blue-ink)}.invoices-filter-actions .muted{color:#9aa6b2}.invoices-page .fo-table-wrap .invoices-wbs-table thead .fo-col-label-row th{text-align:center}.invoices-page .fo-table-wrap .invoices-wbs-table tbody td.fo-col-band-start{border-left:2px solid var(--color-border)}.invoices-page .new-invoice-picker{flex-shrink:0}.invoice-flag{display:inline-flex;align-items:center;margin-left:6px;color:#b45309;vertical-align:middle}.data-table-footer-row td{background:var(--color-surface-structural);border-top:1px solid var(--color-border);font-variant-numeric:tabular-nums}.invoice-line-table td{padding:4px 6px;vertical-align:middle}.invoice-line-drag-col{width:28px;padding:0}.invoice-line-drag-cell{width:28px;padding:0 2px;text-align:center;vertical-align:middle}.invoice-line-drag-handle{display:flex;align-items:center;justify-content:center;width:24px;height:26px;margin:0 auto;border-radius:3px;color:var(--color-text-secondary);cursor:grab;touch-action:none}.invoice-line-drag-handle:hover{color:var(--color-text-primary);background:var(--color-surface-structural)}.invoice-line-drag-handle:active{cursor:grabbing}.invoice-line-row--dragging td{opacity:.55;background:var(--color-surface-structural)}.invoice-overview-linked-error{margin:0 0 8px;font-size:12px}.invoice-overview-snapshot{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}.invoice-overview-snapshot--single{grid-template-columns:1fr;max-width:420px}.invoice-overview-snapshot .metric-row-detail{margin-top:-2px}.invoice-overview-snapshot .metric-row-detail span{font-size:11px;font-weight:400;color:var(--color-text-secondary)}.invoice-overview-snapshot .metric-row-detail strong{font-size:12px;font-weight:500;color:var(--color-text-secondary)}.invoice-overview-meta{margin:10px 0 0;font-size:12px;line-height:1.4}@media (max-width: 900px){.invoice-overview-snapshot{grid-template-columns:1fr;max-width:none}}.invoice-line-section-cell{min-width:120px;max-width:180px}.invoice-line-section-cell .line-input{font-size:11px}.line-input{width:100%;padding:4px 6px;border:1px solid transparent;border-radius:3px;background:transparent;font-size:13px;font-family:inherit;color:inherit;min-height:26px}.line-input:hover{border-color:var(--color-border-soft);background:var(--color-surface)}.line-input:focus,.line-input:focus-visible{outline:none;border-color:var(--color-brand-blue);background:var(--color-surface);box-shadow:0 0 0 2px #2563eb26}.line-input.cell-numeric{text-align:right;font-variant-numeric:tabular-nums}.line-input-narrow{text-align:center}.line-input-strong{font-weight:600}.combobox-wrap{position:relative;width:100%}.combobox-popover{position:fixed;width:max-content;max-width:min(420px,90vw);z-index:1100;max-height:280px;overflow-y:auto;margin:0;padding:4px 0;list-style:none;background:var(--color-surface-panel);border:1px solid var(--color-border);box-shadow:0 8px 20px #00000024}.combobox-option{padding:6px 10px;display:flex;flex-direction:column;gap:1px;cursor:pointer;font-size:13px;color:var(--color-text-primary);text-align:left;white-space:nowrap}.combobox-option:hover,.combobox-option-highlight{background:#2563eb1a}.combobox-option-label{font-weight:500}.combobox-option-hint{font-size:11px;color:var(--color-text-secondary);font-variant-numeric:tabular-nums}.invoice-line-table .icon-button{width:26px;height:26px;padding:0}.invoice-line-table .line-action-group{display:inline-flex;align-items:center;gap:4px}.new-invoice-picker-body{display:flex;flex-direction:column;gap:1rem}.new-invoice-picker-list{display:flex;flex-direction:column;max-height:320px;overflow-y:auto;border:1px solid var(--border-color, #d0d5dd);border-radius:6px;background:var(--surface-color, #fff)}.new-invoice-picker-row{text-align:left;padding:.55rem .85rem;border:none;border-bottom:1px solid var(--border-color, #d0d5dd);background:transparent;cursor:pointer;font-size:.9rem;color:inherit}.new-invoice-picker-row:last-child{border-bottom:none}.new-invoice-picker-row:hover{background:var(--surface-hover, #f4f6fa)}.new-invoice-picker-row.is-selected{background:var(--primary-soft, #e7eefc);font-weight:600}.invoices-wbs-table .wbs-project-row{cursor:pointer;background:var(--surface-color, #fff);border-top:1px solid var(--border-color, #d0d5dd)}.invoices-wbs-table .wbs-project-row:hover{background:var(--surface-hover, #f4f6fa)}.invoices-wbs-table .wbs-project-row.is-unbilled{background:#ffc4000f}.invoices-wbs-table .wbs-project-row.is-unbilled:hover{background:#ffc4001f}.invoices-wbs-table .wbs-project-row>td{vertical-align:middle}.invoices-wbs-table .row-actions-cell{text-align:center;padding:4px 6px}.invoices-wbs-table .row-actions-cell .icon-button{width:24px;height:24px}.invoices-wbs-table .wbs-activity-row{cursor:pointer;background:var(--surface-muted, #fafbfc);font-size:.9rem}.invoices-wbs-table .wbs-activity-row:hover{background:#f1f4f8}.invoices-wbs-table .wbs-activity-row.is-unbilled{background:#ffc4000a}.invoices-wbs-table .wbs-activity-row.is-unbilled:hover{background:#ffc4001a}.invoices-wbs-table .wbs-indent-1{padding-left:1.5rem}.invoices-wbs-table .wbs-indent-2{padding-left:3rem}.invoices-wbs-table .wbs-invoice-row{background:#fcfcfd;font-size:.85rem}.invoices-wbs-table .wbs-invoice-row.data-row-clickable:hover{background:#eef2f7}.invoices-wbs-table .wbs-invoice-empty>td{color:var(--text-muted, #6b7280);font-style:italic}.invoices-wbs-table .profit-positive{color:#066d39}.invoices-wbs-table .profit-negative{color:#b54708}.wbs-flag-bill{display:inline-flex;align-items:center;gap:2px;margin-left:.4rem;padding:1px 6px;border:none;border-radius:999px;background:#fde8e8;color:#b42318;font-family:inherit;font-size:.65rem;font-weight:700;letter-spacing:.04em;vertical-align:middle;cursor:pointer;transition:background-color .12s ease}.wbs-flag-bill:hover:not(:disabled){background:#f9c8c4}.wbs-flag-bill:active:not(:disabled){background:#f1a8a2}.wbs-flag-bill:disabled{opacity:.55;cursor:progress}.invoices-wbs-table .remaining-flagged{color:#b42318}.invoices-wbs-table .wbs-project-row.is-needs-invoice{background:#b423180a;box-shadow:inset 3px 0 #d92d20}.invoices-wbs-table .wbs-project-row.is-needs-invoice:hover{background:#b4231814}.invoices-wbs-table .wbs-project-row.is-cancelled{background:#6670850a;color:var(--muted-color, #667085)}.invoices-wbs-table .wbs-project-row.is-cancelled:hover{background:#66708514}.invoices-wbs-table .wbs-project-row.is-cancelled strong,.invoices-wbs-table .wbs-project-row.is-cancelled .cell-numeric strong{color:inherit;font-weight:600}.filter-actions{margin-left:auto;display:flex;align-items:center;gap:.25rem;font-size:.85rem}.link-button{background:none;border:none;color:var(--primary-color, #2563eb);cursor:pointer;font-size:.85rem;padding:0;text-decoration:underline}.link-button:hover{text-decoration:none}.invoice-doc{width:7.5in;min-height:10in;margin:0 auto;padding:.25in .5in .5in;background:#fff;color:#1a1a1a;font-family:Calibri,Segoe UI,Arial,sans-serif;font-size:11pt;line-height:1.3;box-shadow:0 2px 12px #0000002e;display:flex;flex-direction:column}.invoice-doc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.4in;margin-bottom:.35in}.invoice-doc-logo{width:.9in;height:auto;object-fit:contain;flex-shrink:0}.invoice-doc-issuer{text-align:right;font-size:10pt}.invoice-doc-issuer-title{font-size:14pt;font-weight:700;margin-bottom:.06in}.invoice-doc-meta{display:flex;justify-content:space-between;gap:.4in;margin-bottom:.25in;border-top:1px solid #1a1a1a;border-bottom:1px solid #1a1a1a;padding:.2in 0}.invoice-doc-section-label{font-weight:700;margin-bottom:.04in;letter-spacing:.02em}.invoice-doc-billto{flex:1;display:flex;flex-direction:column;font-size:10pt;line-height:1.35}.invoice-doc-billto-project{margin-top:auto;padding-top:.08in}.invoice-doc-meta-fields{align-self:start;font-size:10pt;display:grid;grid-template-columns:max-content auto;column-gap:.3in;row-gap:2px;justify-content:end}.invoice-doc-meta-fields>div{display:contents}.invoice-doc-meta-fields span{color:#4a4a4a;white-space:nowrap}.invoice-doc-meta-fields strong{text-align:right;font-weight:700;white-space:nowrap}.invoice-doc-lines{width:100%;border-collapse:collapse;font-size:10pt;margin-bottom:.18in}.invoice-doc-lines thead th{text-align:right;font-weight:700;padding:.07in .06in;background:var(--color-brand-gray);color:#fff;border-bottom:3px solid var(--color-brand-orange)}.invoice-doc-lines thead th.invoice-doc-col-desc{text-align:left}.invoice-doc-lines tbody td{padding:.04in .06in;vertical-align:top;border-bottom:1px solid #e5e5e5}.invoice-doc-col-desc{width:60%}.estimate-doc-lines--lump-sum .invoice-doc-col-desc{width:78%}.estimate-doc-lines--lump-sum .invoice-doc-col-amount{width:22%}.estimate-doc-lines--lump-sum.estimate-doc-lines--with-pct .invoice-doc-col-desc{width:58%}.estimate-doc-lines--lump-sum.estimate-doc-lines--with-pct .invoice-doc-col-pct{width:14%;text-align:right;white-space:nowrap}.estimate-doc-lines--lump-sum.estimate-doc-lines--with-pct .invoice-doc-col-amount{width:28%}.estimate-doc-lines--ads-inline .invoice-doc-col-desc{width:52%}.estimate-doc-lines--ads-inline .invoice-doc-col-pct{width:20%;text-align:right;white-space:nowrap}.estimate-doc-lines--ads-inline .invoice-doc-col-amount{width:28%}.invoice-doc-phase-title-row td{background:#ebebeb;color:#1a1a1a;font-weight:400;font-style:italic;border-bottom:none;padding:.05in .06in .025in}.invoice-doc-phase-title-row .invoice-doc-col-amount{color:#1a1a1a;font-style:normal;font-weight:400}.invoice-doc-phase-fee-label{text-align:right;color:#4a4a4a;font-weight:400;font-style:normal;white-space:nowrap}.invoice-doc-phase-detail-row td{background:#fff;font-weight:400;font-style:normal;color:#1a1a1a;border-bottom:1px solid #e5e5e5;padding:.02in .06in}.invoice-doc-phase-detail-row td:first-child{color:#4a4a4a;font-weight:500}.invoice-doc-phase-billed-row td{font-weight:700;color:#1a1a1a}.invoice-doc-phase-billed-row td:first-child{color:#1a1a1a;font-weight:700}.invoice-doc-col-qty,.invoice-doc-col-rate,.invoice-doc-col-amount{width:13.3%;text-align:right;white-space:nowrap}.invoice-doc-lines--follow-on{margin-top:16px}.invoice-doc-lines tbody tr.invoice-doc-visit-row td{background:#e3e8ee;font-weight:600;font-style:italic;padding:.08in .06in .06in .12in;border-top:1px solid #b8c2cc;border-bottom:1px solid #b8c2cc;color:#1a1a1a}.invoice-doc-lines tbody tr.invoice-doc-visit-bucket-line td{background:#f4f7fa}.invoice-line-row--separator td{background:#e3e8ee;border-top:2px solid var(--color-brand-orange, #e85d04);border-bottom:1px solid #b8c2cc}.invoice-line-separator-input{font-weight:600;font-style:italic}.invoice-line-separator-hint{font-size:12px}.invoice-line-row--in-visit-bucket td{background:#fafbfd}.invoice-line-row--in-visit-bucket td:nth-child(3){border-left:3px solid rgba(232,93,4,.35);padding-left:14px}.invoice-doc-section-row td{background:#fafafa;font-weight:700;font-style:italic;padding:.08in .06in .04in;border-bottom:none}.invoice-doc-subtotal-row td{border-top:1px solid #1a1a1a;border-bottom:1.5px solid #1a1a1a;background:#f9f9f9;font-weight:700;padding-top:.05in;padding-bottom:.05in}.invoice-doc-subtotal-label{text-align:right}.invoice-doc-empty{text-align:center;color:#6a6a6a;font-style:italic;padding:.3in 0}.invoice-doc-footer{display:flex;gap:.4in;justify-content:space-between;align-items:stretch;margin-top:auto;padding-top:.28in}.invoice-doc-footer--totals-only{justify-content:flex-end}.invoice-doc-footer--totals-only .invoice-doc-totals{flex:0 0 auto;max-width:3.35in;min-width:2.75in}.invoice-doc-comments{flex:1.2;font-size:9.5pt}.invoice-doc-comments ol{margin:.04in 0 .1in .25in;padding:0}.invoice-doc-comments li{margin-bottom:1px}.invoice-doc-remit{margin-top:.04in;margin-left:.25in}.invoice-doc-totals{flex:1;max-width:2.6in;font-size:10pt;display:flex;flex-direction:column;justify-content:flex-end}.invoice-doc-total-row{display:flex;justify-content:space-between;gap:.2in;padding:.015in .05in}.invoice-doc-total-row span{color:#1a1a1a}.invoice-doc-amount-due{border-top:1.5px solid #1a1a1a;border-bottom:2.5px double #1a1a1a;margin-top:.04in;padding-top:.06in;padding-bottom:.06in;font-size:11pt}.invoice-doc-amount-due--callout{background:var(--color-brand-gray);border:1px solid var(--color-brand-gray);border-bottom:3px solid var(--color-brand-orange);border-radius:3px;margin-top:.04in;padding:.045in .08in;font-size:11pt}.invoice-doc-amount-due--callout span{color:#fff;font-weight:700}.invoice-doc-amount-due--callout strong{color:#fff;font-size:12pt;font-weight:800}.invoice-doc-grand-total{border-top:2px solid var(--color-brand-orange);border-bottom:3px solid var(--color-brand-orange);margin-top:.04in;margin-bottom:.04in;padding:.08in .06in;font-size:12pt}.invoice-doc-grand-total span{color:var(--color-brand-gray);font-weight:700;letter-spacing:.02em}.invoice-doc-grand-total strong{color:var(--color-brand-orange);font-size:13pt;font-weight:800}.invoice-doc-grand-total--ads{align-items:center;flex-wrap:nowrap;white-space:nowrap;gap:.12in;padding-left:.08in;padding-right:.08in}.invoice-doc-grand-total--ads span{font-size:9pt;letter-spacing:.01em;white-space:nowrap;line-height:1}.invoice-doc-grand-total--ads strong{font-size:11.5pt;white-space:nowrap;line-height:1}.invoice-doc-total-row--secondary{font-size:10pt;color:#4a4a4a}.invoice-doc-total-row--secondary strong{font-weight:600;color:#1a1a1a}.invoice-doc--rates-sheet{margin-top:24px;page-break-before:always;break-before:page;font-size:9.5pt}.invoice-doc-header--compact{margin-bottom:.2in}.invoice-doc-header--compact .invoice-doc-issuer-title{font-size:12pt}.estimate-rates-sheet-intro{margin:0 0 .16in;font-size:9pt;color:#4a4a4a;line-height:1.35}.estimate-rates-sheet-phase+.estimate-rates-sheet-phase{margin-top:.18in}.estimate-rates-sheet-phase-title{margin:0 0 .08in;font-family:var(--font-display);font-size:10pt;font-weight:700;color:var(--color-brand-gray);text-transform:uppercase;letter-spacing:.04em}.estimate-rates-sheet-table{font-size:9pt}.estimate-rates-sheet-table th,.estimate-rates-sheet-table td{padding:.03in .05in}.estimate-rates-sheet-footnote{margin:.18in 0 0;font-size:8.5pt;font-style:italic;color:#5c6670;line-height:1.35}.invoice-doc-pageno{text-align:right;font-size:9pt;color:#6a6a6a;margin-top:.12in}.invoice-preview-backdrop{align-items:start;padding-top:24px;padding-bottom:24px}.invoice-preview-shell{width:min(9in,92vw);max-width:none;max-height:calc(100vh - 48px);display:flex;flex-direction:column;padding:0;background:#f3f3f3;overflow:hidden}.invoice-preview-header{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--border-color, #d0d5dd);background:#fff;position:sticky;top:0;z-index:1}.invoice-preview-header h2{margin:0 0 2px;font-size:1.05rem}.invoice-preview-header .muted{font-size:.8rem;margin:0}.invoice-preview-actions{display:flex;align-items:center;gap:6px}.invoice-preview-scroll{flex:1;overflow:auto;padding:24px 0;background:#e9ecef}.invoice-preview-backdrop--monthly-export .invoice-preview-scroll{overflow-x:hidden}.invoice-preview-backdrop--monthly-export .invoice-preview-shell{max-height:calc(100vh - 48px)}@media print{@page{size:letter;margin:0}body{background:#fff}.sidebar,.page-stack>:not(.invoice-preview-backdrop){display:none!important}body:has(>.invoice-preview-backdrop)>#root{display:none!important}.modal-backdrop:not(.invoice-preview-backdrop){display:none!important}.invoice-preview-backdrop{position:static!important;inset:auto!important;display:block!important;background:transparent!important;padding:0!important;z-index:auto!important}.invoice-preview-header{display:none!important}.invoice-preview-shell{max-height:none!important;overflow:visible!important;width:auto!important;background:#fff!important;border:none!important;box-shadow:none!important}.invoice-preview-scroll{overflow:visible!important;padding:0!important;background:#fff!important}.invoice-doc{position:relative;width:7.5in;margin:0 auto;padding:.25in .5in .5in;box-shadow:none;min-height:auto;page-break-after:always;break-after:page}.invoice-doc:last-of-type{page-break-after:auto;break-after:auto}.invoice-doc--rates-sheet{margin-top:0}.invoice-doc-grand-total,.invoice-doc-grand-total strong,.invoice-doc-lines thead th,.invoice-doc-amount-due--callout,.invoice-doc-amount-due--callout span,.invoice-doc-amount-due--callout strong,.invoice-doc-lines tbody tr.invoice-doc-visit-row td,.invoice-doc-lines tbody tr.invoice-doc-visit-bucket-line td,.invoice-doc-subtotal-row td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.status-pill--neutral{background:#eceff1;color:#5c6670}.status-pill--active{background:#f7911e29;color:var(--color-brand-orange)}.status-pill--success{background:#d9efd9;color:#2f6b2f}.status-pill--muted{background:#f1f1f1;color:#9aa0a6}.additional-services-table tfoot td{background:#f5f7f9;border-top:2px solid var(--color-border);font-weight:600;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.additional-services-table .row-cancelled td{color:#9aa0a6;background:#fafafa}.additional-services-wrap{max-height:320px}.icon-button.danger:hover,.icon-button.danger:focus-visible{border-color:#c43c3c;color:#c43c3c}.row-actions-cell{width:1%;white-space:nowrap}.row-actions-cell .line-action-group{display:inline-flex;gap:6px}.row-actions-cell .icon-button{width:28px;height:28px}.empty-state-hint{font-size:12px;color:var(--color-text-secondary);margin-top:6px}.as-table-wrap{max-height:360px}.signature-cell{display:inline-flex;align-items:center;gap:6px;height:32px}.signature-thumb{height:28px;width:auto;max-width:96px;object-fit:contain;background:#fff;border:1px solid var(--color-border);padding:2px;cursor:pointer}.signature-thumb:hover{border-color:var(--color-brand-orange)}.signature-upload-button{background:transparent;border:1px dashed var(--color-border);color:var(--color-text-secondary);font-size:11px;font-weight:600;letter-spacing:.03em;padding:4px 10px;cursor:pointer}.signature-upload-button:hover{border-color:var(--color-brand-orange);color:var(--color-brand-orange)}.signature-clear-button{background:transparent;border:none;color:#9aa0a6;cursor:pointer;font-size:16px;line-height:1;padding:2px 6px}.signature-clear-button:hover{color:#c43c3c}.signature-error{color:#c43c3c;font-weight:700;cursor:help}.as-modal-shell{width:min(1180px,100%)}.as-form{display:flex;flex-direction:column;gap:16px}.as-form-description{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted, #6b7280)}.as-form-description input{width:100%;padding:8px 10px;font-size:14px;font-weight:500;text-transform:none;letter-spacing:normal;color:var(--color-text);border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface)}.as-form-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:stretch}.as-body-panel,.as-lines-panel{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--color-border);background:var(--color-surface-panel);border-radius:6px}.as-body-textarea{flex:1;min-height:220px;padding:12px 14px;font-family:var(--font-body, inherit);font-size:13px;line-height:1.55;color:var(--color-text);border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface);resize:vertical}.as-notes-field{display:flex;flex-direction:column;gap:4px}.as-consultants-section{margin-top:8px;padding-top:12px;border-top:1px dashed var(--color-border-soft, var(--color-border));display:flex;flex-direction:column;gap:10px}.as-consultants-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.as-coordination-input{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted, #6b7280)}.as-coordination-input .input-with-suffix{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface)}.as-coordination-input input{width:56px;border:0;padding:0;font-size:14px;font-weight:600;color:var(--color-text);background:transparent;text-align:right}.as-coordination-input input:focus{outline:none}.as-totals-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:22px;padding:12px 16px;margin-top:8px;background:var(--color-surface-structural);border:1px solid var(--color-border-soft, var(--color-border));border-radius:4px}.as-totals-bar>div{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.as-totals-bar strong{font-family:var(--font-display);font-size:16px}.as-totals-bar>div:last-child strong{color:var(--color-brand-orange, #ff9933);font-size:18px}.pdf-preview-shell{width:min(960px,100%);display:flex;flex-direction:column;overflow:hidden}.pdf-preview-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--color-border)}.pdf-preview-header-actions{display:flex;gap:8px}.pdf-preview-body{background:#525659;min-height:60vh}.pdf-preview-frame{width:100%;height:75vh;border:0;display:block;background:#525659}.pdf-preview-loading{padding:48px;text-align:center;color:#e5e7eb}@page monthly-export-portrait{size:letter portrait;margin:.25in}.monthly-export-doc{page:monthly-export-portrait;width:7.5in;min-height:auto;margin:0 auto;padding:.18in .2in .28in;background:#fff;color:#1a1a1a;font-family:Calibri,Segoe UI,Arial,sans-serif;font-size:7pt;line-height:1.25;box-shadow:0 2px 12px #0000002e}.monthly-export-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:.15in;min-height:.85in;margin-bottom:.1in;padding-bottom:.08in;border-bottom:3px solid var(--color-brand-orange)}.monthly-export-hero-logo{flex-shrink:0;z-index:1}.monthly-export-hero-title{position:absolute;left:0;right:0;margin:0;padding:0 1.25in 0 .95in;text-align:center;font-size:13pt;font-weight:700;color:var(--color-brand-gray);line-height:1.15;pointer-events:none}.monthly-export-month-box{flex-shrink:0;z-index:1;min-width:1.55in;padding:.1in .14in;border:2px solid var(--color-brand-orange);border-radius:3px;background:#fffaf5;text-align:center;line-height:1.25}.monthly-export-month-box span{display:block;font-size:6.5pt;font-weight:600;color:#5e6873;text-transform:uppercase;letter-spacing:.02em}.monthly-export-month-box strong{display:block;margin-top:.03in;font-size:9pt;color:var(--color-brand-gray)}.monthly-export-meta-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.12in .2in;padding:.06in .1in;margin-bottom:.12in;background:#f8f9fb;border:1px solid #e2e6ea;font-size:7pt}.monthly-export-meta-chip{display:inline-block;padding:.03in .1in;background:var(--color-brand-gray);color:#fff;font-weight:600;font-size:7pt;border-radius:2px}.monthly-export-meta-refreshed{color:#5e6873;font-size:7pt}.monthly-export-overall-card{margin-bottom:.16in;border:1px solid var(--color-border);background:var(--color-surface-panel);overflow:hidden}.monthly-export-overall-head{margin:0;padding:10px 14px}.monthly-export-overall-head h2{margin:0;font-size:12pt;font-weight:600}.monthly-export-overall-head p{margin:2px 0 0;font-size:7.5pt;color:#ffffffd1}.monthly-export-overall-body{padding:12px 14px 14px}.monthly-export-overall-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.monthly-export-master-wrap{margin-top:.08in;border:1px solid var(--color-border);background:var(--color-surface-panel)}.monthly-export-doc .monthly-export-master-wrap.fo-table-wrap{overflow:visible;flex:none;min-height:0}.monthly-export-doc .monthly-export-bu-summary-card .fo-table-wrap{overflow:visible;flex:none;border:none;background:transparent}.monthly-export-doc .financial-master-table .col-project{width:34px}.monthly-export-doc .financial-master-table .col-client{width:56px}.monthly-export-doc .financial-master-table .col-project-name{width:96px}.monthly-export-doc .financial-master-table .col-sector{width:32px}.monthly-export-doc .financial-master-table .col-customer,.monthly-export-doc .financial-master-table .col-bond{width:46px}.monthly-export-doc .financial-master-table .col-money{width:52px}.monthly-export-doc .financial-master-table .col-pl{width:48px}.monthly-export-doc .financial-master-table thead th{overflow:visible;text-overflow:clip;white-space:nowrap;font-size:6.5pt;line-height:1.1}.monthly-export-doc .financial-master-table tbody td{overflow:hidden;text-overflow:ellipsis}.monthly-export-doc .cell-project-name{white-space:normal;word-break:break-word}.monthly-export-bu-summary-row td{padding:10px 8px 14px;background:#f5f6f8;border-top:2px solid var(--color-border)}.monthly-export-bu-summary-cell{padding:10px 12px 14px}.monthly-export-bu-summary-card{border:1px solid var(--color-border);background:#fff;overflow:hidden}.monthly-export-bu-summary-head{padding:8px 12px;background:#e8edf2;border-bottom:2px solid var(--color-brand-orange)}.monthly-export-bu-summary-head h3{margin:0;font-size:9pt;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-brand-gray)}.monthly-export-bu-summary-head p{margin:2px 0 0;font-size:7pt;color:var(--color-text-secondary)}.monthly-export-summary-table{margin:0}.monthly-export-summary-table+.monthly-export-summary-table{border-top:1px solid var(--color-border-soft)}.monthly-export-doc .fo-table-wrap .fo-master-table{font-size:6.75pt}.monthly-export-doc .fo-table-wrap .fo-master-table thead .fo-col-band-row th,.monthly-export-doc .fo-table-wrap .fo-master-table thead .fo-col-label-row th{position:static;height:auto;min-height:0;max-height:none;padding:3px 4px}.monthly-export-doc .fo-table-wrap .fo-master-table.compact-table tbody td{padding:3px 4px;font-size:6.75pt}.monthly-export-doc .fo-table-wrap .fo-master-table thead .fo-col-band-label{font-size:7px}.monthly-export-doc .fo-pl-cell .fo-pl-margin-pct{font-size:6px}.monthly-export-doc .fo-bucket-metric span{font-size:6.5pt}.monthly-export-doc .fo-bucket-metric strong{font-size:8.5pt}.monthly-export-ga-row td{background:#f5f6f8;font-weight:600}.monthly-export-footer{margin-top:.14in;padding-top:.1in;border-top:2px solid var(--color-brand-orange);display:flex;justify-content:space-between;gap:.2in;font-size:6.5pt;color:#5e6873}@media print{@page monthly-export-portrait{size:letter portrait;margin:.25in}.invoice-preview-backdrop--monthly-export,.invoice-preview-backdrop--monthly-export .invoice-preview-shell,.invoice-preview-backdrop--monthly-export .invoice-preview-scroll{min-height:0!important;height:auto!important}.monthly-export-doc{width:7.5in;min-height:auto;margin:0 auto;padding:.18in .2in .28in;box-shadow:none;page:monthly-export-portrait;page-break-after:auto!important;break-after:auto!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-export-doc,.monthly-export-doc *{-webkit-print-color-adjust:exact;print-color-adjust:exact}.monthly-export-overall-card,.monthly-export-bu-summary-card{break-inside:avoid-page}}select,.line-input-combobox{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%235e6873' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4.5l3 3 3-3'/></svg>")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:12px 12px!important;padding-right:28px;cursor:pointer}select:hover,select:focus,select:focus-visible,.line-input-combobox:hover,.line-input-combobox:focus,.line-input-combobox:focus-visible{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231f2937' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4.5l3 3 3-3'/></svg>")!important}select:focus-visible{outline:none;border-color:var(--color-brand-blue);box-shadow:0 0 0 2px #2563eb26}select:disabled,.line-input-combobox:disabled{cursor:not-allowed;opacity:.65;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23a1a8b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4.5l3 3 3-3'/></svg>")!important}.table-select,.compact-table select,.compact-table .line-input-combobox,.data-table select,.data-table .line-input-combobox{padding-right:22px;background-position:right 6px center!important;background-size:10px 10px!important}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,rgb(79 117 139 / .12) 0%,transparent 42%),var(--color-surface-page)}.login-card{width:min(100%,420px);background:var(--color-surface-panel);border:1px solid var(--color-border);border-radius:16px;box-shadow:0 18px 40px #18212e1f;padding:28px}.login-loading{text-align:center;color:var(--color-text-secondary)}.login-brand{display:flex;align-items:center;gap:14px;margin-bottom:24px}.login-brand-mark{width:64px;height:64px;object-fit:contain}.login-brand-title{display:block;font-family:var(--font-display);font-size:1.75rem;color:var(--color-brand-blue)}.login-brand-tagline{margin:4px 0 0;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--color-text-secondary)}.login-title{margin:0 0 8px;font-family:var(--font-display);font-size:1.5rem}.login-subtitle{margin:0 0 20px;color:var(--color-text-secondary);line-height:1.5}.login-form{display:grid;gap:14px}.login-field{display:grid;gap:6px}.login-field span{font-size:.9rem;font-weight:600}.login-field input{width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:8px;background:#fff}.login-error{padding:10px 12px;border-radius:8px;background:#fdecec;color:#9b1c1c;font-size:.92rem}.login-submit{margin-top:4px;padding:11px 14px;border:0;border-radius:8px;background:var(--color-brand-blue);color:#fff;font-weight:600;cursor:pointer}.login-submit:disabled{opacity:.7;cursor:wait}.login-back{margin:0 0 12px;padding:0;border:0;background:none;color:var(--color-brand-blue);font-size:.92rem;cursor:pointer}.login-back:hover{text-decoration:underline}.sidebar-user-block{margin-bottom:10px}.sidebar-user-name{font-size:.92rem;font-weight:600;line-height:1.35;color:var(--color-nav-text)}.sidebar-user-role{font-size:.76rem;line-height:1.35;color:#ffffffd1;margin-top:2px}.sidebar-user-email{font-size:.72rem;line-height:1.35;color:#ffffff9e;margin-top:4px;word-break:break-word}.sidebar-user{font-size:.78rem;line-height:1.4;color:#ffffffc7;margin-bottom:10px;word-break:break-word}.sidebar-signout{width:100%;padding:5px 8px;border:1px solid rgb(255 255 255 / .14);border-radius:6px;background:#ffffff0a;color:#ffffffd1;font-size:.78rem;line-height:1.3;cursor:pointer}.sidebar-signout:hover{background:#ffffff1a;color:var(--color-nav-text)}.budget-task-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.performance-summary-grid{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.performance-summary-grid .summary-tile{flex:1 1 120px;max-width:160px;padding:8px 10px}.performance-summary-grid .summary-tile strong{font-size:16px}.performance-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.9fr);gap:16px;align-items:start}.performance-plan-table{table-layout:fixed;width:100%}.performance-plan-table .col-allotted{width:88px}.performance-plan-table .col-hours{width:72px}.performance-plan-table .col-money{width:88px}.performance-plan-table .col-pct{width:52px}.performance-phase-row td{background:#eef2f7;border-top:1px solid var(--color-border);font-size:12px;padding:8px 10px}.performance-phase-row--toggle{cursor:pointer}.performance-phase-row--toggle td svg{vertical-align:-2px;margin-right:4px}.performance-title-badge{margin-left:8px;vertical-align:middle}.performance-subsection-header--toggle{cursor:pointer;-webkit-user-select:none;user-select:none}.performance-subsection-header--toggle .performance-subsection-title{display:inline-flex;align-items:center;gap:6px}.performance-activity-panels{display:grid;grid-template-columns:1fr;gap:16px;align-items:start}.performance-activity-block--wide{width:100%;max-width:none}.performance-labor-compact,.performance-tx-compact{table-layout:fixed;width:100%}.project-billing-row .project-billing-table-wrap{max-height:280px}.project-billing-table-wrap--solo{max-width:640px}.invoices-compact-table{table-layout:fixed;width:100%}.cell-truncate{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-detail-buckets .cell-truncate{max-width:220px}.performance-inline-totals{margin-left:10px;color:var(--color-text-secondary);font-size:11px;font-weight:500}.performance-allotted-input{width:72px;padding:4px 6px;text-align:right;font-variant-numeric:tabular-nums}.performance-plan-cost-input{width:88px}.performance-allotted-cell{padding-top:6px;padding-bottom:6px}.performance-subsection-side .performance-costcode-table-wrap{max-height:420px}.performance-plan-note{margin:0 0 16px;color:var(--color-text-secondary);font-size:13px}.performance-subsection{margin-top:24px}.performance-subsection-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.performance-subsection-title{margin:0 0 12px;font-family:var(--font-display);font-size:15px;font-weight:600}.performance-subsection-header .performance-subsection-title{margin-bottom:0}.performance-tab-bar{display:flex;gap:8px}.performance-tab{border:1px solid var(--color-border);background:var(--color-surface-panel);padding:6px 12px;color:var(--color-text-secondary);font-size:12px;font-weight:600;cursor:pointer}.performance-tab--active{border-color:var(--color-brand-orange);background:#fff7f0;color:var(--color-text-primary)}.performance-task-row td{background:#f6f8fb;border-top:1px solid var(--color-border-soft)}.performance-resource-row td:first-child{padding-left:28px}.performance-add-person-row td{padding-top:4px;padding-bottom:8px;background:transparent;border-top:none}.performance-add-person-button{display:inline-flex;align-items:center;gap:4px;margin-left:28px;font-size:12px}.performance-add-person-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:28px}.performance-add-person-select{min-width:200px;max-width:280px}.performance-risk-badge{display:inline-block;margin-left:8px;border-radius:999px;background:#fef3f2;padding:2px 8px;color:#b42318;font-size:11px;font-weight:600}.performance-at-risk-tile{border-color:#fecdca;background:#fef3f2}.performance-at-risk-tile strong{color:#b42318}.performance-row-at-risk td{background:snow}.performance-plan-table-wrap,.performance-costcode-table-wrap,.performance-activity-table-wrap{max-height:360px}.performance-tx-compact{table-layout:fixed;width:100%}.performance-tx-compact .performance-tx-col-date{width:5.5rem;white-space:nowrap}.performance-tx-compact .performance-tx-col-contributor{width:9.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-tx-compact .performance-tx-col-description{width:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-tx-compact .performance-tx-col-hours{width:4.75rem;white-space:nowrap}.performance-tx-compact .performance-tx-col-amount{width:6.25rem;white-space:nowrap}.performance-activity-block h4{margin:0 0 4px;font-size:14px;font-weight:600}.performance-activity-description{margin:0 0 12px;color:var(--color-text-secondary);font-size:12px}.budget-task-table-wrap{max-height:420px}.budget-task-table td:first-child{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.budget-variance--negative{color:var(--color-danger, #b42318);font-weight:600}.budget-variance--positive{color:var(--color-success, #067647);font-weight:600}.data-table td.budget-variance--negative,.data-table td.budget-variance--negative .money-negative,.project-bucket-scroll-panel .data-table .money-negative,.performance-embedded-scroll .data-table td.budget-variance--negative,.performance-embedded-scroll .data-table td.budget-variance--negative .money-negative,.performance-embedded-scroll .data-table .money-negative{color:#c2362f}@media (max-width: 960px){.budget-task-summary-grid,.performance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-main-grid,.performance-activity-panels{grid-template-columns:1fr}}.project-detail-page{display:flex;flex-direction:column;gap:0;height:calc(100vh - 56px);max-height:calc(100vh - 56px);min-height:0}.project-detail-hero{flex-shrink:0;display:grid;gap:8px;padding:0 0 12px;border-bottom:1px solid var(--color-border);background:#d9dde0;z-index:6}.project-detail-hero-main{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.project-detail-hero-main .page-title-row{flex:1 1 280px;margin:0}.project-detail-hero .toolbar-actions{flex-shrink:0;align-items:center}.project-detail-scroll-body{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;display:grid;gap:16px;padding-top:16px;padding-bottom:8px}.project-detail-source-estimate{margin:0}.project-detail-buckets{align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr);--bucket-m-cost-c1-gap: 14px;--bucket-m-cost-c2-gap: 16px;--bucket-m-cost-pad: 13px;--bucket-billing-gap: 12px}.project-detail-buckets>.section-card{display:flex;flex-direction:column;min-height:0}.project-detail-buckets>.section-card:first-child{align-self:start;height:fit-content;width:100%}.project-detail-buckets>.section-card:last-child{align-self:stretch}.project-cost-timeline{margin:4px 0 18px;padding:14px 16px 12px;background:var(--color-surface-panel);border:1px solid var(--color-border-soft);border-radius:4px}.project-cost-timeline--empty{background:var(--color-surface-structural)}.project-cost-timeline-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:12px}.project-cost-timeline-title{display:flex;align-items:center;gap:10px;min-width:0}.project-cost-timeline-header h3{margin:0;font-family:var(--font-display);font-size:16px;font-weight:600;letter-spacing:-.01em}.project-cost-timeline-wip{display:inline-flex;align-items:center;gap:4px;padding:2px 7px 2px 5px;border:1px solid rgb(255 153 51 / .55);border-radius:3px;background:#ff99331f;color:#9a5a00;font-size:10px;font-weight:700;letter-spacing:.06em;line-height:1.2;text-transform:uppercase;white-space:nowrap}.project-cost-timeline-footer{justify-content:space-between}.project-cost-timeline-stats{display:flex;gap:18px}.project-cost-timeline-stat{display:grid;gap:2px;text-align:right;min-width:3.5rem}.project-cost-timeline-stat span{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary)}.project-cost-timeline-stat strong{font-size:18px;font-variant-numeric:tabular-nums;line-height:1.1}.project-cost-timeline-track{position:relative;display:grid;gap:6px;padding:4px 0 28px}.project-cost-timeline-lane{display:grid;grid-template-columns:2.75rem minmax(0,1fr);gap:10px;align-items:center}.project-cost-timeline-lane-label{font-size:11px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;color:var(--color-text-secondary)}.project-cost-timeline-rail{position:relative;height:14px;background:#e6ebf0;border:1px solid var(--color-border-soft);overflow:hidden}.project-cost-timeline-lane--time .project-cost-timeline-rail{border-radius:3px 3px 0 0}.project-cost-timeline-lane--cost .project-cost-timeline-rail{border-radius:0 0 3px 3px}.project-cost-timeline-fill{height:100%;min-width:0;transition:width .28s ease}.project-cost-timeline-fill--time{background:linear-gradient(90deg,#7a93a3 0%,var(--color-brand-blue) 100%)}.project-cost-timeline-fill--cost{background:linear-gradient(90deg,#d8893a 0%,var(--color-brand-orange) 100%)}.project-cost-timeline-fill--cost.is-ahead{background:linear-gradient(90deg,#c45a3a,#e85d3a)}.project-cost-timeline-rail--cost{height:16px;overflow:visible}.project-cost-timeline-fill--cost-underlay{position:absolute;inset:0 auto 0 0;height:100%;opacity:.28;background:linear-gradient(90deg,#d8893a 0%,var(--color-brand-orange) 100%);pointer-events:none}.project-cost-timeline-fill--cost-underlay.is-overflow{opacity:.38;background:linear-gradient(90deg,#c45a3a,#e85d3a)}.project-cost-timeline-segment{position:absolute;top:0;bottom:0;min-width:0;box-sizing:border-box;background:#ffffff8c;border:1px solid rgb(79 117 139 / .35);overflow:hidden}.project-cost-timeline-segment-fill{height:100%;background:linear-gradient(90deg,#d8893a 0%,var(--color-brand-orange) 100%);transition:width .28s ease}.project-cost-timeline-segment.is-overrun{border-color:#c45a3a;z-index:1}.project-cost-timeline-segment.is-overrun .project-cost-timeline-segment-fill{background:linear-gradient(90deg,#c45a3a,#e85d3a)}.project-cost-timeline-markers{position:absolute;left:calc(2.75rem + 10px);right:0;top:0;bottom:0;pointer-events:none;z-index:2}.project-cost-timeline-marker{position:absolute;top:0;bottom:4px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;width:0;pointer-events:auto}.project-cost-timeline-diamond{position:absolute;top:16px;width:9px;height:9px;background:#fff;border:2px solid var(--color-brand-blue);transform:rotate(45deg);box-shadow:0 0 0 1px #ffffffe6}.project-cost-timeline-marker.has-schedule .project-cost-timeline-diamond{border-color:var(--color-brand-orange);background:#fff7ef}.project-cost-timeline-marker-label{position:absolute;bottom:0;font-size:10px;font-weight:700;letter-spacing:.04em;color:var(--color-brand-gray);white-space:nowrap}.project-cost-timeline-footer{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:2px;font-size:11px;font-variant-numeric:tabular-nums;color:var(--color-text-secondary)}.project-cost-timeline--ahead .project-cost-timeline-stat strong.negative{color:#c0392b}@media (max-width: 720px){.project-cost-timeline-lane{grid-template-columns:2.4rem minmax(0,1fr)}.project-cost-timeline-markers{left:calc(2.4rem + 10px)}.project-cost-timeline-footer{flex-wrap:wrap}}.project-detail-plan-activity-body--full .performance-embedded{max-height:min(72vh,920px)}.project-detail-plan-activity-body--full .performance-embedded-scroll{max-height:min(68vh,880px);overflow:auto}.project-detail-breakdown-stack>.section-card .performance-embedded--activity-log{max-height:min(70vh,840px)}.project-detail-activity-log>.section-card>.section-body{padding:0;display:flex;flex-direction:column;min-width:0}.project-detail-activity-log .performance-embedded--activity-log{display:flex;flex-direction:column;width:100%;min-height:0;max-height:min(70vh,840px);overflow:hidden}.project-detail-activity-log .performance-activity-split{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:12px 16px 16px;overflow:hidden}.project-detail-activity-log .performance-activity-bucket{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--color-border);background:#fff;overflow:hidden}.project-detail-activity-log .performance-activity-bucket-title{flex-shrink:0;margin:0;padding:8px 12px;background:var(--color-surface-structural);border-bottom:1px solid var(--color-border);font-size:12px;font-weight:600}.project-detail-activity-log .performance-activity-bucket-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:12px;overflow:hidden}.project-detail-activity-log .performance-activity-bucket-body--fill{padding:0;gap:0}.project-detail-activity-log .performance-activity-block{display:flex;flex-direction:column;margin:0;padding:0;border:1px solid var(--color-border);background:#fff}.project-detail-activity-log .performance-activity-block--natural{flex:0 0 auto}.project-detail-activity-log .performance-activity-block--scroll{flex:1 1 auto;min-height:140px;overflow:hidden}.project-detail-activity-log .performance-activity-block--fill{flex:1;min-height:0;border:none;border-radius:0}.project-detail-activity-log .performance-activity-block h4{flex-shrink:0;margin:0;padding:8px 12px;background:var(--color-surface-structural);border-bottom:1px solid var(--color-border);font-size:12px;font-weight:600}.project-detail-activity-log .performance-activity-block--scroll .performance-activity-table-wrap{flex:1;min-height:0;max-height:none;overflow:auto;padding:0;border:none;border-radius:0}.project-detail-activity-log .performance-activity-block--natural .performance-activity-table-wrap{padding:0;border:none;border-radius:0;max-height:none;overflow:visible}@media (max-width: 960px){.project-detail-activity-log .performance-activity-split{grid-template-columns:1fr;overflow:auto}.project-detail-activity-log .performance-embedded--activity-log{max-height:none}.project-detail-activity-log .performance-activity-bucket{min-height:280px}}.project-detail-plan-activity{align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.project-detail-plan-activity>.section-card>.section-header{min-height:4.5rem}.project-detail-plan-activity>.section-card>.section-body{min-width:0;display:flex;flex-direction:column;gap:0;padding:0;max-height:min(70vh,720px)}.project-plan-activity-body{flex:1;min-height:320px;min-width:0;display:flex;flex-direction:column;overflow:hidden;background:#fff}.project-detail-plan-activity .performance-embedded{flex:1;min-height:0}.project-detail-plan-activity .performance-embedded:not(.performance-embedded--activity-log){padding:12px 16px 16px;box-sizing:border-box}.project-detail-plan-activity .performance-embedded:not(.performance-embedded--activity-log) .section-header-action-row{margin:0 0 10px}.project-detail-plan-activity .performance-embedded-scroll{border:1px solid var(--color-border);border-radius:0;background:#fff}.project-detail-plan-activity .performance-plan-note,.project-detail-plan-activity .performance-subsection-header{display:none}.project-detail-plan-activity .performance-embedded-scroll .performance-plan-table thead th{position:sticky;top:0;z-index:2}.project-detail-plan-activity .empty-state{margin:12px}.project-detail-plan-activity .performance-embedded--activity-log{display:flex;flex-direction:column;min-height:0;overflow:hidden}.project-detail-plan-activity .performance-activity-log-header{flex-shrink:0;padding:12px 16px 10px;border-bottom:1px solid var(--color-border)}.project-detail-plan-activity .performance-activity-panels{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:12px 16px 16px;overflow:hidden}.project-detail-plan-activity .performance-activity-block{display:flex;flex-direction:column;margin:0;padding:0;border:1px solid var(--color-border);background:#fff}.project-detail-plan-activity .performance-activity-block--natural{flex:0 0 auto;overflow:visible}.project-detail-plan-activity .performance-activity-block--natural .performance-activity-table-wrap{overflow:visible;max-height:none}.project-detail-plan-activity .performance-activity-block--scroll{flex:1 1 auto;min-height:180px;overflow:hidden}.project-detail-plan-activity .performance-activity-block--wide{flex:1;min-height:0;max-width:none;margin:12px 16px 16px}.project-detail-plan-activity .performance-activity-block h4{flex-shrink:0;margin:0;padding:8px 12px;background:var(--color-surface-structural);border-bottom:1px solid var(--color-border);font-size:12px;font-weight:600}.project-detail-plan-activity .performance-activity-block--scroll .performance-activity-table-wrap{flex:1;min-height:0;max-height:none;overflow:auto;padding:0;border:none;border-radius:0}.project-detail-plan-activity .performance-activity-block--natural .performance-activity-table-wrap{padding:0;border:none;border-radius:0}.project-detail-plan-activity .performance-embedded-scroll .performance-plan-table-wrap{padding:0;border:none;border-radius:0;max-height:none}.project-detail-plan-activity .performance-plan-table,.project-detail-plan-activity .performance-labor-compact,.project-detail-plan-activity .performance-tx-compact{width:100%}.project-detail-plan-activity .empty-state{margin:0 16px 16px}.project-detail-setup-pair{align-items:stretch;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.project-detail-setup-pair--solo{grid-template-columns:1fr}.project-detail-setup-pair>.section-card{min-width:0;display:flex;flex-direction:column}.project-detail-setup-pair>.section-card>.section-header{min-height:4.5rem}.project-detail-setup-pair>.section-card>.section-body{flex:1;min-height:0;display:flex;flex-direction:column;max-height:min(72vh,780px);overflow:hidden;padding:12px 16px}.project-detail-setup-pair .project-plan-activity-body{flex:1;min-height:0;padding:0}.project-detail-setup-pair .project-plan-activity-body .performance-embedded,.project-detail-setup-pair .project-plan-activity-body .performance-embedded-scroll{flex:1;min-height:0}.project-detail-setup-pair .phase-fee-editor{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:10px}.project-detail-setup-pair .phase-fee-editor-toolbar{flex-shrink:0;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;min-height:40px;margin-bottom:0;padding:0;gap:8px;align-items:center;background:transparent;border:none;border-radius:0}.project-detail-setup-pair .phase-fee-editor-summary{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:8px;line-height:1.2}.project-detail-setup-pair .phase-fee-editor>.phase-fee-card-list{flex:1 1 auto;min-height:360px;overflow:auto}.project-detail-setup-pair .phase-fee-card{flex-shrink:0}.project-detail-setup-pair .phase-fee-card-header{flex-shrink:0;min-height:64px}.project-detail-setup-pair .phase-fee-editor>.table-wrap{flex:0 0 auto;min-height:0;overflow-x:auto;overflow-y:visible}.project-detail-setup-pair .phase-fee-editor-hint{flex-shrink:0;margin-top:0;font-size:11px;line-height:1.35}.project-detail-setup-pair .message-banner{flex-shrink:0;padding:6px 10px;font-size:12px}.project-detail-cost-codes-full>.section-body{display:flex;flex-direction:column;height:610px;max-height:min(85vh,760px);overflow:hidden;padding:12px 16px;box-sizing:border-box}.project-detail-cost-codes-full .cost-code-budget-editor{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:10px}.project-detail-cost-codes-full .cost-code-budget-summary{flex-shrink:0;box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:space-between;min-height:40px;margin-bottom:0;padding:0;gap:8px;align-items:center;background:transparent;border:none;border-radius:0}.project-detail-cost-codes-full .cost-code-budget-summary>.phase-fee-editor-summary{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:8px;line-height:1.2}.project-detail-cost-codes-full .cost-code-budget-list{flex:1 1 auto;min-height:510px;overflow:auto;gap:8px}.project-detail-cost-codes-full .cost-code-budget-activity-header{padding:6px 10px}.project-detail-cost-codes-full .cost-code-budget-activity-header strong{font-size:14px}.project-detail-cost-codes-full .cost-code-budget-list,.project-detail-cost-codes-full .cost-code-budget-activity,.project-detail-cost-codes-full .cost-code-budget-activity .table-wrap{width:100%;max-width:none}.project-detail-cost-codes-full .cost-code-budget-activity .data-table{width:100%;table-layout:fixed}.project-detail-cost-codes-full .cost-code-budget-activity .data-table th:nth-child(1),.project-detail-cost-codes-full .cost-code-budget-activity .data-table td:nth-child(1){width:56px}.project-detail-cost-codes-full .cost-code-budget-activity .data-table th:nth-child(2),.project-detail-cost-codes-full .cost-code-budget-activity .data-table td:nth-child(2){width:32%}.project-detail-cost-codes-full .cost-code-budget-activity .data-table th:nth-child(4),.project-detail-cost-codes-full .cost-code-budget-activity .data-table td:nth-child(4){width:110px}.project-detail-cost-codes-full .cost-code-budget-activity .table-money-input{width:100%;max-width:100%;box-sizing:border-box}.project-detail-cost-codes-full .message-banner{flex-shrink:0;padding:6px 10px;font-size:12px}.project-detail-breakdown-stack{display:flex;flex-direction:column;gap:16px}.project-detail-buckets>.section-card>.section-header{min-height:4.5rem}.project-detail-buckets>.section-card>.section-body{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:0;padding:0}.project-detail-buckets>.section-card:first-child>.section-body{flex:0 0 auto}.project-detail-buckets>.section-card:last-child>.section-body{flex:1 1 auto}.project-bucket-metrics.project-snapshot{display:block;flex-shrink:0;margin-bottom:0;padding:12px 16px;border-bottom:1px solid var(--color-border);box-sizing:border-box;background:#fff}.project-snapshot--split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:0;padding:0}.project-snapshot-col{padding:12px 16px;min-width:0}.project-snapshot-col+.project-snapshot-col{border-left:1px solid var(--color-border)}.project-snapshot-col-title{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-text-secondary)}.project-detail-buckets .project-bucket-metrics .metric-list{gap:5px}.project-detail-buckets>.section-card:first-child .project-bucket-metrics .metric-list:first-of-type{gap:var(--bucket-m-cost-c1-gap)}.project-detail-buckets>.section-card:first-child .project-bucket-metrics .metric-list:last-of-type{gap:var(--bucket-m-cost-c2-gap)}.project-detail-buckets>.section-card:first-child .project-bucket-metrics{padding-bottom:var(--bucket-m-cost-pad)}.project-bucket-metrics{margin-bottom:0}.project-detail-buckets .project-bucket-metrics .project-snapshot-divider{margin:12px 0 8px}.project-bucket-body-scroll{display:flex;flex-direction:column;gap:var(--bucket-billing-gap, 12px);min-width:0;overflow:hidden;padding:12px 16px 16px;background:#fff;box-sizing:border-box}.project-detail-buckets>.section-card:first-child .project-bucket-body-scroll{flex:0 0 auto;height:auto;min-height:0}.project-detail-buckets>.section-card:last-child .project-bucket-body-scroll{flex:1 1 auto;min-height:0}.project-detail-buckets .project-bucket-body-scroll .performance-embedded{flex:0 0 auto;min-height:0;height:auto}.project-detail-buckets .project-bucket-body-scroll .performance-embedded-scroll{flex:0 0 auto;min-height:0;height:auto;max-height:min(42vh,360px);overflow:auto;border:1px solid var(--color-border);border-radius:0;background:#fff}.project-detail-buckets>.section-card:last-child .project-bucket-body-scroll .project-bucket-block{flex:1 1 0;height:0;min-height:0;display:flex;flex-direction:column}.project-detail-buckets>.section-card:last-child .project-bucket-body-scroll .project-bucket-block:only-child{flex:1 1 auto;height:auto}.project-detail-buckets .project-bucket-body-scroll .performance-embedded-scroll .performance-subsection-header,.project-detail-buckets .project-bucket-body-scroll .performance-embedded-scroll .performance-cost-bucket-header{background:var(--color-surface-structural);border-bottom:1px solid var(--color-border);padding:8px 12px}.project-detail-buckets .project-bucket-body-scroll .performance-embedded-scroll .performance-employee-table-wrap,.project-detail-buckets .project-bucket-body-scroll .performance-embedded-scroll .performance-plan-table-wrap{padding:0}.project-bucket-block{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;padding:0;border:1px solid var(--color-border);background:#fff;overflow:hidden}.project-bucket-block--first{margin-top:0}.project-bucket-block-title{flex-shrink:0;margin:0;padding:8px 12px;background:var(--color-surface-structural);border-bottom:1px solid var(--color-border);font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--color-text-primary)}.project-detail-buckets .project-billing-table-wrap{flex:1;min-height:0;max-height:none;overflow:auto;border:none;border-radius:0;padding:0}.project-detail-buckets .project-billing-table-wrap .data-table thead th{background:#f5f6f8;color:#2a3340;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-bottom:2px solid var(--color-brand-orange)}.project-detail-buckets .project-bucket-body-scroll .empty-state,.project-detail-buckets .project-bucket-body-scroll .lazy-section-loading{margin:12px}.project-bucket-scroll-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-page, #fff)}.project-bucket-scroll-panel>.performance-embedded{flex:1;min-height:0}.project-bucket-scroll-panel .performance-embedded-scroll{border:0;border-radius:0;flex:1;min-height:0}.project-bucket-scroll-panel--content{overflow:auto;padding:10px 12px 12px}.performance-cost-code-label{display:flex;flex-direction:column;gap:2px;min-width:0}.performance-cost-code-code{font-weight:600;font-size:12px;color:var(--color-text-primary);font-variant-numeric:tabular-nums}.performance-cost-code-desc{font-size:11px;font-weight:500;color:var(--color-text-secondary);line-height:1.35;white-space:normal}.performance-main-grid--stacked,.performance-embedded .performance-main-grid{grid-template-columns:1fr}.performance-embedded{min-width:0;flex:1;min-height:0;display:flex;flex-direction:column}.performance-embedded-scroll{flex:1;min-height:0;overflow:auto;border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface-page, #fff)}.performance-embedded-scroll .performance-subsection--employee-rollup{margin-top:0}.performance-embedded-scroll .performance-subsection--employee-rollup .performance-subsection-header,.performance-embedded-scroll .performance-cost-bucket-header{position:sticky;top:0;z-index:2;background:var(--color-surface-page, #fff);padding:10px 12px;border-bottom:1px solid var(--color-border)}.performance-cost-bucket-header{margin-bottom:0}.performance-cost-bucket-header .performance-tab-bar{gap:6px}.performance-cost-bucket-header .performance-tab{padding:5px 10px}.performance-table-total-row td{border-top:2px solid var(--color-border);background:#f6f8fb;font-weight:600}.performance-table-total-row td:first-child{text-transform:uppercase;font-size:11px;letter-spacing:.06em;color:var(--color-text-secondary)}.performance-employee-table-wrap{max-height:none}.performance-embedded-scroll .performance-employee-table-wrap{padding:0 12px 12px}.performance-employee-table{table-layout:auto;width:100%}.performance-employee-row--toggle{cursor:pointer}.performance-employee-row--toggle td:first-child svg{vertical-align:-2px;margin-right:4px}.performance-employee-phase-row td{background:#f6f8fb;border-top:1px solid var(--color-border-soft);font-size:12px}.performance-employee-phase-row td:first-child{padding-left:28px;color:var(--color-text-secondary)}.performance-embedded-scroll .performance-employee-phase-row td:first-child{padding-left:28px}.performance-embedded .performance-subsection:first-child{margin-top:0}.performance-embedded .section-header-action-row{margin-bottom:12px;flex-shrink:0}.performance-embedded-scroll .performance-subsection{margin-top:0}.performance-embedded-scroll .performance-subsection-header{position:sticky;top:0;z-index:2;background:var(--color-surface-page, #fff);padding:12px 12px 8px;border-bottom:1px solid var(--color-border)}.performance-embedded-scroll .performance-plan-table-wrap{max-height:none;overflow:visible;padding:0 12px 12px}.performance-embedded-scroll .performance-plan-table{min-width:100%;table-layout:auto}.performance-embedded-scroll .performance-plan-table td:first-child,.performance-embedded-scroll .performance-plan-table th:first-child{min-width:160px;max-width:none;overflow:visible;text-overflow:unset;white-space:normal}.performance-embedded-scroll .performance-resource-row td:first-child{padding-left:20px;font-size:12px}.performance-embedded-scroll .performance-task-row td:first-child,.performance-embedded-scroll .performance-phase-row td{padding-left:12px}.performance-embedded .performance-inline-totals{display:none}.performance-embedded .performance-plan-note{margin-bottom:12px;font-size:12px}.project-detail-buckets .invoices-compact-table td,.project-detail-buckets .invoices-compact-table th,.project-detail-buckets .additional-services-compact td,.project-detail-buckets .additional-services-compact th{font-size:12px;padding-top:8px;padding-bottom:8px}.project-detail-buckets .invoices-compact-table strong,.project-detail-buckets .additional-services-compact strong{font-weight:600}.project-detail-buckets .additional-services-compact .row-actions-cell .icon-button{width:30px;height:30px}.dashboard-page .page-header{margin-bottom:4px}.dashboard-dev-banner{margin-bottom:16px;border-left:4px solid var(--color-brand-orange);font-size:14px;line-height:1.5}.dashboard-dev-banner strong{font-family:var(--font-display);font-weight:600}.dashboard-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.platform-status-count{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;border:1px solid var(--color-border);background:#ffffff1f}.platform-status-count--working{color:#166534;background:#eef8f1;border-color:#c8e6d0}.platform-status-count--planned{color:#1d4ed8;background:#eef4ff;border-color:#c7d7fe}.platform-status-count--tbd{color:#6b7280;background:#f3f4f6;border-color:#d1d5db}.platform-status-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.platform-status-item{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.platform-status-item:last-child{padding-bottom:0;border-bottom:none}.platform-status-item-head{display:grid;gap:6px;margin-bottom:6px}.platform-status-chip{display:inline-flex;align-self:start;padding:2px 8px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1px solid transparent}.platform-status-chip--working{background:#d4ecdd;color:#166534}.platform-status-chip--workflow{background:#fff4e5;color:#9a5b00}.platform-status-chip--planned{background:#d9e8fb;color:#1d4ed8}.platform-status-chip--tbd{background:#e3e8ef;color:#4a5568}.platform-status-title{font-family:var(--font-display);font-size:14px;font-weight:600}.platform-status-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:none;background:none;color:var(--color-brand-blue);font-family:var(--font-display);font-size:14px;font-weight:600;text-align:left;cursor:pointer}.platform-status-link:hover,.platform-status-link:focus-visible{color:var(--color-brand-orange)}.platform-status-copy{margin:0;color:var(--color-text-secondary);font-size:12px;line-height:1.45}@media (max-width: 1100px){.dashboard-status-grid{grid-template-columns:1fr}}.weekly-updates-page{display:flex;flex-direction:column;gap:16px}.wu-leadership-test{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.wu-leadership-test .muted{margin:0;font-size:13px}.wu-feedback{position:sticky;top:0;z-index:5}.wu-compliance-strip{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:16px 24px;align-items:start}.wu-compliance-stat{display:grid;gap:4px}.wu-compliance-stat span,.wu-compliance-missing>span{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-blue-ink)}.wu-compliance-stat strong{font-family:var(--font-display);font-size:28px;font-weight:500}.wu-compliance-missing p{margin:4px 0 0;color:var(--color-text-secondary);font-size:13px;line-height:1.4}.wu-filter-row{margin-bottom:14px}.wu-group-toggle{display:inline-flex;align-items:center;gap:0;padding-bottom:6px}.wu-group-toggle .fo-sort-toggle-label,.wu-group-toggle-label{margin-right:8px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-blue-ink)}.wu-group-toggle>button{min-height:34px;padding:6px 12px;border:1px solid var(--color-border);background:#fff;color:var(--color-text-secondary);font-size:12px;font-weight:600;cursor:pointer}.wu-group-toggle>button:first-of-type{border-right-width:0}.wu-group-toggle>button.is-active{background:var(--color-blue-soft);color:var(--color-blue-ink);box-shadow:inset 0 -2px 0 var(--color-brand-orange)}.wu-group{margin-top:14px}.wu-group-title{margin:0 0 8px;font-family:var(--font-display);font-size:14px;font-weight:600;color:var(--color-brand-blue)}.wu-status{display:inline-block;padding:2px 8px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1px solid var(--color-border);background:var(--color-surface-structural)}.wu-status--submitted{background:#e8f5ee;border-color:#9ecfb4;color:#1a6b3c}.wu-status--draft{background:#fff7eb;border-color:#f0c998;color:#8a5410}.wu-actions{white-space:nowrap}.wu-compose-grid{display:grid;grid-template-columns:minmax(220px,280px);gap:12px;margin-bottom:16px}.wu-compose-grid label,.wu-textarea{display:flex;flex-direction:column;gap:6px}.wu-compose-grid span,.wu-textarea>span{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--color-blue-ink)}.wu-textarea{margin-top:14px}.wu-textarea textarea,.wu-compose-grid select,.wu-lines select,.wu-lines input{width:100%;padding:8px 10px;border:1px solid var(--color-border);background:#fff;font:inherit}.wu-cost-code-combobox{min-width:220px}.wu-cost-code-combobox .combobox-option-label{white-space:normal}.wu-lines-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 10px}.wu-lines-toolbar h4{margin:0;font-size:14px}.wu-email-error{color:#b42318;font-weight:600;cursor:help;text-decoration:underline dotted}.wu-email-meta{margin:0 0 12px}.wu-narrative{margin-top:16px;display:grid;gap:10px}.wu-narrative h4{margin:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--color-text-secondary)}.wu-narrative p{margin:0;white-space:pre-wrap;line-height:1.45}.wu-meta-intro{display:flex;flex-wrap:wrap;gap:16px 28px;margin:0 0 12px;color:var(--color-text-secondary)}.wu-meta-intro strong{color:var(--color-text-primary)}.wu-rollup-title{margin:18px 0 8px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--color-blue-ink);border-bottom:2px solid var(--color-brand-orange);padding-bottom:6px}.wu-daily-wrap{overflow-x:auto}.wu-daily-table th,.wu-daily-table td{white-space:nowrap}.wu-daily-table .wu-day-input{width:3.4rem;min-width:3.4rem;text-align:right;padding-inline:4px}.wu-daily-table tfoot td{background:var(--color-surface-structural)}@media (max-width: 900px){.wu-compliance-strip{grid-template-columns:1fr 1fr}.wu-compliance-missing{grid-column:1 / -1}}
