.tbhp-header-search-wrap{box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;padding:8px 12px 12px;position:relative;z-index:2}.tbhp-header-search-wrap .tbhp-header-search{margin:0;padding:12px 14px;background:linear-gradient(110deg,#103d5a,#0f766e);border-radius:14px;color:#fff;box-shadow:0 4px 12px #103d5a18;min-width:0}.tbhp-header-search-wrap .tbhp-header-search .tbhp-search-heading{display:block;color:#fff;font-size:14px;font-weight:750;margin:0 0 7px}.tbhp-header-search-wrap .tbhp-header-search-field{display:flex;flex-wrap:nowrap;align-items:stretch;gap:7px}.tbhp-header-search-wrap input[type=search]{box-sizing:border-box;flex:1 1 0;width:0;min-width:0;margin:0;background:#fff;color:#103d5a;border:1px solid #fff;border-radius:9px;padding:10px 12px;min-height:46px;font-size:16px}.tbhp-header-search-wrap input::placeholder{color:#526675;opacity:1}.tbhp-header-search-wrap button[type=submit]{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;width:auto;min-height:46px;padding:8px 14px;background:#e6c78e;color:#103d5a;border:0;border-radius:9px;font-size:15px;font-weight:750;white-space:nowrap}.tbhp-header-search-wrap :focus-visible{outline:3px solid #efce8d;outline-offset:2px}.tbhp-header-search-wrap .tbhp-search-status{margin:7px 0 0;color:#fff;font-size:13px}.tbhp-header-search-wrap .tbhp-search-status:empty,.tbhp-header-search-wrap .tbhp-search-preview[hidden]{display:none!important}.tbhp-header-search-wrap .tbhp-search-preview{box-sizing:border-box;list-style:none;margin:8px 0 0;padding:4px 10px;background:#fff;border-radius:10px;max-height:min(380px,45vh);overflow:auto;overscroll-behavior:contain}.tbhp-header-search-wrap .tbhp-search-preview a{display:flex;align-items:center;gap:10px;padding:9px 3px;border-bottom:1px solid #e3ebee;color:#103d5a;text-decoration:none;line-height:1.4;overflow-wrap:anywhere}.tbhp-header-search-wrap .tbhp-search-preview li:last-child a{border:0}.tbhp-header-search-wrap .tbhp-search-preview a:hover,.tbhp-header-search-wrap .tbhp-search-preview a:focus-visible{background:#edf8f5;outline:2px solid #0f766e;outline-offset:-2px}.tbhp-header-search-wrap .tbhp-search-preview img{flex:0 0 56px;width:56px;height:56px;object-fit:contain;border-radius:6px;background:#f5f9fb}.tbhp-header-search-wrap .tbhp-search-preview strong,.tbhp-header-search-wrap .tbhp-search-preview small{display:block}.tbhp-header-search-wrap .tbhp-search-preview small{color:#0a6d66;font-weight:700;margin-top:3px}.tbhp-generatepress #mobile-header :is(.site-logo img,.navigation-branding img,.menu-bar-items svg,.menu-toggle svg),.tbhp-generatepress .mobile-header-navigation :is(.site-logo img,.navigation-branding img,.menu-bar-items svg,.menu-toggle svg){opacity:1!important;visibility:visible!important;filter:none!important}.tbhp-generatepress #mobile-header :is(.menu-bar-items,.menu-toggle),.tbhp-generatepress .mobile-header-navigation :is(.menu-bar-items,.menu-toggle){color:#103d5a!important;opacity:1!important}.tbhp-generatepress #mobile-header .menu-bar-items svg,.tbhp-generatepress .mobile-header-navigation .menu-bar-items svg{color:#103d5a!important;fill:currentColor}.tbhp-generatepress #mobile-header .tbhp-gp-search-svg,.tbhp-generatepress .mobile-header-navigation .tbhp-gp-search-svg{fill:none}.tbhp-generatepress #mobile-header .menu-bar-items a,.tbhp-generatepress .mobile-header-navigation .menu-bar-items a{color:#103d5a!important;opacity:1!important}
@media(max-width:480px){.tbhp-header-search-wrap{padding:6px 10px 8px}.tbhp-header-search-wrap .tbhp-header-search{padding:9px 10px}.tbhp-header-search-wrap button[type=submit]{padding:8px 12px}}

/* Menu-integrated search: native disclosure, no separate header row. */
.tbhp-menu-search-item{position:relative;display:flex;align-items:center;min-width:0}.tbhp-menu-search{position:static;line-height:normal}.tbhp-menu-search summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;border-radius:8px;background:#e9f5f2;color:#103d5a;font-size:14px;font-weight:700;cursor:pointer;list-style:none;white-space:nowrap}.tbhp-menu-search summary::-webkit-details-marker{display:none}.tbhp-menu-search summary svg{flex:none;fill:none!important;stroke:currentColor}.tbhp-menu-search[open] summary{background:#0f766e;color:#fff}.tbhp-menu-search .tbhp-header-search-wrap{position:absolute;right:0;top:100%;width:min(420px,calc(100vw - 24px));max-width:none;margin:0;padding:8px 0;z-index:10001}.tbhp-menu-search:not([open]) .tbhp-header-search-wrap{display:none}.tbhp-menu-search .tbhp-search-preview li{display:block;float:none;margin:0;padding:0}.tbhp-menu-search .tbhp-search-preview a{white-space:normal;height:auto;min-height:0;font-size:14px}.tbhp-menu-search summary:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
@media(max-width:768px){.tbhp-menu-search summary{padding:0 10px;min-width:44px}.tbhp-menu-search summary span{display:none}.tbhp-menu-search-item{position:static}.tbhp-menu-search .tbhp-header-search-wrap{left:12px;right:12px;width:auto;top:100%}.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .inside-navigation{position:relative;overflow:visible}}

/* Native slideout: keep results in the drawer scroll flow, not behind the menu. */
#generate-slideout-menu .tbhp-drawer-search-wrap{position:relative;z-index:auto;flex:0 0 auto;align-self:stretch;width:100%;max-width:none;margin:10px 0 0;padding:0;min-width:0;box-sizing:border-box}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-header-search{box-sizing:border-box;margin:0;padding:12px;background:#0e5a62;border:1px solid #71c8bd;border-radius:12px;box-shadow:none;text-align:left;width:100%;min-width:0}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-heading{font-family:inherit;font-size:15px;line-height:1.4;margin:0 0 8px;color:#fff}
#generate-slideout-menu .tbhp-drawer-search-wrap input[type=search]{min-width:0;max-width:100%;font-family:inherit;line-height:1.4;text-align:left}
#generate-slideout-menu .tbhp-drawer-search-wrap button[type=submit]{font-family:inherit;line-height:1.4;padding-inline:10px;min-width:44px;color:#103d5a;background:#e6c78e}
#generate-slideout-menu .tbhp-drawer-search-wrap button svg{flex:none;stroke:currentColor;fill:none}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview{display:block;position:static;float:none;width:100%;max-height:min(320px,40vh);margin:8px 0 0;padding:4px 8px;list-style:none;background:#fff;border-radius:9px;overflow-y:auto;overscroll-behavior-y:contain;text-align:left}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview[hidden]{display:none!important}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview li{display:block;float:none;position:static;width:100%;margin:0;padding:0;list-style:none}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview a{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;height:auto;min-height:44px;margin:0;padding:8px 2px;background:#fff;color:#103d5a;font-family:inherit;font-size:14px;line-height:1.4;white-space:normal;text-align:left;overflow-wrap:anywhere}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview a:hover,#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview a:focus-visible{background:#edf8f5;color:#103d5a}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview a>span{flex:1;min-width:0}
#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-preview small{font-size:12px;color:#0a6d66}
#generate-slideout-menu .tbhp-drawer-search-wrap+.tbhp-drawer-contact{margin-top:12px}
@media(max-width:350px){#generate-slideout-menu .tbhp-drawer-search-wrap button[type=submit] svg{display:none}#generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-header-search{padding:9px}}


/* Header ownership is per rendered navigation, never a blanket body hide. */
.tbhp-search-ready [data-tbhp-native-search]{display:none!important}
.tbhp-generatepress .tbhp-menu-search-item{display:flex!important;align-items:center;flex:0 0 auto}
.tbhp-generatepress .tbhp-menu-search summary{box-sizing:border-box;min-width:44px;min-height:44px;line-height:1.2;color:#103d5a;background:#e8f4f1;border:1px solid #c7e3de}
.tbhp-generatepress .tbhp-menu-search[open] summary{color:#fff;background:#0f766e;border-color:#0f766e}
.tbhp-generatepress .tbhp-menu-search summary svg{width:23px;height:23px;color:inherit!important;stroke:currentColor!important;fill:none!important}
.tbhp-generatepress .tbhp-search-ready,.tbhp-generatepress .tbhp-search-ready .inside-navigation,.tbhp-generatepress .tbhp-search-ready .menu-bar-items{overflow:visible}
@media(max-width:768px){
 .tbhp-generatepress :is(#mobile-header,.mobile-header-navigation,.main-navigation) .inside-navigation{position:relative}
 .tbhp-generatepress .tbhp-menu-search-item{position:static;margin-inline:3px}
 .tbhp-generatepress .tbhp-menu-search summary{padding:0 8px;background:transparent;border-color:transparent}
 .tbhp-generatepress .tbhp-menu-search summary svg{width:27px;height:27px}
 .tbhp-generatepress .tbhp-menu-search .tbhp-header-search-wrap{left:8px;right:8px;width:auto;max-width:none;top:100%;z-index:10001}
}
/* Compact, premium drawer. Preserve GP's native close button and menu toggles. */
body.tbhp-premium-navigation #generate-slideout-menu.slideout-navigation{background:linear-gradient(155deg,#10344e,#124b60 65%,#0c5c56)!important}
body.tbhp-premium-navigation #generate-slideout-menu .inside-navigation{padding:calc(10px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))!important}
body.tbhp-premium-navigation #generate-slideout-menu .inside-navigation:before{margin:0 0 6px;font-size:11px;letter-spacing:.08em}
body.tbhp-premium-navigation #generate-slideout-menu .slideout-exit{border-radius:11px!important}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap{margin:8px 0 8px;padding:0}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-header-search{padding:9px 10px;border-radius:12px;background:#124b5a;border-color:#70b6af}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-search-heading{font-size:13px;margin:0 0 5px}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap input[type=search]{min-height:44px;padding:8px 10px;font-size:16px;border-radius:8px}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap button[type=submit]{min-height:44px;border-radius:8px;font-size:14px;padding-inline:10px}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 8px;padding:8px 10px;border-radius:12px;background:#ffffff0a;border-color:#ffffff26}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact__title,body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact__note{grid-column:1/-1;font-family:inherit;text-align:left}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact__title{font-size:13px;line-height:1.35}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact__note{font-size:12px;line-height:1.4;margin:0}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact>a{font-family:inherit;min-height:44px;padding:6px 8px;font-size:13px;font-weight:700;border-radius:8px;justify-content:center;text-align:center}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-contact>a span{display:none}
body.tbhp-premium-navigation #generate-slideout-menu .main-nav>ul>li>a{min-height:46px!important;padding:6px 8px!important;font-size:15px!important;font-weight:650!important;line-height:1.4!important;gap:6px}
body.tbhp-premium-navigation #generate-slideout-menu .main-nav>ul>li.current-menu-item>a,body.tbhp-premium-navigation #generate-slideout-menu .main-nav>ul>li.current-menu-ancestor>a{background:#ffffff12!important;border-radius:9px}
body.tbhp-premium-navigation #generate-slideout-menu .main-nav>ul>li>a:before{margin-right:4px}
body.tbhp-premium-navigation #generate-slideout-menu .dropdown-menu-toggle{border-radius:9px!important}
body.tbhp-premium-navigation #generate-slideout-menu .main-nav ul ul li>a{font-size:14px!important;line-height:1.4!important}
@media(max-width:350px){body.tbhp-premium-navigation #generate-slideout-menu .inside-navigation{padding-inline:10px!important}}
@media(max-width:768px){.tbhp-generatepress .tbhp-search-ready .menu-bar-items{position:static}.tbhp-generatepress .tbhp-search-ready .inside-navigation{position:relative;z-index:2}.tbhp-generatepress .tbhp-search-ready .tbhp-menu-search-item{position:static}}

/* 9.3.5.4 — selected teal trigger + white result card. Scoped to the shared search. */
body .tbhp-menu-search-item .tbhp-menu-search>summary,
body .tbhp-generatepress .tbhp-menu-search-item .tbhp-menu-search>summary{background:#0f766e!important;color:#fff!important;border:1px solid #0f766e!important;border-radius:10px;min-height:44px;min-width:44px;padding:0 12px;box-shadow:0 2px 5px #103d5a16}
body .tbhp-menu-search-item .tbhp-menu-search>summary:hover,body .tbhp-menu-search-item .tbhp-menu-search[open]>summary{background:#0a5c56!important;color:#fff!important}
body .tbhp-menu-search-item .tbhp-menu-search>summary svg{color:#fff!important;stroke:currentColor!important;fill:none!important}
body .tbhp-menu-search .tbhp-header-search-wrap{width:min(460px,calc(100vw - 24px));padding:8px 0}
body .tbhp-header-search-wrap .tbhp-header-search{padding:14px;background:#103e3b;color:#fff;border-radius:14px;box-sizing:border-box}
body .tbhp-header-search-wrap .tbhp-header-search .tbhp-search-heading{font-family:inherit;font-size:16px;font-weight:750;line-height:1.4;margin:0 0 10px;color:#fff;text-align:left}
body .tbhp-header-search-wrap .tbhp-header-search-field{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;padding:5px;background:#fff;border-radius:10px;min-width:0;box-sizing:border-box}
body .tbhp-header-search-wrap .tbhp-field-icon{flex:0 0 20px;margin-left:7px;color:#0f766e!important;stroke:currentColor!important;fill:none!important}
body .tbhp-header-search-wrap .tbhp-header-search-field input[type=search]{flex:1 1 0;width:0;min-width:0;max-width:none;min-height:44px;padding:6px 3px;border:0;border-radius:5px;background:#fff;color:#103e3b;font:inherit;font-size:16px;text-align:left;box-shadow:none}
body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit]{background:#137d6b!important;color:#fff!important;min-height:44px;border:0;border-radius:8px;padding:6px 10px;font-family:inherit;font-size:14px;line-height:1.3;box-shadow:none}
body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit] svg{display:none}
body .tbhp-header-search-wrap .tbhp-search-results{display:block;background:#fff;color:#103d36;border-radius:11px;margin:10px 0 0;padding:10px 10px 6px;min-width:0;text-align:left;box-sizing:border-box}
body .tbhp-header-search-wrap .tbhp-search-results[hidden]{display:none!important}
body .tbhp-header-search-wrap .tbhp-results-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-family:inherit;font-size:14px;line-height:1.4;font-weight:750;color:#102c28;margin:0 0 4px;padding:0 2px}
body .tbhp-header-search-wrap .tbhp-results-count{color:#526675;font-size:12px;font-weight:500;white-space:nowrap}
body .tbhp-header-search-wrap .tbhp-search-results .tbhp-search-preview{display:block;position:static;width:100%;max-height:min(350px,40vh);max-height:min(350px,40dvh);overflow:auto;overscroll-behavior:contain;margin:0;padding:0;border-radius:0;background:#fff;list-style:none}
body .tbhp-header-search-wrap .tbhp-search-results .tbhp-search-preview[hidden]{display:none!important}
body .tbhp-header-search-wrap .tbhp-search-preview li{position:static;display:block;width:100%;list-style:none;margin:0;padding:0;float:none}
body .tbhp-header-search-wrap .tbhp-search-preview a{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;padding:10px 2px;margin:0;min-height:64px;height:auto;border-bottom:1px solid #e3ece8;color:#142d2b;background:#fff;font-family:inherit;font-size:14px;line-height:1.4;white-space:normal;text-align:left;text-decoration:none}
body .tbhp-header-search-wrap .tbhp-search-preview a:hover,body .tbhp-header-search-wrap .tbhp-search-preview a:focus-visible{background:#edf8f5;color:#142d2b}
body .tbhp-instant-search .tbhp-result-thumb{display:grid;place-items:center;position:relative;flex:0 0 64px;width:64px;height:64px;border-radius:8px;background:#eaf3ef;color:#0f766e;overflow:hidden}
body .tbhp-instant-search .tbhp-result-thumb:before{content:'◇';font-size:24px;position:absolute}
body .tbhp-instant-search .tbhp-result-thumb img{position:relative;display:block;width:64px;height:64px;object-fit:contain;background:#f5f9f8;border-radius:8px;margin:0}
body .tbhp-instant-search .tbhp-result-copy{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
body .tbhp-instant-search .tbhp-result-copy strong{display:block;font-size:14px;font-weight:750;line-height:1.4;color:#142d2b}
body .tbhp-instant-search .tbhp-result-category,body .tbhp-instant-search .tbhp-result-detail{display:block;font-size:12px;font-weight:400;line-height:1.4;margin-top:3px;color:#526675}
body .tbhp-instant-search .tbhp-result-detail{color:#0a6d66;font-weight:500}
body .tbhp-instant-search .tbhp-result-arrow{color:#52736b;flex:0 0 auto;font-size:23px;font-weight:400}
body .tbhp-header-search-wrap .tbhp-search-results .tbhp-results-all{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:6px 0 0;padding:6px;background:#e9f5ef;border-radius:8px;color:#0a6454;font:inherit;font-size:13px;font-weight:750;text-decoration:none;white-space:normal;line-height:1.4;box-sizing:border-box}
body.tbhp-premium-navigation #generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-header-search{background:#103e3b;border:1px solid #60988b;padding:10px}
@media(max-width:768px){body .tbhp-menu-search .tbhp-header-search-wrap{left:8px;right:8px;width:auto;max-width:none}body .tbhp-menu-search-item .tbhp-menu-search>summary{padding:0 9px;min-width:44px;min-height:44px}body .tbhp-menu-search-item .tbhp-menu-search>summary span{display:none}body .tbhp-header-search-wrap .tbhp-header-search{padding:11px}}
@media(max-width:350px){body .tbhp-header-search-wrap .tbhp-field-icon{display:none}body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit]{font-size:13px;padding-inline:8px}body .tbhp-instant-search .tbhp-result-thumb{flex-basis:52px;width:52px;height:52px}body .tbhp-instant-search .tbhp-result-thumb img{width:52px;height:52px}}
/* Override GP icon-color normalization only within the selected search trigger. */
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation,#site-navigation,#sticky-navigation) .menu-bar-items .tbhp-menu-search>summary svg{color:#fff!important;stroke:#fff!important;fill:none!important}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation,#site-navigation,#sticky-navigation) .menu-bar-items .tbhp-field-icon{color:#0f766e!important;stroke:#0f766e!important;fill:none!important}

/* 9.3.5.5: action bar placement and isolated modal; no negative order. */
body .tbhp-menu-search-item{position:static;display:flex!important;flex:0 0 auto;order:0;margin:0 4px 0 0;align-items:center}
body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;height:44px;padding:0 12px!important;margin:0;background:#0f766e!important;color:#fff!important;border:1px solid #0f766e!important;border-radius:10px;line-height:1.2!important;font:700 14px/1.2 var(--tbhp-font,Arial,sans-serif);white-space:nowrap;text-decoration:none;box-shadow:none}
body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger:hover{background:#0a5c56!important}
body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger svg{flex:none;width:22px;height:22px;color:#fff!important;stroke:#fff!important;fill:none!important}
body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger:focus-visible{outline:2px solid #103d5a!important;outline-offset:2px!important}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .tbhp-menu-search-item>a.tbhp-menu-search-trigger span{display:none}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .tbhp-menu-search-item>a.tbhp-menu-search-trigger{padding:0 9px!important}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .tbhp-search-action-layout>:is(.navigation-branding,.site-logo,.site-branding){order:0;margin-inline-end:auto}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .tbhp-search-action-layout>.menu-bar-items{order:2;margin-inline-start:auto;display:flex;align-items:center}
body.tbhp-generatepress :is(#mobile-header,.mobile-header-navigation) .tbhp-search-action-layout>.menu-toggle{order:3}
@media(max-width:768px){
 body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger span{display:none}
 body.tbhp-generatepress .tbhp-menu-search-item>a.tbhp-menu-search-trigger{padding:0 9px!important}
 body.tbhp-generatepress #site-navigation .tbhp-search-action-layout>:is(.navigation-branding,.site-logo,.site-branding){order:0;margin-inline-end:auto}
 body.tbhp-generatepress #site-navigation .tbhp-search-action-layout>.menu-bar-items{order:2;margin-inline-start:auto;display:flex;align-items:center}
 body.tbhp-generatepress #site-navigation .tbhp-search-action-layout>.menu-toggle{order:3}
}
body dialog.tbhp-header-search-dialog:not([open]){display:none!important}
body dialog.tbhp-header-search-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 24px));max-width:none;max-height:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:15px;background:#103e3b;color:#fff;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 18px 60px #0c293950}
body dialog.tbhp-header-search-dialog::backdrop{background:rgba(8,29,40,.56)}
body.tbhp-search-dialog-open{overflow:hidden}
body .tbhp-header-search-dialog .tbhp-header-search-wrap{position:static;z-index:auto;padding:0;width:100%;max-width:none}
body .tbhp-header-search-dialog .tbhp-header-search{padding:14px;box-shadow:none;border-radius:15px}
body .tbhp-header-search-dialog .tbhp-search-heading{min-height:44px;display:flex;align-items:center;padding-right:52px;margin:0 0 7px}
body .tbhp-header-search-dialog .tbhp-search-close{position:absolute;top:8px;right:8px;width:44px;height:44px;padding:0;display:grid;place-items:center;border:1px solid #ffffff45;border-radius:9px;background:#ffffff12;color:#fff;z-index:1;cursor:pointer}
body .tbhp-header-search-dialog .tbhp-search-close:focus-visible{outline:2px solid #e6c78e;outline-offset:-3px}
/* Preserve a visible focus indicator on the whole field, not a competing thick input outline. */
body .tbhp-header-search-wrap .tbhp-header-search-field{gap:6px;padding:4px;border:1px solid transparent;box-shadow:none;border-radius:10px}
body .tbhp-header-search-wrap .tbhp-header-search-field:focus-within{border-color:#74c5b3;box-shadow:0 0 0 2px #74c5b3}
body .tbhp-header-search-wrap .tbhp-header-search-field input[type=search],body #generate-slideout-menu .tbhp-drawer-search-wrap .tbhp-header-search-field input[type=search]{outline:none!important;outline-offset:0!important;border:0!important;box-shadow:none!important;border-radius:5px;padding:6px 4px;font-size:16px;min-height:44px;min-width:0}
body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit]:focus-visible{outline:2px solid #fff!important;outline-offset:-4px!important}
body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit]{flex:0 0 auto;white-space:nowrap}
@media(max-width:350px){body .tbhp-header-search-wrap .tbhp-header-search-field button[type=submit]{padding-inline:7px;font-size:12px}}

/* 9.3.5.6: approved homepage layout, in normal document flow. Other search surfaces unchanged. */
body .tbhp-home-search-wrap{position:relative;z-index:auto;max-width:1200px;padding:7px 10px 8px;margin:0 auto;scroll-margin-top:100px}
body .tbhp-home-search-wrap .tbhp-header-search{background:linear-gradient(110deg,#103d5a,#0f766e);padding:10px 12px;border-radius:14px;box-shadow:0 4px 12px #103d5a18}
body .tbhp-home-search-wrap .tbhp-header-search .tbhp-search-heading{font-size:14px;margin:0 0 8px}
body .tbhp-home-search-wrap .tbhp-header-search-field{background:transparent;gap:7px;border:0;padding:0;border-radius:9px}
body .tbhp-home-search-wrap .tbhp-header-search-field:focus-within{box-shadow:none}
body .tbhp-home-search-wrap .tbhp-field-icon{display:none}
body .tbhp-home-search-wrap .tbhp-header-search-field input[type=search]{padding:9px 12px;border-radius:9px;min-height:46px;box-shadow:none!important}
body .tbhp-home-search-wrap .tbhp-header-search-field input[type=search]:focus{outline:2px solid #74c5b3!important;outline-offset:2px!important}
body .tbhp-home-search-wrap .tbhp-header-search-field button[type=submit]{background:#e6c78e!important;color:#103d5a!important;border-radius:9px;padding:8px 12px;min-height:46px;font-size:15px}
body .tbhp-home-search-wrap .tbhp-header-search-field button[type=submit] svg{display:block;flex:none;width:18px;height:18px;stroke:currentColor;fill:none}
@media(max-width:350px){body .tbhp-home-search-wrap .tbhp-header-search-field button[type=submit]{padding-inline:8px;font-size:14px}body .tbhp-home-search-wrap .tbhp-header-search-field input[type=search]{padding-inline:8px}}
