/* Thailand TDAC landing — desktop + mobile */
:root {
  --sea: #0c4a6e;
  --sea-light: #0369a1;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --sand: #fef3c7;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sea-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 避免覆盖 Bootstrap .container（首页 zjkz-home 使用 Bootstrap 栅格） */
body:not(.zjkz-home) .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(135deg, var(--sea) 0%, #075985 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.88;
  letter-spacing: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.btn-apply-header {
  background: var(--accent);
  color: #1c1917 !important;
  font-weight: 700;
  padding: 10px 18px !important;
  border-radius: 10px;
}

.btn-apply-header:hover {
  background: #fbbf24;
  text-decoration: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #0c4a6e;
  padding: 12px 20px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: #fff;
  padding: 14px 12px;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 8px;
  background: var(--accent);
  color: #1c1917;
  font-weight: 700;
  text-align: center;
}

.nav-mobile a:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-mobile a:last-child:hover {
  background: #fbbf24;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* ----- Hero ----- */
.hero {
  background: linear-gradient(165deg, #e0f2fe 0%, #fef9c3 45%, #fff 100%);
  padding: 48px 0 56px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--sea);
  line-height: 1.25;
}

.hero .lead {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* 首页首屏：泰国建筑背景 + 暗角罩层（图：img/ml.jpg） */
.hero.hero-ref {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(280px, 48vh, 520px);
  padding: 56px 0 72px;
  background: #3d2f22 url("/tdac/img/ml.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero.hero-ref::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(55, 42, 30, 0.3) 0%,
    rgba(28, 22, 16, 0.3) 100%
  );
  pointer-events: none;
}

.hero.hero-ref .container {
  position: relative;
  z-index: 1;
}

.hero.hero-ref h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero.hero-ref .lead {
  color: rgba(255, 255, 255, 0.92);
}

.hero.hero-ref .btn-primary {
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  padding: 14px 32px;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.45);
}

.hero.hero-ref .btn-primary:hover {
  background: #b91c1c;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(185, 28, 28, 0.5);
}

.hero.hero-ref .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.hero.hero-ref .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: #fff;
}

.hero-cta-check {
  margin-left: 10px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1c1917;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: #fff;
  color: var(--sea);
  border: 2px solid var(--sea-light);
}

.btn-outline:hover {
  text-decoration: none;
  background: #f0f9ff;
}

/* ----- Sections ----- */
section {
  padding: 48px 0;
}

section:nth-child(even) {
  background: #fff;
}

.section-title {
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--sea);
}

.section-sub {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid #e2e8f0;
}

.step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--sea-light), var(--sea));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--sea);
}

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

/* Info blocks */
.info-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.info-card h3 {
  margin: 0 0 14px;
  color: var(--sea);
  font-size: 1.1rem;
}

.info-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.info-card p:last-child {
  margin-bottom: 0;
}

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

.features li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.features li:last-child {
  border-bottom: none;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 800;
}

/* Eligibility */
.eligibility {
  background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
}

.eligibility ul {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 22px;
  color: var(--muted);
}

.eligibility li {
  margin-bottom: 10px;
}

.note-box {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 16px 20px;
  background: var(--sand);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-dark);
  font-size: 0.9rem;
  color: #78350f;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .table-wrap {
    margin: 0;
    padding: 0;
  }
}

table.compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.compare th {
  background: var(--sea);
  color: #fff;
  font-weight: 700;
}

.compare th:first-child {
  width: 48%;
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare td:nth-child(2),
.compare td:nth-child(3) {
  text-align: center;
  font-size: 1.1rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--sea) 0%, #075985 100%);
  color: #fff;
  text-align: center;
  padding: 44px 20px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.cta-band p {
  margin: 0 0 22px;
  opacity: 0.92;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  background: var(--accent);
  color: #1c1917;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin: 0 0 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.footer-legal a {
  color: #94a3b8;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #e2e8f0;
  text-decoration: underline;
}

.footer-disclaimer {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
  line-height: 1.7;
  font-size: 0.8rem;
}

.footer-copy {
  text-align: center;
  color: #64748b;
  font-size: 0.78rem;
}

.ssl-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  color: #64748b;
}

/* ----- Subpage layout & forms ----- */
.page-main {
  padding: 28px 0 56px;
  min-height: calc(100vh - var(--header-h) - 120px);
}

