@import"https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap";:root{--color-bg: #ffffff;--color-surface: #e8eeef;--color-border: #b8c7ca;--color-text: #10252c;--color-text-muted: #4c6268;--color-accent: #1c43eb;--color-accent-hover: #4868ef;--color-accent-active: #1133c0;--color-neon: #daf97c;--color-silver: #afb6c4;--color-success: #217a3c;--color-warning: #8a5a00;--color-danger: #b42318;--font-sans: "Inter Tight", system-ui, -apple-system, sans-serif;--radius-sm: 6px;--radius-md: 12px;--radius-lg: 20px;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.5rem;--space-6: 2rem;--focus-ring: 0 0 0 3px rgb(28 67 235 / 25%)}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:.9375rem;line-height:1.33}button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid var(--color-accent);outline-offset:2px;box-shadow:var(--focus-ring)}.pm-switch{position:relative;display:inline-flex;align-items:center;gap:var(--space-2);cursor:pointer}.pm-switch input{position:absolute;z-index:1;top:0;left:0;width:2.5rem;height:1.35rem;margin:0;opacity:0;cursor:pointer}.pm-switch__track{position:relative;width:2.5rem;height:1.35rem;flex:0 0 auto;border:1px solid var(--color-border);border-radius:999px;background:var(--color-silver);transition:background .12s ease}.pm-switch__thumb{position:absolute;top:2px;left:2px;width:calc(1.35rem - 6px);height:calc(1.35rem - 6px);border-radius:50%;background:#fff;box-shadow:0 1px 2px #10252c4d;transition:transform .12s ease}.pm-switch input:checked+.pm-switch__track{background:var(--color-success)}.pm-switch input:checked+.pm-switch__track .pm-switch__thumb{transform:translate(1.15rem)}.pm-switch input:focus-visible+.pm-switch__track{outline:3px solid var(--color-accent);outline-offset:2px;box-shadow:var(--focus-ring)}.pm-switch input:disabled+.pm-switch__track,.pm-switch input:disabled~.pm-switch__label{opacity:.55;cursor:not-allowed}.pm-switch input:disabled{cursor:not-allowed}.pm-switch__label{font-size:.85rem}html{min-width:320px;min-height:100%}body{min-height:100vh}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.55rem;font-size:clamp(2rem,4vw,2.5rem);font-weight:400;line-height:.95;letter-spacing:-.03em}h2{font-size:1.35rem;font-weight:400;line-height:1.08}h3{font-size:1rem;font-weight:500}button,a,select{border-radius:var(--radius-sm)}.app-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:1.25rem 1rem;color:#fff;background:#000}.wordmark{min-width:100px;font-size:1.5rem;font-weight:500;letter-spacing:-.04em}.product-name{margin:.15rem 0 1.25rem;color:var(--color-silver)}.sidebar nav{display:grid;min-height:0;gap:.15rem;overflow-y:auto}.sidebar nav a{padding:.5rem .8rem;color:#fff;text-decoration:none}.sidebar nav a:hover{background:#181818}.sidebar nav a.active{color:#fff;outline:1px solid var(--color-neon);outline-offset:-1px;background:#181818}.sidebar-nav-group{display:grid;gap:.2rem;margin-top:.2rem;padding-top:.3rem;border-top:1px solid #2b2b2b}.sidebar-nav-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.45rem .8rem;border:0;color:var(--color-silver);font-size:.75rem;text-align:left;letter-spacing:.08em;text-transform:uppercase;background:transparent;cursor:pointer}.sidebar-nav-group-toggle:hover{color:#fff;background:#181818}.sidebar-nav-group.is-active>.sidebar-nav-group-toggle{color:#000;background:var(--color-neon)}.sidebar-nav-chevron{width:.45rem;height:.45rem;border-right:1px solid currentcolor;border-bottom:1px solid currentcolor;transform:rotate(45deg);transition:transform .15s ease}.sidebar-nav-group.is-open .sidebar-nav-chevron{transform:rotate(225deg)}.sidebar-nav-links{display:grid;gap:.2rem}.sidebar-nav-links[hidden]{display:none}.sidebar-nav-empty{margin:0;padding:.5rem 1.15rem;color:var(--color-silver);font-size:.75rem}.sidebar-nav-links>a{padding-left:1.15rem}.sidebar-footer{display:grid;gap:.2rem;margin-top:auto;flex:0 0 auto;padding:.65rem .8rem 0;border-top:1px solid #333}.sidebar-footer small{color:var(--color-silver)}.language-button{width:max-content;margin-top:.7rem;padding:0;border:0;color:#fff;background:transparent;cursor:pointer}.main-content{min-width:0}.global-search{position:sticky;z-index:20;top:0;display:flex;justify-content:flex-end;padding:.65rem clamp(1.5rem,4vw,4rem);border-bottom:1px solid var(--color-border);background:#fffffff2;backdrop-filter:blur(10px)}.global-search input{width:min(360px,100%)}.global-search-results{position:absolute;top:calc(100% - .25rem);right:clamp(1.5rem,4vw,4rem);display:grid;width:min(420px,calc(100vw - 2rem));max-height:420px;overflow:auto;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 14px 30px #0000001f}.global-search-results a,.global-search-results>span{display:grid;gap:.15rem;padding:.75rem 1rem;color:var(--color-text);text-decoration:none}.global-search-results a:hover{background:#f6f6f6}.global-search-results small{color:var(--color-text-muted)}.project-workspace{min-width:0}.project-workspace-return-link{margin:1.5rem clamp(1.5rem,4vw,4rem) 0}.project-workspace-header{display:flex;justify-content:space-between;align-items:end;gap:1rem;padding:1.5rem clamp(1.5rem,4vw,4rem);border-bottom:1px solid var(--color-border);background:#fff}.project-workspace-header h1{margin-bottom:.35rem}.project-workspace-header p{margin-bottom:0;color:var(--color-text-muted)}.project-tabs{display:flex;gap:.25rem;overflow-x:auto;padding:.75rem clamp(1.5rem,4vw,4rem);border-bottom:1px solid var(--color-border);background:#fff}.project-tabs a{padding:.55rem .75rem;color:var(--color-text);text-decoration:none;white-space:nowrap}.project-tabs a.active{color:#fff;background:var(--color-accent)}.project-summary-grid,.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:1500px;margin:0 auto;padding:clamp(1.5rem,4vw,4rem)}.project-drive-folder-card,.project-history-card{grid-column:1 / -1}.project-summary-details{display:grid;grid-template-columns:minmax(9rem,.8fr) minmax(0,1.2fr);gap:.7rem 1rem;margin:0}.project-summary-details dt{color:var(--color-text-muted);font-weight:600}.project-summary-details dd{margin:0}.project-summary-detail-note,.project-summary-status-detail,.project-section-help,.project-history-entry-heading{display:flex;gap:.35rem}.project-summary-detail-note,.project-section-help,.project-completeness-note,.project-history-entry-heading span{color:var(--color-text-muted)}.project-summary-status-detail,.project-history-entry-heading{align-items:center;flex-wrap:wrap}.project-completeness-details summary{cursor:pointer;font-weight:600}.project-section-heading{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}.project-section-heading h2,.project-section-heading p{margin-bottom:.25rem}.project-drive-folder-card p{margin-bottom:0}.project-history-list{display:grid;gap:1rem;padding:0;margin:0;list-style:none}.project-history-entry{padding:1rem;border:1px solid var(--color-border);border-radius:.5rem}.project-history-entry-heading{justify-content:space-between}.project-history-changes{display:grid;gap:.65rem;margin:.85rem 0 0}.project-history-changes>div{display:grid;grid-template-columns:minmax(8rem,.6fr) minmax(0,1.4fr);gap:1rem}.project-history-changes dd{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.75rem;margin:0}.project-history-changes dd span{min-width:0;overflow-wrap:anywhere}.project-history-changes small{display:block;color:var(--color-text-muted)}.project-workspace>.page{max-width:1500px}.page{max-width:1500px;margin:0 auto;padding:clamp(1.5rem,4vw,4rem)}@media(max-width:900px){.project-summary-grid,.reports-grid{grid-template-columns:1fr}.project-summary-details,.project-history-changes>div,.project-history-changes dd{grid-template-columns:1fr}.project-history-changes dd>[aria-hidden=true]{display:none}.budget-project-header{grid-template-columns:1fr}.budget-project-actions{padding-top:0}.budget-envelope-selection-heading,.budget-envelope-form-heading{align-items:stretch;flex-direction:column}}.page-header{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem}.page-header p{max-width:650px;margin-bottom:0;color:var(--color-text-muted)}.page-header select{min-width:260px;padding:.72rem;border:1px solid var(--color-border);background:#fff}.pm-card{padding:1.4rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.pm-card>h2{margin-bottom:1.2rem}.pm-button,.primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.6rem 1rem;border:1px solid var(--color-accent);color:#fff;font-weight:500;text-decoration:none;background:var(--color-accent);cursor:pointer}.pm-button:hover,.primary-action:hover{background:var(--color-accent-hover)}.pm-button:disabled{border-color:var(--color-silver);background:var(--color-silver);cursor:not-allowed}.pm-status{display:inline-flex;align-items:center;gap:.4rem;width:max-content;padding:.25rem .5rem;border-radius:999px;font-size:.78rem}.pm-status--healthy{color:var(--color-success);background:#e8f5ec}.pm-status--at_risk{color:#493400;background:var(--color-neon)}.pm-status--critical{color:var(--color-danger);background:#fce8e6}.pm-status--unknown{color:#525866;background:#eef0f4}.capacity-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem;margin-bottom:1rem;padding:.75rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff}.capacity-tabs{display:inline-flex;align-self:stretch;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.capacity-tabs button{min-height:38px;padding:.45rem .8rem;border:0;border-radius:0;color:var(--color-text-muted);background:#fff;cursor:pointer}.capacity-tabs button+button{border-left:1px solid var(--color-border)}.capacity-tabs button[aria-selected=true]{color:#fff;background:var(--color-accent)}.capacity-filters{position:relative;align-self:stretch;min-width:90px}.capacity-filter-toggle{display:flex;align-items:center;min-height:38px;padding:.45rem .75rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text);background:#fff;cursor:pointer}.capacity-filter-toggle:after{margin-left:.55rem;content:"⌄"}.capacity-filter-toggle[aria-expanded=true]:after{transform:rotate(180deg)}.capacity-filters>div{position:absolute;z-index:10;top:calc(100% + .35rem);right:0;display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:.75rem;width:min(560px,calc(100vw - 2rem));margin-top:.35rem;padding:.85rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 14px 30px #00000024}.capacity-toolbar .capacity-filter-toggle.capacity-filter-toggle--active{color:#fff;background:var(--color-accent)}.capacity-filter-header{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;color:var(--color-text);font-size:.86rem}.capacity-filter-header button{min-height:30px;padding:.2rem .55rem;border:1px solid var(--color-border);color:var(--color-text);background:#fff;cursor:pointer}.capacity-filters>div>label,.capacity-filters fieldset{display:grid;align-content:start;gap:.3rem;min-width:0;margin:0;padding:0;border:0;color:var(--color-text-muted);font-size:.78rem}.capacity-filters fieldset{gap:.2rem}.capacity-filters legend{margin-bottom:.1rem;font-weight:600}.capacity-filters select{width:100%;min-height:36px;padding:.4rem .55rem;border:1px solid var(--color-border);color:var(--color-text);background:#fff}.capacity-filters .capacity-toggle{grid-column:1 / -1}.capacity-toolbar label{display:grid;gap:.25rem;color:var(--color-text-muted);font-size:.78rem}.capacity-toolbar select,.capacity-toolbar input[type=search]{min-height:38px;padding:.45rem .65rem;border:1px solid var(--color-border);background:#fff}.capacity-date-controls{display:flex;gap:.25rem}.capacity-date-controls button,.capacity-toolbar button:not(.pm-button){min-height:38px;padding:.45rem .7rem;border:1px solid var(--color-border);background:#fff;cursor:pointer}.capacity-toolbar .pm-button{min-height:38px}.capacity-toolbar__view,.capacity-toolbar__consolidation,.capacity-toolbar__load{flex:0 1 150px}.capacity-toolbar__project{flex:1 1 240px;min-width:210px;max-width:360px}.capacity-toolbar__search{flex:1 1 260px}.capacity-toolbar__saved-view{flex:0 1 230px;min-width:210px}.capacity-toolbar__save-view{align-self:end;white-space:nowrap}.capacity-toolbar__filters{align-self:end}.projects-toolbar,.insights-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.6rem}.scope-toggle{display:inline-flex;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.scope-toggle button{min-height:38px;padding:.45rem .75rem;border:0;border-radius:0;color:var(--color-text-muted);background:#fff;cursor:pointer}.scope-toggle button+button{border-left:1px solid var(--color-border)}.scope-toggle button:hover,.scope-toggle button.scope-toggle--active{color:#fff;background:var(--color-accent)}.projects-toolbar input[type=search],.projects-toolbar select{min-height:38px;padding:.45rem .65rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.capacity-toggle{display:flex!important;flex-direction:row;align-items:center;min-height:38px;padding:0 .45rem;color:var(--color-text)!important;font-size:.86rem!important}.capacity-search{min-width:min(280px,100%);margin-left:auto}.capacity-legend{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 .75rem;color:var(--color-text-muted);font-size:.8rem}.capacity-legend span{display:inline-flex;align-items:center;gap:.35rem}.capacity-dot{width:.65rem;height:.65rem;border-radius:2px;background:#e6f9fe}.capacity-dot--healthy{background:#d9f7df}.capacity-dot--warning{background:#fff4b8}.capacity-dot--overallocated{background:#ffd6d2}.capacity-grid{--capacity-name-width: 230px;display:grid;grid-template-columns:var(--capacity-name-width) repeat(var(--capacity-weeks),minmax(148px,1fr));max-height:min(68vh,760px);overflow:auto;gap:2px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff;scrollbar-gutter:stable}.capacity-grid>*{min-width:0;border-right:0;border-bottom:0}.capacity-grid-header{position:sticky;z-index:4;top:0;display:grid;gap:.2rem;min-height:62px;padding:.65rem;background:#f7f8fa}.capacity-grid-header strong{font-size:.82rem}.capacity-grid-header small{color:var(--color-text-muted);font-size:.68rem}.capacity-grid-name{z-index:6;left:0;align-content:center}.capacity-group-name{position:sticky;z-index:3;left:0;display:flex;align-items:center;gap:.45rem;min-height:42px;padding:.55rem .75rem;border:0;border-radius:0;text-align:left;background:var(--color-surface);cursor:pointer}.capacity-group-name small{margin-left:auto;color:var(--color-text-muted)}.capacity-group-total{display:grid;align-content:center;gap:.15rem;min-height:42px;padding:.7rem .65rem;color:var(--color-text-muted);font-size:.74rem;font-weight:500;background:var(--color-surface);white-space:nowrap}.capacity-group-total--available{color:var(--color-text);background:#e6f9fe}.capacity-group-total--healthy{color:#1f5d2d;background:#d9f7df}.capacity-group-total--warning{color:#6a4c00;background:#fff4b8}.capacity-group-total--overallocated{color:#8b1f15;background:#ffd6d2}.capacity-group-total--unavailable{color:var(--color-text-muted);background:#f1f2f5}.capacity-group-total small{color:inherit;font-size:.64rem}.capacity-person{position:sticky;z-index:2;left:0;display:grid;align-content:center;gap:.15rem;min-height:78px;padding:.65rem .75rem;background:#fff;content-visibility:auto;contain-intrinsic-size:auto 78px}.capacity-person strong{overflow:hidden;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}.capacity-person small{color:var(--color-text-muted);font-size:.7rem}.capacity-person--placeholder{color:#34206f;background:#f1edff;box-shadow:inset 4px 0 #7257d9}.capacity-person--placeholder strong,.capacity-person--placeholder small{white-space:normal}.capacity-person--placeholder small{color:#5c4a91}.capacity-cell.capacity-cell--placeholder{background-color:#f8f6ff;background-image:linear-gradient(135deg,rgb(114 87 217 / 7%) 25%,transparent 25% 50%,rgb(114 87 217 / 7%) 50% 75%,transparent 75%);background-size:14px 14px}.capacity-add-button{position:absolute;top:.55rem;right:.55rem;display:grid;place-items:center;width:1.7rem;height:1.7rem;padding:0;border:1px solid var(--color-border);border-radius:50%;color:var(--color-accent);background:#fff;cursor:pointer}.capacity-add-button:hover,.capacity-add-button:focus-visible{color:#fff;background:var(--color-accent)}.capacity-cell{display:grid;align-content:center;gap:.4rem;min-height:78px;padding:.55rem .65rem;border:0;border-radius:0;color:var(--color-text);text-align:left;background:#e6f9fe;content-visibility:auto;contain-intrinsic-size:auto 78px}.capacity-cell:not(:disabled){cursor:pointer}.capacity-cell:not(:disabled):hover{box-shadow:inset 0 0 0 2px var(--color-accent)}.capacity-cell:disabled{cursor:not-allowed;opacity:.78}.capacity-cell--healthy{background:#d9f7df}.capacity-cell--warning{background:#fff4b8}.capacity-cell--overallocated{background:#ffd6d2}.capacity-cell--unavailable{background:#f7f8fa}.capacity-cell-value{overflow:hidden;font-size:.78rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.capacity-cell small{overflow:hidden;color:var(--color-text-muted);font-size:.64rem;text-overflow:ellipsis;white-space:nowrap}.capacity-bar{position:relative;display:block;width:100%;height:7px;overflow:hidden;border-radius:999px;background:#00000014}.capacity-bar i{position:absolute;inset-block:0;left:0;background:var(--color-accent)}.capacity-bar b{position:absolute;inset-block:0;border-inline:1px solid #fff;background:repeating-linear-gradient(45deg,#aeb9ff,#aeb9ff 3px,#e0e4ff 3px 6px)}.capacity-exception-editor{margin-top:1rem}.modal-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:1rem;background:#00000073}.project-contract-dialog{width:min(720px,100%);max-height:calc(100vh - 2rem);overflow-y:auto;box-shadow:0 24px 80px #00000047}.project-contract-dialog form{display:grid;gap:1rem;margin-top:1rem}.allocation-dialog{width:min(680px,100%);max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.4rem;border-radius:var(--radius-md);background:#fff;box-shadow:0 24px 80px #00000047}.dialog-header,.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dialog-header p{margin:0;color:var(--color-text-muted)}.allocation-context{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin:1.1rem 0;padding:.85rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#f8f9fb}.allocation-context span{display:grid;gap:.2rem}.allocation-context small{color:var(--color-text-muted);font-size:.72rem}.allocation-context strong{font-size:1rem}.dialog-close{width:40px;height:40px;border:0;font-size:1.5rem;background:transparent;cursor:pointer}.allocation-existing{margin:1.2rem 0;padding:.9rem;border-radius:var(--radius-sm);background:#f6f7fa}.allocation-existing>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.75rem;padding:.55rem 0;border-top:1px solid var(--color-border)}.placeholder-staff-select{display:grid;gap:.3rem;margin-bottom:.75rem;color:var(--color-text-muted);font-size:.75rem}.placeholder-staff-select select{min-height:38px;padding:.45rem .6rem;border:1px solid var(--color-border);background:#fff}.allocation-existing span{display:grid}.allocation-existing small{color:var(--color-text-muted)}.allocation-existing-value{justify-items:end;white-space:nowrap}.allocation-actions{display:flex!important;flex-direction:row;gap:.35rem}.allocation-inline-editor{display:grid;grid-column:1 / -1;grid-template-columns:minmax(180px,1fr) minmax(160px,1fr) auto;align-items:end;gap:.75rem;padding-top:.4rem}.allocation-inline-editor label{display:grid;gap:.3rem;color:var(--color-text-muted);font-size:.78rem}.allocation-inline-editor input,.allocation-inline-editor select{min-height:38px;padding:.45rem .6rem;border:1px solid var(--color-border);border-radius:6px;background:#fff}.allocation-actions button,.dialog-footer>button:not(.pm-button){min-height:36px;padding:.4rem .65rem;border:1px solid var(--color-border);background:#fff;cursor:pointer}.danger-link{color:var(--color-danger)}.allocation-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0 1.4rem}.allocation-form>label{display:grid;align-content:start;gap:.35rem;color:var(--color-text-muted);font-size:.82rem}.allocation-form select,.allocation-form input,.allocation-form textarea{width:100%;min-height:42px;padding:.6rem .7rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;font:inherit}.allocation-form textarea{min-height:72px;resize:vertical}.allocation-project-field,.allocation-note-field{grid-column:1 / -1}.allocation-form fieldset{min-width:0;margin:0;padding:0;border:0}.allocation-form legend{margin-bottom:.35rem;color:var(--color-text-muted);font-size:.82rem}.allocation-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.allocation-choice label{display:flex;align-items:flex-start;gap:.5rem;min-height:64px;padding:.65rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer}.allocation-choice label:has(input:checked){border-color:var(--color-accent);background:#eef0ff}.allocation-choice input{width:auto;min-height:auto;margin-top:.15rem}.allocation-choice span{display:grid;gap:.15rem}.allocation-choice small,.allocation-form>label small{color:var(--color-text-muted);font-size:.72rem}.tempo-roster-warning{display:grid;gap:.25rem;margin-bottom:1rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.insight-status-card{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin-bottom:1rem;padding:0;overflow:hidden}.insight-status-card>div{display:grid;align-content:center;gap:.45rem;min-height:128px;padding:1rem;border-right:1px solid var(--color-border)}.insight-status-card>div:first-child{color:#fff;background:#000}.insight-status-card span{color:var(--color-text-muted);font-size:.75rem}.insight-status-card>div:first-child span{color:var(--color-silver)}.insight-status-card strong{font-size:1.05rem;font-weight:500}.insights-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,.8fr);gap:1rem;margin-bottom:1rem}.insights-grid--single{grid-template-columns:1fr}.insight-card-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.insight-card-heading h2{margin-bottom:.3rem}.insight-card-heading p{margin:0;color:var(--color-text-muted);font-size:.8rem}.insight-card-heading>strong{font-family:var(--font-sans);font-size:1.15rem}.prediction-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:1.3rem 0;border-radius:var(--radius-sm);background:#f3f4f7}.prediction-timeline>div{display:grid;gap:.35rem;min-height:92px;padding:1rem}.prediction-timeline span,.insight-metrics span{color:var(--color-text-muted);font-size:.72rem}.prediction-timeline strong{font-size:.9rem}.prediction-timeline .prediction-main{color:#fff;background:var(--color-accent)}.prediction-timeline .prediction-main span{color:#d9dfff}.insight-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.insight-metrics>div{display:grid;gap:.3rem;padding:.8rem;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.insight-metrics strong{font-family:var(--font-sans);font-size:1rem;font-weight:400}.insight-metrics small{color:var(--color-text-muted);font-size:.65rem}.financial-list{display:grid;margin:0}.financial-list>div{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-top:1px solid var(--color-border)}.financial-list dt{color:var(--color-text-muted)}.financial-list dd{margin:0;font-family:var(--font-sans);text-align:right}.insight-warnings{margin-bottom:1rem;border-color:#efcc5d;background:#fffbea}.insight-contract-alert,.project-contract-alert{margin-bottom:1rem;border:1px solid #d84a3e;color:#7c1f17;background:#fff0ee}.insight-contract-alert h2,.project-contract-alert h2{margin-bottom:.45rem;color:#7c1f17}.insight-contract-alert p,.project-contract-alert p{margin-bottom:.65rem}.project-contract-alert ul{margin-bottom:0}.project-contract-alert a{color:inherit;font-weight:600}.insight-warnings ul{margin-bottom:0}.form-help{margin:1rem 0 0;color:var(--color-text-muted);font-size:.82rem}.settings-save-row{display:flex;align-items:center;gap:1rem;margin:1rem 0}.expertise-catalog{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}.expertise-catalog span{padding:.35rem .6rem;border:1px solid #bdc7ff;border-radius:999px;color:#1530b1;background:#eef0ff}.expertise-catalog .is-inactive{border-color:var(--color-border);color:var(--color-text-muted);background:#f1f2f5}.inline-form{display:flex;gap:.6rem}.inline-form input{min-width:min(340px,100%);min-height:40px;padding:.55rem .7rem;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.resource-settings-list{display:grid}.resource-settings-squads{display:grid;gap:1.2rem}.resource-settings-squad h3{margin:0 0 .35rem;color:var(--color-text)}.resource-settings-squad h3 span{color:var(--color-text-muted);font-weight:400}.resource-settings-list>div{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.8fr) minmax(200px,1fr) 120px;align-items:center;gap:.7rem;padding:.65rem 0;border-top:1px solid var(--color-border)}.tempo-resource-row>span{display:grid;gap:.2rem}.tempo-resource-row small{color:var(--color-text-muted)}.tempo-resource-role--missing{padding:.45rem .55rem;border-left:3px solid var(--color-danger);border-radius:var(--radius-sm);background:#fff6f5}.tempo-resource-role-warning{color:#7a2018;font-size:.75rem;line-height:1.3}.resource-skill-list{display:flex;flex-flow:row wrap;gap:.35rem}.resource-skill-list small{padding:.25rem .45rem;border:1px solid #bdc7ff;border-radius:999px;color:#1530b1;background:#eef0ff}.resource-settings-list select,.resource-settings-list input{width:100%;min-height:38px;padding:.45rem .6rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.resource-settings-list label{display:flex;align-items:center;gap:.35rem}.resource-settings-list button{min-height:38px;padding:.45rem .65rem;border:1px solid var(--color-border);background:#fff;cursor:pointer}.forecast-agent-launcher{position:fixed;z-index:80;right:1.25rem;bottom:1.25rem;display:flex;align-items:center;gap:.45rem;min-height:48px;padding:.7rem 1rem;border:0;border-radius:999px;color:#fff;font-weight:600;background:linear-gradient(120deg,#161f77,#4d2cff);box-shadow:0 12px 35px #23177459;cursor:pointer}.forecast-agent-panel{position:fixed;z-index:90;right:1.25rem;bottom:5.25rem;display:grid;grid-template-rows:auto auto minmax(220px,1fr) auto;width:min(430px,calc(100vw - 2rem));height:min(680px,calc(100vh - 7rem));overflow:hidden;border:1px solid #6670c7;border-radius:14px;background:#fff;box-shadow:0 24px 80px #00000047}.forecast-agent-panel>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;color:#fff;background:linear-gradient(120deg,#111b70,#4b2df1)}.forecast-agent-panel>header>div{display:grid;gap:.2rem}.forecast-agent-panel>header small{color:#d7dafa}.forecast-agent-panel>header button{border:0;color:#fff;font-size:1.4rem;background:transparent;cursor:pointer}.forecast-agent-thread-controls{display:flex;gap:.45rem;padding:.65rem;border-bottom:1px solid var(--color-border)}.forecast-agent-thread-controls select{min-width:0;flex:1;padding:.45rem;border:1px solid var(--color-border);background:#fff}.forecast-agent-thread-controls button{border:1px solid var(--color-border);background:#fff;cursor:pointer}.forecast-agent-messages{display:flex;min-height:0;flex-direction:column;gap:.75rem;padding:.85rem;overflow-y:auto;background:#f4f5fa}.forecast-agent-empty{margin:auto;padding:1rem;text-align:center}.forecast-agent-empty p{margin:.5rem 0 0;color:var(--color-text-muted)}.forecast-message{max-width:90%;padding:.7rem .8rem;border-radius:10px;background:#fff;box-shadow:0 2px 8px #0000000f}.forecast-message--user{align-self:flex-end;color:#fff;background:var(--color-accent)}.forecast-message small{display:block;margin-bottom:.25rem;color:var(--color-text-muted)}.forecast-message--user small{color:#d9dfff}.forecast-message p{margin:0;white-space:pre-wrap}.forecast-agent-panel>form{display:grid;grid-template-columns:1fr auto;gap:.55rem;padding:.75rem;border-top:1px solid var(--color-border)}.forecast-agent-panel textarea{width:100%;resize:none;padding:.6rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);font:inherit}.forecast-agent-panel form button{align-self:end;min-height:40px;padding:.5rem .7rem;border:0;color:#fff;background:var(--color-accent);cursor:pointer}.financial-rate-lists{margin-top:1rem;display:grid;gap:1rem}.financial-rate-section,.rate-project-list>details{min-width:0;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.financial-rate-section>summary,.rate-project-list>details>summary{padding:.9rem 1rem;font-weight:600;cursor:pointer}.financial-rate-section>.rate-list,.financial-rate-section>.rate-list-filter,.financial-rate-section>.rate-project-list{margin:0 1rem 1rem}.rate-project-list{display:grid;gap:.6rem}.rate-project-list .rate-list{padding:0 1rem 1rem}.rate-project--error{border-color:var(--color-critical, #b42318)!important}.rate-project--error>summary strong{margin-left:.75rem;color:var(--color-critical, #b42318)}.rate-row--focus{outline:2px solid var(--color-accent)}.project-contract-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.forecast-month-grid>*,.forecast-month-grid b,.forecast-missing-rates,.forecast-missing-rates li{min-width:0;overflow-wrap:anywhere}.forecast-missing-rates li .pm-button,.billing-blockers li .pm-button{margin-left:.75rem}.financial-rate-editor{width:100%}.financial-rate-manual{margin-top:1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.financial-rate-manual>summary{padding:.9rem 1rem;color:var(--color-text-muted);font-weight:600;cursor:pointer}.financial-rate-manual[open]>summary{border-bottom:1px solid var(--color-border);color:var(--color-text)}.financial-rate-manual__editors{display:grid;gap:1rem;padding:1rem}.rate-import-heading,.rate-import-file,.rate-import-preview__footer,.rate-role-mapping-list>label{display:flex;align-items:center;justify-content:space-between;gap:1rem}.rate-import-heading{align-items:flex-start;margin-bottom:1rem}.rate-import-heading h2{margin:.15rem 0 .45rem}.rate-import-heading p:last-child{max-width:48rem;margin:0;color:var(--color-text-muted)}.eyebrow{margin:0;color:var(--color-text-muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.rate-import-heading__badge{flex:0 0 auto;padding:.4rem .65rem;border-radius:999px;color:var(--color-accent);background:color-mix(in srgb,var(--color-accent) 10%,white);font-size:.75rem;font-weight:700}.rate-import-file{align-items:stretch;padding:1rem;border:1px dashed var(--color-border-strong, var(--color-border));border-radius:var(--radius-md);background:var(--color-surface-muted, #f8f9fb)}.rate-import-file>label{display:grid;min-width:min(18rem,100%);gap:.4rem;font-weight:600}.rate-import-file input[type=file]{width:100%;max-width:22rem}.rate-import-file>div{display:grid;flex:1;align-content:center;gap:.2rem;min-width:0}.rate-import-file small,.rate-role-mapping-list small{color:var(--color-text-muted)}.rate-import-preview{display:grid;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius-md)}.rate-import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.rate-import-summary>span{display:grid;gap:.2rem;padding:.75rem;border-right:1px solid var(--color-border)}.rate-import-summary>span:last-child{border-right:0}.rate-import-summary strong{font-size:1.35rem}.rate-import-summary small{color:var(--color-text-muted)}.rate-import-preview__footer{align-items:flex-end}.rate-import-preview__footer p{max-width:45rem;margin:0;color:var(--color-text-muted)}.rate-import-currency-notice,.rate-import-role-notice{display:grid;gap:.25rem;padding:.85rem;border:1px solid color-mix(in srgb,var(--color-accent) 28%,var(--color-border));border-radius:var(--radius-sm);background:color-mix(in srgb,var(--color-accent) 8%,white)}.rate-import-currency-notice span,.rate-import-role-notice span{color:var(--color-text-muted)}.rate-import-issues{display:grid;gap:.35rem;padding:.85rem;border-radius:var(--radius-sm);background:#fff6e7}.rate-import-issues small{color:var(--color-text-muted)}.rate-role-mapping-dialog{width:min(760px,100%);max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.4rem;border-radius:var(--radius-md);background:#fff;box-shadow:0 24px 80px #00000047}.rate-role-mapping-dialog .dialog-header{align-items:flex-start}.rate-role-mapping-dialog h2{margin:.15rem 0 .45rem}.coverage-rate-dialog{width:min(560px,100%);max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.4rem;border-radius:var(--radius-md);background:#fff;box-shadow:0 24px 80px #00000047}.coverage-rate-dialog .dialog-header{align-items:flex-start}.coverage-rate-dialog h2{margin:.15rem 0 .45rem}.coverage-rate-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1.25rem 0;padding:.85rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.coverage-rate-context span{display:grid;gap:.2rem;min-width:0}.coverage-rate-context small{color:var(--color-text-muted);font-size:.72rem}.coverage-rate-context strong{overflow-wrap:anywhere}.coverage-rate-form{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:1rem}.coverage-rate-dialog .dialog-footer{justify-content:flex-end;margin-top:1rem}.rate-role-mapping-list{display:grid;gap:.75rem;margin:1.25rem 0}.rate-role-mapping-list>label,.rate-project-currency-list>article{align-items:center;padding:.85rem;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.rate-role-mapping-list>label>span,.rate-project-currency-list>article>span{display:grid;gap:.2rem}.rate-project-currency-list>article{display:flex;justify-content:space-between;gap:1rem}.rate-role-mapping-list select{width:min(310px,100%)}.capacity-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;margin:0 0 1rem;border:1px solid #fff;border-radius:var(--radius-md);background:#fff}.capacity-summary article{display:grid;align-content:center;gap:.3rem;min-width:0;min-height:104px;padding:.85rem;background:var(--color-surface)}.capacity-summary article:first-child{border-radius:calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px)}.capacity-summary article:last-child{border-radius:0 calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0}.capacity-summary span,.capacity-summary small{color:var(--color-text-muted)}.capacity-summary span{font-size:.75rem}.capacity-summary strong{overflow-wrap:anywhere;font-size:1.15rem;font-weight:600}.capacity-summary small{font-size:.68rem}.financial-rate-form{grid-template-columns:minmax(280px,1.6fr) minmax(220px,1fr) minmax(220px,1fr) minmax(180px,.8fr)}.capacity-calendar-grid{overflow-x:auto}.capacity-calendar-dialog{width:min(840px,100%)}.capacity-calendar-dialog .allocation-context{grid-template-columns:repeat(4,minmax(0,1fr))}.capacity-allocation-details,.capacity-allocation-editor{margin-top:1.25rem;padding-top:1.1rem;border-top:1px solid var(--color-border)}.capacity-allocation-details h3,.capacity-allocation-editor h3{margin-bottom:.65rem}.capacity-allocation-editor .form-grid{margin-bottom:1rem}.capacity-allocation-editor .form-grid>:is(label,.capacity-project-field){min-width:0}.capacity-allocation-editor .form-grid>label>input,.capacity-allocation-editor .form-grid>label>select{width:100%;min-width:0}.capacity-allocation-editor .capacity-staff-action-field{grid-column:span 2}.capacity-allocation-editor .capacity-project-field{grid-column:1 / -1;min-width:0}.capacity-project-field :is(input,select){width:100%}.capacity-project-search{position:relative}.capacity-project-search-results{position:absolute;z-index:2;top:calc(100% + .3rem);right:0;left:0;max-height:min(18rem,40vh);overflow-y:auto;padding:.35rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 12px 28px #00000029}.capacity-project-search-results p{margin:0;padding:.7rem;color:var(--color-text-muted)}.capacity-project-search-results button{display:grid;width:100%;gap:.15rem;padding:.65rem .7rem;border:0;border-radius:4px;color:var(--color-text);text-align:left;background:transparent;cursor:pointer}.capacity-project-search-results button:hover,.capacity-project-search-results button[aria-selected=true]{background:#eef1ff}.capacity-project-search-results small{color:var(--color-text-muted)}.capacity-allocation-editor .dialog-footer{margin-top:1rem}.forecast-month-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:18px}.forecast-month-grid .pm-card{display:grid;gap:8px}.forecast-month-grid b{font-size:1.35rem}.forecast-month-grid small{color:var(--color-text-muted)}.forecast-revenue-bar{height:6px;overflow:hidden;border-radius:999px;background:var(--color-surface)}.forecast-revenue-bar i{display:block;height:100%;border-radius:inherit;background:var(--color-accent)}.forecast-missing-rates ul{margin:8px 0 0}.rate-list{display:grid}.rate-list-filter{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1rem;padding-bottom:.8rem}.rate-list-filter label{display:grid;gap:.3rem;color:var(--color-text-muted);font-size:.85rem}.rate-list-filter select{width:min(100%,22rem);min-width:220px}.rate-list-filter small{padding-bottom:.1rem;color:var(--color-text-muted)}.rate-list>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0;border-top:1px solid var(--color-border)}.rate-list span{display:grid;gap:.2rem}.rate-list small{color:var(--color-text-muted)}.rate-list b{font-family:var(--font-sans);white-space:nowrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}.metric{display:grid;gap:1rem;min-height:130px}.metric span{color:var(--color-text-muted)}.metric strong{font-family:var(--font-sans);font-size:clamp(1.35rem,3vw,2rem);font-weight:400}.metric--accent{background:var(--color-neon);border-color:var(--color-neon)}.dashboard-grid,.governance-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:1rem}.planning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}.planning-overview{margin-bottom:1rem}.planning-column{display:flex;flex-direction:column;min-width:0;height:min(65vh,44rem);overflow:hidden}.planning-column>h2{flex:0 0 auto}.planning-search{display:grid;gap:.35rem;width:min(480px,100%);margin-bottom:1rem;color:var(--color-text-muted);font-size:.85rem}.planning-search input{width:100%;min-height:40px;padding:.55rem .7rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text);background:#fff;font:inherit}.planning-search input:focus{border-color:var(--color-accent);outline:2px solid color-mix(in srgb,var(--color-accent) 18%,transparent);outline-offset:1px}.planning-column>.record-list{min-height:0;padding-right:.35rem;overflow-y:auto;scrollbar-gutter:stable}.planning-column .record-list article{min-width:0}.planning-column .record-list h3,.planning-column .record-list p,.planning-column .record-list small{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.health-list{display:grid}.health-list>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--color-border)}.health-list>div:last-child{border-bottom:0}.health-list span{display:grid}.health-list small{color:var(--color-text-muted)}.table-scroll{max-width:100%;overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th{padding:.8rem .7rem;color:var(--color-text-muted);font-weight:400;text-align:left;border-bottom:1px solid var(--color-border)}.data-table td{padding:1rem .7rem;vertical-align:top;border-bottom:1px solid var(--color-border)}.data-table tbody tr:hover{background:#fafafa}.table-kicker{display:block;color:var(--color-text-muted);font-family:var(--font-sans)}.loading,.empty-state{padding:3rem 1rem;color:var(--color-text-muted);text-align:center}.error-panel,.success-panel,.callout{margin:1rem 0;padding:1rem;border-radius:var(--radius-sm)}.error-panel{color:var(--color-danger);background:#fce8e6}.success-panel{color:var(--color-success);background:#e8f5ec}.callout{margin-top:0;margin-bottom:1rem;background:var(--color-neon)}.callout span{display:block;font-weight:500}.record-list{display:grid;gap:.8rem}.record-list article{padding:1rem 0;border-bottom:1px solid var(--color-border)}.record-list article>div{display:flex;gap:.8rem;align-items:center}.record-list h3,.record-list p{margin-bottom:.4rem}.record-list small{color:var(--color-text-muted)}.score{display:inline-grid;place-items:center;min-width:34px;height:34px;border-radius:50%;font-family:var(--font-sans);background:var(--color-neon)}.notes-card{margin-top:1rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}.section-heading h2{margin-bottom:.2rem}.section-heading small{color:var(--color-text-muted)}.editor{min-height:200px;margin-top:1rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.editor .tiptap{min-height:160px;outline:0}.editor .is-editor-empty:first-child:before{float:left;height:0;color:var(--color-text-muted);content:attr(data-placeholder);pointer-events:none}.integration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:1rem}.integration-card>div:first-child{display:flex;align-items:center;gap:.7rem}.integration-card h2{margin:0;text-transform:capitalize}.integration-card p{color:var(--color-text-muted)}.connection-dot{width:10px;height:10px;border-radius:50%;background:var(--color-silver)}.connection-dot--on{background:var(--color-success)}.button-row{display:flex;flex-wrap:wrap;gap:.5rem}.settings-tabs{display:flex;gap:1rem;margin-bottom:1rem;border-bottom:1px solid var(--color-border)}.settings-tabs span{padding:.75rem .2rem}.settings-tabs [aria-current=page],.settings-tabs [aria-selected=true]{padding:.75rem .2rem;color:var(--color-success);border-bottom:3px solid var(--color-success);font-weight:600}.settings-tabs button{border:0;background:transparent;cursor:pointer;padding:.75rem .2rem;color:var(--color-text-muted)}.data-quality-project-list{display:grid;gap:.75rem}.data-quality-project{overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.data-quality-project>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;cursor:pointer;background:var(--color-surface)}.data-quality-project>summary span:first-child,.data-quality-issue-description{display:grid;gap:.15rem}.data-quality-issue-list{display:grid}.data-quality-issue-row{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(360px,auto);align-items:center;gap:.75rem;padding:.7rem 1rem;border-top:1px solid var(--color-border)}.data-quality-issue-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.data-quality-issue-actions select{min-height:38px;padding:.4rem .55rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.settings-filters{display:grid;grid-template-columns:minmax(240px,1fr) repeat(2,minmax(150px,220px));gap:1rem;margin-bottom:1.5rem}.settings-filters label{display:grid;gap:.35rem;color:var(--color-text-muted);font-size:.85rem}.settings-filters input,.settings-filters select{min-height:42px;padding:.6rem .7rem;border:1px solid var(--color-border);color:var(--color-text);background:#fff}.settings-client-table{min-width:980px;overflow:hidden;border:1px solid var(--color-border);border-radius:var(--radius-sm)}.settings-client-group+.settings-client-group{border-top:1px solid var(--color-border)}.settings-row{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(130px,.75fr) 110px minmax(180px,.9fr) minmax(150px,1fr) minmax(180px,1fr) minmax(150px,.85fr);align-items:center;gap:.8rem;min-height:64px;padding:.75rem 1rem}.settings-row>span:first-child{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.15rem .65rem}.settings-row>span:first-child small{grid-column:2;color:var(--color-text-muted)}.settings-row code{overflow:hidden;font-size:.8rem;text-overflow:ellipsis}.settings-row--header{min-height:44px;color:var(--color-text-muted);font-size:.8rem;background:#f5f6f8}.settings-row--client{background:#fff}.settings-row--project{border-top:1px solid var(--color-border);background:#fafafa}.settings-row--stale{background:#fff6f5;box-shadow:inset 3px 0 var(--color-danger)}.settings-row--project.settings-row--stale{background:snow}.settings-row--stale>span:first-child strong{color:#7a2018}.settings-row--stale .callout{display:inline-flex;align-items:center;width:fit-content;max-width:100%;margin:0;padding:.35rem .55rem;border:1px solid #efb7b2;color:#7a2018;font-size:.75rem;font-weight:600;line-height:1.25;overflow-wrap:anywhere;background:#fff}.settings-activity-alert{display:grid;align-content:center;gap:.25rem;min-width:0}.settings-activity-alert>small{color:#8d4a45;font-size:.7rem}.settings-row--project>span:first-child{padding-left:2.4rem}.settings-billing-epic{position:relative;grid-column:2;display:grid;gap:.3rem;margin-top:.35rem;font-size:.75rem}.settings-billing-epic label{display:grid;gap:.25rem;min-width:0;color:var(--color-text-muted)}.settings-billing-current{display:grid;gap:.1rem;min-width:0}.settings-billing-current span{overflow:hidden;color:var(--color-text);text-overflow:ellipsis;white-space:nowrap}.settings-billing-autocomplete{position:relative;display:block;min-width:0}.settings-billing-autocomplete input{width:100%;min-height:32px;padding:.25rem .4rem;border:1px solid var(--color-border);color:var(--color-text);background:#fff;font:inherit}.settings-billing-autocomplete-results{position:absolute;z-index:12;top:calc(100% + .25rem);right:0;left:0;display:grid;max-height:240px;overflow-y:auto;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff;box-shadow:0 14px 30px #00000024}.settings-billing-autocomplete-results button,.settings-billing-autocomplete-results>span{display:grid;gap:.1rem;min-width:0;padding:.5rem .6rem;border:0;border-radius:0;color:var(--color-text);text-align:left;background:#fff}.settings-billing-autocomplete-results button{cursor:pointer}.settings-billing-autocomplete-results button:hover,.settings-billing-autocomplete-results button:focus-visible,.settings-billing-autocomplete-results button.is-active{outline:0;background:#f1f3f7}.settings-billing-autocomplete-results button[aria-selected=true]{box-shadow:inset 3px 0 var(--color-accent)}.settings-billing-autocomplete-results button span{overflow:hidden;color:var(--color-text-muted);text-overflow:ellipsis;white-space:nowrap}.settings-billing-autocomplete-results>span{color:var(--color-text-muted)}.settings-billing-search-help{color:var(--color-text-muted)}.contract-settings-card{display:grid;gap:1rem;max-width:760px}.contract-settings-card h2,.contract-settings-card p{margin-bottom:0}.contract-settings-form{display:grid;gap:1rem}.contract-settings-form .form-grid{margin-top:.25rem}.contract-settings-form .form-help,.contract-settings-form .error-panel,.contract-settings-form .callout,.contract-settings-form .settings-save-row{margin:0}.contract-settings-form input[aria-invalid=true]{border-color:var(--color-danger);box-shadow:0 0 0 1px var(--color-danger)}.contract-settings-card>.success-panel,.contract-settings-card>.error-panel{margin:0}.settings-billing-epic label{min-width:0;max-width:100%}.settings-billing-epic .pm-button{justify-self:start;padding:.35rem .55rem;font-size:.75rem}.budgets-toolbar{display:flex;justify-content:flex-end;margin-bottom:1rem}.budgets-toolbar-actions{display:flex;flex-wrap:wrap;gap:.65rem}.budget-client-list{display:grid;gap:1rem}.budget-client-card{overflow:hidden;padding:0;background:#fff}.budget-client-accordion,.budget-project-accordion{min-width:0}.budget-client-summary,.budget-project-summary{display:flex;align-items:center;gap:.75rem;list-style:none;cursor:pointer}.budget-client-summary::-webkit-details-marker,.budget-project-summary::-webkit-details-marker{display:none}.budget-client-summary:before,.budget-project-summary:before{flex:0 0 auto;color:var(--color-accent);content:"▸";transition:transform .15s ease}.budget-client-accordion[open]>.budget-client-summary:before,.budget-project-accordion[open]>.budget-project-summary:before{transform:rotate(90deg)}.budget-client-summary{min-height:68px;padding:1rem 1.2rem;border-bottom:1px solid transparent}.budget-client-accordion[open]>.budget-client-summary{border-bottom-color:var(--color-border)}.budget-client-heading,.budget-project-heading,.budget-envelope-heading{display:grid;min-width:0;gap:.2rem}.budget-client-name,.budget-project-name,.budget-envelope-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.budget-client-meta,.budget-project-meta{display:flex;flex-wrap:wrap;gap:.35rem .9rem;color:var(--color-text-muted);font-size:.8rem}.budget-project-list{display:grid;gap:.85rem;padding:1rem}.budget-project-card{padding:0;overflow:hidden;background:#fff}.budget-project-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.budget-project-summary{min-height:64px;padding:.9rem 1rem;background:#f7f8fa}.budget-project-actions{padding:.75rem .85rem}.budget-project-content{display:grid;gap:1rem;padding:1rem;border-top:1px solid var(--color-border)}.budget-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.65rem;margin:0}.budget-metric{display:grid;align-content:start;gap:.25rem;min-height:86px;padding:.8rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface)}.budget-metric dt,.budget-metric small,.budget-health-label,.budget-envelope-category{color:var(--color-text-muted);font-size:.75rem}.budget-metric dd{margin:0;font-size:1.05rem;font-weight:600}.budget-health-state{display:flex;align-items:center;justify-content:space-between;gap:1rem}.budget-envelopes-sections{display:grid;gap:1rem}.budget-envelope-section{display:grid;gap:.55rem}.budget-section-title{margin:0}.budget-envelope-list{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.budget-envelope-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(110px,auto) minmax(70px,auto) auto;align-items:center;gap:1rem;padding:.75rem .85rem;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fff}.budget-envelope-amount,.budget-envelope-hours{font-weight:500;white-space:nowrap}.budget-envelope-editor-card{width:min(760px,100%);max-height:calc(100vh - 2rem);overflow-y:auto}.budget-envelope-selection,.budget-envelope-form{display:grid;gap:1rem}.budget-envelope-selection-heading,.budget-envelope-form-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem}.budget-envelope-selection-heading h3,.budget-envelope-form h3{margin-bottom:.35rem}.budget-envelope-selection-heading .form-help{margin-bottom:0}.budget-envelope-step{margin-bottom:.25rem;color:var(--color-text-muted);font-size:.8rem;font-weight:600}.budget-envelope-choice-section{display:grid;gap:.55rem}.budget-envelope-choice-section h4{margin:0;font-size:.95rem;font-weight:500}.budget-envelope-choice-list{display:grid;gap:.45rem;margin:0;padding:0;list-style:none}.budget-envelope-choice{display:grid;grid-template-columns:minmax(0,1fr) auto auto;width:100%;align-items:center;gap:.9rem;padding:.75rem .85rem;border:1px solid var(--color-border);color:var(--color-text);text-align:left;background:#fff}.budget-envelope-choice:hover,.budget-envelope-choice:focus-visible{border-color:var(--color-accent);color:var(--color-text);background:#f2f4ff}.budget-envelope-choice-heading{display:grid;min-width:0;gap:.2rem}.budget-envelope-choice-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.budget-envelope-choice-heading small{color:var(--color-text-muted)}.budget-envelope-choice>span:not(:first-child){font-weight:500;white-space:nowrap}.budget-envelope-back{color:var(--color-accent);background:transparent}.budget-envelope-back:hover,.budget-envelope-back:focus-visible{color:var(--color-accent);background:#eef1ff}.budget-empty-state{padding:1rem;border:1px dashed var(--color-border);border-radius:var(--radius-sm);color:var(--color-text-muted);text-align:center;background:#fafafa}.disclosure-button,.text-button{border:0;color:var(--color-accent);background:transparent;cursor:pointer}.disclosure-button{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--color-border)}.text-button{padding:0;font-size:.78rem;text-align:left}.text-button:disabled{color:var(--color-silver);cursor:not-allowed}.tracking-controls,.signature-control{display:grid;gap:.25rem}.switch-control{display:flex;align-items:center;gap:.45rem;font-size:.85rem}.switch-control input{width:1rem;height:1rem;accent-color:var(--color-accent)}.tempo-status{width:max-content;padding:.2rem .45rem;border-radius:4px;font-size:.75rem;font-weight:500}.tempo-status--open{color:var(--color-success);background:#e8f5ec}.tempo-status--closed,.tempo-status--archived{color:var(--color-text-muted);background:#eef0f4}.editor-card{display:grid;gap:1rem;margin-top:1rem}.editor-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.form-grid label,.editor-card>label{display:grid;gap:.35rem;color:var(--color-text-muted);font-size:.85rem}.form-grid input,.form-grid select,.editor-card input,.editor-card select,.editor-card textarea{min-height:42px;padding:.6rem .7rem;color:var(--color-text);background:#fff;border:1px solid var(--color-border);border-radius:6px;font:inherit}.editor-card textarea{min-height:96px;resize:vertical}.settings-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.compact-list article{display:flex;align-items:center;justify-content:space-between;gap:1rem}.login-page{display:grid;min-height:100vh;place-items:center;padding:2rem;background:#000}.login-card{width:min(620px,100%);padding:clamp(2rem,7vw,5rem);background:#fff}.wordmark--dark{margin-bottom:4rem;color:#000}.eyebrow{color:var(--color-accent)}.login-card h1{max-width:500px}.login-card>p:not(.eyebrow){margin:1.5rem 0;color:var(--color-text-muted)}.app-loading,.fatal-error{display:grid;min-height:100vh;place-content:center;gap:.5rem;text-align:center}.fatal-error small{color:var(--color-text-muted)}.access-waiting{display:grid;min-height:60vh;place-content:center;gap:.5rem;text-align:center}.access-admin-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.6fr);gap:1rem;align-items:start}.access-list{display:grid;gap:.45rem;margin-top:1rem}.access-list-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem;border:1px solid var(--color-border);border-radius:6px;color:var(--color-text);text-align:left;background:#fff;cursor:pointer}.access-list-item.is-selected{border-color:var(--color-accent);box-shadow:0 0 0 1px var(--color-accent)}.access-list-item>span:first-child,.check-row>span,.team-member-row .check-row>span{display:grid;gap:.15rem}.access-list-item small,.check-row small{color:var(--color-text-muted)}.permission-matrix{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem}.permission-matrix fieldset,.choice-fieldset{min-width:0;margin:0;padding:.75rem;border:1px solid var(--color-border);border-radius:6px}.permission-matrix legend,.choice-fieldset legend{padding:0 .35rem;font-weight:600}.check-row{display:flex!important;align-items:flex-start;gap:.55rem!important;padding:.35rem 0;color:var(--color-text)!important}.check-row input[type=checkbox],.inline-role-list input[type=checkbox]{width:1rem;min-height:auto;height:1rem;margin-top:.15rem;padding:0;accent-color:var(--color-accent)}.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 1rem;max-height:280px;overflow:auto}.team-member-editor{display:grid;gap:.7rem;max-height:420px;overflow:auto}.team-member-row{padding-bottom:.65rem;border-bottom:1px solid var(--color-border)}.inline-role-list{display:flex;flex-wrap:wrap;gap:.6rem 1rem;padding-left:1.6rem}.inline-role-list label{display:flex;align-items:center;gap:.35rem;font-size:.82rem}.access-review-grid,.help-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}.context-help-button{display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin-top:.35rem;padding:0;border:1px solid #666;border-radius:50%;color:#fff;font-weight:600;background:transparent;cursor:pointer}.context-help-button:hover{border-color:#fff;background:#181818}.context-help-dialog{width:min(520px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow-y:auto;padding:1.5rem}.context-help-dialog h2:focus{outline:none}.context-help-dialog>small,.context-help-dialog>p{color:var(--color-text-muted)}.dashboard-filters,.project-workspace-actions,.capacity-scenario-summary,.inline-editor{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}.metric-grid>a{color:inherit;text-decoration:none}.health-list>a{display:flex;align-items:center;justify-content:space-between;gap:1rem;color:inherit;text-decoration:none}.capacity-scenario-summary{margin:.75rem 0;padding:.75rem 1rem;border:1px solid var(--color-border);border-radius:6px;background:#f8f9fc}.capacity-scenario-summary span{display:grid;min-width:150px}.planning-timeline{overflow:auto}.timeline-axis{display:flex;justify-content:space-between;margin-left:min(280px,34%);padding:.5rem 0;color:var(--color-text-muted);border-bottom:1px solid var(--color-border)}.timeline-rows{display:grid;min-width:760px}.timeline-row{display:grid;grid-template-columns:minmax(220px,34%) 1fr;gap:1rem;align-items:center;min-height:50px;border-bottom:1px solid var(--color-border)}.timeline-row>span{display:grid}.timeline-track{position:relative;height:24px;background:repeating-linear-gradient(90deg,#f4f5f8,#f4f5f8 calc(12.5% - 1px),#dfe2e9 12.5%)}.timeline-bar{position:absolute;top:4px;height:16px;border-radius:4px;background:var(--color-accent)}.timeline-milestone{position:absolute;top:5px;width:14px;height:14px;transform:translate(-7px) rotate(45deg);background:#e27700}.comment-thread{margin-top:.7rem;padding-top:.5rem;border-top:1px solid var(--color-border)}.comment-editor{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,auto) auto;gap:.5rem;align-items:end}.comment-editor textarea{min-height:70px;resize:vertical}.billing-review-toolbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}.billing-page-filters,.table-pagination{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.table-pagination{justify-content:flex-end;margin-top:1rem}.table-pagination span{color:var(--color-text-muted)}.billing-tabs{display:flex;gap:.25rem;margin:1rem 0;padding:.25rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:#fff}.billing-tabs button{flex:1;min-height:42px;border:0;border-radius:var(--radius-sm);color:var(--color-text-muted);background:transparent;font:inherit;cursor:pointer}.billing-tabs button[aria-selected=true]{color:#fff;background:var(--color-accent)}.billing-period-control{display:grid;gap:.25rem;color:var(--color-text-muted);font-size:.8rem}.billing-period-control input,.billing-period-control select{min-height:38px}.billing-period-heading,.billing-section-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem}.billing-period-heading h2,.billing-section-heading h2{margin-bottom:.25rem}.billing-period-heading p,.billing-section-heading p{margin:0;color:var(--color-text-muted)}.billing-metrics{grid-template-columns:repeat(5,minmax(0,1fr));margin-top:1.25rem;margin-bottom:0}.billing-metrics .metric{min-height:112px}.billing-blockers{margin-top:1rem;padding:.85rem 1rem;border:1px solid color-mix(in srgb,var(--color-danger) 38%,var(--color-border));border-radius:var(--radius-sm);color:var(--color-danger);background:#fff8f7}.billing-blockers ul{margin:.4rem 0 0;padding-left:1.25rem}.billing-preview-table{min-width:920px}.billing-issues{display:grid}.billing-issue{display:flex;align-items:start;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--color-border)}.billing-issue:last-child{border-bottom:0}.billing-issue-main{min-width:0}.billing-issue-title{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.billing-issue-main>small,.billing-issue-main>p{color:var(--color-text-muted)}.billing-issue-main>p{margin:.4rem 0 0}.billing-issue-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;flex-shrink:0}@media(max-width:1000px){.billing-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.billing-period-heading,.billing-section-heading,.billing-issue{align-items:stretch;flex-direction:column}.billing-issue-actions{justify-content:flex-start}.billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1000px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.governance-grid,.planning-grid,.settings-panels{grid-template-columns:1fr}.financial-rate-form,.coverage-rate-form,.coverage-rate-context,.resource-settings-list>div{grid-template-columns:1fr}.rate-import-heading,.rate-import-file,.rate-import-preview__footer,.rate-role-mapping-list>label,.rate-project-currency-list>article{align-items:stretch;flex-direction:column}.rate-import-file>label,.rate-role-mapping-list select{width:100%;max-width:none}.rate-import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-import-summary>span:nth-child(2){border-right:0}.rate-import-summary>span:nth-child(n+3){border-top:1px solid var(--color-border)}.rate-import-summary>span:nth-child(3){border-right:1px solid var(--color-border)}.access-admin-grid,.comment-editor,.settings-filters{grid-template-columns:1fr}.data-quality-issue-row{grid-template-columns:1fr;align-items:start}.data-quality-issue-actions{justify-content:flex-start}.settings-client-table{overflow:auto}.planning-column{height:min(55vh,34rem)}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.sidebar nav{grid-template-columns:repeat(2,1fr)}.sidebar-footer{margin-top:1rem}.page-header{align-items:stretch;flex-direction:column}.metric-grid,.allocation-context,.allocation-form{grid-template-columns:1fr}.allocation-project-field,.allocation-note-field,.capacity-allocation-editor .capacity-staff-action-field{grid-column:auto}.capacity-toolbar{align-items:stretch;gap:.55rem}.capacity-tabs,.capacity-filters,.capacity-search,.capacity-toolbar__scope,.capacity-toolbar__period-navigation,.capacity-toolbar__view,.capacity-toolbar__project,.capacity-toolbar__consolidation,.capacity-toolbar__load,.capacity-toolbar__saved-view,.capacity-toolbar__save-view{width:100%;max-width:none;margin-left:0}.capacity-toolbar__period-navigation>button{flex:1}.capacity-tabs button{flex:1}.capacity-filters>div{position:static;grid-template-columns:1fr;width:100%;box-shadow:none}.capacity-filters .capacity-toggle{grid-column:auto}.capacity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.capacity-summary article:first-child,.capacity-summary article:last-child{border-radius:0}.capacity-summary article:first-child{border-radius:calc(var(--radius-md) - 1px) 0 0 0}.capacity-summary article:nth-child(2){border-radius:0 calc(var(--radius-md) - 1px) 0 0}.capacity-summary article:nth-last-child(2){border-radius:0 0 0 calc(var(--radius-md) - 1px)}.capacity-summary article:last-child{border-radius:0 0 calc(var(--radius-md) - 1px) 0}.budgets-toolbar,.budgets-toolbar-actions{width:100%}.budgets-toolbar-actions .pm-button{flex:1 1 100%}.budget-project-header{grid-template-columns:1fr}.budget-project-actions{padding-top:0}.budget-envelope-row{grid-template-columns:1fr auto}.budget-envelope-hours,.budget-envelope-status{grid-column:2}}.source-freshness{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;font-size:.8rem;margin-block:.75rem}.pm-button.budget-envelope-archive{background:#edf0f3;color:#4b5563;border-color:#d1d5db}
