.chart{position:relative;height:calc(100vh - 150px);min-height:540px;overflow:hidden;background:radial-gradient(ellipse 90% 70% at 45% 55%,var(--chart-core) 0%,var(--sea) 55%,var(--sea-deep) 100%);border-bottom:1px solid var(--sea-line)}.chart canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}.chart-intro{position:absolute;left:var(--gutter);top:1rem;max-width:24rem;pointer-events:none;transition:opacity .3s;font-family:var(--label);font-size:.78rem;line-height:1.5;color:var(--on-sea-muted)}.chart.busy .chart-intro{opacity:0}.chart-legend{position:absolute;left:var(--gutter);right:var(--gutter);bottom:1rem;display:flex;flex-wrap:wrap;gap:.35rem .4rem;max-width:46rem}.chart-legend button{display:inline-flex;align-items:center;gap:.45em;font-family:var(--label);font-size:.68rem;letter-spacing:.03em;color:var(--fg-soft);padding:.28rem .6rem;border:1px solid var(--sea-line);border-radius:99px;background:var(--pill)}.chart-legend button i{width:7px;height:7px;border-radius:50%;background:var(--c)}.chart-legend button i.ring{background:none;border:1px solid var(--on-sea);box-shadow:0 0 0 2px var(--sea),0 0 0 3px var(--on-sea);width:5px;height:5px;margin:0 3px}.chart-legend button:hover,.chart-legend button.on{color:var(--on-sea);border-color:var(--c, var(--on-sea))}.chart-legend.filtering button:not(.on){opacity:.5}.chart-zoom{position:absolute;left:var(--gutter);top:50%;transform:translateY(-50%);display:grid;gap:4px}.chart-zoom button{width:30px;height:30px;border:1px solid var(--sea-line);border-radius:4px;background:var(--pill);color:var(--fg-soft);font-family:var(--label);font-size:1rem;line-height:1}.chart-zoom button:hover{color:var(--on-sea);border-color:var(--tyr-400)}.chart-today,.chart-panel{position:absolute;right:var(--gutter);width:min(20.5rem,calc(100% - 2 * var(--gutter)));background:var(--linen-50);color:var(--ink-900);border-radius:3px;box-shadow:0 20px 60px var(--shadow)}.chart-today{bottom:1.25rem;padding:1.1rem 1.25rem 1rem;transform:rotate(.6deg)}.chart-today .label,.chart-panel .label{color:var(--ink-500)}.chart-today h2{font-family:var(--display);font-weight:400;font-size:1.3rem;line-height:1.18;color:var(--tyr-900);margin:.45rem 0 .35rem}.today-text{font-size:.88rem;line-height:1.45;color:var(--ink-700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.today-meta{margin-top:.5rem}.today-actions{display:flex;flex-wrap:wrap;gap:.3rem 1rem;margin-top:.7rem;font-family:var(--label);font-size:.74rem}.today-actions a{color:var(--awning-500);font-weight:500}.today-actions button{color:var(--ink-500)}.today-actions button:hover,.today-actions a:hover{color:var(--awning-700)}.chart-panel{top:1.25rem;bottom:1.25rem;padding:1.3rem 1.3rem 1.2rem;overflow-y:auto;scrollbar-width:thin}.chart-panel h2{font-family:var(--display);font-weight:400;font-size:1.5rem;line-height:1.14;color:var(--tyr-900);margin:.5rem 0;padding-right:1rem}.panel-text{font-size:.92rem;line-height:1.5;color:var(--ink-700)}.panel-open{display:inline-block;margin:.8rem 0 .4rem;font-family:var(--label);font-size:.8rem;font-weight:500;color:var(--awning-500)}.panel-open:hover{color:var(--awning-700)}.panel-close{position:absolute;top:.5rem;right:.7rem;font-size:1.4rem;line-height:1;color:var(--ink-500)}.panel-themes{display:flex;flex-wrap:wrap;gap:.2rem .8rem;margin-top:.4rem}.panel-themes button{display:inline-flex;align-items:center;gap:.4em;font-family:var(--label);font-size:.68rem;color:var(--ink-700)}.panel-themes button:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c);box-shadow:0 0 0 1px #2a21184d}.chart-panel ul+.label,.chart-panel a+.label{display:block;margin-top:1rem}.chart-panel ul{margin-top:.3rem}.chart-panel li button{display:grid;grid-template-columns:10px 1fr;gap:.55rem;width:100%;text-align:left;padding:.42rem 0;border-top:1px solid var(--linen-200);font-size:.93rem;line-height:1.3}.chart-panel li button i{width:8px;height:8px;border-radius:50%;margin-top:.4rem;background:var(--c);box-shadow:0 0 0 1px #2a21184d}.chart-panel li button:hover{color:var(--awning-500)}.chart-panel li small{display:block;font-family:var(--label);font-size:.64rem;color:var(--ink-500)}@media(max-width:900px){.chart{height:calc(100vh - 58px);min-height:600px}.chart-intro{right:var(--gutter)}.chart-zoom{top:auto;bottom:9.5rem;transform:none;display:flex}.chart-legend{bottom:.6rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.chart-legend button{white-space:nowrap}.chart-today{bottom:3.2rem;left:var(--gutter);right:var(--gutter);width:auto;transform:none;padding:.8rem 1rem}.today-text{display:none}.chart-panel{inset:auto 0 0;width:auto;max-height:55%;border-radius:10px 10px 0 0}}
