:root{color-scheme:light;--navy:#102b43;--navy2:#183d57;--teal:#167d80;--teal-dark:#116b6d;--mint:#dff5ee;--bg:#f4f7f9;--white:#fff;--text:#183247;--muted:#667f8e;--border:#e2eaef;--warn:#925b16;--warn-bg:#fff6e5;--success:#18785d;--danger:#bb4b53;--shadow:0 5px 22px rgba(27,61,78,.06);font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}a{color:var(--teal)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3fb5aa;outline-offset:2px}.hidden{display:none!important}.app{min-height:100svh;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.masthead{background:linear-gradient(105deg,#0b3047,#154962);color:white;position:sticky;top:0;z-index:30;box-shadow:0 3px 16px #0c32422b}.masthead-inner{max-width:1100px;margin:auto;display:flex;align-items:center;gap:12px;padding:13px 18px}.brandmark{width:41px;height:41px;border-radius:12px;background:linear-gradient(145deg,#53c0bb,#158a91);display:grid;place-items:center;font-weight:900;font-size:18px;color:white;letter-spacing:-1px;box-shadow:inset 0 0 0 1px #ffffff46}.brand-text{flex:1;display:flex;flex-direction:column;gap:2px;line-height:1.15}.brand-text span{font-size:10px;letter-spacing:1px;opacity:.76;font-weight:700}.brand-text b{font-size:14px;letter-spacing:.2px}.icon-button{width:42px;height:42px;display:grid;place-items:center;border:1px solid #ffffff4d;border-radius:12px;color:white;background:#ffffff18}.icon-button svg{width:22px;height:22px}.icon-button.busy svg{animation:spin 1.3s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-container{max-width:1100px;margin:auto;padding:0 18px 24px}.context-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0 12px;color:var(--muted);font-size:11px}.context-time{display:inline-flex;align-items:center;gap:7px;font-weight:750}.status-dot{width:8px;height:8px;background:#d69e39;border-radius:50%;box-shadow:0 0 0 4px #ffe7b9}.status-dot.live{background:#1b9e79;box-shadow:0 0 0 4px #d5f6e9}.status-dot.error{background:#c97949;box-shadow:0 0 0 4px #ffebdf}#last-updated{font-size:10px;text-align:right}.page-intro{margin:7px 0 18px}.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:850;color:#1d8384;margin:0 0 8px}.page-intro h1{font-size:25px;line-height:1.17;letter-spacing:-.7px;margin:0 0 8px;color:#112f44}.page-intro>p:last-child{font-size:12px;line-height:1.65;color:var(--muted);margin:0}.view-controls{display:grid;grid-template-columns:1fr 150px;gap:8px 12px;align-items:center;margin:14px 0 17px}.input-label{display:none}.select-styled,.text-input{appearance:none;-webkit-appearance:none;width:100%;color:var(--text);background:#fff;border:1px solid #d9e4e9;border-radius:11px;padding:12px 38px 12px 13px;font-size:12px;font-weight:750;box-shadow:0 2px 8px #1b385008}.select-styled{background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" stroke="%23537383" stroke-width="2" viewBox="0 0 12 12"%3E%3Cpath d="m2 4 4 4 4-4"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 13px center}.score-hero{background:linear-gradient(130deg,#0e3a52 0%,#12566a 58%,#207c7a 100%);color:#fff;border-radius:21px;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;overflow:hidden;box-shadow:0 9px 25px #0a4a6352}.score-hero:before,.score-hero:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #ffffff18;border-radius:50%;right:-50px;top:-170px}.score-hero:after{width:200px;height:200px;right:50px;top:85px}.score-left,.score-donut{position:relative;z-index:1}.score-kicker{font-size:10px;color:#c0e6ea;font-weight:800;letter-spacing:.7px;margin:0 0 4px}.score-value{display:flex;align-items:baseline;gap:9px}.score-value strong{font-size:55px;line-height:1.2;letter-spacing:-2px}.score-value span{font-size:16px;color:#b8dcdf;font-weight:700}.score-subtitle{font-size:11px;color:#d0e9e9;line-height:1.55;margin:1px 0 14px;max-width:360px}.hero-button{border:1px solid #ffffffa3;background:#ffffff20;border-radius:9px;padding:8px 12px;color:white;font-size:11px;font-weight:800}.hero-button:disabled{opacity:.6;cursor:wait}.score-donut{flex:0 0 116px;width:116px;height:116px;border-radius:50%;background:conic-gradient(#7ee2c5 calc(var(--progress) * 1%),#ffffff31 0);display:grid;place-items:center}.score-donut>div{width:91px;height:91px;border-radius:50%;background:#10475a;display:grid;align-content:center;justify-items:center;gap:3px}.score-donut strong{font-size:28px;line-height:1;font-weight:850}.score-donut small{font-size:10px;color:#b6e6e2}.banner{border-radius:12px;margin:14px 0;padding:11px 12px;font-size:11px;line-height:1.6;border:1px solid;display:flex;gap:8px;align-items:flex-start}.banner-amber{border-color:#f2dcbb;background:var(--warn-bg);color:var(--warn)}.banner-green{border-color:#cce8dc;background:#e8f8ef;color:#13745b}.banner-blue{border-color:#d0e7ef;background:#edf8fa;color:#306377}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.mini-stat{border:1px solid var(--border);background:#fff;border-radius:14px;padding:13px 15px;box-shadow:var(--shadow);min-width:0}.mini-stat label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px;line-height:1.4}.mini-stat strong{font-size:23px;letter-spacing:-.8px;color:#173a4e;line-height:1.15}.mini-stat small{display:block;font-size:10px;color:#91a0a8;margin-top:5px}.section-title{margin:27px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title h2{font-size:18px;letter-spacing:-.35px;margin:0}.section-title>span{font-size:11px;color:#308a85;font-weight:850;background:#e1f4f0;border-radius:99px;padding:6px 10px}.link-button{border:0;background:transparent;color:var(--teal);font-weight:800;font-size:11px}.groups-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.group-card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:15px;box-shadow:var(--shadow);text-align:left;min-width:0;display:flex;flex-direction:column;gap:10px;transition:border .15s,transform .15s}.group-card:hover{transform:translateY(-2px);border-color:#9dd3c8}.group-card-header{display:flex;align-items:center;justify-content:space-between;gap:5px}.num-chip{background:#e0f3ef;color:#147b77;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:900}.max-chip{color:#8293a0;font-size:10px}.group-card h3{font-size:12px;color:#243f4e;margin:0;min-height:32px;line-height:1.4}.card-score strong{font-size:25px;color:#133e54;letter-spacing:-1px}.card-score span{font-size:11px;color:#96a4b0;margin-left:5px}.progress-track{background:#e9f0f4;border-radius:8px;height:7px;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:8px;background:linear-gradient(90deg,#17869b,#31b6a0)}.card-bottom{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.highlight-card{border:1px solid var(--border);background:#fff;border-radius:13px;padding:14px 16px;display:flex;align-items:center;gap:14px;margin-bottom:9px;box-shadow:var(--shadow)}.highlight-rank{width:34px;height:34px;border-radius:10px;background:#e8f4f2;color:#188375;font-size:13px;display:grid;place-items:center;font-weight:900;flex-shrink:0}.highlight-text{min-width:0;flex:1}.highlight-text strong{font-size:12px;display:block;line-height:1.5}.highlight-text small{font-size:11px;color:var(--muted);display:block;line-height:1.5;margin-top:3px}.highlight-points{font-size:14px;font-weight:850;color:#b17223;white-space:nowrap}.footnote,.help-text{font-size:11px;line-height:1.65;color:var(--muted)}.footnote{margin:17px 0}.group-tabs{display:flex;gap:8px;overflow-x:auto;margin:10px -18px 16px;padding:0 18px 7px;scrollbar-width:none}.group-tabs button{border:1px solid var(--border);background:#fff;color:#456477;border-radius:11px;padding:10px 13px;flex:0 0 auto;font-size:12px;font-weight:800;min-width:95px}.group-tabs button.active{background:#116f75;border-color:#116f75;color:white}.panel{background:#fff;border:1px solid var(--border);border-radius:15px;padding:17px;box-shadow:var(--shadow);margin:14px 0}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.panel h2,.panel h3{font-size:15px;margin:0;line-height:1.4}.panel-header .label-pill{white-space:nowrap}.label-pill{background:#e9f6f3;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:800;color:#168276}.label-pill.amber{background:#fff1d8;color:#91611c}.panel-foot{margin:10px 0 0;color:#778b96;font-size:10px;line-height:1.6}.group-hero{border:1px solid #d9e7e9;border-radius:16px;padding:18px;background:linear-gradient(110deg,#edf9f7,#fff);display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}.group-hero small{font-size:10px;letter-spacing:.6px;color:#16867b;font-weight:800}.group-hero h2{font-size:17px;line-height:1.4;margin:6px 0}.group-hero .points{font-weight:900;white-space:nowrap;font-size:26px;letter-spacing:-.7px;color:#135b67}.group-hero .points span{font-size:13px;color:#7c9998}.chip-row{display:flex;flex-wrap:wrap;gap:7px}.muted-chip{font-size:10px;color:#527081;border:1px solid #dfebef;background:#f3f8fa;border-radius:7px;padding:7px 9px}.metric-row{padding:13px 0;border-bottom:1px solid #eef2f4}.metric-row:last-child{border:0}.metric-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.metric-top h3{font-size:12px;font-weight:750;line-height:1.5;margin:0;flex:1}.metric-points{font-size:13px;font-weight:900;color:#185f75;white-space:nowrap}.metric-points.muted{color:#98a9b2}.metric-meta{font-size:11px;color:#778a97;line-height:1.6;margin:6px 0}.metric-row .progress-track{height:6px}.quality-note{display:block;color:#94671c;font-size:10px;margin:8px 0 0;line-height:1.5}.formula-note{display:block;color:#208169;font-size:10px;margin:7px 0 0}.formula-note.error{color:#be5b53}.metric-detail{font-size:11px;color:#6e8693;margin:9px 0 0}.kpi-details{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:0}.kpi-details>div{background:#f7fafb;padding:12px;border-radius:10px}.kpi-details dt{font-size:10px;color:#7b8e9c}.kpi-details dd{font-size:18px;font-weight:850;margin:5px 0 0}.rank-controls{display:grid;grid-template-columns:1fr 1fr;gap:11px}.rank-controls label span{display:block;font-size:10px;font-weight:750;color:var(--muted);margin-bottom:7px}.rank-list{display:grid;gap:7px}.rank-row{width:100%;text-align:left;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--border);background:white;padding:10px 13px;border-radius:12px;color:inherit;box-shadow:0 2px 9px #143d4c08}.rank-row.focus{background:#eaf8f1;border-color:#abdbc7}.rank-no{background:#f0f5f7;border-radius:8px;padding:8px 4px;color:#718a99;font-size:12px;font-weight:900;text-align:center}.rank-row.focus .rank-no{color:#116d5b;background:#d0f1e3}.rank-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.rank-row small{font-size:10px;color:#91a2ae;display:block;margin-top:3px}.rank-point{font-size:14px;font-weight:900;color:#22516c;white-space:nowrap}.rank-point small{display:inline;font-weight:500}.rank-focused{display:flex;justify-content:space-between;gap:11px;align-items:center}.rank-focused b{font-size:24px;color:#168174}.rank-focused h3{font-size:12px;margin:0 0 5px}.trend-group{display:grid;gap:11px}.trend-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #eef3f5;font-size:11px}.trend-row:last-child{border:0}.trend-row strong{font-size:12px}.trend-positive{color:#168268}.trend-negative{color:#ba5357}.trend-flat{color:#8896a0}.trend-bars{display:flex;align-items:flex-end;gap:7px;height:110px;padding:10px 4px 0}.trend-bar-wrap{display:flex;flex-direction:column;align-items:center;gap:5px;flex:1}.trend-bar{width:100%;max-width:36px;min-height:2px;border-radius:5px 5px 0 0;background:linear-gradient(#26a9a1,#1b737f)}.trend-bar-wrap small{font-size:9px;color:#7b93a1}.export-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.outline-button,.wide-button{border:1px solid #a6d1cc;background:white;color:#116e74;border-radius:11px;padding:12px 15px;font-weight:850;font-size:12px}.wide-button{background:#147d80;color:white;width:100%;border-color:#147d80;margin:10px 0 0}.wide-button:disabled{opacity:.6;cursor:wait}.source-list{margin-top:15px}.source-item{border-bottom:1px solid #eef2f4;padding:11px 0;display:flex;align-items:flex-start;gap:11px}.source-item:last-child{border:0}.source-item>div{flex:1;min-width:0}.source-item strong{font-size:11px;display:block}.source-item small{font-size:10px;color:var(--muted);line-height:1.5;display:block;margin-top:3px;overflow-wrap:anywhere}.source-icon{font-size:15px;color:#14816c;flex-shrink:0}.source-icon.error{color:#c07a32}.about-list{padding-left:18px;font-size:11px;color:var(--muted);line-height:1.85}.about-list li{margin:8px 0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.96);border-top:1px solid #dde7eb;display:flex;align-items:stretch;justify-content:space-around;gap:2px;padding:7px 5px calc(6px + env(safe-area-inset-bottom));z-index:40;box-shadow:0 -3px 15px #1d475111;backdrop-filter:blur(14px)}.nav-button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px 3px;border:0;background:transparent;color:#8599a5;font-size:10px;font-weight:700;min-width:0;flex:1}.nav-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-button.selected{color:#12777b}.nav-button.selected svg{stroke-width:2.35}.toast{position:fixed;bottom:calc(86px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;background:#123c4c;color:white;padding:12px 17px;max-width:min(450px,90vw);border-radius:10px;font-size:12px;line-height:1.5;z-index:100;box-shadow:0 8px 27px #24425938;transition:all .25s}.toast.show{opacity:1;transform:translate(-50%,0)}.empty{background:#fff;border:1px dashed #d4e3e9;border-radius:14px;padding:22px;text-align:center;color:var(--muted);line-height:1.7;font-size:12px}.empty strong{color:#385a69}.loading-shimmer{animation:shimmer 1.5s ease infinite;background:linear-gradient(105deg,#e7eef2 20%,#f9fbfc 50%,#e7eef2 85%);background-size:200% 100%;height:110px;border-radius:14px}@keyframes shimmer{to{background-position-x:-200%}}
@media(max-width:650px){.page-container{padding:0 13px 24px}.page-intro{margin:7px 0 14px}.page-intro h1{font-size:22px}.masthead-inner{padding:11px 13px}.score-hero{padding:17px 18px;gap:9px;border-radius:17px}.score-value strong{font-size:45px}.score-donut{width:95px;height:95px;flex-basis:95px}.score-donut>div{height:75px;width:75px}.score-donut strong{font-size:22px}.summary-grid{gap:7px}.mini-stat{padding:11px;min-height:86px}.mini-stat strong{font-size:19px}.mini-stat label{font-size:9px}.mini-stat small{font-size:9px}.groups-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.group-card{padding:12px;gap:9px}.group-card h3{font-size:11px;min-height:30px}.card-score strong{font-size:23px}.highlight-card{padding:12px;gap:10px}.group-tabs{margin:10px -13px 13px;padding:0 13px 7px}.rank-controls{grid-template-columns:1fr}.panel{padding:14px}.group-hero{padding:14px}.group-hero .points{font-size:24px}}
@media(max-width:380px){.score-donut{width:78px;height:78px;flex-basis:78px}.score-donut>div{width:62px;height:62px}.score-donut strong{font-size:19px}.score-value strong{font-size:39px}.score-subtitle{font-size:10px}.summary-grid{grid-template-columns:repeat(2,1fr)}.groups-grid{grid-template-columns:1fr 1fr}.brand-text b{font-size:12px}.brand-text span{font-size:9px}.group-hero .points{font-size:22px}}
@media(min-width:900px){.page-container{padding-left:23px;padding-right:23px}.bottom-nav{position:sticky;bottom:0;max-width:700px;margin:auto;border:1px solid var(--border);border-bottom:0;border-radius:17px 17px 0 0}.app{padding-bottom:35px}.page-intro h1{font-size:30px}.score-hero{padding:28px 37px}.score-donut{flex-basis:137px;width:137px;height:137px}.score-donut>div{width:111px;height:111px}.score-donut strong{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
