/* 了的／鳥的 會員網 — 原創「夜飛鳥」視覺（唔抄飛滴黃） */
:root {
  /* Brand — deep ocean + teal */
  --brand: #1B4D6E;
  --brand-deep: #123A54;
  --brand-mid: #2A6F8F;
  --brand-soft: #D6E8F2;
  --brand-mist: #EEF5F9;

  /* Accent — berry (價格／強調；對應「紅的」語意，唔用黃橙) */
  --accent: #C43B6E;
  --accent-soft: #FCE8F0;
  --accent-deep: #9B2D56;

  /* Surfaces */
  --bg: #F3F5F8;
  --card: #FFFFFF;
  --text: #2C3340;
  --text-muted: #6B7280;
  --text-dark: #111827;
  --border: #E2E8F0;
  --shadow: 0 4px 14px rgba(18, 58, 84, 0.07);
  --shadow-soft: 0 1px 3px rgba(18, 58, 84, 0.06);

  /* Status */
  --success: #0F7A4A;
  --success-bright: #16A34A;
  --danger: #DC2626;
  --info-bg: #E8F1F8;
  --info-border: #7BA3BF;
  --info-text: #1B4D6E;

  /* Legacy aliases → 新色（避免舊 HTML 殘留 var 名爆色） */
  --brand-yellow: var(--brand);
  --brand-yellow-dark: var(--brand-deep);
  --brand-yellow-pale: var(--brand-soft);
  --brand-orange: var(--accent);
  --green: var(--success);
  --green-status: var(--success-bright);

  --header-h: 52px;
  --max-w: 480px;
  --radius: 14px;
  --radius-sm: 10px;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  background:
    radial-gradient(120% 60% at 50% -10%, var(--brand-soft) 0%, transparent 55%),
    linear-gradient(180deg, #F7FAFC 0%, var(--bg) 40%, #EEF2F6 100%);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, transparent 120px),
    radial-gradient(90% 40% at 50% 100%, var(--brand-mist) 0%, transparent 70%),
    transparent;
  position: relative;
  padding-bottom: 36px;
}

/* —— Header：深海色條＋底線 accent —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  font-weight: 650;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(18, 58, 84, 0.28);
  border-bottom: 3px solid var(--accent);
}
.topbar-user { letter-spacing: 0.02em; opacity: 0.96; }
.topbar-menu {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border-radius: 10px;
}
.topbar-menu:active { background: rgba(255,255,255,0.12); }
.topbar-menu svg { width: 22px; height: 22px; }

.topbar-sub {
  background: var(--brand-deep);
  padding: 0 16px 8px;
  font-size: 12px;
}
.topbar-sub a { color: #B8D4E8; text-decoration: underline; opacity: 0.95; }

/* —— Sidebar —— */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(17, 24, 39, 0.42);
  z-index: 200;
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.sidebar-overlay.open {
  display: block;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(78vw, 290px);
  background: #fff;
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 20px 0 24px;
  box-shadow: -8px 0 28px rgba(18, 58, 84, 0.14);
  overflow-y: auto;
  border-radius: 16px 0 0 16px;
}
.sidebar.open { transform: translateX(0); }

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  margin: 0 8px;
  border-radius: 10px;
}
.sidebar-item:active { background: var(--brand-mist); }
.sidebar-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.sidebar-icon.logout {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
}

/* 圖示：圓角文件徽章（取代飛滴鋸齒 receipt） */
.icon-receipt {
  display: block;
  width: 36px; height: 36px;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand));
  border-radius: 10px;
  position: relative;
  box-shadow: 0 2px 6px rgba(27, 77, 110, 0.25);
}
.icon-receipt::before,
.icon-receipt::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2.5px;
  background: rgba(255,255,255,0.88);
  border-radius: 2px;
}
.icon-receipt::before { top: 12px; }
.icon-receipt::after { top: 18px; box-shadow: 0 6px 0 rgba(255,255,255,0.88); }

/* —— Page chrome —— */
.page-title {
  text-align: center;
  font-size: 22px;
  font-weight: 750;
  color: var(--text-dark);
  margin: 20px 16px 6px;
  letter-spacing: -0.015em;
}
.page-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 16px 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 12px 16px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.gap-note {
  margin: 8px 16px 16px;
  padding: 12px 14px;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--info-text);
  line-height: 1.55;
}
.gap-note strong { color: var(--brand-deep); }

