.iv-tabs { display:flex; gap:8px; border-bottom:1px solid var(--line); padding:0 0 12px; margin-bottom:18px; }
.iv-tabs button, #industryValuationPanel button, #industryValuationPanel select, #industryValuationPanel input { color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:4px; padding:8px 12px; font:inherit; }
.iv-tabs [aria-pressed="true"] { color:var(--blue); border-color:var(--blue); }
#industryValuationPanel[hidden] { display:none; }
#themeLibraryView > #themeLibraryPanel[hidden] { display:none; }
#industryValuationPanel { min-width:0; }
#industryValuationPanel h2 { margin:0; font-size:22px; }
#industryValuationPanel h3 { font-size:17px; margin:12px 0; }
.iv-head, .iv-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:16px; }
.iv-head { justify-content:space-between; }
.iv-meta, .iv-note { color:var(--muted); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.iv-controls input { min-width:0; width:200px; max-width:100%; }
.iv-table-wrap { overflow:auto; max-width:100%; border-top:1px solid var(--line); }
#industryValuationPanel table { width:100%; border-collapse:collapse; font-size:14px; white-space:nowrap; }
#industryValuationPanel th, #industryValuationPanel td { padding:10px 12px; text-align:right; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
#industryValuationPanel th:first-child, #industryValuationPanel td:first-child { text-align:left; }
#industryValuationPanel th button { border:0; padding:0; background:none; }
.iv-bar { display:inline-block; width:90px; height:6px; background:var(--line); margin-right:10px; vertical-align:middle; }
.iv-bar i { display:block; height:100%; background:#168a79; }
.iv-detail { border-top:1px solid var(--line); margin-top:22px; padding-top:12px; }
.iv-chart { width:100%; height:240px; display:block; }
.iv-legend { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:var(--muted); font-size:12px; }
#industryValuationPanel button:focus-visible, .iv-tabs button:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
@media(max-width:600px) { #industryValuationPanel h2 { font-size:20px; } .iv-bar { width:45px; } #industryValuationPanel th, #industryValuationPanel td { padding:9px 8px; } }
