/* Digi BAL Smelter · BERANDA UI PREVIEW · Do not use for operational transactions. */
:root{--font:"Plus Jakarta Sans",Arial,sans-serif;--ink:#191822;--sub:#656474;--maroon:#8a183f;--maroon-deep:#651f3b;--rose:#f9edf2;--bg:#faf9fa;--line:#efebee;--good:#14674a;--shadow:0 11px 28px rgba(40,33,45,.055)}
*{box-sizing:border-box}
html{min-width:300px;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible{outline:3px solid #e795ae;outline-offset:3px}
.app-shell{max-width:460px;margin:auto;min-height:100dvh;background:linear-gradient(165deg,#fff 0%,#fbfafb 24%,#f8f7f8 100%);position:relative;padding-bottom:calc(105px + env(safe-area-inset-bottom))}
.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 23px 6px}
.brand{display:flex;align-items:center;gap:9px}
.brand-h{display:grid;place-items:center;width:33px;height:33px;background:linear-gradient(145deg,#9a254d,#74283e);border-radius:11px;color:#fff;font-weight:800;font-size:19px;line-height:1;box-shadow:0 3px 11px #6c24403b}
.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-copy b{font-weight:800;font-size:15px;letter-spacing:-.035em}.brand-copy small{font-size:9px;font-weight:700;color:#9b506b;letter-spacing:.13em;margin-top:4px}
.preview-label{font-size:9px;letter-spacing:.1em;background:#f9edf1;color:#924464;border-radius:999px;padding:7px 10px;font-weight:800}
.app-content{padding:22px 22px 40px}
.greeting{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin:11px 0 26px}
.greeting-copy{min-width:0}.greeting h1{font-size:29px;line-height:1.17;letter-spacing:-.055em;font-weight:800;margin:0 0 10px}
.greeting p{color:var(--sub);font-size:13px;font-weight:500;line-height:1.6;margin:0 0 10px}
.greeting .updated{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;color:#898597;font-size:10.5px;line-height:1.3;white-space:normal}.updated svg{flex:none;margin-right:2px}
.refresh-btn{background:#fff1f6;border:1px solid #f3cad9;box-shadow:0 4px 14px rgba(181,58,99,.045);border-radius:16px;color:#94214f;width:54px;height:54px;flex:none;display:grid;place-items:center;transition:transform .18s,background .18s}.refresh-btn:active{transform:scale(.96)}.refresh-btn.loading svg{animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.hero-action{position:relative;overflow:hidden;isolation:isolate;width:100%;border:0;border-radius:23px;text-align:left;background:linear-gradient(128deg,#922343 0%,#87143a 47%,#621d3a 100%);color:#fff;padding:22px 20px 22px 22px;min-height:178px;box-shadow:0 16px 26px rgba(120,30,65,.16);transition:transform .16s}
.hero-action:active{transform:scale(.993)}.hero-action::before{content:"";z-index:-1;position:absolute;right:-80px;top:-55px;width:240px;height:180px;border-radius:45%;background:linear-gradient(130deg,#ffffff0d,transparent);transform:rotate(-30deg)}.hero-action::after{content:"";z-index:-1;position:absolute;right:-70px;bottom:-130px;width:270px;height:190px;border-radius:50%;background:radial-gradient(ellipse at 50% 0,#db446329,transparent 70%)}
.hero-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#ffe3eb}.hero-eyebrow i{font-style:normal;color:#e8adb9;padding:0 2px}
.hero-content{display:flex;align-items:center;gap:10px;margin-top:13px}.hero-asset{width:106px;height:106px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 8px 9px rgba(21,0,10,.17))}.hero-copy{min-width:0;display:flex;flex-direction:column;gap:8px;flex:1}.hero-copy strong{font-size:18px;line-height:1.3;letter-spacing:-.035em;font-weight:800}.hero-copy small{font-size:12px;line-height:1.55;color:#f7dfeb;font-weight:500}.hero-next{width:28px;height:28px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#ffffff1b}
.section-overview{margin-top:29px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.section-heading h2{font-size:19px;font-weight:800;letter-spacing:-.05em;line-height:1.2;margin:0;white-space:nowrap}.section-heading>span{font-size:10px;color:#777487;white-space:nowrap;font-weight:600}.section-heading .activity-count{background:#fbedf2;color:#883352;border-radius:99px;padding:7px 10px;font-size:10px;font-weight:700}
.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stat-panel{position:relative;min-width:0;min-height:168px;border:1px solid #efebee;border-radius:22px;padding:17px 15px 17px;background:linear-gradient(165deg,#ffffff 10%,#fdfbfc 100%);box-shadow:0 7px 20px rgba(38,32,42,.04);user-select:text;cursor:default}
.stat-icon{position:absolute;top:13px;right:11px;width:60px;height:53px;object-fit:contain;filter:drop-shadow(0 6px 8px #30142214);pointer-events:none}
.stat-panel h3{font-size:11px;line-height:1.35;font-weight:700;letter-spacing:-.025em;color:#777282;margin:0;padding-right:54px;min-height:39px;max-width:100%;display:flex;align-items:flex-start}
.stat-number{font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.075em;margin:12px 0 10px;color:#171622;font-variant-numeric:tabular-nums}
.stat-description{font-size:10.5px;color:#777487;line-height:1.5;font-weight:500;margin:0}
.activity{margin-top:31px}.activity-card{border:1px solid var(--line);background:#fff;border-radius:19px;padding:11px 13px;min-height:76px;display:flex;align-items:center;gap:8px;box-shadow:0 6px 18px #28172b0a}
.activity-image{width:51px;height:51px;object-fit:contain;flex-shrink:0}.activity-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.activity-info strong{font-size:12px;line-height:1.3;letter-spacing:-.02em;font-weight:800;white-space:nowrap}.activity-info small{font-size:9px;line-height:1.4;color:#777487;overflow-wrap:anywhere}.status-pill{color:var(--good);background:#e9f7f0;padding:7px 10px;font-weight:700;font-size:10px;border-radius:999px;flex-shrink:0}
.demo-caption{font-size:9px;color:#a29fa9;line-height:1.5;margin:14px 4px 0}
.bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,460px);z-index:10;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:8px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #efebee;background:#fffffff0;backdrop-filter:blur(18px);box-shadow:0 -8px 28px #22192307}
.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:#777182;border-radius:16px;padding:9px 2px 8px;font-size:10px;font-weight:650;min-height:63px;transition:transform .16s}.nav-item:active{transform:scale(.975)}.nav-item.active{background:linear-gradient(145deg,#fcecf2,#f9e5ed);color:#8a264d;font-weight:800}.nav-item img{height:37px;width:37px;object-fit:contain}
.toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,30px);opacity:0;pointer-events:none;z-index:20;padding:11px 14px;border-radius:14px;background:#26222b;color:#fff;font-size:11px;font-weight:600;max-width:340px;width:max-content;text-align:center;box-shadow:0 8px 20px #20152130;transition:.18s}.toast.show{opacity:1;transform:translate(-50%,0)}
dialog{border:0;border-radius:23px;padding:0;max-width:min(90vw,380px);box-shadow:0 22px 85px #18081350;background:#fff;color:var(--ink)}dialog::backdrop{background:#100a1178;backdrop-filter:blur(3px)}.dialog-content{padding:25px;text-align:center}.dialog-mark{color:#903359;font-size:28px}.dialog-content h2{font-size:19px;margin:8px 0 10px}.dialog-content p{font-size:12px;line-height:1.7;color:#716d7c;margin:0 0 21px}.dialog-close{border:0;border-radius:12px;background:var(--maroon);color:#fff;padding:13px 18px;width:100%;font-size:12px;font-weight:800}
@media(max-width:380px){.app-header{padding:16px 17px 0}.app-content{padding:18px 17px 32px}.greeting h1{font-size:26px}.hero-asset{width:95px;height:95px}.hero-copy strong{font-size:16px}.hero-eyebrow{font-size:9px}.hero-action{padding:19px 15px;min-height:165px}.stat-panel{padding:14px 12px;min-height:160px}.stat-icon{right:7px;width:53px;height:51px}.stat-panel h3{font-size:10px;padding-right:43px}.stat-number{font-size:32px}.section-heading h2{font-size:17px}.section-heading>span{font-size:9px}.nav-item{font-size:9px}}
@media(min-width:520px){body{background:#eeecf0}.app-shell{box-shadow:0 18px 65px #2114241a}}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{animation-duration:.01ms!important;transition:none!important}}
