/* Company portfolio dashboard based on the supplied PDF reference. */
.home-dashboard{display:grid;gap:12px}.home-welcome{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-height:154px;padding:22px 25px;background:linear-gradient(110deg,rgba(255,255,255,.97),rgba(250,249,246,.88)),url('/construction.png') center/cover;border:1px solid #e4e2dc;border-radius:9px;overflow:hidden}.home-welcome:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 30%,rgba(255,255,255,.7));pointer-events:none}.home-welcome>div{position:relative;z-index:1}.home-welcome h1{margin:5px 0;color:#22292f;font-size:26px}.home-welcome p{margin:0;color:#7a838a;font-size:12px}.home-eyebrow{color:#ad8b50;font-size:10px;font-weight:700;letter-spacing:.05em}.home-welcome-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.home-welcome-actions button{font-size:10px}.home-welcome-actions button b{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-inline-start:3px;border-radius:50%;background:#c96a5d;color:#fff;font-size:9px}
.home-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.home-kpi{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-height:91px;padding:11px 12px;background:#fff;border:1px solid #efede7;border-radius:8px;box-shadow:0 5px 18px rgba(34,41,47,.04);border-top:3px solid #ad8b50}.home-kpi.blue{border-top-color:#9a9ea0}.home-kpi.green{border-top-color:#ad8b50}.home-kpi.amber{border-top-color:#c2a470}.home-kpi.red{border-top-color:#c96a5d}.home-kpi.slate{border-top-color:#9a9ea0}.home-kpi-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#efede7;color:#ad8b50;font-size:17px}.home-kpi small,.home-kpi strong,.home-kpi em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-kpi small{color:#7a838a;font-size:9px}.home-kpi strong{margin-top:4px;color:#2e363d;font-size:19px;line-height:1.1}.home-kpi em{margin-top:4px;color:#9a9ea0;font-size:8px;font-style:normal}
.home-main-grid,.home-second-grid,.home-bottom-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:12px}.home-second-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-bottom-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.home-dashboard .panel{min-width:0}.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px 9px;border-bottom:1px solid #efede7}.home-section-head h2{margin:0;color:#2e363d;font-size:14px}.home-section-head .link{font-size:10px;text-decoration:none;color:#806331}.home-feature{overflow:hidden;padding:0}.home-feature-image{height:163px;background:linear-gradient(0deg,rgba(34,41,47,.55),rgba(34,41,47,0) 55%),url('/construction.png') center/cover;display:flex;align-items:flex-end;padding:13px 16px;color:#fff;font-size:10px}.home-feature-copy{display:flex;justify-content:space-between;gap:15px;padding:12px 16px 7px}.home-feature-copy h2{margin:3px 0;color:#2e363d;font-size:19px}.home-feature-copy p{margin:0;color:#7a838a;font-size:10px}.home-feature-progress{min-width:170px;align-self:center}.home-feature-progress strong,.home-feature-progress span{display:block;text-align:end}.home-feature-progress strong{color:#96753f;font-size:22px}.home-feature-progress span{color:#9a9ea0;font-size:9px}.home-track,.home-mini-track{display:block;overflow:hidden;background:#efede7;border-radius:10px}.home-track{height:7px;margin-top:6px}.home-track i,.home-mini-track i{display:block;height:100%;background:#ad8b50;border-radius:inherit}.home-feature-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 7px;border-top:1px solid #efede7}.home-feature-facts span{display:grid;gap:3px;min-width:0;padding:0 9px;border-inline-end:1px solid #efede7}.home-feature-facts span:last-child{border:0}.home-feature-facts small{color:#9a9ea0;font-size:8px}.home-feature-facts strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#414a52;font-size:11px}.home-alerts,.home-status-panel,.home-upcoming,.home-projects-panel,.home-bottom-grid .panel{overflow:hidden;padding:0}.home-record{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #efede7;background:#fff;text-align:start}.home-record:hover{background:#faf9f6}.home-record-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;background:#efede7;color:#96753f;font-size:11px}.home-record>span:nth-child(2){display:grid;min-width:0}.home-record strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#414a52;font-size:10px}.home-record small{display:block;color:#9a9ea0;font-size:8px}.home-record>span:last-child{display:grid;justify-items:end;gap:3px}.home-record .badge{font-size:8px}.home-empty{padding:18px 15px;color:#9a9ea0;font-size:10px}.home-ring-wrap{display:grid;grid-template-columns:155px minmax(0,1fr);align-items:center;gap:14px;padding:17px}.home-ring{display:grid;place-items:center;width:138px;height:138px;margin:auto;border-radius:50%;background:conic-gradient(#ad8b50 var(--home-progress),#efede7 0);position:relative}.home-ring:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff}.home-ring span{position:relative;z-index:1;display:grid;text-align:center}.home-ring strong{color:#2e363d;font-size:19px}.home-ring small{color:#9a9ea0;font-size:9px}.home-bars{display:grid;gap:11px}.home-bars>div{display:grid;grid-template-columns:minmax(80px,1fr) 24px;gap:6px;align-items:center;color:#7a838a;font-size:9px}.home-bars b{color:#414a52;font-size:10px}.home-bars i{grid-column:1/-1;height:5px;overflow:hidden;background:#efede7;border-radius:5px}.home-bars i em{display:block;height:100%;background:#ad8b50;border-radius:inherit}.home-due{display:grid;grid-template-columns:72px minmax(0,1fr);gap:4px 9px;padding:10px 14px;border-bottom:1px solid #efede7}.home-due>span{grid-row:1/3;align-self:center;padding:5px 4px;border-radius:4px;background:#efede7;color:#96753f;text-align:center;font-size:9px}.home-due button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start;font-size:10px}.home-due small{color:#9a9ea0;font-size:8px}.home-projects-tools{display:flex;justify-content:space-between;gap:8px;padding:10px 14px;background:#faf9f6;border-bottom:1px solid #efede7}.home-projects-tools input{flex:1;min-width:120px;height:31px;font-size:10px}.home-projects-tools button{font-size:10px}.home-table-wrap{overflow:auto}.home-table{width:100%;border-collapse:collapse;min-width:670px}.home-table th{padding:8px 10px;background:#f6f5f1;color:#7a838a;font-size:9px;text-align:start}.home-table td{padding:9px 10px;border-bottom:1px solid #efede7;color:#5b656d;font-size:9px;vertical-align:middle;white-space:nowrap}.home-table tr.current{background:#faf9f6}.home-table td:nth-child(2){min-width:185px}.home-table td:nth-child(2) small{display:block;color:#ad8b50;font-size:8px}.home-open{padding:3px 7px;border:0;background:transparent;color:#96753f;font-size:9px}.home-status{display:inline-block;padding:4px 7px;border-radius:11px;background:#efede7;color:#5b656d;font-size:8px}.home-status.blue{background:#efede7;color:#7a838a}.home-mini-track{display:inline-block;width:54px;height:5px;margin-inline-start:4px;vertical-align:middle}.home-finance>div:not(.home-section-head){display:grid;grid-template-columns:1fr auto;gap:5px;padding:9px 15px;border-bottom:1px solid #efede7;color:#7a838a;font-size:10px}.home-finance strong{color:#414a52}.home-finance i{grid-column:1/-1;height:5px;overflow:hidden;background:#efede7;border-radius:5px}.home-finance i em{display:block;height:100%;background:#ad8b50;border-radius:inherit}.home-note{margin:12px 15px 15px;color:#9a9ea0;font-size:9px;line-height:1.6}
@media(max-width:1250px){.home-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.home-main-grid,.home-second-grid,.home-bottom-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.home-welcome{align-items:flex-start;flex-direction:column}.home-main-grid,.home-second-grid,.home-bottom-grid{grid-template-columns:1fr}.home-feature-facts{grid-template-columns:repeat(2,1fr);gap:9px}.home-feature-facts span:nth-child(2){border:0}.home-ring-wrap{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:560px){.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.home-welcome h1{font-size:21px}.home-feature-copy{display:grid}.home-feature-progress{min-width:0}.home-feature-progress strong,.home-feature-progress span{text-align:start}.home-ring-wrap{grid-template-columns:1fr}.home-ring{width:125px;height:125px}.home-welcome-actions{width:100%}}
@media(max-width:380px){.home-kpis{grid-template-columns:1fr}}
@media print{.home-welcome-actions,.home-projects-tools,.home-section-head .link{display:none!important}.home-welcome{min-height:90px}.home-kpis{grid-template-columns:repeat(3,1fr)}.home-main-grid,.home-second-grid,.home-bottom-grid{grid-template-columns:1fr 1fr}.home-panel{box-shadow:none}}

/* Page 5 has one welcome header and keeps the project register beside upcoming work. */
.shell:has(#content.home-dashboard)>.page-hero{display:none}
.home-dashboard{grid-template-columns:minmax(215px,1fr) minmax(0,2.35fr)}
.home-dashboard>.home-welcome,.home-dashboard>.home-kpis,.home-dashboard>.home-main-grid,.home-dashboard>.home-bottom-grid{grid-column:1/-1}
.home-dashboard>.home-second-grid{grid-column:1;grid-row:4;align-self:start}
.home-dashboard>.home-projects-panel{grid-column:2;grid-row:4;align-self:start}
@media(max-width:1250px){.home-dashboard{grid-template-columns:minmax(0,1fr)}.home-dashboard>.home-second-grid,.home-dashboard>.home-projects-panel{grid-column:1;grid-row:auto}}
@media print{.home-dashboard{grid-template-columns:minmax(0,1fr)}.home-dashboard>.home-second-grid,.home-dashboard>.home-projects-panel{grid-column:1;grid-row:auto}}

/* Page 5 places distribution, the feature and the attention rail together. */
.home-main-grid{grid-template-columns:minmax(205px,.9fr) minmax(0,1.45fr) minmax(215px,1fr);align-items:stretch}
.home-main-grid>.home-alerts{order:1}.home-main-grid>.home-feature{order:2}.home-main-grid>.home-status-panel{order:3}
.home-main-grid .home-ring-wrap{grid-template-columns:1fr;gap:14px;padding:16px}
.home-second-grid{grid-template-columns:1fr}
.home-eyebrow,.home-welcome-actions button,.home-section-head .link{font-size:11px}
.home-kpi small{font-size:11px}.home-kpi em{font-size:11px}.home-kpi strong{font-size:21px}
.home-section-head h2{font-size:15px}.home-feature-image{font-size:11px}
.home-feature-copy p,.home-feature-progress span,.home-feature-facts small{font-size:11px}
.home-feature-facts strong{font-size:12px}.home-feature-facts{padding:12px 5px}
.home-record strong,.home-due button{font-size:12px}.home-record small,.home-record .badge,.home-due small,.home-due>span{font-size:11px}
.home-record{padding:11px 13px}.home-record>span:last-child{max-width:100px}
.home-ring small,.home-bars>div,.home-bars b{font-size:11px}
.home-empty,.home-table th,.home-table td,.home-table td:nth-child(2) small,.home-open,.home-status,.home-note{font-size:11px}
.home-projects-tools input,.home-projects-tools button,.home-finance>div:not(.home-section-head){font-size:12px}
.home-table th{font-weight:600}.home-table td{padding:11px 10px}
@media(max-width:1250px){.home-main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.home-main-grid>.home-status-panel{grid-column:1/-1}.home-main-grid .home-ring-wrap{grid-template-columns:155px minmax(0,1fr)}.home-second-grid{grid-template-columns:1fr}}
@media(max-width:850px){.home-main-grid{grid-template-columns:1fr}.home-main-grid>.home-feature{order:1}.home-main-grid>.home-alerts{order:2}.home-main-grid>.home-status-panel{grid-column:auto}.home-second-grid{grid-template-columns:1fr}.home-feature-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-kpi em{white-space:normal;line-height:1.4}}
@media(max-width:480px){.home-main-grid .home-ring-wrap{grid-template-columns:1fr}.home-kpi{grid-template-columns:27px minmax(0,1fr);gap:6px;padding:11px 9px}.home-kpi-icon{width:27px;height:27px}.home-kpi small{white-space:normal;line-height:1.4}.home-kpi strong{font-size:19px}}
@media print{.home-main-grid{grid-template-columns:1fr 1.4fr 1fr}.home-main-grid>.home-status-panel{grid-column:auto}.home-main-grid .home-ring-wrap{grid-template-columns:1fr}.home-second-grid{grid-template-columns:1fr}.home-kpi small,.home-kpi em{font-size:9px}.home-table td,.home-table th{font-size:9px}}
