:root{color-scheme:light;--plane: #f1f1fa;--surface: #fcfeff;--surface-sunken: #f4f4fb;--surface-hover: #eeeef8;--ink: #221c35;--ink-secondary: #56506b;--ink-muted: #6e6788;--ink-inverse: #ffffff;--border: #e2e2ef;--border-strong: #cfcfe2;--grid: #eaeaf3;--axis: #d6d6e6;--brand: #4f61a7;--brand-hover: #445596;--brand-soft: #e8ebf7;--focus: #4f61a7;--series-1: #4f61a7;--series-2: #cc6a1e;--series-3: #12946b;--series-4: #ad8309;--series-5: #d96ba0;--series-6: #2e7d32;--series-7: #673ea7;--series-8: #d64545;--seq-100: #dde1f1;--seq-200: #b8c1e1;--seq-300: #8e9ccb;--seq-400: #6675b4;--seq-500: #455393;--seq-600: #313b6b;--seq-700: #1f2544;--ord-1: #a3afd6;--ord-2: #7a89c0;--ord-3: #4f61a7;--ord-4: #3b4780;--ord-5: #283057;--div-neg: #d64545;--div-mid: #ececf3;--div-pos: #4f61a7;--status-good: #0ca30c;--status-warning: #fab219;--status-serious: #ec835a;--status-critical: #d03b3b;--delta-up: #096f09;--delta-down: #b32d2d;--tone-teal-bg: #dff3ec;--tone-teal-fg: #157e63;--tone-orange-bg: #fcebdd;--tone-orange-fg: #b85f16;--tone-yellow-bg: #fbf1d6;--tone-yellow-fg: #8a6a08;--tone-purple-bg: #efe9fb;--tone-purple-fg: #6b3fa0;--tone-blue-bg: #e2edfb;--tone-blue-fg: #2a62bf;--tone-green-bg: #e2f3e5;--tone-green-fg: #2e7d32;--tone-red-bg: #fbe4e4;--tone-red-fg: #c62828;--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--shadow-card: 0 1px 2px rgba(34, 28, 53, .05);--shadow-pop: 0 6px 24px rgba(34, 28, 53, .14);--ease: cubic-bezier(.2, 0, .15, 1);--font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: ui-monospace, "Cascadia Code", Menlo, monospace}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--plane: #221c35;--surface: #1a1529;--surface-sunken: #241e39;--surface-hover: #2a2342;--ink: #fcfeff;--ink-secondary: #b5afc7;--ink-muted: #8b84a1;--ink-inverse: #14101f;--border: #302a47;--border-strong: #443c60;--grid: #2b2442;--axis: #3a3253;--brand: #8b9be0;--brand-hover: #9dabe8;--brand-soft: #2b2848;--series-1: #6e7ccc;--series-2: #d9752e;--series-3: #1da07a;--series-4: #af8818;--series-5: #ce6a98;--series-6: #4fa855;--series-7: #9470c9;--series-8: #dc5f5f;--seq-100: #1f2544;--seq-200: #313b6b;--seq-300: #455393;--seq-400: #6675b4;--seq-500: #8e9ccb;--seq-600: #b8c1e1;--seq-700: #dde1f1;--ord-1: #455393;--ord-2: #6675b4;--ord-3: #8e9ccb;--ord-4: #b8c1e1;--ord-5: #dde1f1;--div-neg: #dc5f5f;--div-mid: #322b48;--div-pos: #6e7ccc;--delta-up: #2fbe2f;--delta-down: #e86a6a;--tone-teal-bg: #10332a;--tone-teal-fg: #45c6a3;--tone-orange-bg: #3a2415;--tone-orange-fg: #e9954f;--tone-yellow-bg: #382e12;--tone-yellow-fg: #ddb03c;--tone-purple-bg: #2a2144;--tone-purple-fg: #a98be0;--tone-blue-bg: #16294a;--tone-blue-fg: #6d9bea;--tone-green-bg: #17331a;--tone-green-fg: #5fbf66;--tone-red-bg: #3a1c1c;--tone-red-fg: #e57373;--shadow-card: 0 1px 2px rgba(0, 0, 0, .4);--shadow-pop: 0 6px 24px rgba(0, 0, 0, .55)}}:root[data-theme=dark]{color-scheme:dark;--plane: #221c35;--surface: #1a1529;--surface-sunken: #241e39;--surface-hover: #2a2342;--ink: #fcfeff;--ink-secondary: #b5afc7;--ink-muted: #8b84a1;--ink-inverse: #14101f;--border: #302a47;--border-strong: #443c60;--grid: #2b2442;--axis: #3a3253;--brand: #8b9be0;--brand-hover: #9dabe8;--brand-soft: #2b2848;--series-1: #6e7ccc;--series-2: #d9752e;--series-3: #1da07a;--series-4: #af8818;--series-5: #ce6a98;--series-6: #4fa855;--series-7: #9470c9;--series-8: #dc5f5f;--seq-100: #1f2544;--seq-200: #313b6b;--seq-300: #455393;--seq-400: #6675b4;--seq-500: #8e9ccb;--seq-600: #b8c1e1;--seq-700: #dde1f1;--ord-1: #455393;--ord-2: #6675b4;--ord-3: #8e9ccb;--ord-4: #b8c1e1;--ord-5: #dde1f1;--div-neg: #dc5f5f;--div-mid: #322b48;--div-pos: #6e7ccc;--delta-up: #2fbe2f;--delta-down: #e86a6a;--tone-teal-bg: #10332a;--tone-teal-fg: #45c6a3;--tone-orange-bg: #3a2415;--tone-orange-fg: #e9954f;--tone-yellow-bg: #382e12;--tone-yellow-fg: #ddb03c;--tone-purple-bg: #2a2144;--tone-purple-fg: #a98be0;--tone-blue-bg: #16294a;--tone-blue-fg: #6d9bea;--tone-green-bg: #17331a;--tone-green-fg: #5fbf66;--tone-red-bg: #3a1c1c;--tone-red-fg: #e57373;--shadow-card: 0 1px 2px rgba(0, 0, 0, .4);--shadow-pop: 0 6px 24px rgba(0, 0, 0, .55)}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:var(--font);font-size:14px;line-height:1.45;color:var(--ink);background:var(--plane);-webkit-font-smoothing:antialiased}h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.011em}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}button,input,select,textarea{font:inherit;color:inherit}button{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink);cursor:pointer;transition:background .12s var(--ease),border-color .12s var(--ease)}button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--brand)}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--brand);border-color:var(--brand);color:var(--ink-inverse)}button.primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}button.ghost{border-color:transparent;background:transparent;color:var(--ink-secondary);padding:4px 8px;font-size:12px}button.ghost:hover:not(:disabled){background:var(--surface-hover);border-color:transparent;color:var(--ink)}button.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}button.danger:hover:not(:disabled){border-color:var(--status-critical);color:var(--status-critical)}.icon-button{width:22px;height:22px;padding:0;justify-content:center;border-radius:50%;border-color:var(--border-strong);color:var(--ink-muted);font-size:11px;font-style:italic;font-weight:600;line-height:1}input,select,textarea{width:100%;padding:7px 10px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface)}input:focus,select:focus,textarea:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 3px var(--brand-soft)}textarea{resize:vertical}textarea.code{font-family:var(--font-mono);font-size:12px;line-height:1.5}label{display:block;margin-bottom:14px}label>span{display:block;margin-bottom:5px;color:var(--ink-secondary);font-size:12px;font-weight:500}code{font-family:var(--font-mono);font-size:12px;padding:1px 6px;border-radius:4px;background:var(--surface-sunken);color:var(--ink-secondary)}a{color:var(--brand)}.hint{color:var(--ink-muted);font-size:12px;margin:4px 0 14px}.hint a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}.hint.reminder{border-left:3px solid var(--brand);padding:8px 10px;background:var(--surface-sunken);border-radius:0 6px 6px 0;margin-top:8px}.hint.reminder code{background:var(--surface);border:1px solid var(--border);border-radius:4px;padding:0 4px;font-size:11px}.req{color:var(--status-critical);margin-left:3px;font-weight:700}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.error{color:var(--status-critical);font-size:13px;margin:10px 0}.badge{font-size:11px;color:var(--ink-secondary);background:var(--surface-sunken);border-radius:999px;padding:2px 9px;white-space:nowrap}.app{max-width:1320px;margin:0 auto;padding:28px 24px 64px}.app__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.app__header h1{font-size:17px}.app__header nav{display:flex;gap:4px;padding:3px;border-radius:var(--radius);background:var(--surface-sunken)}.app__header nav button{border-color:transparent;background:transparent}.app__header nav button.active{background:var(--surface);border-color:var(--border);color:var(--ink);box-shadow:var(--shadow-card)}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-head h2{font-size:15px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px}.card{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden}.card>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px}.card__body{height:220px;padding:0 6px;overflow:hidden}.card__body .chart-card,.widget-frame .chart-card{height:100%;border:0;box-shadow:none;background:transparent}.card>footer{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--border)}.list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.list li>div{display:flex;align-items:center;gap:10px;min-width:0}.list .hint{margin:0}.studio{display:grid;grid-template-columns:minmax(320px,400px) 1fr;gap:24px;padding:24px;min-height:100vh;align-items:start}.studio__panel{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto;padding-right:4px}.studio__panel h2{font-size:16px;margin-bottom:18px}.studio__panel h3{font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin:24px 0 10px;color:var(--ink-muted)}.studio__actions{display:flex;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}.studio__preview{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden;min-height:420px}.studio__preview>header{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid var(--border);font-size:12px;color:var(--ink-muted)}.studio__canvas{flex:1;min-height:340px;padding:8px;overflow:auto}.studio__meta{padding:9px 14px;border-top:1px solid var(--border);font-size:11px;color:var(--ink-muted);font-variant-numeric:tabular-nums}.tabs{display:flex;gap:4px;margin:18px 0 14px;padding:3px;border-radius:var(--radius);background:var(--surface-sunken)}.tabs button{flex:1;justify-content:center;border-color:transparent;background:transparent}.tabs button.active{background:var(--surface);border-color:var(--border);color:var(--ink)}.template-picker{display:grid;gap:14px}.template-group__head{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-muted);margin:0 0 8px}.template-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.template-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:center;padding:8px 8px 9px;position:relative}.template-card strong{font-size:12px;font-weight:600}.tpl-thumb{display:block;color:var(--ink-secondary);background:var(--surface-sunken);border-radius:8px;padding:6px}.tpl-thumb__svg{display:block;width:100%;height:40px}.template-card:hover .tpl-thumb{color:var(--brand)}.template-card.active .tpl-thumb{color:var(--brand);background:color-mix(in srgb,var(--brand) 10%,var(--surface-sunken))}.template-card__suggested{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:var(--brand);line-height:1.2}.param-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:0 10px}.param-grid label{margin-bottom:10px;min-width:0}.param-grid span{font-family:var(--font-mono);font-size:11px}.ai-panel details{margin-top:14px}.ai-panel summary{cursor:pointer;font-size:12px;color:var(--ink-secondary);margin-bottom:8px}.tpl-starters{margin-bottom:12px}.tpl-starters__chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.chip{font-size:12px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--ink);cursor:pointer}.chip:hover{border-color:var(--brand);color:var(--brand)}.appearance{margin-top:14px}.appearance>summary,.brand-vars>summary{cursor:pointer;font-size:12px;color:var(--ink-secondary);margin-bottom:8px}.appearance textarea.code{margin-top:8px}.brand-vars{margin-top:10px}.brand-vars__list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}.brand-vars__list code{font-size:11px}.chart-picker{display:flex;flex-wrap:wrap;gap:6px}.chart-picker button{font-size:12px;padding:5px 10px}.tile-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.tile-list li{display:flex;align-items:center;gap:6px;padding:7px 8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface)}.tile-list__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.tile-list label{display:flex;align-items:center;gap:4px;margin:0;font-size:11px;color:var(--ink-muted)}.tile-list input{width:46px;padding:3px 5px;text-align:center}.tile-list button{padding:3px 7px;border-color:transparent}.tile-list li{flex-wrap:wrap}.tile-list .tile-list__desc{flex:1 0 100%}.tile-list .tile-list__desc input{flex:1;width:auto;text-align:left}.check{flex-direction:row;align-items:center;gap:8px}.check input{width:auto}.dashboard{padding:16px}.filter-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:0 2px 16px}.filter{display:flex;flex-direction:column;gap:4px;margin:0;min-width:0}.filter__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted)}.filter select{width:auto;min-width:10rem;padding:6px 10px}.filter select:disabled{opacity:.55;cursor:not-allowed}.filter--timeframe{gap:6px}.filter__dates{display:flex;align-items:center;gap:6px}.filter__dates input{width:auto;padding:5px 8px}.filter__note{font-size:11px;color:var(--ink-muted);max-width:18rem}.dashboard__grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px;align-items:stretch}.dashboard__tile{display:flex;min-width:0}.dashboard__tile .chart-card{flex:1;min-width:0}.dashboard__scope{margin:16px 2px 0;font-size:11px;color:var(--ink-muted)}.chart-view{width:100%;height:100vh;padding:8px;overflow:hidden}.chart-view .chart-card{height:100%}.widget-view{width:100%;height:100vh;padding:8px;overflow:hidden}.widget-view .chart-card{height:100%;border:0;box-shadow:none;background:transparent}.widget-frame{width:100%;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--surface)}.chart-card{display:flex;flex-direction:column;margin:0;min-width:0;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);overflow:hidden}.chart-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px 6px}.chart-card__title{font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-card__tools{display:flex;align-items:center;gap:4px;flex:0 0 auto;opacity:.45;transition:opacity .12s var(--ease)}.chart-card:hover .chart-card__tools,.chart-card:focus-within .chart-card__tools{opacity:1}.chart-card__lead{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 auto}.chart-card__info-wrap{position:relative;flex:0 0 auto;display:inline-flex}.chart-card__info-btn{opacity:.5;transition:opacity .12s var(--ease)}.chart-card:hover .chart-card__info-btn,.chart-card:focus-within .chart-card__info-btn{opacity:1}.chart-card__tip{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:max-content;max-width:280px;padding:9px 11px;border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--ink-secondary);border:1px solid var(--border);box-shadow:0 6px 20px #00000024;font-size:12px;font-weight:400;line-height:1.5;white-space:normal;visibility:hidden;opacity:0;transform:translateY(-2px);transition:opacity .12s var(--ease),transform .12s var(--ease),visibility .12s;pointer-events:none}.chart-card__info-wrap:hover .chart-card__tip,.chart-card__info-wrap:focus-within .chart-card__tip,.chart-card__info-wrap.is-pinned .chart-card__tip{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}.chart-card__body{flex:1;min-height:0;padding:4px 14px 14px;display:flex;flex-direction:column}.chart-card__plot{flex:1;min-height:0;display:flex;flex-direction:column;transition:opacity .16s var(--ease)}.chart-card__plot[data-stale]{opacity:.45}.chart-card__plot>*{flex:1;min-height:0}.chart-card__footnote{margin:0;padding:0 14px 12px;font-size:11px;color:var(--ink-muted)}.plot{display:flex;flex-direction:column;flex:1;min-height:0}.plot__chart{flex:1;min-height:0;display:flex;flex-direction:column}.plot__chart>*{flex:1;min-height:0}.plot__note{margin:8px 0 0;font-size:11px;line-height:1.45;color:var(--ink-muted)}.echart{width:100%;height:100%;min-height:160px}.custom-chart{width:100%;height:100%;min-height:160px;border:0;display:block}.worldmap{width:100%;height:100%;min-height:200px;display:flex;align-items:center;justify-content:center}.worldmap__svg{width:100%;height:100%;display:block}.worldmap__svg path{transition:fill .15s ease-out}.worldmap__svg path:hover{stroke:var(--brand);stroke-width:1.5px}.chart-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;flex:1;min-height:120px;padding:16px;color:var(--ink-muted);font-size:13px;text-align:center}.chart-state--error strong{color:var(--status-critical)}.chart-state--error span{max-width:34ch}.brand-loader{display:inline-flex;align-items:center;justify-content:center;line-height:0}.brand-loader__body{fill:var(--ink);animation:brand-loader-pulse 2.4s ease-in-out infinite}.brand-loader__blocks{animation:brand-loader-shimmer 1.8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}@keyframes brand-loader-pulse{0%,to{fill:var(--ink)}50%{fill:#93c8ec}}@keyframes brand-loader-shimmer{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion: reduce){.brand-loader__body,.brand-loader__blocks{animation:none}.brand-loader__body{fill:var(--ink)}.brand-loader svg animate{display:none}}.chart-tip{min-width:128px;padding:9px 11px;font-size:12px}.chart-tip__title{color:var(--ink-muted);font-size:11px;margin-bottom:6px}.chart-tip__row{display:flex;align-items:center;gap:8px;padding:2px 0}.chart-tip__key{width:12px;height:2px;border-radius:999px;flex:0 0 auto}.chart-tip__name{color:var(--ink-secondary);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-tip__value{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;height:100%;min-height:0;padding:4px 0}.stat__label{font-size:12px;color:var(--ink-secondary)}.stat__value{font-size:clamp(30px,min(9vw,13vh),60px);font-weight:650;line-height:1.05;letter-spacing:-.02em;color:var(--ink)}.stat__delta{display:flex;align-items:baseline;gap:5px;font-size:12px;font-weight:500}.stat__delta[data-direction=up]{color:var(--delta-up)}.stat__delta[data-direction=down]{color:var(--delta-down)}.stat__delta[data-direction=flat]{color:var(--ink-muted)}.stat__delta-vs{color:var(--ink-muted);font-weight:400}.stat__spark{width:100%;max-width:160px;height:28px;margin-top:6px}.leaderboard{list-style:none;margin:0;padding:0;height:100%;overflow-y:auto}.leaderboard__row{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--border);font-size:13px}.leaderboard__row:last-child{border-bottom:0}.leaderboard__rank{color:var(--ink-muted);font-size:11px;font-variant-numeric:tabular-nums;text-align:right}.leaderboard__body{min-width:0;display:flex;flex-direction:column;gap:6px}.leaderboard__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard__meter{height:4px;border-radius:999px;background:var(--surface-sunken);overflow:hidden}.leaderboard__fill{display:block;height:100%;border-radius:inherit;background:var(--series-1);min-width:2px}.leaderboard__value{font-variant-numeric:tabular-nums;color:var(--ink-secondary)}.ranked{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px 20px;height:100%;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;scrollbar-gutter:stable}.ranked::-webkit-scrollbar{width:8px}.ranked::-webkit-scrollbar-track{background:transparent}.ranked::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:4px}.ranked::-webkit-scrollbar-thumb:hover{background:var(--ink-muted)}.ranked__col{min-width:0;display:flex;flex-direction:column}.ranked__head{margin:0 0 8px;padding-bottom:7px;border-bottom:1px solid var(--border-strong);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted);position:sticky;top:0;background:var(--surface)}.ranked__list{list-style:none;margin:0;padding:0}.ranked__row{border-bottom:1px solid var(--border);font-size:13px}.ranked__row:last-child{border-bottom:0}.ranked__summary{display:grid;grid-template-columns:18px auto 1fr auto min-content;align-items:center;gap:9px;width:100%;padding:6px 0;background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.ranked__summary--static{cursor:default}.ranked__summary>.ranked__name:nth-child(2){grid-column:2 / 4}.ranked__rank{color:var(--ink-muted);font-size:11px;font-variant-numeric:tabular-nums;text-align:right}.ranked__icon{width:22px;height:22px;border-radius:6px;background-color:var(--surface-sunken);background-size:cover;background-position:center}.ranked__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ranked__value{color:var(--ink-secondary);font-variant-numeric:tabular-nums;white-space:nowrap}.ranked__row{border-radius:6px;transition:background .12s var(--ease)}.ranked__row:hover,.ranked__row[data-open]{background:var(--surface-hover)}.ranked__summary:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--focus);border-radius:6px}.ranked__chev{width:7px;height:7px;margin-right:2px;border-right:1.5px solid var(--ink-muted);border-bottom:1.5px solid var(--ink-muted);transform:rotate(45deg);transform-origin:center;transition:transform .16s var(--ease)}.ranked__row[data-open] .ranked__chev{transform:rotate(-135deg)}.ranked__detail{display:grid;padding-left:27px;grid-template-rows:0fr;margin:0;transition:grid-template-rows .16s var(--ease)}.ranked__row[data-open] .ranked__detail{grid-template-rows:1fr}.ranked__detail-inner{overflow:hidden;min-height:0}.ranked__row[data-open] .ranked__detail-inner{max-height:8em;overflow:auto;overscroll-behavior:contain;padding-bottom:8px}.ranked__facts{margin:0;font-size:11px;line-height:1.5}.ranked__facts>div{display:flex;flex-wrap:wrap;gap:0 .45rem}.ranked__facts dt{color:var(--ink-muted)}.ranked__facts dd{margin:0;color:var(--ink-secondary)}.ranked__desc{margin-top:5px}.ranked__desc-text{margin:0;font-size:11px;line-height:1.5;color:var(--ink-secondary);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line}.ranked__desc-text[data-open]{display:block;-webkit-line-clamp:unset;overflow:visible}.ranked__more{margin-top:4px;padding:0;border:0;background:none;color:var(--brand);font:inherit;font-size:11px;font-weight:600;cursor:pointer}.ranked__more:hover{text-decoration:underline}.ranked__more:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:3px}@media (prefers-reduced-motion: reduce){.ranked__detail{transition:none}}.stars{position:relative;display:inline-block;font-size:12px;line-height:1;letter-spacing:1px;white-space:nowrap}.stars__track{color:var(--border-strong)}.stars__fill{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;color:var(--status-warning)}.field-picker{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--border)}.field-picker__head{margin:0 0 4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted)}.field-picker__hint{margin:0 0 10px}.field-picker__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.field-picker__row label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;color:var(--ink-secondary)}.field-picker__row select{min-width:0;width:100%}.data-table{height:100%;overflow:auto}.data-table table{width:100%;border-collapse:collapse;font-size:12px}.data-table th,.data-table td{padding:6px 10px;text-align:left;white-space:nowrap;border-bottom:1px solid var(--border)}.data-table th{position:sticky;top:0;z-index:1;padding:0;background:var(--surface);border-bottom-color:var(--border-strong)}.data-table th button{width:100%;padding:7px 10px;border:0;border-radius:0;background:transparent;color:var(--ink-muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;justify-content:flex-start}.data-table th.num button{justify-content:flex-end}.data-table__sort{color:var(--brand)}.data-table td.num{text-align:right;font-variant-numeric:tabular-nums}.data-table tbody tr:hover td{background:var(--surface-hover)}.data-table__note{margin:8px 0 0;font-size:11px;color:var(--ink-muted)}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.gallery-item{display:flex;height:340px}.gallery-item .chart-card{flex:1;min-width:0}@media (max-width: 960px){.studio{grid-template-columns:1fr;padding:16px}.studio__panel{position:static;max-height:none}.dashboard__grid{grid-template-columns:1fr}.dashboard__tile{grid-column:span 1!important}}.signed-out{max-width:46rem;margin:3rem auto;padding:2rem 2.25rem;background:var(--surface);border:1px solid var(--border);border-radius:12px}.signed-out h2{margin:0 0 .75rem}.signed-out p{color:var(--ink-secondary);max-width:62ch}.signed-out ol{color:var(--ink-secondary);max-width:62ch;padding-left:1.2rem}.signed-out li{margin-bottom:.4rem}.signed-out__note{border-left:3px solid var(--border-strong);padding-left:.9rem;font-size:.92rem;color:var(--ink-muted)}.signed-out__note b{color:var(--ink-secondary)}.help{max-width:62rem}.help__lede{font-size:1.02rem;color:var(--ink-secondary);max-width:66ch}.help__section{border-top:1px solid var(--border);padding-top:1.4rem;margin-top:1.8rem}.help__section h3{margin:0 0 .7rem;font-size:1.05rem}.help__section p{max-width:68ch;color:var(--ink-secondary)}.help__section ul,.help__section ol{max-width:68ch;color:var(--ink-secondary);padding-left:1.2rem}.help__section li{margin-bottom:.4rem}.help__section b{color:var(--ink)}.help code{font-family:ui-monospace,JetBrains Mono,monospace;font-size:.85em;background:var(--surface-sunken);padding:.08rem .32rem;border-radius:4px}.help__cards{list-style:none;padding:0;margin:0 0 1rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}.help__cards li{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;margin:0;display:flex;flex-direction:column;gap:.35rem}.help__cards b{font-size:.95rem}.help__cards span{font-size:.85rem;color:var(--ink-secondary)}.help__steps>li{margin-bottom:.7rem}.help__tablewrap{overflow-x:auto;margin:0 0 1rem}.help table{width:100%;border-collapse:collapse;font-size:.9rem}.help th,.help td{text-align:left;padding:.5rem .7rem;border-bottom:1px solid var(--border);vertical-align:top}.help th{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted);white-space:nowrap}.help__note{border-left:3px solid var(--brand);background:var(--surface);border-radius:0 8px 8px 0;padding:.8rem 1rem;margin:1rem 0 0;font-size:.92rem}.test{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center}.test__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#14102880}.test__panel{position:relative;width:min(60rem,94vw);max-height:90vh;overflow:auto;background:var(--plane);border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 40px #0000004d}.test__head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--plane);z-index:1}.test__head h3{margin:.2rem 0 0;font-size:1.1rem}.test__kind{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--brand);font-weight:600}.test__form{padding:1.2rem 1.3rem;display:flex;flex-direction:column;gap:1rem}.test__field{display:flex;flex-direction:column;gap:.3rem;max-width:30rem}.test__field>span:first-child{font-size:.85rem;font-weight:600;color:var(--ink)}.test__field input,.test__field select{padding:.5rem .6rem;border:1px solid var(--border-strong, var(--border));border-radius:8px;background:var(--surface);color:var(--ink);font-size:.92rem}.test__hint{font-size:.8rem;color:var(--ink-muted)}.test__actions{display:flex;gap:.6rem;justify-content:flex-end;margin-top:.4rem}.test__result{padding:1rem 1.3rem 1.4rem}.test__runbar{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.9rem}.test__params{font-family:ui-monospace,JetBrains Mono,monospace;font-size:.78rem;color:var(--ink-secondary);background:var(--surface-sunken);padding:.25rem .5rem;border-radius:6px}.test__grid{display:grid;grid-template-columns:repeat(12,1fr);gap:.9rem}.test__tile{min-width:0}.test__widget{max-width:34rem}.cicon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.cicon--teal{background:var(--tone-teal-bg);color:var(--tone-teal-fg)}.cicon--orange{background:var(--tone-orange-bg);color:var(--tone-orange-fg)}.cicon--yellow{background:var(--tone-yellow-bg);color:var(--tone-yellow-fg)}.cicon--purple{background:var(--tone-purple-bg);color:var(--tone-purple-fg)}.cicon--blue{background:var(--tone-blue-bg);color:var(--tone-blue-fg)}.cicon--green{background:var(--tone-green-bg);color:var(--tone-green-fg)}.cicon--red{background:var(--tone-red-bg);color:var(--tone-red-fg)}.kpis{display:grid;gap:14px;grid-template-columns:repeat(var(--kpi-cols, 6),minmax(0,1fr));align-content:start}.kpis[data-count="1"]{--kpi-cols: 1}.kpis[data-count="2"]{--kpi-cols: 2}.kpis[data-count="3"]{--kpi-cols: 3}.kpis[data-count="4"]{--kpi-cols: 4}.kpis[data-count="5"]{--kpi-cols: 5}.kpis[data-count="7"],.kpis[data-count="8"]{--kpi-cols: 4}.kpi-shell,.hero-shell{container-type:inline-size;min-width:0}@container (max-width: 1180px){.kpis{--kpi-cols: 3}}@container (max-width: 680px){.kpis{--kpi-cols: 2}}.kpi{display:flex;flex-direction:column;gap:8px;min-width:0;padding:15px 17px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card)}.kpi__label{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:var(--ink-secondary)}.kpi__label>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kpi__value{display:flex;align-items:baseline;gap:8px;font-size:clamp(20px,2.2cqw + 16px,25px);font-weight:700;line-height:1.15;letter-spacing:-.015em;color:var(--ink);min-width:0}.kpi__value-num{font-size:13px;font-weight:600;color:var(--ink-muted)}.kpi__value-missing{font-size:14px;font-weight:500;color:var(--ink-muted)}.kpi__delta{display:flex;align-items:baseline;gap:5px;font-size:12px;font-weight:600;min-width:0}.kpi__delta[data-direction=up]{color:var(--delta-up)}.kpi__delta[data-direction=down]{color:var(--delta-down)}.kpi__delta[data-direction=flat]{color:var(--ink-muted)}.kpi__delta--bare{font-weight:400;color:var(--ink-muted)}.kpi__caption{font-weight:400;color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kpi .stars{font-size:17px}.hero{display:flex;align-items:center;gap:18px;padding:20px 26px;border-radius:var(--radius-lg);background:radial-gradient(120% 160% at 88% 8%,rgba(139,155,224,.42),transparent 55%),linear-gradient(135deg,#2f2a52,#241f3d 60%,#1d1833);color:#fff;min-width:0}.hero__icon{flex:0 0 auto;width:64px;height:64px;border-radius:16px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#ffffff1f}.hero__icon img{width:100%;height:100%;object-fit:cover}.hero__initial{font-size:28px;font-weight:700;color:#ffffffd9}.hero__text{min-width:0}.hero__title{margin:0;font-size:clamp(19px,1.6cqw + 15px,26px);font-weight:700;line-height:1.15;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero__publisher{margin:3px 0 0;font-size:14px;color:#ffffffd9}.hero__chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}.hero__chip{padding:3px 9px;border-radius:999px;background:#ffffff24;font-size:12px;font-weight:500;color:#ffffffeb}@media (max-width: 560px){.hero{gap:13px;padding:16px 18px}.hero__icon{width:48px;height:48px;border-radius:12px}}.tip-wrap{position:relative;flex:0 0 auto;display:inline-flex}.tip-btn{width:15px;height:15px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-strong);border-radius:50%;background:transparent;color:var(--ink-muted);font-size:10px;font-weight:700;font-style:italic;line-height:1;cursor:help;opacity:.65;transition:opacity .12s var(--ease)}.tip-btn:hover,.tip-btn:focus-visible{opacity:1;color:var(--ink-secondary)}.tip-bubble{position:absolute;top:calc(100% + 6px);left:-4px;z-index:20;width:max-content;max-width:240px;padding:9px 11px;border-radius:var(--radius-sm);background:var(--surface-sunken);color:var(--ink-secondary);border:1px solid var(--border);box-shadow:var(--shadow-pop);font-size:12px;font-weight:400;font-style:normal;line-height:1.5;text-align:left;white-space:normal;visibility:hidden;opacity:0;transform:translateY(-2px);transition:opacity .12s var(--ease),transform .12s var(--ease),visibility .12s;pointer-events:none}.tip-wrap:hover .tip-bubble,.tip-wrap:focus-within .tip-bubble,.tip-wrap.is-pinned .tip-bubble{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}.tiles{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--border)}.tiles__head{margin:0 0 4px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-muted)}.tiles__actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.tile-row{margin-bottom:8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-sunken)}.tile-row>summary{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;font-size:12px;color:var(--ink)}.tile-row__n{flex:0 0 auto;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:700}.tile-row__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-row__src{margin-left:auto;font-family:var(--font-mono);font-size:10px;color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-row__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:0 10px 10px}.tile-row__grid label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;color:var(--ink-secondary)}.tile-row__grid select,.tile-row__grid input{min-width:0;width:100%}.tile-row__wide{grid-column:1 / -1}.tile-row__tools{display:flex;gap:6px;padding:0 10px 10px}
