/* ═══════════════════════════════════════════════════
   CANTON FAIR NIGERIA HUB — Design System
   Aligned with Leo Page: Apple-dark, Inter, Orange accent
═══════════════════════════════════════════════════ */

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

:root {
  --accent:       #FF6B00;
  --accent-light: #FF8A33;
  --accent-dark:  #E05A00;
  --gold:         #c8a84b;
  --green:        #00C48C;
  --red:          #FF3B30;
  --blue:         #5B9CF6;
  --amber:        #F59E0B;

  --bg-primary:   #000000;
  --bg-secondary: #0A0A0A;
  --bg-card:      #111111;
  --bg-card-2:    #1A1A1A;

  --text-primary:   #F5F5F7;
  --text-secondary: #AEAEB2;
  --text-tertiary:  #6E6E73;

  --border:       rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --glass:        rgba(0,0,0,0.88);

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --ease:  cubic-bezier(0.25,0.46,0.45,0.94);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(255,107,0,0.3); color: var(--text-primary); }

/* ─── SCREENS ─────────────────────────────────────── */
.screen {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-primary);
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  will-change: transform;
}
.screen.active    { transform: translateX(0); }
.screen.slide-out { transform: translateX(-28%); opacity: 0.6; transition: transform 0.38s var(--ease), opacity 0.38s var(--ease); }
/* Home: hero + 2×2 modules + footer fit one viewport (no scroll on typical phones) */
#screen-home {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px);
}

/* ────────────────────────────────────────────────────
   HOME SCREEN
──────────────────────────────────────────────────── */

/* Hero Section */
.home-hero {
  padding: 20px 14px 6px;
  text-align: center;
  flex-shrink: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.22);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.hero-title {
  font-size: clamp(34px, 9.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
  background: linear-gradient(145deg, #ffffff 0%, var(--accent) 55%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

/* WhatsApp Hero Button */
.wa-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: wa-breathe 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 0;
}
.wa-group-btn::before {
  content: '';
  position: absolute;
  top: -120%; left: -40%;
  width: 55%; height: 300%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: rotate(20deg);
  animation: wa-shimmer 2.8s linear infinite;
  pointer-events: none;
}
.wa-group-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(37,211,102,0.35);
  opacity: 0;
  animation: wa-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-breathe {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
}
@keyframes wa-shimmer { 0% { left:-55%; } 100% { left:130%; } }
@keyframes wa-ring {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.2); }
}

.hero-tagline {
  font-size: 10px;
  color: var(--text-tertiary);
  line-height: 1.35;
  padding-top: 4px;
  max-width: 20em;
  margin-left: auto;
  margin-right: auto;
}
@media (max-height: 640px) {
  .hero-tagline { display: none; }
}

/* Module grid — 2×2 fills remaining height below hero */
.home-modules {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 12px 0;
  min-height: 0;
}
.modules-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 2px 0 6px;
  padding-left: 2px;
  flex-shrink: 0;
}
.module-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding-bottom: 6px;
}