.page-hero {
  background: linear-gradient(165deg, #e0f2fe 0%, #fff 100%);
  padding: 32px 0 28px;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  color: var(--sea);
}

.page-hero p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero .apply-file-note {
  margin-top: 12px;
  max-width: 640px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #64748b;
}

.apply-official-banner {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 22px 20px;
  text-align: center;
  background: linear-gradient(165deg, #fffbeb 0%, #e0f2fe 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.apply-official-banner__text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}

.apply-official-banner .btn-primary {
  width: 100%;
  max-width: 360px;
}

.form-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.form-panel h2 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--sea);
  padding-bottom: 12px;
  border-bottom: 2px solid #e0f2fe;
}

.form-panel h2:not(:first-of-type) {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label,
.form-group .label-row {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group .req {
  color: #dc2626;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}

/* Chromium/Safari：把原生日期/时间控件的指示器铺满输入框，点击文字区域也能弹出选择器 */
.form-panel .form-group input[type="date"],
.form-panel .form-group input[type="time"],
.form-panel .form-group input[type="datetime-local"] {
  position: relative;
}

.form-panel .form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-panel .form-group input[type="time"]::-webkit-calendar-picker-indicator,
.form-panel .form-group input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: transparent;
  background: transparent;
  opacity: 0.02;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
}

.form-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  flex: 1;
  min-width: 140px;
}

.radio-row,
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
}

.radio-row label,
.check-row label {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 22px 32px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}

.article-body h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  color: var(--sea);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 20px 0 10px;
  font-size: 1rem;
  color: #0c4a6e;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 0.95rem;
}

.article-body ul {
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 8px;
}

/* Imported legal / article HTML (thailand.zjkzkj.cn mirror) */
.legal-import {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 32px;
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
  text-align: left;
  word-wrap: break-word;
}

.legal-import a {
  color: var(--sea-light);
  text-decoration: underline;
}

.legal-import--faq section.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.legal-import--faq .legal-faq-page-title {
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 28px;
}

.legal-import--faq .faq-post-list-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-import--faq .post-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.legal-import--faq .post-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #b91c1c;
  line-height: 1.35;
}

.legal-import--faq .post-content {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

.tips-list {
  margin: 20px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tips-list li {
  margin-bottom: 8px;
}

.nav-desktop a.is-active,
.nav-mobile a.is-active {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

/* Reference homepage layout — header uses img/logo.png */
.logo.logo-ref {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  max-width: min(52vw, 220px);
}

.logo.logo-ref .logo-img {
  display: block;
  height: clamp(36px, 7.5vw, 52px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 900px) {
  .logo.logo-ref {
    max-width: 280px;
  }

  .logo.logo-ref .logo-img {
    height: clamp(42px, 5vw, 58px);
  }
}

.hero-ref .lead {
  max-width: 720px;
}

.section-process {
  background: #fff;
}

.steps-ref .step-label {
  display: inline-block;
  margin: 0 auto 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sea-light), var(--sea));
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.steps-ref .step-card {
  text-align: left;
}

.steps-ref .step-card h3 {
  text-align: center;
}

.section-cta-center {
  text-align: center;
  margin: 28px 0 0;
}

.section-tdac-intro {
  background: #f8fafc;
}

.tdac-intro-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 768px) {
  .tdac-intro-grid {
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 36px;
    align-items: center;
  }
}

.tdac-intro-text p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.tdac-intro-text p:last-child {
  margin-bottom: 0;
}

.ref-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--shadow);
}

.ref-figure-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(145deg, #f0f9ff, #fef9c3);
}

.section-benefits {
  background: #fff;
}

.benefits-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--sea);
}

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

.eligibility-ref .eligibility-list {
  max-width: 720px;
  margin: 0 auto 20px;
}

