/* Extends the existing dark panels and controls; no external fonts/assets. */
.insight-panel { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); min-width: 0; }
.insight-panel h3 { margin: 0; font-size: 14px; }
.insight-panel p { margin: 7px 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.insight-panel [hidden] { display: none !important; }
.insight-toolbar, .insight-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.insight-toolbar { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.insight-toolbar button, .insight-actions button { min-height: 34px; font-size: 12px; }
.insight-toolbar button[aria-pressed="true"] { color: var(--accent, #ff6b45); border-color: var(--accent, #ff6b45); }
.insight-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.insight-note strong { color: var(--text); }
.insight-disclosure { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; }
.insight-disclosure summary { padding: 9px; font-size: 12px; }
.insight-disclosure > div, .insight-disclosure > ul { padding: 0 12px 12px; }
.insight-disclosure > ul { padding-left: 28px; }
.insight-disclosure li { margin-top: 7px; font-size: 12px; line-height: 1.5; }
.insight-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.insight-metric { border: 1px solid var(--line); border-radius: 8px; padding: 9px; background: var(--surface, var(--panel2)); min-width: 0; overflow-wrap: anywhere; }
.insight-metric dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.insight-metric dd { margin: 0; font-weight: 700; font-size: 13px; }
.insight-scroll { overflow: auto; max-width: 100%; }
.insight-compare table { width: 100%; table-layout: fixed; min-width: 540px; }
.insight-compare th, .insight-compare td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; font-size: 12px; min-width: 140px; }
.insight-compare thead th { position: static; cursor: auto; }
.insight-compare tbody th { text-align: left; padding: 9px; color: var(--muted); }
.insight-row-action { min-height: 30px; padding: 4px 8px; font-size: 11px; white-space: nowrap; }
.insight-row-action[aria-pressed="true"] { border-color: var(--accent, #ff6b45); color: var(--accent, #ff6b45); }
.insight-data { margin: 0 0 14px; }
.insight-status-line { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: 12px; line-height: 1.5; }
.insight-data summary { font-weight: 500; }
.insight-data details { margin-top: 8px; }
.insight-data .insight-alert { color: var(--warn, #f1bb54); }
.insight-optimization { margin: 8px 0; padding: 10px; }
.insight-optimization p { margin: 4px 0; }
.insight-optimization button { width: 100%; margin-top: 8px; }
.insight-technical-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 7px; }
.insight-technical-grid div { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.insight-selected-caption { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.availability-cell { max-width: 180px; white-space: normal; font-size: 11px; line-height: 1.4; }
#tbody tr.selected-row { outline: 1px solid var(--accent, #ff6b45); outline-offset: -1px; }
button:focus-visible, summary:focus-visible, th:focus-visible, tr:focus-visible { outline: 2px solid var(--accent, #ff6b45); outline-offset: 2px; }
.insight-panel button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 760px) {
  .insight-toolbar { align-items: flex-start; }
  .insight-toolbar .insight-note { flex-basis: 100%; }
  .insight-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
