@font-face{font-family:InstaDhan;src:url('./id_home_regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:InstaDhan;src:url('./id_home_semibold.ttf') format('truetype');font-weight:600 900;font-display:swap}
:root{--brand:#6451cc;--brand-dark:#35236d;--ink:#171526;--muted:#746e83;--surface:#f8f7fe;--line:#e8e2f3;--danger:#a42d46;--ok:#276747;font-family:InstaDhan,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#eee9f4;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a48ce8;outline-offset:3px}
.shell{width:min(100%,440px);min-height:100dvh;margin:auto;background:var(--surface);display:flex;flex-direction:column}.topbar{padding:20px 22px;padding-top:max(20px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand-logo{width:170px;height:auto}.help{border:1px solid var(--line);border-radius:24px;min-height:38px;padding:0 16px;color:var(--brand);background:#fff;font-size:14px;font-weight:700}main{padding:22px 18px 28px;flex:1}footer{padding:0 24px max(24px,env(safe-area-inset-bottom));font-size:11px;color:var(--muted);text-align:center}
.hero{padding:24px 20px;border-radius:20px;color:#fff;background:var(--brand-dark);margin-bottom:18px}.eyebrow{margin:0 0 30px;font-size:14px;color:#d4c4f6}.hero h1{margin:0;font-size:38px;line-height:1.12;text-align:center;letter-spacing:-1px;overflow-wrap:anywhere}.hero p.sub{font-size:15px;line-height:1.55;text-align:center;margin:14px 0 12px;color:#e2d8f3}.hero .due-date{margin-bottom:0}.card{padding:20px 18px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:16px}.card h2{font-size:18px;line-height:1.35;margin:0 0 18px}.card p,.hint{font-size:13px;line-height:1.6;color:var(--muted)}.login label{display:block;font-size:13px;font-weight:700;margin-bottom:16px}.login input,.chat-input{display:block;margin-top:8px;width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:var(--ink);font-weight:400;font-size:16px}.phone-line{display:flex;align-items:center;gap:10px}.phone-line span{margin-top:8px;font-size:16px;font-weight:500}.code-line{display:flex;gap:10px;align-items:center}.code-line input{flex:1}.send{border:0;background:var(--brand-dark);color:#fff;padding:12px 18px;border-radius:12px;min-height:48px;margin-top:8px;white-space:nowrap;font-weight:700;font-size:14px}
.primary,.secondary,.outline{display:block;width:100%;min-height:49px;padding:12px 16px;font-size:16px;font-weight:700;border-radius:28px;border:0;line-height:1.35}.primary{background:var(--brand);color:#fff}.secondary{background:#f0eafa;color:var(--brand-dark)}.outline{border:1px solid var(--line);background:#fff;color:var(--brand-dark)}.actions{display:grid;gap:12px;margin-top:18px}.text-button{display:block;margin:12px auto;background:transparent;border:0;color:var(--brand);padding:8px 10px;font-size:14px;font-weight:600;min-height:40px}.notice{padding:12px;border-radius:12px;margin:14px 0 0;background:var(--surface);font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.notice.error{background:#fff0f1;color:var(--danger)}.notice.ok{background:#edf8f2;color:var(--ok)}[hidden]{display:none!important}.rows{margin:0}.row{display:flex;gap:18px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f0ecf5;font-size:13px;line-height:1.5}.row:last-child{border-bottom:0}.row dt{color:var(--muted);flex-shrink:0}.row dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:600;max-width:66%}.order{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;background:#fff;width:100%;padding:16px;text-align:left;margin:12px 0}.order b{font-size:16px}.order small{display:block;color:var(--muted);font-size:11px;line-height:1.55;margin-top:5px;overflow-wrap:anywhere}.order .right{text-align:right;flex-shrink:0;color:var(--brand);font-weight:700}.order .right small{color:var(--brand)}.status{color:var(--ok);font-weight:700}.empty{text-align:center;padding:30px 18px}.empty h1{font-size:25px;line-height:1.25;margin:0 0 14px}.empty p{font-size:14px}.safe{display:flex;gap:12px;align-items:flex-start;margin:18px 2px;color:var(--muted);font-size:12px;line-height:1.65}.safe svg{width:25px;min-width:25px;fill:none;stroke:var(--brand);stroke-width:1.6}.safe strong{display:block;color:var(--ink);font-size:13px;margin-bottom:2px}.loading{text-align:center;padding:48px 12px;color:var(--muted)}
.catalog-heading{padding:4px 2px 12px}.catalog-heading .eyebrow{color:var(--muted);margin:0 0 12px;font-size:12px}.catalog-heading h1{font-size:26px;line-height:1.3;margin:0 0 5px;letter-spacing:-.5px}.catalog-heading .sub{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.product-card{padding:12px 16px;border-radius:22px;margin:10px 0 0}.product-identity{display:flex;align-items:center;gap:8px;min-height:24px}.product-identity h2{flex:1;min-width:0;font-size:16px;font-weight:600;margin:0;overflow-wrap:anywhere}.product-logo{width:24px;height:24px;object-fit:contain;flex-shrink:0;border-radius:6px;background:#f1eefb}.product-status{max-width:130px;flex-shrink:0;font-size:10px;line-height:1.35;padding:4px 8px;border-radius:8px;background:#f1eefb;color:var(--brand);overflow-wrap:anywhere}.product-status.danger{color:var(--danger)}.product-status.success{color:var(--ok)}.product-status.warning{color:#945a10}.product-columns{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:12px;margin-top:10px}.product-card .product-label{font-size:11px;line-height:1.4;margin:0}.product-card .product-amount{font-size:28px;font-weight:600;letter-spacing:-.7px;line-height:1.2;margin:3px 0 0;color:var(--ink);overflow-wrap:anywhere}.product-card .product-amount.unconfirmed{font-size:18px;letter-spacing:0}.product-card .product-detail{font-size:17px;font-weight:600;line-height:1.35;margin:7px 0 0;color:var(--ink);overflow-wrap:anywhere}.product-card .product-secondary{font-size:10px;line-height:1.5;margin:4px 0 0}.product-card .product-badge{font-size:11px;margin:6px 0 0;color:var(--brand)}.product-card .product-description{font-size:11px;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.product-card .product-order{font-size:10px;line-height:1.5;margin:4px 0 0;overflow-wrap:anywhere}.product-button{margin-top:10px;min-height:44px;font-size:15px;font-weight:600;overflow-wrap:anywhere}.product-button.secondary{background:#f1eefb;color:var(--brand)}.product-hero{padding:24px 20px;background:linear-gradient(135deg,#6c59d4,#4b379e);color:#f6f3ff}.product-hero .product-amount,.product-hero .product-detail,.product-hero .product-label,.product-hero .product-description,.product-hero .product-badge{color:#f6f3ff}.product-hero .product-amount{font-size:34px}.product-hero .product-logo{background:#fff}.product-hero .primary{background:#fff;color:var(--brand);margin-top:20px}.empty-state{text-align:center;margin:18px 0}
dialog{border:0;border-radius:20px;padding:22px;width:calc(100% - 32px);max-width:404px;max-height:85dvh;color:var(--ink);background:#fff}dialog::backdrop{background:rgba(27,17,44,.55)}.dialog-header{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:16px}.dialog-header h2{font-size:20px;margin:0}.close{border:0;border-radius:50%;width:36px;height:36px;font-size:24px;color:var(--muted);background:var(--surface)}.preview{max-width:100%;max-height:230px;border-radius:12px;margin:12px auto;display:block}.contact-link{display:block;color:var(--brand);padding:12px 0;font-size:14px}
@media(min-width:600px){.shell{margin:40px auto;min-height:calc(100dvh - 80px);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 50px rgba(49,30,91,.08)}}@media(max-width:360px){.brand-logo{width:144px}.hero h1{font-size:33px}.code-line{gap:7px}.send{padding:12px}}
/* Repayment details use the current Android fragment_repay_info dimensions/tokens. */
.header-icon{border:0;background:transparent;padding:6px;width:36px;height:40px;flex:none}.header-icon img,.help-icon{display:block;width:24px;height:24px}.repay-screen{--brand:#6655A3;--brand-dark:#463B73;--ink:#241F38;--muted:#6F6980;--surface:#F9F8FC;--line:#E8E4F0;font-family:Roboto,Arial,ui-sans-serif,sans-serif;background:var(--surface)}.repay-screen .topbar{height:60px;min-height:60px;padding:0 10px 0 0;border:0;justify-content:flex-start;gap:10px}.repay-screen .header-back{width:40px;padding:10px 15px}.repay-screen .header-back img{width:10px;height:20px}.repay-brand{flex:1;color:var(--brand);font-size:20px;line-height:24px}.repay-screen .help{width:36px;height:40px;padding:6px;min-height:0;border:0;border-radius:0;flex:none}.repay-screen main{padding:16px 0 20px}.repay-screen footer{display:none}.repay-screen dialog,body:has(.repay-screen) dialog{font-family:Roboto,Arial,ui-sans-serif,sans-serif}
.repay-summary,.repay-fees{border:1px solid var(--line);border-radius:22px;background:#fff;margin:0 16px;padding:20px}.repay-summary{text-align:center}.repay-due{font-size:34px;line-height:41px;font-weight:700;margin:0;overflow-wrap:anywhere}.repay-caption{font-size:14px;color:var(--muted);line-height:20px;margin:6px 0 0}.repay-summary-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0 10px}.repay-summary-columns strong{font-size:18px;line-height:22px;font-weight:700}.repay-summary-columns p{font-size:14px;line-height:20px;color:var(--muted);margin:10px 0 0}.repay-fees{margin-top:12px}.repay-fees dl{margin:0}.repay-fee{display:grid;grid-template-columns:minmax(0,1.3fr) 12px minmax(0,1.1fr);align-items:center;gap:10px;margin-top:20px}.repay-fee:first-child{margin-top:0}.repay-fee dt{font-size:16px;line-height:22px;font-weight:700;color:var(--muted)}.repay-fee>span{font-size:20px;line-height:24px;color:var(--muted);font-weight:700}.repay-fee dd{font-size:17px;line-height:22px;font-weight:700;margin:0;text-align:right;overflow-wrap:anywhere}.native-pay{display:block;background:#6655A3;color:#fff;border:0;border-radius:16px;width:100%;min-height:40px;padding:8px 10px;font-size:16px;font-weight:400;line-height:24px}.repay-reloan{width:calc(100% - 80px);margin:24px 40px 20px}.repay-pay-row{display:flex;gap:5px;margin:24px 16px 0}.repay-reloan+.repay-pay-row{margin-top:0}.repay-pay-row .native-pay{flex:1;min-width:0}.repay-voucher{width:calc(100% - 80px);margin:20px 40px}.repay-unavailable,.repay-pending{margin:20px 16px;padding:20px;font-size:14px;line-height:1.6;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:22px}.repay-actions .notice{margin:14px 16px}.repay-safety{display:flex;align-items:flex-start;gap:12px;margin:34px 16px 20px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#F5F1FC}.repay-safety img{width:25px;height:25px;flex:none}.repay-safety strong{font-size:14px;line-height:20px}.repay-safety p{font-size:12px;line-height:18px;color:var(--muted);margin:8px 0 0}.repay-account{display:flex;justify-content:center;flex-wrap:wrap;margin:0 16px}.repay-account .text-button{font-size:12px;margin:0}.repay-contact{display:block;margin:0 auto 12px}.download-link{display:block;text-align:center;font-size:12px;line-height:20px;color:var(--muted);padding:12px 0}.rollover-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rollover-columns h3{font-size:16px;color:#6655A3;margin:0 0 16px}.rollover-columns p{font-size:12px;color:#6F6980;margin:12px 0 5px}.rollover-columns strong{font-size:14px;overflow-wrap:anywhere}.rollover-total{text-align:center;font-size:16px;line-height:24px;margin:24px 0}.rollover-total strong{display:block;font-size:30px;line-height:36px;margin-top:10px}.support-messages{max-height:38dvh;overflow:auto;padding:4px 0;min-height:120px}.support-message{max-width:90%;margin:8px 0;padding:12px;border-radius:14px;background:#F5F1FC;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.support-message.own{margin-left:auto;background:#EDE8F9}.support-message strong{display:block;font-size:11px;color:#6655A3}.support-message p{white-space:pre-wrap;margin:6px 0}.support-message time{display:block;text-align:right;font-size:10px;color:#6F6980}.support-compose{display:flex;align-items:flex-end;gap:8px}.support-compose textarea{resize:vertical;min-height:48px;max-height:120px;margin:8px 0 0;font-size:14px;flex:1}.support-compose button{width:auto;font-size:14px;min-height:48px}.support-tools{display:flex;align-items:center;justify-content:space-between}.support-tools .text-button{font-size:12px;margin:0}.support-tools label{font-size:12px;color:#6655A3}.support-tools input{max-width:220px;font-size:11px}.support-attachment{display:block;color:#6655A3;margin:8px 0}.support-notice{font-size:12px;line-height:1.5;color:#6F6980}.guest-contact{font-size:14px;line-height:1.6}
@media(max-width:360px){.repay-fee{gap:6px;grid-template-columns:minmax(0,1.4fr) 10px minmax(0,1fr)}.repay-fee dt{font-size:14px}.repay-fee dd{font-size:15px}.repay-voucher{width:calc(100% - 48px);margin-left:24px;margin-right:24px;font-size:14px}.repay-reloan{width:calc(100% - 48px);margin-left:24px;margin-right:24px}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.repay-product{font-size:12px;line-height:18px;color:var(--brand);font-weight:700;margin:0 0 8px}.repay-order-details{margin:20px 16px 0;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px 16px}.repay-order-details summary{cursor:pointer;font-size:13px;line-height:20px;color:var(--muted)}.repay-order-details dl{margin:16px 0 4px}.repay-order-details .repay-fee{grid-template-columns:minmax(0,1fr) 8px minmax(0,1.7fr);margin-top:12px;gap:8px}.repay-order-details .repay-fee dt,.repay-order-details .repay-fee dd{font-size:12px;line-height:18px;font-weight:400}.repay-order-details .repay-fee>span{font-size:14px}.repay-order-details+.repay-safety{margin-top:16px}

.repay-screen .topbar{position:sticky;top:0;z-index:3;box-shadow:0 1px 0 var(--line)}.repay-screen .header-back{display:flex;align-items:center;gap:5px;width:72px;padding:8px;color:var(--brand);font-size:12px}.repay-screen .header-back img{width:18px;height:18px}

.safe>img{width:25px;height:25px;flex:none}

.repay-brand{min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

@media(max-width:360px){.help{font-size:12px;padding:0 12px}.repay-screen .help{padding:6px}}

.topbar{position:sticky;top:0;z-index:3;box-shadow:0 1px 0 var(--line)}

body:has(.repay-screen) dialog{--brand:#6655A3;--muted:#6F6980;--ink:#241F38;--line:#E8E4F0}.rollover-columns>div{padding:14px 12px;border:1px solid #E8E4F0;border-radius:14px;background:#F9F8FC}.rollover-columns h3{font-size:14px;line-height:20px}.rollover-columns strong{font-weight:700}.support-messages{scroll-behavior:smooth}.support-compose{margin-top:8px}
/* Web polish: a clear hierarchy while retaining the App's data and actions. */
.catalog-heading{padding:4px 2px 18px}.catalog-heading .eyebrow{margin-bottom:8px;letter-spacing:.04em}.catalog-heading h1{font-size:25px;line-height:1.35}.product-card{padding:16px;border-color:#E8E4F0;margin-top:12px}.product-identity{gap:10px}.product-status{padding:5px 8px;border-radius:8px}.product-columns{margin-top:14px}.product-button{margin-top:14px;min-height:48px;border-radius:14px}.product-card .product-order{margin-top:6px}.product-card .product-secondary{margin-top:6px}.help{font-weight:600}.repay-screen .topbar{gap:8px;padding-right:12px}.repay-brand{font-size:18px;line-height:22px;font-weight:600}.repay-screen .header-icon:not(.header-back),.repay-screen .help{height:36px;width:36px;border:1px solid #E8E4F0;border-radius:10px;background:#fff}.repay-summary{padding:20px 16px 16px}.repay-product{display:table;max-width:100%;margin:0 auto 10px;padding:4px 10px;background:#F5F1FC;border-radius:8px;color:#6655A3;line-height:18px}.repay-due{font-size:38px;line-height:46px;letter-spacing:-.5px}.repay-caption{font-size:13px;margin-top:5px}.repay-summary-columns{gap:0;border-radius:14px;background:#F9F8FC;padding:14px 0;margin:18px 0 0}.repay-summary-columns>div+div{border-left:1px solid #E8E4F0}.repay-summary-columns strong{font-size:18px}.repay-summary-columns p{font-size:12px;line-height:18px;margin-top:7px}.repay-fees{padding:18px 20px}.repay-fee{margin-top:16px}.repay-fee dt{font-size:14px;line-height:20px;font-weight:400}.repay-fee dd{font-size:15px;line-height:20px;font-weight:600}.repay-fee>span{font-size:16px;line-height:20px;font-weight:400}.native-pay{min-height:48px;border-radius:14px;padding:12px;font-size:15px;line-height:24px;font-weight:600}.repay-reloan{width:calc(100% - 32px);margin:20px 16px 12px}.repay-pay-row{gap:10px;margin:20px 16px 0}.repay-reloan+.repay-pay-row{margin-top:0}#rollover{background:#EDE8F9;color:#463B73;border:1px solid #DFD7EF;padding:11px}.repay-voucher{width:calc(100% - 32px);margin:12px 16px 0;background:#fff;color:#6655A3;border:1px solid #DCD3ED;padding:11px}.repay-order-details{margin-top:16px;padding:14px 16px}.repay-safety{background:#F5F1FC;padding:16px;gap:10px}.repay-safety img{width:22px;height:22px}.repay-safety strong{font-size:13px;line-height:20px}.repay-account{gap:8px}.repay-account .text-button{font-weight:400}.download-link{font-size:12px;padding:10px 0}.support-message{border:1px solid #E8E4F0}.support-compose button{border-radius:12px}.rollover-total{margin:20px 0}.rollover-columns p{line-height:18px}.repay-screen .notice{font-size:13px;line-height:1.5}

/* Consistent customer-facing payment actions in the App home brand purple. */
.native-pay,.repay-reloan,#pay,#rollover,.repay-voucher{background:#6451CC;color:#fff;border:0;padding:12px;box-shadow:0 3px 8px rgba(100,81,204,.12)}
.native-pay:hover:not(:disabled),.repay-voucher:hover:not(:disabled),#rollover:hover:not(:disabled){background:#5944BA}
.native-pay:active:not(:disabled),.repay-voucher:active:not(:disabled),#rollover:active:not(:disabled){background:#463B73;box-shadow:none}
.native-pay:disabled,.repay-voucher:disabled,#rollover:disabled{background:#D8D2E8;color:#736B85;opacity:1;box-shadow:none}
/* Keep payment loading within the tapped button without moving the page. */
.repay-actions.payment-loading .native-pay:disabled,.repay-actions.payment-loading #rollover:disabled{background:#6451CC;color:#fff;opacity:1;box-shadow:0 3px 8px rgba(100,81,204,.12)}
.repay-actions .native-pay{display:flex;align-items:center;justify-content:center;gap:8px;transition:background-color .15s ease,box-shadow .15s ease;-webkit-tap-highlight-color:transparent}
.repay-actions .native-pay[aria-busy="true"]::before{content:"";width:14px;height:14px;flex:0 0 14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:payment-spin .75s linear infinite}
.repay-actions .notice.error{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 40px);max-width:400px;z-index:6;margin:0;padding:14px 16px;border:1px solid #EDD9DE;border-radius:14px;background:#FFF6F8;color:#9E2948;box-shadow:0 8px 28px rgba(36,31,56,.14);font-size:13px;line-height:1.5}
@keyframes payment-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.repay-actions .native-pay{transition:none}.repay-actions .native-pay[aria-busy="true"]::before{animation:none}}
