.cooler-performance {
  --clpt-bg: #fff; --clpt-head: #edf2fa; --clpt-line: #d3dbe7; --clpt-text: #182338;
  --clpt-muted: #536077; --clpt-accent: #2459c4; --clpt-ink: #fff; --clpt-row: #f7f9fc; --clpt-track: #dce4f2;
  color: var(--clpt-text); background: var(--clpt-bg); display: grid; gap: 12px;
  width: 100%; max-width: 100%; min-width: 0; margin: 20px 0 60px; font: 14px/1.4 system-ui, sans-serif;
}
:root[data-theme=dark] .cooler-performance {
  --clpt-bg: #19192c; --clpt-head: #272b43; --clpt-line: #42465d; --clpt-text: #f0f2fa;
  --clpt-muted: #b8c1d5; --clpt-accent: #9dbfff; --clpt-ink: #101b30; --clpt-row: #202238; --clpt-track: #383e58;
  color-scheme: dark;
}
.cooler-performance *, .cooler-performance *::before, .cooler-performance *::after { box-sizing: border-box; }
.cooler-performance [hidden] { display: none !important; }
.cooler-performance .clpt-controls { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--clpt-line); border-radius: 12px; background: var(--clpt-row); }
.cooler-performance .clpt-toolbar, .cooler-performance .clpt-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; min-width: 0; }
.cooler-performance .clpt-search { flex: 1 1 260px; }
.cooler-performance label { display: grid; gap: 5px; min-width: 0; margin: 0; font-size: 12px; font-weight: 650; color: var(--clpt-muted); }
.cooler-performance input, .cooler-performance select, .cooler-performance button {
  font: inherit; line-height: 1.3; letter-spacing: normal; text-transform: none;
  border: 1px solid var(--clpt-line); border-radius: 6px; padding: 8px 10px; margin: 0;
  background: var(--clpt-bg); color: var(--clpt-text); box-shadow: none; height: auto;
}
.cooler-performance input, .cooler-performance select { width: 100%; min-width: 0; max-width: 100%; }
.cooler-performance input::placeholder { color: var(--clpt-muted); font-weight: 400; opacity: 1; }
.cooler-performance select.cyb-pa-native-select { display: block !important; appearance: auto; }
.cooler-performance select + .nice-select { display: none !important; }
.cooler-performance button { cursor: pointer; min-height: 36px; }
.cooler-performance button:hover { border-color: var(--clpt-accent); }
.cooler-performance button[aria-pressed=true] { color: var(--clpt-ink); border-color: var(--clpt-accent); background: var(--clpt-accent); }
.cooler-performance :is(input, select, button, a, [tabindex]):focus-visible { outline: 2px solid var(--clpt-accent); outline-offset: 3px; }
.cooler-performance .clpt-chips button { border-radius: 999px; font-size: 12px; }
.cooler-performance .clpt-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cooler-performance p { color: var(--clpt-muted); font-size: 13px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.cooler-performance .clpt-status { font-weight: 650; color: var(--clpt-text); }
.cooler-performance .clpt-scroll { max-width: 100%; min-width: 0; overflow: auto; max-height: 70vh; border: 1px solid var(--clpt-line); border-radius: 10px; overscroll-behavior: contain; }
.cooler-performance table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; margin: 0; color: var(--clpt-text); background: var(--clpt-bg); font-size: 13px; font-variant-numeric: tabular-nums; }
.cooler-performance th, .cooler-performance td { border: 0; border-bottom: 1px solid var(--clpt-line); padding: 7px 10px; text-align: right; white-space: nowrap; vertical-align: middle; background: var(--clpt-bg); color: var(--clpt-text); }
.cooler-performance tbody tr:nth-child(even) td { background: var(--clpt-row); }
.cooler-performance th { position: sticky; top: 0; z-index: 2; background: var(--clpt-head); font-size: 12px; white-space: normal; vertical-align: bottom; }
/* Headers wrap to two or three short lines instead of widening every column. */
.cooler-performance th button { border: 0; background: transparent; padding: 4px 0; font-weight: 700; color: inherit; max-width: 7.5em; text-align: inherit; line-height: 1.25; min-height: 0; }
.cooler-performance th.clpt-col-name button { max-width: none; }
.cooler-performance .clpt-at { display: block; font-weight: 600; color: var(--clpt-muted); }
.cooler-performance th[aria-sort=ascending] .clpt-at, .cooler-performance th[aria-sort=descending] .clpt-at { color: inherit; }
.cooler-performance th[aria-sort=ascending], .cooler-performance th[aria-sort=descending] { color: var(--clpt-accent); }
.cooler-performance .clpt-col-name { text-align: left; white-space: normal; min-width: 250px; max-width: 320px; position: sticky; left: 0; z-index: 1; overflow-wrap: anywhere; box-shadow: 2px 0 0 var(--clpt-line); }
.cooler-performance th.clpt-col-name { z-index: 3; }
.cooler-performance a { color: var(--clpt-accent); text-decoration: underline; text-underline-offset: 2px; transition: none; }
.cooler-performance .clpt-brand { display: block; color: var(--clpt-muted); font-size: 11px; }
.cooler-performance .clpt-model { display: block; color: var(--clpt-text); }
.cooler-performance .clpt-none { color: var(--clpt-muted); }
.cooler-performance .clpt-hint { color: var(--clpt-text); }
.cooler-performance .clpt-hint button { margin-left: 6px; padding: 4px 10px; min-height: 0; border-color: var(--clpt-accent); }
.cooler-performance .clpt-model-line { display: flex; align-items: center; gap: 8px; }
.cooler-performance .clpt-model-line > span { flex: 1 1 auto; min-width: 0; }
.cooler-performance .clpt-report { flex: 0 0 auto; font-size: 11px; }
.cooler-performance .clpt-number { display: inline-grid; gap: 4px; justify-items: end; }
.cooler-performance .clpt-mini { display: block; width: 60px; height: 4px; background: var(--clpt-track); border-radius: 4px; overflow: hidden; }
.cooler-performance .clpt-mini i { display: block; height: 100%; background: var(--clpt-accent); }
.cooler-performance .clpt-more { justify-self: start; border-color: var(--clpt-accent); }
.cooler-performance .clpt-empty { text-align: left; white-space: normal; }
.cooler-performance .clpt-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
  .cooler-performance .clpt-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cooler-performance .clpt-controls { padding: 10px; }
  .cooler-performance .clpt-col-name { min-width: 145px; max-width: 170px; }
  .cooler-performance th, .cooler-performance td { padding: 7px; }
  .cooler-performance .clpt-scroll { max-height: 65vh; }
}

.cooler-performance .clpt-brand { padding: 0; border: 0; min-height: 0; text-decoration: underline; color: var(--clpt-accent); text-align: left; }
.cooler-performance .clpt-group th { position: static; text-align: left; background: var(--clpt-head); }
.cooler-performance summary { cursor: pointer; color: var(--clpt-accent); font-size: 13px; }
.cooler-performance details p { padding-top: 8px; }
@media (max-width: 700px) {
  .cooler-performance .clpt-filters { grid-template-columns: minmax(0, 1fr); }
}
