/* Find Tests polish v1 — readability + contextual helper sizing. No ranking changes. */

/* Desktop: raise the smallest catalog text without changing 3-column density. */
.find-v2-hero p{font-size:13px}
.find-v2-filter-head button{font-size:10.5px}
.find-v2-search input{font-size:11.5px}
.find-v2-filter-group summary{font-size:10.5px}
.find-v2-filter-body h4{font-size:9px}
.find-v2-check{font-size:11px;line-height:1.4}
.find-v2-filter-note{font-size:9.5px;line-height:1.5}
.find-v2-results-head p{font-size:10.5px;line-height:1.5}
.find-v2-active-filters button,.find-v2-active-filters span{font-size:9.5px}
.find-v2-badge{font-size:8.5px}
.find-v2-compare-check{font-size:9px}
.find-v2-card-title small{font-size:9px}
.find-v2-card-title p{font-size:10.5px;line-height:1.5}
.find-v2-card-tags span{font-size:8.7px}
.find-v2-card-facts dt{font-size:8px}
.find-v2-card-facts dd{font-size:9.5px;line-height:1.4}
.find-v2-evidence-strip{font-size:8.8px;line-height:1.45}
.find-v2-evidence-strip b{font-size:10px}
.find-v2-card-actions .button,.find-v2-card-actions .text-link{font-size:9px}
.find-v2-safety{font-size:9.5px;line-height:1.5}

/* Find Tests Next steps should assist, not compete with the catalog. */
body:has(.find-v2-workspace) .mdi-next-steps-toggle{transform:scale(.88);transform-origin:right bottom;opacity:.94}
body:has(.find-v2-workspace) .mdi-next-steps-panel{width:min(350px,calc(100vw - 28px))}
body:has(.find-v2-workspace) .mdi-next-steps-actions button{font-size:11px}
body:has(.find-v2-workspace) .mdi-next-steps-panel header strong{font-size:14px}
/* The old navigation layer may add is-suppressed when Compare bar appears; Find Tests now intentionally keeps its contextual helper available. */
body:has(.find-v2-workspace) .mdi-next-steps.is-suppressed{display:flex}

/* When tests are selected, keep the helper above the fixed Compare bar on desktop. */
@media(min-width:761px){
  body:has(.find-v2-workspace) .mdi-next-steps.find-next-has-selection{bottom:max(84px,env(safe-area-inset-bottom))}
}

@media(max-width:760px){
  .find-v2-hero p{font-size:13px}
  .find-v2-check{font-size:12px}
  .find-v2-filter-note{font-size:10.5px}
  .find-v2-card-title p{font-size:11.5px}
  .find-v2-card-facts dt{font-size:8.5px}
  .find-v2-card-facts dd{font-size:10.5px}
  .find-v2-evidence-strip{font-size:9.8px}
  .find-v2-evidence-strip b{font-size:10.5px}
  .find-v2-card-actions .button,.find-v2-card-actions .text-link{font-size:10px}
  body:has(.find-v2-workspace) .mdi-next-steps-toggle{transform:scale(.9)}
  body:has(.find-v2-workspace) .mdi-next-steps-panel{width:100%;max-height:none}
  body:has(.find-v2-workspace) .mdi-next-steps.find-next-has-selection{padding-bottom:72px}
}
