.mr-theme .mr-time-series{min-width:0;color:var(--mr-text);font-size:12px}
.mr-theme .ts-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.mr-theme .ts-heading h2{font-size:17px;font-weight:600;margin:0}
.mr-theme .ts-unit,.mr-theme .ts-note,.mr-theme .ts-footer{color:var(--mr-text-2)}
.mr-theme .ts-controls{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:end;margin-bottom:10px}
.mr-theme .ts-controls label{display:flex;flex-direction:column;gap:4px;flex:1 1 125px;min-width:0;font-weight:500}
.mr-theme .ts-controls select,.mr-theme .ts-controls input[type=date]{box-sizing:border-box;width:100%;min-height:44px;border:1px solid var(--mr-border);border-radius:var(--mr-radius-sm);color:var(--mr-text);background:var(--mr-surface);padding:6px 8px;font:inherit}
.mr-theme .ts-controls .ts-compare{flex-direction:row;align-items:center;min-height:44px;flex-basis:230px;font-weight:400}
.mr-theme .ts-controls input[type=checkbox]{width:20px;height:20px;accent-color:var(--mr-accent)}
.mr-theme .ts-custom{display:flex;align-items:end;flex-wrap:wrap;gap:8px;width:100%}
.mr-theme .ts-legend{display:flex;flex-wrap:wrap;gap:4px 12px;margin-bottom:8px}
.mr-theme .ts-channel{display:flex;gap:7px;align-items:center;background:transparent;border:1px solid transparent;border-radius:var(--mr-radius-sm);padding:5px 7px;text-align:left;color:var(--mr-text);font:inherit;min-height:44px;cursor:pointer}
.mr-theme .ts-channel small{display:block;color:var(--mr-text-2);font-size:11px;margin-top:3px}
.mr-theme .ts-channel[aria-pressed=false]{opacity:.55;text-decoration:line-through;border-color:var(--mr-border)}
.mr-theme .ts-dot{display:inline-block;width:9px;height:9px;flex-shrink:0;border-radius:3px;background:var(--ts-color);margin-right:4px}
.mr-theme .ts-meta{--ts-color:#0071ff}.mr-theme .ts-tiktok{--ts-color:#9470dc}.mr-theme .ts-google_ads{--ts-color:#db5298}.mr-theme .ts-programmatic{--ts-color:#17966b}
.mr-theme .ts-plot{position:relative;min-width:0}
.mr-theme .ts-plot svg{display:block;width:100%;height:316px;touch-action:pan-y}
.mr-theme .ts-plot text{font:11px Inter,system-ui,sans-serif;fill:var(--mr-text-2)}
.mr-theme .ts-plot .ts-grid{stroke:var(--mr-border);stroke-width:1}
.mr-theme .ts-plot .ts-axis-title{fill:var(--mr-text);font-weight:600}
.mr-theme .ts-plot .ts-crosshair,.mr-theme .ts-plot .ts-incomplete{stroke:var(--mr-text-2);stroke-width:1}
.mr-theme .ts-selection{fill:var(--mr-accent);fill-opacity:.12;pointer-events:none}
.mr-theme .ts-tooltip{position:absolute;z-index:3;pointer-events:none;width:min(330px,calc(100% - 16px));max-height:calc(100% - 8px);overflow-y:auto;box-sizing:border-box;padding:12px;border:1px solid var(--mr-border);border-radius:var(--mr-radius-md);background:var(--mr-surface);color:var(--mr-text);box-shadow:0 8px 24px #0003}
.mr-theme .ts-tooltip.ts-tip-left{right:auto;left:8px}
.mr-theme .ts-tooltip>strong{display:block;margin-bottom:10px}
.mr-theme .ts-tip-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:7px 0;font-size:11px}
.mr-theme .ts-tip-row>span:first-child{display:flex;align-items:center;flex:1;min-width:0}
.mr-theme .ts-tip-row>strong{white-space:nowrap}
.mr-theme .ts-tip-row>span:last-child{min-width:30px;text-align:right}
.mr-theme .ts-tip-total{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--mr-border);padding-top:8px;margin-top:8px}
.mr-theme .ts-tooltip small{display:block;font-size:10px;color:var(--mr-text-2);margin-top:8px}
.mr-theme .ts-tip-previous{border-top:1px dashed var(--mr-border);padding-top:8px;margin-top:8px;font-size:11px;color:var(--mr-text-2)}
.mr-theme .ts-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-top:8px;font-size:11px}
.mr-theme .ts-footer>div{display:flex;flex-wrap:wrap;gap:6px}
.mr-theme .ts-footer .btn,.mr-theme .ts-custom .btn{font-size:12px;padding:6px 12px}
.mr-theme .ts-note{font-size:11px;line-height:1.6;margin:10px 0 0}
.mr-theme .ts-status:not(:empty){padding:20px 8px;min-height:44px}
.mr-theme .ts-status.skel{width:100%;height:190px}
.mr-theme .mr-time-series [hidden]{display:none!important}
@media(max-width:480px){.mr-theme .ts-controls label{flex-basis:110px}.mr-theme .ts-unit{font-size:11px}.mr-theme .ts-tooltip{width:min(300px,calc(100% - 12px));padding:9px}.mr-theme .ts-channel{flex:1 1 42%}.mr-theme .ts-note{font-size:10px}.mr-theme .ts-footer>div{width:100%}}

.mr-theme .ts-zoom-mode .ts-plot svg{touch-action:none}
.mr-theme .ts-footer button[aria-pressed=true]{border-color:var(--mr-accent);color:var(--mr-accent)}
.mr-theme .ts-tooltip{background:var(--mr-bg)}
