.roas-trend{--rt-ink:#14263f;--rt-muted:#52647b;--rt-line:#dce4f1;--rt-blue:#2563eb;--rt-amber:#a85b06;--rt-surface:#f5f8ff;color:var(--rt-ink);scroll-margin-top:110px}
.rt-filters select{color:var(--rt-ink);font:inherit;font-size:13px;background:white;border:1px solid var(--rt-line);border-radius:8px;min-height:38px;padding:7px 10px;min-width:145px;max-width:100%;cursor:pointer}.roas-trend select:focus-visible{outline:3px solid #82aaff;outline-offset:2px}@media(max-width:600px){.rt-filters .rt-origin{flex:1 0 100%}.rt-filters select{width:100%;box-sizing:border-box}}
.rt-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.rt-heading h3{font-size:18px;margin:0 0 5px}.rt-subtitle{font-size:13px;color:var(--rt-muted);margin:0;line-height:1.5}.rt-tabs{display:flex;padding:4px;gap:3px;background:var(--rt-surface);border:1px solid var(--rt-line);border-radius:11px}
.roas-trend button{font:inherit;font-size:13px;font-weight:600;border:1px solid var(--rt-line);background:white;color:var(--rt-muted);border-radius:8px;min-height:38px;padding:8px 13px;cursor:pointer}.roas-trend button:hover{background:#edf3ff;color:#1747a6}.rt-tabs button{background:transparent;border-color:transparent}.rt-tabs button[aria-pressed=true],.roas-trend .rt-apply{background:var(--rt-blue);color:#fff;border-color:var(--rt-blue);box-shadow:0 2px 5px #2563eb1a}.roas-trend button:focus-visible,.roas-trend input:focus-visible{outline:3px solid #82aaff;outline-offset:2px}
.rt-filters{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:20px 0 16px}.rt-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--rt-muted)}.rt-filters input{color:var(--rt-ink);font:inherit;font-size:13px;background:white;border:1px solid var(--rt-line);border-radius:8px;min-height:38px;padding:7px 10px;max-width:100%}.rt-filters #rt-refresh{margin-left:auto}
.rt-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--rt-muted);margin-bottom:12px}.rt-meta #rt-period{font-weight:600;color:var(--rt-ink)}.rt-plot{height:280px;position:relative}.rt-plot[hidden]{display:none}.rt-message{padding:28px 20px;text-align:center;background:var(--rt-surface);border:1px dashed var(--rt-line);border-radius:10px;color:var(--rt-muted);font-size:13px;line-height:1.6;margin:8px 0}.rt-message[hidden]{display:none}.rt-message[data-kind=error]{background:#fff7ed;border-color:#f6c79c;color:#99400c}.rt-message[data-kind=note]{padding:10px 14px;text-align:left}
.rt-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;color:var(--rt-muted);font-size:12px;margin:16px 0}.rt-legend span{display:inline-flex;align-items:center;gap:7px}.rt-dot{width:8px;height:8px;background:var(--rt-blue);border-radius:50%;display:inline-block;flex-shrink:0}.rt-dot.rt-partial{background:var(--rt-amber)}.rt-hint{margin-left:auto}.rt-table{min-width:670px}.rt-table caption{text-align:left}.rt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.rt-table td{font-variant-numeric:tabular-nums}.rt-table .rt-badge{display:inline-block;padding:3px 7px;border-radius:5px;background:#fff2dc;color:#854900;font-size:11px}.roas-trend .metric-help{margin-top:10px}
@media(max-width:600px){.rt-heading{gap:14px}.rt-tabs{width:100%}.rt-tabs button{flex:1;padding:8px 7px;font-size:12px}.rt-filters{gap:8px}.rt-filters label{flex:1;min-width:125px}.rt-filters input{width:100%;box-sizing:border-box}.rt-filters .rt-apply{flex:0 0 auto}.rt-filters #rt-use-panel{flex:1}.rt-filters #rt-refresh{margin-left:0}.rt-hint{margin-left:0;width:100%}.rt-plot{height:250px}.rt-legend{gap:10px 14px}.rt-meta{font-size:12px}.rt-heading h3{font-size:17px}}