/* —— Hub grid —— */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 16px;
}
.hub-tile {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(27, 77, 110, 0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.hub-tile .icon-receipt,
.hub-tile .hub-icon,
.hub-tile span { pointer-events: none; }
.hub-tile:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-soft);
}
.hub-tile .icon-receipt,
.hub-tile .hub-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
}
.hub-tile .icon-receipt::before { top: 15px; left: 11px; right: 11px; }
.hub-tile .icon-receipt::after { top: 22px; left: 11px; right: 11px; box-shadow: 0 7px 0 rgba(255,255,255,0.88); }
.hub-tile.hub-center {
  grid-column: 1 / -1;
  width: calc(50% - 6px);
  margin: 0 auto;
  aspect-ratio: 1;
}

/* —— Detail table —— */
.kv-table { width: 100%; }
.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.kv-row:last-child { border-bottom: none; }
.kv-label { color: var(--text-muted); flex-shrink: 0; }
.kv-value { text-align: right; color: var(--text-dark); word-break: break-word; }
.kv-value.status-ok { color: var(--success-bright); font-weight: 650; }
.kv-span {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.45;
}

/* —— Deposit —— */
.proof-box {
  margin: 12px 16px 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.proof-placeholder {
  background: linear-gradient(160deg, #E8EEF3 0%, #D5DEE7 100%);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.proof-placeholder .ph-id {
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
}
.green-bar {
  background: var(--success);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 550;
}

.deposit-card {
  margin: 12px 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.deposit-card .proof-placeholder { min-height: 180px; border-radius: 0; }

/* —— Forms —— */
.form-section {
  background: #fff;
  margin: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 16px 14px 18px;
}
.form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.step-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  background: #F1F5F9;
  flex-shrink: 0;
}
.step-dot.done {
  background: var(--brand);
  border-color: var(--brand);
  position: relative;
}
.step-dot.done::after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

.select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  color: var(--text-muted);
}
.select-trigger.has-value { color: var(--text-dark); }
.select-trigger:focus-within,
.select-trigger:focus {
  border-color: var(--brand-mid);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.select-trigger .chevron { color: #94A3B8; font-size: 12px; }

.vehicle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}
.vehicle-table th,
.vehicle-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.vehicle-table th { color: var(--text-muted); font-weight: 500; }

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--danger);
  font-size: 14px;
  font-weight: 650;
}

.service-pill {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  color: var(--text-dark);
  margin: 4px 4px 0 0;
}
.service-pill.selected {
  border-color: var(--brand);
  background: var(--brand-mist);
  color: var(--brand-deep);
  font-weight: 600;
}

.btn-primary {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px;
  padding: 14px 16px;
  background: #94A3B8;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary.active,
.btn-primary:not(.disabled) {
  background: linear-gradient(180deg, var(--brand-mid) 0%, var(--brand) 100%);
  box-shadow: 0 4px 12px rgba(27, 77, 110, 0.28);
}
.btn-primary.active:active,
.btn-primary:not(.disabled):active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(27, 77, 110, 0.22);
}
.btn-primary.disabled {
  background: #CBD5E1;
  color: #fff;
  pointer-events: none;
  opacity: 1;
  box-shadow: none;
}

.btn-link {
  display: block;
  text-align: center;
  color: var(--brand-mid);
  font-size: 15px;
  font-weight: 550;
  padding: 10px;
}

/* —— Modal —— */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  backdrop-filter: blur(2px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 48px rgba(18, 58, 84, 0.28);
}
.modal-header {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 14px 16px;
  font-weight: 650;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 2px solid var(--accent);
}
.modal-close {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  width: 28px; height: 28px;
}
.modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.search-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.search-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.vehicle-list { width: 100%; }
.vehicle-list-head,
.vehicle-list-row {
  display: grid;
  grid-template-columns: 28px 1fr 1.4fr 40px;
  gap: 4px;
  align-items: center;
  padding: 10px 4px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.vehicle-list-head {
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid #CBD5E1;
}
.vehicle-list-row { cursor: pointer; }
.vehicle-list-row:active { background: var(--brand-mist); }
.radio {
  width: 18px; height: 18px;
  border: 2px solid #94A3B8;
  border-radius: 50%;
  display: inline-block;
}
.radio.on {
  border-color: var(--brand);
  background: radial-gradient(circle, var(--brand) 45%, transparent 50%);
}

.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  cursor: pointer;
}
.check-list li:last-child { border-bottom: none; }
.check-circle {
  width: 22px; height: 22px;
  border: 2px solid #94A3B8;
  border-radius: 50%;
  flex-shrink: 0;
}
.check-circle.on {
  border-color: var(--brand);
  background: var(--brand);
  position: relative;
}
.check-circle.on::after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

