:root {
  --navy: #0c1f4a;
  --navy-mid: #152a5c;
  --blue: #1777ec;
  --blue-bright: #1690ff;
  --blue-sky: #e8f4ff;
  --blue-light: #eef6ff;
  --text: #101623;
  --muted: #57677b;
  --line: #e3e8f0;
  --bg: #d9ebff;
  --bg-shell: radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #b9d9ff 0%, #e8f3ff 22%, #f4f8ff 100%);
  --card: #fff;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 20px 42px rgba(45, 88, 151, 0.13);
  --shadow-soft: 0 10px 22px rgba(44, 87, 152, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  background: #d9ebff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  min-height: 100dvh;
}

/* 레퍼런스 jdm01: .app — 셸 그라데이션 */
.m-shell {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  min-height: 100dvh;
  background: var(--bg-shell);
  overflow-x: hidden;
}

.topbar.m-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 16px 10px;
  background: transparent;
}

.topbar .brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 52px 0 16px;
  box-sizing: border-box;
}

/* 프로토타입 topbar / 브랜드 — jdm01 .brand-logo */
.brand-logo {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.08;
  white-space: nowrap;
}

.brand-logo span {
  color: #1677ff;
}

.icon-btn {
  position: absolute;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #16345e;
}

.icon-btn--menu,
.topbar .menu-btn.icon-btn--menu {
  position: absolute;
  right: 16px;
  top: 14px;
  transform: none;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 15px;
  box-shadow: 0 10px 24px rgba(39, 76, 132, 0.1);
  font-size: 20px;
  z-index: 2;
}

.icon-btn__bars {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.m-main {
  padding: 0 0.85rem 1rem;
}

.m-main--home {
  padding: 4px 16px 16px;
}

.m-main--sub {
  padding-top: 0.35rem;
}

.page-sub {
  margin-bottom: 0.85rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem 1.05rem 1.15rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

/* jdm01 .hero — 글래스 카드 */
.m-main--home .card.card-hero.hero {
  margin: 0 0 16px;
  padding: 24px 20px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 42px rgba(45, 88, 151, 0.13);
  position: relative;
  overflow: hidden;
}

.m-main--home .card.card-hero.hero::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -22px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 136, 255, 0.26) 0%, rgba(43, 136, 255, 0) 70%);
  pointer-events: none;
}

.m-main--home .card.card-hero.hero .callout,
.m-main--home .hero-badge.callout {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: #1878ec;
  background: #eef6ff;
  border: 1px solid #d9eaff;
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}

.callout--pill {
  text-align: center;
}

/* 서브페이지 등 — 히어로 외 .callout */
.callout {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.55rem;
  background: #f7f9fc;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.m-main--home .hero .hero-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.m-main--home .hero .hero-desc {
  margin: 12px 0 18px;
  font-size: 15px;
  color: #57677b;
  line-height: 1.45;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.m-main--home .info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.loc-bar.info-chip {
  position: relative;
  flex: 1;
  min-height: 52px;
  border-radius: 17px;
  background: #f6faff;
  border: 1px solid #deebf8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 52px 14px 14px;
  margin-bottom: 0;
}

.m-main--home .loc-bar .loc-label {
  display: block;
  font-size: 14px;
  color: #50555d;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
  padding-right: 4px;
  max-width: 100%;
}

.loc-refresh,
.chip-refresh-btn.loc-refresh {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #1777ec;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #d8e8ff;
  border: none;
  flex: 0 0 auto;
  z-index: 2;
}

.m-main--home .loc-value {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.4px;
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  padding-right: 2px;
}

/* jdm01 .call-panel */
.call-panel.cta-box {
  text-align: left;
  margin-top: 4px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1690ff 0%, #45bbff 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(20, 139, 255, 0.26);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.call-panel.cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 58%);
  pointer-events: none;
}

.call-panel-top,
.hero-home-links {
  position: relative;
  z-index: 1;
}

.call-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.call-panel-label,
.call-panel-top .call-panel-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.92;
  margin-bottom: 4px;
}

.call-panel .cta-tel {
  display: block;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.call-panel .payment-badge.pill--pay,
.m-main--home .call-panel .pill--pay {
  display: block;
  width: 100%;
  margin: 6px 0 14px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgb(63, 154, 230);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.3px;
  color: #fff;
  box-sizing: border-box;
}

.hero-home-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: center;
}

