:root {
  --navy: #006849;
  --blue: #00583f;
  --ink: #2c2a31;
  --muted: #7d7480;
  --surface: #f7fbf8;
  --line: #dce9e4;
  --brand-green-deep: #00533d;
  --brand-green: #006b4b;
  --brand-green-bright: #67c95a;
  --brand-texture: url("/images/ifl-green-texture-v1.jpg");
  --gold: #f2c300;
  --gold-deep: #d79e00;
  --success: #17784f;
  --radius: 18px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: #edf6f1;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #edf6f1; }
html.feedback-open, body.feedback-open { overflow: hidden; }
button, select, input { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid rgba(0, 82, 63, .32); outline-offset: 2px; }
[hidden] { display: none !important; }

.app-shell { position: relative; min-height: 100vh; max-width: 450px; margin: 0 auto; background: var(--surface); box-shadow: 0 0 42px rgba(0, 83, 61, .14); overflow: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 14px 18px 12px; color: #fff; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; color: #fff; text-decoration: none; }
.brand-logo { display: block; flex: 0 0 48px; width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.9); border-radius: 13px; object-fit: cover; object-position: center; background: #fff; box-shadow: 0 5px 14px rgba(0, 28, 20, .28), 0 0 0 1px rgba(255, 218, 75, .12); animation: brand-logo-glow 3.8s ease-in-out infinite; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--gold); border-radius: 13px 4px 13px 4px; color: var(--gold); font-size: 22px; font-weight: 800; transform: rotate(-7deg); }
.brand-copy { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.brand-copy strong { color: #fff; font-size: 18px; font-weight: 900; line-height: 1.15; letter-spacing: .055em; white-space: nowrap; text-shadow: 0 2px 5px rgba(0, 25, 18, .34); animation: brand-title-glow 3.8s ease-in-out infinite; }
.brand-copy small { color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .12em; }
@keyframes brand-logo-glow {
  0%, 100% { filter: brightness(1) saturate(1); box-shadow: 0 5px 14px rgba(0, 28, 20, .28), 0 0 0 1px rgba(255, 218, 75, .12); }
  50% { filter: brightness(1.09) saturate(1.08); box-shadow: 0 6px 16px rgba(0, 28, 20, .34), 0 0 13px rgba(255, 221, 101, .38), 0 0 0 1px rgba(255,255,255,.38); }
}
@keyframes brand-title-glow {
  0%, 100% { text-shadow: 0 2px 5px rgba(0, 25, 18, .34), 0 0 0 rgba(255,255,255,0); }
  50% { text-shadow: 0 2px 5px rgba(0, 25, 18, .34), 0 0 9px rgba(255,255,255,.42); }
}
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.language-select { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.48); border-radius: 18px; background: rgba(255,255,255,.04); }
.language-select select { max-width: 84px; border: 0; color: #fff; background: transparent; font-size: 12px; appearance: none; }
.language-select select option { color: var(--ink); background: #fff; }
.globe { color: var(--gold); font-size: 17px; line-height: 1; }
.icon-button, .settings-button { position: relative; color: #fff; background: transparent; font-size: 27px; line-height: 1; }
.bell-dot { position: absolute; width: 7px; height: 7px; right: 2px; top: 0; border-radius: 50%; background: var(--gold); }

main { padding-bottom: 78px; }
.view { animation: fade-in .22s ease both; }
.hidden { display: none !important; }
@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.auth-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 22px; background: rgba(4, 22, 55, .58); backdrop-filter: blur(5px); }
.auth-dialog { position: relative; width: min(100%, 390px); padding: 25px 20px 20px; border-radius: 20px; background: #fff; box-shadow: 0 18px 42px rgba(2, 25, 65, .25); }
.auth-dialog h2 { margin: 4px 0 8px; color: var(--navy); font-size: 23px; }
.auth-help { margin: 0 0 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.auth-close { position: absolute; top: 10px; right: 13px; width: 30px; height: 30px; border-radius: 50%; color: #7f8da4; background: #f1f4f8; font-size: 22px; line-height: 1; }
.auth-field { display: grid; gap: 6px; margin-top: 12px; color: #52627c; font-size: 12px; }
.auth-field input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid #d7e0ec; border-radius: 10px; color: var(--ink); background: #f8faff; }
.auth-captcha-row { display: grid; grid-template-columns: minmax(0, 1fr) 134px; gap: 10px; align-items: end; }
.auth-captcha-input { min-width: 0; }
.auth-captcha-input input { min-height:44px; font-size:16px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.auth-captcha-refresh { position: relative; display: grid; min-height: 50px; margin-top: 12px; padding: 2px; place-items: center; overflow: hidden; border: 1px solid #b9cec6; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,104,73,.04), 0 4px 12px rgba(0,83,61,.07); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.auth-captcha-refresh:hover { border-color: #5b9f8b; box-shadow: inset 0 0 0 1px rgba(0,104,73,.06), 0 6px 15px rgba(0,83,61,.12); transform: translateY(-1px); }
.auth-captcha-refresh:focus-visible { border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(0,104,73,.16); }
.auth-captcha-refresh img { display: block; width: 128px; max-width: 100%; height: 44px; object-fit: contain; image-rendering: auto; }
.auth-captcha-refresh img:not([src]), .auth-captcha-refresh.is-loading img { visibility: hidden; }
.auth-captcha-refresh.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid #d6e1ef; border-top-color: var(--blue); border-radius: 50%; animation: captcha-spin .72s linear infinite; }
@keyframes captcha-spin { to { transform: rotate(360deg); } }
.auth-mode-switch { display: flex; justify-content: center; gap: 5px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.auth-mode-switch button { padding: 0; color: var(--blue); font-size: 12px; font-weight: 700; }
.auth-submit { width: 100%; margin: 20px 0 0; justify-content: center; }
.auth-status { min-height: 17px; margin: 10px 0 0; color: #c34c45; font-size: 11px; text-align: center; }
.install-app-entry { display:flex; justify-content:center; margin-top:12px; }
.install-app-entry-auth { margin-top:13px; }
.install-app-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:39px; padding:0 15px; border:1px solid rgba(0,107,79,.25); border-radius:10px; color:#006b4f; background:#f1faf6; font-size:12px; font-weight:800; }
.install-app-button:hover { border-color:rgba(0,107,79,.45); background:#e6f6ef; }
.install-app-button:active { transform:translateY(1px); }
.install-app-button-icon { display:grid; place-items:center; width:20px; height:20px; border-radius:6px; color:#fff; background:#08784b; font-size:14px; font-weight:900; line-height:1; }
.install-app-button-guest { width:calc(100% - 28px); margin:10px 14px 0; }
.install-app-entry-account { margin:14px 14px 0; }
.install-app-entry-account .install-app-button { width:100%; }

.hero { position: relative; aspect-ratio: 16 / 9; height: auto; color: #fff; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; padding: 42px 24px 30px; opacity: 0; background-image: linear-gradient(90deg, rgba(117, 4, 49, .96) 0%, rgba(70, 16, 49, .82) 42%, rgba(0, 64, 48, .16) 100%), var(--hero-image); background-position: center; background-size: cover; transition: opacity .42s ease; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-image-slide { display: grid; place-items: center; padding: 0; background: var(--navy); cursor: pointer; }
.hero-image-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image-slide:focus-visible { outline: 3px solid #f2c300; outline-offset: -3px; }
.hero-copy { max-width: 73%; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; margin-bottom: 14px; color: #f1d28d; font-size: 12px; letter-spacing: .08em; }
.hero h1 { margin: 0 0 8px; font-size: clamp(26px, 7vw, 32px); line-height: 1.1; letter-spacing: .01em; }
.hero p { margin: 0 0 20px; color: rgba(255,255,255,.78); font-size: 14px; }
.gold-button, .primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; padding: 0 19px; border-radius: 12px; color: #1e2c45; background: linear-gradient(135deg, #f6dda4, var(--gold)); box-shadow: 0 9px 18px rgba(38, 38, 38, .12); font-weight: 800; }
.gold-button { min-width: 202px; }
.gold-button span:last-child, .outline-button span:last-child { font-size: 24px; font-weight: 400; line-height: 0; }
.hero-controls { position: absolute; z-index: 3; bottom: 12px; left: 17px; right: 17px; display: flex; align-items: center; justify-content: space-between; }
.hero-arrow { width: 30px; height: 30px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.13); font-size: 24px; line-height: 24px; }
.hero-dots { display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; padding: 0; border-radius: 9px; background: rgba(255,255,255,.38); transition: all .24s ease; }
.dot.active { width: 22px; background: var(--gold); }

.funding-feed { margin:13px 8px 4px; padding:12px 13px 9px; overflow:hidden; border:1px solid rgba(0,107,75,.15); border-radius:15px; color:#425477; background:linear-gradient(145deg,#fff 0%,#f6fbf8 100%); box-shadow:0 7px 18px rgba(0,83,61,.07); }
.funding-feed-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:7px; }
.funding-feed-heading { display:flex; min-width:0; align-items:center; gap:8px; }
.funding-feed-heading strong { overflow:hidden; color:var(--brand-green-deep); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.notice-icon { display:grid; flex:0 0 auto; place-items:center; width:23px; height:23px; border-radius:8px; color:#fff; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-position:center; background-size:cover; box-shadow:0 4px 9px rgba(0,83,61,.2); font-size:12px; font-weight:900; }
.breaking-badge { position:relative; display:inline-flex; flex:0 0 auto; min-height:24px; align-items:center; overflow:hidden; padding:0 9px; border:1px solid rgba(255,222,148,.62); border-radius:7px; color:#fff7dc; background:linear-gradient(135deg,#d51827,#990018 68%,#680012); box-shadow:0 4px 10px rgba(164,0,27,.2); font-size:10px; font-weight:900; letter-spacing:.04em; }
.breaking-badge::after { position:absolute; top:-10px; left:-30px; width:16px; height:44px; content:""; background:rgba(255,255,255,.55); filter:blur(1px); transform:rotate(22deg); animation:breakingShine 2.8s ease-in-out infinite; }
.funding-ticker { position:relative; height:84px; overflow:hidden; border-top:1px solid rgba(0,107,75,.1); border-bottom:1px solid rgba(0,107,75,.08); }
.funding-ticker::before, .funding-ticker::after { position:absolute; z-index:2; right:0; left:0; height:9px; pointer-events:none; content:""; }
.funding-ticker::before { top:0; background:linear-gradient(180deg,#fffaf5,rgba(255,250,245,0)); }
.funding-ticker::after { bottom:0; background:linear-gradient(0deg,#fffaf5,rgba(255,250,245,0)); }
.funding-ticker-track { will-change:transform; animation:fundingTickerScroll 285s linear infinite; }
.funding-ticker:hover .funding-ticker-track, .funding-ticker:focus-within .funding-ticker-track { animation-play-state:paused; }
.funding-ticker-item { display:flex; height:28px; align-items:center; gap:7px; overflow:hidden; color:#58677d; font-size:10px; line-height:1.3; white-space:nowrap; }
.funding-ticker-item::before { flex:0 0 auto; width:5px; height:5px; border-radius:50%; content:""; background:#d09a27; box-shadow:0 0 0 3px rgba(208,154,39,.12); }
.funding-ticker-item span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.funding-ticker-item strong, .funding-ticker-item span:last-child { flex:0 0 auto; }
.funding-ticker-item strong { color:#850036; font-size:10.5px; font-weight:800; }
.funding-feed-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:7px; color:#9a8790; font-size:8.5px; }
.live-indicator { display:inline-flex; flex:0 0 auto; align-items:center; gap:5px; color:var(--brand-green-deep); font-weight:800; }
.live-indicator i { width:6px; height:6px; border-radius:50%; background:#20a867; box-shadow:0 0 0 0 rgba(32,168,103,.35); animation:livePulse 1.8s ease-out infinite; }
@keyframes breakingShine { 0%,54% { left:-30px; opacity:0; } 64% { opacity:.75; } 82%,100% { left:calc(100% + 24px); opacity:0; } }
@keyframes livePulse { 0% { box-shadow:0 0 0 0 rgba(32,168,103,.38); } 70% { box-shadow:0 0 0 6px rgba(32,168,103,0); } 100% { box-shadow:0 0 0 0 rgba(32,168,103,0); } }
@keyframes fundingTickerScroll { from { transform:translateY(0); } to { transform:translateY(-50%); } }
@media (prefers-reduced-motion:reduce) { .breaking-badge::after, .live-indicator i, .funding-ticker-track { animation:none; } }

.section-block, .calculator-card, .trust-strip, .page-header, .product-tabs, .product-detail, .requirement-card, .account-summary, .account-hero, .balance-card, .todo-card, .history-card, .account-menu { margin-left: 14px; margin-right: 14px; }
.section-block { padding: 16px 0 3px; }
.home-primary { padding-bottom: 2px; }
.home-service-zone, .home-about-zone { margin-top: 19px; padding-top: 15px; border-top: 1px solid rgba(0, 107, 75, .12); }
.home-zone-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 14px 10px; }
.home-zone-heading h2 { margin: 0; color: var(--navy); font-size: 20px; }
.home-zone-index { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 22px; border-radius: 8px; color: #4f7c6d; background: #e7f4ed; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.home-service-zone .membership-card, .home-service-zone .manager-card { margin-top: 0; }
.home-service-zone .trust-strip { margin-top: 10px; }
.home-about-zone .company-card, .home-about-zone .company-profile-card, .home-about-zone .qualification-card { margin-top: 10px; }
.home-info-hub { margin: 19px 14px 8px; padding-top: 15px; border-top: 1px solid rgba(0,107,75,.12); }
.home-info-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:11px; }
.home-info-heading h2 { margin:0; color:var(--navy); font-size:20px; }
.home-info-heading p { margin:4px 0 0; color:var(--muted); font-size:10px; }
.home-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.home-info-button { position:relative; display:grid; min-width:0; min-height:112px; grid-template-columns:46px 1fr; align-items:center; gap:9px; padding:13px 25px 13px 12px; overflow:hidden; border:1px solid rgba(0,107,75,.09); border-radius:16px; color:var(--ink); background:#fff; box-shadow:0 7px 17px rgba(0,83,61,.055); text-align:left; transition:transform .18s ease,box-shadow .18s ease; }
.home-info-button:active { transform:scale(.985); }
.home-info-button > span:nth-child(2) { display:grid; min-width:0; gap:4px; }
.home-info-button strong { color:var(--navy); font-size:13px; line-height:1.3; }
.home-info-button small { color:var(--muted); font-size:9px; line-height:1.45; }
.home-info-button > b { position:absolute; right:10px; color:#a98338; font-size:21px; font-weight:400; }
.home-info-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:13px; color:#fff; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-position:center; background-size:cover; box-shadow:0 5px 12px rgba(0,83,61,.2); font-size:18px; font-weight:900; }
.home-info-image { display:block; width:46px; height:46px; overflow:hidden; border:2px solid rgba(255,255,255,.9); border-radius:14px; background:#e9f4ef; box-shadow:0 6px 13px rgba(0,83,61,.18); }
.home-info-image img { display:block; width:100%; height:100%; object-fit:cover; }
.home-info-button.qualifications { background:linear-gradient(145deg,#fff,#fff9e9); }
.home-info-button.qualifications .home-info-icon,.home-info-button.membership .home-info-icon { color:#6f3f00; background:linear-gradient(145deg,#f8dfa0,#f2c300); }
.home-info-button.services { background:linear-gradient(145deg,#fff,#f2faf6); }
.home-info-button.services .home-info-icon { background:linear-gradient(145deg,#08705a,#00523f); }
.home-info-button.membership { background:linear-gradient(145deg,#fffdf8,#fff5d6); }
.info-page { min-height:calc(100vh - 154px); padding:0 0 24px; }
.info-page-header { display:grid; grid-template-columns:42px 1fr; gap:11px; align-items:start; margin:0 14px 14px; padding:21px 0 14px; border-bottom:1px solid var(--line); }
.info-page-header > button { display:grid; place-items:center; width:38px; height:38px; border:1px solid #e4d5dc; border-radius:13px; color:var(--navy); background:#fff; box-shadow:0 5px 12px rgba(91,4,39,.06); font-size:26px; line-height:1; }
.info-page-header h1 { margin:0; color:var(--navy); font-size:23px; line-height:1.25; }
.info-page-header p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.55; }
.info-page > .membership-card,.info-page > .manager-card,.info-page > .company-card,.info-page > .company-profile-card,.info-page > .qualification-card { margin-top:0; }
.membership-promo-banner {
  display:block;
  width:calc(100% - 28px);
  margin:0 14px 14px;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:18px;
  background:#a90025;
  box-shadow:0 12px 28px rgba(112,0,28,.2);
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
}
.membership-promo-banner img { display:block; width:100%; height:auto; }
.membership-promo-banner:active { transform:scale(.988); }
.membership-promo-banner:focus-visible { outline:3px solid rgba(229,184,72,.72); outline-offset:3px; }
.service-assurance-card { margin:0 14px 12px; padding:4px 14px 14px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 18px rgba(91,4,39,.05); }
.info-page > .trust-strip { margin-top:0; }
.info-page > .manager-card { margin-top:12px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 13px; }
.section-heading.compact { align-items: center; }
.section-kicker { display: block; margin-bottom: 4px; color: #8795aa; font-size: 11px; letter-spacing: .04em; }
h1, h2, p { margin-top: 0; }
.section-heading h2, .page-header h1 { margin: 0; color: var(--navy); font-size: 20px; }
.text-button { padding: 4px 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; }
.product-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card { display: grid; grid-template-columns:45px minmax(0,1fr) 13px; grid-template-rows:auto auto; align-items:center; column-gap:9px; row-gap:10px; width:100%; min-height:148px; padding:12px 10px; border-radius:15px; text-align:left; transition:transform .18s ease,box-shadow .18s ease; }
.product-card:active { transform: scale(.985); }
.product-card.credit { background: #e9f5ef; }
.product-card.business { background: #edf3fc; }
.product-card.enterprise { background: #f5f0ff; }
.product-card.secured { background: #fff0f4; }
.product-image { display: block; flex: 0 0 45px; width: 45px; height: 45px; overflow: hidden; border: 2px solid rgba(255,255,255,.86); border-radius: 13px; box-shadow: 0 5px 12px rgba(12, 35, 72, .14); background: #dce8f4; }
.product-image img, .detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.product-copy strong { color: var(--navy); font-size: 14px; line-height: 1.25; }
.business .product-copy strong { color: #285d91; }
.enterprise .product-copy strong { color: #5b3f8d; }
.secured .product-copy strong { color: #76551a; }
.product-copy small { display:-webkit-box; overflow:hidden; color: var(--muted); font-size: 10px; line-height: 1.35; -webkit-box-orient:vertical; -webkit-line-clamp:1; }
.product-limit { display:flex; grid-column:1 / -1; min-width:0; flex-direction:column; gap:3px; padding-top:8px; border-top:1px solid rgba(85,110,126,.12); }
.product-limit[hidden] { display:none; }
.product-limit em { color:#8b98a8; font-size:8px; font-style:normal; font-weight:650; line-height:1.2; }
.product-limit b { display:grid; grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr); align-items:end; gap:4px; min-width:0; color:var(--brand-green-deep); letter-spacing:-.01em; line-height:1.15; font-variant-numeric:tabular-nums; }
.product-limit-side { display:grid; gap:2px; min-width:0; }
.product-limit-side small { color:#8b98a8; font-size:7px; font-weight:650; letter-spacing:0; line-height:1; }
.product-limit-high { text-align:right; }
.product-limit-amount { display:block; min-width:0; overflow:hidden; font-size:clamp(7px,1.9vw,9.5px); font-weight:850; text-overflow:ellipsis; white-space:nowrap; }
.product-limit-divider { align-self:end; padding-bottom:1px; font-size:9px; font-style:normal; font-weight:700; opacity:.45; text-align:center; }
.business .product-limit b { color:#285d91; }
.enterprise .product-limit b { color:#5b3f8d; }
.secured .product-limit b { color:#76551a; }
.product-arrow { color: var(--blue); font-size: 25px; font-weight: 300; }
.business .product-arrow { color: #3677b8; }
.enterprise .product-arrow { color: #7753b6; }
.secured .product-arrow { color: var(--gold-deep); }

.calculator-card { margin-top: 17px; padding: 17px 16px 15px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 7px 18px rgba(14, 51, 102, .045); }
.info-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid #8fa5c3; border-radius: 50%; color: #6f84a1; font-size: 11px; font-weight: 700; }
.calc-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0 6px; color: #465675; font-size: 13px; }
.calc-row strong { color: var(--navy); font-size: 22px; }
.estimate-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 3px 0 12px; }
.estimate-picker { display: grid; gap: 6px; color: #465675; font-size: 12px; }
.estimate-picker select { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #c8d7e9; border-radius: 9px; color: var(--navy); background: #f8faff; font-size: 12px; }
.amount-range { display: block; width: 100%; margin: 10px 0 5px; accent-color: var(--blue); }
.range-labels { display: flex; justify-content: space-between; color: #95a1b4; font-size: 11px; }
.calculator-amount-exact { display:grid; gap:6px; margin-top:9px; padding-top:9px; border-top:1px dashed #dce5ef; }
.calculator-amount-exact label { display:flex; align-items:baseline; justify-content:space-between; gap:10px; color:#465675; font-size:11px; }
.calculator-amount-exact label small { color:#95a1b4; font-size:9px; text-align:right; }
.calculator-exact-input { display:flex; align-items:center; min-height:38px; overflow:hidden; border:1px solid #cbd9e8; border-radius:10px; background:#fbfdff; transition:border-color .18s ease,box-shadow .18s ease; }
.calculator-exact-input > span { flex:0 0 auto; padding:0 10px; color:var(--blue); font-size:12px; font-weight:800; }
.calculator-exact-input input { width:100%; min-width:0; height:36px; padding:0 10px 0 0; border:0; outline:0; color:var(--navy); background:transparent; font-size:13px; font-variant-numeric:tabular-nums; }
.calculator-exact-input:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(39,111,184,.12); }
.calculator-exact-input.is-invalid { border-color:#d94b4b; box-shadow:0 0 0 3px rgba(217,75,75,.1); }
.calculator-exact-status { min-height:13px; color:#d94b4b; font-size:10px; line-height:1.3; }
.calculator-exact-status:empty { display:none; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-grid > div { display: flex; min-height: 74px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; border-right: 1px solid var(--line); }
.calc-grid > div:first-child { padding-left: 0; }
.calc-grid > div:last-child { padding-right: 0; border-right: 0; }
.calc-grid span, .calc-grid small { color: #7d8aa0; font-size: 11px; }
.calc-grid strong { color: var(--navy); font-size: 15px; white-space: nowrap; }
.calc-grid strong small { display: inline; margin-left: 2px; }
.outline-button { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 15px; padding: 10px 15px; border: 1px solid var(--blue); border-radius: 11px; color: var(--blue); background: #fff; font-weight: 700; }
.fine-print, .data-note { margin: 11px 0 0; color: #98a4b6; font-size: 10px; text-align: center; line-height: 1.5; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 15px; padding: 13px 7px; border-radius: 14px; background: #eaf6f0; }
.trust-strip > div { display: grid; justify-items: center; gap: 4px; padding: 0 5px; text-align: center; border-right: 1px solid #d8e1ee; }
.trust-strip > div:last-child { border-right: 0; }
.trust-symbol { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--blue); border-radius: 8px; color: var(--blue); font-size: 12px; font-weight: 800; }
.trust-strip strong { color: var(--navy); font-size: 11px; }
.trust-strip small { color: #7c8da6; font-size: 9px; }

.page-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 3px 17px; }
.page-header h1 { font-size: 25px; }
.header-pill { padding: 7px 11px; border: 1px solid #c4d0e2; border-radius: 13px; color: var(--blue); font-size: 12px; font-weight: 800; }
.product-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 4px; border: 1px solid #e0e6ef; border-radius: 14px; background: #fff; }
.tab { min-width: 0; padding: 10px 3px; border-radius: 10px; color: #7e8ba3; background: transparent; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tab.active { color: #fff; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; box-shadow: 0 5px 10px rgba(0,83,61,.18); }
.product-detail { display: grid; grid-template-columns: auto 1fr; gap: 10px 13px; margin-top: 15px; padding: 19px 16px; border-radius: 17px; background: #edf3fc; }
.detail-image { width: 56px; height: 56px; overflow: hidden; border: 2px solid rgba(255,255,255,.9); border-radius: 16px; box-shadow: 0 6px 14px rgba(12, 35, 72, .14); background: #dce8f4; }
.product-detail h2 { margin: 1px 0 4px; color: var(--navy); font-size: 19px; }
.product-detail p { margin: 0; color: #6c7d96; font-size: 13px; }
.detail-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 9px; }
.detail-stats > div { display: grid; gap: 6px; padding: 0 9px; border-right: 1px solid #ccd9ea; }
.detail-stats > div:first-child { padding-left: 0; }
.detail-stats > div:last-child { padding-right: 0; border-right: 0; }
.detail-stats span { color: #7989a0; font-size: 11px; }
.detail-stats strong { color: var(--navy); font-size: 13px; }
.info-note { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 7px; margin-top: 2px !important; padding: 10px; border-radius: 9px; color: #6e7e97 !important; background: rgba(255,255,255,.48); font-size: 10px !important; }
.term-picker { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #71819a; background: rgba(255,255,255,.72); font-size: 11px; }
.term-picker select { min-width: 126px; padding: 6px 8px; border: 1px solid #c8d7e9; border-radius: 8px; color: var(--navy); background: #fff; font-size: 12px; }
.requirement-card { margin-top: 14px; padding: 17px 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.requirement-card h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.line-icon { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--blue); border-radius: 7px; color: var(--blue); font-size: 13px; }
.requirement-card ul { padding: 0; margin: 0; list-style: none; }
.requirement-card li { position: relative; padding: 11px 25px 11px 30px; border-top: 1px solid #edf0f5; color: #4d5e79; font-size: 13px; }
.requirement-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--blue); font-weight: 800; }
.requirement-card li::after { content: "›"; position: absolute; right: 2px; color: #91a0b6; font-size: 22px; font-weight: 300; }
.primary-button { width: calc(100% - 28px); margin: 16px 14px 0; justify-content: center; color: #1e2c45; font-size: 16px; }
@media (max-width: 360px) {
  .tab { font-size: 11px; padding-left: 1px; padding-right: 1px; }
}
.auth-dialog .auth-submit { width: 100%; margin: 20px 0 0; }
.panel-modal { position: fixed; top:0; right:0; bottom:0; left:0; inset: 0; z-index: 41; display:block; overflow-y:auto; -webkit-overflow-scrolling:touch; padding: 22px; background: rgba(4, 22, 55, .58); backdrop-filter: blur(5px); display: grid; place-items: center; }
.panel-dialog { position: relative; width:100%; max-width:390px; width: min(100%, 390px); max-height:78vh; max-height: min(78vh, 620px); overflow:auto; -webkit-overflow-scrolling:touch; margin:22px auto; padding: 25px 20px 20px; border-radius: 20px; background: #fff; box-shadow: 0 18px 42px rgba(2, 25, 65, .25); }
.panel-dialog h2 { margin: 4px 0 8px; color: var(--navy); font-size: 23px; }
.feedback-modal { z-index: 80; width: 100vw; min-height: 100vh; min-height: 100dvh; }
.feedback-dialog { width: min(100%, 350px); padding: 30px 24px 24px; overflow: visible; text-align: center; }
.feedback-dialog .section-kicker { display: block; margin-top: 13px; color: #67809a; }
.feedback-dialog h2 { margin: 5px 0 10px; color: #006b51; }
.feedback-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; border: 7px solid #e3f5ed; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #0d9869, #006b51); box-shadow: 0 9px 22px rgba(0, 107, 81, .22); font-size: 28px; font-weight: 800; line-height: 1; }
.feedback-message { margin: 0; color: #44566d; font-size: 14px; line-height: 1.75; }
.install-app-dialog { width:min(100%, 360px); padding:27px 22px 22px; text-align:center; }
.install-app-icon-large { display:block; width:74px; height:74px; margin:0 auto 11px; border-radius:18px; box-shadow:0 8px 18px rgba(0,72,52,.16); }
.install-app-dialog .section-kicker { display:block; color:#67809a; }
.install-app-dialog h2 { margin:5px 0 9px; color:#006b51; font-size:22px; }
.install-app-instructions { margin:14px 0 0; padding:12px 13px; border:1px solid #dcece5; border-radius:11px; color:#315e50; background:#f4fbf8; font-size:12px; line-height:1.7; text-align:left; white-space:pre-line; }
.install-app-done { width:100%; margin:16px 0 0; }
.feedback-confirm { width: 100%; margin: 20px 0 0; }
.identity-dialog { max-height:90vh; max-height:min(90vh, 780px); overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.identity-steps { display:grid; grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr; align-items:start; margin:18px 0 10px; }
.identity-steps > i { height:2px; margin-top:16px; background:#dfe6f0; }
.identity-step-tab { display:grid; justify-items:center; gap:6px; min-width:0; padding:0; color:#8b98aa; background:transparent; font-size:10px; line-height:1.25; text-align:center; }
.identity-step-tab span { display:grid; place-items:center; width:32px; height:32px; border:1px solid #d9e1ec; border-radius:50%; color:#71819a; background:#f5f7fb; font-size:12px; font-weight:800; transition:.2s ease; }
.identity-step-tab small { display:block; max-width:82px; font-size:10px; font-weight:700; }
.identity-step-tab.active { color:var(--navy); }
.identity-step-tab.active span { border-color:var(--brand-green); color:#fff; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-position:center; background-size:cover; box-shadow:0 7px 16px rgba(0,107,75,.2); }
.identity-step-tab.completed { color:var(--brand-green); }
.identity-step-tab.completed span { border-color:#d9b35d; color:#7a0033; background:#fff4d4; }
.identity-step-tab:disabled { cursor:not-allowed; opacity:.62; }
.identity-step-panel { animation:identityStepIn .2s ease; }
.identity-step-panel[hidden] { display:none; }
@keyframes identityStepIn { from { opacity:0; transform:translateX(8px); } to { opacity:1; transform:none; } }
.identity-step-heading { display:grid; gap:4px; margin:12px 0 3px; padding:11px 12px; border-left:3px solid var(--brand-green); border-radius:0 10px 10px 0; background:#f1faf5; }
.identity-step-heading strong { color:var(--navy); font-size:14px; }
.identity-step-heading small { color:#8190a5; font-size:10px; line-height:1.5; }
.identity-locked-notice { display:grid; grid-template-columns:34px 1fr; gap:10px; margin:13px 0 15px; padding:12px; border:1px solid rgba(0,104,73,.2); border-radius:13px; background:#eff9f5; }
.identity-locked-notice[hidden] { display:none; }
.identity-locked-notice > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#fff; background:var(--brand-green-deep); font-size:16px; font-weight:900; }
.identity-locked-notice strong { display:block; color:var(--brand-green-deep); font-size:13px; }
.identity-locked-notice p { margin:3px 0 0; color:#567169; font-size:10px; line-height:1.55; }
.identity-locked-notice button { grid-column:2; justify-self:start; padding:8px 13px; border:1px solid rgba(0,104,73,.25); border-radius:9px; color:var(--brand-green-deep); background:#fff; font-size:11px; font-weight:800; }
.identity-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.identity-grid .auth-field { min-width:0; }
.identity-form .auth-field select { width:100%; min-height:44px; padding:0 13px; border:1px solid #d7e0ec; border-radius:10px; color:var(--ink); background:#f8faff; }
.identity-form .auth-field select:focus { border-color:#08784b; outline:0; box-shadow:0 0 0 3px rgba(8,120,75,.12); }
.identity-loan-application { display:grid; gap:10px; margin-top:12px; }
.identity-loan-application .auth-field { margin-top:0; }
.identity-loan-application .auth-field select { width:100%; min-height:44px; padding:0 13px; border:1px solid #d7e0ec; border-radius:10px; color:var(--ink); background:#f8faff; }
.identity-loan-application .auth-field textarea { width:100%; min-height:82px; padding:11px 13px; border:1px solid #d7e0ec; border-radius:10px; color:var(--ink); background:#f8faff; resize:vertical; }
.identity-loan-application .auth-field textarea:focus, .identity-loan-application .auth-field select:focus { border-color:#08784b; outline:0; box-shadow:0 0 0 3px rgba(8,120,75,.12); }
.identity-loan-asset-field small { color:#8493a8; font-size:10px; line-height:1.45; }
.identity-loan-asset-documents-field { display:grid; gap:6px; margin-top:0; color:#52627c; font-size:12px; }
.identity-loan-asset-documents-field input[type="file"] { width:100%; min-height:38px; padding:8px; border:1px dashed #cbd8e6; border-radius:9px; color:#52627c; background:#f8fbff; font-size:11px; }
.identity-loan-asset-documents-field small { color:#8493a8; font-size:10px; line-height:1.45; }
.identity-loan-asset-documents-field[hidden] { display:none; }
.identity-income-control { display:flex; align-items:center; gap:6px; min-width:0; }
.identity-income-control input { flex:1 1 auto; width:auto; min-width:0; padding-right:13px; }
.identity-income-control select { position:static; flex:0 0 82px; width:82px; min-width:0; min-height:30px; padding:0 20px 0 8px; border:1px solid rgba(0,104,73,.14); border-radius:8px; color:#00684a; background:#e9f6f0; font-size:10px; font-weight:800; white-space:nowrap; cursor:pointer; }
.identity-income-converted { display:block; min-height:15px; color:#8a98aa; font-size:9px; line-height:1.45; }
.identity-income-converted.has-value { color:#087b58; font-weight:700; }
.identity-form.is-locked .identity-income-control select { color:#5c6f6a; background:#e8eeec; cursor:not-allowed; }
.identity-actions { display:flex; align-items:center; gap:10px; margin-top:18px; }
.identity-actions .primary-button { flex:1; width:auto; margin:0; font-size:14px; }
.identity-actions-next { justify-content:flex-end; }
.identity-actions-next .primary-button { flex:0 1 185px; }
.identity-secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:46px; padding:0 18px; border:1px solid #ccd8e7; border-radius:12px; color:#536783; background:#fff; font-size:13px; font-weight:800; }
.identity-document-grid { display:grid; grid-template-columns:1fr; gap:12px; margin-top:13px; }
.identity-upload { position:relative; display:grid; gap:8px; min-width:0; padding:12px; border:1px solid #d9e2ee; border-radius:14px; color:#40516f; background:#f8fbff; font-size:12px; cursor:pointer; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.identity-upload:hover, .identity-upload:focus-within { border-color:#b88725; box-shadow:0 8px 22px rgba(46,65,96,.09); transform:translateY(-1px); }
.identity-upload-title { color:var(--navy); font-weight:800; }
.identity-upload input[type="file"] { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.identity-image-preview { position:relative; display:grid; place-items:center; height:146px; overflow:hidden; border:1px dashed #bdcadd; border-radius:11px; color:#7b8da7; background:linear-gradient(145deg, #fff, #eef4fb); }
.identity-image-preview img { width:100%; height:100%; object-fit:contain; background:#eef2f7; }
.identity-image-preview > span { display:grid; justify-items:center; gap:7px; padding:14px; text-align:center; }
.identity-image-preview b { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:var(--brand-green-deep); background:#eaf6f0; font-size:22px; font-style:normal; }
.identity-image-preview em { color:#7c8ca3; font-size:10px; font-style:normal; font-weight:600; line-height:1.45; }
.identity-upload.has-uploaded-file .identity-image-preview { border-style:solid; border-color:#a9d9c8; background:#effaf6; }
.identity-upload.has-uploaded-file .identity-image-preview b { color:#087b58; background:#dff5ed; font-size:17px; }
.identity-upload-button { display:flex; align-items:center; justify-content:center; min-height:36px; border-radius:9px; color:#fff !important; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-position:center; background-size:cover; font-size:11px; font-weight:800; }
.identity-upload small { overflow:hidden; color:#7f8fa6; font-size:10px; line-height:1.4; text-overflow:ellipsis; white-space:nowrap; text-align:center; }
.identity-document-hint { margin:9px 1px 0; color:#8493a8; font-size:10px; line-height:1.55; }
.identity-review-state { min-height:0; margin:10px 1px 0; padding:0; color:#926500; font-size:11px; line-height:1.55; }
.identity-review-state:empty { display:none; }
.identity-review-state.is-approved { color:#087b58; }
.identity-review-state.is-rejected { color:#b43a4b; }
.identity-form .primary-button:disabled { opacity:.55; cursor:not-allowed; }
.identity-form.is-locked .auth-field input:disabled { opacity:1; color:#42556f; -webkit-text-fill-color:#42556f; background:#f3f6f9; cursor:not-allowed; }
.identity-form.is-locked .auth-field select:disabled { opacity:1; color:#42556f; -webkit-text-fill-color:#42556f; }
.identity-form.is-locked .identity-upload { opacity:.82; cursor:default; pointer-events:none; }
.identity-form.is-locked .identity-upload-button { display:none; }
.identity-form.is-locked .identity-upload:hover { border-color:#d9e2ee; box-shadow:none; transform:none; }
@media (prefers-reduced-motion:reduce) { .identity-step-panel { animation:none; } .identity-upload { transition:none; } }
.loan-application-dialog { max-height: min(88vh, 720px); }
.loan-application-summary { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:14px 0; padding:12px; border:1px solid #e0e8f3; border-radius:12px; background:#f7faff; }
.loan-application-summary div { display:grid; gap:4px; min-width:0; }
.loan-application-summary span { color:#8090a7; font-size:10px; }
.loan-application-summary strong { overflow:hidden; color:var(--navy); font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.loan-application-amount-field { display:grid; gap:8px; margin-bottom:12px; padding:12px 13px 10px; border:1px solid #d9e7e2; border-radius:13px; background:#fbfefc; box-shadow:0 5px 14px rgba(0,107,81,.045); }
.loan-application-amount-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.loan-application-amount-heading span { color:#40516f; font-size:12px; }
.loan-application-amount-heading strong { min-width:0; color:var(--brand-green-deep); font-size:clamp(15px,4.3vw,18px); font-variant-numeric:tabular-nums; font-weight:900; line-height:1.2; text-align:right; white-space:nowrap; }
.loan-application-range { --loan-range-progress:0%; width:100%; height:24px; margin:0; padding:0; border:0; outline:0; background:transparent; cursor:pointer; appearance:none; -webkit-appearance:none; accent-color:var(--brand-green-deep); }
.loan-application-range::-webkit-slider-runnable-track { height:6px; border-radius:999px; background:linear-gradient(to right,var(--brand-green-deep) 0,var(--brand-green-deep) var(--loan-range-progress),#dce5e2 var(--loan-range-progress),#dce5e2 100%); box-shadow:inset 0 1px 2px rgba(20,69,56,.12); }
.loan-application-range::-webkit-slider-thumb { width:20px; height:20px; margin-top:-7px; border:3px solid #fff; border-radius:50%; background:var(--brand-green-deep); box-shadow:0 2px 8px rgba(0,107,81,.32); cursor:grab; appearance:none; -webkit-appearance:none; }
.loan-application-range:active::-webkit-slider-thumb { cursor:grabbing; transform:scale(1.06); }
.loan-application-range::-moz-range-track { height:6px; border:0; border-radius:999px; background:#dce5e2; box-shadow:inset 0 1px 2px rgba(20,69,56,.12); }
.loan-application-range::-moz-range-progress { height:6px; border-radius:999px; background:var(--brand-green-deep); }
.loan-application-range::-moz-range-thumb { width:14px; height:14px; border:3px solid #fff; border-radius:50%; background:var(--brand-green-deep); box-shadow:0 2px 8px rgba(0,107,81,.32); cursor:grab; }
.loan-application-range:focus-visible::-webkit-slider-thumb { box-shadow:0 0 0 4px rgba(0,107,81,.18),0 2px 8px rgba(0,107,81,.32); }
.loan-application-range:focus-visible::-moz-range-thumb { box-shadow:0 0 0 4px rgba(0,107,81,.18),0 2px 8px rgba(0,107,81,.32); }
.loan-application-range-labels { display:flex; justify-content:space-between; gap:12px; color:#8190a1; font-size:10px; font-variant-numeric:tabular-nums; line-height:1.35; }
.loan-application-range-labels span:last-child { text-align:right; }
.loan-application-amount-exact { display:grid; gap:6px; margin-top:2px; padding-top:9px; border-top:1px dashed #d9e7e2; }
.loan-application-amount-exact label { display:flex; align-items:baseline; justify-content:space-between; gap:10px; color:#40516f; font-size:11px; }
.loan-application-amount-exact label small { color:#8492a2; font-size:9px; text-align:right; }
.loan-application-exact-input { display:flex; align-items:center; min-height:38px; overflow:hidden; border:1px solid #cfe0da; border-radius:10px; background:#fff; transition:border-color .18s ease,box-shadow .18s ease; }
.loan-application-exact-input > span { flex:0 0 auto; padding:0 10px; color:#176f55; font-size:13px; font-weight:800; }
.loan-application-exact-input input { width:100%; min-width:0; height:36px; padding:0 10px 0 0; border:0; outline:0; color:#176f55; background:transparent; font-size:13px; font-variant-numeric:tabular-nums; }
.loan-application-exact-input:focus-within { border-color:#08784b; box-shadow:0 0 0 3px rgba(8,120,75,.12); }
.loan-application-exact-input.is-invalid { border-color:#d94b4b; box-shadow:0 0 0 3px rgba(217,75,75,.1); }
.loan-interest-calculator { margin:14px 0 4px; padding:13px; border:1px solid #cfe3dc; border-radius:14px; background:linear-gradient(145deg,#f7fffb,#eef9f5); box-shadow:0 7px 18px rgba(0,107,81,.07); }
.loan-interest-calculator header { display:flex; align-items:center; gap:10px; padding-bottom:10px; border-bottom:1px solid rgba(0,107,81,.12); }
.loan-interest-calculator header div { display:grid; gap:2px; }
.loan-interest-calculator header strong { color:#006b51; font-size:13px; }
.loan-interest-calculator header small { color:#71869a; font-size:10px; line-height:1.45; }
.loan-interest-icon { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; border-radius:10px; color:#fff; background:linear-gradient(145deg,#0d9869,#006b51); box-shadow:0 6px 14px rgba(0,107,81,.18); font-size:15px; font-weight:900; }
.loan-interest-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:10px; }
.loan-interest-grid div { display:grid; gap:4px; min-width:0; padding:9px 10px; border:1px solid #dcece7; border-radius:10px; background:rgba(255,255,255,.88); }
.loan-interest-grid span { color:#7a8ca0; font-size:10px; }
.loan-interest-grid strong { overflow:hidden; color:#153c54; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.loan-interest-grid .loan-interest-emphasis { border-color:#f1d997; background:#fffaf0; }
.loan-interest-grid .loan-interest-emphasis strong { color:#9b5c00; }
.loan-interest-calculator > p { margin:9px 2px 0; color:#8796a8; font-size:9px; line-height:1.55; }
.loan-purpose-field { margin-bottom:12px; }
.loan-asset-notice { display:grid; grid-template-columns:28px 1fr; align-items:start; gap:10px; margin:-2px 0 13px; padding:11px 12px; border:1px solid #e7ca84; border-radius:12px; color:#6e5520; background:#fff9e8; }
.loan-asset-notice[hidden] { display:none; }
.loan-asset-notice > span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#fff; background:var(--brand-green-deep); font-size:13px; font-weight:900; }
.loan-asset-notice p { margin:1px 0 0; font-size:11px; line-height:1.6; }
.loan-asset-description-field { margin-bottom:10px; }
.loan-asset-description-field textarea { min-height:92px; resize:vertical; line-height:1.55; }
.loan-asset-description-field small { color:#8998ad; font-size:10px; line-height:1.5; }
.loan-asset-documents-field { margin-bottom:2px; }
.loan-documents-field { display:grid; gap:7px; margin-top:8px; color:#40516f; font-size:12px; }
.loan-documents-field input { width:100%; padding:10px; border:1px dashed #bbcee5; border-radius:10px; color:var(--blue); background:#f8fbff; font-size:11px; }
.loan-documents-field small { color:#8998ad; font-size:10px; line-height:1.5; }
.loan-document-names { display:grid; gap:5px; margin-top:8px; color:#687b96; font-size:10px; }
.loan-document-names span { overflow:hidden; padding:6px 8px; border-radius:7px; background:#f1f5fb; text-overflow:ellipsis; white-space:nowrap; }
.asset-update-request { margin:12px 0; padding:11px 12px; border-left:3px solid #d8a943; border-radius:0 10px 10px 0; color:#77551a; background:#fff8e8; font-size:11px; line-height:1.65; }
.asset-update-request:empty { display:none; }
.asset-update-request strong { display:block; margin-bottom:2px; color:#5b4215; font-size:12px; }
.asset-update-request p { margin:0; white-space:pre-line; }
.asset-update-alert { margin-top:12px; padding:10px 11px; border:1px solid #efd29a; border-radius:10px; color:#72501d; background:#fff9ec; font-size:11px; line-height:1.55; }
.asset-update-alert strong { display:block; margin-bottom:3px; color:#8b0a42; font-size:12px; }
.record-action.asset-update-action { color:#fff; background:var(--brand-green-deep); }
.notification-list { display: grid; gap: 9px; margin-top: 16px; }
.repayment-reminder-dialog { overflow: hidden; }
.repayment-reminder-card { display:grid; grid-template-columns:42px 1fr; align-items:start; gap:12px; margin-top:16px; padding:15px; border:1px solid rgba(0,104,73,.16); border-radius:15px; background:#f1faf5; }
.repayment-reminder-card > span { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; color:#fff; background:var(--navy); font-size:22px; font-weight:900; }
.repayment-reminder-card p, .repayment-reminder-card .reminder-rich-content { margin:0; color:#3e5d52; font-size:12px; line-height:1.7; white-space:pre-line; }
.repayment-reminder-card .reminder-rich-content p { margin:0 0 7px; }
.repayment-reminder-card .reminder-rich-content p:last-child { margin-bottom:0; }
.repayment-reminder-card .reminder-rich-content ul, .repayment-reminder-card .reminder-rich-content ol { margin:0 0 7px; padding-left:18px; }
.repayment-reminder-card .reminder-rich-content a { color:var(--brand-green-deep); text-decoration:underline; }
.repayment-reminder-button { width:100%; justify-content:center; margin-top:16px; transform:translateX(-6px); }
.notification-item { display: grid; gap: 7px; padding: 13px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #f7f9fd; }
.notification-item strong { font-size: 13px; line-height: 1.5; }
.notification-item time { color: var(--muted); font-size: 11px; }
.notification-empty { margin: 16px 0 4px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.estimate-result { display: grid; gap: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.estimate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.estimate-row:last-child { border-bottom: 0; }
.estimate-row strong { color: var(--navy); font-size: 13px; text-align: right; }
.estimate-row.total { background: #f4f7fc; }
.estimate-row.total strong { color: var(--blue); font-size: 15px; }
.estimate-action { width: 100%; margin: 4px 0 0; justify-content: center; }

.account-hero { position: relative; display: flex; align-items: center; gap: 13px; padding: 25px 2px 19px; color: #fff; overflow: hidden; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; }
.account-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; }
.account-hero > * { position: relative; z-index: 1; }
.avatar { display: grid; place-items: center; width: 62px; height: 62px; border: 3px solid #f0d493; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #efd08d, #c4933b); font-size: 28px; }
.account-hero .section-kicker { color: rgba(255,255,255,.64); }
.account-hero h1 { margin: 0 0 3px; font-size: 22px; }
.account-hero p { margin: 0 0 5px; color: rgba(255,255,255,.77); font-size: 12px; }
.verified, .status-ok { display: inline-flex; padding: 3px 8px; border-radius: 9px; color: #caefdf; background: rgba(22, 133, 99, .32); font-size: 10px; }
.settings-button { margin-left: auto; color: #fff; }
.account-summary { position: relative; z-index: 2; overflow: hidden; border-radius: 15px; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; box-shadow: 0 12px 24px rgba(0,83,61,.18); }
.account-summary .account-hero { margin-left: 0; margin-right: 0; background: transparent; }
.account-summary .account-hero::before { display: none; }
.balance-card { position: relative; z-index: 2; margin: 0; padding: 17px 16px; border: 0; border-top: 1px solid rgba(155, 186, 224, .32); border-radius: 0; color: #fff; background: rgba(6,38,95,.34); box-shadow: none; }
.balance-state { display: flex; align-items: center; justify-content: space-between; }
.balance-state { color: rgba(255,255,255,.82); font-size: 13px; }
.balance-amounts { display: grid; margin-top: 16px; }
.balance-primary { display: grid; min-width: 0; gap: 8px; }
.balance-label { color: rgba(255,255,255,.7); font-size: 12px; }
.limit-value { display: flex; min-width: 0; align-items: baseline; gap: 6px; color: #f0d493; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.limit-currency { flex: 0 0 auto; color: rgba(240,212,147,.88); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.limit-number { display: block; min-width: 0; font-size: 29px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.limit-number.is-long { font-size: 25px; letter-spacing: -.045em; }
.limit-number.is-very-long { font-size: 21px; letter-spacing: -.055em; }
.balance-used { display: flex; min-width: 0; align-items: baseline; gap: 5px; margin-top: 14px; color: rgba(255,255,255,.7); font-size: 12px; }
.limit-value-compact { flex: 0 1 auto; gap: 4px; color: rgba(255,255,255,.82); overflow: hidden; }
.limit-value-compact .limit-currency { color: rgba(255,255,255,.68); font-size: 10px; }
.limit-value-compact .limit-number, .limit-value-compact .limit-number.is-long, .limit-value-compact .limit-number.is-very-long { overflow: hidden; color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: 0; text-overflow: ellipsis; }
.vip-entry-button { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:5px; min-width:88px; min-height:29px; margin-left:auto; padding:6px 10px; border:1px solid rgba(255,232,157,.72); border-radius:999px; color:#593900; background:linear-gradient(135deg,#ffe898 0%,#e9b943 100%); box-shadow:0 5px 12px rgba(0,20,15,.2),inset 0 1px 0 rgba(255,255,255,.55); font-size:10px; font-weight:850; line-height:1; }
.vip-entry-button > .vip-entry-crown { color:#8b5b00; font-size:14px; line-height:1; }
.vip-entry-button > strong { font-size:10px; font-weight:850; white-space:nowrap; }
.vip-entry-button > .vip-entry-check { color:#6d4a00; font-size:12px; font-weight:900; line-height:1; }
.vip-entry-button.is-vip { color:#5a3900; background:linear-gradient(135deg,#fff0a8 0%,#f0bf42 62%,#cf8f12 100%); }
.vip-entry-button:active { transform:scale(.96); }
.balance-action-row { display:flex; justify-content:flex-end; margin-top:12px; }
.balance-withdrawal-button { min-width:112px; min-height:32px; padding:7px 14px; border:1px solid rgba(255,232,157,.78); border-radius:9px; color:#5b3b06; background:linear-gradient(135deg,#ffe89a 0%,#edbd3b 100%); box-shadow:0 5px 12px rgba(0,20,15,.2),inset 0 1px 0 rgba(255,255,255,.55); font-size:12px; font-weight:850; }
.balance-withdrawal-button:active { transform:scale(.97); }
.todo-card, .history-card { position: relative; z-index: 2; margin-top: 13px; padding: 15px 14px; border-radius: 15px; background: #edf3fc; }
.todo-title { display: flex; align-items: center; gap: 9px; color: var(--navy); }
.round-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 15px; }
.todo-row { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 9px; margin-top: 15px; }
.todo-row > div { display: grid; gap: 5px; }
.todo-row span { color: #75849c; font-size: 11px; }
.todo-row strong { color: var(--navy); font-size: 15px; }
.small-gold { padding: 10px 11px; border-radius: 9px; color: #5e4514; background: #e3bc6e; font-size: 11px; font-weight: 800; white-space: nowrap; }
.history-card { background: #edf3fc; }
.history-row { display: flex; justify-content: space-between; width: 100%; margin-top: 8px; padding: 10px 0; border-top: 1px solid #dce6f2; color: #425577; background: transparent; font-size: 12px; text-align: left; }
.history-row em { color: var(--success); font-style: normal; }
.account-menu { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; padding: 12px 10px; border: 1px solid #eadce2; border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #fffafb 100%); }
.account-menu button { --menu-accent: #8b0a42; --menu-soft: #faeaf1; position: relative; display: flex; min-width: 0; min-height: 91px; padding: 10px 4px 9px; align-items: center; justify-content: center; flex-direction: column; gap: 8px; border: 0; border-radius: 14px; color: #3d4c65; background: transparent; text-align: center; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.account-menu button::after { display: none; }
.account-menu button:hover { background: var(--menu-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--menu-accent) 12%, transparent); }
.account-menu button:active { transform: scale(.96); }
.account-menu button:focus-visible { outline: 2px solid var(--menu-accent); outline-offset: 1px; }
.account-menu-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 15px; color: var(--menu-accent); background: var(--menu-soft); box-shadow: 0 7px 14px color-mix(in srgb, var(--menu-accent) 15%, transparent), inset 0 0 0 1px rgba(255,255,255,.82); }
.account-menu-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.account-menu-label { display: -webkit-box; overflow: hidden; color: #42516a; font-size: 11px; font-weight: 750; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.account-menu .menu-identity { --menu-accent: #980946; --menu-soft: #fae8f0; }
.account-menu .menu-application { --menu-accent: #2459a7; --menu-soft: #eaf1fc; }
.account-menu .menu-disbursement { --menu-accent: #08785d; --menu-soft: #e6f5f0; }
.account-menu .menu-repayment { --menu-accent: #a87312; --menu-soft: #fff4da; }
.account-menu .menu-contracts { --menu-accent: #6b4caf; --menu-soft: #f0ebfb; }
.account-menu .menu-support { --menu-accent: #147590; --menu-soft: #e7f5f8; }
.account-logout-button { display: block; width: calc(100% - 28px); min-height: 42px; margin: 12px 14px 0; border: 1px solid #d8e2ef; border-radius: 11px; color: #536681; background: #fff; font-size: 13px; font-weight: 700; }
.account-logout-button:active { color: #b34a4a; border-color: #efc8c8; background: #fff7f7; }
.data-note { position: relative; z-index: 2; margin-bottom: 3px; }
.account-view { padding-bottom: 14px; background: linear-gradient(180deg, #edf7f2 0%, #fbfdfc 48%, #f3f9f6 100%); }
.account-view #accountContent { padding-top: 10px; }
.account-summary { border-radius: 22px; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; box-shadow: 0 18px 34px rgba(0,83,61,.24); }
.account-summary::before { display:none; }
.account-hero { min-height: 137px; gap: 15px; padding: 27px 18px 22px; background: transparent; }
.account-hero::after { content: ""; position: absolute; right: -34px; top: -58px; width: 156px; height: 156px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 19px rgba(255,255,255,.035), 0 0 0 38px rgba(255,255,255,.025); }
.account-avatar-wrap { position: relative; z-index: 2; flex: 0 0 auto; }
.avatar { width: 76px; height: 76px; border: 4px solid rgba(255,255,255,.88); box-shadow: 0 8px 18px rgba(1,20,57,.28); font-size: 30px; overflow: hidden; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vip-avatar-crown { position:absolute; z-index:4; left:-6px; top:-25px; width:56px; height:41px; filter:drop-shadow(0 4px 4px rgba(35,20,0,.38)); transform:rotate(-8deg); transform-origin:center bottom; animation:vip-crown-float 2.8s ease-in-out infinite; }
.vip-avatar-crown[hidden] { display:none; }
.vip-avatar-crown svg { display:block; width:100%; height:100%; overflow:visible; }
.vip-avatar-crown::before,.vip-avatar-crown::after { content:'✦'; position:absolute; z-index:2; color:#fff4b1; font-size:10px; line-height:1; text-shadow:0 0 7px rgba(255,218,85,.95); pointer-events:none; animation:vip-crown-sparkle 2.4s ease-in-out infinite; }
.vip-avatar-crown::before { left:-3px; top:2px; }
.vip-avatar-crown::after { right:-3px; top:8px; animation-delay:1.15s; }
.vip-crown-shadow { fill:rgba(91,47,0,.32); transform:translateY(2px); }
.vip-crown-main { fill:url(#vipCrownGold); stroke:#fff0a0; stroke-width:1.25; stroke-linejoin:round; }
.vip-crown-highlight { fill:rgba(255,245,174,.2); }
.vip-crown-shine { fill:rgba(255,255,255,.38); opacity:.22; animation:vip-crown-shine 2.8s ease-in-out infinite; }
.vip-crown-base { fill:url(#vipCrownBase); stroke:#fff0a0; stroke-width:1.1; }
.vip-crown-base-highlight { fill:rgba(255,255,255,.42); }
.vip-crown-tip { fill:#fff0a0; stroke:#d88d0c; stroke-width:1; }
.vip-crown-jewel { stroke:#fff6c7; stroke-width:.9; }
.vip-crown-jewel.jewel-red { fill:#c80b3d; }
.vip-crown-jewel.jewel-green { fill:#007a50; }
@keyframes vip-crown-float { 0%,100% { transform:translateY(0) rotate(-8deg); } 50% { transform:translateY(-3px) rotate(-5deg); } }
@keyframes vip-crown-shine { 0%,32%,100% { opacity:.12; transform:translateX(-3px); } 52% { opacity:.58; transform:translateX(4px); } 70% { opacity:.2; transform:translateX(6px); } }
@keyframes vip-crown-sparkle { 0%,34%,100% { opacity:0; transform:scale(.4) rotate(0); } 48% { opacity:1; transform:scale(1.08) rotate(22deg); } 62% { opacity:0; transform:scale(.55) rotate(45deg); } }
@media (prefers-reduced-motion:reduce) { .vip-avatar-crown,.vip-crown-shine,.vip-avatar-crown::before,.vip-avatar-crown::after { animation:none; } .vip-avatar-crown::before,.vip-avatar-crown::after { opacity:.7; } }
.avatar-upload-button { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid #0a3675; border-radius: 50%; color: #173a6e; background: #f3ce7c; box-shadow: 0 4px 10px rgba(1,20,57,.25); font-size: 15px; font-weight: 900; line-height: 1; }
.avatar-upload-button.is-uploading { opacity: .62; cursor: wait; }
.account-profile-copy { position: relative; z-index: 2; min-width: 0; }
.account-profile-copy .section-kicker { margin-bottom: 5px; color: rgba(255,255,255,.62); }
.account-profile-copy h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-profile-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.credit-score-pill { display:inline-flex; align-items:center; gap:4px; min-height:20px; padding:3px 8px; border:1px solid rgba(240,212,147,.28); border-radius:9px; color:rgba(255,255,255,.76); background:rgba(5,55,43,.28); font-size:9px; line-height:1; }
.credit-score-pill strong { color:#f4d887; font-size:11px; }
.account-id { color: rgba(255,255,255,.54); font-size: 10px; }
.account-invite-code { display:inline-flex; align-items:center; gap:6px; max-width:100%; margin-top:8px; padding:5px 8px; border:1px solid rgba(255,255,255,.17); border-radius:9px; color:rgba(255,255,255,.72); background:rgba(0,45,34,.28); font-size:9px; line-height:1; }
.account-invite-code strong { overflow:hidden; color:#ffe194; font-size:11px; letter-spacing:.05em; text-overflow:ellipsis; white-space:nowrap; }
.account-invite-code em { padding-left:6px; border-left:1px solid rgba(255,255,255,.18); color:#fff; font-style:normal; }
.settings-button { z-index: 2; align-self: flex-start; margin-top: 4px; }
.balance-card { padding: 18px; }
.balance-amounts { margin-top: 18px; }
.balance-primary .limit-number { font-size: 31px; }
.balance-primary .limit-number.is-long { font-size: 26px; }
.balance-primary .limit-number.is-very-long { font-size: 22px; }
.todo-card, .history-card { border: 1px solid rgba(211,224,241,.8); box-shadow: 0 8px 18px rgba(14,51,102,.05); }
.account-menu { box-shadow: 0 8px 18px rgba(14,51,102,.05); }
.account-logout-button { margin-bottom: 4px; }
.company-card { margin: 16px 14px 0; padding: 17px 15px 14px; border: 1px solid #edd9e1; border-radius: 18px; background: linear-gradient(145deg, #fff 0%, #fff8f9 100%); box-shadow: 0 8px 18px rgba(91,4,39,.06); }
.company-card-head { display: flex; align-items: flex-start; gap: 12px; }
.company-logo { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 13px; object-fit: cover; background: #b20a43; }
.company-card h2 { margin: 0 0 5px; color: var(--navy); font-size: 16px; line-height: 1.3; }
.company-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.company-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0e2e8; }
.company-facts div { display: grid; gap: 4px; min-width: 0; }
.company-facts span { color: #978b95; font-size: 9px; }
.company-facts strong { overflow: hidden; color: var(--ink); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; }
.company-profile-card, .qualification-card, .manager-card { margin: 16px 14px 0; padding: 17px 15px 15px; border: 1px solid #ead9e1; border-radius: 18px; background: linear-gradient(145deg, #fff 0%, #fff8fa 100%); box-shadow: 0 8px 18px rgba(91,4,39,.055); }
.company-profile-head h2, .qualification-card h2, .manager-card h2 { margin: 0; color: var(--navy); font-size: 19px; }
.company-profile-collapsible { padding: 0; overflow: hidden; }
.company-profile-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px; cursor: pointer; list-style: none; }
.company-profile-summary::-webkit-details-marker { display: none; }
.company-profile-summary .company-profile-head { flex: 1; }
.company-profile-summary .section-kicker { margin-bottom: 4px; }
.collapse-chevron { color: #9e7183; font-size: 25px; font-weight: 300; transition: transform .18s ease; }
.company-profile-collapsible[open] .collapse-chevron { transform: rotate(90deg); }
.company-profile-body { padding: 0 15px 15px; border-top: 1px solid #f0e2e8; }
.company-profile-body .company-profile-lead { margin-top: 12px; }
.company-profile-lead { margin: 10px 0 0; color: #5c6c84; font-size: 12px; line-height: 1.7; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.profile-facts > div { min-width: 0; padding: 10px; border-radius: 11px; background: #f8eef2; }
.profile-facts span, .profile-facts strong { display: block; }
.profile-facts span { color: #9c8792; font-size: 10px; }
.profile-facts strong { margin-top: 4px; color: var(--ink); font-size: 11px; line-height: 1.45; }
.service-points { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.service-points > div { padding: 10px; border-left: 3px solid var(--gold); border-radius: 9px; background: #fffdf8; }
.service-points strong { color: var(--navy); font-size: 11px; }
.service-points p { margin: 4px 0 0; color: #7c8798; font-size: 10px; line-height: 1.5; }
.brand-values { display: grid; gap: 7px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #f0e2e8; }
.brand-values span { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: start; }
.brand-values b { color: var(--navy); font-size: 10px; }
.brand-values em { color: #7c8798; font-size: 10px; font-style: normal; line-height: 1.45; }
.qualification-card .section-heading { margin-bottom: 10px; }
.qualification-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.qualification-grid figure { margin: 0; overflow: hidden; border: 1px solid #ebdfc6; border-radius: 12px; background: #fffdf5; }
.qualification-grid img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.qualification-grid figcaption { padding: 8px 9px 9px; color: var(--navy); font-size: 11px; font-weight: 800; }
.partner-panel { display:grid; gap:10px; margin-top:10px; padding:12px; overflow:hidden; border:1px solid #dbece7; border-radius:14px; background:linear-gradient(145deg,#f5fbf9,#edf7f4); }
.partner-panel-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.partner-panel-head .section-kicker { margin-bottom:3px; }
.partner-panel-head strong { display:block; color:var(--navy); font-size:13px; line-height:1.4; }
.partner-count { display:grid; flex:0 0 34px; place-items:center; width:34px; height:25px; border-radius:999px; color:#fff; background:var(--navy); font-size:10px; font-weight:800; letter-spacing:.08em; }
.partner-carousel { position:relative; overflow:hidden; border:1px solid #dbe9e5; border-radius:12px; background:#fff; box-shadow:0 7px 17px rgba(26,91,74,.07); outline:none; }
.partner-carousel:focus-visible { box-shadow:0 0 0 3px rgba(154,7,65,.16),0 7px 17px rgba(26,91,74,.07); }
.partner-carousel-viewport { overflow:hidden; }
.partner-carousel-track { display:flex; transition:transform .42s cubic-bezier(.22,.61,.36,1); will-change:transform; }
.partner-slide { display:grid; flex:0 0 100%; min-width:0; grid-template-rows:172px auto; background:#fff; }
.partner-visual { display:grid; place-items:center; min-width:0; padding:13px 35px 7px; overflow:hidden; background:linear-gradient(180deg,#fff,#fbfefd); }
.partner-visual svg { display:block; width:100%; height:100%; overflow:hidden; }
.partner-slide-meta { display:flex; align-items:center; gap:10px; min-height:43px; padding:9px 38px 10px; border-top:1px solid #edf4f2; background:#f8fcfb; }
.partner-slide-meta span { flex:0 0 auto; color:#a17a42; font-size:9px; font-weight:800; letter-spacing:.06em; }
.partner-slide-meta strong { overflow:hidden; color:var(--navy); font-size:12px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.partner-arrow { position:absolute; top:82px; z-index:2; display:grid; place-items:center; width:28px; height:28px; padding:0; border:1px solid rgba(255,255,255,.9); border-radius:50%; color:#fff; background:rgba(10,57,47,.72); box-shadow:0 4px 10px rgba(14,51,102,.16); font-size:0; transform:translateY(-50%); transition:background .18s ease,transform .18s ease; }
.partner-arrow::before { font-size:20px; font-weight:300; line-height:1; }
.partner-arrow:hover { background:var(--navy); transform:translateY(-50%) scale(1.06); }
.partner-arrow-prev { left:7px; }
.partner-arrow-next { right:7px; }
.partner-arrow-prev::before { content:'‹'; }
.partner-arrow-next::before { content:'›'; }
.partner-dots { display:flex; align-items:center; justify-content:center; gap:6px; min-height:10px; }
.partner-dots button { width:6px; height:6px; padding:0; border:0; border-radius:999px; background:#b7ccc6; transition:width .2s ease,background .2s ease; }
.partner-dots button.active { width:18px; background:var(--navy); }
.partner-note { margin:0; color:#7c8798; font-size:10px; line-height:1.45; text-align:center; }
@media (prefers-reduced-motion: reduce) { .partner-carousel-track { transition:none; } }
.manager-card { border-color: #e5c871; background: linear-gradient(145deg, #fffdf5 0%, #fff7df 100%); }
.home-tato-card { margin-bottom: 8px; }
.manager-head { display: flex; align-items: center; gap: 11px; }
.manager-head p { margin: 4px 0 0; color: #7c8798; font-size: 11px; line-height: 1.45; }
.manager-avatar { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--navy); font-size: 20px; font-weight: 800; box-shadow: 0 4px 10px rgba(14,51,102,.15); }
.manager-avatar img { width: 100%; height: 100%; object-fit: cover; }
.manager-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 13px; }
.manager-actions .primary-button, .manager-actions .outline-button { width: 100%; margin: 0; min-height: 39px; font-size: 12px; }
.manager-actions .outline-button { display: flex; align-items: center; justify-content: center; padding: 10px 8px; text-decoration: none; }
.membership-card { margin: 16px 14px 0; padding: 17px 15px 15px; border: 1px solid #e5c871; border-radius: 18px; background: linear-gradient(145deg, #fffdf5 0%, #fff5d6 100%); box-shadow: 0 9px 20px rgba(126, 75, 11, .10); }
.membership-hero { display: flex; align-items: flex-start; gap: 11px; }
.membership-crown { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border: 2px solid #fff; border-radius: 14px; color: #fff; background-color: var(--brand-green-deep); background-image: var(--brand-texture); background-position: center; background-size: cover; box-shadow: 0 5px 12px rgba(0,83,61,.22); font-size: 25px; }
.membership-hero h2 { margin: 0; color: var(--navy); font-size: 19px; line-height: 1.25; }
.membership-hero p { margin: 4px 0 0; color: #7c6b4d; font-size: 11px; line-height: 1.5; }
.membership-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 11px 12px; border: 1px solid rgba(219, 174, 63, .42); border-radius: 12px; background: rgba(255,255,255,.72); color: #7e6b43; font-size: 12px; }
.membership-price-row strong { color: var(--navy); font-size: 21px; letter-spacing: .01em; white-space: nowrap; }
.membership-benefit-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 14px; }
.membership-benefit-head h3 { margin: 0; color: var(--navy); font-size: 15px; }
.membership-benefit-head span { color: #9b8760; font-size: 10px; }
.membership-benefits { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.membership-benefits li { position: relative; padding: 9px 10px 9px 29px; border-radius: 10px; color: #665a43; background: rgba(255,255,255,.68); font-size: 11px; line-height: 1.45; }
.membership-benefits li::before { content: '✓'; position: absolute; left: 10px; top: 8px; color: #a37612; font-size: 13px; font-weight: 900; }
.membership-card .membership-contact { width: 100%; justify-content: center; margin: 13px 0 0; }
.guest-card { margin: 24px 14px; padding: 25px 18px; border: 1px solid var(--line); border-radius: 18px; text-align: center; background: #fff; box-shadow: 0 8px 18px rgba(14, 51, 102, .05); }
.guest-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 13px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 23px; }
.guest-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
.guest-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.guest-card .primary-button { margin-top: 18px; }
.empty-state { margin: 14px 0 2px; color: #8b98ab; font-size: 12px; text-align: center; }
.history-list-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 8px; padding: 10px 0; border-top: 1px solid #dce6f2; color: #425577; background: transparent; font-size: 12px; text-align: left; }
.history-list-row strong { color: var(--navy); }
.loan-progress-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding: 10px 11px; border: 1px solid #d7e3f1; border-radius: 11px; background: rgba(255,255,255,.72); }
.loan-progress-summary span { min-width: 0; overflow: hidden; color: #425577; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.loan-progress-summary strong { flex: 0 0 auto; color: var(--navy); font-size: 13px; }
.loan-progress-timeline { margin: 14px 0 0; padding: 0; list-style: none; }
.loan-progress-step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; min-height: 61px; padding: 0 0 14px; }
.loan-progress-step:last-child { min-height: 0; padding-bottom: 0; }
.loan-progress-step:not(:last-child)::before { content: ''; position: absolute; top: 25px; bottom: -1px; left: 14px; width: 2px; border-radius: 2px; background: #cdd8e7; }
.loan-progress-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid #d3dce9; border-radius: 50%; color: #8996a9; background: #f7f9fc; box-shadow: 0 0 0 3px #edf3fc; font-size: 11px; font-weight: 900; }
.loan-progress-copy { min-width: 0; padding-top: 1px; }
.loan-progress-copy strong { display: block; color: #78869b; font-size: 13px; line-height: 1.35; }
.loan-progress-copy p { margin: 4px 0 0; color: #9aa5b5; font-size: 11px; line-height: 1.55; }
.loan-progress-time { display:block; margin-top:5px; color:#8391a5; font-size:10px; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:.01em; line-height:1.35; }
.loan-progress-step.is-complete:not(:last-child)::before { background: #16a56f; }
.loan-progress-step.is-complete .loan-progress-marker { border-color: #16a56f; color: #fff; background: #16a56f; }
.loan-progress-step.is-complete .loan-progress-copy strong { color: #0a7653; }
.loan-progress-step.is-complete .loan-progress-copy p { color: #648276; }
.loan-progress-step.is-complete .loan-progress-time { color:#4d7b6b; }
.loan-progress-step.is-current .loan-progress-marker { border-color: #007a57; color: #fff; background: #007a57; box-shadow: 0 0 0 4px rgba(0,122,87,.14), 0 0 0 7px #edf3fc; animation: loan-progress-pulse 1.9s ease-in-out infinite; }
.loan-progress-step.is-current .loan-progress-copy strong { color: #00674a; font-size: 14px; }
.loan-progress-step.is-current .loan-progress-copy p { color: #365f53; }
.loan-progress-step.is-rejected .loan-progress-marker { border-color: #dc4b52; color: #fff; background: #dc4b52; box-shadow: 0 0 0 4px rgba(220,75,82,.13), 0 0 0 7px #edf3fc; animation: none; }
.loan-progress-step.is-rejected .loan-progress-copy strong { color: #d1323d; }
.loan-progress-step.is-rejected .loan-progress-copy p { color: #c44750; font-weight: 600; }
.loan-progress-step.is-rejected .loan-progress-time { color:#c44750; }
.loan-progress-action { align-self:start; min-width:76px; max-width:92px; min-height:32px; margin-top:1px; padding:7px 9px; border:1px solid #87c9b2; border-radius:9px; color:#087453; background:#fff; box-shadow:0 4px 10px rgba(21,92,70,.08); font-size:11px; font-weight:850; line-height:1.2; text-align:center; }
.loan-progress-action.is-membership { border-color:#e2bd5c; color:#775100; background:linear-gradient(145deg,#fff9e6,#ffedb5); }
.loan-progress-action.is-contract { border-color:#71bba2; color:#006b4c; background:#f8fffc; }
.loan-progress-action.is-withdrawal { border-color:#d5a72c; color:#664600; background:linear-gradient(135deg,#ffe89a 0%,#f6c84b 56%,#e9ad1d 100%); box-shadow:0 5px 13px rgba(181,128,9,.2); }
.loan-progress-action:active:not(:disabled) { transform:translateY(1px); }
.loan-progress-action:disabled { border-color:#d7dee8; color:#a0aaba; background:#edf1f5; box-shadow:none; cursor:not-allowed; opacity:.78; }
.loan-progress-action.is-completed:disabled { border-color:#9bd5bd; color:#087554; background:#e8f7f0; box-shadow:inset 0 1px 0 rgba(255,255,255,.75); cursor:default; opacity:1; }
@keyframes loan-progress-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(0,122,87,.12), 0 0 0 6px #edf3fc; } 50% { box-shadow: 0 0 0 7px rgba(0,122,87,.08), 0 0 0 10px #edf3fc; } }
@media (prefers-reduced-motion: reduce) { .loan-progress-step.is-current .loan-progress-marker { animation: none; } }

.bottom-nav { position: fixed; z-index: 10; bottom: 0; left: 50%; display: grid; grid-template-columns: repeat(4, 1fr); width: min(450px, 100%); min-height: 70px; transform: translateX(-50%); border-top: 1px solid #dde4ee; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.nav-item { display: grid; justify-items: center; align-content: center; gap: 5px; color: #7f8a9c; background: transparent; font-size: 11px; }
.nav-item.active { color: var(--navy); font-weight: 800; }
.nav-icon { display: block; width: 23px; height: 23px; background-position: center; background-size: contain; background-repeat: no-repeat; opacity: .66; }
.nav-item.active .nav-icon { opacity: 1; }
.home-icon, .products-icon, .account-icon { background-color: currentColor; background-image: none; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.home-icon { -webkit-mask-image: url('/static/images/common/home.png'); mask-image: url('/static/images/common/home.png'); }
.products-icon { -webkit-mask-image: url('/static/images/common/loan.png'); mask-image: url('/static/images/common/loan.png'); }
.account-icon { -webkit-mask-image: url('/static/images/common/my.png'); mask-image: url('/static/images/common/my.png'); }
.support-icon { position: relative; border: 2px solid currentColor; border-radius: 7px; background: transparent; opacity: .66; }
.support-icon::before { position:absolute; top:5px; left:4px; width:3px; height:3px; border-radius:50%; background:currentColor; box-shadow:5px 0 currentColor,10px 0 currentColor; content:""; }
.support-icon::after { position:absolute; right:2px; bottom:-5px; width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; background:#fff; content:""; transform:skewY(-28deg); }
.nav-item.active .support-icon { opacity:1; }
.support-page-header { padding-bottom:11px; }
.support-status { padding:5px 9px; border-radius:999px; color:#a1772b; background:#fff5dc; font-size:11px; font-weight:800; }
.support-status.online { color:#16815a; background:#e6f7ee; }
.support-status.offline { color:#9b6426; background:#fff2d9; }
.support-intro { margin:0 14px 10px; padding:11px 12px; border:1px solid #e2e9f3; border-radius:11px; color:#687c98; background:#f6f9fd; font-size:11px; line-height:1.5; }
.support-messages { display:flex; min-height:290px; max-height:calc(100vh - 300px); margin:0 14px; padding:14px 11px; overflow:auto; flex-direction:column; border:1px solid #e1e8f2; border-radius:15px; background:linear-gradient(180deg,#f6f9fd,#fff); }
.support-message { display:flex; margin:0 0 11px; }
.support-message.mine { justify-content:flex-end; }
.support-message.system { justify-content:center; }
.support-bubble { max-width:82%; padding:9px 11px; border-radius:12px; color:#3f5574; background:#fff; box-shadow:0 4px 12px rgba(17,43,85,.06); font-size:12px; line-height:1.5; white-space:pre-wrap; word-break:break-word; }
.support-message.mine .support-bubble { color:#fff; background:var(--blue); }
.support-message.system .support-bubble { max-width:90%; color:#755d2d; background:#fff6df; text-align:center; }
.support-bubble time { display:block; margin-top:4px; color:#a0adbd; font-size:9px; }
.support-message.mine .support-bubble time { color:rgba(255,255,255,.72); }
.support-image { display:block; max-width:220px; max-height:180px; border-radius:8px; object-fit:contain; }
.support-empty { width:100%; margin:auto; color:#91a0b4; font-size:12px; text-align:center; }
.support-quick-replies { display:flex; gap:6px; margin:9px 14px 0; overflow:auto; }
.support-quick-replies button { flex:0 0 auto; padding:6px 9px; border:1px solid #d6e3f4; border-radius:999px; color:var(--blue); background:#f5f9ff; font-size:10px; }
.support-composer { margin:9px 14px 16px; padding:10px 11px; border:1px solid #e1e8f2; border-radius:14px; background:#fff; }
.support-composer textarea { display:block; width:100%; min-height:56px; padding:7px; border:0; outline:0; resize:vertical; color:var(--ink); background:transparent; font:inherit; font-size:12px; }
.support-compose-footer { display:flex; align-items:center; gap:10px; padding-top:7px; border-top:1px solid #edf1f6; }
.support-compose-footer .primary-button { min-height:35px; padding:0 16px; margin-left:auto; }
.support-attach { color:var(--blue); font-size:11px; cursor:pointer; }
.support-attach input { display:none; }
#supportAttachmentName { overflow:hidden; max-width:45%; color:#8b99ab; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.help-center-view { padding-bottom:22px; }
.help-center-header { position:relative; align-items:center; padding-left:54px; }
.help-center-back { position:absolute; left:14px; top:50%; display:grid; place-items:center; width:32px; height:32px; padding:0 0 2px; border:1px solid #dbe6e2; border-radius:50%; color:var(--brand-green-deep); background:#fff; box-shadow:0 4px 12px rgba(0,83,61,.08); font-size:27px; line-height:1; transform:translateY(-50%); }
.help-center-intro { display:flex; align-items:center; gap:11px; margin:0 14px 13px; padding:12px 13px; border:1px solid #d8ebe4; border-radius:14px; color:#5f756e; background:linear-gradient(135deg,#f5fbf8,#eef8f4); box-shadow:0 5px 14px rgba(0,83,61,.045); }
.help-center-intro-icon { display:grid; flex:0 0 35px; place-items:center; width:35px; height:35px; border-radius:11px; color:#fff; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-size:cover; font-size:17px; font-weight:900; }
.help-center-intro p { margin:0; font-size:11px; line-height:1.55; }
.help-center-list { display:grid; gap:9px; margin:0 14px; }
.help-center-item { overflow:hidden; border:1px solid #dfe9e5; border-radius:14px; background:#fff; box-shadow:0 6px 16px rgba(8,62,51,.05); }
.help-center-item summary { display:grid; grid-template-columns:28px minmax(0,1fr) 20px; align-items:center; gap:10px; min-height:58px; padding:11px 12px; color:#183f36; cursor:pointer; list-style:none; }
.help-center-item summary::-webkit-details-marker { display:none; }
.help-center-item summary strong { font-size:12px; line-height:1.5; }
.help-center-number { color:#a98a44; font-size:10px; font-weight:900; letter-spacing:.06em; }
.help-center-arrow { color:#6b988b; font-size:24px; font-weight:300; text-align:center; transition:transform .18s ease; }
.help-center-item[open] .help-center-arrow { transform:rotate(90deg); }
.help-center-item[open] summary { background:#f5faf8; }
.help-center-content { padding:13px 15px 15px 50px; border-top:1px solid #e8f0ed; color:#60766f; font-size:11px; line-height:1.75; white-space:pre-wrap; word-break:break-word; }
.help-center-empty { margin:0; padding:32px 15px; border:1px dashed #d8e5e0; border-radius:14px; color:#8a9b96; background:#f8fbfa; font-size:12px; text-align:center; }
.bank-account-list { display:grid; gap:8px; margin:0 0 10px; }
.bank-account-card { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; gap:10px; padding:11px 12px; border:1px solid #dbe6f3; border-radius:12px; color:#40516f; background:#f7faff; font-size:12px; }
.bank-account-card .bank-account-copy { min-width:0; }
.bank-account-card strong { display:block; overflow:hidden; margin-bottom:4px; color:var(--navy); text-overflow:ellipsis; white-space:nowrap; }
.bank-account-card small { display:block; overflow:hidden; color:#7f8da4; text-overflow:ellipsis; white-space:nowrap; }
.bank-detection { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:center; gap:11px; min-height:64px; margin:2px 0 12px; padding:9px 11px; border:1px dashed #d7dfeb; border-radius:13px; color:#77879d; background:#f8fafc; transition:border-color .2s ease,background .2s ease,box-shadow .2s ease; }
.bank-detection.is-detected { border-style:solid; border-color:rgba(143,0,58,.24); background:#fff8fb; box-shadow:0 5px 14px rgba(143,0,58,.07); }
.bank-logo-frame { display:flex; width:48px; height:42px; align-items:center; justify-content:center; overflow:hidden; border:1px solid #e2e7ef; border-radius:10px; color:#8f003a; background:#fff; font-size:11px; font-weight:800; letter-spacing:.04em; }
.bank-logo-frame img { display:block; width:38px; height:30px; object-fit:contain; }
.bank-detection-copy { display:block; min-width:0; }
.bank-detection-copy small { display:block; color:#8390a3; font-size:10px; line-height:1.45; }
.bank-detection-copy strong { display:block; overflow:hidden; margin-top:2px; color:#6f0030; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.bank-detection-copy > span { display:block; overflow:hidden; margin-top:2px; color:#7a8799; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.payment-summary { display:flex; align-items:center; justify-content:space-between; margin:8px 0 12px; padding:12px; border-radius:12px; color:#52627c; background:#f4f8fd; font-size:12px; }
.payment-summary strong { color:var(--navy); font-size:20px; }
.payment-details { display:grid; gap:8px; padding:12px; border:1px solid #e0e8f3; border-radius:12px; }
.payment-details div { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; color:#7d8ca2; font-size:11px; }
.payment-details strong { max-width:65%; color:var(--ink); font-size:12px; text-align:right; word-break:break-all; }
.payment-instructions { margin:11px 0 0; color:#6b7c94; font-size:11px; line-height:1.55; white-space:pre-wrap; }
.payment-proof { display:block; margin-top:12px; padding:10px 12px; border:1px dashed #cbd9ea; border-radius:10px; color:var(--blue); background:#f8fbff; font-size:11px; text-align:center; cursor:pointer; }
.payment-proof-name { display:block; margin-top:6px; overflow:hidden; color:#8b99ab; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.account-panel-dialog { max-height: min(84vh, 700px); }
.account-panel-body { display:grid; gap:10px; margin-top:15px; }
.account-record-card { padding:13px 12px; border:1px solid #dfe7f2; border-radius:13px; background:#f8faff; }
.account-record-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; color:var(--navy); font-size:14px; }
.record-status { flex:0 0 auto; padding:4px 8px; border-radius:999px; color:#176f55; background:#e5f5ed; font-size:10px; font-weight:700; }
.account-record-finance { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:0 0 10px; padding:9px; border:1px solid #e3ebf4; border-radius:10px; background:#fff; }
.account-record-finance .account-record-meta { display:block; min-width:0; padding:2px 3px; }
.account-record-finance .account-record-meta span { display:block; margin-bottom:3px; color:#8492a5; font-size:10px; }
.account-record-finance .account-record-meta strong { display:block; max-width:none; color:#176f55; font-size:11px; line-height:1.35; text-align:left; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.account-record-finance .account-record-meta.is-total { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:2px; padding:8px 9px; border-radius:8px; background:linear-gradient(135deg,#edf8f3,#f7fbff); }
.account-record-finance .account-record-meta.is-total span { margin:0; color:#526b68; }
.account-record-finance .account-record-meta.is-total strong { flex:1 1 auto; color:#006b4f; font-size:13px; text-align:right; }
.account-record-grid { display:grid; gap:7px; }
.account-record-meta { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; color:#7b8ba2; font-size:11px; }
.account-record-meta strong { max-width:65%; color:#30486e; font-size:12px; text-align:right; word-break:break-word; }
.disbursement-withdrawal-section { display:grid; gap:10px; margin-top:5px; padding-top:13px; border-top:1px solid #e4eaf3; }
.disbursement-withdrawal-section .withdrawal-history-title { margin:0; }
.record-action { width:100%; min-height:37px; margin-top:11px; border:1px solid var(--blue); border-radius:9px; color:var(--blue); background:#fff; font-size:12px; font-weight:700; }
.record-action:disabled { border-color:#d7dee8; color:#a0aaba; background:#edf1f5; box-shadow:none; cursor:not-allowed; opacity:.78; }
.record-back { padding:0; color:var(--blue); background:transparent; font-size:12px; font-weight:700; }
.contract-paper { max-height:52vh; margin:0; padding:14px; overflow:auto; border:1px solid #e0e7f1; border-radius:12px; color:#3f5270; background:#fbfcfe; font:inherit; font-size:12px; line-height:1.7; white-space:pre-wrap; word-break:break-word; }
.contract-company-seal { position:relative; z-index:1; display:block; width:150px; max-width:48%; height:auto; margin:8px 0 -48px 18px; opacity:.9; object-fit:contain; mix-blend-mode:multiply; pointer-events:none; }
.contract-borrower-signature { display:block; width:260px; max-width:78%; height:auto; margin:8px 0 10px 18px; border-bottom:1px solid #cbd5e2; object-fit:contain; }
.contract-signature-placeholder { display:block; width:min(260px,78%); min-height:70px; margin:8px 0 10px 18px; padding:22px 12px; border:1px dashed #c7d3e1; border-radius:8px; color:#91a0b4; background:#fff; text-align:center; }
.contract-signature-warning { margin:12px 0 0; padding:11px 12px; border:1px solid #e7c76f; border-radius:11px; color:#795b16; background:#fff9e9; font-size:12px; line-height:1.5; }
.contract-agreement { display:flex; align-items:flex-start; gap:9px; margin:12px 0 0; padding:11px 12px; border:1px solid #ead8a1; border-radius:11px; color:#5e5134; background:#fffaf0; font-size:12px; line-height:1.5; }
.contract-agreement input { flex:0 0 auto; width:17px; height:17px; margin:1px 0 0; accent-color:var(--wine); }
.contract-sign-button { width:100%; margin:12px 0 0; justify-content:center; }
.account-panel-dialog.receipt-mode { width:min(100%, 840px); max-height:min(92vh, 980px); padding:22px 18px 18px; }
.account-panel-dialog.receipt-mode > .auth-help { margin-bottom:8px; }
.account-panel-dialog.receipt-mode .account-panel-body { display:block; }
.receipt-record-action { border-color:#08784b; color:#08784b; }
.withdrawal-record-action { border-color:#08784b; color:#fff; background:#08784b; }
.withdrawal-summary-card { padding:16px 14px; border:1px solid rgba(8,120,75,.2); border-radius:15px; background:linear-gradient(145deg,#eefaf5 0%,#fff 100%); }
.withdrawal-summary-label { display:block; color:#5f756d; font-size:11px; }
.withdrawal-summary-amount { display:block; margin-top:3px; color:#06734e; font-size:25px; line-height:1.2; word-break:break-word; }
.withdrawal-summary-grid { display:grid; gap:8px; margin-top:13px; padding-top:12px; border-top:1px solid rgba(8,120,75,.13); }
.withdrawal-form { display:grid; gap:8px; padding:14px; border:1px solid #dfe7f2; border-radius:14px; background:#fff; }
.withdrawal-form label { color:#3d506c; font-size:12px; font-weight:700; }
.withdrawal-amount-row { display:flex; gap:8px; align-items:stretch; }
.withdrawal-form input { min-width:0; flex:1 1 auto; width:100%; height:44px; padding:0 12px; border:1px solid #cfdbea; border-radius:10px; color:#17345d; background:#f8fbff; font-size:15px; outline:none; }
.withdrawal-form input:focus { border-color:#08784b; box-shadow:0 0 0 3px rgba(8,120,75,.1); }
.withdrawal-all { flex:0 0 auto; min-width:52px; height:44px; padding:0 12px; border:1px solid #08784b; border-radius:10px; color:#08784b; background:#fff; font-size:13px; font-weight:700; cursor:pointer; }
.withdrawal-all:hover { color:#fff; background:#08784b; }
.withdrawal-all:focus-visible { outline:3px solid rgba(8,120,75,.18); outline-offset:1px; }
.withdrawal-submit { width:100%; margin:2px 0 0; justify-content:center; }
.withdrawal-confirm-modal { z-index:85; }
.withdrawal-confirm-dialog { width:min(100%, 390px); padding:30px 24px 22px; text-align:center; }
.withdrawal-confirm-dialog .section-kicker { display:block; margin-top:12px; color:#67809a; }
.withdrawal-confirm-dialog h2 { margin:5px 0 9px; color:#006b51; }
.withdrawal-confirm-dialog .auth-help { margin:0; line-height:1.65; }
.withdrawal-confirm-icon { display:grid; place-items:center; width:58px; height:58px; margin:0 auto; border:7px solid #e2f7ed; border-radius:50%; color:#fff; background:linear-gradient(145deg,#0d9869,#006b51); box-shadow:0 9px 22px rgba(0,107,81,.2); font-size:29px; font-weight:900; line-height:1; }
.withdrawal-confirm-summary { display:grid; gap:11px; margin-top:18px; padding:14px 13px; border:1px solid #dcebe5; border-radius:14px; color:#617087; background:linear-gradient(145deg,#f1faf6,#fff); text-align:left; }
.withdrawal-confirm-summary > div { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.withdrawal-confirm-summary span { flex:0 0 auto; font-size:12px; }
.withdrawal-confirm-summary strong { color:#243b61; font-size:14px; text-align:right; word-break:break-word; }
.withdrawal-confirm-summary > div:first-child strong { color:#006b51; font-size:19px; font-variant-numeric:tabular-nums; }
.withdrawal-confirm-status { min-height:0; margin:10px 0 0; color:#b43a4b; line-height:1.5; }
.withdrawal-confirm-status:empty { display:none; }
.withdrawal-confirm-actions { display:grid; grid-template-columns:1fr 1.25fr; gap:10px; margin-top:17px; }
.withdrawal-confirm-actions button { display:grid; place-items:center; min-height:52px; padding:8px 10px; border-radius:13px; font:inherit; cursor:pointer; }
.withdrawal-confirm-actions button strong { font-size:14px; line-height:1.2; }
.withdrawal-confirm-actions button small { margin-top:3px; font-size:10px; line-height:1.2; }
.withdrawal-confirm-cancel { border:1px solid #dce3ee; color:#43516a; background:#eef1f7; }
.withdrawal-confirm-cancel small { color:#7d899c; }
.withdrawal-confirm-submit { border:1px solid #0b986b; color:#fff; background:linear-gradient(145deg,#18aa77,#087b58); box-shadow:0 8px 16px rgba(8,123,88,.18); }
.withdrawal-confirm-submit small { color:rgba(255,255,255,.78); }
.withdrawal-confirm-actions button:disabled { cursor:not-allowed; opacity:.6; }
.withdrawal-notice { margin:0; padding:11px 12px; border:1px solid #ecd9a7; border-radius:11px; color:#735a21; background:#fff9e9; font-size:11px; line-height:1.55; }
.withdrawal-pending-notice { border-color:#ef9aa5; color:#c52f43; background:#fff0f2; font-weight:800; }
.withdrawal-history-title { margin:4px 2px 0; color:var(--navy); font-size:14px; }
.withdrawal-status-negative1 { color:#9b3242; background:#fae9ec; }
.withdrawal-status-2 { color:#7b5b10; background:#fff2ce; }
.disbursement-receipt { position:relative; overflow:hidden; margin:12px auto 0; padding:26px 28px 0; border:1px solid #e5ece8; border-radius:3px; color:#075f42; background:#fff; box-shadow:0 14px 40px rgba(1,73,47,.09); font-family:Arial,"Helvetica Neue",sans-serif; }
.receipt-header { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 5px 18px; border-bottom:2px solid #0a7250; }
.receipt-brand { display:flex; align-items:center; gap:12px; min-width:0; color:#a80035; }
.receipt-logo-frame { position:relative; flex:0 0 70px; width:70px; height:66px; overflow:hidden; border-radius:8px; background:#aa0038; }
.receipt-logo-frame img { position:absolute; width:126px; height:126px; max-width:none; left:-28px; top:-10px; object-fit:cover; }
.receipt-brand > div { min-width:0; }
.receipt-brand strong { display:block; font-family:Georgia,"Times New Roman",serif; font-size:34px; line-height:.95; letter-spacing:.01em; white-space:nowrap; }
.receipt-brand span { display:block; margin-top:5px; color:#075f42; font-family:Georgia,"Times New Roman",serif; font-size:12px; font-weight:700; letter-spacing:.04em; }
.receipt-company { display:grid; gap:8px; max-width:360px; text-align:right; }
.receipt-company { min-width:0; overflow:hidden; }
.receipt-company strong { font-size:16px; line-height:1.25; overflow-wrap:anywhere; }
.receipt-company span { font-size:12px; font-style:italic; overflow-wrap:anywhere; }
.receipt-title { padding:24px 8px 17px; text-align:center; }
.receipt-title h3 { margin:0; color:#08764a; font-size:28px; line-height:1.2; letter-spacing:.02em; }
.receipt-title p { margin:12px 0 0; font-size:16px; }
.receipt-title p span { font-weight:700; }
.receipt-success { display:grid; grid-template-columns:94px minmax(0,1fr); align-items:center; gap:18px; padding:20px 24px; border-radius:10px; background:#e1f3e8; }
.receipt-success-icon { display:grid; place-items:center; width:78px; height:78px; border-radius:50%; color:#fff; background:#07954f; font-size:46px; }
.receipt-success strong { display:block; margin-bottom:5px; color:#057043; font-size:22px; line-height:1.25; }
.receipt-success p { margin:2px 0; color:#167353; font-size:14px; line-height:1.45; }
.receipt-information { overflow:hidden; margin-top:17px; border:2px solid #168b55; border-radius:10px; }
.receipt-information h4 { margin:0; padding:10px 20px; color:#fff; background:#087c46; font-size:18px; letter-spacing:.02em; }
.receipt-info-body { position:relative; overflow:hidden; padding:5px 20px 7px; background:#fff; }
.receipt-watermark { position:absolute; z-index:0; right:4%; top:20%; width:210px; height:auto; opacity:1; object-fit:contain; pointer-events:none; }
.receipt-info-row { position:relative; z-index:1; display:grid; grid-template-columns:36% 64%; min-height:39px; border-bottom:1px solid #dce6e2; color:#18364b; font-size:13px; }
.receipt-info-row span, .receipt-info-row strong { display:flex; align-items:center; padding:7px 10px; }
.receipt-info-row span { border-right:1px solid #dce6e2; }
.receipt-info-row strong { color:#075f42; font-weight:700; word-break:break-word; }
.receipt-note { display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:16px; margin:10px 14px 14px; padding:12px 16px; border-radius:9px; background:#def2e5; }
.receipt-note > span { display:grid; place-items:center; width:52px; height:52px; border-radius:9px; color:#fff; background:#07954f; font-size:27px; }
.receipt-note p { display:grid; gap:4px; margin:0; color:#126d4b; font-size:12px; line-height:1.45; }
.receipt-note strong { font-size:13px; }
.receipt-footer { display:block; margin:18px -28px 0; padding:0; }
.receipt-footer-artwork > img { display:block; width:100%; height:auto; object-fit:contain; }
.receipt-address { display:grid; gap:6px; max-width:54%; font-size:12px; line-height:1.4; }
.receipt-address > span { font-weight:700; }
.receipt-address > strong { font-size:15px; }
.receipt-address p { display:flex; gap:8px; margin:4px 0 0; }
.receipt-address i { flex:0 0 auto; margin-top:2px; font-size:18px; }
.receipt-authorization { display:flex; align-items:flex-end; justify-content:flex-end; gap:12px; min-width:310px; }
.receipt-authorization > img { width:132px; height:126px; object-fit:contain; }
.receipt-authorization > div { display:grid; gap:24px; min-width:130px; padding-bottom:10px; color:#075f42; }
.receipt-authorization span { font-size:12px; font-weight:700; }
.receipt-authorization strong { color:#075f42; font-size:15px; line-height:1.2; }
.receipt-bottom-accent { height:22px; margin:0 -28px; background:linear-gradient(103deg,#057649 0 55%,#fff 55.3% 59%,#a90040 59.3% 100%); }
body.signature-open { overflow:hidden; }
.signature-modal { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:16px; background:rgba(3,18,39,.93); }
.signature-landscape-panel { width:min(1120px,96vw); max-height:96vh; overflow:auto; padding:18px; border-radius:18px; background:#f4f7fb; box-shadow:0 28px 80px rgba(0,0,0,.35); }
.signature-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:0 2px 12px; }
.signature-header span { display:block; color:#8d0039; font-size:11px; font-weight:800; letter-spacing:.08em; }
.signature-header h2 { margin:3px 0 4px; color:#102e55; font-size:22px; }
.signature-header p { margin:0; color:#667992; font-size:12px; }
.signature-close { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; border-radius:50%; color:#49617f; background:#e4eaf2; font-size:17px; }
.signature-canvas-wrap { position:relative; overflow:hidden; border:2px solid #d5a841; border-radius:14px; background:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.8); }
#signatureCanvas { display:block; width:100%; height:min(52vh,390px); min-height:240px; background:#fff; touch-action:none; cursor:crosshair; }
#signatureCanvasHint { position:absolute; inset:0; display:grid; place-items:center; color:#a3afbf; font-size:20px; font-weight:700; pointer-events:none; }
.signature-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:14px; }
.signature-footer > p { min-height:20px; margin:0; color:#a4003c; font-size:12px; font-weight:700; }
.signature-footer > div { display:flex; gap:10px; margin-left:auto; }
.signature-clear,.signature-confirm { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; border-radius:11px; font-size:13px; font-weight:800; }
.signature-clear { border:1px solid #c9d4e2; color:#506783; background:#fff; }
.signature-confirm { color:#fff; background-color:var(--brand-green-deep); background-image:var(--brand-texture); background-position:center; background-size:cover; box-shadow:0 9px 22px rgba(0,83,61,.23); }
.signature-confirm:disabled { opacity:.55; cursor:wait; }
.signature-modal[hidden] { display:none; }

@media (min-width: 700px) {
  body { padding: 26px 0; }
  .app-shell { min-height: calc(100vh - 52px); border-radius: 28px; }
  .bottom-nav { bottom: 26px; border-bottom-left-radius: 28px; border-bottom-right-radius: 28px; }
}

@media (max-width: 370px) {
  .auth-captcha-row { grid-template-columns:minmax(0,1fr) 126px; gap:8px; }
  .topbar { gap:6px; padding-left:14px; padding-right:14px; }
  .brand { gap:7px; }
  .brand-logo { flex-basis:44px; width:44px; height:44px; border-radius:12px; }
  .brand-copy strong { font-size:15px; letter-spacing:.04em; }
  .brand-copy small { font-size:8px; letter-spacing:.08em; }
  .topbar-actions { gap:7px; }
  .language-select { padding-left:6px; padding-right:6px; }
  .language-select select { max-width:72px; }
  .calc-grid strong { font-size: 13px; }
  .balance-card { padding-left: 14px; padding-right: 14px; }
  .limit-value { gap: 4px; }
  .balance-primary .limit-currency { font-size: 10px; }
  .balance-primary .limit-number { font-size: 27px; }
  .balance-primary .limit-number.is-long { font-size: 23px; }
  .balance-primary .limit-number.is-very-long { font-size: 19px; }
  .todo-row { grid-template-columns: 1fr 1fr; }
  .small-gold { grid-column: 1 / -1; }
  .identity-grid { grid-template-columns:1fr; gap:0; }
  /* Keep the text column clear of the 46px thumbnail on narrow phones. */
  .home-info-button { min-height:106px; grid-template-columns:46px minmax(0,1fr); gap:8px; padding:10px 18px 10px 9px; }
  .home-info-button > span:nth-child(2) { min-width:0; overflow:hidden; }
  .home-info-button strong, .home-info-button small { min-width:0; overflow-wrap:anywhere; }
  .home-info-icon { width:32px; height:32px; border-radius:11px; font-size:15px; }
  .home-info-button strong { font-size:12px; }
  .home-info-button small { font-size:8px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo,
  .brand-copy strong { animation: none; }
}

@media (max-width: 640px) {
  .panel-modal:has(.receipt-mode) { padding:8px; }
  .account-panel-dialog.receipt-mode { max-height:96vh; padding:18px 10px 10px; border-radius:14px; }
  .disbursement-receipt { padding:15px 12px 0; }
  .receipt-header { gap:8px; padding-bottom:10px; }
  .receipt-logo-frame { flex-basis:48px; width:48px; height:46px; }
  .receipt-logo-frame img { width:88px; height:88px; left:-20px; top:-8px; }
  .receipt-brand { flex:0 1 56%; width:56%; gap:7px; }
  .receipt-brand > div { overflow:hidden; }
  .receipt-brand strong { font-size:20px; }
  .receipt-brand span { font-size:7px; }
  .receipt-company { flex:0 1 42%; width:42%; max-width:42%; gap:3px; }
  .receipt-company strong { display:block; font-size:9px; white-space:normal; }
  .receipt-company span { display:block; font-size:7px; white-space:normal; }
  .receipt-title { padding:14px 0 10px; }
  .receipt-title h3 { font-size:17px; }
  .receipt-title p { margin-top:6px; font-size:10px; }
  .receipt-success { grid-template-columns:54px 1fr; gap:10px; padding:12px; }
  .receipt-success-icon { width:48px; height:48px; font-size:28px; }
  .receipt-success strong { font-size:13px; }
  .receipt-success p { font-size:9px; }
  .receipt-information { margin-top:10px; border-width:1px; }
  .receipt-information h4 { padding:8px 11px; font-size:12px; }
  .receipt-info-body { padding:3px 9px 5px; }
  .receipt-info-row { grid-template-columns:42% 58%; min-height:30px; font-size:9px; }
  .receipt-info-row span,.receipt-info-row strong { padding:5px 6px; }
  .receipt-watermark { width:130px; height:auto; }
  .receipt-note { grid-template-columns:40px 1fr; gap:9px; margin:7px 8px 9px; padding:8px; }
  .receipt-note > span { width:36px; height:36px; font-size:19px; }
  .receipt-note p { font-size:8px; }
  .receipt-note strong { font-size:9px; }
  .receipt-footer { margin:12px -12px 0; padding:0; }
  .receipt-address { max-width:55%; gap:3px; font-size:8px; }
  .receipt-address > strong { font-size:9px; }
  .receipt-address i { font-size:11px; }
  .receipt-authorization { display:grid; grid-template-columns:55px minmax(0,1fr); flex:0 1 43%; width:43%; min-width:0; gap:5px; }
  .receipt-authorization > img { width:55px; height:58px; }
  .receipt-authorization > div { min-width:0; gap:12px; padding-bottom:4px; }
  .receipt-authorization span { font-size:7px; overflow-wrap:anywhere; }
  .receipt-authorization strong { font-size:9px; overflow-wrap:anywhere; }
  .receipt-bottom-accent { height:14px; margin:0 -12px; }
  .signature-modal { padding:8px; }
  .signature-landscape-panel { padding:11px; border-radius:12px; }
  .signature-header { padding-bottom:8px; }
  .signature-header h2 { font-size:16px; }
  .signature-header p { font-size:9px; }
  #signatureCanvas { height:min(54vh,320px); min-height:190px; }
  #signatureCanvasHint { font-size:15px; }
  .signature-footer { align-items:stretch; flex-direction:column; gap:7px; }
  .signature-footer > div { width:100%; margin:0; }
  .signature-clear,.signature-confirm { flex:1; min-height:40px; padding:0 10px; font-size:11px; }
}
