#analyticsSection{--an-green:#15803d;--an-orange:#c2410c;--an-blue:#2563eb;--an-purple:#7c3aed;--an-cyan:#0e7490;--an-amber:#a16207;--an-pink:#be185d;--an-red:#be123c;--an-slate:#64748b;--an-track:#edf2f7;--an-selected:#e9edfd;--an-selected-ink:#373c85;--an-border:#dfe5ee}
body.dark #analyticsSection{--an-green:#4ade80;--an-orange:#fb923c;--an-blue:#60a5fa;--an-purple:#a78bfa;--an-cyan:#22d3ee;--an-amber:#facc15;--an-pink:#f472b6;--an-red:#fb7185;--an-slate:#94a3b8;--an-track:#293241;--an-selected:#252d48;--an-selected-ink:#c7d2fe;--an-border:#303747}
#analyticsSection .an-shell{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px;align-items:start}
#analyticsSection .an-menu{position:sticky;top:18px;background:var(--panel);border:1px solid var(--an-border);border-radius:14px;padding:8px;min-width:0}
#analyticsSection .an-menu-label{padding:17px 13px;font-size:10px;letter-spacing:.8px;font-weight:800;color:var(--an-selected-ink);background:var(--an-selected);border-radius:8px;margin-bottom:5px}
#analyticsSection .an-menu [role=tablist]{display:grid}
#analyticsSection .an-menu button{border:0;border-bottom:1px solid var(--an-border);border-radius:0;text-align:left;padding:17px 13px;background:transparent;line-height:1.5;font-size:12px;font-weight:500}
#analyticsSection .an-menu button:last-child{border-bottom:0}
#analyticsSection .an-menu button.active{background:var(--an-selected);color:var(--an-selected-ink);font-weight:700;border-radius:8px;border-color:transparent}
#analyticsSection .an-menu button:hover{background:var(--soft)}
#analyticsSection .an-menu button.active:hover{background:var(--an-selected)}
#analyticsSection .an-menu button:focus-visible,#analyticsSection .an-segments button:focus-visible{outline:2px solid var(--an-blue);outline-offset:2px}
#analyticsSection .an-main{min-width:0}
#analyticsSection .an-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:13px}
#analyticsSection .an-toolbar label{display:grid;gap:7px;font-size:10px;font-weight:600;flex:1;min-width:105px;color:var(--muted)}
#analyticsSection .an-toolbar input,#analyticsSection .an-toolbar select{width:100%;min-height:39px;padding:9px 10px;font-size:12px;color:var(--ink)}
#analyticsSection .an-toolbar label.hide{display:none}
#analyticsSection .an-filter-actions{display:flex;gap:7px;margin-left:auto}
#analyticsSection .an-filter-actions button{font-size:11px;min-height:39px;padding:9px 12px;white-space:nowrap}
#analyticsSection .an-presets{display:flex;gap:7px;flex-wrap:wrap;margin:11px 0 23px}
#analyticsSection .an-presets button{border:0;background:transparent;font-size:11px;padding:6px 9px;color:var(--muted);border-radius:6px}
#analyticsSection .an-presets button:hover{background:var(--soft);color:var(--ink)}
#analyticsSection .an-title-row{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:22px}
#analyticsSection .an-title-row h2{font-size:23px;line-height:1.35;margin:0 0 8px;font-weight:750}
#analyticsSection .an-title-row p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}
#analyticsSection .an-help{position:relative;flex-shrink:0}
#analyticsSection .an-help summary{cursor:pointer;list-style:none;font-size:20px;color:var(--muted);padding:1px 5px}
#analyticsSection .an-help summary::-webkit-details-marker{display:none}
#analyticsSection .an-help p{position:absolute;right:0;top:32px;width:min(320px,75vw);background:var(--panel);border:1px solid var(--line);padding:16px;border-radius:10px;z-index:5;color:var(--ink);box-shadow:0 12px 35px #0002;font-size:12px;line-height:1.7}
#analyticsSection .an-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}
#analyticsSection .an-stat{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:20px 17px;position:relative;overflow:hidden}
#analyticsSection .an-stat:before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:3px;border-radius:0 3px 3px 0;background:var(--an-series)}
#analyticsSection .an-stat>div{display:flex;align-items:start;justify-content:space-between;gap:5px;min-height:34px}
#analyticsSection .an-stat>div>span:first-child{font-size:11px;line-height:1.55;font-weight:600;color:var(--muted)}
#analyticsSection .an-stat strong{display:block;font-size:clamp(17px,1.4vw,24px);font-weight:750;line-height:1.45;margin:10px 0 0;overflow-wrap:anywhere}
#analyticsSection .an-change{font-size:10px;line-height:1.5;white-space:nowrap;padding:3px 6px;border-radius:6px;background:var(--soft);color:var(--muted)}
#analyticsSection .an-change.is-up{color:var(--an-green)}#analyticsSection .an-change.is-down{color:var(--an-red)}
#analyticsSection .an-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#analyticsSection .an-panel{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:14px;min-width:0}
#analyticsSection .an-panel.an-wide{grid-column:1/-1}
#analyticsSection .an-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
#analyticsSection .an-panel h3{font-size:14px;font-weight:700;margin:0;line-height:1.5}
#analyticsSection .an-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:9px}
#analyticsSection .an-legend span{display:flex;align-items:center;gap:6px}
#analyticsSection .an-legend i{width:9px;height:9px;border-radius:3px;display:inline-block;flex-shrink:0}
#analyticsSection .an-plot{width:100%;min-width:0}
#analyticsSection .an-plot svg{display:block;width:100%;height:auto;min-height:195px;max-height:340px;overflow:visible}
#analyticsSection .an-plot text{font:13px Inter,Arial,sans-serif;fill:var(--muted)}
#analyticsSection .an-gridline{stroke:var(--line);stroke-width:1;stroke-dasharray:3 5}
#analyticsSection .an-hit{fill:transparent;stroke:none}
#analyticsSection [data-tip]:hover{filter:brightness(1.08)}
#analyticsSection [data-tip]:focus-visible{outline:2px solid var(--an-blue)}
#analyticsSection .an-donut-layout{display:flex;align-items:center;gap:23px;flex-wrap:wrap;justify-content:center;min-height:240px}
#analyticsSection .an-donut{width:176px;height:176px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
#analyticsSection .an-donut>div{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-radius:50%;width:128px;height:128px;background:var(--panel);padding:14px}
#analyticsSection .an-donut small{font-size:10px;color:var(--muted);line-height:1.5}
#analyticsSection .an-donut strong{font-size:16px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}
#analyticsSection .an-donut-list{flex:1;min-width:150px;display:grid;gap:15px;max-width:100%}
#analyticsSection .an-donut-list>div{display:flex;align-items:center;gap:8px;min-width:0}
#analyticsSection .an-donut-list i{width:8px;height:8px;border-radius:3px;flex-shrink:0}
#analyticsSection .an-donut-list span{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
#analyticsSection .an-donut-list strong{margin-left:auto;font-size:11px;text-align:right;white-space:nowrap;line-height:1.5}
#analyticsSection .an-donut-list strong small{display:block;color:var(--muted);font-size:10px;font-weight:400}
#analyticsSection .an-ranks{display:grid;gap:20px}
#analyticsSection .an-rank>div:first-child{display:flex;justify-content:space-between;gap:15px;margin-bottom:9px;line-height:1.5}
#analyticsSection .an-rank span{font-size:12px;overflow-wrap:anywhere}
#analyticsSection .an-rank strong{font-size:11px;white-space:nowrap}
#analyticsSection .an-rank small{display:block;color:var(--muted);font-size:10px;margin-top:6px}
#analyticsSection .an-track{height:8px;border-radius:6px;background:var(--an-track);overflow:hidden;position:relative}
#analyticsSection .an-track i{display:block;position:absolute;top:0;bottom:0;border-radius:6px;min-width:0}
#analyticsSection .an-track.an-prior{margin-top:5px;height:5px}
#analyticsSection .an-track.an-prior i{opacity:.5}
#analyticsSection .an-signed:after{content:'';position:absolute;left:50%;height:100%;border-left:1px solid var(--muted)}
#analyticsSection .an-segments{display:flex;gap:4px;padding:4px;background:var(--soft);border-radius:8px;flex-wrap:wrap}
#analyticsSection .an-segments button{border:0;background:transparent;border-radius:6px;font-size:10px;padding:7px 9px;line-height:1.5;color:var(--muted)}
#analyticsSection .an-segments button.active{background:var(--panel);color:var(--an-blue);box-shadow:0 1px 3px #0001;font-weight:700}
#analyticsSection .an-work-select{display:flex;margin-bottom:18px}
#analyticsSection .an-comparison{margin:18px 0 0;font-size:10px;color:var(--muted);line-height:1.7}
#analyticsSection .an-empty{display:flex;min-height:235px;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--muted);gap:10px}
#analyticsSection .an-empty>span{font-size:30px;color:var(--an-slate);opacity:.5}
#analyticsSection .an-empty p{font-size:11px;line-height:1.6;max-width:230px}
#analyticsSection .an-error{font-size:12px;line-height:1.6;color:var(--an-red)}#analyticsSection .an-error:empty{display:none}
#analyticsSection .an-skeleton{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
#analyticsSection .an-skeleton>div{height:125px;border-radius:13px;background:var(--soft)}
#analyticsSection .an-tooltip{position:fixed;z-index:999;pointer-events:none;background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:11px 14px;border-radius:9px;font-size:11px;line-height:1.8;white-space:pre-line;box-shadow:0 8px 26px #0002;max-width:min(340px,90vw)}
#analyticsSection .an-tooltip[hidden]{display:none}
#analyticsSection button:disabled{opacity:.5;cursor:wait}
@media(min-width:1650px){#analyticsSection .an-plot svg{min-height:240px}}
@media(max-width:1200px){#analyticsSection .an-shell{grid-template-columns:190px minmax(0,1fr);gap:18px}#analyticsSection .an-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#analyticsSection .an-stat strong{font-size:22px}#analyticsSection .an-panel{padding:18px}#analyticsSection .an-charts{gap:14px}}
@media(max-width:1000px){#analyticsSection .an-charts{grid-template-columns:1fr}#analyticsSection .an-plot svg{min-height:220px}#analyticsSection .an-menu{top:14px}}
@media(max-width:720px){#analyticsSection .an-shell{grid-template-columns:1fr;gap:20px}#analyticsSection .an-menu{position:static}#analyticsSection .an-menu [role=tablist]{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}#analyticsSection .an-menu button{font-size:10px;border:0;border-radius:7px;padding:10px;min-height:47px}#analyticsSection .an-menu-label{padding:10px 12px;font-size:9px}#analyticsSection .an-title-row h2{font-size:21px}#analyticsSection .an-toolbar{padding:12px}#analyticsSection .an-filter-actions{width:100%;justify-content:flex-end}#analyticsSection .an-stat{padding:16px 14px}#analyticsSection .an-stat strong{font-size:20px}#analyticsSection .an-summary{gap:9px}#analyticsSection .an-panel{padding:17px}#analyticsSection .an-plot svg{min-height:170px}}
@media(prefers-reduced-motion:no-preference){#analyticsSection .an-stat,#analyticsSection .an-panel{animation:an-appear .18s ease-out}@keyframes an-appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:360px){#analyticsSection .an-menu [role=tablist]{grid-template-columns:repeat(2,minmax(0,1fr))}#analyticsSection .an-summary{grid-template-columns:1fr}}
