/* Keterbacaan kelima formulir: pasangan warna eksplisit mengatasi aturan tema lama. */
body.form-module{color:#17231c;color-scheme:light;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.form-module input,body.form-module textarea,body.form-module select{color:#17231c!important;-webkit-text-fill-color:#17231c!important;background:#fff!important;caret-color:#17231c;font-size:16px!important;line-height:1.5!important}
body.form-module input::placeholder,body.form-module textarea::placeholder{color:#59665e!important;-webkit-text-fill-color:#59665e!important;opacity:1!important}
body.form-module input:-webkit-autofill{ -webkit-text-fill-color:#17231c!important;box-shadow:0 0 0 1000px #fff inset!important}
body.form-module .field label,body.form-module .field small{color:#34473a!important;line-height:1.5!important}
body.form-module .wallet-card,body.form-module .table-card,body.form-module .topbar{background:#fff!important;color:#17231c!important}
body.form-module .topbar h2,body.form-module .history-table td,body.form-module .history-table th,body.form-module .history-table td::before{color:#17231c!important}
body.form-module .eyebrow{color:#4b591b!important}
body.form-module .brand-card{background:#f4f7e8!important;color:#17231c!important}
body.form-module .brand-card p{color:#17231c!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.4!important;min-width:0!important;letter-spacing:0!important}
body.form-module .company-info{background:#f4f7e8!important;border-color:#cbd5b7!important;color:#17231c!important}
body.form-module .company-info strong,body.form-module .company-info span{color:#34473a!important;line-height:1.5!important}
body.form-module a.kn-portal-link{background:#eef3e1!important;color:#253b26!important;-webkit-text-fill-color:#253b26!important;border:1px solid #bccba4!important;border-radius:9px!important;line-height:1.5!important;font-size:13px!important;font-weight:700!important;white-space:normal!important;text-align:center!important;text-decoration:none!important;opacity:1!important}
body.form-module a.kn-portal-link:hover{background:#e1eaca!important;color:#17231c!important}
body.form-module .top-actions{flex-wrap:wrap!important}
body.form-module .history-btn,body.form-module .ghost{background:#eef3e1!important;color:#253b26!important;border-color:#bccba4!important}
body.form-module .logout-btn,body.form-module .logout-icon-only,body.form-module .action-panel .download-btn{background:#17231c!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.form-module .calcbox button,body.form-module .calc-inline button{background:#e8eee3!important;color:#253b26!important;border:1px solid #bccba4!important}
body.form-module .save-btn{background:#c3d42b!important;color:#17231c!important;-webkit-text-fill-color:#17231c!important}
body.form-module #rupiahPreview{background:#eef3e1!important;color:#253b26!important}
body.form-module .action-panel .wa,body.form-module .history-table .action-icon.wa{background:#146c43!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.form-module .history-table .action-icon.edit{background:#e8eee3!important;color:#253b26!important}
body.form-module .history-table .action-icon.download{background:#17231c!important;color:#fff!important}
body.form-module button:disabled{opacity:1!important;cursor:wait}
body.form-module a:focus-visible,body.form-module button:focus-visible{outline:3px solid #526822!important;outline-offset:3px!important}

/* PIN: judul, petunjuk, kolom, tombol, dan Home tetap jelas di Safari/Chrome. */
body.form-module.form-login{overflow-y:auto!important;overflow-x:hidden!important}
body.form-module.form-login .pin-card{width:min(420px,calc(100vw - 32px))!important;max-width:420px!important;box-sizing:border-box!important;background:#fff!important;color:#17231c!important;border:1px solid #d6dece!important;padding:28px 24px!important;border-radius:24px!important}
body.form-module.form-login .pin-card::before{display:none!important}
body.form-module.form-login .pin-logo{display:block!important;width:auto!important;max-width:min(240px,85%)!important;height:auto!important;max-height:150px!important;object-fit:contain!important;margin:0 auto 20px!important}
body.form-module.form-login .pin-card h1{color:#17231c!important;font-size:22px!important;line-height:1.35!important;letter-spacing:0!important;margin:8px 0!important;white-space:normal!important;overflow-wrap:anywhere}
body.form-module.form-login .pin-card p{color:#445449!important;font-size:14px!important;line-height:1.6!important;margin:0 0 18px!important}
body.form-module.form-login .pin-card .eyebrow{color:#4b591b!important;line-height:1.5!important}
body.form-module.form-login .pin-form{gap:10px!important}
body.form-module.form-login .pin-form label{color:#17231c!important;font-size:14px!important;line-height:1.5!important;text-align:left!important}
body.form-module.form-login .pin-form input{height:52px!important;min-width:0!important;border:1px solid #899b85!important;font-size:20px!important;letter-spacing:4px!important;line-height:1.5!important}
body.form-module.form-login .pin-form button{height:auto!important;min-height:50px!important;padding:12px 18px!important;background:#c3d42b!important;background-image:none!important;color:#17231c!important;-webkit-text-fill-color:#17231c!important;font-size:16px!important;font-weight:800!important;line-height:1.5!important;border:1px solid #9cab1b!important;border-radius:13px!important;opacity:1!important;box-shadow:0 8px 18px #17231c12!important}
body.form-module.form-login .pin-form button:hover{background:#d0df46!important}
body.form-module.form-login .kn-home-end{justify-content:center!important;margin-top:20px!important;padding-top:16px!important;border-top:1px solid #d6dece!important}
body.form-module.form-login .kn-home-end a.kn-portal-link{width:100%!important;min-height:44px!important;padding:10px 14px!important;box-sizing:border-box!important}
body.form-module.form-login .pin-error{background:#fff0eb!important;color:#8e261b!important;border:1px solid #e8b4a8!important;line-height:1.5!important}

/* Preview dan hasil JPG: judul panjang membungkus, teks utama tetap tajam. */
body.form-module .offer-paper{background:#fff!important;color:#17231c!important}
body.form-module .offer-paper h1,body.form-module .offer-paper h3,body.form-module .offer-paper b,body.form-module .offer-paper .sign{color:#17231c!important}
body.form-module .offer-paper small,body.form-module .offer-paper p,body.form-module .offer-no,body.form-module .total-date{color:#445449!important}
body.form-module .offer-paper .paper-head h1{font-size:24px!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
body.form-module .offer-paper .paper-head p{font-size:14px!important;line-height:1.5!important;white-space:normal!important;overflow:visible!important}
body.form-module .offer-paper .head-center{min-width:0!important}
body.form-module .offer-paper .info-grid div,body.form-module .offer-paper .details-box{background:#fff!important;color:#17231c!important}
body.form-module .offer-paper .total-row{background:#c3d42b!important;color:#17231c!important}
body.form-module .offer-paper .total-row span,body.form-module .offer-paper .total-row strong{color:#17231c!important}
body.form-module .offer-paper .total-row strong{background:#fff!important}
@media(max-width:560px){
 body.form-module.form-login .pin-card{padding:24px 20px!important}
 body.form-module.form-login .pin-logo{max-height:130px!important;margin-bottom:16px!important}
 body.form-module.form-login .pin-card h1{font-size:21px!important}
 body.form-module .brand-card p{font-size:16px!important}
 body.form-module .topbar h2{font-size:21px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere}
 body.form-module .offer-paper:not(.desktop-download-paper) .paper-head h1{font-size:19px!important}
 body.form-module .offer-paper:not(.desktop-download-paper) .paper-head p{font-size:13px!important}
 body.form-module .history-table td,body.form-module .history-table th{line-height:1.5!important}
}

/* Logo Kanaka berwarna abu terang: bidang gelap mempertahankan kejelasan nama. */
body.form-module[data-form-key="kanaka"] .pin-logo,
body.form-module[data-form-key="kanaka"] .brand-logo,
body.form-module[data-form-key="kanaka"] .paper-head img{background:#17231c!important;border-radius:12px!important;padding:10px!important;box-sizing:border-box!important}
