.trend-heading{padding:24px 0 16px}.trend-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.2;margin:0 0 14px;letter-spacing:-.025em}.trend-heading p{margin:0;color:var(--muted);font-size:17px}
.trend-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:8px 0 24px}.trend-stat{border:1px solid var(--border);border-radius:14px;padding:18px 22px;background:var(--surface2)}.trend-stat>span,.trend-stat>small{display:block;color:var(--muted);font-size:16px}.trend-stat>strong{display:block;font-size:36px;line-height:1.3;margin:8px 0}
.trend-bot{color:var(--accent)}.trend-human{color:var(--orange)}.trend-panel{padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--bg)}
.trend-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.trend-chart-heading h2{font-size:23px;line-height:1.3;margin:0 0 8px}.trend-chart-heading p{margin:0;color:var(--muted);font-size:16px}.trend-legend{display:flex;gap:22px;flex-wrap:wrap;font-weight:650}.trend-legend>span,.trend-values>span{display:inline-flex;gap:9px;align-items:center}
.trend-swatch{display:inline-block;flex-shrink:0;width:26px;height:3px;background:var(--accent)}.trend-swatch.human{background:none;border-top:3px dashed var(--orange);height:0}.trend-axis-label{font-size:14px;color:var(--muted);margin:20px 0 0}
.trend-chart{width:100%;min-width:0;margin-top:6px}.trend-chart svg{display:block;max-width:100%;overflow:visible}.trend-grid{stroke:var(--border);stroke-width:1;opacity:.7}.trend-tick{fill:var(--muted);font-size:14px;font-family:inherit}.trend-line{stroke:var(--accent);stroke-width:3;fill:none;stroke-linejoin:round}.trend-line.human{stroke:var(--orange);stroke-dasharray:7 5}.trend-dot{pointer-events:none}.trend-dot.bot{fill:var(--accent)}.trend-dot.human{fill:var(--bg);stroke:var(--orange);stroke-width:2}.trend-focus-line{stroke:var(--muted);stroke-dasharray:3 5;stroke-width:1;opacity:0}.trend-target{cursor:crosshair;outline:none}.trend-target.selected .trend-focus-line,.trend-target:focus-visible .trend-focus-line{opacity:.8}.trend-target:focus-visible rect{stroke:var(--accent);stroke-width:1}
.trend-hint,.trend-note{color:var(--muted);font-size:15px;line-height:1.6}.trend-hint{margin:4px 0 16px}.trend-note{margin:20px 0}
#trend-detail{padding-top:16px;border-top:1px solid var(--border)}.trend-selection{display:flex;align-items:center;justify-content:center;gap:16px;text-align:center}.trend-selection strong{font-size:18px;min-width:0}.trend-selection button{flex-shrink:0;min-width:44px;min-height:44px}.trend-values{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 24px;margin-top:16px;font-size:16px}.trend-values b{font-size:21px}.trend-values>a{font-weight:650}
.trend-table{margin:20px 0;padding:18px;border:1px solid var(--border);border-radius:12px}.trend-table>summary{cursor:pointer;font-size:17px;font-weight:650}.trend-table .table-wrap{margin-top:16px}
@media(max-width:640px){.trend-summary{grid-template-columns:1fr 1fr;gap:10px}.trend-stat{padding:14px}.trend-stat:last-child{grid-column:1/-1}.trend-stat>strong{font-size:30px}.trend-stat>span,.trend-stat>small{font-size:15px}.trend-panel{padding:16px 8px}.trend-chart-heading{padding:0 6px;gap:14px}.trend-chart-heading h2{font-size:21px}.trend-chart-heading p{font-size:15px}.trend-legend{font-size:16px}.trend-axis-label,.trend-hint{padding-left:6px;padding-right:6px}.trend-selection{gap:8px}.trend-selection strong{font-size:16px}.trend-values{gap:10px 16px;font-size:15px;padding:0 5px}.trend-values b{font-size:19px}.trend-values>a{flex-basis:100%;text-align:center}.trend-table{padding:12px}.trend-note{font-size:15px}.trend-tick{font-size:13px}}
