*{box-sizing:border-box}
:root{--orange:#ff7900;--brown:#4b3027;--cream:#fff7ed;--line:#eadfd5;--muted:#777;--red:#c83d35;--green:#2e8b57}
html,body{margin:0;min-height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--brown);background:var(--cream)}
body{padding-bottom:0}button,input{font:inherit}button{cursor:pointer}
.loading{min-height:100vh;display:grid;place-items:center;text-align:center;color:#777}.loading-logo{font-size:28px;font-weight:900;color:var(--orange);margin-bottom:6px}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:22px;background:linear-gradient(180deg,#fffaf4,#fff4e6)}
.auth-card{width:min(620px,calc(100% - 24px));background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px 26px;box-shadow:0 12px 40px rgba(70,40,10,.07)}
.brand-large{text-align:center;font-size:40px;font-weight:950;color:var(--orange);letter-spacing:-1.5px}.auth-subtitle{text-align:center;color:#777;font-size:18px;margin:4px 0 24px}
.auth-card label{display:block;font-weight:800;font-size:14px;margin:15px 0 7px}
input{width:100%;border:1px solid #ddd;border-radius:15px;padding:14px 15px;background:#fff;outline:0;color:var(--brown)}input:focus{border-color:#ff9b4a;box-shadow:0 0 0 3px rgba(255,121,0,.1)}
.btn{width:100%;border:0;border-radius:15px;padding:15px 16px;font-weight:900;margin-top:13px}.primary{background:var(--orange);color:#fff}.soft{background:#fff0df;color:#5b3325}.btn:disabled{opacity:.55}
.alert{margin:14px 0;padding:13px 15px;border-radius:14px;background:#fff0f0;color:#a33131;font-size:14px}.alert.success{background:#ecfbf1;color:#24733b}
.app-shell{min-height:100vh;padding-bottom:82px}.topbar{height:72px;background:#fff;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 720px)/2));position:sticky;top:0;z-index:20}.brand{font-weight:950;color:var(--orange);font-size:19px}.top-sub{font-size:12px;color:#777;margin-top:1px}.top-user{font-weight:800;color:#777;font-size:16px}
.content{width:min(720px,100%);margin:auto;padding:18px 15px 35px}.card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 6px 22px rgba(70,40,10,.045)}
.welcome{padding:22px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#fff,#fff5e9)}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.8px;color:#a36a45;text-transform:uppercase}.welcome h1{font-size:28px;line-height:1.1;margin:5px 0}.welcome p{color:#777;margin:0;line-height:1.45}.welcome-icon{width:58px;height:58px;border-radius:18px;background:#fff0df;display:grid;place-items:center;font-size:30px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.stat{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px}.stat b{display:block;font-size:23px}.stat span{display:block;color:#888;font-size:11px;margin-top:3px}.stat.red b{color:var(--red)}.stat.orange b{color:var(--orange)}.stat.green b{color:var(--green)}
.section-head{display:flex;justify-content:space-between;align-items:end;margin:18px 2px 9px}.section-head h2{font-size:19px;margin:0}.section-head p{margin:3px 0 0;color:#888;font-size:11px}.section-head button{border:0;background:#fff0df;color:#9b5c2c;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:900}
.filter{padding:14px}.filter label{display:block;font-size:12px;font-weight:900;margin-bottom:7px}.filter input{height:43px;padding:8px 12px}
.notice{margin-top:12px;padding:13px 14px;border-radius:15px;background:#eaf9ee;display:flex;gap:10px;align-items:flex-start;color:#2b6d3c}.notice .check{width:27px;height:27px;border-radius:50%;background:#4dbd72;color:#fff;display:grid;place-items:center;font-weight:900;flex:none}.notice b{font-size:13px}.notice p{margin:3px 0 0;color:#5c8168;font-size:11px;line-height:1.35}
.stock-list{padding:5px 16px}.stock-report{padding:14px 0;border-bottom:1px solid #eee}.stock-report:last-child{border-bottom:0}.report-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.report-top b{font-size:15px}.report-top small{display:block;color:#888;font-size:10px;margin-top:3px}.report-count{font-size:10px;color:#888;white-space:nowrap}
.stock-items{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.stock-chip{border-radius:11px;padding:8px 9px;font-size:11px;font-weight:800;display:flex;gap:5px;align-items:center}.stock-chip.habis{background:#fff0f0;color:#a33131;border:1px solid #f1d1d1}.stock-chip.sedikit{background:#fff5e7;color:#a56122;border:1px solid #f0dcc0}.stock-chip span{font-weight:500;color:inherit}
.empty{text-align:center;padding:35px 10px;color:#777}.empty>div{font-size:34px}.empty b{display:block;color:var(--brown);margin-top:7px}.empty p{font-size:12px}
.profile-card{background:linear-gradient(120deg,#ff7900,#ff9b3d);color:#fff;border-radius:22px;padding:24px;display:flex;gap:16px;align-items:center}.profile-card .avatar{width:58px;height:58px;border-radius:18px;background:#fff3e5;display:grid;place-items:center;font-size:30px}.profile-card .eyebrow{color:#ffe5c8}.profile-card h1{margin:3px 0;font-size:24px}.profile-card p{margin:0;color:#fff0df}
.info-list{padding:4px 18px;margin:14px 0}.info-list div{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #eee;font-size:13px}.info-list div:last-child{border:0}.info-list span{color:#888}.online{color:#278246}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:72px;background:rgba(255,255,255,.97);backdrop-filter:blur(10px);border-top:1px solid #eee;display:flex;justify-content:center;z-index:30}.bottom-nav button{width:min(180px,33.33%);border:0;background:none;color:#999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.bottom-nav button span{font-size:22px;line-height:1}.bottom-nav button small{font-size:10px;font-weight:800}.bottom-nav button.active{color:var(--orange)}
.toast{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);max-width:min(92vw,520px);background:#3b2920;color:#fff;padding:12px 16px;border-radius:13px;font-size:13px;font-weight:700;z-index:50;box-shadow:0 8px 25px rgba(0,0,0,.2)}
@media(max-width:560px){.auth-card{padding:25px 18px}.brand-large{font-size:34px}.content{padding:15px 12px 25px}.welcome h1{font-size:24px}.stats{gap:7px}.stat{padding:11px}.stat b{font-size:20px}.stat span{font-size:10px}.topbar{padding:0 15px}}
