/* =========================================================
   Costgo International — Multi-step Insurance Form
   Costgo navy theme + QBE blue/orange accents
   ========================================================= */

:root {
  /* Costgo brand */
  --navy-900: #0B2545;
  --navy-800: #13315C;
  --navy-700: #1B4172;
  --navy-50:  #EEF2F8;
  --gold:     #C9A227;
  --gold-soft:#E9D58A;

  /* QBE brand */
  --qbe-blue:    #0090D7;
  --qbe-blue-dark:#0072AC;
  --qbe-orange:  #FF6B1F;
  --qbe-blue-50: #E6F4FB;
  --qbe-blue-100:#CDE9F7;

  /* Neutral */
  --ink:      #0F172A;
  --ink-mid:  #334155;
  --ink-soft: #64748B;
  --line:     #E2E8F0;
  --line-soft:#EEF2F7;
  --bg:       #F6F8FB;
  --card:     #FFFFFF;
  --danger:   #B91C1C;

  /* Type */
  --font-sans: "Inter", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.05), 0 1px 1px rgba(11,37,69,.04);
  --shadow-md: 0 4px 14px rgba(11,37,69,.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  line-height: 1.55;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

[hidden] { display: none !important; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.brand-text { line-height: 1.25; }
.brand-en {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.brand-zh {
  font-size: 13px;
  color: var(--ink-mid);
  font-weight: 500;
}
.header-contact { text-align: right; }

/* =========================================================
   Stepper
   ========================================================= */
.stepper-wrap {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: sticky;
  top: 76px;
  z-index: 9;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: all .2s ease;
}
.step-num {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.step.active {
  background: var(--navy-900);
  color: #fff;
}
.step.active .step-num {
  background: var(--gold);
  color: var(--navy-900);
}
.step.done .step-num {
  background: #10B981;
  color: #fff;
}
.step-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.step-en { font-size: 13px; font-weight: 600; }
.step-zh { font-size: 11px; opacity: .85; }
.step-divider {
  flex: 0 0 32px;
  height: 1px;
  background: var(--line);
}

/* =========================================================
   Title strips
   ========================================================= */
.title-strip {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.title-strip::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201,162,39,.18) 0%, transparent 70%);
  pointer-events: none;
}
.title-strip.qbe-title {
  background: linear-gradient(135deg, var(--qbe-blue-dark) 0%, var(--qbe-blue) 100%);
}
.title-strip.qbe-title::after {
  background: radial-gradient(circle, rgba(255,107,31,.22) 0%, transparent 70%);
}
.title-strip-inner { position: relative; z-index: 1; }
.title-strip h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.title-strip h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 6px 0 16px 0;
  color: #fff;
  opacity: .92;
}
.addressee {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin: 0;
}
.addressee.blue { color: #FFE8D6; }

/* QBE title row */
.qbe-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.qbe-logo { text-align: right; }
.qbe-logo-img {
  display: block;
  margin: 0 0 6px auto;
  width: 72px;
  height: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.qbe-logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: .05em;
}
.qbe-instructions {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  font-style: italic;
}

/* =========================================================
   Form Cards
   ========================================================= */
main.container {
  padding-top: 32px;
  padding-bottom: 48px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.card-head {
  background: linear-gradient(180deg, #F4F7FB 0%, #EDF2F8 100%);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}
.card-head.qbe-head {
  background: linear-gradient(180deg, var(--qbe-blue-50) 0%, var(--qbe-blue-100) 100%);
  border-bottom: 2px solid var(--qbe-blue);
}
.qbe-card { border-color: var(--qbe-blue-100); }
.card-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.card-head-en {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -.01em;
}
.qbe-head .card-head-en { color: var(--qbe-blue-dark); }
.card-head-zh {
  font-size: 14px;
  color: var(--ink-mid);
  font-weight: 500;
}
.card-body {
  padding: 24px;
}

/* =========================================================
   Fields
   ========================================================= */
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.field label {
  display: block;
  margin-bottom: 8px;
}
.field label .lbl-en {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field label .lbl-zh {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}

.req {
  color: var(--danger);
  font-weight: 700;
  margin-left: 2px;
}

.opt {
  color: var(--ink-soft, #64748B);
  font-weight: 400;
  font-size: 0.85em;
  font-style: italic;
  margin-left: 4px;
  letter-spacing: 0.02em;
}

/* Case banner (when ?case=XXX is present) */
.case-banner {
  background: linear-gradient(90deg, #0B2545 0%, #13315C 100%);
  color: #fff;
  padding: 14px 0;
  border-bottom: 3px solid #FFB627;
}
.case-banner-inner {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.case-banner-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-banner-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.case-banner-info strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.case-banner-status strong {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  font-size: 14px;
}

/* Locked fields (admin pre-filled, read-only) */
.field.locked input,
.field.locked select,
.field.locked textarea {
  background: #F1F5F9 !important;
  color: #475569 !important;
  cursor: not-allowed;
  border-color: #CBD5E1 !important;
}
.field.locked label::after {
  content: ' 🔒';
  font-size: 0.85em;
  opacity: 0.6;
}

/* Upload field styling */
.upload-field input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px dashed #CBD5E1;
  border-radius: 10px;
  background: #FBFCFE;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.upload-field input[type="file"]:hover {
  border-color: #0B2545;
  background: #F4F7FB;
}
.upload-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: #0B2545;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.upload-field input[type="file"].invalid {
  border-color: #B91C1C;
  background: #FEF2F2;
}
.upload-preview {
  margin-top: 10px;
  padding: 10px;
  background: #F1F5F9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink, #0B2545);
}
.upload-preview img {
  max-width: 120px;
  max-height: 90px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #CBD5E1;
}
.upload-preview .file-meta {
  flex: 1;
  min-width: 0;
}
.upload-preview .file-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-preview .file-size {
  color: var(--ink-soft, #64748B);
  font-size: 12px;
  margin-top: 2px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(27,65,114,.12);
}
input::placeholder, textarea::placeholder { color: #94A3B8; font-size: 13.5px; }
input.invalid, textarea.invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185,28,28,.08);
}

.inline-input {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}
.inline-input input { flex: 1; }
.unit {
  font-weight: 600;
  color: var(--ink-mid);
}

.conditional-input {
  margin-top: 10px;
  background: #FBFCFE;
}
.conditional-input.always-show { display: block; }

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Radio row */
.radio-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.yn-row { gap: 8px; }

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
}
.radio input { accent-color: var(--navy-900); margin: 0; }
.radio:hover { border-color: var(--navy-700); }
.radio:has(input:checked) {
  border-color: var(--navy-900);
  background: var(--navy-50);
  color: var(--navy-900);
}

/* Check stack */
.check-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkbox-inline {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FBFCFE;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.5;
  transition: all .15s ease;
}
.checkbox-inline input {
  margin-top: 3px;
  accent-color: var(--navy-900);
  flex-shrink: 0;
}
.checkbox-inline:hover { border-color: var(--qbe-blue); }
.checkbox-inline:has(input:checked) {
  background: var(--qbe-blue-50);
  border-color: var(--qbe-blue);
}

/* Big checkbox */
.checkbox {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy-50);
  border: 1px solid #DDE6F1;
  border-radius: var(--radius-sm);
  align-items: flex-start;
  cursor: pointer;
  margin-top: 14px;
}
.checkbox input {
  margin-top: 3px;
  accent-color: var(--navy-900);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox span { font-size: 14px; line-height: 1.5; }

/* =========================================================
   Declaration
   ========================================================= */
.declaration-body { padding-top: 22px; }
.declaration-block {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin-bottom: 6px;
}
.decl-zh, .decl-en {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px 0;
  color: var(--ink-mid);
}
.decl-zh strong, .decl-en strong { color: var(--navy-900); }
.decl-en { color: var(--ink-soft); font-size: 13.5px; }

/* Note block */
.note-block {
  font-size: 13px;
  background: var(--qbe-blue-50);
  border-left: 3px solid var(--qbe-blue);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 0 0 18px;
  color: var(--ink-mid);
  line-height: 1.65;
}
.note-block strong { color: var(--qbe-blue-dark); }

/* =========================================================
   Driver block
   ========================================================= */
.driver-block {
  background: #FBFCFE;
  border: 1px solid var(--qbe-blue-100);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 16px;
}
.driver-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--qbe-blue-dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--qbe-blue-100);
}

.additional-drivers {
  margin-top: 8px;
}
.additional-drivers summary {
  cursor: pointer;
  padding: 10px 16px;
  background: var(--qbe-blue-50);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--qbe-blue-dark);
  margin-bottom: 16px;
  user-select: none;
  list-style: none;
}
.additional-drivers summary::-webkit-details-marker { display: none; }
.additional-drivers summary:hover { background: var(--qbe-blue-100); }
.additional-drivers[open] summary { background: var(--qbe-blue-100); }

/* History block */
.history-block {
  background: #FFFBEB;
  border: 1px solid #FCE7B6;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}
.hist-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #92400E !important;
  margin: 0;
}
.history-block .lbl-zh {
  font-size: 12.5px;
  color: #92400E;
  margin-bottom: 12px;
  margin-top: 2px;
}
.history-block .checkbox-inline {
  background: #fff;
  border-color: #FCE7B6;
}
.history-block .checkbox-inline:has(input:checked) {
  background: #FEF3C7;
  border-color: #F59E0B;
}

/* =========================================================
   Signature
   ========================================================= */
.signature-wrapper {
  position: relative;
}
.signature-pad {
  width: 100%;
  height: 200px;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 39px,
    #F1F5F9 39px,
    #F1F5F9 40px
  );
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  cursor: crosshair;
  display: block;
  touch-action: none;
}
.signature-pad:hover { border-color: var(--navy-700); }
.signature-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.sig-hint {
  text-align: center;
  margin: 4px 0 0 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(11,37,69,.22);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: #fff;
  color: var(--ink-mid);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--line-soft);
  color: var(--ink);
}
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:disabled { opacity: .6; cursor: not-allowed; }

/* Secondary — neutral filled, between primary and ghost */
.btn-secondary {
  background: var(--line-soft);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
}
.btn-secondary:active { transform: translateY(0); }
.btn-secondary:disabled { opacity: .6; cursor: not-allowed; }

/* Danger — for destructive actions */
.btn-danger {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
}
.btn-danger:hover {
  background: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(220,38,38,.22);
}
.btn-danger:active { transform: translateY(0); }

/* Success — for confirmation/generate actions (e.g. 生成發票) */
.btn-success {
  background: #059669;
  color: #fff;
  border-color: #059669;
}
.btn-success:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(5,150,105,.22);
}
.btn-success:active { transform: translateY(0); }
.btn-success:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Size modifiers */
.btn-sm {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
}
.btn-xs {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 500;
}

