/* =============================
   ACCESSIBILITY.CSS
   독립 접근성 분석 페이지 전용
   ============================= */

:root {
  --access-green: #006537;
  --access-blue: #036eb8;
  --access-pink: #dd1c77;
  --access-gray: #b3bfba;
  --access-dark: #2f2f2f;
  --access-muted: #777;
  --access-red: #931e23;
  --access-panel-w: 390px;
  --access-card-w: 420px;
}

/* =============================
   기본 페이지
   ============================= */

body.accessibility-page {
  margin: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2f2f2f;
  background: #f3f5f4;
  letter-spacing: -0.4px;
}

.accessibility-page #app {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.accessibility-page .header-brand {
  text-decoration: none;
  color: inherit;
}

/* =============================
   전체 레이아웃
   - app-header, icon-rail을 제외한 실제 지도 영역
   ============================= */

.access-layout {
  position: fixed;
  top: var(--header-h, 64px);
  left: var(--rail-w, 64px);
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  background: #eef1ef;
}

/* =============================
   지도 영역
   ============================= */

.access-map-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.access-map {
  width: 100%;
  height: 100%;
  background: #eef1ef;
}

/* =============================
   좌측 패널
   ============================= */

.access-panel {
  position: absolute;
  top: 18px;
  left: 32px;
  width: var(--access-panel-w);
  max-height: calc(100% - 64px);
  overflow-y: auto;
  z-index: 1500;
  box-sizing: border-box;
  padding: 24px 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.access-panel__section {
  margin-top: 10px;
  margin-bottom: 15px;
}

.access-panel__section:first-child {
  margin-top: 0;

}

.access-panel__eyebrow {
  margin: 0 0 8px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--access-green);
  letter-spacing: -0.1px;
}

.access-panel h1 {
  margin: 0 0 12px 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.4px;
  color: #1f1f1f;
}

.access-panel__desc {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.6px;
  color: #555;
}

.access-label {
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: #2f2f2f;
}

.access-select,
.access-input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  letter-spacing: -0.4px;
  font-family: inherit;
}

.access-select:focus,
.access-input:focus {
  border-color: var(--access-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 101, 55, 0.12);
}

/* =============================
   패널 토글 버튼
   ============================= */

.access-panel-toggle {
  position: absolute;
  z-index: 2000;

  width: 26px;
  height: 58px;

  border: 1px solid #d8d8d8;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;

  color: #333;
  font-size: 17px;
  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* 왼쪽 패널 오른쪽에 붙이기 */
.access-left-toggle {
  top: 100px;
  left: calc(32px + var(--access-panel-w) - 1px);
  border-left: none;
  border-radius: 0 10px 10px 0;
}

/* 오른쪽 정보창 왼쪽에 붙이기 */
.access-detail-toggle {
  right: calc(32px + var(--access-card-w) - 1px);
  bottom: 105px;

  border-right: none;
  border-radius: 10px 0 0 10px;
}

/* =============================
   패널 접기 상태
   ============================= */

.access-panel,
.access-info-card {
  transition: transform 0.25s ease;
}

/* 왼쪽 패널 접기 */

.access-panel.is-collapsed {
  transform: translateX(calc(-100% - 40px));
}

/* 오른쪽 카드 접기 */

.access-info-card.is-collapsed {
  transform: translateX(calc(100% + 40px));
}

.access-left-toggle,
.access-detail-toggle {
  transition: transform 0.25s ease;
}

/* 왼쪽 패널이 접히면 버튼도 왼쪽 끝으로 이동 */
.access-left-toggle.is-collapsed {
  transform: translateX(calc(-1 * var(--access-panel-w) - 32px));
}

/* 오른쪽 정보창이 접히면 버튼도 오른쪽 끝으로 이동 */
.access-detail-toggle.is-collapsed {
  transform: translateX(calc(420px + 32px));
}

/* 왼쪽 패널 접힘 상태에서 Leaflet 줌 버튼 이동 */
.access-layout.is-left-collapsed .leaflet-top.leaflet-left {
  left: 32px !important;
}

/* =============================
   지표 설명 박스
   ============================= */

.access-index-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 101, 55, 0.06);
  font-size: 14px;
  line-height: 1.55;
}

