.trend-chart-wrap{overflow-x:auto;margin:16px 0 24px;padding:5px 3px}.trend-chart{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:6px}.trend-bar{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;height:105px;border:1px solid var(--line);border-radius:4px;background:var(--white);color:var(--ink);padding:5px;font-weight:400;min-width:0}.trend-bar strong{font-size:10px;font-weight:600}.trend-bar small{font-size:9px;color:var(--muted);margin-top:4px}.trend-bar svg{width:100%;height:57px;margin:4px 0}.trend-bar rect{fill:#7f9d7a}.trend-bar.partial rect{fill:#e3c69f;stroke:#aa7246;stroke-dasharray:3 2}.trend-bar.active{outline:2px solid var(--accent);outline-offset:1px}.trend-bar.missing{opacity:.55}
.weekly-audience{margin-top:22px;padding:20px;border:1px solid var(--line);border-radius:5px;background:var(--white)}.weekly-audience-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.weekly-audience h3{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0}.weekly-audience-heading a{font-size:12px}.weekly-audience .audience-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0}.weekly-audience .stat strong{font-size:23px}.weekly-audience p{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0}.weekly-audience .audience-quality{padding:9px 12px;border-radius:4px;background:#fff2e6;color:#89482c}.weekly-audience .audience-quality.complete{background:#e7ebdf;color:var(--green)}.weekly-audience .audience-status{margin-bottom:0}.weekly-audience .audience-status.error{color:#89482c}.audience-status button{margin-left:10px}
@media(max-width:720px){.trend-chart{grid-template-columns:repeat(6,minmax(0,1fr))}.trend-bar{height:99px}.weekly-audience{padding:14px}.weekly-audience-heading{display:block}.weekly-audience-heading a{display:inline-block;margin-top:8px}.weekly-audience .audience-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-audience .stat:nth-child(3){border-left:0;padding-left:0;border-top:1px solid var(--line)}.weekly-audience .stat:nth-child(4){border-top:1px solid var(--line)}.weekly-audience .stat strong{font-size:20px}}

@media(max-width:1100px){.weekly-audience .audience-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.weekly-audience .stat:nth-child(3){border-left:0;padding-left:0;border-top:1px solid var(--line)}.weekly-audience .stat:nth-child(4){border-top:1px solid var(--line)}.weekly-audience .trend-chart{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:720px){.weekly-audience .trend-chart{grid-template-columns:repeat(6,minmax(0,1fr))}}

.trend-bar rect.imputed-segment{fill:#bc3e3e;stroke:#8c2929;stroke-dasharray:1 1}.audience-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin:16px 0;font-size:12px;line-height:1.6;color:var(--muted)}.audience-legend span{display:block}.audience-legend i{display:inline-block;width:13px;height:13px;vertical-align:-2px;margin-right:7px;border-radius:2px}.legend-green{background:#7f9d7a}.legend-brown{background:#e3c69f;border:1px dashed #aa7246}.legend-red{background:#bc3e3e}.legend-blank{background:#fafaf6;border:1px solid var(--line)}.audience-imputation{font-size:12px;line-height:1.7;padding:8px 0}.audience-imputation.has-estimate,.weekly-audience .audience-imputation.has-estimate{color:#a42c2c;background:#fff0ed;padding:10px 12px;border-left:3px solid #bc3e3e}.trend-table tr.imputed-artist td{background:#fff0ed;color:#922b2b}.trend-table tr.imputed-artist td small{color:#a84747}.trend-table .current-reference{margin-top:8px;font-size:11px;padding:5px 8px;color:#425f72}.trend-table .current-reference-value{color:#425f72!important}.trend-table tr.missing-artist td{background:#fff6f3}.trend-table td .estimate-label{font-weight:600;color:#a42c2c;font-size:11px}@media(max-width:720px){.audience-legend{grid-template-columns:1fr}}