.mc {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(165deg, #161616 0%, #101010 50%, #0c0c0c 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 6px 20px rgba(0,0,0,0.35);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mc:hover {
  border-color: var(--border-hover);
}
.mc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  z-index: 1;
}
.mc-1::before { background: linear-gradient(90deg, var(--accent), var(--accent-light), #ffb347); }
.mc-2::before { background: linear-gradient(90deg, #00a878, var(--green), #5eead4); }
.mc-3::before { background: linear-gradient(90deg, #3b82f6, var(--blue), #bfdbfe); }
.mc-4::before { background: linear-gradient(90deg, #d97706, var(--amber), #fde68a); }
.mc:active { transform: scale(0.98); }

.mc-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mc-1 .mc-glow {
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(255,107,0,0.12), transparent 50%);
}
.mc-2 .mc-glow {
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0,196,140,0.1), transparent 50%);
}
.mc-3 .mc-glow {
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(91,156,246,0.1), transparent 50%);
}
.mc-4 .mc-glow {
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(245,158,11,0.1), transparent 50%);
}

.mc-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 9px;
}
.mc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.mc-icon {
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
.mc-num {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c4c4cc;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.mc-1 .mc-num { color: #ffb088; }
.mc-2 .mc-num { color: #6ee7c5; }
.mc-3 .mc-num { color: #a5c8fc; }
.mc-4 .mc-num { color: #fcd977; }

.mc-text {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.mc-title {
  font-size: clamp(14px, 4vw, 17px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.035em;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-bottom: 5px;
  margin-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mc-desc {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 0;
}
.mc-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(11px, 3.1vw, 13px);
  font-weight: 600;
  color: #e4e4ea;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.mc-line::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.38em;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.mc-1 .mc-line::before { background: var(--accent); box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2); }
.mc-2 .mc-line::before { background: var(--green); box-shadow: 0 0 0 2px rgba(0, 196, 140, 0.2); }
.mc-3 .mc-line::before { background: var(--blue); box-shadow: 0 0 0 2px rgba(91, 156, 246, 0.2); }
.mc-4 .mc-line::before { background: var(--amber); box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22); }

.mc-arrow {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.9;
}
.mc-1 .mc-arrow { color: var(--accent); }
.mc-2 .mc-arrow { color: var(--green); }
.mc-3 .mc-arrow { color: var(--blue); }
.mc-4 .mc-arrow { color: var(--amber); }

@media (max-height: 620px) {
  .home-hero { padding-top: 12px; padding-bottom: 2px; }
  .hero-title { font-size: clamp(28px, 8.5vw, 40px); }
  .hero-sub { margin-bottom: 6px; }
  .wa-group-btn { padding: 8px 12px; font-size: 11px; }
  .modules-label { margin-bottom: 4px; }
  .module-grid { gap: 6px; padding-bottom: 4px; }
  .mc-body { padding: 8px 8px 7px; }
  .mc-icon { font-size: 20px; }
  .mc-text { gap: 4px; }
  .mc-title {
    font-size: clamp(12.5px, 3.6vw, 15px);
    padding-bottom: 3px;
  }
  .mc-desc { gap: 3px; }
  .mc-line {
    font-size: clamp(10px, 2.9vw, 11.5px);
    gap: 6px;
  }
  .mc-line::before {
    width: 6px;
    height: 6px;
    margin-top: 0.42em;
  }
}

/* Home Footer */
.home-footer {
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}
.hf-text { font-size: 12px; color: var(--text-tertiary); line-height: 1.4; }
.hf-text strong { color: var(--text-secondary); font-weight: 600; }
.hf-sponsor {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 4px;
  padding: 2px 7px;
  margin-top: 2px;
  display: inline-block;
}
.hf-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.22);
  color: #25D366;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────────
   MODULE SCREEN CHROME
──────────────────────────────────────────────────── */

/* Sticky wrapper: header + sec-nav (scroll-linked collapse via --mod-head-p 0→1) */
.mod-sticky {
  --mod-head-p: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mod-header {
  padding: calc(4px + env(safe-area-inset-top, 0px)) 14px 0;
  border-bottom: none;
}

/* Light surface — closer to system nav + large title */
.mod-header-card {
  position: relative;
  margin: 0 0 calc(2px * (1 - var(--mod-head-p, 0)));
  padding: 0 0 calc(2px * (1 - var(--mod-head-p, 0)));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.mod-header-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
}
.mod-header-m1 .mod-header-card::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.mod-header-m2 .mod-header-card::after {
  background: linear-gradient(90deg, #00a878, var(--green));
}
.mod-header-m3 .mod-header-card::after {
  background: linear-gradient(90deg, #3b82f6, var(--blue));
}
.mod-header-m4 .mod-header-card::after {
  background: linear-gradient(90deg, #d97706, var(--amber));
}

.mod-header-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  padding: 4px 6px calc(2px + 4px * (1 - var(--mod-head-p, 0))) 4px;
}

.mod-header-trail {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* iOS-style text back control */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 8px 10px 8px 2px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(235, 235, 240, 0.72);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.back-btn-chevron {
  flex-shrink: 0;
  opacity: 0.88;
}
.back-btn-label {
  padding-bottom: 1px;
}
.back-btn:hover {
  color: var(--text-primary);
}
.back-btn:active {
  background: rgba(255, 255, 255, 0.06);
}
.mod-header-m1 .back-btn { color: rgba(255, 186, 150, 0.92); }
.mod-header-m2 .back-btn { color: rgba(120, 230, 200, 0.92); }
.mod-header-m3 .back-btn { color: rgba(170, 200, 255, 0.92); }
.mod-header-m4 .back-btn { color: rgba(253, 220, 140, 0.92); }

/* Inline title in nav row (mirrors hero title; fades in as user scrolls) */
.mod-title--bar {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-primary);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: var(--mod-head-p, 0);
  flex-shrink: 1;
  flex-basis: 0;
  opacity: var(--mod-head-p, 0);
  pointer-events: none;
}

.mod-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: calc(220px * (1 - var(--mod-head-p, 0)) + 0.001px);
  overflow: hidden;
  opacity: clamp(0, calc(1 - var(--mod-head-p, 0) * 1.08), 1);
}

.mod-num-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.m1-icon { background: rgba(255, 107, 0, 0.1); border: 1px solid rgba(255, 107, 0, 0.18); }
.m2-icon { background: rgba(0, 196, 140, 0.1); border: 1px solid rgba(0, 196, 140, 0.18); }
.m3-icon { background: rgba(91, 156, 246, 0.1); border: 1px solid rgba(91, 156, 246, 0.18); }
.m4-icon { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.18); }

.mod-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.5);
}
.mod-header-m1 .mod-eyebrow { color: rgba(255, 186, 150, 0.88); }
.mod-header-m2 .mod-eyebrow { color: rgba(120, 230, 200, 0.88); }
.mod-header-m3 .mod-eyebrow { color: rgba(180, 205, 255, 0.88); }
.mod-header-m4 .mod-eyebrow { color: rgba(253, 220, 140, 0.88); }

/* Large title — shrinks away with scroll (same motion family as bar title) */
h1.mod-title--hero {
  margin: 0;
  margin-top: calc((1 - var(--mod-head-p, 0)) * 6px);
  margin-left: 14px;
  margin-right: 14px;
  margin-bottom: 0;
  padding: 0 0 calc((1 - var(--mod-head-p, 0)) * 8px);
  border: none;
  /* Shrink font with p so WebKit does not reserve a line box under max-height:0 */
  font-size: calc(
    (1 - var(--mod-head-p, 0)) * clamp(1.45rem, 5.5vw, 1.85rem) + var(--mod-head-p, 0) * 1px
  );
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: calc((1 - var(--mod-head-p, 0)) * 1.06 + var(--mod-head-p, 0) * 1px);
  color: var(--text-primary);
  max-height: calc((1 - var(--mod-head-p, 0)) * 3.6em);
  min-height: 0;
  opacity: clamp(0, calc(1 - var(--mod-head-p, 0) * 1.12), 1);
  overflow: hidden;
  pointer-events: none;
}

.mod-topics {
  margin: 0 14px calc((1 - var(--mod-head-p, 0)) * 12px);
  padding: 0;
  padding-bottom: calc((1 - var(--mod-head-p, 0)) * 2px);
  display: flex;
  flex-direction: column;
  gap: calc((1 - var(--mod-head-p, 0)) * 4px);
  max-height: calc((1 - var(--mod-head-p, 0)) * 140px);
  min-height: 0;
  opacity: clamp(0, calc(1 - var(--mod-head-p, 0) * 1.02), 1);
  overflow: hidden;
}

.mod-topic-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 245, 247, 0.68);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.mod-topic-line::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  margin-top: 0.52em;
  border-radius: 50%;
  opacity: 0.55;
}
.mod-header-m1 .mod-topic-line::before { background: var(--accent); }
.mod-header-m2 .mod-topic-line::before { background: var(--green); }
.mod-header-m3 .mod-topic-line::before { background: var(--blue); }
.mod-header-m4 .mod-topic-line::before { background: var(--amber); }

/* Section navigation bar */
.sec-nav {
  display: flex;
  gap: 4px;
  padding: 8px 14px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.sec-nav::-webkit-scrollbar { display: none; }

.sn-tab {
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: color 0.18s, background 0.18s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.sn-tab.active {
  background: rgba(255,255,255,0.09);
  color: var(--text-primary);
  font-weight: 600;
}
.sn-tab:active:not(.active) { background: rgba(255,255,255,0.04); }

/* Continuous-scroll section blocks */
.sec-block {
  padding: 26px 16px;
}
.sec-block + .sec-block {
  border-top: 1px solid var(--border);
}

/* Next Module CTA at bottom of each module */
.next-mod-cta {
  margin: 6px 14px calc(32px + env(safe-area-inset-bottom, 0px));
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(255,107,0,0.07), rgba(255,107,0,0.03));
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.next-mod-cta:active { transform: scale(0.98); }
.next-mod-cta.final-cta {
  background: linear-gradient(135deg, rgba(0,196,140,0.07), rgba(0,196,140,0.03));
  border-color: rgba(0,196,140,0.2);
}
.nmc-label { font-size: 10px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.next-mod-cta.final-cta .nmc-label { color: var(--green); }
.nmc-title { font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 7px; line-height: 1.1; }
.nmc-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Auto-advance bar (fixed, shows when near bottom) */
.auto-next-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,107,0,0.22);
  padding: 13px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  cursor: pointer;
  transform: translateY(115%);
  transition: transform 0.34s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.auto-next-bar.show { transform: translateY(0); }
.anb-progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 0%;
  border-radius: 0;
}
.anb-texts { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.anb-up   { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.anb-name { font-size: 16px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.anb-hint { font-size: 10px; color: var(--text-tertiary); white-space: nowrap; }

/* ─── TYPOGRAPHY ──────────────────────────────────── */
.sec-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sec-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.sec-head h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.sec-head h3 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sec-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.sec-body  { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.sub-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}
strong { color: var(--text-primary); font-weight: 600; }
em     { color: var(--accent); font-style: normal; }

/* ─── CALLOUTS ────────────────────────────────────── */
.callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  margin: 14px 0;
  font-size: 14px;
  line-height: 1.6;
}
.callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.c-gold   { background: rgba(200,168,75,0.09);  border: 1px solid rgba(200,168,75,0.22);  color: #e6c96a; }
.c-red    { background: rgba(255,59,48,0.08);   border: 1px solid rgba(255,59,48,0.22);   color: #ff9d96; }
.c-green  { background: rgba(0,196,140,0.08);   border: 1px solid rgba(0,196,140,0.22);   color: #6ee7b7; }
.c-blue   { background: rgba(91,156,246,0.09);  border: 1px solid rgba(91,156,246,0.22);  color: #93c5fd; }
.c-orange { background: rgba(255,107,0,0.08);   border: 1px solid rgba(255,107,0,0.22);   color: #fdba74; }

/* ─── FOOD & SIGHT CARDS (Module 04) ──────────────── */
.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
@media (min-width: 420px) {
  .food-grid { grid-template-columns: 1fr 1fr; }
}
.food-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 16px 17px;
  border-left: 3px solid var(--accent);
  transition: border-color 0.2s, transform 0.2s;
}
.food-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.food-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}
.food-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.22);
}
.food-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.62;
}

.sight-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}
.sight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 17px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.sight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.sight-feature {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(255, 107, 0, 0.04));
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
.sight-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 5px;
  line-height: 1.2;
}
.sight-why {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 9px;
}
.sight-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── PHASE CARDS ─────────────────────────────────── */
.phase-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}
.phase-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.ph-top-bar { height: 3px; border-radius: 999px; position: absolute; top:0; left:0; right:0; }
.ph-1 .ph-top-bar { background: linear-gradient(90deg, var(--blue), #93c5fd); }
.ph-2 .ph-top-bar { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.ph-3 .ph-top-bar { background: linear-gradient(90deg, var(--green), #34d399); }
.ph-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; margin-top: 2px; }
.ph-1 .ph-badge { color: var(--blue); }
.ph-2 .ph-badge { color: var(--accent); }
.ph-3 .ph-badge { color: var(--green); }
.ph-dates { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; letter-spacing: -0.01em; }
.ph-zone  { font-size: 12px; color: var(--text-tertiary); margin-bottom: 12px; }
.ph-cats  { display: flex; flex-wrap: wrap; gap: 5px; }
.cat-pill {
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  color: var(--text-secondary);
}

/* ─── STEP LIST ───────────────────────────────────── */
.step-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,107,0,0.25);
}

/* ─── CHECKLIST ───────────────────────────────────── */
.checklist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  line-height: 1.6;
}
.check-item.warn { border-color: rgba(255,59,48,0.18); background: rgba(255,59,48,0.04); }
.ci-green { color: var(--green); flex-shrink: 0; margin-top: 1px; font-size: 15px; }
.ci-red   { color: var(--red);   flex-shrink: 0; margin-top: 1px; font-size: 15px; }

/* ─── DOC CARDS ───────────────────────────────────── */
.doc-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.doc-card {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  transition: border-color 0.2s;
}
.doc-card:hover { border-color: var(--border-hover); }
.doc-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.doc-name { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.doc-detail { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 4px; }
.doc-warn  { font-size: 12px; color: #ff9d96; line-height: 1.4; }
.doc-ok    { font-size: 12px; color: #6ee7b7; }

/* ─── REJECTION ───────────────────────────────────── */
.rejection-list { display: flex; flex-direction: column; gap: 10px; }
.rejection-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,59,48,0.14);
  border-radius: var(--r-md);
  padding: 16px;
  border-left: 3px solid var(--red);
}
.rej-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 7px; }
.rej-icon { color: var(--red); font-size: 15px; }
.rej-fix  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ─── RULE CARDS ──────────────────────────────────── */
.rule-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.rule-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.rule-card.ok { border-color: rgba(0,196,140,0.2); }
.rule-icon  { font-size: 22px; margin-bottom: 8px; }
.rule-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 5px; }
.rule-body  { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }

/* ─── CUSTOMS TABLE ───────────────────────────────── */
.ct-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.ct-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  gap: 6px;
}
.ct-row:last-child { border-bottom: none; }
.ct-row.hdr {
  background: rgba(255,255,255,0.03);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

/* ─── ZONE CARDS ──────────────────────────────────── */
.zone-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.zone-card { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; transition: border-color 0.2s; }
.zone-card:hover { border-color: var(--border-hover); }
.zone-letter {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.2);
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zone-name  { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.zone-cats  { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.zone-metro { font-size: 11px; color: var(--text-tertiary); }

/* ─── ROUTE LIST ──────────────────────────────────── */
.route-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.route-item { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; }
.route-num {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,107,0,0.1); border: 1px solid rgba(255,107,0,0.2);
  color: var(--accent); border-radius: 6px; padding: 4px 10px; white-space: nowrap; flex-shrink: 0;
}
.route-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.route-sub  { font-size: 11px; color: var(--text-tertiary); display: block; margin-top: 3px; }

/* ─── TRANSPORT CARDS ─────────────────────────────── */
.transport-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  transition: border-color 0.2s;
}
.tc-best   { border-color: rgba(0,196,140,0.25); background: rgba(0,196,140,0.04); }
.tc-avoid  { border-color: rgba(255,59,48,0.22); background: rgba(255,59,48,0.04); }
.tc-rating { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 5px; }
.tc-best  .tc-rating { color: var(--green); }
.tc-avoid .tc-rating { color: var(--red); }
.tc-good  .tc-rating { color: var(--accent); }
.tc-name  { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.tc-specs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.tc-cost, .tc-time {
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.06);
  border-radius: 999px; padding: 3px 11px;
  color: var(--text-secondary);
}
.tc-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── INFO LIST ───────────────────────────────────── */
.info-list { display: flex; flex-direction: column; gap: 10px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.info-emoji { font-size: 20px; flex-shrink: 0; }

/* ─── APP CARDS ───────────────────────────────────── */
.app-cards { display: flex; flex-direction: column; gap: 10px; }
.app-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 17px; }
.app-card.crit { border-left: 3px solid var(--red); }
.app-card.high { border-left: 3px solid var(--accent); }
.app-card.med  { border-left: 3px solid #eab308; }
.app-priority { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.app-priority.crit-lbl { color: #f87171; }
.app-priority.high-lbl { color: var(--accent); }
.app-priority.med-lbl  { color: #facc15; }
.app-name { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 7px; letter-spacing: -0.02em; }
.app-analogy {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.2);
  color: var(--accent);
  padding: 3px 10px; border-radius: 6px;
  margin-bottom: 8px;
}
.app-what { font-size: 14px; color: var(--text-secondary); margin-bottom: 7px; line-height: 1.6; }
.app-how  { font-size: 13px; color: var(--text-tertiary); line-height: 1.55; }

/* ─── CITY CARDS ──────────────────────────────────── */
.city-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.city-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.city-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.city-name { font-size: 19px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.03em; margin-bottom: 5px; }
.city-travel { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.city-spec  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.city-note {
  font-size: 13px; color: var(--text-tertiary);
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 7px 12px;
}

/* ─── FIELD LIST (SUPPLIER VERIFY) ───────────────── */
.field-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; }
.field-item.critical { border-left: 3px solid var(--red); }
.field-cn { font-size: 17px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.field-en { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 6px; }
.field-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── FLAG BOXES ──────────────────────────────────── */
.flag-box { border-radius: var(--r-md); padding: 16px; font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
.flag-green { background: rgba(0,196,140,0.07); border: 1px solid rgba(0,196,140,0.2); color: #6ee7b7; }
.flag-red   { background: rgba(255,59,48,0.07); border: 1px solid rgba(255,59,48,0.2); color: #fca5a5; }
.flag-title { font-size: 13px; font-weight: 800; margin-bottom: 8px; }

/* ─── CERT BOX ────────────────────────────────────── */
.cert-box  { border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px; }
.cert-row  { padding: 16px; }
.cert-ok   { background: rgba(0,196,140,0.06); border: 1px solid rgba(0,196,140,0.2); border-radius: var(--r-md) var(--r-md) 0 0; }
.cert-warn { background: rgba(234,179,8,0.06); border: 1px solid rgba(234,179,8,0.18); border-radius: 0 0 var(--r-md) var(--r-md); border-top: none; }
.cert-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 9px; }
.cert-items { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ─── PAYMENT COMPARISON ──────────────────────────── */
.pay-cards  { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pay-card   { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px; }
.pay-danger { border-left: 4px solid var(--red); }
.pay-high   { border-left: 4px solid var(--accent); }
.pay-med    { border-left: 4px solid #eab308; }
.pay-best   { border-left: 4px solid var(--green); background: rgba(0,196,140,0.04); border-color: rgba(0,196,140,0.22); }
.pay-ok     { border-left: 4px solid var(--blue); }
.pay-method { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; letter-spacing: -0.02em; }
.pay-risk   { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 5px; }
.pay-cost   { font-size: 14px; color: var(--text-secondary); margin-bottom: 7px; }
.pay-verdict { font-size: 14px; padding: 9px 12px; border-radius: var(--r-sm); line-height: 1.55; }
.pv-bad  { background: rgba(255,59,48,0.1); color: #f87171; }
.pv-warn { background: rgba(255,107,0,0.1); color: #fdba74; }
.pv-med  { background: rgba(234,179,8,0.1);  color: #facc15; }
.pv-good { background: rgba(0,196,140,0.1);  color: #34d399; }
.pv-ok   { background: rgba(91,156,246,0.1); color: #93c5fd; }

/* ─── XT ADVANTAGES ───────────────────────────────── */
.xt-adv-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.xt-adv-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,196,140,0.2);
  border-radius: var(--r-md);
  padding: 18px;
}
.xt-adv-icon  { font-size: 22px; margin-bottom: 7px; }
.xt-adv-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.xt-adv-body  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── XT CTA BOX ──────────────────────────────────── */
.xt-cta {
  background: linear-gradient(135deg, rgba(255,107,0,0.1) 0%, rgba(0,196,140,0.06) 100%);
  border: 1px solid rgba(255,107,0,0.22);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  margin-top: 4px;
}
.xt-cta-title { font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 9px; letter-spacing: -0.02em; }
.xt-cta-body  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.xt-cta-info  { font-size: 14px; color: var(--text-secondary); display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(255,107,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:active { transform: scale(0.97); }
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.28);
  transition: transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-wa:active { transform: scale(0.97); }

/* ─── DISPUTE STEPS ───────────────────────────────── */
.dispute-list { display: flex; flex-direction: column; gap: 12px; }
.ds {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  transition: border-color 0.2s;
}
.ds:hover { border-color: var(--border-hover); }
.ds-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,107,0,0.1);
  border: 1px solid rgba(255,107,0,0.2);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.ds-body  { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── EMERGENCY ───────────────────────────────────── */
.emg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.emg-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,59,48,0.2);
  border-radius: var(--r-md);
  padding: 16px 10px;
  text-align: center;
}
.emg-num   { font-size: 28px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.emg-label { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.emg-use   { font-size: 10px; color: var(--text-tertiary); line-height: 1.4; }

.contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.contact-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; }
.contact-item.hi { border-color: rgba(37,211,102,0.25); background: rgba(37,211,102,0.04); }
.contact-org { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.contact-num { font-size: 17px; font-weight: 800; color: var(--accent); margin-bottom: 4px; letter-spacing: -0.02em; }
.contact-use { font-size: 13px; color: var(--text-tertiary); line-height: 1.5; }
.contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #25D366;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

.final-cta-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  text-align: center;
  margin-top: 20px;
}
.final-cta-wrap p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }

/* ─── CONTENT FIGURES & INFO TABLES ───────────────── */
.content-figure {
  margin: 18px 0 22px;
}
.content-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.content-figure figcaption {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 10px;
  line-height: 1.55;
}
.content-figure--badge {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.content-figure--badge img {
  border-radius: var(--r-lg);
}

/* Clickable venue map → lightbox */
.content-figure--map .map-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--r-md);
  -webkit-tap-highlight-color: transparent;
  text-align: left;
}
.content-figure--map .map-zoom-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.content-figure--map .map-zoom-trigger img {
  pointer-events: none;
  border-radius: var(--r-md);
}
.map-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Full-screen image lightbox */
.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  flex-direction: column;
  align-items: stretch;
}
.img-lightbox.open {
  display: flex;
}
.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0,0,0,0.94);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.img-lightbox-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.img-lightbox-close:active {
  background: rgba(255,255,255,0.2);
}
.img-lightbox-scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: max(52px, calc(env(safe-area-inset-top) + 40px)) 12px max(24px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.img-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  border-radius: var(--r-sm);
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
}

.info-table-wrap {
  overflow-x: auto;
  margin: 12px 0 18px;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.info-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.info-table th,
.info-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.info-table tr:last-child td { border-bottom: none; }
.info-table thead th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.03);
}
.info-table td strong { color: var(--text-primary); }
.table-sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.sec-body-tight {
  margin-bottom: 12px;
}

/* Merged airport + venue transport (Module 1 §1.4) */
.transport-merge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 4px 0 22px;
}
@media (min-width: 400px) {
  .transport-merge-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.tm-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 14px 15px;
  text-align: left;
}
.tm-card--best {
  border-color: rgba(0,196,140,0.32);
  background: linear-gradient(165deg, rgba(0,196,140,0.1) 0%, var(--bg-card) 52%);
}
.tm-ribbon {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 7px;
}
.tm-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tm-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 7px;
}
.tm-body {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.58;
}

.route-compact {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.route-compact li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  line-height: 1.5;
  border-left: 3px solid rgba(255,107,0,0.4);
}
.route-compact strong {
  color: var(--text-primary);
}

/* ─── SCROLLBAR ───────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
