.ba-search,.ba-search-results{box-sizing:border-box;color:#173f3e;word-break:keep-all;overflow-wrap:anywhere}
.ba-search *,.ba-search-results *{box-sizing:border-box}
.ba-search{margin:0 0 22px;scroll-margin-top:155px}
.ba-search-form{display:flex;align-items:center;gap:8px;margin:0;padding:0 3px 0 18px;border:1px solid #d9dedd;border-radius:25px;background:#fff}
.ba-search-input-wrap{display:flex;align-items:center;flex:1;min-width:0}
.ba-search .ba-search-input-wrap input{width:100%;min-width:0;height:46px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#273e3c;font-size:16px;box-shadow:none}
.ba-search-input-wrap input::placeholder{color:#858e8d}
.ba-search-form:focus-within{outline:2px solid #81b8b3;outline-offset:2px;border-color:#719f9b}
.ba-search-input-wrap input:focus{outline:none}
.ba-search-form button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#476763;cursor:pointer}
.ba-search-form button:hover{background:#f1f5f4}
.ba-search-status{margin:8px 0 0;color:#666;font-size:13px;line-height:1.5}
#ba-treatment-default[hidden],#ba-treatment-results[hidden],.ba-search-status[hidden]{display:none!important}
#ba-treatment-results{scroll-margin-top:155px}
.ba-search-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ba-search-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.ba-search-results h2{margin:0;color:#555;font-size:14px;line-height:1.5;font-weight:400}
.ba-search-results h2 span{margin-left:5px;white-space:nowrap}
.ba-search-reset{display:inline-flex;align-items:center;min-height:44px;color:#666;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.ba-search-results .ba-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;float:none}
.ba-search-results .ba-search-grid .item{display:flex;flex-direction:column;align-items:flex-start;float:none;width:auto;min-width:0;min-height:0;margin:0;padding:20px;transition:none;cursor:default}
.ba-search-results .ba-search-grid .item:hover{background:#fff;box-shadow:none;transform:none}
.ba-search-card-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 12px;width:100%;margin-bottom:20px}
.ba-search-card h3{flex:1;min-width:140px;margin:0;font-size:16px;line-height:1.5;font-weight:700}
.ba-search-card h3 a{color:#333;text-decoration:none}
.ba-search-card .ba-search-price{margin:0;color:#11837f;font-size:18px;font-weight:700;line-height:1.5}
.ba-search-results .btn_detail{margin-top:auto;background:#11837f;min-height:36px;display:inline-flex;align-items:center;gap:4px;transition:none}
.ba-search-results .btn_detail:hover{background:#0d6965;box-shadow:none}
.ba-search-empty{padding:32px 0;text-align:center}
.ba-search-empty p{margin:0;color:#666;font-size:14px;line-height:1.6}
.ba-search-pages{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0;font-size:14px}
.ba-search-pages a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;color:#555}
.ba-search a:focus-visible,.ba-search button:focus-visible,.ba-search-results a:focus-visible{outline:3px solid #167e79;outline-offset:4px}
@media(min-width:769px) and (max-width:1400px){
 .ba-search,.board_wrap.type2{margin-right:64px}
}
@media(min-width:769px) and (max-width:1024px){.ba-search-results .ba-search-grid{grid-template-columns:1fr}}
@media(max-width:768px){
 /* Keep existing contact shortcuts available without covering search controls. */
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 #banner_btn{left:0;right:0;top:auto!important;bottom:0!important;transform:none!important;display:flex;justify-content:center;gap:24px;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #dce6e3}
 #banner_btn a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 #banner_btn a+a{margin-top:0}
 .ba-search{margin-bottom:16px;scroll-margin-top:100px}
 #ba-treatment-results{scroll-margin-top:100px}
 .ba-search-form{gap:4px;padding-left:16px}
 .ba-search-results .ba-search-grid{grid-template-columns:1fr;gap:12px}
 .ba-search-results .ba-search-grid .item{padding:18px}
 .ba-search-results .btn_detail{min-height:44px}
}
