/* ===== Merged, per-view-scoped screen styles (collision-safe) ===== */

  /* ---- view-landing ---- */
  #view-landing .lp-hero { position: relative; background: var(--navy-900); padding: 44px 20px 32px; overflow: hidden; }
  #view-landing .lp-logo-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
  #view-landing .lp-logo-row img { width: 140px; height: 32px; object-fit: contain; }
  #view-landing .lp-portal-badge { border: 1px solid rgba(255,255,255,0.25); border-radius: var(--r-pill); padding: 4px 10px; }
  #view-landing .lp-portal-badge span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.8); }
  #view-landing .lp-hero-text { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  #view-landing .lp-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--cta); text-transform: uppercase; }
  #view-landing .lp-hero-title { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; line-height: 34px; }
  #view-landing .lp-hero-sub { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 21px; }
  #view-landing .lp-hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  #view-landing .btn.outline.btn-hero-outline { background: rgba(255,255,255,0.1); color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
  #view-landing .btn.outline.btn-hero-outline:hover { background: rgba(255,255,255,0.16); }
  #view-landing .lp-location-badge { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; margin-top: 4px; }
  #view-landing .lp-location-text { font-size: 12px; color: rgba(255,255,255,0.5); }
  #view-landing .lp-stats-section { background: var(--white); padding: 20px; }
  #view-landing .lp-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  #view-landing .lp-stat-card { background: var(--brand-04); border-radius: var(--r-12); border: 1.5px solid var(--brand-15); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
  #view-landing .lp-stat-value { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -0.5px; }
  #view-landing .lp-stat-label { font-size: 12px; color: var(--ink-4); }
  #view-landing .lp-section { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
  #view-landing .lp-section-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--brand); text-transform: uppercase; }
  #view-landing .lp-section-title { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
  #view-landing .lp-feature-list { display: flex; flex-direction: column; gap: 12px; }
  #view-landing .lp-feature-card { display: flex; align-items: flex-start; gap: 14px; background: var(--white); border-radius: var(--r-12); border: 1.5px solid var(--ink-6); box-shadow: var(--e1); padding: 16px; }
  #view-landing .lp-feature-icon { width: 44px; height: 44px; border-radius: var(--r-8); background: var(--brand-04); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  #view-landing .lp-feature-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
  #view-landing .lp-feature-desc { font-size: 14px; color: var(--ink-4); line-height: 19px; }
  #view-landing .lp-cta-section { background: var(--brand); margin: 4px 20px 32px; border-radius: var(--r-16); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  #view-landing .lp-cta-title { font-size: 18px; font-weight: 700; color: var(--white); text-align: center; letter-spacing: -0.3px; }
  #view-landing .lp-cta-desc { font-size: 14px; color: rgba(255,255,255,0.7); text-align: center; line-height: 19px; }
  #view-landing .lp-cta-btn { display: flex; align-items: center; gap: 8px; background: var(--cta); border-radius: var(--r-8); padding: 12px 20px; margin-top: 4px; }
  #view-landing .lp-cta-btn span { font-size: 14px; font-weight: 700; color: var(--white); }

  /* ---- view-login ---- */
  #view-login { background: var(--navy-900); }
  #view-login .lg-glow-bl { position: absolute; bottom: -60px; left: -60px; width: 240px; height: 200px; background: radial-gradient(ellipse at bottom left, rgba(255,255,255,0.13), transparent 70%); pointer-events: none; }
  #view-login .lg-scroll { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; position: relative; z-index: 1; }
  #view-login .lg-header { background: var(--navy-900); padding: 24px; border-radius: 24px; margin: 0 16px 12px; display: flex; flex-direction: column; gap: 16px; }
  #view-login .lg-brand-row { display: flex; align-items: center; gap: 10px; }
  #view-login .lg-brand-row img { width: 40px; height: 40px; object-fit: contain; }
  #view-login .lg-brand-text { display: flex; flex-direction: column; gap: 1px; }
  #view-login .lg-brand-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -0.1px; }
  #view-login .lg-brand-tag { font-size: 10px; color: rgba(255,255,255,0.5); }
  #view-login .lg-headline-group { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
  #view-login .lg-headline { font-size: 26px; font-weight: 800; color: var(--white); letter-spacing: -0.6px; line-height: 32px; }
  #view-login .lg-subline { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 18px; }
  #view-login .lg-card { margin: 0 16px; background: var(--white); border-radius: 24px; border: 1.5px solid rgba(18,33,132,0.08); padding: 24px 20px 20px; box-shadow: var(--e3); }
  #view-login .lg-form-section { display: flex; flex-direction: column; gap: 14px; }
  #view-login .lg-section-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
  #view-login .lg-section-hint { font-size: 14px; color: var(--ink-4); line-height: 18px; margin-top: -6px; }
  #view-login .lg-staff-toggle { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-7); }
  #view-login .lg-staff-toggle-text { font-size: 14px; font-weight: 600; color: var(--cta); flex: 1; }
  #view-login .lg-foot-note { font-size: 12px; color: var(--ink-5); text-align: center; line-height: 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-7); }

  /* ---- view-register ---- */
  #view-register { background: var(--navy-900); }
  #view-register .rg-header { position: relative; background: var(--navy-900); padding: 40px 20px 22px; overflow: hidden; }
  #view-register .rg-glow { position: absolute; top: -40px; right: -40px; width: 200px; height: 160px; background: radial-gradient(ellipse at top right, rgba(255,255,255,0.14), transparent 70%); pointer-events: none; }
  #view-register .rg-back-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 0; margin-bottom: 4px; color: var(--white); }
  #view-register .rg-back-btn span { font-size: 14px; font-weight: 700; color: var(--white); }
  #view-register .rg-brand-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  #view-register .rg-brand-row img { width: 38px; height: 38px; border-radius: 8px; }
  #view-register .rg-brand-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -0.1px; }
  #view-register .rg-brand-sub { font-size: 10px; color: rgba(255,255,255,0.5); margin-top: 1px; }
  #view-register .rg-welcome { position: relative; z-index: 1; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.4px; line-height: 28px; margin-bottom: 4px; }
  #view-register .rg-welcome-sub { position: relative; z-index: 1; font-size: 12px; color: rgba(255,255,255,0.55); }
  #view-register .rg-body { flex: 1; background: var(--canvas-warm); border-radius: 20px 20px 0 0; padding: 24px 20px 32px; }
  #view-register .rg-step-row { display: flex; align-items: center; margin-bottom: 22px; }
  #view-register .rg-step-dot { width: 26px; height: 26px; border-radius: 13px; background: var(--ink-6); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: var(--ink-5); flex-shrink: 0; }
  #view-register .rg-step-dot.active { background: var(--cta); color: var(--white); }
  #view-register .rg-step-line { flex: 1; height: 2px; background: var(--ink-6); margin: 0 6px; }
  #view-register .rg-form { display: flex; flex-direction: column; gap: 14px; }
  #view-register .rg-phone-field { display: flex; align-items: stretch; border: 1.5px solid var(--ink-6); border-radius: var(--r-8); background: var(--white); overflow: hidden; }
  #view-register .rg-phone-field:focus-within { border-color: var(--cta); }
  #view-register .rg-phone-prefix { display: flex; align-items: center; padding: 0 10px; border-right: 1px solid var(--ink-6); font-size: 12px; font-weight: 600; color: var(--ink-4); }
  #view-register .rg-phone-field input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font); font-size: 14px; color: var(--ink); padding: 12px; min-width: 0; }
  #view-register .rg-phone-field input::placeholder { color: var(--ink-5); }
  #view-register .rg-switch-row { display: flex; justify-content: center; align-items: center; }
  #view-register .rg-switch-text { font-size: 14px; color: var(--ink-4); }
  #view-register .rg-switch-link { font-size: 14px; font-weight: 700; color: var(--cta); }

  /* ---- view-checklist ---- */
  #view-checklist { background: var(--white); }
  #view-checklist .chk-progress { background: var(--white); flex-shrink: 0; }
  #view-checklist .chk-progress .progress-track { border-radius: 0; height: 3px; }
  #view-checklist .info-card { display: flex; align-items: center; gap: var(--sp-3); background: var(--brand-04); border: 1.5px solid var(--brand-15); border-radius: var(--r-12); padding: 14px; margin-bottom: 4px; }
  #view-checklist .info-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
  #view-checklist .info-title { font-size: 14px; font-weight: 700; color: var(--brand); }
  #view-checklist .info-sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-checklist .section-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-5); margin-bottom: 8px; }
  #view-checklist .optional-hint { font-size: 12px; color: var(--ink-4); margin: -4px 0 8px; }
  #view-checklist .approval-row { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); overflow: hidden; margin-bottom: 10px; }
  #view-checklist .approval-row .ar-header { display: flex; align-items: center; justify-content: space-between; padding: 14px; gap: 10px; }
  #view-checklist .approval-row .ar-left { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; }
  #view-checklist .approval-row .ar-icon { width: 32px; height: 32px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
  #view-checklist .approval-row .ar-text { flex: 1; min-width: 0; }
  #view-checklist .approval-row .ar-name { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-checklist .approval-row .ar-dept { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-checklist .approval-row .ar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
  #view-checklist .optional-row { display: flex; align-items: flex-start; gap: 8px; }
  #view-checklist .opt-check { width: 22px; height: 22px; border-radius: 4px; border: 1.5px solid var(--ink-6); background: var(--white); flex-shrink: 0; margin-top: 14px; }
  #view-checklist .chk-footer { background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-checklist .chk-footer-info { display: flex; justify-content: space-between; align-items: center; }
  #view-checklist .chk-footer-label { font-size: 14px; font-weight: 500; color: var(--ink-3); }
  #view-checklist .chk-footer-fee { font-size: 16px; font-weight: 800; color: var(--brand); }

  /* ---- view-fee-summary ---- */
  #view-fee-summary { background: var(--white); }
  #view-fee-summary .fee-table { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); overflow: hidden; box-shadow: var(--e1); }
  #view-fee-summary .fee-table-header { display: flex; gap: 8px; background: var(--brand-04); border-bottom: 1.5px solid var(--brand-15); padding: 9px 14px; }
  #view-fee-summary .fee-cell-head { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--brand); }
  #view-fee-summary .fee-cell { font-size: 14px; color: var(--ink-3); flex: 1; text-align: right; }
  #view-fee-summary .fee-row { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--ink-7); }
  #view-fee-summary .fee-row:last-of-type { border-bottom: none; }
  #view-fee-summary .fee-approval-name { font-size: 14px; font-weight: 500; color: var(--ink); }
  #view-fee-summary .fee-approval-dept { font-size: 12px; color: var(--ink-5); margin-top: 1px; }
  #view-fee-summary .fee-total-row { display: flex; gap: 8px; padding: 12px 14px; background: var(--brand-04); }
  #view-fee-summary .fee-total-label { font-size: 14px; font-weight: 700; color: var(--brand); }
  #view-fee-summary .fee-total-value { font-size: 14px; font-weight: 800; color: var(--brand); flex: 1; text-align: right; }
  #view-fee-summary .grand-card { background: var(--brand); border-radius: var(--r-12); padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  #view-fee-summary .grand-label { font-size: 14px; color: rgba(255,255,255,0.7); }
  #view-fee-summary .grand-value { font-size: 28px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
  #view-fee-summary .grand-usd { font-size: 12px; color: rgba(255,255,255,0.5); }
  #view-fee-summary .section-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-5); }
  #view-fee-summary .pay-option { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--r-8); border: 1.5px solid var(--ink-6); padding: 14px; margin-top: 10px; }
  #view-fee-summary .pay-option:first-of-type { margin-top: 10px; }
  #view-fee-summary .pay-option.active { border-color: var(--cta); background: var(--cta-15); }
  #view-fee-summary .pay-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink-6); flex-shrink: 0; }
  #view-fee-summary .pay-option.active .pay-radio { border-color: var(--cta); background: var(--cta); box-shadow: inset 0 0 0 3px var(--white); }
  #view-fee-summary .pay-label { font-size: 14px; color: var(--ink-3); flex: 1; }
  #view-fee-summary .pay-option.active .pay-label { color: var(--cta); font-weight: 700; }
  #view-fee-summary .pay-option .pay-icon { color: var(--ink-4); flex-shrink: 0; }
  #view-fee-summary .pay-option.active .pay-icon { color: var(--cta); }
  #view-fee-summary .note-box { background: var(--brand-04); border: 1px solid var(--brand-15); border-radius: var(--r-8); padding: 12px; }
  #view-fee-summary .note-text { font-size: 12px; color: var(--ink-4); line-height: 18px; }
  #view-fee-summary .fee-footer { background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--e3); flex-shrink: 0; }

  /* ---- view-caf-index ---- */
  #view-caf-index { background: var(--white); }
  #view-caf-index .redirect-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px; text-align: center; }
  #view-caf-index .redirect-spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--brand-15); border-top-color: var(--brand); animation: caf-index-spin 0.8s linear infinite; }
  @keyframes caf-index-spin { to { transform: rotate(360deg); } }
  #view-caf-index .redirect-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
  #view-caf-index .redirect-sub { font-size: 13px; color: var(--ink-4); max-width: 260px; line-height: 19px; }
  #view-caf-index .redirect-link { font-size: 13px; font-weight: 700; color: var(--cta); }

  /* ---- view-caf-step-1 ---- */
  #view-caf-step-1 { background: var(--white); }
  #view-caf-step-1 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-1 .caf-stepper { margin-top: 14px; }
  #view-caf-step-1 .page-header { display: flex; align-items: center; gap: var(--sp-3); background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 14px; box-shadow: var(--e1); }
  #view-caf-step-1 .page-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
  #view-caf-step-1 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
  #view-caf-step-1 .page-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-top: 1px; }
  #view-caf-step-1 .dir-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-1 .dir-card-header { display: flex; align-items: center; padding: 14px; gap: 10px; }
  #view-caf-step-1 .dir-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
  #view-caf-step-1 .dir-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-caf-step-1 .dir-meta { font-size: 12px; color: var(--ink-4); margin-top: 1px; }
  #view-caf-step-1 .dir-card-body { border-top: 1px solid var(--ink-7); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
  #view-caf-step-1 .pan-row { display: flex; gap: 8px; align-items: center; }
  #view-caf-step-1 .verify-btn { padding: 10px 14px; border-radius: var(--r-8); border: 1.5px solid var(--cta); min-height: 44px; display: flex; align-items: center; justify-content: center; color: var(--cta); font-size: 14px; font-weight: 700; flex-shrink: 0; }
  #view-caf-step-1 .add-dir-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed var(--cta); border-radius: var(--r-12); padding: 14px; background: var(--cta-15); color: var(--cta); font-size: 14px; font-weight: 700; }
  #view-caf-step-1 .caf-footer { background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }

  /* ---- view-caf-step-2 ---- */
  #view-caf-step-2 { background: var(--white); }
  #view-caf-step-2 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-2 .caf-stepper { margin-top: 14px; }
  #view-caf-step-2 .page-header { display: flex; align-items: center; gap: var(--sp-3); background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 14px; box-shadow: var(--e1); }
  #view-caf-step-2 .page-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
  #view-caf-step-2 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
  #view-caf-step-2 .page-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-top: 1px; }
  #view-caf-step-2 .form-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-2 .form-card-header { padding: 13px 16px; border-bottom: 1px solid var(--ink-7); }
  #view-caf-step-2 .form-card-title { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-caf-step-2 .form-card-sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-caf-step-2 .form-card-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
  #view-caf-step-2 .field-row { display: flex; gap: 10px; }
  #view-caf-step-2 .field-row .field { flex: 1; }
  #view-caf-step-2 .caf-footer { display: flex; gap: 10px; background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-caf-step-2 .caf-footer .btn.ghost { flex: 1; }
  #view-caf-step-2 .caf-footer .btn.primary { flex: 2; }

  /* ---- view-caf-step-3 ---- */
  #view-caf-step-3 { background: var(--white); }
  #view-caf-step-3 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-3 .caf-stepper { margin-top: 14px; }
  #view-caf-step-3 .page-header { display: flex; flex-direction: column; gap: 4px; background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 12px; box-shadow: var(--e1); }
  #view-caf-step-3 .eyebrow-row { display: flex; align-items: center; gap: 6px; color: var(--ink-4); }
  #view-caf-step-3 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-4); }
  #view-caf-step-3 .page-title { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.3px; }
  #view-caf-step-3 .checklist-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 12px; box-shadow: var(--e1); }
  #view-caf-step-3 .checklist-header { display: flex; align-items: center; justify-content: space-between; }
  #view-caf-step-3 .checklist-title { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.1px; }
  #view-caf-step-3 .checklist-badge { background: var(--ok-bg); border: 1px solid var(--ok-bd); border-radius: var(--r-pill); padding: 3px 8px; }
  #view-caf-step-3 .checklist-badge-text { font-size: 12px; font-weight: 700; color: var(--ok); }
  #view-caf-step-3 .form-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-3 .form-card-header { padding: 12px; border-bottom: 1px solid var(--ink-7); }
  #view-caf-step-3 .form-card-title { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-caf-step-3 .form-card-sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-caf-step-3 .form-card-body { padding: 12px; display: flex; flex-direction: column; gap: 14px; }
  #view-caf-step-3 .field-row { display: flex; gap: 10px; }
  #view-caf-step-3 .field-row .field { flex: 1; }
  #view-caf-step-3 .fee-box { background: var(--brand-04); border: 1px solid var(--brand-15); border-radius: var(--r-8); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
  #view-caf-step-3 .fee-box-label { font-size: 12px; color: var(--ink-4); }
  #view-caf-step-3 .fee-box-value { font-size: 18px; font-weight: 700; color: var(--brand); }
  #view-caf-step-3 .balance-strip { display: flex; align-items: center; justify-content: space-between; border-radius: var(--r-8); border: 1px solid; padding: 12px; }
  #view-caf-step-3 .balance-strip.warn { background: var(--warn-bg); border-color: var(--warn-bd); }
  #view-caf-step-3 .balance-label { font-size: 14px; font-weight: 500; color: var(--ink-3); }
  #view-caf-step-3 .balance-status-row { display: flex; align-items: center; gap: 5px; }
  #view-caf-step-3 .balance-status-text { font-size: 14px; font-weight: 700; color: var(--warn); }
  #view-caf-step-3 .sub-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ink-7); }
  #view-caf-step-3 .sub-row:last-child { border-bottom: none; }
  #view-caf-step-3 .sub-name { font-size: 14px; font-weight: 500; color: var(--ink); flex: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-caf-step-3 .sub-input { flex: 1; border: 1.5px solid var(--ink-6); border-radius: var(--r-8); padding: 8px; font-size: 14px; color: var(--ink); text-align: right; min-height: 40px; background: var(--white); }
  #view-caf-step-3 .sub-pct { font-size: 12px; font-weight: 700; color: var(--brand); width: 36px; text-align: right; }
  #view-caf-step-3 .caf-footer { display: flex; gap: 10px; background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-caf-step-3 .caf-footer .btn.ghost { flex: 1; }
  #view-caf-step-3 .caf-footer .btn.primary { flex: 2; }

  /* ---- view-caf-step-4 ---- */
  #view-caf-step-4 { background: var(--white); }
  #view-caf-step-4 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-4 .caf-stepper { margin-top: 14px; }
  #view-caf-step-4 .page-header { display: flex; align-items: center; gap: var(--sp-3); background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 14px; box-shadow: var(--e1); }
  #view-caf-step-4 .page-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--warn-bg); border: 1px solid var(--warn-bd); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--warn); }
  #view-caf-step-4 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
  #view-caf-step-4 .page-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-top: 1px; }
  #view-caf-step-4 .doc-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-4 .doc-card-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 14px; gap: 8px; border-bottom: 1px solid var(--ink-7); background: var(--ink-7); }
  #view-caf-step-4 .doc-label { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; }
  #view-caf-step-4 .doc-label .req { color: var(--cta); }
  #view-caf-step-4 .mandatory-badge, #view-caf-step-4 .optional-badge { border-radius: var(--r-2); padding: 2px 6px; flex-shrink: 0; }
  #view-caf-step-4 .mandatory-badge { background: var(--err-bg); }
  #view-caf-step-4 .optional-badge { background: var(--ink-7); border: 1px solid var(--ink-6); }
  #view-caf-step-4 .mandatory-badge .txt { color: var(--err); }
  #view-caf-step-4 .optional-badge .txt { color: var(--ink-4); }
  #view-caf-step-4 .mandatory-badge .txt, #view-caf-step-4 .optional-badge .txt { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
  #view-caf-step-4 .upload-zone { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-5); }
  #view-caf-step-4 .upload-label { font-size: 14px; font-weight: 700; color: var(--ink-3); }
  #view-caf-step-4 .upload-hint { font-size: 12px; color: var(--ink-5); text-align: center; }
  #view-caf-step-4 .format-tags { display: flex; gap: 6px; margin-top: 4px; }
  #view-caf-step-4 .format-tag { background: var(--ink-7); border-radius: var(--r-4); padding: 3px 7px; font-size: 12px; color: var(--ink-4); }
  #view-caf-step-4 .caf-footer { display: flex; gap: 10px; background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-caf-step-4 .caf-footer .btn.ghost { flex: 1; }
  #view-caf-step-4 .caf-footer .btn.primary { flex: 2; }

  /* ---- view-caf-step-5 ---- */
  #view-caf-step-5 { background: var(--white); }
  #view-caf-step-5 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-5 .caf-stepper { margin-top: 14px; }
  #view-caf-step-5 .page-header { display: flex; align-items: center; gap: var(--sp-3); background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 14px; box-shadow: var(--e1); }
  #view-caf-step-5 .page-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--ok-bg); border: 1px solid var(--ok-bd); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ok); }
  #view-caf-step-5 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
  #view-caf-step-5 .page-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-top: 1px; }
  #view-caf-step-5 .form-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-5 .form-card-header { padding: 13px 16px; border-bottom: 1px solid var(--ink-7); }
  #view-caf-step-5 .form-card-title { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-caf-step-5 .form-card-sub { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-caf-step-5 .form-card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
  #view-caf-step-5 .consent-row { display: flex; align-items: flex-start; gap: 12px; border: 1.5px solid var(--ink-6); border-radius: var(--r-8); padding: 12px; cursor: pointer; }
  #view-caf-step-5 .consent-row.checked { border-color: var(--cta); background: var(--cta-15); }
  #view-caf-step-5 .checkbox { width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid var(--ink-6); background: var(--white); flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; color: var(--white); }
  #view-caf-step-5 .checkbox .check-icon { opacity: 0; }
  #view-caf-step-5 .consent-row.checked .checkbox { background: var(--cta); border-color: var(--cta); }
  #view-caf-step-5 .consent-row.checked .checkbox .check-icon { opacity: 1; }
  #view-caf-step-5 .consent-label { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 19px; }
  #view-caf-step-5 .consent-sub { font-size: 12px; color: var(--ink-5); margin-top: 3px; line-height: 17px; }
  #view-caf-step-5 .sig-date-row { display: flex; justify-content: space-between; align-items: center; }
  #view-caf-step-5 .sig-date-label { font-size: 14px; color: var(--ink-4); }
  #view-caf-step-5 .sig-date-value { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-caf-step-5 .sig-note { font-size: 14px; color: var(--ink-4); line-height: 19px; background: var(--brand-04); border-radius: var(--r-8); padding: 12px; margin-top: 6px; }
  #view-caf-step-5 .warn-box { background: var(--warn-bg); border: 1px solid var(--warn-bd); border-radius: var(--r-8); padding: 12px; }
  #view-caf-step-5 .warn-text { font-size: 14px; color: var(--warn); }
  #view-caf-step-5 .caf-footer { display: flex; gap: 10px; background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-caf-step-5 .caf-footer .btn.ghost { flex: 1; }
  #view-caf-step-5 .caf-footer .btn.primary { flex: 2; }

  /* ---- view-caf-step-6 ---- */
  #view-caf-step-6 { background: var(--white); }
  #view-caf-step-6 .caf-hdr { padding-bottom: 14px; }
  #view-caf-step-6 .caf-stepper { margin-top: 14px; }
  #view-caf-step-6 .page-header { display: flex; align-items: center; gap: var(--sp-3); background: var(--canvas-warm); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); padding: 14px; box-shadow: var(--e1); }
  #view-caf-step-6 .page-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
  #view-caf-step-6 .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand); }
  #view-caf-step-6 .page-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-top: 1px; }
  #view-caf-step-6 .app-id-card { background: var(--navy-900); border-radius: var(--r-12); padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  #view-caf-step-6 .app-id-label { font-size: 12px; color: rgba(255,255,255,0.6); }
  #view-caf-step-6 .app-id-value { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 2px; text-transform: uppercase; }
  #view-caf-step-6 .app-id-sub { font-size: 12px; color: rgba(255,255,255,0.4); }
  #view-caf-step-6 .entity-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-04); border: 1px solid var(--brand-15); border-radius: var(--r-8); padding: 8px 12px; color: var(--brand); }
  #view-caf-step-6 .entity-chip .txt { font-size: 14px; font-weight: 700; }
  #view-caf-step-6 .review-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-12); overflow: hidden; box-shadow: var(--e1); }
  #view-caf-step-6 .review-header { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--ink-7); background: var(--ink-7); }
  #view-caf-step-6 .review-icon { width: 28px; height: 28px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
  #view-caf-step-6 .review-title { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; }
  #view-caf-step-6 .edit-btn { display: flex; align-items: center; gap: 4px; border: 1px solid var(--cta); border-radius: var(--r-4); padding: 4px 8px; color: var(--cta); }
  #view-caf-step-6 .edit-btn .txt { font-size: 12px; font-weight: 500; }
  #view-caf-step-6 .review-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
  #view-caf-step-6 .rrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
  #view-caf-step-6 .rrow-label { font-size: 14px; color: var(--ink-4); flex: 1; }
  #view-caf-step-6 .rrow-value { font-size: 14px; font-weight: 500; color: var(--ink); flex: 2; text-align: right; }
  #view-caf-step-6 .dir-divider { border-top: 1px solid var(--ink-7); padding-top: 8px; margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
  #view-caf-step-6 .no-docs-text { font-size: 12px; color: var(--ink-5); }
  #view-caf-step-6 .caf-footer { display: flex; gap: 10px; background: var(--white); border-top: 1.5px solid var(--ink-6); padding: 16px; box-shadow: var(--e3); flex-shrink: 0; }
  #view-caf-step-6 .caf-footer .btn.ghost { flex: 1; }
  #view-caf-step-6 .caf-footer .btn.primary { flex: 2; }