.cta-box:not(.call-panel) {
  background: linear-gradient(145deg, var(--blue-bright) 0%, #1a8cff 55%, var(--blue) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.05rem 0.85rem 0.9rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.35);
}

.cta-tel {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin: 0 0 0.5rem;
  letter-spacing: 0.03em;
}

.pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pill--pay {
  color: #fff;
}

.call-panel .pill {
  margin-bottom: 0;
}

.pill-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #dbe4ff;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.svc-card {
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 0.7rem 0.4rem;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.76rem;
  box-shadow: 0 2px 12px rgba(12, 31, 74, 0.08);
}

/* jdm01 .home-link-card (콜 패널 안 2버튼) */
.m-main--home .hero-home-links .home-link-card.svc-card {
  min-height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ecf8ff 0%, #c3e4ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #11467e;
  padding: 14px 12px;
  justify-content: center;
  gap: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(27, 130, 244, 0.28);
  align-items: flex-start;
  text-align: left;
}

.m-main--home .hero-home-links .home-link-card.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.m-main--home .hero-home-links .home-link-icon,
.m-main--home .hero-home-links .home-link-card strong,
.m-main--home .hero-home-links .home-link-sub {
  position: relative;
  z-index: 1;
}

.m-main--home .hero-home-links .home-link-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}

.m-main--home .hero-home-links .home-link-card strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.m-main--home .hero-home-links .home-link-sub {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.95;
  color: #11467e;
}

.svc-card strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.svc-ico {
  font-size: 1.3rem;
}

.svc-sub {
  font-size: 0.65rem;
  color: var(--muted);
}

.home-link-sub {
  font-style: normal;
}

/* jdm01 .quick-grid--summary — 마일리지·서비스 안내 카드 (더 큼) */
.quick-grid,
.home-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.quick-grid--summary,
.m-main--home .quick-grid--summary {
  padding: 0;
  gap: 12px;
}

.promo-card.quick-item {
  border-radius: 22px;
  padding: 16px 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}

.promo-card:not(.quick-item) {
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.75rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  min-height: 7.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.quick-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}

.quick-grid--summary .quick-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.quick-item--mileage .quick-icon {
  background: rgba(255, 255, 255, 0.14);
}

.quick-item--home .quick-icon {
  background: linear-gradient(180deg, #dff0ff 0%, #eef7ff 100%);
}

.quick-badge {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-item--mileage .quick-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.quick-item--home .quick-badge,
.quick-badge--cta {
  background: #eaf3ff;
  color: #1777ec;
}

.quick-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  margin-top: 0;
}

.quick-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: inherit;
}

.quick-value {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.quick-item--mileage .quick-title,
.quick-item--mileage .quick-value {
  color: #fff;
}

.quick-value--text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.quick-item--home .quick-value--text {
  font-size: 20px;
  font-weight: 800;
  color: #1777ec;
}

.quick-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.9;
  color: var(--muted);
}