.section-sub--left {
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eligibility-intro {
  max-width: 720px;
  margin: 0 auto 10px;
  color: var(--text);
}

.section-apply-again {
  background: #fff;
}

.breadcrumb-strip {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.breadcrumb-strip a {
  color: var(--sea-light);
}

.breadcrumb-strip .bc-sep {
  margin-left: 4px;
  color: #94a3b8;
}

.cta-band-outline {
  margin-left: 8px;
}

@media (max-width: 520px) {
  .cta-band .cta-band-outline {
    margin-left: 0;
    margin-top: 10px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}

/* Searchable selects (apply form — same UX as reference site) */
.js-searchable-select {
  position: relative;
}

.ssp-trigger {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  min-height: 46px;
}

.ssp-trigger:hover {
  border-color: var(--sea-light);
}

.ssp-trigger--filled {
  color: var(--text);
}

.ssp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 5000;
}

.ssp-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(96vw, 440px);
  max-height: min(78vh, 520px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  z-index: 5001;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.ssp-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.ssp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.ssp-list li {
  padding: 10px 12px;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.ssp-list li:hover,
.ssp-list li:focus {
  background: #f0f9ff;
  outline: none;
}

.ssp-list li.ssp-more {
  cursor: default;
  color: var(--muted);
  font-size: 0.82rem;
}

.phone-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.phone-row .js-searchable-select {
  flex: 0 0 200px;
  max-width: 100%;
}

.phone-row .phone-local {
  flex: 1;
  min-width: 160px;
}

.apply-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.apply-steps strong {
  color: var(--sea);
}

.apply-subhead {
  font-size: 0.95rem;
  color: var(--sea);
  margin: 0 0 16px;
  font-weight: 700;
}

.apply-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}

.other-reason-wrap {
  display: none;
  margin-top: 10px;
}

.apply-health-lead {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.package-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-row label {
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

/* Apply wizard (steps 1–3, then declaration + pay) */
.apply-wizard-indicators__item {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  transition: background 0.2s, color 0.2s;
}

.apply-wizard-indicators__item.is-active {
  background: var(--sea);
  color: #fff;
}

.apply-wizard-indicators__item.is-active strong {
  color: #fff;
}

.apply-wizard-indicators__item.is-done {
  background: #e0f2fe;
  color: var(--text);
}

.apply-wizard-indicators__item.is-done strong {
  color: var(--sea);
}

.apply-wizard-panel {
  margin-bottom: 8px;
}

.apply-wizard-panel[hidden] {
  display: none !important;
}

.apply-subsection {
  font-size: 1.05rem;
  color: var(--sea);
  margin: 20px 0 12px;
  font-weight: 700;
}

.apply-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.apply-wizard-actions--final {
  flex-direction: column;
  align-items: stretch;
}

.apply-wizard-actions__row2 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.pay-method-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid #1677ff;
  border-radius: 10px;
  background: #f0f7ff;
  cursor: pointer;
  font-weight: 600;
}

.pay-method input {
  margin: 0;
}

.pay-method__body {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.alipay-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

.btn-alipay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.35);
}

.btn-alipay:hover {
  filter: brightness(1.06);
}

.btn-alipay:active {
  transform: translateY(1px);
}

.apply-official-link {
  display: block;
  text-align: center;
  font-size: 0.95rem;
  color: var(--sea);
  text-decoration: underline;
  padding: 4px 0;
}

.apply-official-link:hover {
  color: var(--sea-light);
}

/* 与 zjkz 内页标题区一致：白底 + 红色大标题 */
body:not(.zjkz-home) .page-hero {
  background: #fff;
  border-bottom: 1px solid #efefef;
  text-align: center;
  padding: 0;
}

body:not(.zjkz-home) .page-hero h1 {
  color: #cb0000;
  font-size: clamp(1.35rem, 4vw, 30px);
  font-weight: 700;
  margin: 0;
  padding: 1.5rem 16px 1.25rem;
  line-height: 1.3;
}

body:not(.zjkz-home) .page-main {
  background: #fff;
}

/* zjkz 顶栏：宽 Logo 勿超出导航区（覆盖 shell 内 .logo img 的 height:100%+width:auto） */
.header-nav .logo,
.mobile-top-bar .logo {
  max-width: min(44vw, 240px);
  min-width: 0;
  flex-shrink: 1;
}

.header-nav .logo a,
.mobile-top-bar .logo a {
  display: flex;
  align-items: center;
  max-width: 100%;
  height: 100%;
  line-height: 0;
}

.header-nav .logo img,
.mobile-top-bar .logo img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mobile-top-bar .logo img {
  max-height: 48px;
}

/* 顶栏文案：更粗、更黑（覆盖 zjkz-shell-inline） */
.header-nav .desktop-nav li a {
  color: #0a0a0a;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

.header-nav .desktop-nav li a:hover {
  color: #7f0000;
  font-weight: 700;
}

.header-nav .apply-btn {
  font-weight: 800;
  letter-spacing: 0.45px;
}

.mobile-fixed-nav li a {
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}

.mobile-nav li a {
  font-weight: 600;
}

.mobile-nav .mobile-apply-btn a {
  font-weight: 800;
}

/* 页脚深灰条全宽：覆盖 vendor 里 footer(-disclaimer) .module-content 的固定宽度，消除两侧白条 */
.module-container.footer,
.module-container.footer-disclaimer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #333 !important;
}

.module-container.footer .module-content,
.module-container.footer-disclaimer .module-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.module-container.footer-disclaimer .module-content .section-container .legal-disclaimer-container .legal-disclaimer-content .text {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
