.view-reports #main{display:flex;flex-direction:column;overflow:hidden}.reports-workspace{display:flex;flex-direction:column;height:100%;min-height:0;gap:12px;min-width:0}.report-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0}.report-heading>div:first-child{min-width:0}.report-heading h1{font-size:27px;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}.report-heading>div:last-child{display:flex;gap:8px}.report-heading button{font-size:12px;min-height:44px;white-space:normal}.report-controls{display:flex;gap:8px 12px;align-items:flex-end;flex-wrap:wrap;flex-shrink:0}.report-controls label{display:grid;gap:5px;font-size:11px;color:var(--muted);min-width:0}.report-controls input,.report-controls select{min-height:44px;min-width:0;border:1px solid var(--color-border-control);border-radius:8px;background:var(--color-surface-card);padding:8px;font-size:13px;color:var(--ink);max-width:100%}.report-controls label:first-child{width:210px}.report-controls label:not(:first-child){width:150px}.report-controls button{min-height:44px;font-size:12px}.report-controls>.form-error{width:100%;margin:0}.report-controls>.form-error:empty{display:none}.report-presets{display:flex;gap:6px;flex-wrap:wrap}.report-presets button{min-height:44px;padding:8px;font-size:11px;color:var(--teal);border-radius:6px;background:var(--color-surface-card);border:1px solid var(--color-border-subtle)}.report-freshness{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:11px;line-height:1.5;padding:9px 12px;border:1px solid var(--color-info-border);border-radius:10px;background:var(--color-info-subtle);min-width:0}.report-freshness.provisional{background:var(--color-warning-subtle);border-color:var(--color-warning-border)}.report-freshness>.status-dot{flex-shrink:0}.report-freshness>div{min-width:0;flex:1}.report-freshness strong{margin-right:8px}.report-freshness span,.report-freshness small{overflow-wrap:anywhere}.report-freshness small{display:block;color:var(--muted);font-size:10px}.report-review{max-width:170px;text-align:right}.report-error{padding:8px 12px;color:var(--color-critical-text);border:1px solid var(--color-critical-border);background:var(--color-critical-subtle);border-radius:8px;display:flex;gap:10px;align-items:center;font-size:12px;line-height:1.5;flex-shrink:0;overflow-wrap:anywhere}.report-error button{margin-left:auto;flex-shrink:0;font-size:11px}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex-shrink:0}.report-metric{padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--color-surface-card);display:grid;gap:6px;min-width:0}.report-metric.featured{background:var(--color-surface-inverse);color:var(--color-text-inverse);border-color:var(--color-surface-inverse)}.report-metric>span{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.report-metric strong{font-size:23px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.report-metric small{font-size:10px;line-height:1.4;opacity:.75;overflow-wrap:anywhere}.report-tabs{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;min-width:0;padding-bottom:2px}.report-tabs button{min-height:44px;padding:8px 12px;white-space:nowrap;font-size:12px;border:1px solid var(--line);border-radius:8px;background:var(--color-surface-card);color:var(--muted);flex-shrink:0}.report-tabs .selected{color:var(--color-text-on-primary);background:var(--teal);border-color:var(--teal)}.report-content{flex:1;min-height:0;min-width:0;overflow:hidden}.report-summary-grid{height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:0}.report-card{background:var(--color-surface-card);border:1px solid var(--line);border-radius:12px;padding:16px;overflow:auto;min-width:0;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}.report-card h2{font-size:15px;line-height:1.4;margin-bottom:12px}.report-card dl{display:grid;gap:10px;font-size:12px}.report-card dl>div{display:flex;gap:10px;justify-content:space-between;line-height:1.5}.report-card dt{min-width:0;overflow-wrap:anywhere}.report-card dd{text-align:right;white-space:nowrap;font-weight:600}.report-card dl>div:last-child{padding-top:10px;border-top:1px solid var(--line);font-weight:700}.report-card>p{font-size:10px;color:var(--muted);line-height:1.5;margin-top:12px}.report-rankings{display:grid;gap:12px}.report-rankings>div{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px}.report-rankings>div>span{width:20px;color:var(--muted);flex-shrink:0}.report-rankings strong{flex:1;min-width:0;overflow-wrap:anywhere}.report-rankings small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:4px}.report-rankings b{flex-shrink:0;white-space:nowrap;font-size:12px}.report-table-panel{height:100%;display:flex;flex-direction:column;min-height:0;min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--color-surface-card);overflow:hidden}.report-table-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}.report-table-scroll table{min-width:680px;width:100%;border-collapse:collapse}.report-table-scroll th{position:sticky;top:0;background:var(--color-surface-page);z-index:1;font-size:11px;white-space:normal;padding:12px;text-align:left}.report-table-scroll td{font-size:12px;padding:12px;max-width:250px;overflow-wrap:anywhere}.report-table-scroll td:first-child{min-width:170px}.report-table-scroll small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.report-table-scroll td:nth-child(n+2){white-space:nowrap}.report-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;padding:8px 12px;border-top:1px solid var(--line);font-size:11px}.report-pagination>div{display:flex;gap:6px}.report-pagination button{min-height:44px;font-size:11px;padding:8px 12px}.report-empty{display:grid;place-content:center;text-align:center;gap:12px;min-height:100%;padding:20px;color:var(--muted);line-height:1.5}.report-empty h2,.report-empty h3{font-size:17px;color:var(--teal)}.report-empty p{font-size:12px}.report-footnote{font-size:10px;line-height:1.5;color:var(--muted);flex-shrink:0;overflow-wrap:anywhere}
@media(max-width:1100px){.report-controls{gap:8px}.report-controls label:first-child{width:190px}.report-controls label:not(:first-child){width:140px}.report-metric{padding:12px}.report-metric strong{font-size:21px}.reports-workspace{gap:10px}.report-heading h1{font-size:24px}}
@media(max-width:899px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.report-controls label:first-child{grid-column:1/3;width:auto}.report-controls label:not(:first-child){width:auto}.report-controls>button{grid-column:3;grid-row:2}.report-presets{grid-column:1/-1}.report-controls label:nth-child(2){grid-column:1;grid-row:2}.report-controls label:nth-child(3){grid-column:2;grid-row:2}.report-controls>.form-error{grid-column:1/-1}.report-controls label:first-child{grid-column:1/-1}.report-metric{gap:4px;padding:10px 12px}.report-metric strong{font-size:21px}.report-summary-grid{grid-template-columns:1fr;overflow:auto;align-content:start}.report-card{overflow:visible;min-height:0}.report-content{min-height:100px}.report-freshness strong{display:block}.report-freshness{font-size:10px}.report-review{max-width:110px}}
@media(max-width:599px){.view-reports #main{padding:12px}.report-heading h1{font-size:21px}.report-heading .eyebrow{display:none}.report-heading button{font-size:10px;padding:8px}.report-heading button svg{display:none}.report-heading{gap:8px}.report-controls input,.report-controls select{font-size:12px;padding:6px}.report-presets button{min-height:36px}.report-controls label{gap:3px;font-size:10px}.report-metric>span,.report-metric small{font-size:9px}.report-metric strong{font-size:19px}.report-tabs button{font-size:11px;padding:8px 10px}.report-freshness small{font-size:9px}.report-freshness{padding:6px 8px}.report-review{max-width:75px}.report-error{font-size:10px}.report-footnote{font-size:9px}.report-metrics{gap:6px}.reports-workspace{gap:8px}.report-summary-grid{gap:8px}.report-card{padding:12px}.report-pagination{padding:6px 8px}.report-pagination>span{max-width:160px}}

.report-card .report-empty{min-height:0;padding:18px 8px}.report-card{padding-bottom:14px}

@media(max-width:899px){.report-controls input,.report-controls select{font-size:16px}.report-presets button{min-height:44px}}
