/* 省市区选择器（客户端和后台共用）—— 别改配色，跟全站红保持一致 */
.area3 { display: flex; flex-direction: column; gap: 8px; }
.area3-row { display: flex; gap: 8px; }
.ap-box { flex: 1 1 0; min-width: 0; }
.ap-box .ap-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 13px;
  border: 1px solid #ebeef2;
  border-radius: 10px;
  background: #fbfbfc;
  font-size: 15px;
  font-family: inherit;
  color: #86909c;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}
.ap-box .ap-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-box.has-val .ap-btn { color: #1d2129; border-color: #d9dee5; background: #fff; }
.ap-box.is-off .ap-btn { background: #f2f4f7; color: #b8bfc9; cursor: not-allowed; }
.ap-arrow {
  flex: none;
  width: 7px; height: 7px;
  margin-top: -4px;
  border-right: 2px solid #9aa1ad;
  border-bottom: 2px solid #9aa1ad;
  transform: rotate(45deg);
}

/* 底部弹层 */
.ap-mask {
  position: fixed; inset: 0; z-index: 20000;
  display: none;
  background: rgba(15, 15, 15, .45);
  align-items: flex-end;
  justify-content: center;
}
.ap-mask.is-on { display: flex; }
body.ap-lock { overflow: hidden; }

.ap-sheet {
  width: 100%;
  max-width: 560px;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.ap-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #ebeef2;
  background: #fff;
}
.ap-search {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  border: 1px solid #ebeef2;
  border-radius: 9px;
  background: #f7f8fa;
  font-size: 15px;
  font-family: inherit;
  color: #1d2129;
  outline: none;
}
.ap-search:focus { border-color: #d8211f; background: #fff; }
.ap-cancel {
  flex: none;
  padding: 9px 4px;
  border: 0; background: none;
  color: #4e5969;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}
.ap-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.ap-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #f4f6f8;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  color: #1d2129;
  text-align: left;
  cursor: pointer;
}
.ap-item:active { background: #fdecec; }
.ap-item:hover { background: #fafbfc; }
.ap-code { color: #a9b0ba; font-size: 12px; font-family: Consolas, Menlo, monospace; }
.ap-empty { padding: 26px 16px; text-align: center; color: #86909c; font-size: 14px; }

@media (min-width: 701px) {
  .ap-mask { align-items: center; }
  .ap-sheet { border-radius: 14px; max-height: 60vh; }
}