/* —— Plan intro —— */
.intro-body { padding: 0 18px 20px; }
.intro-contact {
  text-align: center;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-muted);
}
.intro-h {
  color: var(--accent);
  font-size: 20px;
  font-weight: 740;
  margin: 14px 0 6px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.intro-h2 {
  color: var(--accent-deep);
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.intro-list {
  padding-left: 1.2em;
  margin: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
}
.intro-list li { margin-bottom: 8px; }
.intro-tagline {
  margin: 12px 0;
  font-weight: 650;
  font-size: 15px;
}
.intro-sub-bold {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.bottom-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px 16px 24px;
}
.bottom-nav-grid .hub-tile {
  aspect-ratio: 1.15;
  font-size: 14px;
}

/* —— Completion / status —— */
.complete-list {
  margin: 8px 16px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 12px 14px;
}
.complete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}
.complete-item .ok {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success-bright);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.entity-card {
  margin: 12px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 14px;
  position: relative;
}
.entity-tab {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.entity-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.entity-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-mist);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  border: 2px solid var(--border);
}
.entity-avatar.taxi {
  background: linear-gradient(145deg, #E25555, #B91C1C);
  color: #fff;
  font-size: 20px;
  border-color: transparent;
}
.entity-main { flex: 1; min-width: 0; }
.entity-name { font-size: 17px; font-weight: 740; margin-bottom: 4px; }
.entity-meta { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.entity-side {
  text-align: right;
  flex-shrink: 0;
}
.badge-ok {
  display: inline-block;
  background: var(--success-bright);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.entity-side .ts {
  font-size: 10px;
  color: #94A3B8;
  line-height: 1.35;
  max-width: 100px;
}
.pills { margin-top: 6px; }
.pill-yellow,
.pill-brand {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  margin: 2px 2px 0 0;
  font-weight: 600;
  border: 1px solid #B8D4E8;
}

.add-box {
  display: block;
  margin: 12px 16px;
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--brand-mist);
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(27, 77, 110, 0.15);
}
a.add-box:active {
  border-color: var(--brand-mid);
  background: var(--brand-soft);
  color: var(--text-dark);
}
.add-box .plus { font-size: 28px; color: var(--brand-mid); margin-bottom: 4px; pointer-events: none; }

/* —— Plan select —— */
.plan-list { margin: 0 16px 16px; }
.plan-option {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
  margin-bottom: 12px;
  border: 2px solid var(--border);
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.plan-option:active { transform: scale(0.995); }
.plan-option.selected {
  border-color: var(--brand);
  border-left-color: var(--accent);
  box-shadow: 0 6px 18px rgba(27, 77, 110, 0.12);
  background: linear-gradient(90deg, var(--accent-soft) 0%, #fff 32%);
}
.plan-option h3 { font-size: 16px; margin-bottom: 4px; color: var(--text-dark); }
.plan-option .price {
  color: var(--accent);
  font-weight: 740;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plan-option p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #fff;
  color: var(--text-dark);
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.upload-zone {
  border: 2px dashed #94A3B8;
  border-radius: var(--radius);
  background: var(--brand-mist);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  gap: 6px;
  cursor: pointer;
  padding: 16px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-zone:active,
.upload-zone:focus {
  border-color: var(--brand);
  background: var(--brand-soft);
  outline: none;
}
.upload-zone.has-file {
  background: #E2E8F0;
  border-style: solid;
  border-color: var(--brand-mid);
  color: var(--text-dark);
}

.upload-zone.locked {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
  background: #EEF2F6;
  border-style: solid;
  border-color: #CBD5E1;
}
.upload-zone.locked.has-file {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px 0;
  font-size: 12px;
}
.nav-links a {
  color: var(--brand);
  padding: 5px 10px;
  background: var(--brand-mist);
  border-radius: 999px;
  border: 1px solid var(--brand-soft);
  font-weight: 500;
}


/* —— 四證照片批核：綠／紅燈＋上載列 —— */
.status-light {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 1px 3px rgba(0,0,0,0.18);
}
.status-light.green {
  background: #16A34A;
  box-shadow: 0 0 0 2px rgba(22,163,74,0.25), 0 0 8px rgba(22,163,74,0.45);
}
.status-light.red {
  background: #DC2626;
  box-shadow: 0 0 0 2px rgba(220,38,38,0.2), 0 0 8px rgba(220,38,38,0.35);
}

.doc-approve-list {
  margin: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doc-approve-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 12px 14px;
}
.doc-approve-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 650;
  color: var(--text-dark);
  font-size: 15px;
}
.doc-approve-head .doc-status-label {
  margin-left: auto;
  font-size: 12px;
  font-weight: 550;
  color: var(--text-muted);
}
.doc-approve-card .upload-zone {
  min-height: 88px;
  padding: 12px;
  font-size: 13px;
}


/* —— 2026-10-26 polish —— */
.hub-page .hub-hero {
  padding: 8px 16px 0;
  text-align: center;
}
.hub-hero-title {
  margin-top: 14px;
  margin-bottom: 4px;
}
.hub-hero-sub {
  margin-bottom: 4px;
}
.hub-footer-links {
  justify-content: center;
  padding-top: 4px;
}

/* Hub icons — distinct pure-CSS glyphs */
.hub-icon {
  display: block;
  position: relative;
  box-shadow: 0 2px 8px rgba(18, 58, 84, 0.22);
  flex-shrink: 0;
}
.hub-icon::before,
.hub-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.icon-plan {
  background: linear-gradient(145deg, #3A8BB0, var(--brand));
  border-radius: 14px;
}
.icon-plan::before {
  /* calendar body */
  left: 12px; right: 12px; top: 14px; bottom: 12px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 4px;
}
.icon-plan::after {
  /* calendar header bar + dots */
  left: 12px; right: 12px; top: 14px; height: 7px;
  background: rgba(255,255,255,0.92);
  border-radius: 4px 4px 0 0;
  box-shadow: 6px 14px 0 -4px rgba(255,255,255,0.9), 14px 14px 0 -4px rgba(255,255,255,0.9);
}

.icon-docs {
  background: linear-gradient(145deg, #5B8FA8, #1B4D6E);
  border-radius: 14px;
}
.icon-docs::before {
  /* ID card */
  left: 10px; right: 10px; top: 14px; bottom: 12px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 5px;
}
.icon-docs::after {
  /* avatar + lines */
  width: 10px; height: 10px;
  left: 15px; top: 19px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: 14px 1px 0 -3px rgba(255,255,255,0.9), 16px 8px 0 -4px rgba(255,255,255,0.85), 18px 14px 0 -5px rgba(255,255,255,0.8);
}

.icon-vehicle {
  background: linear-gradient(145deg, #2F7A6B, #1A4F55);
  border-radius: 14px;
}
.icon-vehicle::before {
  /* car body */
  left: 11px; right: 11px; top: 20px; height: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 4px 4px 3px 3px;
}
.icon-vehicle::after {
  /* roof + wheels */
  left: 16px; right: 16px; top: 13px; height: 9px;
  background: rgba(255,255,255,0.88);
  border-radius: 4px 4px 0 0;
  box-shadow: -8px 22px 0 -5px rgba(255,255,255,0.95), 16px 22px 0 -5px rgba(255,255,255,0.95);
}

.icon-deposit {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  border-radius: 14px;
}
.icon-deposit::before {
  /* receipt */
  left: 14px; right: 14px; top: 11px; bottom: 11px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 3px;
}
.icon-deposit::after {
  left: 18px; right: 18px; top: 18px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 1px;
  box-shadow: 0 6px 0 rgba(255,255,255,0.9), 0 12px 0 rgba(255,255,255,0.85);
}

.icon-terms {
  background: linear-gradient(145deg, #6B7C93, #3D4F66);
  border-radius: 14px;
}
.icon-terms::before {
  left: 13px; right: 13px; top: 11px; bottom: 11px;
  background: rgba(255,255,255,0.92);
  border-radius: 3px;
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
}
.icon-terms::after {
  left: 18px; right: 18px; top: 22px; height: 2px;
  background: rgba(61, 79, 102, 0.55);
  box-shadow: 0 5px 0 rgba(61, 79, 102, 0.45), 0 10px 0 rgba(61, 79, 102, 0.35);
}

.icon-privacy {
  background: linear-gradient(145deg, #4A6FA5, #2A4570);
  border-radius: 14px;
}
.icon-privacy::before {
  /* shield */
  left: 14px; right: 14px; top: 10px; bottom: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 4px 4px 50% 50% / 4px 4px 40% 40%;
}
.icon-privacy::after {
  /* lock shackle + body */
  width: 9px; height: 8px;
  left: 19.5px; top: 23px;
  background: #2A4570;
  border-radius: 2px;
  box-shadow: 0 -6px 0 -2.5px #2A4570;
}

/* WhatsApp / contact chip */
.wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-mist);
  border: 1px solid var(--brand-soft);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-soft);
}
.wa-chip:active {
  background: var(--brand-soft);
}
.intro-contact {
  margin-bottom: 12px;
}

.intro-card {
  background: var(--card);
  margin: 0 16px 14px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.intro-h-sub {
  font-size: 17px !important;
  margin-top: 2px !important;
  margin-bottom: 10px !important;
  color: var(--accent-deep);
  font-weight: 700;
}
.intro-note {
  text-align: left;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.intro-body.intro-card {
  padding: 16px 16px 14px;
}

.stats-card {
  padding: 14px 16px;
}
.card-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.kv-row-plain {
  padding: 8px 0 !important;
  border: none !important;
}

.plan-pick-label {
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 550;
  color: var(--text-dark);
}

.dev-details {
  margin: 0 16px 14px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: rgba(255,255,255,0.6);
  font-size: 11px;
  color: var(--text-muted);
}
.dev-details summary {
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 550;
  color: var(--brand-mid);
  list-style: none;
  user-select: none;
}
.dev-details summary::-webkit-details-marker { display: none; }
.dev-details summary::before {
  content: "▸ ";
  color: var(--brand);
}
.dev-details[open] summary::before { content: "▾ "; }
.dev-details p {
  padding: 0 12px 10px;
  line-height: 1.5;
  text-align: left;
}

.form-field label .req,
.req {
  color: var(--danger);
  font-weight: 600;
}
.form-field label .opt,
.opt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
}
.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

.bank-footer {
  margin: 20px 16px 8px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dark);
  border: 1px dashed var(--brand-mid);
}
.bank-footer h3 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--accent);
}
.bank-footer .demo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--brand-mist);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 8px;
  border: 1px solid var(--brand-soft);
}
.bank-footer .kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.bank-footer .k { color: var(--text-muted); flex-shrink: 0; }
.bank-footer .v { font-weight: 600; text-align: right; word-break: break-all; }

.empty-state {
  margin: 16px;
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted);
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 14px;
}

.form-section,
.deposit-card,
.complete-list,
.entity-card,
.doc-approve-card {
  border-radius: var(--radius);
}

.upload-zone {
  border-radius: var(--radius-sm);
}

.form-card { padding: 16px; }
.upload-emoji { font-size: 28px; line-height: 1; }
.upload-hint { font-size: 12px; color: var(--text-muted); }
.page-title-left {
  text-align: left;
  margin-left: 16px;
  margin-right: 16px;
  font-size: 20px;
}
.page-sub-left {
  text-align: left;
  margin: 0 16px 8px;
}
.live-list { min-height: 8px; }

/* ============================================================
   宣傳首頁 promo landing（2026-10-26；跟 App 深色＋的士黃）
   僅 .promo-page 局部覆蓋；其他會員頁仍用夜飛鳥
   ============================================================ */

/* 全頁深底（僅有 promo 時） */
body:has(.promo-page) {
  background: #0B0B0B;
  color: #E8E8E8;
}

.promo-page {
  --promo-bg: #0B0B0B;
  --promo-bg-elev: #1A1A1A;
  --promo-card: rgba(36, 36, 36, 0.92);
  --promo-border: rgba(245, 197, 24, 0.28);
  --promo-yellow: #F5C518;
  --promo-yellow-dim: #C9A014;
  --promo-text: #F3F3F3;
  --promo-muted: #A8A8A8;
  padding-bottom: 48px;
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(245, 197, 24, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #121212 0%, var(--promo-bg) 40%, #0B0B0B 100%);
  color: var(--promo-text);
}

/* Topbar on promo：黃底黑字（接近 App 黃頭） */
.promo-page > .topbar {
  background: linear-gradient(180deg, #F5C518 0%, #E0B000 100%);
  color: #111;
  border-bottom: 3px solid #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.promo-page > .topbar .topbar-user { color: #111; opacity: 0.95; }
.promo-page > .topbar .topbar-menu { color: #111; }
.promo-page > .topbar .topbar-menu:active { background: rgba(0, 0, 0, 0.08); }
.promo-page > .topbar-sub {
  background: #1A1A1A;
  border-bottom: 1px solid rgba(245, 197, 24, 0.25);
}
.promo-page > .topbar-sub a { color: #F5C518; }

.promo-hero {
  position: relative;
  min-height: 300px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  color: #fff;
  isolation: isolate;
}
.promo-hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/promo/hk-harbour-hero.jpg") center 40% / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
}
.promo-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(11, 11, 11, 0.45) 0%,
      rgba(11, 11, 11, 0.72) 48%,
      rgba(11, 11, 11, 0.92) 100%);
}
.promo-hero-copy {
  position: relative;
  z-index: 2;
  padding: 36px 20px 28px;
  text-align: left;
}
.promo-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  background: var(--promo-yellow);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.promo-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--promo-yellow);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.promo-tagline {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.promo-tagline::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--promo-yellow);
}
.promo-lead {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 28em;
  margin: 0 0 16px;
}

/* 黃 CTA（宣傳頁已唔用；保留 class 以防萬一） */
.promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #111 !important;
  background: linear-gradient(180deg, #F5C518 0%, #E0B000 100%);
  border: 1px solid #C9A014;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.35);
}
.promo-cta:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(245, 197, 24, 0.28);
}
.promo-cta-wrap {
  margin: 0 16px 4px;
  padding-top: 4px;
}

.promo-section-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--promo-yellow);
  letter-spacing: -0.01em;
  margin: 0 16px 10px;
  padding-top: 18px;
  text-align: left;
}
.promo-hub-sub {
  margin: 0 16px 12px;
  font-size: 12.5px;
  color: var(--promo-muted);
  text-align: left;
}

