body:has(.search-page) .search-header{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;height:72px;padding:0 clamp(14px,4vw,34px);border-bottom:1px solid #dcebe1;background:rgba(255,255,252,.9);backdrop-filter:blur(18px)}
body:has(.search-page) .search-back{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d3e6da;border-radius:14px;background:#fff;color:#08745a;font-size:25px;line-height:1;text-decoration:none;box-shadow:0 5px 14px rgba(25,77,56,.06)}
body:has(.search-page) .search-brand{display:flex;align-items:center;justify-self:center;gap:9px;color:#075747;font-size:21px;font-weight:850;letter-spacing:-.04em;text-decoration:none}
body:has(.search-page) .search-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#08745a,#064738);color:#f4cf70;font:27px/1 Georgia,serif;box-shadow:0 7px 18px rgba(7,87,71,.18)}
body:has(.search-page) .search-actions{display:flex;gap:8px}.search-actions a{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d3e6da;border-radius:13px;background:#fff;color:#08745a;font-size:21px;text-decoration:none}
body:has(.search-page) .filter-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #e2eee6}
body:has(.search-page) .filter-title strong{display:block;color:#16483c;font-size:18px;letter-spacing:-.02em}.filter-title span{display:block;margin-top:4px;color:#81958e;font-size:12px;font-weight:500}.filter-title>b{flex:0 0 auto;padding:8px 11px;border-radius:999px;background:#edf8f1;color:#08745a;font-size:12px;white-space:nowrap}
@media(max-width:760px){body:has(.search-page) .search-header{height:66px;grid-template-columns:42px 1fr auto;padding:0 12px;gap:7px}.search-brand{gap:7px!important;font-size:18px!important}.search-brand-mark{width:37px!important;height:37px!important;border-radius:12px!important;font-size:24px!important}.search-actions{gap:5px!important}.search-actions a{width:38px!important;height:38px!important;border-radius:12px!important;font-size:19px!important}.filter-title{align-items:flex-start!important;margin-bottom:14px!important;padding-bottom:13px!important}.filter-title strong{font-size:16px!important}.filter-title span{max-width:210px;font-size:11px!important;line-height:1.35}.filter-title>b{padding:7px 9px!important;font-size:11px!important}}


/* native filter dropdowns */
body:has(.search-page) .filter-grid select{-webkit-appearance:none;appearance:none;padding-right:36px!important;background-image:linear-gradient(45deg,transparent 50%,#168469 50%),linear-gradient(135deg,#168469 50%,transparent 50%)!important;background-position:right 16px center,right 11px center!important;background-size:5px 5px,5px 5px!important;background-repeat:no-repeat!important}


/* single search row with expandable filters */
body:has(.search-page) .search-form{margin:0 0 22px}
body:has(.search-page) .search-entry{display:flex;align-items:center;gap:10px;width:100%;min-height:62px;padding:7px 8px 7px 13px;border:1px solid #cfe3d7;border-radius:18px;background:rgba(255,255,252,.96);box-shadow:0 10px 26px rgba(25,86,60,.07)}
body:has(.search-page) .search-entry-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:#edf8f1;color:#08745a}
body:has(.search-page) .search-entry-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body:has(.search-page) .search-entry input[type=search]{flex:1;min-width:0;min-height:44px;padding:0 7px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#16483c!important;font-size:16px!important;box-shadow:none!important;outline:0!important}
body:has(.search-page) .search-entry input[type=search]::placeholder{color:#83958e;opacity:1}
body:has(.search-page) .search-entry-toggle{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:44px;padding:0 12px;border:1px solid #d5e8dc;border-radius:13px;background:#f4faf6;color:#08745a;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
body:has(.search-page) .search-entry-toggle:hover,body:has(.search-page) .search-entry-toggle[aria-expanded=true]{background:#e8f5ed}
body:has(.search-page) .search-entry-toggle:focus-visible{outline:3px solid rgba(8,116,90,.22);outline-offset:2px}
body:has(.search-page) .search-entry-chevron{display:inline-block;font-size:19px;line-height:1;transition:transform .18s ease}
body:has(.search-page) .search-entry-toggle[aria-expanded=true] .search-entry-chevron{transform:rotate(180deg)}
body:has(.search-page) #search-filter-panel[hidden]{display:none!important}
@media(max-width:760px){body:has(.search-page) .search-form{margin-bottom:16px}body:has(.search-page) .search-entry{min-height:56px;gap:7px;padding:6px 7px 6px 10px;border-radius:16px}body:has(.search-page) .search-entry-icon{flex-basis:36px;width:36px;height:36px;border-radius:11px}body:has(.search-page) .search-entry input[type=search]{font-size:14px!important;padding:0 4px!important}body:has(.search-page) .search-entry-toggle{min-height:40px;padding:0 9px;font-size:12px;border-radius:11px}}


/* Search filters: separate colorful cards matching the supplied reference */
body:has(.search-page) .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
body:has(.search-page) .filter-field--blue{--filter-accent:#2269d5;--filter-icon-bg:#dceaff;--filter-fill:#f3f8ff;--filter-border:#c4dcf7}
body:has(.search-page) .filter-field--rose{--filter-accent:#d8325b;--filter-icon-bg:#fde2e8;--filter-fill:#fff6f8;--filter-border:#f4ced8}
body:has(.search-page) .filter-field--green{--filter-accent:#0b9278;--filter-icon-bg:#d8f4e9;--filter-fill:#f1fbf7;--filter-border:#b9eadb}
body:has(.search-page) .filter-field--purple{--filter-accent:#6743c5;--filter-icon-bg:#eadfff;--filter-fill:#f7f3ff;--filter-border:#d8caf7}
body:has(.search-page) .filter-field--sky{--filter-accent:#1674d8;--filter-icon-bg:#d9efff;--filter-fill:#f2f9ff;--filter-border:#c4e2f8}
body:has(.search-page) .filter-field--violet{--filter-accent:#643cc7;--filter-icon-bg:#e9ddff;--filter-fill:#f7f3ff;--filter-border:#d8caf7}
body:has(.search-page) .filter-field--orange{--filter-accent:#d87522;--filter-icon-bg:#ffebc9;--filter-fill:#fff9f0;--filter-border:#f4dfbd}
body:has(.search-page) .filter-grid label.filter-field{display:grid!important;grid-template-columns:66px minmax(0,1fr)!important;grid-template-rows:minmax(22px,auto) minmax(46px,auto)!important;gap:8px 14px!important;align-items:center;width:100%!important;min-width:0!important;min-height:126px!important;padding:17px!important;border:1px solid #e7edf6!important;border-radius:26px!important;background:linear-gradient(145deg,#fff,#fcfdff)!important;box-shadow:0 9px 25px rgba(38,66,113,.075)!important;color:#172952!important;font-size:14px!important;font-weight:600!important;letter-spacing:normal!important;box-sizing:border-box!important;transition:transform .16s ease,box-shadow .16s ease}
body:has(.search-page) .filter-grid label.filter-field:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(38,66,113,.11)!important}
body:has(.search-page) .filter-field .filter-field-icon{grid-column:1;grid-row:1/span 2;display:grid;place-items:center;align-self:center;width:66px;height:66px;border-radius:21px;background:var(--filter-icon-bg);color:var(--filter-accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.7);box-sizing:border-box}
body:has(.search-page) .filter-field .filter-field-icon svg{display:block;width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body:has(.search-page) .filter-field .filter-field-title{grid-column:2;grid-row:1;align-self:end;display:block;min-width:0;color:#142650;font-size:17px;font-weight:800;line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere}
body:has(.search-page) .filter-grid label.filter-field select,body:has(.search-page) .filter-grid label.filter-field input[type=number]{grid-column:2!important;grid-row:2!important;align-self:stretch;width:100%!important;min-width:0!important;min-height:46px!important;padding:0 16px!important;border:1px solid var(--filter-border)!important;border-radius:999px!important;background-color:var(--filter-fill)!important;color:#172952!important;font-size:16px!important;font-weight:600!important;letter-spacing:normal!important;outline:0;box-shadow:none!important;box-sizing:border-box!important}
body:has(.search-page) .filter-grid label.filter-field select{-webkit-appearance:none!important;appearance:none!important;padding-right:42px!important;background-image:linear-gradient(45deg,transparent 50%,var(--filter-accent) 50%),linear-gradient(135deg,var(--filter-accent) 50%,transparent 50%)!important;background-position:right 19px center,right 13px center!important;background-size:6px 6px!important;background-repeat:no-repeat!important}
body:has(.search-page) .filter-grid label.filter-field select:focus,body:has(.search-page) .filter-grid label.filter-field input:focus{border-color:var(--filter-accent)!important;background-color:#fff!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--filter-accent) 15%,transparent)!important}
body:has(.search-page) .filter-grid label.filter-field input[type=number]::-webkit-inner-spin-button{opacity:.45;margin-right:2px}
@media(max-width:980px) and (min-width:761px){body:has(.search-page) .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:760px){body:has(.search-page) .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body:has(.search-page) .filter-grid label.filter-field{grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:minmax(18px,auto) minmax(40px,auto)!important;gap:5px 9px!important;min-height:94px!important;padding:10px!important;border-radius:19px!important}body:has(.search-page) .filter-field .filter-field-icon{width:46px;height:46px;border-radius:15px}body:has(.search-page) .filter-field .filter-field-icon svg{width:29px;height:29px;stroke-width:2}body:has(.search-page) .filter-field .filter-field-title{font-size:13px!important;line-height:1.05}body:has(.search-page) .filter-grid label.filter-field select,body:has(.search-page) .filter-grid label.filter-field input[type=number]{min-height:40px!important;padding:0 11px!important;font-size:12px!important}body:has(.search-page) .filter-grid label.filter-field select{padding-right:31px!important;background-position:right 14px center,right 9px center!important;background-size:5px 5px!important}}
@media(max-width:360px){body:has(.search-page) .filter-grid{grid-template-columns:1fr!important}body:has(.search-page) .filter-grid label.filter-field{grid-template-columns:52px minmax(0,1fr)!important;min-height:88px!important;padding:11px!important}body:has(.search-page) .filter-field .filter-field-icon{width:50px;height:50px}body:has(.search-page) .filter-field .filter-field-icon svg{width:32px;height:32px}body:has(.search-page) .filter-field .filter-field-title{font-size:14px!important}body:has(.search-page) .filter-grid label.filter-field select,body:has(.search-page) .filter-grid label.filter-field input[type=number]{font-size:14px!important}}


/* Larger desktop proportions from the provided visual reference */
@media(min-width:761px){body:has(.search-page) .filter-grid label.filter-field{grid-template-columns:94px minmax(0,1fr)!important;grid-template-rows:minmax(28px,auto) minmax(58px,auto)!important;gap:8px 18px!important;min-height:150px!important;padding:18px!important;border-radius:30px!important}body:has(.search-page) .filter-field .filter-field-icon{width:94px;height:94px;border-radius:29px}body:has(.search-page) .filter-field .filter-field-icon svg{width:54px;height:54px}body:has(.search-page) .filter-field .filter-field-title{font-size:23px!important}body:has(.search-page) .filter-grid label.filter-field select,body:has(.search-page) .filter-grid label.filter-field input[type=number]{min-height:58px!important;font-size:21px!important;padding-left:18px!important;padding-right:18px!important}}
body:has(.search-page) .filter-grid label.filter-field--sky::after,body:has(.search-page) .filter-grid label.filter-field--violet::after{content:"";grid-column:2;grid-row:2;justify-self:end;align-self:center;position:relative;z-index:3;width:9px;height:9px;margin-right:19px;border-right:2.5px solid var(--filter-accent);border-bottom:2.5px solid var(--filter-accent);border-radius:1px;transform:rotate(45deg) translateY(-2px);pointer-events:none}
body:has(.search-page) .filter-grid label.filter-field input[type=number]{-moz-appearance:textfield!important;appearance:textfield!important;padding-right:46px!important}
body:has(.search-page) .filter-grid label.filter-field input[type=number]::-webkit-inner-spin-button,body:has(.search-page) .filter-grid label.filter-field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none!important;margin:0!important}
@media(max-width:760px){body:has(.search-page) .filter-grid label.filter-field--sky::after,body:has(.search-page) .filter-grid label.filter-field--violet::after{width:7px;height:7px;margin-right:13px}body:has(.search-page) .filter-grid label.filter-field input[type=number]{padding-right:34px!important}}


/* Smooth accordion animation for the expandable search filter panel */
body:has(.search-page) #search-filter-panel.filter-panel-animating{box-sizing:border-box!important;overflow:hidden!important;transition:height .38s cubic-bezier(.22,1,.36,1),opacity .24s ease,transform .38s cubic-bezier(.22,1,.36,1)!important;will-change:height,opacity,transform}
@media(prefers-reduced-motion:reduce){body:has(.search-page) #search-filter-panel.filter-panel-animating{transition:none!important}}


/* Suppress legacy mobile glyphs/arrows that overlap the new filter-card design */
body:has(.search-page) .filter-grid label.filter-field::before,body:has(.search-page) .filter-grid label.filter-field::after{content:none!important;display:none!important;background:none!important}
body:has(.search-page) .filter-grid label.filter-field input[type=number]{background-image:linear-gradient(45deg,transparent 50%,var(--filter-accent) 50%),linear-gradient(135deg,var(--filter-accent) 50%,transparent 50%)!important;background-position:right 19px center,right 13px center!important;background-size:6px 6px!important;background-repeat:no-repeat!important}
@media(max-width:760px){body:has(.search-page) .filter-grid label.filter-field input[type=number]{background-position:right 14px center,right 9px center!important;background-size:5px 5px!important}}

/* Explicitly disable the more-specific old age-field glyphs as well */
body:has(.search-page) .filter-grid label.filter-field.filter-field--sky::after,body:has(.search-page) .filter-grid label.filter-field.filter-field--violet::after{content:none!important;display:none!important;background:none!important}


/* Modern pill styling for the search filter toggle */
body:has(.search-page) .search-entry-toggle{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:44px!important;padding:0 19px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;background:linear-gradient(135deg,#0b8a6b 0%,#066e56 100%)!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:750!important;letter-spacing:.01em!important;line-height:1!important;box-shadow:0 5px 14px rgba(6,110,86,.22),inset 0 1px 0 rgba(255,255,255,.18)!important;cursor:pointer!important;white-space:nowrap!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
@media(hover:hover){body:has(.search-page) .search-entry-toggle:hover{filter:brightness(1.06)!important;box-shadow:0 7px 18px rgba(6,110,86,.28),inset 0 1px 0 rgba(255,255,255,.2)!important;transform:translateY(-1px)}}
body:has(.search-page) .search-entry-toggle:active{transform:scale(.97)!important;box-shadow:0 2px 7px rgba(6,110,86,.22)!important}
body:has(.search-page) .search-entry-toggle:focus-visible{outline:3px solid rgba(8,138,107,.28)!important;outline-offset:3px!important}
@media(max-width:760px){body:has(.search-page) .search-entry-toggle{min-height:40px!important;padding:0 15px!important;font-size:13px!important}}
@media(prefers-reduced-motion:reduce){body:has(.search-page) .search-entry-toggle{transition:none!important}}

/* Higher specificity than the shared global button theme, limited to this control */
body.site-main .search-page .search-entry button#search-filter-toggle{min-height:44px!important;padding:0 19px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;font-size:14px!important;font-weight:750!important;line-height:1!important;gap:0!important}
@media(max-width:760px){body.site-main .search-page .search-entry button#search-filter-toggle{min-height:40px!important;padding:0 15px!important;font-size:13px!important}}

/* Keep the search control size stable while pressed; icons remain unchanged. */
body:has(.search-page) .search-entry-toggle:active{transform:none!important;}
/* Location filters: searchable text fields use the same geometry as select filters. */
body:has(.search-page) .filter-grid label.filter-field input:not([type=number]){min-height:58px!important;width:100%!important;box-sizing:border-box!important;border:1px solid rgba(45,91,75,.18)!important;border-radius:15px!important;background:#fff!important;color:#163f32!important;padding:0 18px!important;font:inherit!important;font-size:17px!important;outline:none!important}
body:has(.search-page) .filter-grid label.filter-field input:not([type=number])::placeholder{color:#82968d!important}
@media(max-width:760px){body:has(.search-page) .filter-grid label.filter-field input:not([type=number]){min-height:40px!important;padding:0 11px!important;font-size:12px!important;border-radius:11px!important}}
