/**
 * [세깔(Sekal) B2C 대고객 공간케어 웹앱] 2. 전용 스타일시트 코어
 * 경로: C:\xampp\htdocs\Sekal\kr\b2c-core\b2c-style.css
 */
:root {
  --brand-sky: #25aae2;
  --brand-sky-light: #EBF8FD;
  --brand-navy: #233891;
  --brand-navy-dark: #19286B;

  --emerald-600: #059669;
  --amber-500: #F59E0B;
  --outer-bg: #E2E8F0;
  --box-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --text-main: #1E293B;
  --text-sub: #475569;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--outer-bg);
  color: var(--text-main);
  line-height: 1.5;
  padding: 34px 20px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* 전체 통합 라운드 박스 */
.sekal-app-box {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--box-bg);
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(35, 56, 145, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 12px 38px 24px;
  overflow: hidden;
}

/* 1. 상단 헤더 (하단 가로선 없음) */
.b2c-header {
  background: transparent;
  border-bottom: none;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area {
  display: flex;
  align-items: center;
}
.logo-area a.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-area img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-area .logo-slogan {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.4px;
  color: #64748B;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-area .logo-slogan::before {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  background-color: #CBD5E1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-my-care {
  display: inline-flex;
  background: var(--brand-sky-light);
  color: var(--brand-navy);
  border: 1.5px solid rgba(37, 170, 226, 0.45);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-my-care .care-cnt-dot {
  display: none;
  background: #059669;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 999px;
}
.btn-my-care.active .care-cnt-dot {
  display: inline-block;
}
.btn-my-care:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
  box-shadow: 0 4px 12px rgba(35, 56, 145, 0.2);
}

/* 2. 히어로 영역 */
.hero-wrapper {
  margin: 8px 0 26px;
}
.hero-card {
  background: linear-gradient(135deg, #F2FAFD 0%, #F8FAFC 55%, #F0F3FA 100%);
  border: 1px solid rgba(37, 170, 226, 0.2);
  border-radius: 24px;
  padding: 48px 28px 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.care-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(37, 170, 226, 0.38);
  color: var(--brand-navy);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(37, 170, 226, 0.08);
}
.hero-title {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.3;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.hero-title em {
  font-style: normal;
  color: var(--brand-sky);
}
.hero-sub {
  color: #475569;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 28px;
}

/* 스마트 매칭 검색바 */
.ai-search-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 10px 28px rgba(35, 56, 145, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 16px;
  border: 1.5px solid #CBD5E1;
  transition: all 0.2s;
}
.ai-search-box:focus-within {
  border-color: var(--brand-sky);
  box-shadow: 0 12px 32px rgba(37, 170, 226, 0.18);
}
.ai-badge {
  background: var(--brand-sky-light);
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 9px 13px;
  border-radius: 12px;
  white-space: nowrap;
  margin-left: 4px;
}
.ai-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 6px;
  min-width: 0;
  background: transparent;
}
.ai-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}
.btn-ai-search {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-navy) 100%);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 13px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(35, 56, 145, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-ai-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 170, 226, 0.35);
}

/* 추천 검색어 칩 */
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.q-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.q-chip:hover {
  border-color: var(--brand-sky);
  color: var(--brand-navy);
  background: var(--brand-sky-light);
}
.q-chip.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
  box-shadow: 0 4px 10px rgba(35, 56, 145, 0.2);
}

