:root{--app-font:'Poppins','Segoe UI',sans-serif;font-family:var(--app-font);color:#20283d;background:#f5f5f5;font-size:14px;--ink:#20283d;--muted:#667085;--line:#e8eaf1;--purple:#0b3a8f;--purple-soft:#0b3a8f;--green:#168363;--green-soft:#08723e;--amber:#946111;--amber-soft:#975200;--red:#bb384b;--red-soft:#b42332;--blue:#3265bf;--blue-soft:#164eae;--side:232px}*{box-sizing:border-box}body{margin:0;background:#f5f5f5;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;border:1px solid transparent;border-radius:14px;padding:9px 15px;background:#f59122;color:#2c2c2c;font-weight:600;font-size:13px;text-decoration:none;cursor:pointer;transition:background .15s,box-shadow .15s}button:hover,.button:hover{background:#e3800f}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #f6cc94;outline-offset:3px}.plain,.secondary{background:#fff;color:#495269;border-color:#dfe3ed}.plain:hover,.secondary:hover{background:#f0f0f0;border-color:#f8d6aa}.danger{background:var(--red)}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4,p{margin:0}h1{font-size:27px;letter-spacing:-.7px;line-height:1.3;font-weight:650}h2{font-size:18px;letter-spacing:-.3px;line-height:1.4;font-weight:650}h3{font-size:15px;line-height:1.4;font-weight:650}p{color:var(--muted);font-size:13px;line-height:1.6}small{font-size:12px}.muted{color:var(--muted)}.mono,.tabular{font-variant-numeric:tabular-nums}.skip-link{position:fixed;left:16px;top:-80px;padding:12px;background:white;z-index:100}.skip-link:focus{top:12px}#sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--side);background:#002366;color:#fbddb3;display:flex;flex-direction:column;z-index:40}.brand{display:flex;gap:11px;align-items:center;padding:27px 24px 25px;color:white;font-size:24px;font-weight:700;letter-spacing:-.5px}.brand:hover{text-decoration:none}.brand img{height:38px;width:38px;border-radius:14px;background:white}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#a55409;font-weight:500;margin-top:1px}#sidebar-content{overflow-y:auto;padding:0 14px 20px;flex:1}.nav-label{display:block;font-size:10px;font-weight:600;letter-spacing:1.5px;color:#a55409;padding:20px 12px 8px}.nav-link{display:flex;align-items:center;gap:11px;color:#fbd9a9;padding:10px 12px;border-radius:14px;font-size:12px;margin:2px 0;min-height:40px;text-decoration:none;position:relative}.nav-link:hover{color:#fff;background:#ffffff0b;text-decoration:none}.nav-link.active{background:#ffffff17;color:#fff;font-weight:600}.nav-link.active:before{content:'';position:absolute;left:-14px;top:10px;bottom:10px;width:3px;background:#0b3a8f;border-radius:14px}.nav-link svg{width:17px;height:17px;flex:none;opacity:.85}.nav-link .nav-count{margin-left:auto;min-width:20px;text-align:center;background:#ffffff18;color:#fdeed9;border-radius:14px;font-size:10px;padding:1px 5px}.nav-link.disabled{opacity:.45;cursor:default}.project-switch{padding:12px;margin:13px 0 4px;border:1px solid #ffffff20;border-radius:14px}.project-switch label{font-size:9px;letter-spacing:1.3px;color:#a55409;margin-bottom:6px}.project-switch select{background:#0c2655;color:#fff;border:0;padding:5px 0;font-size:12px;min-height:32px;width:100%;font-weight:500}.project-switch option{background:#0c2553}.sidebar-bottom{display:flex;align-items:center;gap:10px;padding:18px;border-top:1px solid #ffffff13}.sidebar-bottom b{display:block;color:#fdecd4;font-size:11px}.sidebar-bottom small{display:block;font-size:10px;color:#a55409}.workspace-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:14px;background:#ffffff13;font-size:10px;font-weight:700;color:#fce7c9}.app-header{margin-left:var(--side);height:72px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;padding:0 28px;gap:24px;position:sticky;top:0;z-index:20}#breadcrumbs{font-size:12px;display:flex;align-items:center;gap:9px;white-space:nowrap;color:#8a91a2;min-width:0}#breadcrumbs b{font-weight:500;color:#454e65;max-width:260px;overflow:hidden;overflow-wrap:break-word}#breadcrumbs a{color:#7b8498}.global-search{display:flex;align-items:center;gap:9px;margin:0 0 0 auto;background:#f5f5f5;border:1px solid #eceef5;border-radius:14px;width:250px;padding:0 10px;min-height:36px}.global-search span{font-size:21px;color:#959dad}.global-search input{border:0;box-shadow:none;background:none;min-height:34px;padding:6px 0;width:100%;font-size:11px}.global-search kbd{border:1px solid #e0e3ed;color:#949bad;border-radius:14px;font:10px inherit;padding:0 4px}.header-actions{display:flex;align-items:center;gap:17px}.notification-button{position:relative;display:flex;align-items:center;min-width:40px;min-height:40px;justify-content:center;color:#6c7489}.notification-button svg{height:18px;width:18px;transform:translateY(4px)}.notification-button>span{position:absolute;right:0;top:-1px;background:#b42332;width:6px;height:6px;border-radius:14px;border:1px solid white}.account-wrap{position:relative}.account{background:transparent;color:#495269;border:0;padding:0;gap:9px;min-height:36px;font-size:11px}.account:hover{background:transparent}.account>b{display:grid;place-items:center;width:31px;height:31px;border-radius:14px;background:#0b3a8f;color:#a55409;font-size:11px}#account-menu{position:absolute;right:0;top:44px;width:210px;padding:16px;background:white;box-shadow:0 12px 36px #08183623;border:1px solid var(--line);border-radius:14px;z-index:50}#account-menu strong,#account-menu small{display:block;margin-bottom:8px}#account-menu small{color:var(--muted)}#account-menu button{display:block;background:none;color:#495269;width:100%;text-align:left;padding:8px 0;font-size:12px;font-weight:400}.icon-button{background:transparent;color:#747e93;border:0;border-radius:14px;min-width:36px;min-height:36px;padding:6px;font-size:19px}.icon-button:hover{background:#f0f0f0}.icon-button svg{width:18px;height:18px}#nav-toggle,#nav-close{display:none}main{margin-left:var(--side);padding:28px 30px;min-height:calc(100vh - 114px);max-width:1800px}footer{margin-left:var(--side);padding:12px 30px 18px;color:#8c93a2;font-size:10px;display:flex;align-items:center;justify-content:space-between}footer>span:first-child{display:flex;gap:6px;align-items:center}footer i{width:5px;height:5px;border-radius:14px;background:#a2a9b7}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.page-head p{margin-top:5px}.page-head .button{white-space:nowrap}.eyebrow{display:block;color:#7e879c;font-size:10px;letter-spacing:1.5px;font-weight:600;margin-bottom:6px}.title-actions{display:flex;align-items:center;gap:8px}.title-actions button svg,.button svg,button>svg{width:16px;height:16px;flex:none}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;margin-bottom:18px}.panel>h3{margin-bottom:5px}.panel>p{margin-bottom:16px;font-size:12px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-top h3{font-size:14px}.panel-top a{font-size:11px;font-weight:500}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid>.panel{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 22px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:17px 18px;min-width:0}.stat small{display:block;color:#778096;font-size:11px}.stat b{display:block;font-size:25px;font-weight:600;letter-spacing:-.5px;margin:4px 0;font-variant-numeric:tabular-nums;line-height:1.3}.stat .stat-foot{font-size:10px;color:#8a93a5}.stat .stat-icon{float:right;display:grid;place-items:center;width:29px;height:29px;border-radius:14px;color:var(--purple);background:var(--purple-soft)}.stat-icon svg{width:15px;height:15px}.stat.tone-red .stat-icon{color:var(--red);background:var(--red-soft)}.stat.tone-amber .stat-icon{color:var(--amber);background:var(--amber-soft)}.stat.tone-green .stat-icon{color:var(--green);background:var(--green-soft)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.4;padding:4px 8px;border-radius:14px;font-weight:500;white-space:nowrap;background:#eee;color:#647085;vertical-align:middle}.badge.green{color:var(--green);background:var(--green-soft)}.badge.red{color:var(--red);background:var(--red-soft)}.badge.amber{color:var(--amber);background:var(--amber-soft)}.badge.blue{color:var(--blue);background:var(--blue-soft)}.badge.purple{color:#a55409;background:#0b3a8f}.status-dot{display:inline-block;width:5px;height:5px;border-radius:14px;background:currentColor}.badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.progress{height:5px;border-radius:14px;background:#e7e7e7;overflow:hidden;margin:8px 0}.progress>i{display:block;height:100%;border-radius:14px;background:var(--purple)}.progress-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:10px;margin-top:12px}.progress-label.small{font-size:11px}.progress-label b{font-weight:600}.segmented{display:inline-flex;gap:3px;background:#eee;border-radius:14px;padding:3px}.segmented button{background:none;color:#7c8396;min-height:30px;padding:5px 12px;font-size:11px;border-radius:14px;font-weight:500}.segmented button[aria-pressed=true]{background:white;color:#113578;box-shadow:0 1px 4px #091d410d}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filter-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-controls select{width:auto;min-height:32px;padding:5px 28px 5px 9px;font-size:11px}.filter-controls input{width:220px;min-height:32px;font-size:11px;padding:6px 10px}.filter-count{font-size:10px;color:#959caf}.portfolio-register{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.project-columns,.project-row{display:grid;grid-template-columns:minmax(230px,2.5fr) 1fr 1.1fr 1fr .9fr 34px;gap:20px;align-items:center}.project-columns{padding:12px 20px;background:#fafafa;color:#9299a9;font-size:9px;letter-spacing:1px;border-bottom:1px solid var(--line)}.project-row{padding:18px 20px;border-bottom:1px solid var(--line);min-height:88px}.project-row:last-child{border-bottom:0}.project-row:hover{background:#fafafa}.project-identity{display:flex;align-items:center;gap:12px;min-width:0}.project-initial{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d7d7d7;background:#0b3a8f;color:#a55409;flex:none;border-radius:14px;font-size:11px;font-weight:600}.project-initial.blue{background:#164eae;border-color:#d7d7d7;color:#4b77af}.project-initial.green{background:#08723e;border-color:#d7d7d7;color:#508b77}.project-name{color:#384059;font-size:12px;font-weight:600;display:block;line-height:1.5}.project-code{font-size:10px;color:#929aad;display:block;margin-top:3px}.project-row .progress{max-width:120px}.project-row .progress-value{font-size:11px;font-weight:600;color:#5b6478}.project-row .money{font-size:11px;font-weight:600}.project-row .date{font-size:11px;color:#737e94}.project-row .open-arrow{display:grid;place-items:center;width:30px;height:30px;border:1px solid #fff2e1;border-radius:14px;color:#a55409}.project-row .open-arrow:hover{background:#f5f5f5;text-decoration:none}.portfolio-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px}.project-card{background:white;border:1px solid var(--line);border-radius:14px;padding:18px}.card-top,.card-bottom,.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.card-title{margin:14px 0 8px;font-size:14px;min-height:42px}.card-bottom{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;font-size:11px}.card-bottom .button{min-height:32px;padding:5px 10px;font-size:10px}.section-caption{font-size:10px;color:#8d95a8;margin-top:14px}.project-context{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:24px}.project-context .context-code{font-size:10px;letter-spacing:1px;color:#8a92a4}.project-context h1{font-size:21px;margin:5px 0 7px;letter-spacing:-.4px}.project-context .text-link{font-size:10px;color:#a55409;padding:0;min-height:20px;background:none;font-weight:400;border:0}.project-context .context-meta{display:flex;align-items:center;gap:12px;color:#8992a5;font-size:10px}.context-actions{display:flex;align-items:center;gap:9px}.module-heading{margin-bottom:20px}.module-heading h2{font-size:24px;letter-spacing:-.6px}.module-heading p{font-size:12px;margin-top:4px}.mobile-module{display:none}.module-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:18px}.dashboard-grid>.panel{margin:0}.attention-list{list-style:none;padding:0;margin:0}.attention-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f0f1f6}.attention-item:last-child{border-bottom:0}.attention-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:14px;background:var(--amber-soft);color:var(--amber);flex:none}.attention-icon.red{background:var(--red-soft);color:var(--red)}.attention-icon.blue{background:var(--blue-soft);color:var(--blue)}.attention-icon svg{width:15px;height:15px}.attention-item .attention-title{font-size:12px;font-weight:500;display:block;color:#495168}.attention-item p{font-size:10px;margin-top:3px}.attention-item .attention-arrow{margin-left:auto;color:#a55409}.attention-item a{text-decoration:none}.health-strip{display:flex;align-items:center;gap:8px;border-radius:14px;background:#f5f5f5;padding:10px 12px;font-size:10px;color:#808ba0;margin-top:12px}.health-strip svg{width:13px;height:13px;color:#9aa5b7}.snapshot-item{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;padding:13px 0;border-bottom:1px solid #f0f1f6}.snapshot-item>span{color:#8590a4}.snapshot-item>b{font-size:11px;font-weight:500;color:#515b71}.phase-list{margin:0}.phase-row{display:grid;grid-template-columns:100px 1fr 40px;align-items:center;gap:13px;font-size:10px;margin:17px 0;color:#778197}.phase-row b{font-weight:500;text-align:right}.phase-row .progress{margin:0}.chart-note{padding:18px;border-radius:14px;background:#f5f5f5;border:1px dashed #e3e6ef;color:#8790a2;font-size:11px;line-height:1.7;margin-top:14px}.dashboard-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:18px}.dashboard-bottom>.panel{margin:0}.inline-metrics{display:flex;gap:30px;flex-wrap:wrap;padding-top:5px}.inline-metrics small{font-size:10px;color:#8a92a5;display:block}.inline-metrics b{font-size:20px;color:#5c6480;font-weight:500;display:block;margin-top:6px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:14px 0}.summary-grid small{font-size:10px;color:#8b94a7;display:block;margin-bottom:7px}.summary-grid b{font-size:12px;font-weight:500}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:210px;padding:30px 20px}.empty .empty-icon{display:grid;place-items:center;border:1px solid #fff2e2;background:#f5f5f5;color:#a55409;border-radius:14px;width:46px;height:46px;margin-bottom:14px}.empty-icon svg{width:21px;height:21px}.empty h3{font-size:14px;font-weight:500;color:#616a80}.empty p{font-size:11px;color:#9299ab;max-width:360px;margin-top:7px}.empty button{margin-top:16px}.table-wrap{max-width:100%;overflow:auto;margin:0 -20px -20px;border-top:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;padding:12px 17px;background:#fafafa;font-size:9px;letter-spacing:.5px;color:#929aab;white-space:nowrap;font-weight:500;border-bottom:1px solid var(--line)}td{padding:15px 17px;border-bottom:1px solid #eff0f5;vertical-align:middle;color:#5c667d;max-width:320px}tbody tr:last-child td{border-bottom:0}td:first-child{color:#4c566f;font-weight:500;min-width:130px}td .badge{font-size:9px}td .table-actions{display:flex;gap:6px}td button{font-size:10px;min-height:30px;padding:5px 9px}.record-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:15px 0}.record-tools input{max-width:280px;min-height:34px;font-size:11px}.record-tools select{width:auto;min-height:34px;font-size:11px}.record-tools .filter-controls{flex:1}.note{display:block;border:1px solid #e4e8f1;background:#f5f5f5;color:#808a9e;border-radius:14px;padding:12px 14px;font-size:11px;line-height:1.6;margin:14px 0}.note strong{color:#58667d}.note.compact{margin:0}.source-note{margin-top:12px;color:#969daf;font-size:10px}.subnav{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}.subnav button{background:none;border:0;color:#9198a8;border-radius:14px;padding:10px 2px 13px;min-height:40px;font-size:12px;font-weight:500;white-space:nowrap}.subnav button[aria-selected=true]{color:var(--purple);border-bottom:2px solid var(--purple)}.subnav button .badge{margin-left:6px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field.wide{grid-column:1/-1}label{display:block;font-size:11px;font-weight:500;color:#67738a;margin-bottom:7px}input,select,textarea{display:block;border:1px solid #dfe3ec;border-radius:14px;background:#fff;color:#3a455e;padding:10px 11px;width:100%;min-height:40px;font-size:12px;box-shadow:none}input::placeholder,textarea::placeholder{color:#a3aab8}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:16px;min-height:16px;accent-color:var(--purple);flex:none}input[type=file]{padding:12px;font-size:11px;background:#fafafa}input[type=file]::file-selector-button{border:1px solid #dce0ec;background:white;color:#1747a1;border-radius:14px;padding:6px 10px;margin-right:10px;font-size:11px;cursor:pointer}.form-action{margin-top:24px}.check{display:flex;align-items:flex-start;gap:8px;font-size:11px;margin:18px 0}.advanced{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.advanced summary{color:#a55409;cursor:pointer;font-size:11px;margin-bottom:15px}.advanced .form-grid{margin-top:15px}.form-hint{font-size:10px;color:#949dad;margin-top:6px}.inline-error{padding:11px 14px;background:var(--red-soft);color:var(--red);border-radius:14px;font-size:12px;margin-bottom:16px}.field-error input,.field-error textarea,.field-error select{border-color:var(--red)}dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:520px;max-width:100%;padding:34px 28px;border:0;border-left:1px solid var(--line);background:white;color:var(--ink);box-shadow:-20px 0 60px #0818361a;overflow:auto}dialog::backdrop{background:#0819393f;backdrop-filter:blur(2px)}dialog .close{position:absolute;right:18px;top:23px;z-index:1}#dialog-title{font-size:20px;font-weight:600;margin:0 35px 8px 0;letter-spacing:-.4px}#dialog-body>p{margin-bottom:24px;font-size:12px}#dialog-body>form{margin-top:25px}#dialog-body .form-action{position:sticky;bottom:0;box-shadow:0 0 0 8px white;min-width:140px}#dialog-body .form-grid{grid-template-columns:1fr}#dialog-body .field.wide{grid-column:auto}#dialog-body .advanced .form-grid{grid-template-columns:1fr}.detail-list{margin-top:24px}.detail-row{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.detail-row small{display:block;color:#919aad;font-size:10px;margin-bottom:5px}.detail-row .badge{margin:0}.detail-actions{margin-top:24px;display:flex;gap:8px}.wizard{max-width:850px;margin:0 auto}.wizard .panel{padding:26px}.stepper-nav{display:flex;justify-content:space-between;gap:12px;margin:28px 0}.wizard-step{display:flex;align-items:center;gap:9px;font-size:11px;color:#9ba3b3}.wizard-step b{display:grid;place-items:center;width:27px;height:27px;border:1px solid #e1e3ed;border-radius:14px;font-size:10px;font-weight:500}.wizard-step.current{color:#1747a1}.wizard-step.current b{background:#0b3a8f;border-color:#fae0be;color:#a55409}.wizard-step.done b{background:var(--green-soft);border-color:var(--green-soft);color:var(--green)}.wizard-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}.wizard-step-panel[hidden]{display:none}.wizard-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wizard-review small{display:block;font-size:10px;color:#8c95a7}.wizard-review b{font-size:12px;font-weight:500}.schedule-groups details{border-bottom:1px solid var(--line)}.schedule-groups details:last-child{border-bottom:0}.schedule-groups summary{padding:13px 0;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:11px;color:#16459b;font-weight:600;list-style:none}.schedule-groups summary:before{content:'›';font-size:17px;transition:transform .15s}.schedule-groups details[open]>summary:before{transform:rotate(90deg)}.schedule-groups summary .badge{margin-left:auto}.schedule-task{display:grid;grid-template-columns:42px minmax(160px,1fr) 110px 90px 32px;gap:12px;align-items:center;padding:13px 8px;border-top:1px solid #f2f3f7;min-height:59px}.schedule-task .wbs{color:#a1a8b7;font-size:9px}.schedule-task .task-name{font-size:11px;color:#58617a}.schedule-task .task-date{font-size:10px;color:#8992a5}.schedule-task button{min-height:28px;padding:4px 7px;font-size:12px}.gantt-view{overflow:auto;padding-bottom:10px}.gantt-row{display:grid;grid-template-columns:200px minmax(420px,1fr);gap:15px;align-items:center;font-size:10px;border-bottom:1px solid var(--line);min-height:44px}.gantt-track{position:relative;background:#f3f3f3;height:40px}.gantt-bar{position:absolute;top:14px;height:10px;border-radius:14px;background:#0b3a8f;min-width:5px}.gantt-bar.milestone{width:8px;min-width:8px;height:8px;border-radius:14px;transform:rotate(45deg);background:#08723e}.gantt-axis{display:grid;grid-template-columns:200px minmax(420px,1fr);gap:15px;padding:10px 0;border-bottom:1px solid var(--line);font-size:9px;color:#9aa2b1}.gantt-axis>div{display:flex;justify-content:space-between}.delivery-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 20px}.delivery-stage{background:white;border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8b93a6}.delivery-stage b{font-size:23px;font-weight:500;color:#667086}.delivery-stage.active{background:#f5f5f5;border-color:#ffecd2}.delivery-stage.active b{color:#a55409}.notification-list{margin-top:15px}.notification-item{display:flex;gap:12px;align-items:flex-start;padding:17px 0;border-bottom:1px solid var(--line)}.notification-item>div{flex:1;min-width:0}.notification-item .unread-marker{width:7px;height:7px;border-radius:14px;background:var(--purple);margin-top:6px;flex:none}.notification-item.read .unread-marker{background:#ddd}.notification-item b{font-size:12px;font-weight:500}.notification-item p{font-size:11px;overflow:hidden;overflow-wrap:break-word;white-space:normal;margin:3px 0}.notification-item small{font-size:10px;color:#9ba3b3}.notification-item button{min-height:30px;font-size:10px;padding:5px 9px}.profile{max-width:760px}.profile-card{display:flex;gap:16px;align-items:center;margin-bottom:24px}.profile-avatar{height:60px;width:60px;border-radius:14px;background:#0b3a8f;color:#a55409;display:grid;place-items:center;font-size:22px}.profile-card h2{font-size:19px}.pill-link{display:inline-block;padding:6px 12px;border-radius:14px;background:#f1f1f1;color:#7a8399;font-size:11px;margin-right:6px}.active-filter{background:var(--purple-soft);color:var(--purple)}.coming-soon{max-width:650px;margin:30px auto}.coming-soon .empty{min-height:300px}.register-mobile{display:none}#toast{position:fixed;bottom:24px;left:calc(50% + var(--side)/2);transform:translateX(-50%);padding:12px 18px;background:#0d2759;color:white;font-size:12px;border-radius:14px;box-shadow:0 10px 30px #081a3b20;z-index:100;display:none;max-width:calc(100vw - 35px)}[hidden]{display:none!important}.sr-only,.screen-reader{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1800px){main{margin-right:auto}}@media(max-width:1150px){:root{--side:205px}.brand{padding:27px 20px}.app-header{padding:0 22px;gap:16px}main{padding:25px 22px}.global-search{width:200px}.project-columns,.project-row{grid-template-columns:minmax(190px,2fr) .9fr 1fr .9fr 28px;gap:12px}.project-columns>:nth-child(5),.project-row>:nth-child(5){display:none}.portfolio-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:10px}.stat{padding:14px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}#breadcrumbs b{max-width:180px}.schedule-task{grid-template-columns:35px 1fr 95px 80px 28px;gap:8px}}@media(max-width:900px){:root{--side:0px}#sidebar{width:232px;transform:translateX(-100%);transition:transform .2s}.nav-open #sidebar{transform:translateX(0)}#nav-toggle,#nav-close{display:inline-flex}.nav-open #nav-overlay{display:block!important;position:fixed;inset:0;background:#08193950;z-index:35}#nav-close{margin-left:auto;color:#a55409}body.nav-open{overflow:hidden}.app-header{height:64px;padding:0 22px;gap:16px}.global-search{width:230px}main{padding:24px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat b{font-size:23px}.dashboard-grid{grid-template-columns:1.4fr 1fr}.mobile-module{display:block;margin:14px 0 18px}.mobile-module label{font-size:9px;letter-spacing:1px}.mobile-module select{font-size:12px;max-width:360px;background:white}.project-context{margin-bottom:12px}.project-columns,.project-row{grid-template-columns:minmax(200px,2fr) .9fr 1fr 1fr 28px}.dashboard-bottom{grid-template-columns:1fr 1fr}.summary-grid{gap:16px}.module-heading h2{font-size:22px}footer{padding:12px 24px}}@media(max-width:650px){body{font-size:14px}.app-header{padding:0 16px;height:60px;gap:10px}#breadcrumbs{font-size:11px;flex:1}#breadcrumbs b{max-width:145px}#breadcrumbs>span,#breadcrumbs>a{display:none}.global-search{width:auto;border:0;background:none;margin:0;padding:0;min-height:36px}.global-search input{width:0;padding:0;opacity:0;transition:width .2s}.global-search:focus-within{position:absolute;left:16px;right:16px;background:white;border:1px solid #ffeace;padding:0 10px;z-index:5}.global-search:focus-within input{opacity:1;width:100%}.global-search span{font-size:25px}.global-search kbd{display:none}.header-actions{gap:15px}.account>span{display:none}.account>b{width:30px;height:30px}.notification-button svg{width:19px;height:19px}main{padding:22px 16px}.page-head{align-items:flex-start;gap:12px;margin-bottom:20px}.page-head h1{font-size:24px}.page-head p{font-size:11px;max-width:240px}.page-head>.button{font-size:11px;padding:8px 11px;min-height:36px}.page-head>.button svg{width:13px;height:13px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.stat{padding:13px 14px}.stat small{font-size:10px}.stat b{font-size:24px;margin:6px 0}.stat .stat-icon{width:26px;height:26px}.stat .stat-foot{font-size:9px}.filter-bar{padding:12px;gap:10px}.filter-controls{gap:6px}.filter-controls select{font-size:10px;min-height:34px;max-width:145px}.filter-controls input{width:100%;max-width:100%;min-height:36px}.filter-count{display:none}.project-columns{display:none}.project-row{grid-template-columns:1fr auto;gap:12px;padding:16px;position:relative}.project-row>.project-identity{grid-column:1/-1;padding-right:28px}.project-initial{width:34px;height:34px}.project-name{font-size:12px}.project-row>:nth-child(2){position:absolute;right:15px;top:20px}.project-row>:nth-child(3){grid-column:1;max-width:180px;margin-left:46px;display:flex;gap:8px;align-items:center}.project-row>:nth-child(3) .progress{width:95px;order:1;flex:1}.project-row>:nth-child(3) .progress-value{order:2;font-size:10px}.project-row>:nth-child(4){grid-column:2;text-align:right}.project-row>.open-arrow{display:none}.project-code{font-size:9px}.project-row .money{font-size:10px}.project-row .badge{font-size:9px}.portfolio-cards{grid-template-columns:1fr;padding:12px;gap:12px}.card-title{min-height:0}.section-caption{font-size:9px}.project-context{align-items:flex-start;padding-bottom:16px;gap:12px}.project-context h1{font-size:18px;line-height:1.4}.project-context .context-code{font-size:9px}.project-context .context-meta{flex-wrap:wrap;gap:6px;font-size:9px}.context-actions .button{padding:7px 9px;min-height:33px;font-size:10px}.context-actions .button svg{width:13px;height:13px}.project-context .text-link{font-size:9px}.mobile-module select{max-width:100%;min-height:40px}.module-heading{align-items:flex-start;margin-bottom:18px;flex-wrap:wrap}.module-heading h2{font-size:22px}.module-heading p{font-size:11px}.module-actions{gap:6px}.module-actions button,.module-actions .button{font-size:11px;min-height:36px;padding:7px 11px}.dashboard-grid,.dashboard-bottom{grid-template-columns:1fr;gap:14px}.dashboard-bottom{margin-top:14px}.panel{padding:17px;border-radius:14px;margin-bottom:14px}.panel-top{margin-bottom:12px}.panel-top h3{font-size:13px}.panel-top a{font-size:10px}.panel>p{font-size:11px}.attention-item{padding:13px 0}.attention-item .attention-title{font-size:11px}.attention-item p{font-size:10px}.attention-icon{width:30px;height:30px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.summary-grid b{font-size:11px}.grid{grid-template-columns:1fr;gap:14px}.form-grid{grid-template-columns:1fr;gap:18px}.field.wide{grid-column:auto}input,select,textarea{min-height:44px;font-size:14px}label{font-size:12px}.segmented button{font-size:10px;min-height:30px;padding:5px 10px}.subnav{gap:18px}.subnav button{font-size:11px}.subnav .badge{font-size:8px}.table-wrap{margin:0 -17px -17px;overflow:visible;border:0;border-radius:14px}table.mobile-stack thead{display:none}table.mobile-stack,table.mobile-stack tbody,table.mobile-stack tr{display:block;width:100%}table.mobile-stack tr{border-top:1px solid var(--line);padding:14px 17px}table.mobile-stack td{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:5px 0;border:0;max-width:none;min-width:0;text-align:right;font-size:11px;white-space:normal}table.mobile-stack td:before{content:attr(data-label);display:block;flex:none;text-align:left;color:#9aa2b1;font-size:10px;max-width:40%;font-weight:400}table.mobile-stack td:first-child{font-weight:500;color:#49546c;margin-bottom:7px;font-size:12px}table.mobile-stack .table-actions{justify-content:flex-end}table.mobile-stack td .table-actions button{min-height:36px;padding:6px 12px}table.mobile-stack td:last-child{padding-top:9px}.record-tools{gap:8px;flex-wrap:wrap}.record-tools input{max-width:none;min-height:40px;font-size:12px}.record-tools select{min-height:40px}.schedule-task{grid-template-columns:28px 1fr 28px;gap:8px;padding:13px 0}.schedule-task .task-name{font-size:11px}.schedule-task .task-date{grid-column:2;grid-row:2;font-size:10px}.schedule-task .badge{grid-column:2;grid-row:3;justify-self:start}.schedule-task>button{grid-column:3;grid-row:1/3;min-height:36px}.schedule-groups summary{font-size:11px}.schedule-task .wbs{grid-row:1/3}.delivery-stages{gap:7px}.delivery-stage{display:block;padding:13px 10px;font-size:10px}.delivery-stage b{display:block;margin-top:5px;font-size:23px}.wizard .panel{padding:19px}.wizard .page-head{display:block}.wizard .page-head .button{margin-top:15px}.stepper-nav{gap:4px;margin:20px 0}.wizard-step{flex-direction:column;font-size:9px;gap:5px;flex:1;text-align:center}.wizard-step b{width:26px;height:26px}.wizard-actions button{min-height:42px}.wizard-review{gap:18px}.wizard-review b{font-size:11px}dialog{width:100%;height:100dvh;max-height:100dvh;padding:28px 20px}#dialog-title{font-size:21px}dialog .close{right:14px;top:20px}#dialog-body .form-action{width:100%;min-height:44px}.notification-item{gap:9px}.notification-item button{font-size:9px;padding:5px 8px}.notification-item b{font-size:11px}footer{font-size:9px;padding:6px 16px 18px;gap:10px}footer>span:last-child{text-align:right}#toast{left:50%;width:max-content;max-width:calc(100vw - 32px);bottom:18px;font-size:11px}.profile-card{gap:12px}.profile-card h2{font-size:18px}.title-actions{gap:6px}.title-actions .button{min-height:36px;font-size:10px;padding:7px 10px}.gantt-view{margin:0 -17px;padding:0 17px}.phase-row{grid-template-columns:85px 1fr 35px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.stat{position:relative}.stat .stat-icon{float:none;position:absolute;top:16px;right:16px}.stat>small{padding-right:30px}.stat b{clear:both}.stat b.metric-long{font-size:21px;letter-spacing:-.6px}.project-code,.project-columns,.stat small,.stat .stat-foot,.project-row .date,.context-code,.project-context .context-meta,.snapshot-item>span,.source-note,.section-caption,th,.summary-grid small,.record-tools .filter-count,.phase-row{color:#69758a}.nav-label{padding-top:13px;padding-bottom:5px}.nav-link{min-height:33px;padding:7px 12px;margin:1px 0}.brand{padding-top:22px;padding-bottom:20px}.project-switch{padding:8px 10px;margin-top:10px}.project-switch select{min-height:28px}.sidebar-bottom{padding:14px 18px}.table-wrap th{font-size:10px}.table-wrap td{font-size:12px}.panel .stats{margin:18px 0}.panel .stats .stat{background:#fafafa;border:0;padding:12px;min-height:75px}.panel .stats .stat small{padding-right:0;font-size:9px}.panel .stats .stat b{font-size:19px}.profile form{max-width:600px}@media(max-width:900px){.nav-link{min-height:42px}.nav-label{padding-top:14px}.stat .stat-icon{right:12px;top:13px}}@media(max-width:650px){.stat b.metric-long{font-size:18px;letter-spacing:-.6px}.project-row .project-identity{padding-right:0}.project-row>.project-identity .project-name{padding-right:55px}.project-context .context-actions{flex:none}.table-wrap td{font-size:12px}.panel .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile form{max-width:100%}}
@media(max-width:650px){.stat .stat-foot{display:none}.stat{padding:12px 14px}.stat b{margin:4px 0 0}.mobile-module>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mobile-module{margin:10px 0 18px}.project-context{padding-bottom:14px}.project-context .context-meta>span:not(.badge){display:none}#breadcrumbs>b:not(:last-child){display:none}.global-search{min-width:24px}}
.register-more{text-align:center;padding:14px 0 0}.register-more button{min-height:34px;font-size:11px}.wizard-actions{gap:10px}.compact-note{margin:12px 0;padding:0;border:0}.compact-note summary{margin-bottom:0;font-size:10px}.compact-note[open] summary{margin-bottom:8px}
@media(max-width:650px){.wizard-actions{flex-wrap:wrap}.wizard-actions [data-wizard-hint]{display:none}.record-tools .filter-controls{flex-wrap:wrap}.record-tools input{flex:1 0 100%}}
/* Solid colour system, 16px controls and 20px surfaces */
:root{--purple:#0b3a8f;--purple-soft:#0b3a8f;--green:#08723e;--green-soft:#08723e;--amber:#975200;--amber-soft:#975200;--red:#b42332;--red-soft:#b42332;--blue:#164eae;--blue-soft:#164eae;--line:#dedede;--muted:#5c626b}
.panel,.portfolio-register,.project-card,.stat,.project-switch,.delivery-stage,dialog,#account-menu{border-radius:18px}
button,.button,input,select,textarea,.badge,.segmented,.segmented button,.nav-link,.project-initial,.stat-icon,.attention-icon,.workspace-mark,.account>b,.profile-avatar,.brand img,.notification-button{border-radius:14px}
#sidebar{background:#081735;color:#ededed}.brand small,.nav-label,.sidebar-bottom small{color:#c5c5c5}.nav-link{color:#e0e0e0}.nav-link.active{background:#0b3a8f;color:#fff}.nav-link.active:before{background:#fff}.project-switch{border-color:#665d70}.project-switch select,.project-switch option{background:#081735;color:white}.project-switch label{color:#ddd}.nav-link .nav-count,.workspace-mark{background:#0e2b62;color:#fff}
.badge{background:#e8e8e8;color:#343941;padding:5px 10px}.badge.green,.badge.amber,.badge.red,.badge.blue,.badge.purple{color:white}.badge.green{background:#08723e}.badge.amber{background:#975200}.badge.red{background:#b42332}.badge.blue{background:#164eae}.badge.purple{background:#0b3a8f}
.stat .stat-icon,.stat.tone-red .stat-icon,.stat.tone-amber .stat-icon,.stat.tone-green .stat-icon,.attention-icon,.attention-icon.red,.attention-icon.blue,.project-initial,.project-initial.blue,.project-initial.green,.account>b,.profile-avatar{color:#fff}
.stat .stat-icon,.project-initial,.account>b,.profile-avatar{background:#0b3a8f}.project-initial.blue{background:#164eae}.project-initial.green{background:#08723e}.attention-icon{background:#975200}.attention-icon.red{background:#b42332}.attention-icon.blue{background:#164eae}
.gantt-bar{background:#0b3a8f}.gantt-bar.milestone{background:#08723e;border-radius:14px;transform:none}.gantt-track{background:#f3f3f3;border-left:1px solid #d4d4d4}
.wizard-step.current b{background:#0b3a8f;color:white;border-color:#0b3a8f}.wizard-step.done b{background:#08723e;color:white;border-color:#08723e}.wizard-step.current{color:#0b3a8f}.inline-error{background:#b42332;color:white}.active-filter{background:#0b3a8f;color:white}.delivery-stage.active{background:#fff;border-color:#0b3a8f}.delivery-stage.active b{color:#0b3a8f}
.status-dot,.unread-marker,footer i{display:none!important}.notification-button .unread-count{position:absolute;right:0;top:-8px;width:auto;height:auto;min-width:20px;min-height:20px;padding:0 5px;border:0;border-radius:13px;background:#b42332;color:white;font-size:10px;line-height:16px;text-align:center}.empty .empty-icon{background:#f1f1f1;border-color:#d5d5d5;color:#0b3a8f}.project-context .text-link,.panel-top a{color:#0b3a8f}.global-search{background:#f5f5f5;border-color:#dedede}.progress{background:#e7e7e7}.progress>i{background:#0b3a8f}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#0b3a8f}
/* Metric content owns separate rows so icons can never overlap values. */
.stats>.stat{container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:8px 12px;align-items:start}
.stats>.stat>.stat-icon{position:static;grid-column:2;grid-row:1;float:none}
.stats>.stat>small{grid-column:1;grid-row:1;min-width:0;padding-right:0;align-self:center}
.stats>.stat>b,.stats>.stat>b.metric-long{grid-column:1/-1;grid-row:2;display:block;width:100%;min-width:0;max-width:100%;margin:0;font-size:clamp(16px,10cqi,28px);line-height:1.2;letter-spacing:-.5px;font-variant-numeric:tabular-nums;overflow-wrap:break-word}
.stats>.stat>b.metric-long{font-size:clamp(12px,7.7cqi,24px)}
.stats>.stat>.stat-foot{grid-column:1/-1;grid-row:3;min-width:0;margin:0}
@media(max-width:650px){.stats>.stat{gap:7px 8px}.stats>.stat>.stat-foot{display:none}}

@media(max-width:650px){.project-row>:nth-child(3){margin-left:0}.project-row>.project-identity .project-name{padding-right:65px}}
.dashboard-tabs{gap:24px;margin-bottom:20px}.dashboard-tabs button{font-size:12px;min-height:44px}.s-curve-panel{margin-bottom:18px}.s-curve-panel .panel-top{align-items:flex-start}.s-curve-panel .panel-top p,.analysis-grid .panel-top p,#module-content .panel-top>div>p{margin:5px 0 0;font-size:11px}.curve-reporting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.curve-reporting>div{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11px;color:#5c626b}.analysis-source{font-size:10px;color:#5c626b}.curve-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0 8px}.curve-key{background:white;color:#3d4350;border:1px solid #dedede;min-height:36px;font-size:11px;padding:7px 12px}.curve-key:hover{background:#eee}.curve-key[aria-pressed=false]{color:#707070;background:#eee;text-decoration:line-through}.curve-line-key{width:22px;height:3px;display:inline-block}.period-toggle{margin-left:auto;min-height:36px;font-size:11px}.period-toggle[aria-pressed=true]{background:#0b3a8f;color:white}.curve-canvas{width:100%;min-width:0;min-height:285px;overflow:hidden}.curve-canvas svg{display:block;width:100%;height:auto;touch-action:pan-y}.curve-readout{background:#f5f5f5;border-radius:14px;padding:11px 14px;font-size:11px;color:#3d4350;min-height:42px;margin-top:8px}.curve-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:11px;color:#5c626b;padding-top:16px}.curve-footer b{color:#222;margin-left:5px}.analysis-table{overflow-x:auto;margin-top:12px}.analysis-table table{width:100%}.analysis-table table th{font-size:10px}.analysis-table table td{font-size:12px}.analysis-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:22px 0}.analysis-metrics.two{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-metrics.three{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-metrics small{display:block;font-size:10px;color:#5c626b}.analysis-metrics b{display:block;font-size:18px;font-weight:600;color:#20283d;margin-top:7px;overflow-wrap:break-word}.analysis-summary{font-size:11px;padding:12px 0;color:#5c626b}.analysis-phase{border-top:1px solid #dedede;padding:0 0 8px}.analysis-phase>summary{cursor:pointer;display:flex;align-items:center;gap:14px;padding:17px 0;font-size:12px;font-weight:600;list-style:none}.analysis-phase>summary:before{content:'›';font-size:18px}.analysis-phase[open]>summary:before{transform:rotate(90deg)}.analysis-phase>summary b{font-weight:400;font-size:11px;margin-left:auto}.phase-weight{font-size:11px;color:#5c626b;font-weight:400}.phase-dual-progress{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:6px 0 18px}.phase-dual-progress label{font-size:10px}.phase-dual-progress>div:nth-child(2) .progress>i{background:#164eae}.analysis-phase .source-note{margin:14px 0}.analysis-grid{margin-bottom:18px}.analysis-grid>.panel{min-width:0}.critical-path-register{border:1px solid #dedede;border-radius:18px;padding:18px;margin:18px 0}.critical-path-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px}.critical-path-title>span:first-child{font-size:10px;color:#5c626b}.critical-path-title .badge{margin-left:auto}.critical-path-timeline{margin-top:16px;display:grid;gap:10px}.critical-path-timeline>div{display:grid;grid-template-columns:150px 1fr;align-items:center;font-size:11px}.critical-path-timeline b{padding:9px 16px;border-left:4px solid #0b3a8f;background:#f3f3f3;border-radius:14px;font-weight:500;text-align:right}.critical-path-timeline>div:nth-child(2) b{border-left-color:#975200}.decision-list>article{display:flex;align-items:center;gap:15px;padding:17px 0;border-top:1px solid #e3e3e3}.decision-list>article>div{flex:1;min-width:0}.decision-list strong{font-size:12px;font-weight:600}.decision-list p{font-size:11px;margin-top:5px}.decision-list .button{font-size:11px;white-space:nowrap}.control-position{display:flex;align-items:center;gap:12px;padding:16px;background:#f5f5f5;border-radius:14px;margin:16px 0;font-size:11px;flex-wrap:wrap}.control-position>span:first-child{margin-right:auto}.all-indicators>summary{font-size:13px;font-weight:600;cursor:pointer}.advisor-restored .source-note{margin-top:18px}.analysis-phase table{margin:0}.s-curve-panel details>p{margin-top:14px}
@media(max-width:900px){.analysis-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-tabs{gap:18px}.dashboard-tabs button{font-size:11px}.analysis-phase>summary{flex-wrap:wrap}.analysis-phase>summary b{margin-left:0}.curve-controls{gap:7px}}
@media(max-width:650px){.dashboard-tabs{gap:16px;margin-bottom:16px}.dashboard-tabs button{font-size:11px;padding:9px 1px 12px}.curve-reporting{align-items:flex-start}.curve-reporting>div{gap:5px}.curve-reporting>div>span{display:block;width:100%;font-size:10px}.curve-controls{gap:5px}.curve-key{font-size:10px;padding:7px 8px;min-height:38px}.curve-line-key{width:14px}.period-toggle{font-size:10px;margin-left:0;min-height:38px;padding:7px 9px}.curve-readout{font-size:10px;line-height:1.6}.curve-footer{font-size:10px;gap:9px}.curve-footer>span{display:flex;justify-content:space-between;width:100%}.analysis-metrics,.analysis-metrics.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.analysis-metrics b{font-size:16px}.analysis-metrics small{font-size:10px}.analysis-phase>summary{gap:6px 10px;padding:16px 0}.analysis-phase>summary>span:first-of-type{flex:1}.analysis-phase>summary b{width:100%;padding-left:18px;font-size:10px}.phase-dual-progress{gap:12px}.analysis-summary{flex-wrap:wrap;gap:8px}.critical-path-register{padding:14px}.critical-path-title{gap:9px;font-size:11px}.critical-path-title strong{width:100%;order:2}.critical-path-title .badge{order:1}.critical-path-timeline>div{grid-template-columns:105px 1fr;font-size:10px}.critical-path-timeline b{padding:9px}.decision-list>article{flex-wrap:wrap;gap:10px}.decision-list>article>div{flex:1 0 100%}.decision-list strong{font-size:11px}.decision-list .button{font-size:10px;min-height:36px}.decision-list .badge{font-size:10px}.all-indicators>summary{font-size:12px}.analysis-table{overflow-x:visible}.analysis-table table.mobile-stack tr{padding-left:0;padding-right:0}.s-curve-panel .panel-top{gap:10px}.s-curve-panel .panel-top a{white-space:nowrap}.s-curve-panel .panel-top h3{font-size:14px}.curve-canvas{min-height:285px}}
.critical-gantt{margin-top:24px}.critical-gantt-axis,.critical-gantt-lane{display:grid;grid-template-columns:135px 1fr;gap:14px;align-items:center;font-size:11px}.critical-gantt-axis{color:#5c626b;margin-bottom:14px}.critical-gantt-axis>div{display:flex;justify-content:space-between}.critical-gantt-lane{min-height:42px}.critical-gantt-lane>div{position:relative;height:30px;border-bottom:1px solid #ddd}.critical-gantt-lane i{position:absolute;width:5px;height:24px;top:3px;display:block}.critical-gantt>p{font-size:11px;color:#5c626b;margin-top:16px}.analysis-metrics>div{min-width:0;container-type:inline-size}.analysis-metrics b{font-size:clamp(12px,9cqi,18px)}
@media(max-width:650px){.critical-gantt-axis,.critical-gantt-lane{grid-template-columns:85px 1fr;gap:10px;font-size:10px}.analysis-metrics b{font-size:clamp(12px,10cqi,16px)}}
.dashboard-view-select{display:none}@media(max-width:650px){.dashboard-tabs{display:none}.dashboard-view-select{display:block;font-size:11px;margin-bottom:18px}.dashboard-view-select select{margin-top:7px;min-height:44px}}
.engineering-curve{padding:0;overflow:hidden;border-radius:18px}.engineering-title{background:#087f81;color:#fff;font-size:15px;font-weight:600;padding:13px 18px}.engineering-caption{padding:14px 20px 10px}.engineering-caption>strong{font-size:14px;color:#111}.engineering-caption p{font-size:12px;color:#111;margin-top:5px}.engineering-scroll{overflow-x:auto;overflow-y:hidden;padding:0 10px 8px;scrollbar-gutter:stable}.engineering-curve .curve-canvas{width:1050px;min-width:1050px;min-height:0;overflow:visible}.engineering-curve .curve-canvas svg{width:auto;height:auto;max-width:none;display:block;touch-action:pan-x pan-y}.engineering-curve .curve-readout{margin:10px 18px;font-size:11px}.engineering-notes{padding:10px 18px;display:flex;gap:20px;flex-wrap:wrap;font-size:10px;color:#454545}.engineering-curve>.source-note{margin:6px 18px 15px;font-size:10px;line-height:1.6}.engineering-curve>.advanced{margin:0 18px 18px}.engineering-curve .curve-controls{margin-top:12px}.engineering-curve .source-note{color:#454545}
@media(max-width:650px){.engineering-title{font-size:13px;padding:12px 15px}.engineering-caption{padding:12px 15px 10px}.engineering-caption p{font-size:11px}.engineering-scroll{padding-left:0;padding-right:0}.engineering-curve .curve-readout{margin:8px 12px}.engineering-notes{padding:10px 12px;gap:6px}.engineering-notes>span{width:100%}.engineering-curve>.source-note{margin:6px 12px 15px}.engineering-curve>.advanced{margin-left:12px;margin-right:12px}}
/* Progressive chart information uses solid surfaces and line keys. */
.engineering-curve{position:relative}.curve-interaction-hint{padding:0 20px 12px;font-size:11px;color:#454545}.curve-hit-target{cursor:crosshair}.curve-hit-target:focus-visible{outline:3px solid #0b3a8f;outline-offset:-3px}.curve-tooltip{position:absolute;z-index:12;width:292px;max-width:calc(100% - 24px);padding:16px;background:#fff;color:#20283d;border:1px solid #bbb;border-radius:16px;box-shadow:0 8px 30px #0003;pointer-events:auto;line-height:1.5}.curve-tooltip[hidden]{display:none}.curve-tooltip-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.curve-tooltip-heading>strong{font-size:13px}.curve-point-status{font-size:10px;font-weight:600;border-radius:13px;padding:3px 9px;white-space:nowrap;background:#333;color:#fff}.curve-point-status.red{background:#b91c1c}.curve-point-status.green{background:#08723e}.curve-point-status.blue{background:#164eae}.curve-tooltip-values{display:grid;gap:7px}.curve-tooltip-values>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.curve-tooltip-values span{display:flex;align-items:center;gap:8px}.curve-tooltip-values b{font-variant-numeric:tabular-nums}.curve-tooltip-line{display:block;width:20px;height:0;border-top:3px solid #333}.curve-tooltip-line.plan{border-color:#5850ec;border-top-style:dashed}.curve-tooltip-line.actual{border-color:#1fb978}.curve-tooltip-line.forecast{border-color:#c79a00}.curve-tooltip>p{margin:12px 0 8px;padding-top:11px;border-top:1px solid #ddd;color:#20283d;font-size:12px}.curve-tooltip>small{display:block;font-size:10px;color:#555}.curve-tooltip-values:empty{display:none}@media(max-width:650px){.curve-interaction-hint{padding:0 15px 12px}.curve-tooltip{width:270px;padding:14px}.curve-tooltip-heading>strong{font-size:12px}}
/* Source reconciliation: visible records and verified empty registers. */
.source-reviewed{padding:16px 18px;margin:18px 0 0;border:1px solid #d7d7d7;border-radius:16px;background:#fff}.source-reviewed-label{display:inline-block;font-size:10px;font-weight:600;border-radius:13px;padding:4px 10px;background:#164eae;color:#fff}.source-reviewed-empty .source-reviewed-label{background:#444}.source-reviewed p{font-size:12px;margin:9px 0 6px;color:#333}.source-reviewed small{display:block;color:#666;font-size:10px}.record-split-explanation{font-size:12px;line-height:1.7;color:#454545;margin:0 0 18px}.subnav .record-view-count{display:inline-block;margin-left:7px;padding:2px 7px;border:1px solid #d5d5d5;border-radius:13px;font-size:10px;font-weight:500;line-height:1.3}.source-register-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.source-register-links>button{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #ddd;padding:15px 16px;text-align:left;min-width:0}.source-register-links>button>span:first-child{flex:1;font-size:12px}.source-register-links b{font-size:19px;color:#20283d}.source-comparison{margin-top:18px}.source-comparison>summary{cursor:pointer;font-size:13px;font-weight:600}.source-comparison>summary>span{float:right;font-size:10px;font-weight:400;color:#555}.source-comparison>p{font-size:12px;margin-top:14px}.source-comparison .table-wrap{margin-top:16px}.financial-source-position>p{font-size:12px;margin-top:8px}.finance-source-summary{margin-bottom:18px}@media(max-width:650px){.source-register-links{grid-template-columns:1fr;gap:8px}.source-register-links>button{padding:12px 14px}.source-reviewed{padding:14px}.source-reviewed p,.record-split-explanation{font-size:11px}.source-comparison>summary>span{float:none;display:block;margin-top:6px}.source-comparison .mobile-stack td:last-child{margin-top:8px}.source-comparison .mobile-stack tr{padding-left:0;padding-right:0}}

/* Full project names are displayed without aliases, clamping or ellipses. */
.project-switch{padding:0;min-width:0}.project-switch>summary{position:relative;display:block;cursor:pointer;list-style:none;padding:12px 28px 12px 12px;min-width:0}.project-switch>summary::-webkit-details-marker{display:none}.project-switch-label{display:block;font-size:9px;letter-spacing:1.3px;color:#ddd;margin-bottom:8px}.project-switch-current{display:block;font-size:12px;font-weight:500;color:#fff;line-height:1.65;white-space:normal;overflow-wrap:break-word;word-break:normal}.project-switch-chevron{position:absolute;right:10px;top:36px;color:#fff}.project-switch[open] .project-switch-chevron{transform:rotate(180deg)}.project-switch-options{border-top:1px solid #665d70;max-height:360px;overflow-y:auto;padding:6px}.project-switch-options>a{display:block;padding:12px 8px;border-radius:14px;color:#fff;font-size:11px;line-height:1.7;white-space:normal;overflow-wrap:break-word}.project-switch-options>a:hover{background:#0c2656;text-decoration:none}.project-switch-options>a[aria-current=true]{background:#0b3a8f}.project-switch-options small{display:block;font-size:9px;color:#ddd;margin-bottom:4px}.project-switch-options span{display:block}.project-context>div:first-child{flex:1;min-width:0}.project-context h1,.project-name,.card-title a{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;-webkit-line-clamp:unset;line-clamp:unset}.project-context h1{display:block;line-height:1.5}#breadcrumbs{white-space:normal;flex:1;align-items:flex-start}#breadcrumbs b{max-width:none;overflow:visible;text-overflow:clip;overflow-wrap:break-word}#breadcrumbs b:first-of-type{flex:1;min-width:0}.app-header{min-height:72px;height:auto;padding-top:14px;padding-bottom:14px}.engineering-title,.engineering-caption>strong{overflow-wrap:break-word;white-space:normal}@media(max-width:650px){.project-context{flex-direction:column;align-items:stretch}.project-context .context-actions{justify-content:flex-end}.project-context h1{font-size:18px}.app-header{padding-top:10px;padding-bottom:10px;min-height:60px}.project-switch-current{font-size:12px}}
/* Complete Overview: all project fields and the visible status workflow. */
.overview-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;margin-bottom:18px}.overview-layout>.panel{margin-bottom:0;min-width:0}.overview-layout .panel-top{align-items:flex-start}.overview-layout .panel-top p,.overview-workflow .panel-top p{margin-top:5px;font-size:12px}.overview-layout .panel-top a{white-space:nowrap}.overview-measure{padding:14px 0;border-bottom:1px solid #eee}.overview-measure .progress-label{margin-top:0}.overview-measure .progress-label span{font-size:12px}.overview-measure .progress-label b{font-size:16px;white-space:nowrap}.overview-measure>p{font-size:11px;margin-top:7px}.overview-measure .progress{height:7px;margin-top:10px}.overview-measure:nth-of-type(3) .progress>i{background:#164eae}.overview-milestone-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 4px}.overview-milestone-counts>div{min-width:0}.overview-milestone-counts small{display:block;font-size:10px;color:#667085}.overview-milestone-counts b{display:block;margin-top:6px;font-size:25px;font-weight:600}.overview-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:20px 0 0}.overview-detail{min-width:0}.overview-detail dt{font-size:10px;color:#667085;text-transform:uppercase;letter-spacing:.6px}.overview-detail dd{margin:7px 0 0;color:#20283d;font-size:13px;font-weight:600;overflow-wrap:break-word}.overview-description{margin-top:24px;padding-top:16px;border-top:1px solid #eee}.overview-description h4{font-size:12px;margin-bottom:6px}.overview-description p{font-size:12px;white-space:pre-wrap}.overview-schedule-details{margin-top:20px;border-top:1px solid #ddd;padding-top:14px}.overview-schedule-details>summary{cursor:pointer;font-size:12px;font-weight:600}.overview-schedule-details .overview-details{gap:16px;margin:18px 0}.overview-schedule-details>a{font-size:11px}.overview-current-status{display:flex;align-items:center;gap:10px;font-size:11px;color:#667085;white-space:nowrap}.overview-workflow .form-grid{align-items:start;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr)}.overview-workflow .field.wide{grid-column:auto}.overview-workflow textarea{min-height:76px;resize:vertical}.overview-status-confirm{margin:16px 0;align-items:flex-start;font-size:12px;line-height:1.7}.overview-workflow .form-action{margin-top:0}#overview-status-workflow{scroll-margin-top:130px}@media(max-width:900px){.overview-layout{grid-template-columns:1fr}.overview-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.overview-layout .panel-top{gap:10px}.overview-layout .panel-top a{font-size:10px}.overview-workflow .panel-top{align-items:flex-start;flex-direction:column}.overview-details{gap:18px 16px}.overview-detail dd{font-size:12px}.overview-detail dt{font-size:9px}.overview-workflow .form-grid{grid-template-columns:1fr}.overview-milestone-counts{gap:10px}.overview-milestone-counts small{font-size:9px}.overview-measure .progress-label b{font-size:14px}.overview-status-confirm{font-size:11px}.overview-current-status{font-size:10px}.overview-workflow .form-action{width:100%}}
/* Complete control dashboard shared by Overview and Dashboard. */
.control-project-banner{margin-bottom:14px}.control-project-banner .panel-top{margin-bottom:12px}.control-project-banner .eyebrow{font-size:9px}.control-project-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.control-project-dates dt{font-size:10px;color:#667085;text-transform:uppercase;letter-spacing:.7px}.control-project-dates dd{font-size:14px;font-weight:600;margin:6px 0 0}.control-section-nav{display:flex;gap:8px;overflow-x:auto;padding:3px 0 14px;margin-bottom:4px}.control-section-nav>a{display:block;flex:none;border:1px solid #ddd;border-radius:14px;background:#fff;color:#454e65;padding:9px 13px;font-size:11px}.control-section-nav>a:hover{background:#0b3a8f;color:#fff;text-decoration:none}.control-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.control-kpi{padding:18px;background:white;border:1px solid #e0e0e0;border-radius:18px;min-width:0}.control-kpi>small{text-transform:uppercase;letter-spacing:.6px;display:block;font-size:10px;font-weight:600;color:#667085}.control-kpi>b{display:block;font-size:clamp(18px,1.8vw,26px);line-height:1.35;margin:12px 0 5px;color:#20283d;overflow-wrap:break-word}.control-kpi.alert>b{color:#b42332}.control-kpi>p{font-size:11px;min-height:33px}.control-kpi dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0;padding-top:13px;border-top:1px solid #eee}.control-kpi dt{font-size:9px;color:#667085}.control-kpi dd{margin:4px 0 0;font-size:12px;font-weight:600;overflow-wrap:break-word;font-variant-numeric:tabular-nums}.control-section,.control-kpi-grid,.control-project-details{scroll-margin-top:130px}.control-reporting-dates{display:flex;gap:24px;flex-wrap:wrap;font-size:11px;color:#667085}.control-reporting-dates b{color:#20283d;margin-left:5px}.control-project-details>summary{font-size:14px;font-weight:600;cursor:pointer}.control-project-details[open]>summary{margin-bottom:20px}.control-project-summary{grid-template-columns:1fr}.control-project-details .overview-workflow{margin-bottom:0}.control-milestone-late{display:block;color:#b42332;font-size:10px;margin-top:5px}.full-control-overview .analysis-phase>summary{flex-wrap:wrap}.full-control-overview .analysis-phase>summary b{white-space:nowrap}.full-control-overview .s-curve-panel .engineering-title{margin-bottom:0}@media(max-width:1100px){.control-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:750px){.control-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.control-project-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.control-kpi-grid>.control-kpi:last-child{grid-column:1/-1}}@media(max-width:650px){.control-kpi{padding:14px}.control-kpi>b{font-size:20px}.control-kpi>small{font-size:9px}.control-kpi>p{font-size:10px}.control-kpi dl{gap:12px 8px}.control-kpi dd{font-size:11px}.control-kpi dt{font-size:9px}.control-project-dates dd{font-size:12px}.control-section-nav>a{font-size:10px;padding:8px 11px}.control-reporting-dates{gap:10px}.control-project-details{padding:15px}.control-project-details>.overview-layout>.panel{padding:15px}.full-control-overview .analysis-phase>summary b{white-space:normal}.full-control-overview .panel-top{align-items:flex-start}.control-project-banner .badges{justify-content:flex-start}}
.control-health-panel{border-left:4px solid #a1a8b4;margin-bottom:14px}.control-health-panel.green{border-left-color:#26845e}.control-health-panel.amber{border-left-color:#c38424}.control-health-panel.red{border-left-color:#b53f3f}.control-health-reading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}.control-health-reading strong{font-size:22px;color:#20283d}.control-health-reading span{font-size:15px;font-weight:700;color:#465168}.control-health-panel.amber .control-health-reading span{color:#8a550b}.control-health-panel.red .control-health-reading span{color:#a02e2e}.control-health-values{display:flex;gap:24px;flex-wrap:wrap;margin:16px 0}.control-health-values dt{font-size:11px;color:#667085}.control-health-values dd{font-size:14px;font-weight:700;margin:4px 0 0}@media(max-width:650px){.control-health-reading strong{font-size:18px}.control-health-values{gap:12px}.control-health-values>div{min-width:85px}}
/* Timeline task previews match the S-Curve information cards. */
.timeline-interaction-hint{font-size:11px;margin:0 0 14px;color:#555}.timeline-tooltip{position:fixed;z-index:90;width:350px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:hidden;background:#fff;color:#20283d;border:1px solid #bbb;border-radius:16px;box-shadow:0 8px 30px #0003;padding:16px;pointer-events:none;line-height:1.5}.timeline-tooltip[hidden]{display:none}.timeline-tooltip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.timeline-tooltip-heading>span:first-child{font-size:10px;color:#667085}.timeline-tooltip-title{display:block;font-size:13px;line-height:1.55;overflow-wrap:break-word;font-weight:600}.timeline-tooltip-progress{display:flex;justify-content:space-between;gap:12px;margin-top:13px;font-size:11px}.timeline-tooltip .progress{margin:7px 0 12px;height:5px}.timeline-tooltip-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;margin:0}.timeline-tooltip-fields>div{min-width:0}.timeline-tooltip-fields dt{font-size:9px;text-transform:uppercase;letter-spacing:.3px;color:#667085}.timeline-tooltip-fields dd{margin:4px 0 0;font-size:11px;font-weight:600;overflow-wrap:break-word}.timeline-tooltip>p{font-size:11px;color:#20283d;margin:13px 0 8px;padding-top:11px;border-top:1px solid #ddd;line-height:1.65}.timeline-tooltip>small{display:block;font-size:10px;color:#667085}.timeline-row-inspected>.gantt-track{background:#e9e9e9}.timeline-row-inspected .gantt-bar{outline:2px solid #0b3a8f;outline-offset:3px}.timeline-row-inspected .gantt-bar.milestone{outline-color:#08723e}.gantt-bar:focus-visible{outline:3px solid #0b3a8f;outline-offset:4px}@media(max-width:650px){.timeline-tooltip{width:300px;padding:14px}.timeline-tooltip-title{font-size:12px}.timeline-tooltip-fields{gap:10px 14px}.timeline-interaction-hint{font-size:10px}}
.gantt-bar::before{content:'';position:absolute;inset:-10px;min-width:28px;min-height:28px;background:transparent}

/* Compact chart disclosure and filters with a predictable arrow inset. */
.engineering-curve>.curve-details{margin:12px 18px 18px;padding:0;border:1px solid #d7dce6;border-radius:16px;background:#f7f8fa;overflow:hidden}
.engineering-curve>.curve-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:64px;padding:12px 20px;margin:0;color:#20283d;font-size:13px;font-weight:650;line-height:1.35;cursor:pointer}
.engineering-curve>.curve-details>summary::-webkit-details-marker{display:none}
.engineering-curve>.curve-details>summary::marker{content:''}
.engineering-curve>.curve-details>summary::after{content:'';display:block;flex:none;width:9px;height:9px;margin-right:4px;border-right:2px solid #0b3a8f;border-bottom:2px solid #0b3a8f;transform:rotate(45deg);transition:transform .15s}
.engineering-curve>.curve-details[open]>summary::after{transform:rotate(225deg)}
.engineering-curve>.curve-details>summary:hover{background:#eef0f4}
.engineering-curve .curve-details-label{display:block}
.engineering-curve .curve-details-label small{display:block;margin-top:3px;color:#596377;font-size:11px;font-weight:400}
.engineering-curve .curve-details-content{padding:0 20px 18px;border-top:1px solid #d7dce6;background:#fff}
.engineering-curve .curve-details-content .curve-controls{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.filter-controls select{appearance:none;-webkit-appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3 6 5 5 5-5' stroke='%23394763' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center;background-size:16px;padding:9px 54px 9px 16px;min-height:44px;font-size:13px;color:#34405a;border-radius:16px}
@media(max-width:650px){.engineering-curve>.curve-details{margin:10px 12px 14px}.engineering-curve>.curve-details>summary{padding:12px 16px;min-height:64px}.engineering-curve .curve-details-content{padding:0 14px 16px}.filter-controls select{max-width:100%;font-size:12px;padding-right:48px;background-position:right 17px center}}

/* Strong, consistent section cues without coloring unrecorded values as healthy. */
.control-section-nav>a{--section-color:#495269;display:inline-flex;align-items:center;min-height:44px;border:1px solid #d9dce4;border-left:4px solid var(--section-color);padding:9px 14px;color:var(--section-color);font-weight:650;background:#fff;transition:background .15s,color .15s,transform .15s}
.control-section-nav>a:hover,.control-section-nav>a:focus-visible,.control-section-nav>a[aria-current="location"]{background:var(--section-color);border-color:var(--section-color);color:#fff;text-decoration:none}
.control-section-nav>a[data-section="progress"]{--section-color:#0b3a8f}
.control-section-nav>a[data-section="scurve"]{--section-color:#164eae}
.control-section-nav>a[data-section="payments"],.control-section-nav>a[data-section="invoices"]{--section-color:#08723e}
.control-section-nav>a[data-section="phases"]{--section-color:#006f6a}
.control-section-nav>a[data-section="recovery"]{--section-color:#9a4d00}
.control-section-nav>a[data-section="financial"]{--section-color:#08723e}
.control-section-nav>a[data-section="critical"]{--section-color:#1747a1}
.control-section-nav>a[data-section="risks"]{--section-color:#b42332}
.control-section-nav>a[data-section="details"]{--section-color:#495269}
.control-commercial-panel .analysis-metrics{margin:0 0 20px}
.commercial-suggestion-box{margin-top:20px;padding-top:18px;border-top:1px solid #d9dce4}
.commercial-suggestion-box h4{margin:0 0 10px;font-size:15px;color:#242b3d}
.commercial-suggestion-box .table-wrap{margin:14px 0;overflow-x:auto}
.boq-source{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:500}
.commercial-suggestion-box input{min-width:130px;max-width:240px;width:100%}
.commercial-suggestion-box input[name="percentage"]{min-width:90px;max-width:120px}
.commercial-invoice-actions{margin-top:18px;padding-top:16px;border-top:1px solid #e6e9f0}
.commercial-invoice-actions h4{margin:0 0 10px;color:#29344a;font-size:14px}
.commercial-invoice-actions ul{display:grid;gap:0;margin:0;padding:0;list-style:none;border:1px solid #e6e9f0;border-radius:15px;overflow:hidden}
.commercial-invoice-actions li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #eef0f5}
.commercial-invoice-actions li:first-child{border-top:0}
.commercial-invoice-actions li>span{display:grid;gap:2px;min-width:0}
.commercial-invoice-actions li b{overflow:hidden;overflow-wrap:break-word;white-space:normal;color:#29344a;font-size:14px;font-weight:600}
.commercial-invoice-actions li small{color:#66748a;font-size:12.5px}
.commercial-invoice-actions li .button{flex:none;padding:6px 14px;font-size:13px;white-space:nowrap}
.commercial-invoice-actions details{margin-top:8px}
.commercial-invoice-actions summary{cursor:pointer;color:#5b4fa8;font-size:13px;font-weight:600;padding:4px 2px}
.commercial-invoice-actions details ul{margin-top:8px}
.control-kpi{--accent:#667085;border-top:5px solid var(--accent);padding-top:16px}
.control-kpi:nth-child(1){--accent:#0b3a8f}
.control-kpi:nth-child(2){--accent:#164eae}
.control-kpi:nth-child(3){--accent:#006f6a}
.control-kpi:nth-child(4){--accent:#164eae}
.control-kpi:nth-child(5){--accent:#1747a1}
.control-kpi:nth-child(6){--accent:#006f6a}
.control-kpi:nth-child(7){--accent:#495269}
.control-kpi.kpi-danger{--accent:#b42332}
.control-kpi.kpi-warning{--accent:#9a4d00}
.control-kpi.kpi-success{--accent:#08723e}
.control-kpi>small{color:var(--accent)}
.control-kpi:not(.neutral)>b{color:var(--accent)}
@media(max-width:650px){.control-section-nav>a{min-height:44px;padding:9px 12px}.control-kpi{padding-top:12px}}

/* Keep notification pills clear of the section divider at every screen size. */
.notification-filters{align-items:center;flex-wrap:wrap;gap:12px;padding-bottom:16px;margin-bottom:20px;overflow:visible}
.notification-filters .pill-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;margin:0;line-height:1.4}

/* Keep register and section tab underlines straight and aligned. */
.subnav button{border-radius:0;border-bottom:2px solid transparent}










.demo-milestone-label{display:block;margin-top:3px}
.shared-scurve-panel{min-width:0;max-width:100%;padding:0;overflow:hidden}
.shared-scurve-loading{padding:22px 24px 26px;min-height:355px;color:#344054}
.shared-scurve-loading h3{margin:0 0 5px;font-size:18px}
.shared-scurve-loading p{margin:0 0 20px;color:#667188;font-size:13px}
.shared-scurve-loading-chart{height:260px;border:1px solid #dbe3ed;border-radius:14px;background:#f1f3f6;animation:scurve-loading-pulse 1.5s ease-in-out infinite}
@keyframes scurve-loading-pulse{50%{opacity:.55}}
.shared-scurve{min-width:0;color:#20283d}
.shared-scurve-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 8px;background:#fff;border-bottom:1px solid #dce6e7}
.shared-scurve-heading h3{margin:0 0 5px;font-size:18px;color:#20283d}
.shared-scurve-heading p{margin:0;color:#667188;font-size:13px;line-height:1.5}
.shared-scurve-kind{flex:none;border:1px solid #b9d5d8;border-radius:999px;padding:6px 10px;color:#28666a;background:#fff;font-size:12px;font-weight:700}
.shared-scurve-kind.is-indicative{color:#795820;border-color:#e9d7b9;background:#fff9ee}
.shared-scurve-mode{display:flex;gap:8px;margin:14px 24px 0}
.shared-scurve-mode button{min-height:38px;padding:7px 14px;border:1px solid #cfd8e5;border-radius:13px;background:#fff;color:#344054;cursor:pointer}
.shared-scurve-mode button[aria-pressed=true]{border-color:#f29a36;background:#fff;color:#143e8d;font-weight:700}
.shared-scurve-summary,.shared-scurve-hint{margin:12px 24px 0;color:#4f5b70;font-size:13px;line-height:1.5}
.shared-scurve-position{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 24px 2px}
.shared-scurve-position>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px 16px;border:1px solid #dce3ec;border-radius:14px;background:#fff}
.shared-scurve-position span{font-size:12px;font-weight:700;color:#586680}
.shared-scurve-position strong{font-size:20px;line-height:1.2;color:#20283d}
.shared-scurve-position small{font-size:12px;line-height:1.4;color:#667188}
.shared-scurve-position>div.is-behind{background:#fff;border-color:#dce3ec}
.shared-scurve-position>div.is-behind strong{color:#a7352e}
.shared-scurve-decision{margin:14px 24px 0;padding:11px 14px;border:1px solid #dce3ec;border-radius:13px;background:#fff;color:#20283d;font-size:13px;font-weight:700}
.shared-scurve-decision.is-behind{border-color:#dce3ec;background:#fff;color:#a7352e}
.shared-scurve-decision a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.shared-scurve-month-note{margin:10px 0;color:#667188;font-size:13px}
.shared-scurve-legend{display:flex;flex-wrap:wrap;gap:12px 22px;margin:16px 24px 4px;padding:12px 15px;border:1px solid #dbe3ed;border-radius:14px;background:#fff;color:#435069;font-size:12px;font-weight:700}
.shared-scurve-legend>span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.shared-scurve-legend>span.is-unavailable{opacity:.45}
.shared-scurve-legend i{display:inline-block;flex:none;width:26px;height:0;border-top:3px solid}
.shared-scurve-legend-line.shared-scurve-legend-plan{border-color:#5850ec;border-top-style:dashed}
.shared-scurve-legend-line.shared-scurve-legend-actual{border-color:#1fb978}
.shared-scurve-legend-line.shared-scurve-legend-forecast{border-color:#c79a00}
.shared-scurve-legend .shared-scurve-legend-bar{height:11px;border:0;border-radius:4px}
.shared-scurve-legend-bar.shared-scurve-legend-plan{background:#5850ec;opacity:.72}
.shared-scurve-legend-bar.shared-scurve-legend-actual{background:#1fb978;opacity:.72}
.shared-scurve-legend-bar.shared-scurve-legend-forecast{background:#f5c400;opacity:.72}
.shared-scurve-legend .shared-scurve-legend-date{width:0;height:17px;border:0;border-left:2px dashed #3b4660}
.shared-scurve-chart{position:relative;min-width:0}
.shared-scurve-scroll{max-width:100%;overflow-x:hidden;overflow-y:hidden;padding:8px 18px 0}
.shared-scurve-scroll svg{display:block;width:100%;height:auto;max-width:100%}
.shared-scurve-scroll svg rect[role=slider]{cursor:crosshair;outline:none}
.shared-scurve-scroll svg rect[role=slider]:focus-visible{stroke:#f0870f;stroke-width:3}
.shared-scurve-tooltip{position:absolute;z-index:2;display:grid;gap:7px;width:230px;max-width:calc(100% - 16px);padding:12px 14px;border:1px solid #cbd5e3;border-radius:13px;background:#fff;color:#20283d;box-shadow:0 8px 24px #263a5726;pointer-events:none;font-size:12px}
.shared-scurve-tooltip>strong{font-size:13px}
.shared-scurve-tooltip>span{display:flex;justify-content:space-between;gap:12px}
.shared-scurve-tooltip b{font-variant-numeric:tabular-nums;white-space:nowrap}
.shared-scurve-tooltip>small{color:#667188;font-size:11px}
.shared-scurve-readout{display:flex;flex-wrap:wrap;gap:8px 22px;margin:10px 24px 0;padding:12px 15px;border-radius:13px;background:#f4f5f7;color:#4c5669;font-size:13px}
.shared-scurve-notes{display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 24px;color:#596377;font-size:12px}
.shared-scurve-details{margin:16px 24px;border:1px solid #d9e0e9;border-radius:14px;overflow:hidden;background:#f7f8fa}
.shared-scurve-details summary{cursor:pointer;padding:15px 18px;font-weight:700;color:#20283d}
.shared-scurve-details summary small{display:block;margin-top:3px;font-size:12px;font-weight:400;color:#667188}
.shared-scurve-details-body{padding:16px;background:#fff;border-top:1px solid #d9e0e9}
.shared-scurve-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.shared-scurve-controls button{display:inline-flex;align-items:center;gap:8px;border:1px solid #d7dfea;background:#fff;border-radius:999px;padding:8px 12px;color:#20283d;cursor:pointer}
.shared-scurve-controls button[aria-pressed=false]{opacity:.55}
.shared-scurve-controls button:disabled{cursor:not-allowed;opacity:.45}
.shared-scurve-controls i{display:inline-block;width:23px;border-top:3px solid}
.shared-scurve-table{max-height:300px;overflow:auto}
.shared-scurve-table table{width:100%;border-collapse:collapse;font-size:12px}
.shared-scurve-table th,.shared-scurve-table td{padding:9px 10px;border-bottom:1px solid #e5e9ef;text-align:left}
.shared-scurve-source{margin:12px 24px;color:#596377;font-size:12px;line-height:1.5}
.shared-scurve-review{display:inline-block;margin:0 24px 20px;color:#1747a1;font-weight:600;text-decoration:none}
.shared-scurve-empty{padding:22px 24px}
@media(max-width:950px){.shared-scurve-position{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.shared-scurve-loading{padding:16px;min-height:285px}.shared-scurve-loading-chart{height:200px}.shared-scurve-heading{padding:16px;flex-direction:column;gap:8px}.shared-scurve-heading h3{font-size:16px}.shared-scurve-position{grid-template-columns:1fr;margin-left:16px;margin-right:16px}.shared-scurve-summary,.shared-scurve-hint,.shared-scurve-source,.shared-scurve-decision{margin-left:16px;margin-right:16px}.shared-scurve-legend{margin-left:16px;margin-right:16px;gap:10px 14px}.shared-scurve-scroll{padding-left:4px;padding-right:4px}.shared-scurve-readout,.shared-scurve-notes,.shared-scurve-details{margin-left:16px;margin-right:16px}.shared-scurve-review{margin-left:16px}}
@media(prefers-reduced-motion:reduce){.shared-scurve-loading-chart{animation:none}}
.overdue-word{color:var(--red);font-weight:700}
.badge.overdue-label{background:#fff0f1;border:1px solid #e7b8c1;color:var(--red)}
main:has(.portfolio-dashboard){max-width:none;width:calc(100% - var(--side));min-width:0}
@media(max-width:950px){main:has(.portfolio-dashboard){width:100%}}
.shared-scurve-late{margin:12px 24px 0;padding:14px 16px 10px;border:1px solid #dce3ec;border-left:3px solid #e8337a;border-radius:13px;background:#fff}
.shared-scurve-late-head h4{margin:0;font-size:14px;font-weight:700;color:#c81e5b}
.shared-scurve-late-head p{margin:3px 0 8px;font-size:13px;color:var(--muted)}
.shared-scurve-late ul{margin:0;padding:0;list-style:none}
.shared-scurve-late li+li{border-top:1px solid var(--line)}
.shared-scurve-late li a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:9px 6px;border-radius:9px;color:var(--ink);text-decoration:none}
.shared-scurve-late li a:hover{background:#f7f8fb}
.shared-scurve-late li a:focus-visible{outline:2px solid var(--purple);outline-offset:1px}
.shared-scurve-late-name{font-size:13px;font-weight:600;min-width:0;overflow-wrap:break-word}
.shared-scurve-late-name small{margin-right:8px;font-size:13px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.shared-scurve-late-days{grid-row:span 2;align-self:center;font-size:13px;font-weight:700;color:#c81e5b;font-variant-numeric:tabular-nums;white-space:nowrap}
.shared-scurve-late-meta{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.shared-scurve-late-all{display:inline-block;margin:6px 6px 2px;font-size:13px;font-weight:700;color:#c81e5b}
@media(max-width:650px){.shared-scurve-late{margin-left:16px;margin-right:16px}}
/* Progress variance number is coloured by schedule status: green on time, red when delayed. The card keeps its plain background. */
.shared-scurve-position>div.is-on-time strong{color:#14794f}
.shared-scurve-position>div.is-delayed strong{color:#a7352e}
.shared-scurve-position>div.is-on-time small{color:#14794f;font-weight:700}
.shared-scurve-position>div.is-delayed small{color:#a7352e;font-weight:700}
/* S-Curve: every month has its own column. Long projects scroll sideways inside the chart frame. */
.shared-scurve-scroll{overflow-x:auto!important;overscroll-behavior-x:contain}
.shared-scurve-scroll svg[style*="min-width"]{max-width:none!important}
.shared-scurve-legend{margin-top:12px}
