:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#173c53;background:#edf6fa}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #005fcc;outline-offset:3px}.shell{max-width:1240px;margin:auto;padding:24px 16px 56px}.topbar{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;border-radius:24px;color:#073b5b;background:linear-gradient(125deg,#d7f5ff,#f8fbff 52%,#ffefd0);border-bottom:4px solid #d4ae62}.brand-block{min-width:220px}.executive-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}.summary-item{display:grid;gap:5px;min-width:104px;padding:9px 12px;border:1px solid #bfdee9;border-radius:12px;background:#ffffffb8}.summary-item span{color:#52778a;font-size:.68rem;font-weight:800}.summary-item strong{color:#073b5b;font-size:1rem}.status-pill{width:max-content;padding:4px 8px;border-radius:999px;font-size:.75rem!important}.status-pill.good{color:#08734f;background:#daf5e8}.status-pill.watch{color:#815a06;background:#fff1cd}.status-pill.risk{color:#a13f31;background:#fee2dc}.admin-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #087e9b;border-radius:11px;color:#fff;background:#087e9b;text-decoration:none;font-weight:800;white-space:nowrap}h1,h2,p{margin-top:0}h1{margin-bottom:6px;font-size:clamp(2rem,5vw,3.5rem)}h2{font-size:1.15rem}.eyebrow{margin-bottom:8px;color:#8a5a10;font-weight:800;letter-spacing:.12em;font-size:.75rem}.controls,.panel,.metric-card{background:#fff;border:1px solid #d7e8ee;border-radius:18px;box-shadow:0 9px 26px #184d6410}.controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px;margin:20px 0 14px}.search-box{position:relative}.search-box .search{padding-right:48px}.search-button{position:absolute;top:0;right:0;width:44px;height:44px;border:0;border-radius:0 10px 10px 0;color:#fff;background:#087e9b;font-size:1.4rem;line-height:1;cursor:pointer}.search-button:hover{background:#06667f}.control span{display:block;margin-bottom:7px;color:#52778a;font-weight:800;font-size:.72rem;letter-spacing:.08em}select,input{width:100%;min-height:44px;padding:10px 12px;color:#173c53;border:1px solid #bed8e2;border-radius:10px;background:#f7fbfc}.notice{padding:13px 16px;border:1px solid #ecd39d;border-radius:13px;color:#765720;background:#fff8e8;font-size:.9rem}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.metric-card{padding:18px;border-top:4px solid #12b9c1}.metric-card:nth-child(2n){border-top-color:#d5a44a}.metric-card span,.metric-card small{display:block;color:#5b7d8d;font-size:.78rem}.metric-card strong{display:block;margin:9px 0;color:#087d99;font-size:clamp(1.55rem,3vw,2.25rem)}.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.panel{padding:19px;margin-top:16px}.comparison-grid .panel{margin-top:0}.ranking-row{display:grid;grid-template-columns:22px minmax(96px,150px) 1fr 52px;gap:9px;align-items:center;margin:12px 0;font-size:.83rem}.rank-index{color:#6d909e;font-weight:800}.rank-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track{height:12px;overflow:hidden;border-radius:999px;background:#e5f0f4}.fill{height:100%;border-radius:inherit;background:#087e9b}.fill.watch{background:#d4a14a}.fill.neutral{background:#7696a8}.fill.risk{background:#d47865}.empty-copy{color:#6d909e}.alerts-panel{display:grid;grid-template-columns:1fr repeat(2,minmax(0,.65fr));gap:14px;align-items:stretch;margin-top:16px;padding:16px 19px;border:1px solid #d7e8ee;border-radius:18px;background:#fff}.alerts-panel h2{align-self:center;margin:0}.alert-card{padding:12px;border:1px solid #d8e8ed;border-radius:12px;background:#f8fcfd}.alert-card.active{border-color:#efbaa9;background:#fff5f1}.alert-card span,.alert-card small{display:block;color:#5b7d8d;font-size:.74rem}.alert-card strong{display:block;margin:3px 0;color:#173c53;font-size:1.35rem}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-heading h2{margin-bottom:5px}.section-heading p{margin:0;color:#5b7d8d;font-size:.82rem}.heatmap-count{padding:7px 10px;border-radius:999px;color:#35677d;background:#eaf5f8;font-size:.78rem;white-space:nowrap}.heatmap-wrap{margin-top:18px}.heatmap-table{min-width:720px}.heatmap-table th:first-child{min-width:180px}.heatmap-name{position:sticky;left:0;z-index:1;color:#173c53;background:#fff;font-weight:800}.heat-cell{min-width:86px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}.heat-cell.good{color:#08734f;background:#daf5e8}.heat-cell.watch{color:#815a06;background:#fff1cd}.heat-cell.risk{color:#a13f31;background:#fee2dc}.heat-cell.empty{color:#6d909e;background:#f1f6f8}.entity-link{padding:0;border:0;color:#087e9b;background:transparent;font:inherit;font-weight:800;text-align:inherit;cursor:pointer}.entity-link:hover{color:#075d73;text-decoration:underline}.entity-link:focus-visible{outline:3px solid #005fcc;outline-offset:3px;border-radius:3px}.modal-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#06364a88}.profile-modal{position:relative;width:min(100%,680px);max-height:min(86vh,720px);overflow:auto;padding:30px;border-radius:22px;color:#173c53;background:#fff;box-shadow:0 24px 70px #062a3a66}.profile-modal h2{margin-bottom:5px;font-size:1.8rem}.profile-modal h3{margin:24px 0 12px}.profile-id{margin-bottom:20px;color:#5b7d8d}.modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:1px solid #c6dce5;border-radius:50%;color:#17516a;background:#fff;font-size:1.5rem;line-height:1;cursor:pointer}.profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-summary div{padding:13px;border:1px solid #d7e8ee;border-radius:12px;background:#f7fbfc}.profile-summary span,.profile-summary strong{display:block}.profile-summary span{color:#5b7d8d;font-size:.74rem}.profile-summary strong{margin-top:5px;font-size:.95rem}.profile-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-kpi{padding:14px;border:1px solid #d7e8ee;border-right:4px solid #7696a8;border-radius:12px;background:#fff}.profile-kpi.good{border-right-color:#149165}.profile-kpi.watch{border-right-color:#d4a14a}.profile-kpi.risk{border-right-color:#d47865}.profile-kpi span,.profile-kpi small{display:block;color:#5b7d8d;font-size:.75rem}.profile-kpi strong{display:block;margin:5px 0;color:#173c53;font-size:1.35rem}.trend-panel{min-height:260px}.trend-bars{display:flex;align-items:end;gap:16px;min-height:185px;margin-top:18px;padding:8px 4px 0;border-bottom:1px solid #d7e8ee}.trend-point{display:grid;flex:1;min-width:74px;height:185px;grid-template-rows:1fr auto auto;align-items:end;gap:6px;text-align:center}.trend-bar{width:100%;min-height:8px;border-radius:8px 8px 0 0;background:#7696a8}.trend-bar.good{background:#149165}.trend-bar.watch{background:#d4a14a}.trend-bar.risk{background:#d47865}.trend-point strong{color:#173c53;font-size:.78rem}.trend-point span{color:#5b7d8d;font-size:.74rem}.chart-grid{display:grid;grid-template-columns:.8fr 1.4fr .8fr;gap:16px;align-items:stretch}.chart-grid .panel{margin-top:0}.chart-card{min-height:230px}.dial{width:150px;height:150px;margin:18px auto 0;display:grid;place-content:center;text-align:center;border-radius:50%;background:radial-gradient(closest-side,#fff 78%,transparent 79% 100%),conic-gradient(#12b9c1 calc(var(--value) * 1%),#e5f0f4 0)}.dial strong{color:#087d99;font-size:1.65rem}.dial span{color:#5b7d8d;font-size:.72rem}.distribution{padding-top:12px}.distribution-row{display:grid;grid-template-columns:90px 1fr 28px;gap:10px;align-items:center;margin:17px 0;color:#52778a;font-size:.78rem}.distribution-row b{color:#173c53;text-align:left}.insight{display:flex;flex-direction:column;justify-content:center;min-height:230px;padding:24px;color:#fff;border-radius:18px;background:linear-gradient(140deg,#073b5b,#087e9b);box-shadow:0 10px 28px #06364a26}.insight span{color:#b9e8ef;font-size:.78rem}.insight strong{margin:11px 0;font-size:1.1rem}.insight b{color:#ffe2a1;font-size:2rem}.table-wrap{overflow:auto}table{width:100%;min-width:850px;border-collapse:collapse}th,td{padding:11px 9px;border-bottom:1px solid #e5eef2;text-align:left;font-size:.82rem}th{position:sticky;top:0;background:#eaf5f8;color:#35677d;font-size:.72rem}.number{font-variant-numeric:tabular-nums}.primary,.secondary{min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:11px;font-weight:800;cursor:pointer}.primary{color:#fff;background:#087e9b}.secondary{color:#17516a;border-color:#c6dce5;background:#fff}.login-shell{display:grid;min-height:100vh;place-items:center;padding:20px}.login-card{width:min(100%,410px);padding:30px;border:1px solid #d7e8ee;border-radius:22px;background:#fff;box-shadow:0 12px 36px #184d6420}.login-card input,.login-card button{margin-top:12px}.form-status{min-height:24px;margin:16px 0 0;color:#52778a;font-size:.85rem}.admin-shell{display:grid;min-height:100vh;place-items:center;padding:20px}.admin-card{width:min(100%,560px);padding:32px;border:1px solid #d7e8ee;border-radius:22px;background:#fff;box-shadow:0 12px 36px #184d6420}.admin-card input,.admin-card button,.admin-card a{display:block;width:100%;margin-top:14px}.admin-card a{color:#087e9b;text-align:center;font-weight:800}.template-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.template-actions .secondary{width:auto}.upload-label{display:block;margin-top:14px;color:#35677d;font-size:.86rem;font-weight:800}.upload-label input{margin-top:7px}@media(max-width:760px){.topbar{align-items:flex-start;padding:22px}.executive-summary{justify-content:flex-start}.controls,.cards,.comparison-grid,.alerts-panel,.profile-summary,.profile-kpis,.chart-grid{grid-template-columns:1fr}.search{grid-column:1 / -1}.ranking-row{grid-template-columns:22px 90px 1fr 44px}}@media(max-width:480px){.topbar{flex-direction:column}.controls,.cards{grid-template-columns:1fr}.search{grid-column:auto}}