/* 3. 매칭 결과 영역 */
.main-container {
  margin: 0 0 28px;
  display: none;
}
.main-container.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.match-status-bar {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 15px 22px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ms-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ms-tag {
  background: var(--brand-sky-light);
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 8px;
}
.ms-desc {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.ms-right {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
}

/* 매칭 수량(1~3곳) 반응형 파트너 비교 그리드 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.partners-grid.count-1 {
  grid-template-columns: minmax(0, 500px);
  justify-content: center;
}
.partners-grid.count-2 {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
}
@media (max-width: 980px) {
  .partners-grid,
  .partners-grid.count-1,
  .partners-grid.count-2 {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
}

/* 쇼케이스 카드 */
.partner-card {
  background: #FFFFFF;
  border-radius: 24px;
  border: 1.5px solid #CBD5E1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(35, 56, 145, 0.14);
  border-color: var(--brand-sky);
}

.card-mini-hero {
  position: relative;
  min-height: 172px;
  padding: 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  color: #FFFFFF;
}
.cmh-text-col {
  position: relative;
  z-index: 3;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 132px;
  gap: 6px;
}
.cmh-match-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #E0F2FE;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.cmh-matched-service {
  font-size: 1.24rem;
  font-weight: 900;
  line-height: 1.28;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  word-break: keep-all;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.cmh-headline {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.2px;
  word-break: keep-all;
}

.cmh-actor-wrap {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 0;
  width: 235px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.cmh-actor-img {
  width: auto;
  height: 100%;
  max-width: 235px;
  max-height: 170px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin-bottom: -2px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.38));
}
@media (max-width: 480px) {
  .cmh-text-col { max-width: 54%; }
  .cmh-matched-service { font-size: 1.12rem; }
  .cmh-actor-wrap { width: 180px; right: 2px; top: 6px; bottom: 0; }
  .cmh-actor-img { max-width: 180px; max-height: 164px; object-position: bottom center; margin-bottom: -2px; }
}

#pdModalBodyContent > * {
  flex-shrink: 0;
}

.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}
.brand-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
  min-height: 46px;
}
.brand-logo-img {
  max-height: 34px;
  max-width: 165px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-text-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand-text-bar {
  width: 8px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
  flex-shrink: 0;
}
.brand-text-name {
  font-size: 1.28rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.6px;
}
.verified-partner-chip {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0369A1;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 4px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

.persona-desc {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.48;
  word-break: keep-all;
}

.partner-summary-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 15px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.ps-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ps-row + .ps-row {
  padding-top: 10px;
  border-top: 1px dashed #CBD5E1;
}
.ps-label {
  font-size: 0.73rem;
  font-weight: 800;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ps-val-region {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
  word-break: keep-all;
  line-height: 1.4;
}
.sol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.sol-chip {
  font-size: 0.73rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  padding: 4px 9px;
  border-radius: 7px;
}
.sol-chip.highlight {
  background: #EFF6FF;
  border-color: #93C5FD;
  color: #1D4ED8;
  font-weight: 800;
}

.btn-open-detail-modal {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #94A3B8;
  color: #0F172A;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
  margin-bottom: 12px;
  transition: all 0.18s;
}
.btn-open-detail-modal:hover {
  background: #EFF6FF;
  border-color: var(--brand-sky);
  color: var(--brand-navy);
}

.sop-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.sop-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
}
.sop-step-num {
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sop-step-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
}
.sop-step-desc {
  font-size: 0.79rem;
  color: #475569;
  line-height: 1.45;
  word-break: keep-all;
}

/* 카드 하단 2단 액션 버튼 */
.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-btn-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.btn-call-ask, .btn-sms-ask, .btn-home-link {
  border: 1.5px solid #CBD5E1;
  background: #fff;
  color: var(--text-main);
  padding: 10px 6px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-call-ask:hover, .btn-sms-ask:hover, .btn-home-link:hover {
  border-color: var(--brand-sky);
  color: var(--brand-navy);
  background: var(--brand-sky-light);
}
.btn-final-decide {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sky) 100%);
  color: #fff;
  border: none;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 16px rgba(35, 56, 145, 0.18);
  transition: all 0.2s;
}
.btn-final-decide:hover {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-navy) 100%);
  box-shadow: 0 8px 20px rgba(37, 170, 226, 0.3);
}

