/** Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */
.hcomp-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr) auto; gap: 24px; align-items: end; margin-bottom: 24px; }
.hcomp-controls[hidden], .hcomp-table tr[hidden] { display: none !important; }
.hcomp-controls label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--hd-forest); }
.hcomp-controls :is(input, select) { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #aeb9ac; border-radius: 6px; background: #fff; color: #213a2f; padding: 10px 14px; font: 400 16px/1.5 var(--hd-sans); }
.hcomp-controls select { appearance: auto; background-image: none; }
.hcomp-controls :is(input, select):focus-visible { outline: 3px solid #5f7a68; outline-offset: 3px; }
.hcomp-controls > p { font-size: 13px; margin: 0; min-height: 48px; display: flex; align-items: center; }
.hcomp-table table { min-width: 880px; }
.hcomp-table th:first-child { width: 23%; }
.hcomp-table td { width: 24%; }
.hcomp-table td:last-child { width: 29%; }
.hcomp-table .compatibility-sort-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; width: 100%; border: 0; background: transparent; color: var(--hd-forest); padding: 0; text-align: left; cursor: pointer; font: 600 14px/1.6 var(--hd-sans); }
.hcomp-table .compatibility-sort-button .dna-icon { width: 13px; height: 13px; }
.hcomp-table a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.hcomp-version { display: block; font-size: 13px; font-weight: 400; color: var(--hd-muted); margin-top: 5px; }
.hcomp-caption { caption-side: top; padding: 18px 24px; color: var(--hd-muted); font: 400 14px/1.8 var(--hd-sans); text-align: left; }
@media (max-width: 900px) { .hcomp-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } .hcomp-controls > p { grid-column: 1 / -1; min-height: 24px; } }
@media (max-width: 540px) { .hcomp-controls { grid-template-columns: minmax(0, 1fr); } .hcomp-controls > p { grid-column: 1; } }