.access-index-guide p {
  margin: 0;
  color: #444;
}

.access-index-guide strong {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--access-green);
  font-weight: 700;
}

.access-index-guide__divider {
  margin: 16px 0 14px;
  border-top: 1px solid #dcdcdc;
}

.access-index-guide__note {
  margin-left: 10px;
  margin-bottom: 0;
  padding-top: 0px;
  font-size: 16px;
  font-weight: 500;
  color: #666 !important;
  text-align: center;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.95),
    0 0 8px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* =============================
   선택 지역
   ============================= */

.access-selected-region {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(0, 101, 55, 0.07);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--access-green);
}

/* =============================
   모드 버튼
   ============================= */

.access-mode-buttons {
  display: flex;
  gap: 8px;
  width: 100%;
}

.access-mode-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 50px;
  padding: 9px 7px;
  border: 1px solid #c7c7c7;
  border-radius: 11px;
  background: #fff;
  color: #444;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.7px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.access-mode-btn:hover {
  border-color: #9db8ab;
  color: #1f1f1f;
}

.access-mode-btn.is-active {
  background: var(--access-green);
  color: #fff;
  border-color: var(--access-green);
}

/* =============================
   지도 상단 툴바
   ============================= */

.access-map-toolbar {
  position: absolute;
  top: 18px;
  left: calc(32px + var(--access-panel-w) + 32px);
  right: 32px;
  height: 35px;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.access-breadcrumb {
  display: inline-flex;
  align-items: center;
  max-width: 620px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: #333;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.access-reset-btn {
  height: 42px;
  padding: 0 16px;
  border: 1px solid #d3d3d3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  color: #555;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.6px;
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}

.access-reset-btn:hover {
  color: var(--access-green);
  border-color: #9db8ab;
}

/* =============================
   범례
   ============================= */

.access-legend {
  position: absolute;
  right: 32px;
  top: 70px;
  width: 230px;
  z-index: 1400;
  box-sizing: border-box;
  padding: 15px 15px 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}

.access-legend__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #1f1f1f;
  margin-bottom: 11px;
}

.access-legend__body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.4px;
  color: #666;
}

.access-legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.5px;
  color: #444;
}

.access-legend-chip {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.access-legend-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #dedede;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.3px;
  color: #777;
}

/* =============================
   정보 카드
   ============================= */

.access-info-card {
  position: absolute;
  right: 32px;
  bottom: 32px;
  width: var(--access-card-w);
  max-height: calc(100% - 160px);
  overflow-y: auto;
  z-index: 1400;
  box-sizing: border-box;
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 255);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(8px);
}

.access-info-card__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--access-green);
  letter-spacing: 0.7px;
}

.access-info-card h2 {
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: #1f1f1f;
}

.access-info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #555;
}

.access-info-note {
  margin-top: 8px !important;
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.38 !important;
}

.access-info-note--vulnerable {
  margin-top: 8px !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
  letter-spacing: -0.3px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.access-info-note--vulnerable .note-symbol {
  flex-shrink: 0;
  line-height: 1.4;
}

.access-info-note--vulnerable .note-text {
  line-height: 1.4;
}

/* =============================
   점수 카드 / 표
   ============================= */

.access-score-card {
  margin-top: 16px;
  padding: 17px 18px;
  border-radius: 18px;
  background: #f5f8f5;
}

.access-score-card__label {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #666;
}

.access-score-card__value {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--access-green);
}

.access-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.access-info-table th,
.access-info-table td {
  padding: 4px 0;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.4px;
}

.access-info-table th {
  width: 70px;
  color: #777;
  font-weight: 600;
}

.access-info-table--vulnerable th {
  width: 180px;
}

.access-info-table--vulnerable th,
.access-info-table--vulnerable td {
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.3;
}

.access-info-table td {
  color: #333;
  font-weight: 600;
}

