:root {
  --ink: #122033;
  --muted: #5b6b80;
  --line: #e6dfd4;
  --paper: #f4f0e8;
  --paper-2: #ebe4d8;
  --card: #ffffff;
  --navy: #0b1f3b;
  --navy-2: #16325c;
  --gold: #e8a317;
  --gold-2: #f3c15b;
  --teal: #0f9d8e;
  --teal-2: #14b8a6;
  --coral: #e25b3a;
  --ok: #0f9d6a;
  --warn: #d97706;
  --bad: #dc4c3e;
  --shadow: 0 18px 50px rgba(11, 31, 59, 0.12);
  --shadow-sm: 0 8px 24px rgba(11, 31, 59, 0.08);
  --r: 22px;
  --r-sm: 14px;
  --max: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }

.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 80; min-width: min(92vw, 420px); padding: 12px 16px; border-radius: 14px;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: #0c5c45; }
.toast.bad { background: #8f2c24; }
.toast.warn { background: #8a5a12; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 700; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; width: 100%; box-shadow: 0 10px 24px rgba(11,31,59,.25);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(11,31,59,.32); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #c9840d); color: #1a1408; width: 100%; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink); width: 100%;
}
.btn-sm { padding: 9px 14px; font-size: 13px; width: auto; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px;
  padding: 14px 16px; font-size: 16px; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,59,.08);
}
.hint { font-size: 12px; color: var(--muted); }
.reason-list { margin: 8px 0 0; padding-left: 18px; }
.reason-list li { margin: 0 0 6px; }
.consent-box {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #faf7f2; font-size: 13px; line-height: 1.45;
  color: var(--ink); cursor: pointer;
}
.consent-box input {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--navy);
}
.consent-box a { color: var(--navy); font-weight: 800; text-decoration: underline; }
.policy-copy { color: var(--muted); font-size: 14px; line-height: 1.6; }
.policy-copy h3 { color: var(--ink); font-size: 16px; margin: 18px 0 8px; }
.policy-copy ul { margin: 0 0 12px 18px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 700; background: #efe8dc; color: var(--ink);
}
.badge.ok { background: #d9f3e8; color: #0b6b48; }
.badge.warn { background: #fdecc8; color: #8a5a12; }
.badge.bad { background: #fde2de; color: #9a2e24; }
.badge.gold { background: #fff1cc; color: #8a5a12; }
.badge.navy { background: var(--navy); color: #fff; }

/* AUTH */
html:has(.auth-page), body.auth-page { height: 100%; overflow: hidden; }
body.auth-page { height: 100dvh; }
.auth-shell {
  height: 100dvh; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr;
}
.auth-art {
  background:
    radial-gradient(900px 500px at -10% 110%, rgba(232,163,23,.28), transparent 50%),
    radial-gradient(700px 400px at 110% -10%, rgba(15,157,142,.28), transparent 46%),
    linear-gradient(165deg, #091627 0%, #0b1f3b 48%, #14345f 100%);
  color: #f7f1e6; padding: 28px 32px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; min-height: 0;
}
.auth-art::after {
  content: ""; position: absolute; inset: auto -80px -80px auto; width: 320px; height: 320px;
  border: 40px solid rgba(232,163,23,.12); border-radius: 50%;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; font-size: 22px; }
.brand img { width: 42px; height: 42px; }
.auth-side-brand { color: #fff; margin-bottom: 8px; }
.auth-side-brand span { display: grid; line-height: 1.15; }
.auth-side-brand b { font-size: 20px; }
.auth-side-brand small { font-size: 12px; color: #d5c9b6; font-weight: 600; }
.auth-side-brand img { background: #fff; border-radius: 12px; padding: 2px; }
.auth-art h1 {
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.15; margin: 12px 0 8px; max-width: 520px;
}
.auth-art p { max-width: 480px; color: #d7cbb8; font-size: 13px; margin: 0 0 12px; }
.trust-banner {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px;
}
.trust-banner span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(232,163,23,.35); background: rgba(232,163,23,.12);
  color: #f3e0b0; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 800;
}
.auth-flow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 400px;
}
.auth-flow-card {
  position: relative; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 12px 8px 10px;
}
.auth-flow-card i {
  width: 42px; height: 42px; margin: 0 auto 6px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal;
  background: rgba(15,157,142,.22); color: #9ee8df;
}
.auth-flow-card:nth-child(2) i { background: rgba(232,163,23,.2); color: #f3e0b0; }
.auth-flow-card:nth-child(3) i { background: rgba(255,255,255,.1); color: #efe7d8; }
.auth-flow-card.end i { background: var(--gold); color: #1a1408; }
.auth-flow-card b {
  display: block; font-family: var(--font); font-size: 13px; font-weight: 800; color: #fff;
}
.auth-foot { font-size: 12px; color: #d7cbb8; margin-top: 12px; max-width: 460px; }
.trust-note {
  margin: 16px 0 0; text-align: center; font-size: 12px; font-weight: 800; color: var(--ok);
}
.auth-form {
  display: flex; align-items: center; justify-content: center; padding: 20px 16px;
  min-height: 0; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244,240,232,.4), transparent 30%),
    var(--paper);
}
.auth-card {
  width: min(100%, 400px); background: var(--card); border-radius: 24px;
  padding: 22px; box-shadow: var(--shadow); max-height: 100%;
}
.auth-card-brand {
  flex-direction: column;
  justify-content: center;
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
}
.auth-card-brand img { width: 44px; height: 44px; }
.auth-card h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.03em; }
.auth-card .page-sub { margin: 0 0 12px; }
.auth-card .field { margin-bottom: 12px; }
.auth-card .btn { padding: 12px 18px; }

.otp-preview {
  margin: 0 0 12px; padding: 10px 12px;
  background: #fff7e6; border: 1px dashed #e8a317; color: #7a5410;
  border-radius: 12px; font-size: 14px; font-weight: 700; text-align: center;
}
.otp-preview b { font-size: 22px; letter-spacing: .18em; color: var(--navy); }
.otp-row { display: flex; gap: 8px; justify-content: space-between; }
.otp-row input {
  width: 100%; max-width: 54px; height: 58px; text-align: center; font-size: 22px; font-weight: 800;
  border: 1.5px solid var(--line); border-radius: 14px;
}
.auth-page .otp-row input { height: 48px; max-width: 46px; font-size: 18px; }
.otp-row input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,31,59,.08); outline: none; }
.demo-chip {
  margin: 10px 0 16px; background: #fff7e6; border: 1px dashed #e8a317; color: #7a5410;
  border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700;
}
.error-banner {
  margin: 0 0 16px; background: #fde2de; border: 1px solid #f3c0ba; color: #9a2e24;
  border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700;
}
.page-sub a { color: var(--navy); font-weight: 800; }

/* APP SHELL */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px 1fr; }
.sidebar {
  background:
    radial-gradient(220px 140px at 0% 0%, rgba(232,163,23,.18), transparent 60%),
    linear-gradient(180deg, #102744, #0b1f3b 55%, #0a1a31);
  color: #efe7d8; padding: 20px 14px 16px;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.side-brand {
  color: #fff; text-decoration: none; padding: 4px 6px 2px;
}
.side-brand span { display: grid; line-height: 1.15; }
.side-brand b { font-size: 18px; }
.side-brand small { font-size: 11px; color: #d5c9b6; font-weight: 600; }
.sidebar .brand img {
  width: 40px; height: 40px; background: #fff; border-radius: 12px; padding: 2px;
}
.side-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 22px; flex: 1; }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px; border-radius: 12px;
  color: #d5c9b6; font-weight: 700; font-size: 14px;
}
.side-nav a em {
  margin-left: auto; font-style: normal; font-size: 11px; min-width: 18px; text-align: center;
  background: rgba(255,255,255,.08); border-radius: 999px; padding: 1px 6px; color: #efe7d8;
}
.side-nav a.active, .side-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-nav a.active { box-shadow: inset 3px 0 0 var(--gold); }
.nav-ico {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: inherit; flex-shrink: 0;
}
.side-nav a.active .nav-ico { background: var(--gold); color: #1a1408; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-row { display: flex; align-items: center; gap: 2px; }
.nav-row > a { flex: 1; min-width: 0; }
.nav-caret {
  width: 28px; height: 34px; border: 0; border-radius: 10px; background: transparent;
  color: #d5c9b6; cursor: pointer; font-size: 12px; line-height: 1; flex: 0 0 auto;
}
.nav-caret:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-group.open .nav-caret { transform: rotate(0deg); }
.nav-group:not(.open) .nav-caret { transform: rotate(-90deg); }
.nav-sub { display: none; flex-direction: column; gap: 2px; padding: 2px 0 6px 18px; }
.nav-group.open .nav-sub { display: flex; }
.nav-sub a { padding: 7px 10px; font-size: 13px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.06); }
.side-user-meta { min-width: 0; }
.side-user-meta b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-meta span { display: block; font-size: 11px; color: #d5c9b6; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1a1408;
  display: grid; place-items: center; font-weight: 800; overflow: hidden; flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.main { min-width: 0; overflow-x: hidden; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px; position: sticky; top: 0; z-index: 20;
  background: rgba(244,240,232,.88); backdrop-filter: blur(12px);
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-brand {
  display: none; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none;
}
.topbar-brand img { width: 36px; height: 36px; border-radius: 10px; }
.topbar .page-title { font-size: 20px; }
.page { padding: 8px 22px 130px; max-width: var(--max); }
.page-title { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.page-sub { margin: 4px 0 18px; color: var(--muted); }

.bottom-nav {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow);
  padding: 8px; grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 4px; font-size: 11px; font-weight: 700; color: var(--muted); border-radius: 14px;
}
.bottom-nav .nav-ico { width: 28px; height: 28px; background: #f4efe6; color: var(--navy); }
.bottom-nav a.active { color: var(--navy); background: #f4efe6; }
.bottom-nav a.active .nav-ico { background: var(--navy); color: #fff; }
.menu-btn { display: none; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1.4fr .8fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm);
}
.hero-card {
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(232,163,23,.28), transparent 50%),
    linear-gradient(135deg, #0b1f3b, #1a4a6d 60%, #0f9d8e);
  color: #fff; min-height: 210px; position: relative; overflow: hidden;
}
.hero-card h3 { margin: 0; font-family: var(--display); font-size: 42px; font-weight: 500; }
.hero-card .meta { opacity: .85; font-size: 13px; margin-top: 4px; }

.stat {
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.stat b { font-size: 22px; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }

.progress-ring { width: 120px; height: 120px; }
.kyc-list, .kv { display: grid; gap: 10px; }
.kv-row, .kyc-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.kv-row:last-child, .kyc-item:last-child { border-bottom: 0; }
.kv-row span, .kyc-item span { color: var(--muted); font-size: 13px; flex: 0 0 38%; }
.kv-row b, .kyc-item b { text-align: right; word-break: break-word; max-width: 62%; }

.dash { display: grid; gap: 10px; }
.dash .card { padding: 12px 14px; border-radius: 16px; }
.dash .grid { gap: 10px; }
.dash h3 { margin: 0 0 8px; font-size: 13px; }
.dash-hero {
  background:
    radial-gradient(420px 140px at 100% 0%, rgba(232,163,23,.28), transparent 52%),
    linear-gradient(135deg, #0b1f3b, #1a4a6d 62%, #0f9d8e);
  color: #fff;
}
.dash-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dash-hi { font-size: 12px; opacity: .85; }
.dash-limit-label { font-size: 11px; opacity: .75; margin-top: 4px; }
.dash-limit { font-family: var(--display); font-size: 28px; line-height: 1.1; margin-top: 2px; }
.dash-note { margin: 8px 0 0; font-size: 12px; opacity: .88; }
.dash-cta .btn { width: auto; min-width: 140px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dash-stat {
  background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm);
  display: grid; gap: 2px; color: inherit; text-decoration: none;
}
.dash-stat span { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dash-stat b { font-size: 15px; }
.dash-stat em { font-style: normal; font-size: 11px; font-weight: 700; }
.dash-stat em.ok { color: #0b6b48; }
.dash-stat em.wait { color: #8a5a12; }
.dash-bar { height: 5px; background: #efe8dc; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.dash-bar i { display: block; height: 100%; background: var(--teal); }
.dash-steps { display: grid; gap: 6px; }
.dash-step {
  display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; background: #faf7f1;
}
.dash-step i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: #efe8dc; flex-shrink: 0;
}
.dash-step.on i { background: #d9f3e8; color: #0b6b48; }
.dash-step b { display: block; font-size: 13px; }
.dash-step span { display: block; font-size: 11px; color: var(--muted); }
.dash-apps { display: grid; gap: 6px; }
.dash-app {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.dash-app:last-child { border-bottom: 0; }
.dash-app b { display: block; font-size: 13px; }
.dash-app span { font-size: 11px; color: var(--muted); }
.dash-app-amt { text-align: right; }
.dash-app-amt b { font-size: 14px; }

.p-page { display: grid; gap: 10px; }
.p-page .card { padding: 12px 14px; border-radius: 16px; }
.p-page .grid { gap: 10px; }
.p-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.p-card-head h3 { margin: 0; }
.ok-circle {
  width: 22px; height: 22px; border-radius: 50%;
  background: #12b76a; color: #fff;
  display: inline-grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, .16);
}
.ok-circle.sm { width: 16px; height: 16px; box-shadow: none; }
.ok-status { display: inline-flex; align-items: center; gap: 6px; color: #0b6b48; }
.p-page h3 { margin: 0 0 8px; font-size: 13px; }
.p-head { display: flex; gap: 12px; align-items: center; }
.p-avatar { width: 52px; height: 52px; font-size: 16px; }
.p-head-main { min-width: 0; flex: 1; }
.p-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.p-name-row h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.p-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.p-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 10px; }
.p-facts div { min-width: 0; }
.p-facts .wide { grid-column: 1 / -1; }
.p-facts span { display: block; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.p-facts b { font-size: 13px; line-height: 1.3; word-break: break-word; }
.p-email { margin-top: 10px; }
.p-email-row { display: flex; gap: 8px; }
.p-email-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.p-email #email-otp-wrap { margin-top: 10px; display: grid; gap: 8px; }
.p-email #email-otp-wrap.hidden { display: none; }
.p-email .otp-preview { margin: 0; padding: 8px 10px; }
.p-email .otp-row input { height: 42px; }
.verify-check { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #0b6b48; font-size: 12px; font-weight: 700; }
.verify-check input { width: 15px; height: 15px; accent-color: #0f9d6a; pointer-events: none; }
.p-sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.p-sec-head h3 { margin: 0; }
.p-sec-head a { font-size: 12px; font-weight: 700; color: var(--navy); }
.p-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-thumb {
  border: 0; background: #faf7f1; border-radius: 12px; padding: 8px;
  cursor: pointer; text-align: left; width: 100%;
}
.p-thumb.empty { cursor: default; opacity: .7; }
.p-thumb img, .doc-thumb img {
  height: 72px; width: 100%; object-fit: cover; border-radius: 8px; display: block;
}
.p-thumb b, .doc-thumb + b { display: block; font-size: 12px; margin-top: 6px; }
.pdf-mark {
  display: grid; place-items: center; height: 72px; background: #efe8dc;
  border-radius: 8px; font-weight: 800; color: var(--navy);
}
.doc-thumb { margin-top: 8px; cursor: zoom-in; }
.stmt-pass {
  width: 100%; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font-size: 13px;
}
.pass-eye { position: relative; width: 100%; margin-top: 6px; }
.pass-eye .stmt-pass { margin-top: 0; padding-right: 36px; }
.pass-eye-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; background: none; color: #5b6b7c;
  cursor: pointer; display: grid; place-items: center; padding: 0;
}
.pass-eye-btn .eye-off { display: none; }
.pass-eye-btn.is-on .eye-on { display: none; }
.pass-eye-btn.is-on .eye-off { display: block; }
.doc-lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(11, 31, 59, .84);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.doc-lightbox.hidden { display: none !important; }
.doc-lightbox img, .doc-lightbox iframe, .doc-lightbox canvas {
  display: none; max-width: min(92vw, 880px); max-height: 86vh; border-radius: 12px; background: #fff;
}
.doc-lightbox iframe { width: min(92vw, 880px); height: 86vh; border: 0; }
.doc-lightbox canvas { display: none; }
.doc-pdf-pass {
  width: min(100%, 360px); background: #fff; border-radius: 16px; padding: 18px;
  display: grid; gap: 10px; text-align: left; color: var(--navy);
}
.doc-pdf-pass.hidden { display: none !important; }
.doc-pdf-pass p { margin: 0; font-size: 13px; color: var(--muted); }
.doc-pdf-pass input[type="password"] {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.doc-lightbox-close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: #fff; color: var(--navy);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.p-selfie { display: grid; grid-template-columns: 88px 1fr; gap: 10px; align-items: start; }
.p-selfie img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.p-cam { margin-top: 10px; }
.p-cam-box { max-height: 220px; max-width: 180px; margin: 0; }
.icon-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #efe8dc; color: var(--navy); display: grid; place-items: center; cursor: pointer;
}
.icon-btn.primary { background: var(--navy); color: #fff; }
.icon-btn.hidden { display: none; }
.p-selfie .p-facts { margin-top: 0; }
.p-facts-3 { grid-template-columns: 1fr 1fr 1fr; }
.p-facts-4 { grid-template-columns: repeat(4, 1fr); }
.p-mini .card { min-height: 100%; }
.p-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.p-chips i {
  display: inline-flex; flex-direction: column; gap: 1px;
  background: #faf7f1; border-radius: 10px; padding: 6px 8px;
  font-style: normal; min-width: 86px;
}
.p-chips em { font-size: 9px; font-style: normal; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.p-chips b { font-size: 12px; font-weight: 700; }
.p-dev { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: start; }
.p-dev img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.p-dev-line { margin: 6px 0 0; font-size: 12px; line-height: 1.35; }
.toggle-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-top: 10px; }
.toggle-row input { width: 16px; height: 16px; accent-color: var(--navy); }
.addr-box { margin-top: 8px; display: grid; gap: 8px; }
.addr-box.hidden { display: none; }
.addr-box textarea, .addr-row input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit;
}
.addr-row { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 6px; }
.addr-row select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; background: #fff;
}
.addr-locked { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.dash-viz { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 10px; }
.dash-ring { display: grid; justify-items: center; text-align: center; }
.dash-ring-wrap { position: relative; width: 132px; height: 132px; }
.dash-ring-val {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-size: 28px;
}
.dash-ring b { margin-top: 4px; font-size: 13px; }
.dash-ring span { font-size: 11px; color: var(--muted); }
.dash-chart { height: 160px; }
.p-note { font-size: 12px; margin: 0; padding: 8px 10px; background: #fff6e8; border-radius: 10px; }
.apply-banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 14px; }
.apply-banner p { margin: 0; flex: 1; min-width: 220px; }
.p-sec-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.app-page { display: grid; gap: 10px; }
.app-page .card { padding: 12px 14px; border-radius: 16px; }
.app-page h3 { margin: 0 0 8px; font-size: 13px; }
.app-hero {
  background:
    radial-gradient(420px 140px at 100% 0%, rgba(232,163,23,.22), transparent 52%),
    linear-gradient(135deg, #0b1f3b, #1a4a6d 62%, #0f9d8e);
  color: #fff;
}
.app-hero .p-meta, .app-hero .p-facts span { color: rgba(255,255,255,.72); }
.app-hero .p-facts b { color: #fff; }
.app-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.app-amt { font-family: var(--display); font-size: 30px; line-height: 1.1; margin-top: 6px; }
.app-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.app-track > div {
  background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-sm);
}
.app-track i {
  display: block; width: 8px; height: 8px; border-radius: 50%; background: #d9d0c2; margin-bottom: 6px;
}
.app-track .on i { background: var(--teal); }
.app-track b { display: block; font-size: 13px; }
.app-track span { font-size: 11px; color: var(--muted); }
.app-selfie { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.app-selfie img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; cursor: zoom-in; }
.app-selfie span { font-size: 11px; color: var(--muted); }
.app-docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-doc { background: #faf7f1; border-radius: 12px; padding: 8px; }
.app-doc b { display: block; font-size: 12px; margin-top: 6px; }
.app-doc-preview {
  position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in;
}
.app-doc-preview img { height: 92px; width: 100%; object-fit: cover; border-radius: 8px; display: block; }
.app-doc-preview .pdf-mark { height: 92px; }
.app-doc-view {
  position: absolute; right: 6px; bottom: 6px; background: rgba(11,31,59,.86); color: #fff;
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 999px;
}
.app-miss { padding: 10px 8px; border-radius: 12px; min-height: 132px; place-items: center; }
.app-miss.need { border-color: #e8a317; background: #fff8e8; }
.app-miss .stmt-pass { margin-top: 4px; }

.checklist { display: grid; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #faf7f1;
}
.check .dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: #efe8dc;
}
.check.done .dot { background: #d9f3e8; color: #0b6b48; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px;
  font-weight: 800; cursor: pointer;
}
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.range { width: 100%; accent-color: var(--navy); }
.money { font-family: var(--display); font-size: 40px; margin: 8px 0; }

.upload {
  border: 1.5px dashed #d9d0c2; border-radius: 18px; padding: 18px; background: #faf7f1;
  display: grid; gap: 8px; text-align: center;
}
.upload-pick { display: grid; gap: 6px; place-items: center; cursor: pointer; width: 100%; }
.upload input[type="file"] { display: none; }
.upload.done { border-color: #0f9d6a; background: #f1fbf6; }
.doc-preview { height: 86px; object-fit: cover; border-radius: 12px; margin: 0 auto; }

.docs-page { display: grid; gap: 10px; }
.docs-page .card { padding: 12px 14px; border-radius: 16px; }
.docs-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.docs-grid + .docs-grid { margin-top: 10px; }
.docs-tile { background: #faf7f1; border-radius: 12px; padding: 6px; min-width: 0; }
.docs-tile b { display: block; font-size: 11px; margin-top: 4px; line-height: 1.25; }
.docs-thumb {
  position: relative; display: block; width: 100%; border: 0; padding: 0; background: none; cursor: zoom-in;
}
.docs-thumb img, .docs-thumb .pdf-mark { height: 56px; width: 100%; object-fit: cover; border-radius: 8px; display: block; }
.docs-thumb .pdf-mark { font-size: 11px; }
.docs-tile.upload {
  padding: 8px 6px; border-radius: 12px; min-height: 0; gap: 4px; place-items: center;
}
.docs-plus {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #efe8dc; color: var(--navy); font-size: 22px; font-weight: 700;
}
.docs-tile .up-status { font-size: 10px; font-weight: 700; color: var(--muted); }
.docs-tile .stmt-pass { margin-top: 2px; padding: 5px 6px; font-size: 11px; border-radius: 8px; }
#new-stmt-upload.is-focus { box-shadow: 0 0 0 2px #e8a317; }
.stmt-verify {
  width: auto; min-width: 0; padding: 4px 10px; font-size: 10px; font-weight: 800;
  border-radius: 999px; margin-top: 4px; line-height: 1.2;
}
.stmt-progress {
  margin-top: 10px; background: #faf7f1; border-radius: 12px; padding: 10px 12px;
}
.stmt-progress-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.stmt-progress-head b { font-size: 12px; }
.stmt-progress-head span { font-size: 11px; font-weight: 800; color: var(--navy); }
.stmt-progress-bar { height: 7px; background: #efe8dc; border-radius: 99px; overflow: hidden; }
.stmt-progress-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 99px; transition: width .35s ease; }
.stmt-progress p { margin: 6px 0 0; }
.stmt-progress.is-ok .stmt-progress-bar i { background: #0f9d8e; }
.stmt-progress.is-bad .stmt-progress-bar i { background: var(--bad); }
.stmt-progress.is-wait .stmt-progress-bar i { background: var(--gold); }
.stmt-json { margin-top: 8px; background: #faf7f1; border-radius: 10px; padding: 8px 10px; }
.stmt-json summary { cursor: pointer; font-size: 12px; font-weight: 800; }
.stmt-json pre {
  margin: 8px 0 0; max-height: 240px; overflow: auto; font-size: 11px; line-height: 1.4;
  background: #fff; border-radius: 8px; padding: 8px; white-space: pre-wrap; word-break: break-word;
}
.docs-cta { display: flex; justify-content: flex-end; }
.fin-report .tkt-meta { padding: 0; margin-top: 6px; }
.fin-block { margin-top: 10px; }
.fin-label { display: block; font-size: 11px; color: var(--muted); }
.fin-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fin-months { display: grid; gap: 6px; margin-top: 6px; }
.fin-months div { background: #faf7f1; border-radius: 10px; padding: 7px 8px; }
.fin-months span { display: block; font-size: 11px; font-weight: 800; }
.fin-months b { font-size: 11px; margin-right: 8px; }
.fin-months small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }

.help-page .field { margin-bottom: 10px; gap: 5px; }
.help-page .field input, .help-page .field select, .help-page .field textarea { padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.faq-list, .tkt-list { display: grid; gap: 6px; }
.faq-item, .tkt-card {
  background: #faf7f1; border-radius: 12px; padding: 0; overflow: hidden;
}
.faq-item summary, .tkt-card summary {
  list-style: none; cursor: pointer; padding: 10px 12px; font-size: 13px; font-weight: 800;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker, .tkt-card summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .tkt-card summary::after {
  content: "+"; font-size: 16px; color: var(--muted); font-weight: 700;
}
.faq-item[open] summary::after, .tkt-card[open] summary::after { content: "–"; }
.faq-item p, .tkt-msg { margin: 0; padding: 0 12px 10px; font-size: 12px; color: var(--muted); }
.tkt-card summary span { min-width: 0; }
.tkt-card summary b { display: block; font-size: 13px; }
.tkt-card summary small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.tkt-card.is-closed { background: #f3faf6; }
.tkt-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px 10px;
}
.tkt-meta div { background: #fff; border-radius: 10px; padding: 7px 8px; }
.tkt-meta span { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }
.tkt-meta b { font-size: 11px; }
.tkt-remarks { margin: 0 12px 10px; background: #fff; border-radius: 10px; padding: 7px 8px; }
.tkt-remarks span { display: block; font-size: 10px; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.tkt-remarks b { font-size: 12px; font-weight: 600; color: var(--ink); }

.bank-page { display: grid; gap: 12px; max-width: 980px; }
.bank-list-card, .bank-add-card { padding: 16px 18px; border-radius: 18px; }
.bank-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bank-section-head h2, .bank-add-card h2 { margin: 0; font-size: 20px; }
.bank-section-head .page-sub, .bank-add-card .page-sub { margin: 4px 0 12px; }
.bank-accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bank-account { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #faf7f1; }
.bank-account.primary { border-color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); }
.bank-account-top, .bank-account-top > div, .bank-badges { display: flex; align-items: center; gap: 8px; }
.bank-account-top { justify-content: space-between; align-items: flex-start; }
.bank-account-top b, .bank-account-top small { display: block; }
.bank-account-top small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.bank-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; flex-shrink: 0;
}
.bank-badges { justify-content: flex-end; flex-wrap: wrap; }
.bank-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 10px; }
.bank-facts div { min-width: 0; }
.bank-facts span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.bank-facts b { display: block; font-size: 12px; word-break: break-word; }
.bank-empty { padding: 14px; border-radius: 12px; background: #faf7f1; color: var(--muted); font-size: 13px; }
.bank-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.bank-primary-choice { max-width: 520px; }

.timeline { display: grid; gap: 0; }
.tl {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; position: relative; padding-bottom: 18px;
}
.tl::before {
  content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--line);
}
.tl:last-child::before { display: none; }
.tl .nub {
  width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--navy);
}

.jbar { margin: 0 0 14px; }
.jbar-name { font-size: 13px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.jbar-track { height: 6px; background: #efe8dc; border-radius: 99px; overflow: hidden; }
.jbar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #0b1f3b); border-radius: 99px; transition: width .35s ease; }
.jbar-steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.jbar-steps li a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.jbar-steps i {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; font-style: normal; background: #efe8dc; color: var(--muted);
}
.jbar-steps b { font-size: 11px; font-weight: 800; color: var(--muted); line-height: 1.2; }
.jbar-steps .on i { background: var(--navy); color: #fff; }
.jbar-steps .on b { color: var(--navy); }
.jbar-steps .done i { background: #0f9d8e; color: #fff; }
.jbar-steps .done b { color: #0b6b48; }
.jbar-steps .wait a { pointer-events: none; }

.obo { display: flex; gap: 8px; margin-bottom: 18px; }
.obo span {
  flex: 1; height: 7px; border-radius: 99px; background: #e6dfd4;
}
.obo span.on { background: var(--navy); }
.obo span.done { background: var(--teal); }

.camera-wrap {
  position: relative; border-radius: 24px; overflow: hidden; background: #0b1f3b; aspect-ratio: 3/4;
  max-height: 420px; max-width: 360px; margin: 0 auto; width: 100%;
}
.camera-wrap video, .camera-wrap canvas, .camera-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.face-guide {
  position: absolute; inset: 12% 16%; border: 3px dashed rgba(255,255,255,.55); border-radius: 50%;
  pointer-events: none;
}
.geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.geo-grid div { background: #faf7f1; border-radius: 14px; padding: 10px 12px; font-size: 12px; }
.geo-grid b { display: block; font-size: 13px; }

.locked {
  opacity: .7; filter: grayscale(.2);
}
.lock-note {
  background: #fff7e6; border: 1px solid #f1d48a; color: #7a5410; padding: 12px 14px; border-radius: 14px;
  font-weight: 700; font-size: 13px; margin-bottom: 14px;
}

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-row.total { border-bottom: 0; font-size: 18px; font-weight: 800; }
.success-mark {
  width: 84px; height: 84px; border-radius: 50%; background: #d9f3e8; color: #0b6b48;
  display: grid; place-items: center; font-size: 36px; margin: 0 auto 12px;
}

.chart-box { height: 220px; }
.sandbox {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800;
  background: rgba(232,163,23,.15); color: #8a5a12; padding: 5px 8px; border-radius: 999px;
}

@media (min-width: 981px) {
  .main { height: 100vh; overflow-y: auto; }
}

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-art { padding: 14px 16px 12px; }
  .auth-art h1, .auth-art p, .auth-foot { display: none; }
  .auth-side-brand { margin-bottom: 10px; }
  .trust-banner { margin-bottom: 10px; }
  .auth-flow { grid-template-columns: repeat(4, 1fr); max-width: 100%; gap: 6px; }
  .auth-flow-card { padding: 8px 4px 6px; }
  .auth-flow-card i { width: 32px; height: 32px; }
  .auth-flow-card i svg { width: 18px; height: 18px; }
  .auth-flow-card b { font-size: 10px; }
  .auth-form { padding: 12px 16px 16px; align-items: flex-start; }
  .auth-card { padding: 16px; border-radius: 20px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .bottom-nav { display: grid; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .p-mini.grid-3 { grid-template-columns: repeat(3, 1fr); }
  .page { padding: 8px 16px 140px; }
  .topbar { padding: 12px 16px; }
  .topbar-brand { display: flex; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .p-mini.grid-3 { grid-template-columns: 1fr; }
  .auth-card { padding: 22px 18px; border-radius: 22px; }
  .hero-card h3 { font-size: 34px; }
  .money { font-size: 34px; }
  .otp-row input { height: 50px; font-size: 18px; }
  .geo-grid { grid-template-columns: 1fr; }
  .p-selfie { grid-template-columns: 72px 1fr; }
  .p-email-row { flex-direction: column; }
  .p-thumbs, .app-docs, .docs-grid { grid-template-columns: 1fr 1fr 1fr; }
  .p-facts-3 { grid-template-columns: 1fr 1fr; }
  .p-facts-4 { grid-template-columns: 1fr 1fr; }
  .loan-form-row { grid-template-columns: 1fr; }
  .loan-doc { flex-direction: column; align-items: flex-start; }
  .app-track { grid-template-columns: 1fr 1fr; }
  .app-hero-top { flex-direction: column; }
  .addr-row { grid-template-columns: 1fr; }
  .p-dev { grid-template-columns: 64px 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-viz { grid-template-columns: 1fr; }
  .jbar-steps b { font-size: 10px; }
  .dash-hero-top { flex-direction: column; }
  .dash-app { grid-template-columns: 1fr auto; }
  .dash-app .badge { grid-column: 2; }
  .bank-accounts, .bank-form-grid { grid-template-columns: 1fr; }
  .bank-section-head, .bank-account-top { flex-direction: column; }
  .bank-badges { justify-content: flex-start; }
}

.loan-page { width: 100%; max-width: 960px; }
.loan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.loan-head h2 { margin: 0; font-size: 18px; }
.loan-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.loan-head .btn { width: auto; flex-shrink: 0; }
.loan-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.loan-pills a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.loan-pills a em { font-style: normal; font-size: 11px; color: var(--muted); }
.loan-pills a.on { background: var(--navy); color: #fff; }
.loan-pills a.on em { color: #efe7d8; }
.loan-list { display: grid; gap: 10px; }
.loan-card {
  display: block; background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-sm);
}
.loan-card:hover { box-shadow: var(--shadow); }
.loan-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.loan-card-top b { display: block; font-size: 15px; }
.loan-card-top span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.loan-card-amt { text-align: right; flex-shrink: 0; }
.loan-card-amt strong { display: block; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.loan-card-amt .badge { margin-top: 6px; font-style: normal; }
.loan-card-amt small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); font-weight: 700; }
.loan-card .p-facts {
  margin-top: 12px; background: #faf7f1; border-radius: 12px; padding: 10px 12px;
}
.loan-card-go {
  display: block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--navy);
}
.loan-empty { padding: 18px 14px; background: #fff; border-radius: 14px; color: var(--muted); font-size: 13px; box-shadow: var(--shadow-sm); }
@media (min-width: 981px) {
  .loan-pills { display: none; }
}
.loan-sec { margin-top: 14px; }
.loan-sec h4 { margin: 0 0 8px; font-size: 13px; }
.loan-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.loan-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 0; }
.loan-table th, .loan-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.loan-table th { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: #faf7f1; }
.loan-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.loan-table tfoot td { font-weight: 700; border-bottom: 0; background: #faf7f1; }
.loan-table tbody tr:last-child td { border-bottom: 0; }
.loan-docs { display: grid; gap: 8px; }
.loan-doc { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #faf7f1; border-radius: 12px; }
.loan-doc b { display: block; font-size: 13px; }
.loan-doc span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.loan-doc-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.loan-doc-actions form { margin: 0; }
.loan-form { margin-top: 14px; }
.loan-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
