/* Bộ chọn xã/phường có ô tìm (qn-xa.js). Navy/Gold, Be Vietnam Pro. Điện thoại ≤767: bảng trượt từ dưới lên, cuộn được, ô tìm ở trên. */
.qn-xa-btn{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;max-width:100%;padding:0 24px 0 0;margin:0;border:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23142D4E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center no-repeat;color:inherit;font:inherit;font-weight:600;cursor:pointer;text-align:left}
.qn-xa-lab{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.qn-xa-btn:focus-visible,.qn-xa-q:focus-visible{outline:3px solid #8DB1E6;outline-offset:2px}
.qn-xa-pop{position:absolute;left:0;top:calc(100% + 8px);z-index:70;width:min(360px,calc(100vw - 32px));background:#fff;border:1px solid #E3DFD4;border-radius:14px;box-shadow:0 14px 36px rgba(20,45,78,.2);padding:12px;display:flex;flex-direction:column;gap:8px;color:#26313D}
.qn-xa-pop[hidden],.qn-xa-back[hidden],.qn-xa-kq[hidden]{display:none}
.qn-xa-q{width:100%;box-sizing:border-box;min-height:46px;padding:10px 14px;border:1.5px solid #C9CED6;border-radius:10px;font:500 16px "Be Vietnam Pro",sans-serif;color:#26313D;background:#fff}
.qn-xa-ul{list-style:none;margin:0;padding:0;max-height:320px;overflow-y:auto;overscroll-behavior:contain}
.qn-xa-it{display:flex;flex-direction:column;gap:2px;justify-content:center;min-height:44px;padding:8px 12px;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;line-height:1.35}
.qn-xa-it:hover,.qn-xa-it.act{background:#F4EEE2}
.qn-xa-it.on .qn-xa-t{font-weight:700;color:#142D4E}
.qn-xa-it.on .qn-xa-t:after{content:" ✓";color:#8A6526}
.qn-xa-h{font-size:13px;font-weight:400;color:#5B6672}
.qn-xa-kq{margin:4px 4px 8px;font-size:14px;color:#5B6672}
/* trong ô chọn của thanh lọc (chip) */
.v12-chip .qn-xa-btn{color:var(--navy,#142D4E);font-size:14px;max-width:240px}
.v12-chip{position:relative}
/* trong ô tìm kiếm trang chủ: đặc hiệu cao hơn ".v13-tim button" (nút Tìm kiếm màu vàng) để ô Khu vực giống hệt 3 ô còn lại */
.v13-tim .v13-o button.qn-xa-btn{display:flex;align-items:center;justify-content:flex-start;gap:0;width:100%;box-sizing:border-box;min-height:46px;margin:0;border:1px solid #D8DCE2;border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23142D4E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat;padding:0 40px 0 42px;font:500 14px "Be Vietnam Pro",sans-serif;color:#26313D;text-align:left;cursor:pointer}
.v13-o .qn-xa-pop{top:calc(100% + 6px);width:min(360px,calc(100vw - 32px))}
@media (max-width:1023px){.v13-tim .v13-o button.qn-xa-btn{min-height:50px;font-size:16px}.v12-chip .qn-xa-btn{font-size:16px}}
@media (max-width:767px){
  .qn-xa-back{position:fixed;inset:0;z-index:89;background:rgba(14,32,56,.5)}
  .qn-xa-pop{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-height:78vh;border-radius:18px 18px 0 0;border:0;padding:14px 14px calc(14px + env(safe-area-inset-bottom));z-index:90}
  .qn-xa-ul{max-height:none;flex:1 1 auto;min-height:0}
  .v13-o .qn-xa-pop{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-height:78vh}
  .v12-chip .qn-xa-btn{max-width:100%}
  .v13-tim .v13-o button.qn-xa-btn{min-height:48px}
  .v13-tim>div:nth-child(2) .v13-o button.qn-xa-btn{padding-left:110px}
  .v13-tim:focus-within{z-index:95}
}
@media (max-width:380px){.v13-tim>div:nth-child(2) .v13-o button.qn-xa-btn{padding-left:106px}}