/* 모달 공통 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-card {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: popIn 0.2s ease-out;
}
@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-head {
  background: var(--brand-navy);
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-head h3 { font-size: 1.02rem; font-weight: 800; }
.modal-close {
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 1.3rem;
  cursor: pointer;
}
.modal-body { padding: 22px; max-height: 80vh; overflow-y: auto; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
}
.form-input:focus { border-color: var(--brand-sky); }

.decide-done-btn-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.8fr;
  gap: 8px;
}

/* 4. 푸터 */
.b2c-footer {
  background: transparent;
  border-top: 1px solid #F1F5F9;
  margin-top: 12px;
  padding: 20px 4px 6px;
  color: #64748B;
  font-size: 0.8rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-link-btn {
  font-weight: 700;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}

/* 태블릿 & 모바일 반응형 최적화 */
@media (max-width: 980px) {
  body { padding: 16px 12px; }
  .sekal-app-box { padding: 10px 20px 22px; border-radius: 26px; }
  .partners-grid { grid-template-columns: 1fr; gap: 16px; }
  .matched-sol-box, .review-quote { min-height: auto; }
  .persona-desc { min-height: auto; }
}

@media (max-width: 640px) {
  body { padding: 10px 8px; }
  .sekal-app-box {
    padding: 6px 14px 18px;
    border-radius: 22px;
  }
  .header-inner { height: 60px; }
  .logo-area img { height: 28px; }
  .logo-area .logo-slogan { display: none; }
  .btn-my-care { padding: 7px 12px; font-size: 0.76rem; }

  .hero-wrapper { margin: 4px 0 18px; }
  .hero-card { padding: 28px 14px 24px; border-radius: 18px; }
  .care-guarantee-pill { font-size: 0.74rem; padding: 5px 12px; margin-bottom: 12px; }
  .hero-title { font-size: 1.42rem; line-height: 1.32; word-break: keep-all; }
  .hero-sub { font-size: 0.85rem; line-height: 1.45; margin-bottom: 18px; word-break: keep-all; }

  .ai-search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .ai-badge { display: none; }
  .ai-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.94rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    text-align: center;
  }
  .btn-ai-search {
    width: 100%;
    padding: 13px;
    font-size: 0.92rem;
    border-radius: 11px;
  }

  .quick-chips { gap: 6px; }
  .q-chip { padding: 6px 11px; font-size: 0.76rem; }

  .match-status-bar {
    padding: 14px;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ms-desc { font-size: 0.85rem; line-height: 1.4; word-break: keep-all; }
  .ms-right {
    font-size: 0.76rem;
    line-height: 1.4;
    padding-top: 8px;
    border-top: 1px dashed #CBD5E1;
    width: 100%;
    word-break: keep-all;
  }

  .partner-card { border-radius: 18px; }
  .persona-banner { padding: 10px 14px; font-size: 0.82rem; }
  .card-body { padding: 16px 14px; }
  .partner-name { font-size: 1.15rem; }
  .inquiry-btn-row { gap: 5px; }
  .btn-call-ask, .btn-sms-ask, .btn-home-link {
    padding: 10px 4px;
    font-size: 0.76rem;
  }
  .decide-done-btn-grid { grid-template-columns: 1fr; }

  .b2c-footer {
    padding: 16px 2px 4px;
    font-size: 0.75rem;
    line-height: 1.55;
  }
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .footer-link-btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 0.76rem;
  }
}

/* 실시간 시공업체 매칭 가능 지역 바 & 시·도 상세 모달 */
.b2c-avail-region-bar {
  margin: 16px auto 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(37, 170, 226, 0.28);
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.avail-region-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #334155;
}
.avail-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.avail-region-pills {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-region-pill {
  background: #FFFFFF;
  border: 1.5px solid rgba(37, 170, 226, 0.45);
  color: var(--brand-navy);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(35, 56, 145, 0.06);
  transition: all 0.15s ease;
}
.btn-region-pill small {
  font-size: 0.68rem;
  color: var(--brand-sky);
  font-weight: 800;
}
.btn-region-pill:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
  transform: translateY(-1px);
}
.btn-region-pill:hover small {
  color: #BAE6FD;
}

.region-modal-card {
  max-width: 540px;
}
.reg-modal-sido-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.reg-sido-tab-btn {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #475569;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.reg-sido-tab-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}
.reg-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 2px;
}
.reg-district-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  padding: 7px 8px;
  border-radius: 9px;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.14s;
}
.reg-district-chip:hover {
  border-color: var(--brand-sky);
  background: var(--brand-sky-light);
  color: var(--brand-navy);
}
.reg-district-chip.active {
  background: var(--brand-sky-light);
  border: 1.5px solid var(--brand-sky);
  color: var(--brand-navy);
  font-weight: 900;
}
.reg-district-chip.is-excluded {
  background: #F8FAFC;
  border-style: dashed;
  color: #94A3B8;
  cursor: default;
  font-size: 0.72rem;
}
.reg-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.reg-srv-btn {
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  color: var(--brand-navy);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.reg-srv-btn:hover {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}