/* Reports uses the same surfaces, spacing and typography as the portal. */
.reports-experience,#reportDynamic:not(.report-loading):not(.report-error){display:grid;gap:16px;min-width:0;color:var(--portal-text);font:inherit}
.reports-experience *{box-sizing:border-box}.reports-experience h2{font-size:18px;font-weight:650;line-height:1.35;margin:0 0 6px;color:var(--portal-text)}.reports-experience p{margin:4px 0;color:var(--portal-muted);font-size:13px;line-height:1.5}
.report-card,.report-controls,.report-kpis article,.report-summary-grid article,.report-loading,.report-error{background:var(--portal-surface);border-radius:12px;padding:24px;min-width:0;box-shadow:none;color:var(--portal-text)}
.report-controls>div:first-child:not(.report-filter-row){display:none}.report-filter-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.report-filter-row label{display:grid;gap:8px;font-size:12px;color:var(--portal-muted);min-width:0;font-weight:600}
.report-filter-row select,.report-card-heading select,.report-card-heading input,.report-chart-toolbar>select{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid var(--portal-border);border-radius:8px;background:var(--portal-surface);color:var(--portal-text);font:inherit;font-size:14px}.report-card-heading select{width:auto;max-width:100%}
.report-filter-row button{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:8px;background:var(--portal-soft);color:var(--portal-accent);font-size:13px;font-weight:600;cursor:pointer;border:0}.report-filter-row .report-generate{background:#1665c1;color:#fff}.report-filter-row #reportReset{background:transparent}.report-filter-row .report-save{grid-column:3}
.report-kpis,.report-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.report-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.report-kpis article{display:grid;gap:8px}.report-kpis strong{font-size:30px;font-weight:650;font-variant-numeric:tabular-nums}.report-kpis span,.report-summary-grid article>div>span{font-size:12px;font-weight:600;color:var(--portal-muted)}.report-kpis small,.report-summary-grid small{font-size:12px;color:var(--portal-muted)}
.report-summary-grid article{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start}.report-summary-grid article>div{display:grid;gap:8px;min-width:0}.report-summary-grid strong{font-size:24px;line-height:1.25;letter-spacing:-.5px;font-weight:650}.report-summary-grid em{font-size:12px;font-style:normal;color:var(--portal-accent)}.report-summary-grid em.up{color:#147b51}.dark .report-summary-grid em.up{color:#79d9ad}.report-summary-grid em.down{color:#b42335}.dark .report-summary-grid em.down{color:#ffadb6}.summary-spark,.summary-line{display:none}
.report-icon{display:grid;place-items:center;width:22px;height:24px;flex:0 0 22px;color:var(--portal-accent)}.report-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.report-generate .report-icon{color:inherit}.report-title-with-icon{display:flex;align-items:flex-start;gap:12px}.report-title-with-icon>div{min-width:0}.report-card-heading,.report-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.report-eyebrow{font-size:11px;letter-spacing:1px;color:var(--portal-accent);font-weight:600}.report-section-title small{color:var(--portal-muted);font-size:12px}
.report-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px;align-items:start}.report-secondary-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.report-campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.report-chart-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:20px}.metric-tabs,.period-tabs{display:flex;flex-wrap:wrap;gap:4px;max-width:100%}.metric-tabs button,.period-tabs button{border:0;border-radius:6px;min-height:40px;padding:8px 12px;background:var(--portal-soft);color:var(--portal-muted);font-size:12px;cursor:pointer}.metric-tabs button.selected,.period-tabs button.selected{background:var(--portal-accent-soft);color:var(--portal-accent);font-weight:650}.report-chart-toolbar>select{display:none}.compare-toggle{display:flex;align-items:center;gap:6px}.compare-toggle i{width:8px;height:8px;border:1px solid currentColor;border-radius:50%}.compare-toggle.selected i{background:currentColor}
.report-chart{display:block;width:100%;height:280px;overflow:visible}.report-chart text{fill:var(--portal-muted);font-size:12px}.report-grid{stroke:var(--portal-border);stroke-width:1}.report-line{fill:none;stroke:#2986ed;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.report-line-compare{fill:none;stroke:#8b77d8;stroke-width:2;stroke-dasharray:6 4}.report-dot{fill:var(--portal-surface);stroke:#2986ed;stroke-width:2}
.report-insights ol{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:16px}.report-insights li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding-bottom:16px;border-bottom:1px solid var(--portal-border)}.report-insights li:last-child{border:0;padding-bottom:0}.report-insights b{font-size:12px;color:var(--portal-accent);background:var(--portal-accent-soft);border-radius:6px;height:28px;display:grid;place-items:center}.report-insights li span{font-size:13px;line-height:1.6;color:var(--portal-muted)}.report-insights strong{color:var(--portal-text);font-weight:600}
.report-location-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:24px}.report-stadia-map{position:relative;height:360px;min-width:0;border-radius:8px;overflow:hidden;background:var(--portal-soft);isolation:isolate}.report-stadia-map .leaflet-control-attribution{font-size:9px}.report-map-fallback{height:100%;display:grid;place-items:center;color:var(--portal-muted);padding:20px}.report-heat-point{background:transparent!important;border:0!important}.report-heat-point i{display:block;width:100%;height:100%;border-radius:50%;opacity:var(--heat-opacity,.7);background:radial-gradient(circle,rgba(211,0,42,.96) 0%,rgba(255,149,52,.82) 34%,rgba(255,229,120,.52) 62%,rgba(255,229,120,0) 100%);filter:blur(6px)}.report-map-heat-legend{position:absolute;z-index:500;left:12px;bottom:24px;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:6px;background:#142133e6;color:white;font-size:10px;pointer-events:none}.report-map-heat-legend i{width:60px;height:6px;border-radius:8px;background:linear-gradient(90deg,#ffe578,#ff9534,#d3002a)}
.report-locations>div{display:grid;grid-template-columns:24px minmax(0,1fr) 44px auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--portal-border)}.report-locations>div:last-child{border:0}.report-locations b{font-size:11px;color:var(--portal-accent)}.report-locations span{display:grid;gap:4px}.report-locations strong{font-size:12px;font-weight:600}.report-locations small{font-size:11px;color:var(--portal-muted)}.report-locations em{font-size:12px;font-style:normal;font-weight:600}.location-bar,.rank-bar,.target-list>div>div{height:6px;background:var(--portal-soft);border-radius:6px;overflow:hidden}.location-bar i,.rank-bar i,.target-list i{display:block;height:100%;background:#2986ed;border-radius:6px}
.report-heat-scroll{overflow-x:auto;max-width:100%;padding-bottom:8px}.report-heatmap{display:grid;grid-template-columns:36px repeat(24,minmax(16px,1fr));gap:4px;min-width:600px;margin-top:16px;align-items:center}.report-heatmap>div{grid-column:1}.report-heatmap>span{grid-column:span 3;text-align:center}.report-heatmap>b,.report-heatmap>span{font-size:11px;color:var(--portal-muted)}.report-heatmap>i{display:block;height:26px;border-radius:3px}.heat-legend{display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:11px;color:var(--portal-muted);margin-top:12px}.admin-heat-legend i{width:90px;height:8px;border-radius:8px;background:linear-gradient(90deg,#1e3a8a,#3b82f6,#10b981,#f59e0b,#dc2626)}.report-scroll-hint{display:none}
.comparison-visual{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:center;margin:24px 0}.comparison-donut{width:160px;height:160px;padding:24px;border-radius:50%}.comparison-donut>div{background:var(--portal-surface);border-radius:50%;width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.comparison-donut strong{font-size:24px}.comparison-donut small{font-size:10px;color:var(--portal-muted)}.comparison-legend{display:grid;gap:16px}.comparison-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:center}.comparison-legend i{width:8px;height:8px;border-radius:50%}.comparison-legend span{display:grid;gap:3px}.comparison-legend strong,.comparison-legend em{font-size:12px;font-style:normal}.comparison-legend small{font-size:11px;color:var(--portal-muted)}.comparison-callouts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.comparison-callouts>div{display:grid;gap:6px;padding:16px;border-radius:8px;background:var(--portal-soft)}.comparison-callouts span,.comparison-callouts small{font-size:11px;color:var(--portal-muted)}.comparison-callouts strong{font-size:13px}
.target-list,.report-ranking{display:grid;gap:20px;margin-top:24px}.target-list>div>span,.rank-title{display:flex;justify-content:space-between;gap:12px;font-size:13px}.target-list em{font-style:normal;color:var(--portal-muted)}.target-list>div>div,.rank-bar{margin:10px 0 6px}.target-list small,.report-rank small{font-size:11px;color:var(--portal-muted)}.report-rank{display:grid;grid-template-columns:20px 1fr;gap:12px}.rank-number{color:var(--portal-muted);font-size:12px}
.report-table-wrap{overflow-x:auto}.report-detail table{min-width:900px;width:100%;border-collapse:collapse}.report-detail th{background:var(--portal-soft);padding:12px 16px;text-align:left;font-size:11px;font-weight:600;color:var(--portal-muted)}.report-detail td{padding:16px;border-bottom:1px solid var(--portal-border);font-size:13px}.report-detail td small{display:block;color:var(--portal-muted);font-size:11px;margin-top:4px}.report-detail td a{color:var(--portal-accent)}.report-status{background:var(--portal-soft);padding:5px 9px;border-radius:16px;font-size:11px}.report-campaign-name{display:flex;align-items:center;gap:10px}.report-campaign-name img{width:32px;height:32px;object-fit:contain;border-radius:6px}.report-campaign-name span{display:grid;gap:4px}.report-method{font-size:12px;color:var(--portal-muted);line-height:1.6}.report-empty,.report-loading,.report-error{padding:40px 24px;text-align:center;color:var(--portal-muted)}
.portal-header .account-avatar img{width:100%;height:100%;object-fit:contain;border-radius:50%}.advertiser-table-logo{display:none}.overview-next-actions{display:flex;align-items:center;gap:16px;background:var(--portal-surface);border-radius:12px;padding:24px}.overview-next-actions>div{display:grid;gap:6px;margin-right:auto}.overview-next-actions span{font-size:11px;font-weight:600;color:var(--portal-accent)}.overview-next-actions strong{font-size:14px;font-weight:500}.overview-next-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:8px;background:var(--portal-soft);color:var(--portal-accent);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
@media(max-width:1100px){.report-main-grid,.report-location-layout{grid-template-columns:minmax(0,1fr)}.report-campaign-grid{grid-template-columns:minmax(0,1fr)}.report-summary-grid{grid-template-columns:minmax(0,1fr)}.report-stadia-map{height:320px}.report-summary-grid article{padding:20px}.overview-next-actions{flex-wrap:wrap}.overview-next-actions>div{width:100%}}
@media(max-width:700px){.report-card,.report-controls,.report-kpis article,.report-summary-grid article{padding:16px}.report-filter-row{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-row .report-save{grid-column:auto}.report-filter-row .report-generate{grid-column:1/-1}.report-filter-row select{font-size:16px}.report-card-heading,.report-section-title{flex-direction:column;gap:12px}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-chart{height:240px}.report-chart-toolbar{align-items:stretch}.metric-tabs{display:none}.report-chart-toolbar>select{display:block}.period-tabs button{min-height:44px;padding:8px 10px}.period-tabs{gap:6px}.report-stadia-map{height:280px}.report-scroll-hint{display:block!important;font-size:11px!important}.comparison-visual{grid-template-columns:1fr}.comparison-donut{margin:auto}.comparison-callouts{grid-template-columns:1fr}.overview-next-actions{padding:16px;gap:12px}.overview-next-actions a{flex:1}.report-title-with-icon h2{font-size:18px}.report-summary-grid strong{font-size:24px}}
@media(max-width:360px){.report-filter-row,.report-kpis{grid-template-columns:1fr}.overview-next-actions a{flex-basis:100%}}
@media print{.report-controls,.report-chart-toolbar{display:none}.report-main-grid,.report-secondary-grid{display:block}.report-card{break-inside:avoid;margin-bottom:16px}.report-heat-scroll,.report-table-wrap{overflow:visible}.report-detail table{min-width:0}.reports-experience{color:#182538;--portal-surface:#fff;--portal-text:#182538;--portal-muted:#52647b;--portal-soft:#edf1f6;--portal-border:#dce3ec}.report-card svg{print-color-adjust:exact}}
.comparison-donut span{font-size:11px;color:var(--portal-muted)}.report-summary-grid em small{margin-left:6px}.report-card-heading input{max-width:320px}
.report-context{color:var(--portal-muted);font-size:12px;white-space:nowrap;background:var(--portal-soft);padding:6px 10px;border-radius:6px}
