/* Scoped prototype: other product pages retain their current layout pending review. */
.home-preview{--home-teal:#087f83;--home-navy:#172e49;--home-muted:#738498;--home-line:#e6edf3;background:#f3f7fb}.shell .side{background:linear-gradient(170deg,#1b3553,#132940);padding:23px 14px;overflow-y:auto;scrollbar-width:thin}.shell .side .brand{font-size:29px}.shell .side>small{font-size:10px}.shell .nav{gap:3px;margin-top:25px}.shell .nav button{display:flex;align-items:center;gap:10px;font-size:12px;padding:10px 12px;border-radius:7px;color:#d0dfec;line-height:1.65}.shell .nav button svg{width:17px;height:17px;flex-shrink:0}.shell .nav button.active{background:#0b858a;border:0;box-shadow:0 4px 12px #051b2633}.shell .side footer{font-size:10px;padding-top:20px}.home-preview .main{padding:0 26px 26px}.home-preview .top{background:#fff;margin:0 -26px 24px;padding:15px 26px;border-bottom:1px solid var(--home-line)}.home-preview .top strong{font-size:13px}.home-preview .avatar{height:33px;width:33px;background:#ecf1f6;color:#415e7a}.home-preview .top .muted{font-size:11px}.home-dashboard svg{width:20px;height:20px;flex-shrink:0}.home-heading{margin-bottom:8px;align-items:center}.home-heading h1{font-size:25px;color:#172e49;margin:3px 0}.home-heading p{margin:3px 0;font-size:12px}.home-kicker{font-size:10px;color:#738498;font-weight:500}.home-primary{background:#087f83;color:white;border-radius:7px;font-size:12px;padding:10px 18px}.home-date{display:flex;align-items:center;gap:7px;color:#7b8c9d;font-size:11px;margin:0 0 20px}.home-live{width:6px;height:6px;border-radius:50%;background:#16a494}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.home-metric{display:flex;align-items:center;gap:13px;border:1px solid #e6edf3;background:white;border-radius:10px;color:#52677c;padding:18px 15px;text-align:right;box-shadow:0 3px 9px #25446703;font-weight:400;min-width:0}.home-metric>svg{width:14px;color:#9eacba;margin-right:auto}.home-metric-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;flex-shrink:0}.home-metric-body{display:flex;flex-direction:column;min-width:0;gap:2px}.home-metric-body>span{font-size:11px;font-weight:600}.home-metric strong{font-size:29px;line-height:1.3;color:#1c3650}.home-metric small{font-size:10px;font-weight:400;color:#8090a0}.home-metric.teal .home-metric-icon{color:#138d84;background:#e8f7f2}.home-metric.blue .home-metric-icon{color:#417fb1;background:#eef5fd}.home-metric.amber .home-metric-icon{color:#c08b39;background:#fff6e6}.home-metric.violet .home-metric-icon{color:#7982b9;background:#f1f2fb}.home-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:stretch}.home-panel{background:white;border:1px solid #e5edf4;border-radius:11px;padding:20px;min-width:0}.home-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.home-panel-head h2{font-size:16px;color:#243c55;margin:2px 0}.home-text{display:inline-flex;align-items:center;gap:3px;background:none;color:#17858e;font-size:10px;padding:4px 0;white-space:nowrap}.home-text svg{width:14px;height:14px}.home-tabs{display:flex;border-bottom:1px solid #edf1f5;gap:17px;margin-bottom:5px}.home-tabs button{display:flex;align-items:center;gap:7px;border-radius:0;background:none;color:#8090a0;font-size:11px;padding:7px 0 11px;border-bottom:2px solid transparent}.home-tabs button[aria-pressed=true]{border-color:#168d90;color:#087f83}.home-tabs button span{font-size:10px;background:#f0f4f7;border-radius:5px;padding:0 5px;min-width:20px}.home-tabs button[aria-pressed=true] span{background:#e7f5f3;color:#087f83}.home-table{width:100%;border-collapse:collapse;text-align:right;table-layout:fixed}.home-table th{color:#8a98a7;font-weight:400;font-size:10px;padding:12px 5px}.home-table th:first-child{width:49%}.home-table th:nth-child(2){width:21%}.home-table th:last-child{width:30px}.home-table td{padding:13px 5px;border-bottom:1px solid #edf2f6;font-size:11px;vertical-align:middle}.home-table tr:last-child td{border:0}.home-table td strong{display:block;font-weight:500;color:#304961;font-size:12px;overflow-wrap:anywhere;line-height:1.7}.home-table td small{display:block;color:#92a1af;font-size:10px;margin-top:3px}.home-table bdi{font-size:10px;color:#75889a}.home-status{display:inline-block;font-size:10px;padding:3px 7px;border-radius:5px;background:#eff3f7;color:#738699;line-height:1.5}.home-status.late,.home-status.needs_changes{background:#fff0eb;color:#bb7056}.home-status.pending{background:#fff5df;color:#a6813e}.home-status.approved{background:#e9f7ef;color:#338c65}.home-status.in_progress{background:#eaf4fe;color:#5488b8}.home-open{background:none;color:#8c9eae;display:grid;place-items:center;padding:5px;width:28px;height:32px;border-radius:6px}.home-open svg{width:16px;height:16px}.home-open:hover{background:#eaf5f4;color:#087f83}.home-legend{display:flex;gap:16px;color:#8c9aa8;font-size:10px;margin:0 0 12px}.home-legend span{display:flex;gap:5px;align-items:center}.home-legend i{background:#1aa49a;width:7px;height:7px;border-radius:2px}.home-legend span+span i{background:#e9f0f5}.home-plan{display:block;width:100%;text-align:right;background:none;padding:13px 0;color:#324d63;border-radius:0;border-bottom:1px solid #f0f3f6;font-weight:400}.home-plan:last-child{border:0}.home-plan>div:first-child,.home-plan>small{display:flex;justify-content:space-between;gap:12px;align-items:center}.home-plan strong{font-size:12px;font-weight:500;line-height:1.7}.home-plan b{font-size:13px;color:#148b83;white-space:nowrap}.home-track{height:8px;background:#e9f0f5;margin:10px 0 7px;border-radius:5px;overflow:hidden}.home-track span{display:block;height:100%;background:linear-gradient(90deg,#57bcae,#0c9290);border-radius:5px}.home-plan small{font-size:10px;color:#95a3b0}.home-footnote{font-size:10px;color:#91a0af;margin:14px 0 0;line-height:1.8}.home-shortcuts{display:flex;align-items:center;gap:12px;margin-top:19px;flex-wrap:wrap}.home-shortcuts>span{color:#8b9ba9;font-size:11px;margin-left:5px}.home-shortcuts button{display:flex;gap:8px;align-items:center;font-size:11px;color:#587084;background:white;border:1px solid #e6edf3;border-radius:7px;font-weight:500;padding:9px 12px}.home-shortcuts svg{width:15px;height:15px;color:#548c95}.home-shortcuts button svg:last-child{width:12px;margin-right:8px;color:#a1adba}.home-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:245px;text-align:center;padding:25px 15px;color:#8498a8}.home-empty>svg{width:34px;height:34px;color:#75b1ac;margin-bottom:14px}.home-empty strong{font-weight:500;font-size:13px;color:#5a7488}.home-empty p{font-size:11px}.home-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.home-dialog-list{max-height:65vh;overflow:auto}.home-preview .home-dashboard button:focus-visible{outline:2px solid #147f88;outline-offset:3px}
@media(min-width:1101px){.shell{grid-template-columns:216px minmax(0,1fr)}}@media(max-width:1150px){.home-metric{gap:8px;padding:15px 11px}.home-metric-icon{width:30px;height:34px}.home-metric>svg{display:none}.home-metric small{font-size:9px}.home-columns{grid-template-columns:1fr}.home-plan-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px}}@media(max-width:700px){.home-preview .main{padding:0 15px 24px}.home-preview .top{margin:0 -15px 20px;padding:13px 15px}.home-heading{align-items:flex-start}.home-heading h1{font-size:23px}.home-heading .actions{width:auto}.home-metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.home-metric{padding:14px 11px;min-height:112px;align-items:flex-start}.home-metric strong{font-size:27px}.home-metric small{font-size:10px;line-height:1.6}.home-metric-body>span{font-size:11px}.home-metric-icon{width:28px;height:30px}.home-metric-icon svg{width:18px;height:18px}.home-panel{padding:15px 13px}.home-columns{gap:14px}.home-panel-head h2{font-size:15px}.home-tabs{gap:15px}.home-table th:first-child{width:43%}.home-table th:nth-child(2){width:23%}.home-table th:last-child{width:26px}.home-table td strong{font-size:11px}.home-table td,.home-table th{padding-right:3px;padding-left:3px}.home-status{font-size:9px;padding:4px}.home-plan-list{display:block}.home-shortcuts{gap:8px}.home-shortcuts>span{width:100%}.home-shortcuts button{flex:1 1 42%;justify-content:space-between}.home-date{flex-wrap:wrap;font-size:10px}.shell .side{width:260px}.home-empty{min-height:200px}}
/* Desktop: five compact dashboard metrics in one aligned row. */
@media(min-width:901px){
 .home-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
 .home-metric{padding:12px 10px;gap:8px;align-items:flex-start;min-height:108px}
 .home-metric-icon{width:28px;height:30px;border-radius:8px}
 .home-metric-icon svg{width:17px;height:17px}
 .home-metric>svg{display:none}
 .home-metric strong{font-size:25px;line-height:1.3}
 .home-metric-body{flex:1;gap:3px}
 .home-metric-body>span{font-size:11px;line-height:1.5}
 .home-metric small{font-size:10px;line-height:1.6;overflow-wrap:anywhere}
}

