:root{--slate:#40535f;--deep:#22333e;--ink:#263c49;--muted:#73838e;--paper:#f3f5f6;--line:#e2e7ea;--blue:#237aab;--teal:#168976;--terracotta:#a75c4e;--red:#c3444c;--amber:#c88721;--purple:#8064a2;--input:#eef7fc;--shadow:0 5px 24px #213b4e08}*{box-sizing:border-box}body{margin:0;font:14px 'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #67b7de;outline-offset:2px}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:9px 13px;font-weight:600;transition:background .15s}button:hover{background:#edf3f6}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#19648e}button.danger{color:var(--red)}button.icon{padding:5px 9px;border:0;background:transparent}button.tiny{font-size:11px;padding:5px 8px}#sidebar{position:fixed;width:228px;inset:0 auto 0 0;background:var(--deep);color:#e9f0f4;padding:22px 16px;display:flex;flex-direction:column;z-index:4}.brand{background:#f1f2f1;border-radius:9px;padding:12px 14px;height:69px;display:flex;align-items:center}.brand img{width:100%;max-height:45px;object-fit:contain}.brand-sub{font-size:10px;text-transform:uppercase;letter-spacing:2.5px;color:#aabac4;padding:17px 7px 20px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#8299a7;text-transform:uppercase;margin:23px 12px 9px}.nav{border:0;color:#bfced7;background:transparent;text-align:left;border-radius:7px;padding:12px;display:flex;align-items:center;gap:10px;width:100%;font-weight:500;margin:2px 0}.nav:hover{background:#ffffff0b;color:white}.nav.active{background:#40535f;color:white;box-shadow:inset 3px 0 #56c3b0}.nav .symbol{font-size:18px;width:24px;text-align:center}.sidebar-bottom{margin-top:auto;font-size:11px;color:#9bb0bc;line-height:1.7;padding:14px 10px;border-top:1px solid #ffffff16}.local-dot{display:inline-block;width:7px;height:7px;border-radius:99px;background:#58cba6;margin-right:6px}#shell{margin-left:228px}#topbar{height:76px;padding:0 32px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;position:sticky;top:0;z-index:3}.crumb{font-weight:600;font-size:13px}.top-spacer{flex:1}#projectSwitch{min-width:290px;max-width:430px;background:var(--paper);border:1px solid var(--line);padding:10px 12px;border-radius:7px;color:var(--ink)}.save-state{font-size:11px;color:var(--muted);white-space:nowrap}main{padding:30px 32px 45px;max-width:2000px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:26px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;color:var(--teal);font-weight:700;margin-bottom:9px}h1{font-size:30px;letter-spacing:-.8px;line-height:1.2;margin:0 0 8px;font-weight:650}h2{font-size:17px;margin:0;letter-spacing:-.2px}h3{font-size:14px;margin:0 0 7px}.subtitle{color:var(--muted);font-size:13px;line-height:1.6;max-width:750px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.kpi{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:21px 23px;position:relative}.kpi:before{content:'';position:absolute;top:22px;left:0;height:25px;width:3px;background:var(--teal)}.kpi .label{font-size:11px;text-transform:uppercase;letter-spacing:.9px;color:var(--muted);font-weight:650;min-height:23px}.kpi .value{font-size:30px;letter-spacing:-.8px;font-weight:650;margin:8px 0}.kpi .note{font-size:12px;color:var(--muted);min-height:17px}.kpi .negative{color:var(--red)}.kpi .positive{color:var(--teal)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;min-width:0}.panel.full{grid-column:1/-1}.panel-head{padding:20px 23px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head p{font-size:12px;color:var(--muted);margin:6px 0 0}.panel-body{padding:0 23px 22px}.panel[draggable=true]{transition:box-shadow .2s}.panel.dragging{opacity:.5}.drag-handle{cursor:grab;color:#a1afb7;font-size:19px;user-select:none}.panel-tools{display:flex;align-items:center;gap:4px}.chart{width:100%;height:auto;display:block}.chart text{font-family:'Segoe UI',Arial,sans-serif;fill:#74828c;font-size:10px}.chart .gridline{stroke:#e6ebed;stroke-width:1}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:8px 0}.legend i{display:inline-block;width:16px;height:3px;vertical-align:middle;margin-right:5px}.legend i.bar{height:9px}.toolbar{padding:14px 20px;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{min-width:230px;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.toolbar select{border:1px solid var(--line);padding:9px;border-radius:7px;background:white}.segmented{display:inline-flex;gap:3px;background:#edf2f4;padding:4px;border-radius:8px}.segmented button{border:0;background:transparent;padding:7px 12px;font-size:12px}.segmented button.active{background:white;box-shadow:0 1px 4px #0001;color:var(--blue)}.table-wrap{overflow:auto;max-height:66vh}table{border-collapse:collapse;width:100%;font-size:12px}th{background:#f5f7f8;color:#6c7d88;font-size:10px;text-transform:uppercase;letter-spacing:.7px;text-align:left;white-space:normal;font-weight:700;position:sticky;top:0;z-index:1}td,th{padding:15px 15px;border-bottom:1px solid #eef1f3;vertical-align:middle}tbody tr:hover{background:#f7fafb}td.numeric,th.numeric{text-align:right;font-variant-numeric:tabular-nums}td.date,th.date{text-align:center;white-space:nowrap}td.title{min-width:180px;max-width:330px;font-weight:600}td .secondary{display:block;font-weight:400;font-size:11px;color:var(--muted);margin-top:5px}.project-link{padding:0;color:var(--ink);background:none;border:0;text-align:left;font-weight:650;font-size:13px}.project-link:hover{color:var(--blue);background:none}.rag{display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.rag i{width:9px;height:9px;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #00000004}.rag.green i{background:var(--teal)}.rag.amber i{background:var(--amber)}.rag.red i{background:var(--red)}.rag.complete i{background:#738895}.rag.pending i{background:#bdc8cf}.progress{height:5px;background:#edf1f3;border-radius:4px;min-width:75px;margin-top:7px;overflow:hidden}.progress span{display:block;height:100%;background:var(--teal);border-radius:4px}.badge{display:inline-flex;padding:4px 8px;border-radius:5px;font-size:10px;background:#e9f4f1;color:#25836e;font-weight:600}.badge.demo{background:#f4ede5;color:#9d783f}.badge.red{background:#fbeaec;color:var(--red)}.badge.amber{background:#fbf1df;color:#a8731f}.notice{padding:14px 18px;border-radius:8px;background:#eaf4f8;color:#3b657a;font-size:12px;line-height:1.6;margin-bottom:20px;border:1px solid #d6e8f0}.notice.warning{background:#fff5e5;border-color:#f4dfb8;color:#866327}.notice button{font-size:11px;padding:5px 9px;margin-left:10px}.empty{padding:45px 25px;text-align:center;color:var(--muted)}.empty .big{font-size:28px;color:#b3c1ca;margin-bottom:12px}.notes{font-size:13px;line-height:1.7;color:#60717e;white-space:pre-wrap}.list-row{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.list-row:last-child{border:0}.list-row strong{display:block;margin-bottom:6px}.list-row small{color:var(--muted)}.gantt-scroll{overflow:auto;max-height:66vh}.gantt-inner{min-width:1040px}.gantt-head,.gantt-row{display:grid;grid-template-columns:320px 1fr;min-height:38px}.gantt-head{position:sticky;top:0;z-index:2;background:#f3f6f8}.gantt-label{padding:10px 15px;border-right:1px solid var(--line);border-bottom:1px solid #eef1f3;display:flex;align-items:center;gap:9px;min-width:0;background:white}.gantt-label .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;font-size:12px}.gantt-label small{color:var(--muted);font-size:10px}.gantt-track{position:relative;border-bottom:1px solid #eef1f3;min-height:42px;background:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--step) - 1px),#edf1f3 calc(var(--step) - 1px),#edf1f3 var(--step))}.gantt-month{position:absolute;top:12px;font-size:10px;color:var(--muted)}.gantt-bar{position:absolute;top:9px;height:17px;min-width:7px;background:#239b86;border-radius:4px;cursor:grab;touch-action:none}.gantt-bar.red{background:#d06a70}.gantt-bar.amber{background:#d9a451}.gantt-bar.complete{background:#7c919e}.gantt-bar.pending{background:#c2ccd2}.gantt-bar:active{cursor:grabbing}.gantt-bar>span{position:absolute;inset:0 auto 0 0;background:#0002;border-radius:4px}.gantt-baseline{position:absolute;top:30px;height:4px;background:#c3cbd1;border-radius:2px;min-width:4px}.gantt-today{position:absolute;top:0;bottom:0;border-left:2px solid #a55d50;pointer-events:none}.gantt-stage .gantt-label{font-weight:700;background:#eef3f5;color:var(--slate)}.gantt-stage .gantt-track{background:#f8fafb}.gantt-stage .gantt-bar{height:10px;top:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid .wide{grid-column:1/-1}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#576f7e;font-weight:600}.field input,.field select,.field textarea{width:100%;background:var(--input);border:1px solid #cddfe9;border-radius:7px;padding:10px 12px;color:var(--ink);font-size:13px;font-weight:400}.field textarea{resize:vertical;min-height:80px;line-height:1.5}.field input[type=date]{text-align:center}.field .hint{font-size:10px;color:var(--muted);font-weight:400;line-height:1.4}dialog{border:0;padding:0;border-radius:14px;box-shadow:0 20px 100px #12263644;max-width:760px;width:calc(100vw - 60px);color:var(--ink);max-height:90vh}dialog::backdrop{background:#1e334858;backdrop-filter:blur(3px)}.modal-head{padding:24px 26px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:white;z-index:1}.modal-content{padding:23px 26px}.modal-foot{padding:17px 26px;display:flex;justify-content:flex-end;gap:9px;background:#f8fafb;border-top:1px solid var(--line);position:sticky;bottom:0}.form-error{color:var(--red);font-size:12px;line-height:1.5;margin-top:14px;white-space:pre-wrap}#toast{position:fixed;bottom:25px;right:25px;max-width:430px;background:#29463f;color:white;padding:14px 20px;border-radius:9px;box-shadow:0 10px 35px #0002;z-index:20;opacity:0;pointer-events:none;transform:translateY(10px);transition:all .2s}#toast.show{opacity:1;transform:translateY(0)}#toast.error{background:#883941}.loading{padding:70px;font-size:18px;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.settings-grid .panel-body>button{margin:12px 8px 0 0}.path{font-family:Consolas,monospace;font-size:11px;overflow-wrap:anywhere;background:#f3f6f7;padding:13px;border-radius:7px;color:#586f7c}.steps{margin:0;padding-left:19px;color:#5a707d;font-size:13px;line-height:1.9}.report-label{font-size:11px;letter-spacing:1.7px;color:var(--terracotta);font-weight:700}.text-button{border:0;background:none;color:var(--blue);padding:0;font-weight:600}.checks-list{max-height:420px;overflow:auto}.checks-list div{padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.print-only{display:none}@media(max-width:1150px){#sidebar{width:192px}#shell{margin-left:192px}main{padding:24px}#topbar{padding:0 24px}.kpi{padding:17px}.kpi .value{font-size:25px}#projectSwitch{min-width:230px;max-width:310px}}@media(max-width:900px){.kpis{grid-template-columns:repeat(2,1fr)}.grid,.settings-grid{grid-template-columns:1fr}.page-head{flex-direction:column}.save-state{display:none}}@media print{#sidebar,#topbar,.no-print,.toolbar,.panel-tools{display:none!important}#shell{margin:0}main{padding:0}.panel{break-inside:avoid}.table-wrap{max-height:none;overflow:visible}body{background:white}}

.exchange-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px dashed #91b6ca;background:#edf6fb;border-radius:12px;padding:17px 20px;margin-bottom:20px}.exchange-panel small{display:block;color:var(--muted);margin-top:5px}.exchange-panel .actions{flex-shrink:0}.view-explanation,.chart-note{font-size:12px;color:var(--muted);line-height:1.5}.attention-reason{max-width:190px;white-space:normal}.summary-programme{padding:0 20px 5px 0}.summary-header,.summary-row{display:grid;grid-template-columns:120px 115px 115px minmax(160px,1fr);gap:14px;align-items:center}.summary-header{height:38px;color:var(--muted);font-size:11px}.summary-row{height:32px;border-bottom:1px solid #edf1f3;font-size:12px}.summary-axis,.summary-track{position:relative;height:26px}.summary-axis small{position:absolute;transform:translateX(-50%);white-space:nowrap;top:8px}.summary-base{position:absolute;top:21px;height:3px;background:#99a7b1;border-radius:2px}.summary-current{position:absolute;top:5px;height:12px;border-radius:3px;overflow:hidden;background:var(--teal)}.summary-current.red{background:var(--red)}.summary-current.amber{background:var(--amber)}.summary-current.complete{background:#738895}.summary-current.pending{background:#bdc8cf}.summary-current span{display:block;height:100%;background:#0002}.summary-report{position:absolute;height:28px;border-left:1px dashed var(--terracotta)}.invoice-line,.invoice-receipt{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;align-items:end;margin:10px 0}.invoice-receipt{grid-template-columns:1fr 1fr 1fr auto}.invoice-line label,.invoice-receipt label{font-size:12px}.invoice-line input,.invoice-line select,.invoice-receipt input{width:100%;padding:10px;border:1px solid #ccdde6;border-radius:6px;background:var(--input);margin-top:6px}.title small{display:block;color:var(--muted);margin-top:4px}.import-preview{max-height:350px;overflow:auto}.exchange-panel .actions button{white-space:nowrap}@media print{.exchange-panel{display:none}.summary-row{break-inside:avoid}}

.payment-legend{justify-content:center;flex-wrap:wrap;gap:16px 26px}.payment-legend i.bar-key{height:10px;vertical-align:middle}.payment-combo{min-height:230px}.payment-legend i{width:24px}
/* Finance workspace and resource planning — 0.3 */
.finance-tabs{display:flex;gap:4px;flex-wrap:wrap;background:#eaf0f3;padding:6px;border-radius:12px;margin-bottom:24px}.finance-tabs button{border:0;background:transparent;padding:12px 16px;color:#40535f;white-space:nowrap}.finance-tabs button.active{background:#fff;color:#8c493e;box-shadow:0 2px 5px #40535f16;font-weight:700}.finance-body .page-head h2{font-size:23px;margin:0 0 8px}.finance-body>.page-head{margin-bottom:20px}.finance-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.finance-link{display:flex;flex-direction:column;gap:10px;align-items:flex-start;text-align:left;background:#fff;border:1px solid #dce5e9;border-left:4px solid #a75c4e;border-radius:10px;padding:20px;min-width:0}.finance-link strong{font-size:23px}.finance-link small{color:#708391;font-size:11px}.finance-checks{padding-left:20px;line-height:1.65;margin:0}.finance-checks li{margin-bottom:9px}.finance-balance{display:flex;flex-direction:column;gap:14px;margin-bottom:15px}.finance-balance strong{font-size:28px}.resource-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:0 0 22px}.resource-filters label{display:flex;flex-direction:column;gap:7px;color:#40535f;font-size:12px;font-weight:bold}.resource-filters select{min-width:170px;max-width:460px}.resource-project-band{background:#40535f;color:white;padding:15px 20px;display:flex;justify-content:space-between;align-items:center}.resource-project-band strong{display:block;font-size:17px}.resource-project-band span{display:block;font-size:12px;margin-top:6px;color:#d4dfe5}.resource-project-band button{background:#fff}.resource-timeline .gantt-label{width:360px;flex:0 0 360px}.resource-timeline .gantt-row{min-height:90px}.resource-timeline .gantt-label .name{white-space:normal;line-height:1.5}.resource-timeline .gantt-track{height:90px}.resource-timeline .gantt-bar{top:32px}.resource-timeline .gantt-inner{min-width:1250px}.programme-gantt .gantt-inner{padding-right:220px;min-width:1350px}.programme-gantt .gantt-label{width:330px;flex:0 0 330px}.gantt-resource-label{position:absolute;top:7px;max-width:208px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:#f4f0ed;color:#83473f;padding:5px 8px;font-size:11px;z-index:2;border-radius:4px}.missing-dates{font-size:12px;color:#a75c4e;padding:25px;display:block}.field input[readonly]{background:#edf1f3;color:#6f808b}#financeScope{width:100%;margin:8px 0}#finance-export-projects{max-height:210px;overflow:auto}#crewForm label{display:flex;flex-direction:column;gap:7px;margin:15px 0}
@media(max-width:1200px){.finance-shortcuts{grid-template-columns:repeat(2,1fr)}.resource-filters select{max-width:340px}}
.resource-timeline .gantt-head,.resource-timeline .gantt-row{grid-template-columns:360px 1fr}.programme-gantt .gantt-head,.programme-gantt .gantt-row{grid-template-columns:330px 1fr}.resource-timeline .gantt-label .name>strong,.resource-timeline .gantt-label .name>small{display:block}.resource-timeline .gantt-label .name>small{margin-top:4px}.resource-filters select,#financeScope,#crewForm select,#crewForm input{border:1px solid #ccdae2;border-radius:7px;background:#eef7fc;padding:10px 12px;color:#40535f}.resource-filters select{height:41px}
.resource-timeline .gantt-head{z-index:4}.resource-timeline .gantt-head .gantt-track{height:48px}.resource-project-band{position:sticky;top:48px;z-index:3}
.planning-window{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:18px 0 24px;padding:18px;background:white;border:1px solid var(--line);border-radius:12px}.planning-window label{display:grid;gap:6px;font-size:12px;font-weight:650}.planning-window input,.planning-window select{min-height:40px;background:#eaf4fb;border:1px solid #c6dbe6;border-radius:7px;padding:8px 12px;color:#40535f}.planning-window input[type=number]{width:86px}.planning-range{display:grid;gap:3px;align-self:center;flex:1;min-width:200px}.planning-range small{font-size:12px;color:#738895}.planning-nav{display:flex;gap:7px}.resource-timeline .gantt-inner{min-width:1000px}.resource-timeline .gantt-head,.resource-timeline .gantt-row{grid-template-columns:440px 1fr}.resource-timeline .gantt-head .gantt-label{width:auto}.resource-timeline .resource-activity{min-height:164px;height:auto}.resource-activity .gantt-label{align-items:stretch;padding:14px 18px;white-space:normal;overflow:visible}.resource-activity-copy{width:100%}.resource-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;font-size:13px;line-height:1.4;color:#40535f;margin-bottom:6px}.resource-identity>strong{color:#137c6e;font-size:14px;white-space:nowrap}.resource-identity>span{font-weight:650}.resource-task{display:block;font-size:14px;color:#223641;line-height:1.35}.resource-details{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12px;margin:7px 0;color:#40535f}.resource-details>span:first-child{font-weight:650}.resource-activity small{font-size:11px;color:#738895}.resource-row-actions{display:flex;gap:8px;margin-top:9px}.resource-activity .gantt-bar{height:20px;top:calc(50% - 10px)}.resource-activity .continues-before{border-left:3px dashed white;border-top-left-radius:0;border-bottom-left-radius:0}.resource-activity .continues-after{border-right:3px dashed white;border-top-right-radius:0;border-bottom-right-radius:0}.unallocated-panel{margin-top:22px}.unallocated-work{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #e3e9ec}.unallocated-work p{margin:5px 0}.unallocated-work small{color:#738895}.notice details p,.notice p{margin:8px 0}summary{cursor:pointer}

.resource-timeline .resource-activity .gantt-label{width:auto;min-width:0}.resource-timeline .resource-activity .gantt-track{height:100%;min-height:164px}.issue-link{border:0;background:none;color:#237aab;text-align:left;padding:3px 0;line-height:1.6}.issue-link:hover,.text-button:hover{text-decoration:underline}.report-options label{display:grid;gap:7px;margin-bottom:14px}.report-options select{padding:11px;border:1px solid #c9dce6;border-radius:7px;background:#eef7fc}.report-section-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.report-section-options label{display:flex;align-items:center;gap:8px;margin:0;padding:8px;background:#f3f6f7}.report-section-options input{width:auto}
.schedule-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;background:#fff;border:1px solid #dce6eb;border-radius:9px;padding:14px 18px;margin-bottom:18px;font-size:12px}.schedule-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:middle}.schedule-legend .green{background:#168976}.schedule-legend .amber{background:#c88721}.schedule-legend .red{background:#c3444c}.schedule-legend .complete{background:#738895}.schedule-legend .pending{background:#bdc8cf}.schedule-legend small{display:block;width:100%;color:#738895}.report-section-options[hidden]{display:none}

/* Crew groups retain each booking, with optional detail underneath. */
.resource-timeline .resource-group{background:#f3f7f8}.resource-timeline .resource-child .gantt-label{border-left:4px solid #c4d8dc;padding-left:28px}.resource-timeline .resource-child{background:#fbfcfd}.resource-group .resource-task{font-size:16px}.resource-timeline button.gantt-bar{padding:0;border:0;min-height:0;cursor:pointer}.resource-timeline button.gantt-bar:hover{outline:2px solid #40535f;outline-offset:2px}.planning-nav{flex-wrap:wrap}.planning-window input[type=number]{width:100px}

.programme-detail{display:grid;gap:6px;font-size:11px;font-weight:600;color:#40535f}.programme-detail select{min-width:225px;background:#eef7fc}.programme-toolbar{align-items:end}.programme-outline-note{font-size:11px;color:#738895;align-self:center;max-width:175px;line-height:1.4}.programme-toggle{flex:0 0 23px;width:23px;padding:2px 0;background:transparent;border:0;color:#40535f;font-size:16px}.gantt-activity .gantt-label .name{padding-left:23px}
.schedule-summary{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:18px 20px;border:1px solid #cddde2;background:#f7fafb;border-radius:10px;margin-bottom:20px}.schedule-summary>div{flex:1;min-width:280px}.schedule-summary strong,.schedule-summary span:not(.badge){display:block}.schedule-summary strong{font-size:14px;color:#40535f}.schedule-summary span:not(.badge){font-size:12px;color:#607682;margin-top:6px}.schedule-task-meta{display:block;font-size:10px;color:#667e8c;font-weight:400;margin-top:3px}.programme-gantt .gantt-head,.programme-gantt .gantt-row{grid-template-columns:400px 1fr}.programme-gantt .gantt-label{width:400px;flex:0 0 400px}.programme-gantt .gantt-activity{min-height:58px}.programme-gantt .gantt-activity .gantt-track{height:58px}.programme-gantt .gantt-activity .gantt-bar{top:18px}.programme-gantt .gantt-activity .gantt-baseline{top:44px}.programme-gantt .gantt-activity .gantt-resource-label{top:15px}.schedule-dialog{width:min(1040px,96vw)}.schedule-dialog .modal-content{max-height:72vh}.schedule-dialog .table-wrap{max-height:36vh;margin-bottom:18px}.schedule-dialog section+section{margin-top:24px;padding-top:18px;border-top:1px solid #d8e2e7}.schedule-counts{display:flex;gap:22px;flex-wrap:wrap;margin:15px 0 18px;font-size:12px;color:#657985}.schedule-counts strong{color:#168976;font-size:20px;display:block;margin-bottom:3px}.schedule-date{font-size:12px;line-height:1.9;white-space:nowrap}.schedule-dialog details{border:1px solid #e0e7ea;border-radius:8px;padding:12px 14px;margin:12px 0;font-size:12px}.schedule-warnings{background:#fff7e8;color:#805c27}.schedule-warnings li{margin:8px 0;line-height:1.6}.dependency-editor{border:1px solid #d7e3e9;border-radius:10px;padding:0 18px 18px;grid-column:1/-1;margin-top:20px}.dependency-editor .panel-head{padding:18px 0}.dependency-row{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1.2fr) 90px 30px;gap:12px;align-items:end;margin:12px 0}.dependency-row label{font-size:11px;color:#536f7e;display:grid;gap:6px}.dependency-row select,.dependency-row input{width:100%;min-width:0;padding:10px 8px;border:1px solid #c9dce5;border-radius:6px;background:#eef7fc;color:#40535f}.dependency-row .dependency-remove{height:40px}.dependency-editor .hint{line-height:1.6;font-size:12px;color:#6b7d87}.successor-list{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:12px 0}.successor-list>strong{font-size:12px;margin-right:4px}.successor-list>span{font-size:12px;color:#6b7d87}.dependency-editor+.form-error{margin-top:14px}.schedule-summary+.programme-legend{margin-top:0}.field input[readonly]{cursor:default}#editor:has(.dependency-editor){width:min(950px,96vw)}

.financial-year-panel,.closed-records{margin-top:24px}.fy-selector{display:grid;gap:5px;font-size:11px;color:#607682}.fy-selector select{padding:8px 12px;background:#eef7fc;border:1px solid #cbdde7;border-radius:7px;color:#40535f}.fy-kpis{margin-top:8px;gap:12px}.fy-kpis .kpi{box-shadow:none;background:#f7fafb;padding:17px}.fy-kpis .kpi .value{font-size:26px}.fy-details{margin-top:18px}.fy-details summary{font-weight:600;font-size:13px;margin:12px 0}.closed-records .table-wrap{max-height:40vh}.closed-records td{color:#647984}.closed-records .panel-head{background:#f3f6f7}.closed-records td .text-button{color:#647984}.segmented{flex-wrap:wrap}#deleteProjectCode{max-width:380px}

.closed-records .badge{background:#e8edef;color:#617782}

/* Keep register descriptions and their clickable text left aligned. */
.table-wrap td.title,.table-wrap td.title .text-button{text-align:left}

.company-wordmark{font-size:20px;color:#344953}.company-logo{max-width:100%;max-height:48px;object-fit:contain}.company-field{display:grid;gap:8px;margin:14px 0}.company-field input{padding:10px;border:1px solid #cbd6dc;border-radius:7px}.company-preview{margin:20px 0;min-height:48px}.account-screen{position:fixed;inset:0;z-index:100;background:#f3f5f6;display:grid;place-items:center;padding:20px}.account-box{background:white;border:1px solid #dce5e9;border-radius:16px;padding:32px;max-width:440px;width:100%;max-height:95vh;overflow:auto}.account-box form{display:grid;gap:12px}.account-box input{padding:12px;border:1px solid #cbd6dc;border-radius:8px;width:100%}.account-social{display:grid;gap:10px;margin:16px 0}.account-error{color:#a43d45}.account-box label{display:grid;gap:6px}

/* R8 page title utilities. */
.page-title-row{display:flex;align-items:center;gap:10px;margin-bottom:8px;min-width:0}
.page-title-row h1{margin:0}
.page-info{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 32px;min-width:32px;width:32px;height:32px;min-height:32px;padding:0!important;border:1px solid #c9d8df!important;border-radius:50%!important;background:#fff!important;color:#496675!important;font-family:Georgia,serif!important;font-size:16px!important;font-weight:700!important;line-height:1!important}
.page-info:hover{background:#f2f7f9!important}
.programme-help p{margin:0;padding:12px 0;border-bottom:1px solid #edf1f3;color:#526975;font-size:14px;line-height:1.55}
.programme-help p:last-child{border-bottom:0}