.access-local-bars {
  margin-top: 18px;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.access-local-bar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.access-local-bar__title {
  font-size: 14px;
  font-weight: 500;
  color: #555;

  letter-spacing: -0.4px;
  line-height: 1.4;
}

.access-local-bar {
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  column-gap: 12px;
}

.access-local-bar__track {
  width: 100%;
  height: 35px;

  background: #e3e3e3;

  border-radius: 999px;
  overflow: hidden;
}

.access-local-bar__fill {
  height: 100%;
  display: block;

  border-radius: 999px;
}

.access-local-bar__fill--good {
  background: var(--access-green);
}

.access-local-bar__fill--weak {
  background: var(--access-muted);
}

.access-local-bar__value {
  text-align: right;

  font-size: 18px;
  font-weight: 700;
  color: #444;
}

/* =============================
   Leaflet 보정
   ============================= */

.leaflet-container {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef1ef;
}

.leaflet-interactive {
  outline: none;
}

.leaflet-top.leaflet-left {
  top: 96px;
  left: calc(32px + var(--access-panel-w) + 32px);

  transition: left 0.25s ease;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
}

.leaflet-control-zoom a {
  color: #333 !important;
}

.access-sgg-tooltip {
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: none;
  border-radius: 8px;

  padding: 8px 12px;

  font-size: 16px;
  font-weight: 700;

  letter-spacing: -0.5px;
  line-height: 1.45;

  box-shadow: none;
}

.access-facility-tooltip {
  font-weight: 400;
  letter-spacing: -0.2px;
}

.access-tooltip-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.access-tooltip-desc {
  margin-top: 2px;

  font-size: 14px;
  font-weight: 400;

  color: #666;
  letter-spacing: -0.3px;
}


.access-tooltip-score {
  font-weight: 1000;
  color: var(--access-green);

  letter-spacing: -0.4px;
}

.facility-name-label {
  width: auto !important;
  height: auto !important;
  z-index: 9999 !important;
  pointer-events: none;
}

.facility-name-label div {
  display: inline-block;
  width: max-content;
  max-width: none;

  white-space: nowrap;

  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.4px;

  color: #222;

  padding: 0;
  border-radius: 999px;


  transform: translate(8px, -8px);
  pointer-events: none;
}

/* =============================
   지도 라벨
   ============================= */

.access-sido-label-marker,
.access-sgg-label-marker {
  background: transparent;
  border: none;
  pointer-events: none;
}

.access-sido-label-text {
  font-size: 15px;
  font-weight: 700;
  color: rgba(45, 45, 45, 0.72);
  letter-spacing: -1px;
  text-align: center;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.95),
    0 0 8px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.access-sgg-label-text {
  font-size: 20px;
  font-weight: 500;
  color: rgba(45, 45, 45, 0.62);
  letter-spacing: -0.5px;
  text-align: center;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.95),
    0 0 6px rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}


/* =============================
   격자 / 취약지역
   ============================= */

.access-grid-cell {
  transition: fill-opacity 0.12s ease, stroke-opacity 0.12s ease;
}

.access-vulnerable-marker {
  background: transparent !important;
  border: none !important;
}

.access-vuln-pin {
  display: flex;
  align-items: center;
  white-space: nowrap;
  transform-origin: center center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.access-vulnerable-marker:hover .access-vuln-pin {
  transform: scale(1.16);
  filter: brightness(1.08);
}

.access-vuln-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--access-pink);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(221, 28, 119, 0.35);
}

.access-vuln-label {
  margin-left: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(76, 76, 76, 0.82);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

/* =============================
   로딩
   ============================= */

.access-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2000;
  transform: translate(-50%, -50%);
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--access-green);
  backdrop-filter: blur(8px);
}

.is-hidden {
  display: none !important;
}




/*여기는 반응형 아님*/
body.drawer-open #icon-rail {
  transform: translateX(0);
}

.access-label-option {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.access-label-option-box {
  margin-top: 8px;
  padding: 10px 12px;

  background: rgba(131, 131, 131, 0.06);
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.access-label-option-box span {
  font-size: 14px;
  font-weight: 600;
  color: #767676;
  letter-spacing: -0.3px;
}

.access-label-option__text {
  font-size: 12px;
  color: #777;
  letter-spacing: -0.3px;
}

.access-label-toggle {
  width: 34px;
  height: 18px;
  padding: 0;

  border: none;
  border-radius: 999px;
  background: #d7d7d7;

  cursor: pointer;
  position: relative;
}

.access-label-toggle__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;

  position: absolute;
  left: 2px;
  top: 2px;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: all 0.18s ease;
}

.access-label-toggle.is-on {
  background: #006537;
}

.access-label-toggle.is-on .access-label-toggle__dot {
  left: 18px;
}

.access-index-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0;
}

