/* One layout for Webhomeopath's existing controls, without changing case behavior. */
@layer finder-compact-finish {
 body.pc-wh.wh-route-finder #wh-session-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
 body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:24px!important;padding:0!important;min-height:0!important;background:transparent!important;box-shadow:none!important}
 body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy>.legacy-tool-column{align-self:start!important;min-width:0!important;min-height:0!important;height:auto!important;padding:24px!important;border:1px solid #d4e0e9!important;border-radius:8px!important;box-shadow:none!important;overflow:visible!important}
 body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy>.homeopathy-source-column{grid-column:1/-1!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
 body.pc-wh.wh-route-finder .legacy-tool-column>.legacy-column-header{padding:0!important;margin:0 0 16px!important;border:0!important;background:transparent!important;min-height:0!important}
 body.pc-wh.wh-route-finder .legacy-tool-column>.legacy-column-header strong{font-size:24px!important;font-weight:400!important;line-height:1.3!important;padding:0!important}
 body.pc-wh.wh-route-finder .homeopathy-selected-column>.legacy-column-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
 body.pc-wh.wh-route-finder #homeopathy-selected-count{position:static!important;margin:0!important;flex:none!important}
 body.pc-wh.wh-route-finder .legacy-tool-column>.legacy-column-body:not([hidden]){min-width:0!important;min-height:0!important;height:auto!important;padding:0!important;flex:0 1 auto!important}
 body.pc-wh.wh-route-finder .legacy-primary-search-block{min-height:0!important;padding:0!important;margin:0!important}
 body.pc-wh.wh-route-finder .legacy-column-header>p:empty{display:none!important}
 body.pc-wh.wh-route-finder .legacy-chosen-box{min-height:0!important;height:auto!important;padding:0!important;margin:0!important}
 body.pc-wh.wh-route-finder .homeopathy-completion-panel,body.pc-wh.wh-route-finder .homeopathy-simplified-panel{margin:20px 0 0!important;padding:16px 0 0!important;border:0!important;border-top:1px solid #d4e0e9!important;background:transparent!important}
 body.pc-wh.wh-route-finder :is(.homeopathy-completion-panel,.homeopathy-simplified-panel)>header{padding:0!important;margin:0 0 12px!important;border:0!important;background:transparent!important;min-height:0!important}
 body.pc-wh.wh-route-finder :is(.homeopathy-completion-panel,.homeopathy-simplified-panel) h3{margin:0!important;padding:0!important;font-size:20px!important;font-weight:400!important;line-height:1.3!important}
 body.pc-wh.wh-route-finder #homeopathy-completion-results{gap:6px!important;margin:0!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important}
 body.pc-wh.wh-route-finder #homeopathy-completion-results>.pick{display:block!important;width:100%!important;min-height:44px!important;padding:10px 12px!important;font-size:16px!important;line-height:1.4!important;text-align:start!important;border:1px solid #d4e0e9!important;border-radius:6px!important;background:#fff!important}
 body.pc-wh.wh-route-finder #homeopathy-completion-results>.pick:hover{background:#eef4f8!important}
 body.pc-wh.wh-route-finder .homeopathy-mobile-selection-status:not([hidden]){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
 body.pc-wh.wh-route-finder :is(#homeopathy-show-selected,#wh-ux-show-results){display:none!important}
 body.pc-wh.wh-route-finder .homeopathy-result-column{grid-column:1/-1!important}
 body.pc-wh.wh-route-finder .homeopathy-source-column>.wh-source-toolbar{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:12px!important;width:100%!important;background:transparent!important}
 body.pc-wh.wh-route-finder .wh-source-title{display:none!important}
 body.pc-wh.wh-route-finder #wh-ux-sources{display:block!important;flex:1 1 260px!important;min-width:0!important;margin:0!important}
 body.pc-wh.wh-route-finder #wh-ux-sources>summary{display:flex!important;align-items:center!important;gap:8px!important;width:fit-content!important;min-height:44px!important;padding:8px 12px!important;border:1px solid #cbdce7!important;border-radius:6px!important;background:#fff!important;list-style:none!important;font-size:16px!important;font-weight:400!important;line-height:1.4!important;cursor:pointer!important}
 body.pc-wh.wh-route-finder #wh-ux-sources>summary::after{content:'⌄';margin-inline-start:12px}
 body.pc-wh.wh-route-finder #wh-ux-sources:not([open])>.legacy-source-list{display:none!important}
 body.pc-wh.wh-route-finder #wh-ux-sources[open]>.legacy-source-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important;margin:8px 0 0!important;border:1px solid #d4e0e9!important;border-radius:8px!important;background:#fff!important}
 body.pc-wh.wh-route-finder .homeopathy-compact-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 0 auto!important;align-self:flex-start!important}
 body.pc-wh.wh-route-finder .homeopathy-compact-actions>button{min-height:44px!important;white-space:normal!important}
 body.pc-wh.wh-route-finder .wh-original-options:not(:has(label:not([hidden]))){display:none!important}
 @media(max-width:800px){
  body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy>.legacy-tool-column{padding:16px!important}
  body.pc-wh.wh-route-finder .legacy-tool-board-homeopathy>.homeopathy-source-column{padding:0!important}
  body.pc-wh.wh-route-finder .legacy-tool-column>.legacy-column-header strong{font-size:22px!important}
 }
}
