/* Intentionally scoped to the selected compact Finder presentation. */
@layer finder-compact-finish {
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy {grid-template-columns:minmax(0,1.06fr) minmax(0,1fr)!important;gap:16px!important;align-items:start!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy>.legacy-tool-column {padding:16px!important;min-height:0!important;height:auto!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy>.homeopathy-source-column {grid-column:1/-1!important;grid-row:1!important;padding:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-symptom-column {grid-column:1!important;grid-row:2!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-selected-column {grid-column:1!important;grid-row:3!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-results-column {grid-column:2!important;grid-row:2!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-result-column {grid-column:1/-1!important;grid-row:3!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-selection-column {grid-column:1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-selection-column>.legacy-tool-column {padding:16px!important;min-height:0!important;height:auto!important;width:100%!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-column>.legacy-column-header {margin-bottom:10px!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-column>.legacy-column-header strong {font-size:22px!important;line-height:1.3!important;font-weight:400!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-primary-search-block>label,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-search-finder-help {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:-1px!important;padding:0!important;border:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-simplified-panel {margin:0!important;padding:0!important;border:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-simplified-panel>header {margin:0!important;min-height:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-simplified-title {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-result-empty {margin:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements {border:0!important;margin:12px 0 0!important;padding:0!important;background:transparent!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements>summary {display:none!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-completion-panel {margin:0!important;padding:12px 0 0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-completion-results {gap:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice {display:grid!important;grid-template-columns:18px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:40px!important;padding:8px 10px!important;margin:0!important;border:0!important;border-bottom:1px solid #d4e0e9!important;border-radius:0!important;background:#fff!important;text-align:start!important;font-size:16px!important;line-height:1.4!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice::before {content:'';grid-column:1;grid-row:1;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;box-sizing:border-box;border:1px solid #6e8799;border-radius:2px;color:#fff;background:#fff;font-size:15px;line-height:1;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice[aria-checked="true"]::before {content:'✓';background:#4a719b;border-color:#4a719b;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice[aria-checked="true"] {background:#eef5f3!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice:hover {background:#edf3f8!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>.homeopathy-source-badges {grid-column:3!important;justify-self:end!important;white-space:nowrap!important;margin:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>:not(.homeopathy-source-badges) {grid-column:2!important;min-width:0!important;margin:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice .wh-picked-mark {display:none!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .chip {display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-height:40px!important;padding:0!important;border:0!important;border-bottom:1px solid #d4e0e9!important;border-radius:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .chip-label {grid-column:2!important;grid-row:1!important;min-width:0!important;white-space:normal!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .homeopathy-source-badges {grid-column:3!important;grid-row:1!important;margin:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .wh-compact-uncheck {grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:9px!important;border:0!important;background:transparent!important;color:#fff!important;border-radius:0!important;font-size:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .wh-compact-uncheck:focus-visible {background:#d6e6f3!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .wh-compact-uncheck::before {content:'✓';display:inline-flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;box-sizing:border-box;border:1px solid #4a719b;border-radius:2px;background:#4a719b;color:#fff;font-size:15px;line-height:1;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice:focus-visible,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck:focus-visible {outline:none!important;box-shadow:none!important;background:#d6e6f3!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck {box-shadow:none!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice:focus-visible::before,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck:focus-visible::before {border:1px solid #173f66!important;}
 @media(forced-colors:active) {
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice:focus-visible::before,
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck:focus-visible::before {border-color:CanvasText!important;background:CanvasText!important;color:Canvas!important;forced-color-adjust:none;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] [aria-checked="true"]::before {background:Highlight!important;color:HighlightText!important;forced-color-adjust:none;}
 }

 body.pc-wh.wh-route-finder[data-wh-compact="1"] button:not(.wh-compact-choice):not(.wh-compact-uncheck):focus-visible {outline:1px solid #173f66!important;outline-offset:-1px!important;border-color:transparent!important;box-shadow:none!important;background:#d6e6f3!important;}
 @media(forced-colors:active) {body.pc-wh.wh-route-finder[data-wh-compact="1"] button:not(.wh-compact-choice):not(.wh-compact-uncheck):focus-visible {outline-color:Highlight!important;}}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>strong {padding:0!important;}
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>strong::before,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>strong::after,
 body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck::after {content:none!important;display:none!important;}
 @media(max-width:800px) {
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-selection-column {width:100%!important;order:1!important;gap:12px!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy {display:flex!important;flex-direction:column!important;gap:12px!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy>.legacy-tool-column {width:100%!important;padding:16px!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .legacy-tool-board-homeopathy>.homeopathy-source-column {order:0!important;padding:0!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-symptom-column {order:1!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-selected-column {order:2!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-results-column {order:3!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .homeopathy-result-column {order:4!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements>summary {display:block!important;min-height:44px!important;line-height:1.4!important;padding:12px 0!important;font-size:18px!important;font-weight:400!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements>summary::before {content:'▸';margin-inline-end:8px;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements[open]>summary::before {content:'▾';}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements .homeopathy-completion-panel {border:0!important;padding-top:0!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-refinements .homeopathy-completion-panel h3 {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice {min-height:44px!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .wh-compact-uncheck {width:44px!important;height:44px!important;min-height:44px!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .chip {grid-template-columns:44px minmax(0,1fr) auto!important;}
 }
 @media(max-width:420px) {
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice {grid-template-columns:18px minmax(0,1fr)!important;row-gap:0!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice>.homeopathy-source-badges {grid-column:2!important;grid-row:2!important;justify-self:start!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .chip {grid-template-columns:44px minmax(0,1fr)!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .homeopathy-source-badges {grid-column:2!important;grid-row:2!important;justify-self:start!important;}
  body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-selected-symptoms .wh-compact-uncheck {grid-row:1/span 2!important;}
 }
}
/* The shared profile has earlier important focus rules. Override inside that
   existing layer so the visible square is the only checkbox focus frame. */
@layer ls-profile {
 html:root body.pc-wh.wh-route-finder[data-wh-compact="1"] #homeopathy-method .wh-compact-choice:focus-visible,
 html:root body.pc-wh.wh-route-finder[data-wh-compact="1"] .wh-compact-uncheck:focus-visible {outline:none!important;box-shadow:none!important;background:#d6e6f3!important;}
 html:root body.pc-wh.wh-route-finder[data-wh-compact="1"] button:not(.wh-compact-choice):not(.wh-compact-uncheck):focus-visible {outline:1px solid #173f66!important;outline-offset:-1px!important;border-color:transparent!important;box-shadow:none!important;background:#d6e6f3!important;}
 @media(forced-colors:active) {html:root body.pc-wh.wh-route-finder[data-wh-compact="1"] button:not(.wh-compact-choice):not(.wh-compact-uncheck):focus-visible {outline-color:Highlight!important;}}
}

@layer finder-compact-finish {
 body.pc-wh.wh-route-finder .legacy-menu>a.wh-compact-sites-link {margin-inline-start:auto!important;color:#28566b!important;font-weight:600!important;text-decoration:none!important;}
 body.pc-wh.wh-route-finder .legacy-menu>a.wh-compact-sites-link:hover {color:#173f66!important;text-decoration:none!important;}
 @media(max-width:800px){body.pc-wh.wh-route-finder .legacy-menu>a.wh-compact-sites-link {margin-inline-start:0!important;}}
}