.access-index-btn {
  height: 42px;
  border: 1px solid #d6ddd9;
  border-radius: 12px;
  background: #ffffff;
  color: #444;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.access-index-btn:hover {
  border-color: #006637;
  color: #006637;
}

.access-index-btn.is-active {
  border-color: #006637;
  background: #006637;
  color: #ffffff;
}

.access-vulnerable-desc {
  display: none;
}

.access-vulnerable-desc.is-visible {
  display: block;
}

/* =========================
   hotspot gradient legend
========================= */

.access-heat-legend {
  margin-top: 6px;
}

.access-heat-legend__bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      #1b0829 0%,
      #6f1d7a 28%,
      #ff4fa3 64%,
      #ffd27a 92%,
      #fff4cf 100%);
}

.access-heat-legend__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #777;
  letter-spacing: -0.3px;
}

.access-info-divider {
  margin: 18px 0 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.access-mobile-map-tools {
  display: none;
}


/* =============================
   반응형
   ============================= */

@media (max-width: 1280px) {
  :root {
    --access-panel-w: 360px;
    --access-card-w: 370px;
  }

  .access-detail-toggle {
    bottom: 105px;
  }
}

@media (max-width: 980px) {
  .access-panel {
    width: min(350px, calc(100% - 64px));
  }

  .access-map-toolbar {
    left: 32px;
    top: auto;
    bottom: 24px;
    right: 32px;
  }

  .access-detail-toggle {
    display: none;
  }

  .access-breadcrumb {
    display: none;
  }

  .access-reset-btn {
    margin-left: auto;
  }

  .access-legend {
    right: 20px;
    top: 32px;
    width: 180px;
  }

  .access-info-card {
    right: 20px;
    bottom: 84px;
    width: min(340px, calc(100% - 40px));
    max-height: 40%;
  }

  .leaflet-top.leaflet-left {
    left: 20px;
    top: 32px;
  }
}

@media (max-width: 640px) {
  .access-layout {
    left: 0;
  }

  .access-legend,
  .access-breadcrumb,
  .access-reset-btn,
  .access-panel-toggle,
  .leaflet-top.leaflet-left {
    display: none !important;
  }

  .access-mobile-map-tools {
    position: absolute;
    right: 16px;
    top: calc(14px + var(--mobile-access-panel-h, 116px) + 20px);
    z-index: 1400;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }


  .access-mobile-tool-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .access-mobile-tool-btn img {
    width: 23px;
    height: 23px;
  }

  .access-panel {
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
    max-height: none;
    padding: 24px 20px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
    backdrop-filter: blur(8px);
    overflow: visible;
  }

  .access-panel__eyebrow,
  .access-panel h1,
  .access-panel__desc,
  .access-index-guide,
  .access-info-note,
  .access-panel .access-label,
  .access-panel .access-index-buttons {
    display: none !important;
  }

  .access-index-guide__divider,
  .access-label-option-box {
    display: none !important;
  }

  .access-panel:has(#access-local-controls:not([style*="display:none"]))>.access-panel__section:first-of-type {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #access-local-controls {
    margin: 0;
  }

  #access-local-controls .access-panel__section:has(#access-selected-region),
  #access-local-controls .access-panel__section:has(.access-mode-buttons),
  #access-local-controls .access-panel__section:nth-child(1),
  #access-local-controls .access-panel__section:nth-child(2),
  #access-local-controls .access-vulnerable-desc {
    display: none !important;
  }

  #access-local-controls .access-panel__section:has(#access-sgg-search),
  #access-local-controls .access-panel__section:has(#access-facility-select) {
    display: flex;
    align-items: center;
    margin: 0;
  }

  #access-local-controls .access-panel__section:has(#access-sgg-search) {
    margin-bottom: 10px;
  }

  #access-local-controls .access-label {
    display: block !important;
    width: 74px;
    margin: 0;
    flex: 0 0 74px;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    letter-spacing: -0.6px;
  }

  #access-local-controls .access-input,
  #access-local-controls .access-select {
    flex: 1 1 auto;
    height: 38px;
    min-width: 0;
    border-radius: 9px;
    font-size: 14px;
    background: #fff;
  }

  .access-info-card {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 0;
    width: auto;
    height: 255px;
    max-height: none;
    padding: 22px 20px 24px;
    border-radius: 26px 26px 0 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    transition: height 0.22s ease;
    scrollbar-width: none;
  }

  .access-info-card::-webkit-scrollbar {
    display: none;
  }

  .access-info-card.is-compact {
    height: 90px;
  }

  .access-info-card.expanded {
    height: 45vh;
    overflow-y: auto;
  }

  .access-info-card::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    margin: -10px auto 14px;
  }

  .access-info-card-content {
    height: calc(100% - 76px);
    overflow-y: auto;
    padding-right: 0;
    scrollbar-width: none;
  }

  .access-info-card-content::-webkit-scrollbar {
    display: none;
  }

  .access-info-card__eyebrow,
  .access-info-card h2,
  .access-info-card>.access-info-note:first-of-type {
    display: none !important;
  }

  .access-info-card p {
    font-size: 14px;
  }

  .access-score-card {
    background: rgba(245, 248, 245, 0.72);
  }

  .access-mobile-index-tabs,
  .access-mobile-mode-tabs {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(246, 247, 247, 0.9);
  }

  .access-mobile-index-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .access-mobile-mode-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-mobile-index-btn,
  .access-mobile-mode-tabs .access-mode-btn {
    min-height: 38px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #6b6f73;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.7px;
  }

  .access-mobile-index-btn.is-active,
  .access-mobile-mode-tabs .access-mode-btn.is-active {
    background: #fff;
    color: var(--access-green);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .access-map-notice {
    position: absolute;
    top: calc(14px + var(--mobile-access-panel-h, 116px) + 120px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1450;
    width: max-content;
    max-width: calc(100% - 60px);
    padding: 12px 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.85);
    word-break: keep-all;
  }

  .access-map-notice--no-data {
    color: #222;
  }

  .access-map-notice--no-cluster {
    color: rgba(255, 255, 255, 0.86);
  }

  .facility-name-label div {
    padding: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-size: 11px;
    font-weight: 500;
    color: #222;

    text-shadow:
      0 0 2px rgba(255, 255, 255, 0.75),
      0 0 4px rgba(255, 255, 255, 0.25);
  }

  /* 모바일 전국 접근성 지수 상태의 상단 안내 패널만 반투명 */
  .access-panel:has(#access-national-controls:not([style*="display:none"])) {
    background: rgba(255, 255, 255, 0.32) !important;
  }

  /* 상단 안내 패널 divider 제거 */
  .access-panel:has(#access-national-controls:not([style*="display:none"])) .access-index-guide__divider {
    display: none !important;
  }

  /* 시군구 선택 후 검색/시설선택 패널은 다시 불투명 */
  .access-panel:has(#access-local-controls:not([style*="display:none"])) {
    background: rgba(255, 255, 255, 0.94) !important;
  }

  .access-loading {
    left: 50%;
    top: calc(50% - 120px);

    padding: 14px 20px;

    font-size: 14px;
    font-weight: 500;
    color: var(--access-dark);

    background: rgba(255, 255, 255, 0.32);

    border-radius: 20px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);

    max-width: 260px;
    text-align: center;

    line-height: 1.45;
  }

  .access-mobile-legend-popup {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 0;
    z-index: 1460;

    box-sizing: border-box;
    width: auto;

    padding: 24px 22px 26px;
    border-radius: 26px 26px 0 0;

    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);

    max-height: 62vh;
    overflow-y: auto;

    transform: translateY(0);
    transition: transform 1.2s ease;

    scrollbar-width: none;
  }


  .access-mobile-legend-popup::-webkit-scrollbar {
    display: none;
  }

  .access-mobile-legend-popup::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    margin: -10px auto 16px;
  }

  .access-mobile-legend-popup .access-legend__title {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .access-mobile-legend-popup .access-legend__body {
    font-size: 13px;
  }
}