:root{--primary:#1768d7;--primary-dark:#1556ae;--bg:#f3f6fb;--ink:#20324b;--muted:#738398;--line:#e0e7f0;--shadow-lg:0 8px 28px #203a6710;--shadow-md:0 4px 18px #203a6707;--shadow-sm:0 3px 12px #203a6705}html,body{background:#e9eef6;font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px}body{display:block;padding:0;min-height:100vh;min-height:100dvh}.device-wrap{min-height:100dvh}.phone-shell{max-width:680px;min-height:100dvh;background:#f3f6fb;border:0;box-shadow:0 0 0 1px #dce4ef;overflow:clip}.main-screen,.auth-screen{min-height:100vh;min-height:100dvh}.main-screen{padding:0 20px calc(100px + env(safe-area-inset-bottom));background:#f3f6fb}.auth-screen{padding:calc(28px + env(safe-area-inset-top)) 22px 40px;background:linear-gradient(180deg,#1768d7 0,#2c7fe4 260px,#f3f6fb 260px)}.auth-glow{display:none}.auth-brand{display:flex;align-items:center;gap:16px;padding:0 2px 28px}.wali-brand-logo{display:block;width:56px;height:56px;object-fit:contain;padding:5px;border-radius:18px;background:#fff;border:1px solid #ffffff70;flex-shrink:0}.auth-brand p{font-size:9px;letter-spacing:.09em;font-weight:600;line-height:1.5;margin-bottom:6px}.auth-brand h1{font-size:28px;letter-spacing:-.6px;line-height:1.2;font-weight:650}.auth-brand span{font-size:12px;margin-top:6px;color:#e2eeff}.auth-card{border-radius:23px;padding:24px;box-shadow:0 12px 32px #174e8c13;border:1px solid #e0e8f3;max-width:500px;margin:auto}.tabs,.segmented{background:#f0f4fa;border:1px solid #e0e7f2;border-radius:14px;padding:5px;gap:6px}.tab,.seg{font-size:13px;font-weight:600;border-radius:10px;min-height:44px}.tab.active,.seg.active{box-shadow:0 2px 8px #1c4d8c0a;color:#1768d7}.auth-form{gap:20px}.field-group label{font-size:12px;font-weight:600;color:#3c526c}.input-shell{height:54px;border-radius:12px;background:#f8fafd;border-color:#dce5ef;padding:0 12px}.input-shell input,.input-shell textarea,input,textarea,select{font-size:16px;max-width:100%}.input-shell .icon{color:#8ba0b8}.input-shell:focus-within{border-color:#4d94e9;box-shadow:0 0 0 3px #1b71dd14}.toggle-pass{width:40px;height:40px;background:transparent;border-radius:10px}.primary-btn{background:#1768d7;box-shadow:none;border-radius:12px;font-size:14px;font-weight:600;min-height:52px}.ghost-btn{border-radius:12px;font-weight:600}.secure-note{font-size:11px;line-height:1.6;color:#7c8da3}.field-group small{font-size:11px}.otp-input{width:100%;min-width:0;height:60px;font-size:26px;border-radius:12px;font-weight:600;letter-spacing:.26em;padding-left:.26em}.otp-form h2{font-size:23px;font-weight:650}.home-hero{margin:0 -20px;padding:calc(22px + env(safe-area-inset-top)) 20px 62px;background:linear-gradient(115deg,#1768d7,#2d7ce1)}.hero-bg-one,.hero-bg-two{display:none}.home-hero-row{align-items:center;gap:12px}.home-hero-row .wali-brand-logo{width:44px;height:44px;padding:4px;border-radius:14px}.home-title{flex:1;min-width:0}.home-title p{font-size:8px;letter-spacing:.08em;font-weight:600;line-height:1.5}.home-title h1{font-size:25px;font-weight:650;line-height:1.2;letter-spacing:-.5px}.home-title span{font-size:10px;letter-spacing:0;line-height:1.5;font-weight:400;color:#d8e9ff;margin-top:5px}.header-action{width:42px;height:42px;border-radius:13px;box-shadow:none;flex-shrink:0}.home-content{margin-top:-36px;gap:18px}.balance-card{padding:22px;border-radius:20px;box-shadow:0 8px 22px #204d8210;align-items:flex-start;flex-wrap:wrap}.balance-card>div{min-width:0;flex:1 1 180px}.balance-card p{font-size:10px;font-weight:600;letter-spacing:.07em}.balance-card h2{font-size:32px;line-height:1.3;letter-spacing:-.9px;margin:8px 0;color:#203b5e;overflow-wrap:anywhere}.balance-card span{font-size:12px;line-height:1.6;display:block;overflow-wrap:anywhere}.topup-btn{border:0;border-radius:12px;min-height:44px;height:44px;font-size:12px;font-weight:600;background:#eaf3ff;color:#1768d7}.wali-student-context{order:1;display:grid;gap:4px;background:#fff;border:1px solid #e1e7f0;border-radius:16px;padding:15px 18px}.wali-student-context span{font-size:10px;color:#7b8da4}.wali-student-context strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.home-content>.balance-card{order:0}.home-content>.menu-grid{order:2}.home-content>.panel-card{order:3}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-card{min-height:124px;border-radius:18px;padding:18px;border-color:#e1e7ef;box-shadow:none}.menu-card:after{display:none}.menu-icon{width:42px;height:42px;border-radius:13px;margin-bottom:13px}.menu-card strong{font-size:14px;font-weight:600;margin-bottom:4px}.menu-card small{font-size:11px}.panel-card,.profile-card,.list-item{border-radius:18px;border-color:#e1e7ef;box-shadow:none;padding:18px;min-width:0}.panel-head{align-items:center;gap:10px}.panel-head p{font-size:9px;letter-spacing:.09em;font-weight:600;line-height:1.5}.panel-head h3{font-size:18px;font-weight:650;letter-spacing:-.3px}.panel-head>span{font-size:10px;font-weight:500;max-width:50%;overflow-wrap:anywhere}.compact-list,.stack-list{display:grid;gap:12px}.compact-item{grid-template-columns:minmax(0,1fr) auto;background:#f8fafd;border-color:#e7edf5;border-radius:13px;padding:13px;min-width:0}.compact-item>div{display:grid;gap:4px;min-width:0}.compact-item strong{font-size:14px;overflow-wrap:anywhere}.compact-item span{font-size:11px;overflow-wrap:anywhere}.pill{white-space:normal;text-align:center;font-size:10px;font-weight:500;padding:6px 9px;max-width:140px;line-height:1.4}.page-header{height:auto;min-height:94px;padding:calc(18px + env(safe-area-inset-top)) 20px 18px;margin:0 -20px;background:#fff;border-color:#e1e8f1;grid-template-columns:42px minmax(0,1fr) 42px;gap:12px;position:relative}.back-btn,.header-spacer{width:42px;height:42px;border-radius:13px;box-shadow:none;border-color:#e2e9f2}.page-title{min-width:0}.page-title h1{font-size:21px;font-weight:650;letter-spacing:-.4px;line-height:1.25;overflow-wrap:anywhere}.page-title p{font-size:11px;line-height:1.5;margin-top:5px}.page-body{padding-top:18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{border-radius:16px;padding:16px;box-shadow:none;min-width:0}.stat-card p{font-size:9px;font-weight:600;letter-spacing:.05em;line-height:1.5}.stat-card strong{font-size:23px;overflow-wrap:anywhere;font-weight:650}.list-item h4{font-size:14px;line-height:1.5;overflow-wrap:anywhere;font-weight:600}.list-item p{font-size:12px;overflow-wrap:anywhere;line-height:1.7}.list-top>div{min-width:0;flex:1}.row-actions{flex-wrap:wrap}.mini-btn{min-height:44px;height:auto;padding:10px 12px;border-radius:11px;font-weight:500}.profile-card h3{font-size:16px;font-weight:650}.profile-row{grid-template-columns:minmax(80px,1fr) minmax(0,1.5fr);gap:15px;padding:13px 0}.profile-row span{font-size:10px;line-height:1.6;letter-spacing:0;text-transform:none;font-weight:500}.profile-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.profile-shortcuts{display:grid;gap:10px}.profile-shortcuts a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px;border:1px solid #e1e8f2;border-radius:13px;font-size:13px;background:#f9fbfd}.profile-shortcuts svg{color:#1768d7}.profile-shortcuts span{flex:1}.logout-btn{font-weight:500;border-radius:13px;font-size:13px;min-height:48px}.bottom-nav{bottom:0;left:50%;width:min(680px,100%);border:0;border-top:1px solid #dfe7f0;border-radius:0;box-shadow:none;gap:8px;padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:#fffffffa}.quick{height:56px;border-radius:12px;font-size:10px;font-weight:500;gap:6px;min-width:0}.quick.active{background:#eaf3ff;color:#1768d7}.quick .icon{width:21px;height:21px}.toast{width:max-content;max-width:min(590px,calc(100vw - 32px));bottom:calc(96px + env(safe-area-inset-bottom));font-size:12px;font-weight:400;border-radius:12px;padding:12px 16px;overflow-wrap:anywhere;box-shadow:0 8px 25px #15294320}.modal-card{width:min(680px,100%);padding:24px 22px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;max-height:90vh;max-height:90dvh;overscroll-behavior:contain}.modal-backdrop{backdrop-filter:blur(3px)}.modal-head h3{font-size:21px;font-weight:650}.modal-head p{font-size:9px;font-weight:600}.modal-close{width:44px;height:44px;border-radius:12px}.modal-open{overflow:hidden}.qris-img{max-width:100%;object-fit:contain}.qris-actions a,.qris-actions button{min-height:44px;height:auto;font-weight:500;overflow-wrap:anywhere}.qris-card{border-radius:16px}.qris-card p{overflow-wrap:anywhere}.qris-card h4{font-weight:650}.ai-card{height:calc(100dvh - 150px - env(safe-area-inset-top));min-height:260px;border-radius:18px;box-shadow:none}.chat-list{padding:16px;min-height:0;overscroll-behavior:contain}.chat-bubble{font-size:13px;overflow-wrap:anywhere}.chat-form{flex-shrink:0;padding:12px;align-items:end}.chat-form input{min-width:0;flex:1;font-size:16px;border-radius:12px}.chat-form button{flex-shrink:0;border-radius:12px}.empty-card{padding:28px 16px}.empty-card h4{font-size:15px;font-weight:600}.empty-card p{font-size:12px;line-height:1.7}.wali-network{position:fixed;top:0;left:50%;transform:translateX(-50%);width:min(680px,100%);padding:10px 14px;background:#fff4df;color:#8b6127;font-size:11px;z-index:150;text-align:center}.wali-load-error{background:#fff8eb;border:1px solid #f0dec0;padding:18px;border-radius:16px;color:#81613a;font-size:12px;line-height:1.7;margin:14px 0}.wali-load-error button{display:block;min-height:44px;margin-top:10px;border-radius:10px;padding:10px 16px;background:#f0e4cf;color:#73562e;font-size:12px}.wali-loading{padding:28px 10px;color:#8292a7;font-size:12px;text-align:center}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #78acef;outline-offset:3px}body[data-wali-auth=pending] .bottom-nav,body[data-wali-auth=out] .bottom-nav{display:none}[hidden]{display:none!important}@media(min-width:768px){.device-wrap{padding:24px 16px}.phone-shell{min-height:calc(100dvh - 48px);border-radius:24px;box-shadow:0 14px 50px #203c6612}.auth-screen,.main-screen{min-height:calc(100dvh - 48px)}.bottom-nav{bottom:24px;width:680px;max-width:calc(100% - 32px);border-radius:0 0 24px 24px}.toast{bottom:124px}.auth-brand{max-width:500px;margin:0 auto}.wali-network{top:24px;border-radius:24px 24px 0 0}.ai-card{height:calc(100dvh - 205px)}}@media(max-width:360px){.main-screen{padding-left:15px;padding-right:15px}.home-hero,.page-header{margin-left:-15px;margin-right:-15px;padding-left:15px;padding-right:15px}.auth-screen{padding-left:16px;padding-right:16px}.auth-card{padding:20px}.home-title p{font-size:7px}.home-title h1{font-size:22px}.home-title span{display:none}.home-hero-row .wali-brand-logo{width:40px;height:40px}.balance-card{padding:18px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-card{padding:15px}.menu-card small{font-size:10px}.menu-card strong{font-size:13px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:13px}.stat-card strong{font-size:21px}.profile-row{grid-template-columns:1fr}.profile-row strong{text-align:left}.page-title h1{font-size:19px}.page-header{gap:9px}.modal-card{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
