.th-panel{margin-top:20px;padding:22px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:16px}.th-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.th-head h2{margin:0;font-size:20px}.th-head p,.th-source,.th-note{font-size:12px;color:var(--muted)}.th-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:20px 0}.th-controls label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.th-controls input,.th-controls button{border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:var(--panel2);color:var(--text);font:inherit}.th-ranges{display:flex;gap:8px;flex-wrap:wrap}.th-controls button{cursor:pointer}.th-controls button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.th-controls :focus-visible,.th-chart svg:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.th-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}.th-stats>div{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--panel2)}.th-stats span{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.th-stats strong{font-size:22px;color:var(--text)}.th-stats>div:first-child strong{color:var(--accent)}.th-chart svg{display:block;width:100%;height:auto;min-height:210px;touch-action:pan-y;overflow:visible}.th-chart text{fill:var(--muted);font-size:11px}.th-grid{stroke:var(--line);stroke-width:1}.th-detail{margin-top:12px;min-height:20px;font-size:13px;color:var(--accent)}.th-empty{padding:65px 15px;text-align:center;color:var(--muted)}.th-note{margin:10px 0 0}@media(max-width:650px){.th-panel{padding:14px}.th-stats{grid-template-columns:repeat(2,1fr)}.th-stats strong{font-size:19px}.th-chart{overflow-x:auto}.th-chart svg{min-width:620px}.th-source{font-size:11px}}