/* Standalone buttons that don't carry .btn — fallback baseline
   (these appear in inline-row table actions like 詳情 / 連結) */
button:not([class]),
button.copy-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all .15s ease;
}
button:not([class]):hover {
  background: var(--line-soft);
  color: var(--ink);
  border-color: #CBD5E1;
}

.btn-lg {
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 10px;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1FBA59;
  border-color: #1FBA59;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37,211,102,.28);
  color: #fff;
}
.btn-whatsapp:active { transform: translateY(0); }
.btn-whatsapp:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Step actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 8px;
  gap: 12px;
}
.step-actions > .btn { flex: 0 0 auto; }
.action-hint {
  margin: 14px auto 0;
  max-width: 520px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 540px) {
  .step-actions .btn-lg {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  padding: 28px 0;
  margin-top: 24px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { color: #fff; font-size: 14px; }
.footer-brand-zh { color: rgba(255,255,255,.7); font-size: 12px; }
.footer-meta { color: rgba(255,255,255,.55); }

/* =========================================================
   Utility
   ========================================================= */
.muted { color: var(--ink-soft); }
.small { font-size: 12.5px; line-height: 1.55; }

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.modal.hidden { display: none; }
.modal-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(11,37,69,.3);
  animation: pop .25s cubic-bezier(.16,1,.3,1);
}
.modal-icon { margin-bottom: 14px; }
.modal-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--navy-900);
}
.modal-card > .muted { margin: 0 0 14px; font-size: 13px; }
.modal-text {
  color: var(--ink-mid);
  margin: 0 0 22px;
  line-height: 1.6;
}

/* Loading */
.loading {
  position: fixed;
  inset: 0;
  background: rgba(11,37,69,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  gap: 18px;
}
.loading.hidden { display: none; }
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255,255,255,.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loading-text {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 640px) {
  .title-strip { padding: 36px 0 44px; }
  .title-strip h1 { font-size: 24px; }
  .title-strip h2 { font-size: 18px; }
  .container { padding: 0 16px; }
  .card-body { padding: 20px 18px; }
  .brand-en { font-size: 13px; }
  .brand-zh { font-size: 11px; }
  .header-contact { display: none; }
  .signature-pad { height: 170px; }

  .stepper-wrap { padding: 12px 0; top: 70px; }
  .stepper { gap: 4px; }
  .step { padding: 4px 8px; }
  .step-en { font-size: 11px; }
  .step-zh { font-size: 10px; }
  .step-divider { flex: 0 0 12px; }

  .qbe-logo-img { width: 56px; padding: 4px 8px; }
  .qbe-logo-sub { font-size: 9px; }
}