.quick-item--mileage .quick-desc {
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.quick-item--home .quick-title {
  color: #16345e;
}

.quick-item--home .quick-desc {
  color: #6b7889;
  opacity: 1;
}

@media (max-width: 360px) {
  .m-main--home .hero-home-links {
    grid-template-columns: 1fr;
  }

  .m-main--home .hero .hero-title {
    font-size: 26px;
  }

  .m-main--home .call-panel .cta-tel {
    font-size: 26px;
  }

  .topbar .brand-logo {
    font-size: 24px;
  }
}

.promo-card--mileage.quick-item--mileage {
  background: linear-gradient(135deg, #143a73 0%, #245bb0 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(21, 56, 112, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-card--site.quick-item--home {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 245, 255, 0.98) 100%);
  border: 1px solid rgba(125, 184, 255, 0.34);
  box-shadow: 0 14px 28px rgba(44, 87, 152, 0.09);
  color: #16345e;
}

.promo-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.promo-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.92;
}

.promo-card__badge {
  font-size: 0.58rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.promo-card__amount {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.promo-card__amount--dim {
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.85;
}

.promo-card__ico {
  position: absolute;
  right: 0.5rem;
  bottom: 0.45rem;
  font-size: 1.75rem;
  opacity: 0.35;
}

.promo-card--site {
  background: #fff;
  border: 2px solid #d0e8ff;
  align-items: flex-start;
  box-shadow: 0 4px 18px rgba(26, 115, 232, 0.08);
}

.promo-card__site-ico {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.promo-card__site-title {
  margin: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.promo-card__site-cta {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
}

.home-service-section,
.section.home-service-section {
  margin-bottom: 0.5rem;
}

.section-header .section-h,
.home-service-section .section-h {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
}

.m-main--home .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.home-service-list,
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-service-card,
.service-item.home-service-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(44, 87, 152, 0.06);
}

.home-service-card strong,
.service-item.home-service-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.home-service-card p,
.service-item.home-service-card span {
  margin: 0;
  font-size: 13px;
  color: #697687;
  line-height: 1.45;
  display: block;
}

.card-mileage {
  background: linear-gradient(160deg, var(--navy) 0%, #0f1733 100%);
  color: #fff;
}

.mileage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.mileage-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.mileage-total {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.mileage-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  opacity: 0.88;
}

.mileage-locked {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.lock-ico {
  font-size: 1.1rem;
}

.banner-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.chev {
  opacity: 0.7;
}

.card-muted {
  box-shadow: none;
  border: 1px solid var(--line);
}

.section-h {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.card-muted p {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* 탭바 바로 위 — 스태프 연결 회원만 표시 (staff_portal_bar.html) */
.app-staff-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(3.5rem + env(safe-area-inset-bottom));
  max-width: 430px;
  margin: 0 auto;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(180deg, rgba(13, 27, 61, 0.04) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}

.app-staff-foot__btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy-mid);
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(13, 27, 61, 0.2);
}

.app-staff-foot__btn:active {
  opacity: 0.92;
}

.app-staff-foot__hint {
  font-size: 0.62rem;
  color: var(--muted);
}

.m-shell--staff-foot .fab-tel {
  bottom: calc(5.85rem + env(safe-area-inset-bottom));
}

/* 탭바 위 전화 CTA */
.fab-tel {
  position: fixed;
  left: 50%;
  bottom: calc(4.15rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
  width: calc(100% - 20px);
  max-width: 422px;
  min-height: 54px;
  height: 54px;
  padding: 0 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #22a1ff 0%, #0d73eb 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(17, 118, 235, 0.34);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  animation: fab-tel-pulse 2.2s infinite ease-in-out;
}

.fab-tel__label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.fab-tel::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: fab-tel-shine 2.8s infinite;
  pointer-events: none;
}

@keyframes fab-tel-pulse {
  0% {
    box-shadow: 0 14px 28px rgba(17, 118, 235, 0.34);
  }

  50% {
    box-shadow: 0 18px 36px rgba(17, 118, 235, 0.48);
  }

  100% {
    box-shadow: 0 14px 28px rgba(17, 118, 235, 0.34);
  }
}

@keyframes fab-tel-shine {
  0% {
    left: -40%;
  }

  60% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.25rem 0 calc(0.35rem + env(safe-area-inset-bottom));
  max-width: 430px;
  margin: 0 auto;
}

.tabbar .tab {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.65rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
}

.tabbar .tab span {
  font-size: 0.62rem;
}

.tabbar .tab.active {
  color: var(--blue);
  font-weight: 700;
}

.drawer.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20.5rem, 88vw);
  height: 100dvh;
  background: #fff;
  z-index: 100;
  box-shadow: -12px 0 48px rgba(12, 31, 74, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.m-shell.drawer-open .drawer.sidebar {
  transform: translateX(0);
}

.sd-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.85rem 1rem calc(1.35rem + env(safe-area-inset-bottom));
  background: #fff;
}

.sd-head {
  position: relative;
  padding: 0.25rem 2.75rem 0.6rem 0.1rem;
  margin-bottom: 0.75rem;
}

.sd-tagline {
  margin: 0;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.sd-welcome-title {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.sd-close {
  position: absolute;
  top: 0.1rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: #f0f3f8;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.sd-close:hover {
  background: var(--line);
}

.sd-profile-card {
  background: var(--blue-sky);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem 1rem;
  margin-bottom: 0.65rem;
  border: 1px solid #c8e0ff;
  box-shadow: none;
}

.sd-profile-card--guest .sd-profile-name {
  font-size: 1rem;
}

.sd-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.sd-badge--muted {
  background: var(--muted);
}

.sd-badge--partner {
  background: #7c3aed;
}

.sd-profile-name {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
}

.sd-profile-row {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.sd-profile-phone {
  font-weight: 600;
  color: var(--navy);
}

.sd-profile-meta {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.sd-profile-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.btn-sm {
  flex: 1;
  padding: 0.45rem 0.5rem;
  font-size: 0.82rem;
  border-radius: 8px;
}

.sd-mileage-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: var(--blue-sky);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.95rem;
  margin-bottom: 0.85rem;
  border: 1px solid #c8e0ff;
  box-shadow: none;
}

.sd-mileage-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.sd-mileage-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  text-align: right;
}

.sd-mileage-dim {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}

.sd-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.sd-q {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.65rem 0.4rem;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.25;
}

.sd-q--primary {
  background: var(--blue-bright);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45, 159, 255, 0.35);
}

.sd-q--outline {
  background: #eef1f6;
  color: var(--text);
  border: 1px solid var(--line);
}

.sd-nav {
  margin-bottom: 1rem;
}

.sd-group {
  margin-bottom: 1rem;
}

.sd-group-title {
  margin: 0 0 0.4rem 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #8b93a5;
  letter-spacing: 0.02em;
}

.sd-list {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.sd-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.72rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  border-bottom: 1px solid #eef1f6;
}

.sd-list .sd-item:last-child {
  border-bottom: none;
}

.sd-item--link {
  text-decoration: none;
  font-weight: 700;
}

.sd-foot {
  padding-top: 0.35rem;
  border-top: none;
  margin-top: 0.5rem;
}

.sd-logout {
  width: 100%;
  padding: 0.72rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid #d5dbe6;
  border-radius: 14px;
  cursor: pointer;
  margin-bottom: 0.65rem;
}

.sd-logout--line {
  background: #fff;
}

.sd-legal {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
}

.sd-legal-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sd-dot {
  margin: 0 0.2rem;
  opacity: 0.5;
}

.drawer-scrim,
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 90;
}

#modal-root {
  position: relative;
  z-index: 200;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.modal-sheet {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(22rem, calc(100vw - 1.5rem));
  max-height: min(90dvh, 36rem);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.5rem;
  box-shadow: var(--shadow);
}

.modal-sheet--tall {
  max-height: min(92dvh, 40rem);
}

.modal-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.modal-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.modal-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.modal-form .field input {
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-error {
  color: #b91c1c;
  font-size: 0.82rem;
  margin: 0 0 0.5rem;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-secondary {
  background: var(--blue-light);
  color: var(--blue);
}

.btn-text {
  width: 100%;
  margin-top: 0.5rem;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(0.5rem);
  background: rgba(30, 30, 30, 0.92);
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 정적 스텁 페이지 /p/<basename>/ */
.page-stub {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
}

.page-stub-main {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.page-stub-back {
  display: inline-block;
  font-size: 0.88rem;
  color: var(--blue);
  text-decoration: none;
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-stub-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--navy);
}

.page-stub-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.subpage-dynamic {
  margin-top: 0.75rem;
}

.content-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.65rem;
  background: #fafbfc;
}

.content-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.content-item__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.content-item__time {
  font-size: 0.72rem;
  color: var(--muted);
}

.content-item__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
}

.content-item__chev {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
}

/* 공지 — 게시판형 목록 */
.m-main--notice-board .notice-board {
  padding-top: 1rem;
  padding-bottom: 1.15rem;
}

.notice-board__head {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.notice-board__title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.notice-board__lead {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.notice-board__count {
  margin: 0;
  font-size: 0.74rem;
  color: var(--muted);
}

.notice-board__count strong {
  font-weight: 800;
  color: var(--navy);
}

.notice-board__wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.5rem);
  overflow: hidden;
  background: #fff;
}

.notice-board__thead {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 4.5rem 1.1rem;
  gap: 0.35rem 0.5rem;
  align-items: center;
  padding: 0.5rem 0.65rem;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--line);
}

.notice-board__th {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.notice-board__th--go {
  width: 0;
  overflow: hidden;
  opacity: 0;
}

.notice-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-board__item:last-child .notice-board__row {
  border-bottom: none;
}

.notice-board__row {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 4.5rem 1.1rem;
  gap: 0.35rem 0.5rem;
  align-items: center;
  padding: 0.62rem 0.65rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease;
}

.notice-board__row:hover {
  background: rgba(15, 23, 42, 0.035);
}

.notice-board__row:active {
  background: rgba(15, 23, 42, 0.06);
}

.notice-board__no {
  font-size: 0.74rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-align: center;
}

.notice-board__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.notice-board__badge {
  flex-shrink: 0;
  margin-top: 0.12rem;
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.38rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: #fff;
}

.notice-board__subject {
  flex: 1;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.notice-board__date {
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.notice-board__chev {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  text-align: right;
}

.notice-board__empty {
  text-align: center;
  padding: 2.25rem 1rem 1.5rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius, 0.5rem);
  background: rgba(15, 23, 42, 0.02);
}

.notice-board__empty-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.notice-board__empty-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 공지 — 게시글형 상세 */
.m-main--notice-board .notice-article {
  padding-top: 0.85rem;
  padding-bottom: 1.2rem;
}

.notice-article__toolbar {
  margin: 0 0 0.65rem;
}

.notice-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent, #2563eb);
  text-decoration: none;
}

.notice-article__back:hover {
  text-decoration: underline;
}

.notice-article__back-ico {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: -0.05rem;
}

.notice-article__head {
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.notice-article__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.notice-article__badge {
  display: inline-flex;
  padding: 0.14rem 0.42rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: rgba(15, 23, 42, 0.03);
}

.notice-article__no {
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.notice-article__title {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.38;
  color: var(--navy);
}

.notice-article__meta {
  margin: 0;
}

.notice-article__time {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.notice-article__body {
  padding-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--text);
  word-break: break-word;
}

.notice-article__footer {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.notice-article__btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1.15rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius, 0.5rem);
  background: #fff;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.notice-article__btn-list:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}

/* FAQ 페이지 — 아코디언 */
.m-main--faq .faq-page-card {
  padding-top: 1rem;
  padding-bottom: 1.1rem;
}

.faq-page-head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.faq-page-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.faq-page-lead {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

.faq-page-empty {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-acc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-acc {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-acc:hover {
  border-color: #c5cdd9;
}

.faq-acc[open] {
  border-color: var(--navy);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.faq-acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-acc__summary::-webkit-details-marker {
  display: none;
}

.faq-acc__q {
  flex: 1;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}

.faq-acc__chev {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
  transition: background 0.2s ease, transform 0.25s ease;
}

.faq-acc__chev::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: -0.28rem;
  margin-top: -0.28rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-acc[open] .faq-acc__chev {
  background: var(--navy);
}

.faq-acc[open] .faq-acc__chev::after {
  border-color: #fff;
  transform: rotate(-135deg);
  margin-top: -0.18rem;
}

.faq-acc__body {
  padding: 0 1rem 1rem;
  animation: faq-acc-open 0.22s ease;
}

@keyframes faq-acc-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-acc__a {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid #eef2f7;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #475569;
}

@media (prefers-reduced-motion: reduce) {
  .faq-acc__body {
    animation: none;
  }
  .faq-acc,
  .faq-acc__chev,
  .faq-acc__chev::after {
    transition: none;
  }
}

/* 구버전 FAQ 블록(다른 페이지 호환) */
.faq-q {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.faq-a {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 설정 — 비밀번호·마일리지 이력 */
.settings-section {
  margin-top: 0.65rem;
}
.settings-section .section-h {
  margin-top: 0;
}
.settings-password-form .settings-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.settings-field__label {
  font-size: 0.78rem;
}
.settings-input {
  width: 100%;
  max-width: 22rem;
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-sizing: border-box;
}
.settings-flash {
  font-size: 0.86rem;
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}
.settings-flash--ok {
  background: #ecfdf5;
  color: #065f46;
}
.settings-errors {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: #b91c1c;
}
.mileage-ledger-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.mileage-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.mileage-ledger-table th,
.mileage-ledger-table td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid var(--line);
}
.mileage-ledger-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
}
.mileage-ledger-table tr:last-child td {
  border-bottom: none;
}
.mileage-ledger__dt {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.75rem;
}
.mileage-ledger__amt--plus {
  color: #15803d;
  font-weight: 700;
}
.mileage-ledger__amt--minus {
  color: #b91c1c;
  font-weight: 700;
}
.mileage-ledger__bal {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.mileage-ledger__memo {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.35;
}

/* 고객 서브페이지 — 이용내역·추천·문의 등 */
.callout a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.callout a:hover {
  text-decoration: underline;
}
.customer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.customer-guest-hint .section-h {
  margin-top: 0;
}
.customer-usage-card {
  margin-bottom: 0;
}
.customer-usage-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.customer-usage-card__dt {
  font-size: 0.72rem;
  color: var(--muted);
}
.customer-usage-card__summary {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
.customer-usage-card__summary--muted {
  font-weight: 600;
  color: var(--muted);
}
.customer-usage-card__detail {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
}
.customer-usage-card__meta {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.customer-mileage-mini .mileage-ledger-table {
  font-size: 0.75rem;
}
.customer-mileage-mini .mileage-ledger-table th,
.customer-mileage-mini .mileage-ledger-table td {
  padding: 0.35rem 0.4rem;
}
.reco-code-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.65rem 0;
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.reco-code-box__value {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.reco-code-box__btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}
.reco-share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
}
.reco-share-actions .btn {
  width: 100%;
  justify-content: center;
}
.reco-share-url {
  display: block;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  line-height: 1.4;
  word-break: break-all;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.04);
  border-radius: 8px;
  border: 1px dashed var(--line);
}
.reco-ref-banner {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--navy);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
}
.customer-bullet-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
}
.customer-tel-inline {
  text-align: center;
  margin: 0.75rem 0 0;
}
.customer-tel-inline a {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
}
.customer-tel-inline a:hover {
  text-decoration: underline;
}
.customer-flash {
  font-size: 0.86rem;
  margin: 0 0 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}
.customer-flash--ok {
  background: #ecfdf5;
  color: #065f46;
}
.customer-form-errors {
  margin: 0 0 0.65rem;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: #b91c1c;
}
.customer-inquiry-form .customer-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}
.customer-field__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.customer-input,
.customer-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
}
.customer-textarea {
  resize: vertical;
  min-height: 6rem;
}
.customer-inquiry-item {
  margin-bottom: 0;
}
.customer-inquiry-item__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.customer-inquiry-item__dt {
  font-size: 0.72rem;
  color: var(--muted);
}
.customer-inquiry-item__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}
.customer-inquiry-item__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text);
}
.customer-inquiry-item__answer {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--navy);
}
.customer-inquiry-item__answer p {
  margin: 0.35rem 0 0;
  color: var(--text);
}
.customer-inquiry-item__meta {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* 1:1 문의 — 목록(행 링크) · 상세 */
.customer-subnav {
  margin: 0 0 0.65rem;
}
.customer-subnav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
}
.customer-subnav__back:hover {
  text-decoration: underline;
}

.inquiry-intro .page-stub-note {
  max-width: 26rem;
}

.inquiry-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.inquiry-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.inquiry-list__link:hover {
  border-color: #c5cdd9;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.07);
}

.inquiry-list__link:active {
  transform: scale(0.998);
}

.inquiry-list__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
  flex: 1;
}

.inquiry-list__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inquiry-list__meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.inquiry-list__meta time {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.inquiry-list__chev {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
}

.inquiry-list__chev::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  margin: -0.22rem 0 0 -0.22rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-45deg);
}

.inquiry-detail-card {
  margin-top: 0.15rem;
}

.inquiry-detail-head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.inquiry-detail-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.inquiry-detail-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.inquiry-detail-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.inquiry-detail-block {
  margin-bottom: 1rem;
}

.inquiry-detail-block:last-of-type {
  margin-bottom: 0;
}

.inquiry-detail-label {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.inquiry-detail-body,
.inquiry-detail-answer {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
}

.inquiry-detail-block--answer {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.inquiry-detail-block--answer .inquiry-detail-label {
  color: var(--navy-mid);
}

.inquiry-detail-answered-at {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.inquiry-detail-pending {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.inquiry-detail-pending p {
  margin: 0;
}
