/* mytokyomate — app styles (reimplemented from design handoff, pixel-matched to DS bundle) */

/* ===== Base ===== */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
}

/* Locale and international checkout controls */
.locale-picker select { min-width:104px; height:38px; border:1px solid #c3d3da; border-radius:999px; background:#fff; padding:0 30px 0 12px; color:#172028; font:inherit; font-size:13px; }
.phone-field { display:grid; grid-template-columns:minmax(116px,.42fr) minmax(0,1fr); gap:8px; }
.phone-field select, .phone-field input { min-width:0; }
.admin-locale-filter { float:right; display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:500; }
.admin-locale-filter select { min-height:36px; border:1px solid #c3d3da; background:#fff; padding:0 28px 0 10px; }
.locale-badge { display:inline-block; margin-left:6px; padding:2px 7px; border-radius:999px; background:#e9f6ed; color:#008f3b; font-size:11px; font-weight:800; }
.payment-toggle-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:18px; }
.payment-toggle { display:flex; align-items:center; gap:10px; border:1px solid #c3d3da; padding:12px; cursor:pointer; }
.payment-toggle input { width:18px; height:18px; accent-color:#009d3d; }
.payment-toggle span { display:grid; gap:2px; }
.payment-toggle small { color:#667580; }

@media (max-width: 760px) {
  .locale-picker { width:100%; }
  .locale-picker select { width:100%; }
  .phone-field { grid-template-columns:1fr; }
  .payment-toggle-grid { grid-template-columns:1fr; }
  .admin-locale-filter { float:none; display:flex; margin-top:10px; }
}
a { color: var(--link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--link-hover); }
input[type="date"] { font-family: inherit; }
button { font-family: inherit; }

.shell { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.shell > .view { flex: 1; }
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 32px; }

/* ===== Buttons (DS: components/core/Button.jsx) ===== */
.btn {
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  box-shadow: none;
}
.btn .arrow { font-size: 0.7em; }
.btn:disabled { opacity: 0.4; cursor: default; }

.btn-pill {
  background: var(--cta-green);
  color: var(--text-on-brand);
  border-radius: var(--radius-pill);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 14px 40px;
}
.btn-pill:hover:not(:disabled) { background: var(--interactive-primary-hover); }

.btn-outline {
  background: transparent;
  color: var(--cta-green);
  border: 2px solid var(--cta-green);
  border-radius: var(--radius-full);
  font-size: 12px;
  line-height: 25px;
  letter-spacing: 1px;
  font-weight: 500;
  padding: 0 22px;
}
.btn-outline:hover:not(:disabled) { background: var(--cta-green); color: #fff; }

.btn-square {
  background: var(--cta-green);
  color: var(--text-on-brand);
  border-radius: 0;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.5px;
  font-weight: 700;
  padding: 13px 20px;
  justify-content: flex-start;
}
.btn-square:hover:not(:disabled) { background: var(--interactive-primary-hover); }

.btn-full { width: 100%; display: flex; }

.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  padding: 0;
}

/* ===== Section title (DS: components/core/SectionTitle.jsx) ===== */
.section-title .st-index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cta-green);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  line-height: 1;
  letter-spacing: var(--ls-display);
  font-weight: 400;
  color: var(--text-primary);
}
.section-title .st-ko {
  margin-top: 10px;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
}

/* ===== Form fields (DS: components/forms/*) ===== */
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 10px 12px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand-green); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #101211 50%), linear-gradient(135deg, #101211 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}
.field textarea { resize: vertical; }

/* ===== Place photos ===== */
.place-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .bar { height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { text-decoration: none; line-height: 1; cursor: pointer; }
.logo .logo-main { color: var(--brand-green); font-weight: 900; font-size: 20px; }
.logo .logo-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-top: 3px;
}
.header-menu { display: flex; align-items: center; flex: 1; gap: 32px; min-width: 0; }
.site-nav { display: flex; gap: 24px; flex: 1; }
.site-nav a { font-size: 14px; color: var(--text-primary); font-weight: 400; }
.site-nav a:hover { color: var(--brand-green); }
.site-nav a.active { color: var(--brand-green); font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 14px; position: relative; }
.header-email { font-size: 12px; color: var(--text-muted); }
.mobile-menu-btn { display: none; }

.notif-btn {
  position: relative;
  background: var(--pale-mist);
  border: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 8px 14px;
  color: var(--text-primary);
  transition: background-color 0.2s ease;
}
.notif-btn:hover { background: #dce7eb; }
.notif-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--cta-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.notif-panel {
  position: absolute;
  top: 44px;
  right: 0;
  width: 320px;
  background: #fff;
  border: 2px solid var(--cta-green);
  z-index: 50;
}
.notif-panel .np-head {
  background: var(--cta-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 14px;
}
.notif-panel .np-empty { padding: 20px 14px; font-size: 13px; color: var(--text-muted); }
.notif-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  padding: 12px 14px;
  transition: background-color 0.2s ease;
}
.notif-item.unread { background: var(--pale-blue); }
.notif-item:hover { background: var(--pale-mist); }
.notif-item .ni-text { display: block; font-size: 13px; color: var(--text-primary); line-height: 1.5; }
.notif-item .ni-when { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0;
  text-decoration: underline;
}

/* ===== Home ===== */
.hero {
  padding: 72px 32px 64px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}
.hero .eyebrow { font-family: var(--font-display); font-size: 13px; letter-spacing: 2px; color: var(--cta-green); }
.hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 100;
  font-size: var(--text-hero-number);
  line-height: 1;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.hero .hero-sub { margin-top: 14px; font-size: 22px; font-weight: 900; line-height: 1.4; }
.hero .hero-desc { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--text-secondary); max-width: 460px; }
.hero .hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.hero .hero-note { font-size: 12px; letter-spacing: 0.5px; color: var(--text-muted); }
.hero .hero-img { height: 400px; position: relative; }

.steps-band { background: var(--brand-green); color: #fff; }
.steps-band .steps {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.steps-band .num { font-family: var(--font-display); font-weight: 100; font-size: 44px; line-height: 1; }
.steps-band .tt { font-weight: 700; font-size: 15px; margin-top: 12px; }
.steps-band .dd { font-size: 13px; line-height: 1.6; opacity: 0.85; margin-top: 6px; }

.highlights { max-width: var(--content-width); margin: 0 auto; padding: 72px 32px 64px; }
.highlights .hl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.highlights .hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.hl-card { text-align: left; background: #fff; }
.hl-card .hl-img { height: 150px; position: relative; }
.hl-card .hl-body {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.hl-card .hl-name { display: block; font-weight: 700; font-size: 15px; margin-top: 12px; }
.hl-card .hl-cat { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.subregions-band { background: var(--pale-blue); }
.subregions-band .inner { max-width: var(--content-width); margin: 0 auto; padding: 64px 32px 72px; }
.subregions-band .sr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 32px; }
.sr-card {
  text-align: left;
  background: #fff;
  border: none;
  cursor: pointer;
  padding: 20px 18px;
  transition: background-color 0.2s ease;
}
.sr-card:hover { background: var(--pale-mist); }
.sr-card .sr-en { font-family: var(--font-display); font-size: 11px; letter-spacing: 2px; color: var(--cta-green); }
.sr-card .sr-ko { font-weight: 900; font-size: 17px; margin-top: 8px; }
.sr-card .sr-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

.cta-band { background: var(--surface-dark); color: #fff; }
.cta-band .inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band .cb-en { font-family: var(--font-display); font-size: 12px; letter-spacing: 2px; color: var(--mint); }
.cta-band .cb-ko { font-size: 26px; font-weight: 900; margin-top: 12px; line-height: 1.4; }

/* ===== Planner ===== */
.page { max-width: var(--content-width); margin: 0 auto; padding: 56px 32px 72px; width: 100%; }
.page-planner { padding-bottom: 40px; }
.page-narrow { max-width: 880px; }
.page-login { max-width: 480px; padding: 80px 32px 96px; }

.planner-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 36px; align-items: start; }
.region-rail { display: flex; flex-direction: column; gap: 8px; }

.jp-map {
  position: relative;
  overflow: hidden;
  background: var(--pale-blue);
  margin-bottom: 8px;
  aspect-ratio: 1;
}
.jp-map img { width: 100%; height: 100%; display: block; object-fit: cover; }
.map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.map-marker {
  color: #288068;
  cursor: pointer;
  outline: none;
}
/* Legacy button marker rules remain compatible with the full-Japan map. */
.map-marker:is(button) {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
.map-marker .dot {
  fill: currentColor;
  stroke: #fff;
  stroke-width: .5;
  vector-effect: non-scaling-stroke;
  transition: background-color 0.2s ease;
}
.map-marker.active { color: var(--cta-green); }
.map-marker.active .dot { stroke-width: .8; }
.map-marker.picked { color: var(--mint); }
.map-marker.active.picked { color: var(--cta-green); }
.map-marker .lbl {
  font-size: 3px;
  font-weight: 700;
  fill: var(--text-primary);
  paint-order: stroke;
  stroke: var(--pale-blue);
  stroke-width: .75px;
  stroke-linejoin: round;
}
.map-marker.active .lbl { font-weight: 900; fill: var(--cta-green); }
.map-marker:focus .dot { stroke: #111; stroke-width: 1; }
.auth-code { font-size: 24px; letter-spacing: 8px; font-weight: 800; text-align: center; }
.auth-back { border: 0; background: transparent; color: var(--brand-green); text-decoration: underline; cursor: pointer; font-weight: 700; }

.region-tile {
  text-align: left;
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  background: var(--pale-mist);
  color: var(--text-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
}
.region-tile .rt-en { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: 2px; opacity: 0.75; }
.region-tile .rt-ko { display: block; font-weight: 900; font-size: 15px; margin-top: 6px; }
.region-tile .rt-desc { display: block; font-size: 12px; margin-top: 4px; opacity: 0.75; line-height: 1.5; }
.region-tile.main { padding: 22px 20px; background: var(--pale-blue); }
.region-tile.main .rt-en { font-size: 13px; }
.region-tile.main .rt-ko { font-size: 22px; }
.region-tile.active { background: var(--brand-green); color: #fff; }
.region-tile .rt-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--mint);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.spots-head { display: flex; align-items: baseline; gap: 12px; }
.spots-head .sh-en { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; }
.spots-head .sh-note { font-size: 14px; color: var(--text-muted); }
.spots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }

.spot-card {
  text-align: left;
  background: #fff;
  border: 2px solid #e5e5e5;
  position: relative;
  transition: border-color 0.2s ease;
}
.spot-card.selected { border-color: var(--mint); }
.spot-card .sp-order {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--mint);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.spot-card .sp-img { height: 96px; position: relative; }
.spot-card .sp-body {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 12px 14px;
  transition: background-color 0.2s ease;
}
.spot-card .sp-body:hover { background: var(--pale-mist); }
.spot-card .sp-name { display: block; font-weight: 700; font-size: 14px; }
.spot-card .sp-cat { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.select-bar {
  margin-top: 40px;
  background: var(--pale-mist);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.select-bar .sb-info { flex: 1; min-width: 300px; }
.select-bar .sb-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.select-bar .sb-empty { font-size: 13px; color: var(--text-muted); }
.select-bar .sb-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sel-chip {
  background: var(--mint);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease;
}
.sel-chip:hover { background: var(--green-dark); }
.sel-chip .x { opacity: 0.8; }

/* ===== Info form ===== */
.info-form { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.form-hint { font-size: 12px; color: var(--text-muted); }

/* ===== Payment ===== */
.pay-summary { margin-top: 36px; background: var(--pale-mist); padding: 28px 32px; }
.pay-summary .ps-title { font-weight: 900; font-size: 16px; margin-bottom: 16px; }
.pay-summary .ps-rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.pay-summary .ps-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.pay-summary .ps-row .k { color: var(--text-muted); font-weight: 700; }

.pay-methods { margin-top: 28px; }
.pay-methods .pm-title { font-weight: 900; font-size: 16px; margin-bottom: 14px; }
.pay-methods .pm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pm-card {
  border: 2px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  padding: 14px 12px;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pm-card.on { border-color: var(--mint); background: var(--pale-blue); }
.pm-card .pm-en { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: 1.5px; color: var(--text-muted); }
.pm-card .pm-ko { display: block; font-weight: 700; font-size: 14px; margin-top: 6px; color: var(--text-primary); }
.card-fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 18px; }
.easy-note {
  margin-top: 18px;
  background: var(--pale-mist);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.price-band {
  margin-top: 20px;
  background: var(--surface-dark);
  color: #fff;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-band .pb-label { font-size: 14px; font-weight: 700; }
.price-band .pb-price { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; }
.pay-actions { display: flex; align-items: center; gap: 16px; margin-top: 28px; }

/* ===== Done ===== */
.done { padding: 88px 32px 96px; text-align: center; }
.done .dn-en {
  font-family: var(--font-display);
  font-weight: 100;
  font-size: 56px;
  letter-spacing: 2px;
  color: var(--brand-green);
}
.done .dn-ko { font-size: 22px; font-weight: 900; margin-top: 16px; }
.done p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin: 16px 0 0; }
.done .dn-actions { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }

/* ===== Login ===== */
.login-form { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.login-err { font-size: 13px; color: var(--green-dark); font-weight: 700; }
.login-form .link-btn { align-self: flex-start; }
.field-help { display: block; margin-top: 7px; color: var(--text-muted); font-size: 11px; line-height: 1.5; }
.auth-switch { padding-top: 4px; color: var(--text-muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--brand-green); font-weight: 700; }
.header-signup { color: var(--brand-green); font-size: 12px; font-weight: 700; }

/* ===== My page ===== */
.empty-box { margin-top: 36px; background: var(--pale-mist); padding: 48px 32px; text-align: center; }
.empty-box .eb-title { font-size: 15px; font-weight: 700; }
.empty-box .eb-desc { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.empty-box .eb-cta { display: flex; justify-content: center; margin-top: 20px; }

.req-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.req-card { border: 1px solid #e0e0e0; padding: 22px 26px; display: flex; align-items: center; gap: 24px; }
.req-card .rq-main { flex: 1; }
.req-card .rq-head { display: flex; align-items: center; gap: 12px; }
.req-card .rq-id { font-family: var(--font-display); font-size: 13px; letter-spacing: 1.5px; color: var(--text-muted); }
.req-card .rq-spots { font-weight: 700; font-size: 15px; margin-top: 10px; line-height: 1.5; }
.req-card .rq-meta { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.req-card .rq-waiting { font-size: 12px; color: var(--text-muted); }

.status-badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; background: var(--pale-blue); color: var(--text-primary); }
.status-badge.arrived { background: var(--mint); color: #fff; }

/* ===== Guide detail ===== */
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--cta-green);
  padding: 0;
  margin-bottom: 24px;
}
.guide-meta { margin-top: 24px; background: var(--pale-mist); padding: 16px 20px; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.guide-body {
  margin-top: 28px;
  border-top: 2px solid var(--brand-green);
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
}
.guide-band { margin-top: 32px; background: var(--brand-green); color: #fff; padding: 18px 24px; font-size: 13px; line-height: 1.6; }

/* ===== Admin ===== */
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; }
.admin-tag { background: var(--pale-mist); font-size: 11px; letter-spacing: 1px; padding: 6px 12px; color: var(--text-muted); }
.admin-empty { margin-top: 36px; background: var(--pale-mist); padding: 40px 32px; text-align: center; font-size: 14px; color: var(--text-muted); }
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; margin-top: 32px; align-items: start; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-req {
  text-align: left;
  border: 2px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  padding: 16px 18px;
  transition: border-color 0.2s ease;
}
.admin-req.on { border-color: var(--cta-green); }
.admin-req .ar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-req .ar-id { font-family: var(--font-display); font-size: 12px; letter-spacing: 1.5px; color: var(--text-muted); }
.admin-req .status-badge { font-size: 10px; padding: 3px 8px; }
.admin-req .ar-spots { font-size: 13px; font-weight: 700; margin-top: 8px; line-height: 1.5; }
.admin-req .ar-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.admin-detail { background: var(--pale-mist); padding: 28px 32px; }
.admin-detail .ad-title { font-weight: 900; font-size: 16px; }
.admin-detail .ad-info { font-size: 13px; line-height: 1.8; color: var(--text-secondary); margin-top: 12px; }
.admin-detail .ad-guide-done { margin-top: 20px; background: #fff; padding: 16px 20px; }
.admin-detail .ad-guide-done .gt { font-weight: 700; font-size: 14px; }
.admin-detail .ad-guide-done .gb { font-size: 13px; line-height: 1.8; margin-top: 10px; white-space: pre-wrap; }
.admin-detail .ad-guide-done .gn { font-size: 11px; color: var(--text-muted); margin-top: 12px; }
.admin-detail .ad-form { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.admin-detail .ad-actions { display: flex; align-items: center; gap: 14px; }
.admin-placeholder { background: var(--pale-mist); padding: 48px 32px; text-align: center; font-size: 14px; color: var(--text-muted); }
.admin-host-badge {
  margin-left: auto;
  padding: 7px 12px;
  background: var(--pale-mist);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Admin — region visibility settings */
.admin-regions { margin-top: 32px; background: var(--pale-mist); padding: 28px 32px; }
.admin-regions .ar-title { font-weight: 900; font-size: 16px; }
.admin-regions .ar-desc { font-size: 13px; color: var(--text-secondary); margin-top: 8px; line-height: 1.6; }
.rv-group { margin-top: 20px; }
.rv-heading { margin-bottom: 10px; color: var(--text-secondary); font-size: 12px; font-weight: 700; }
.rv-heading b { color: var(--brand-green); }
.rv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid #e5e5e5;
  padding: 14px 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.rv-item.on { border-color: var(--mint); background: var(--pale-blue); }
.rv-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rv-state { flex: 0 0 auto; border-radius: 20px; background: var(--mint); padding: 3px 7px; color: #fff; font-size: 9px; font-weight: 700; }
.rv-state.off { background: #d6dfe2; color: var(--text-muted); }
.rv-item .rv-ko { font-weight: 700; font-size: 14px; }
.rv-item .rv-en { font-family: var(--font-display); font-size: 10px; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }
.rv-action { margin-left: auto; border: 1px solid #cbd6d9; background: #fff; padding: 6px 10px; color: var(--text-secondary); cursor: pointer; font-size: 11px; font-weight: 700; }
.rv-action.add { border-color: var(--brand-green); color: var(--brand-green); }
.rv-action.remove { color: #745757; }
.rv-action:disabled { cursor: not-allowed; opacity: 0.35; }
.rv-empty { background: rgba(255, 255, 255, 0.65); padding: 16px; color: var(--text-muted); font-size: 12px; }
.admin-section-title { font-weight: 900; font-size: 16px; margin: 40px 0 16px; }
@media (max-width: 640px) { .rv-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--brand-green); color: #fff; }
.site-footer .inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.site-footer .ft-brand { font-weight: 900; font-size: 16px; }
.site-footer .ft-sub { opacity: 0.8; margin-top: 6px; }
.site-footer .ft-links { display: flex; gap: 20px; opacity: 0.9; align-items: center; }
.site-footer .ft-links a { color: #fff; }

/* ===== Responsive (prototype is desktop-first; graceful stacking below 960px) ===== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero .hero-img { height: 300px; }
  .steps-band .steps { grid-template-columns: repeat(2, 1fr); }
  .highlights .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .subregions-band .sr-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .planner-grid { grid-template-columns: 1fr; }
  .spots-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .pay-methods .pm-grid { grid-template-columns: repeat(2, 1fr); }
  .card-fields { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .req-card { flex-direction: column; align-items: flex-start; }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .container { padding-left: 20px; padding-right: 20px; }
  .site-header .bar { height: 64px; gap: 12px; position: relative; }
  .logo { min-width: 0; }
  .logo .logo-main { font-size: 18px; white-space: nowrap; }
  .logo .logo-sub { font-size: 6px; letter-spacing: 1.7px; white-space: nowrap; }
  .mobile-menu-btn {
    display: flex;
    width: 42px;
    height: 42px;
    margin-left: auto;
    flex: 0 0 42px;
    padding: 10px;
    border: 2px solid var(--brand-green);
    border-radius: 50%;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  .mobile-menu-btn span { display: block; height: 2px; width: 100%; background: var(--brand-green); }
  .header-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: 18px 20px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 2px solid var(--brand-green);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }
  .bar.mobile-open .header-menu { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .site-nav { display: grid; grid-template-columns: 1fr; gap: 0; }
  .site-nav a { display: block; padding: 11px 0; border-bottom: 1px solid #eee; font-size: 15px; white-space: nowrap; }
  .header-right { display: flex; width: 100%; gap: 10px; flex-wrap: wrap; }
  .header-right > * { white-space: nowrap; }
  .header-email { width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .header-right .btn-outline, .header-signup, .notif-btn, .logout-btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .header-signup { padding: 0 16px; border: 1px solid var(--brand-green); border-radius: 24px; }
  .notif-panel { position: fixed; top: 70px; left: 20px; right: 20px; width: auto; max-height: calc(100vh - 90px); overflow-y: auto; }

  .page { padding: 40px 20px 56px; }
  .page-login { padding-top: 48px; }
  .section-title h2 { font-size: 32px; line-height: 1.08; overflow-wrap: normal; word-break: keep-all; }
  .section-title .st-ko { word-break: keep-all; }

  .hero { padding: 48px 20px 52px; gap: 36px; }
  .hero h1 { font-size: 62px; letter-spacing: 0; }
  .hero .hero-sub { font-size: 22px; word-break: keep-all; }
  .hero .hero-desc { font-size: 15px; word-break: keep-all; }
  .hero .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .hero-cta .btn { width: 100%; }
  .hero .hero-note { text-align: center; }
  .hero .hero-img { height: 260px; }
  .steps-band .steps { padding: 40px 20px; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .highlights { padding: 52px 20px; }
  .highlights .hl-head { align-items: flex-start; flex-direction: column; }
  .highlights .hl-grid { gap: 24px 14px; margin-top: 28px; }
  .hl-card .hl-img { height: auto; aspect-ratio: 1; }
  .subregions-band .inner { padding: 48px 20px 56px; }
  .subregions-band .sr-grid { grid-template-columns: 1fr; }
  .cta-band .inner { padding: 52px 20px; }
  .cta-band .cb-ko { font-size: 23px; word-break: keep-all; }
  .cta-band .btn { width: 100%; }

  .planner-grid { margin-top: 28px; gap: 32px; }
  .spots-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .spots-grid { gap: 24px 14px; }
  .spot-card .sp-img { height: auto; aspect-ratio: 1; }
  .spot-card .sp-body { padding-top: 10px; }
  .spot-card .sp-name { font-size: 15px; word-break: keep-all; }
  .select-bar { flex-direction: column; align-items: stretch; gap: 18px; }
  .select-bar .btn { width: 100%; }

  .info-form { margin-top: 28px; gap: 20px; }
  .form-actions, .pay-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .form-actions .btn, .pay-actions .btn { width: 100%; min-height: 50px; }
  .form-actions .btn-outline, .pay-actions .btn-outline { order: 2; }
  .form-actions .form-hint, .pay-actions .form-hint { order: 3; text-align: center; line-height: 1.6; }
  .pay-summary { margin-top: 28px; padding: 22px 18px; }
  .pay-summary .ps-row { grid-template-columns: 88px 1fr; gap: 10px; }
  .pay-methods .pm-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pm-card { min-width: 0; padding: 13px 10px; }
  .pm-card .pm-ko { word-break: keep-all; }
  .easy-note { padding: 14px; line-height: 1.6; }
  .price-band { padding: 20px 18px; gap: 14px; }
  .price-band .pb-price { font-size: 25px; white-space: nowrap; }

  .done { padding: 64px 20px 72px; }
  .done .dn-en { font-size: 42px; }
  .done .dn-actions { flex-direction: column; align-items: stretch; }
  .done .dn-actions .btn { width: 100%; }

  .site-footer .inner { padding: 36px 20px; flex-direction: column; align-items: flex-start; gap: 28px; line-height: 1.6; }
  .site-footer .ft-sub { max-width: 310px; word-break: keep-all; }
  .site-footer .ft-links { width: 100%; display: grid; gap: 0; align-items: stretch; }
  .site-footer .ft-links a { display: block; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.25); white-space: nowrap; }

  .admin-host-badge { white-space: nowrap; }
  .admin-regions, .admin-detail { padding: 22px 18px; }
}