.king-planning-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.king-path-card{background:white;border:1px solid #d7e5e1;border-top:4px solid #17867c;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px}.king-path-title{display:flex;align-items:center;gap:10px}.king-path-title svg{width:26px;height:26px;color:#17867c;flex-shrink:0}.king-path-title h2{font-size:18px;margin:0}.king-path-number{font-size:32px;color:#126b66}.king-path-card p{margin:0}.king-path-card small{color:#526c67;line-height:1.7}.king-path-card ul{padding-inline-start:20px;font-size:13px;margin:0}.king-path-card button{margin-top:auto;align-self:flex-start}.king-gap-scroll{overflow:auto}.king-gap-scroll table{min-width:620px}@media(max-width:900px){.king-planning-path{grid-template-columns:1fr}}

.king-document-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 22px}.king-document-shortcuts>a,.king-document-shortcuts>.king-document-unavailable{display:flex;align-items:center;gap:10px;padding:13px 18px;background:#fff;border:1px solid #cddfd9;border-radius:10px;text-decoration:none;color:#175c56;font-weight:700;font-size:15px}.king-document-shortcuts>a:hover{background:#eaf5f1;border-color:#17867c}.king-document-shortcuts svg{width:21px;height:21px;flex-shrink:0}.king-document-shortcuts>a>svg:last-child{width:16px}.king-document-unavailable{opacity:.55}@media(max-width:600px){.king-document-shortcuts{gap:8px}.king-document-shortcuts>a{flex:1 1 100%;padding:11px 14px}}