.promo-explain-list {
  list-style: none;
  margin: 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promo-card {
  background: var(--promo-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  padding: 14px 14px 14px 16px;
  border-left: 4px solid var(--promo-yellow);
  text-align: left;
}
.promo-card:nth-child(2),
.promo-card:nth-child(3) {
  border-left-color: var(--promo-yellow);
}
.promo-card-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111;
  background: var(--promo-yellow);
  border: 1px solid var(--promo-yellow-dim);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 6px;
}
.promo-card:nth-child(2) .promo-card-label,
.promo-card:nth-child(3) .promo-card-label {
  color: #111;
  background: var(--promo-yellow);
  border-color: var(--promo-yellow-dim);
}
.promo-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.promo-card-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--promo-muted);
  margin: 0;
}

.promo-map {
  margin-top: 4px;
}
.promo-map-figure {
  margin: 0 16px;
  background: var(--promo-bg-elev);
  border: 1px solid var(--promo-border);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.promo-map-img {
  width: 100%;
  height: auto;
  display: block;
  background: #111;
}
.promo-map-caption {
  padding: 12px 14px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--promo-muted);
  text-align: left;
  border-top: 1px solid rgba(245, 197, 24, 0.2);
  background: linear-gradient(180deg, #1A1A1A 0%, #141414 100%);
}

.promo-hub {
  margin-top: 4px;
}
.promo-hub-grid {
  margin-top: 0;
}

/* Hub tiles：深卡＋黃邊／黃標 */
.promo-page .hub-tile {
  background: var(--promo-card);
  border: 1px solid rgba(245, 197, 24, 0.22);
  color: #F3F3F3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.promo-page .hub-tile:active {
  border-color: var(--promo-yellow);
  box-shadow: 0 2px 8px rgba(245, 197, 24, 0.2);
  background: #222;
}
.promo-page .hub-tile > span:last-child {
  color: var(--promo-yellow);
  font-weight: 650;
}
.promo-page .hub-footer-links {
  margin-top: 8px;
}
.promo-page .hub-footer-links a {
  color: var(--promo-muted);
  border-color: rgba(245, 197, 24, 0.25);
}
.promo-page .hub-footer-links a:hover,
.promo-page .nav-links a {
  color: var(--promo-yellow);
}

/* Call 車解說：乘客版細圖／裝置框 */
.promo-device-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.promo-device {
  margin: 0;
  background: #111;
  border: 1px solid rgba(245, 197, 24, 0.28);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.promo-device img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0B0B0B;
}
.promo-device figcaption {
  padding: 6px 8px 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--promo-yellow);
  text-align: center;
  background: #141414;
  border-top: 1px solid rgba(245, 197, 24, 0.18);
}
.promo-card-call .promo-card-body {
  margin-bottom: 0;
}
@media (max-width: 359px) {
  .promo-device-row { grid-template-columns: 1fr; }
}

@media (min-width: 420px) {
  .promo-hero { min-height: 320px; }
  .promo-title { font-size: 40px; }
}
