:root{--teal:#0F6B5C;--tint:#E3F1EE;--inc:#15803D;--exp:#B91C1C;--pend:#FEF3C7;--pendt:#92400E;--txt:#111827;--mut:#5B6470;--bg:#F4F6F5;--line:#E3E7E6}
*{box-sizing:border-box}
body{margin:0;background:#E9ECEB;font-family:Inter,'Noto Sans Bengali',system-ui,sans-serif;color:var(--txt);-webkit-tap-highlight-color:transparent}
body[lang=bn]{line-height:1.6}
#app{max-width:430px;margin:0 auto;min-height:100vh;min-height:100dvh;background:var(--bg);display:flex;flex-direction:column;position:relative}
button,input,select,textarea{font:inherit;color:inherit}
header.top{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#fff;position:sticky;top:0;z-index:5}
header.top small{display:block;font-size:13px;color:var(--mut)}
header.top h1{margin:2px 0 0;font-size:22px;font-weight:700}
.lang{display:flex;border:1px solid #D5DBD9;border-radius:999px;padding:3px;background:#fff;font-size:13px;font-weight:500}
.lang button{border:0;background:none;min-width:44px;height:34px;border-radius:999px;color:var(--mut);cursor:pointer}
.lang button.on{background:var(--teal);color:#fff}
main{flex:1;padding:16px 16px 96px;display:flex;flex-direction:column;gap:14px}
.card{background:#fff;border-radius:14px;padding:16px}
.hero{background:var(--teal);color:#fff;border-radius:14px;padding:18px}
.hero .lbl{display:flex;justify-content:space-between;font-size:13px;color:#CDE7E1}
.hero .big{font-size:34px;font-weight:700;margin-top:6px;letter-spacing:-.5px}
.hero .two{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.hero .two div{background:rgba(255,255,255,.12);border-radius:12px;padding:10px 12px;font-size:12px;color:#CDE7E1}
.hero .two b{display:block;font-size:17px;color:#fff;font-weight:600}
h2.sec{font-size:14px;font-weight:600;color:#374151;margin:4px 0 0}
.row{display:flex;align-items:center;gap:12px}
.row.sp{justify-content:space-between}
.grow{flex:1;min-width:0}
.mut{color:var(--mut);font-size:13px}
.inc{color:var(--inc)}.exp{color:var(--exp)}
.pill{display:inline-block;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--tint);color:var(--teal)}
.pill.p{background:var(--pend);color:var(--pendt)}.pill.r{background:#FEE2E2;color:var(--exp)}
.item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #EEF1F0}
.item:last-child{border:0}
.av{width:40px;height:40px;border-radius:50%;background:var(--tint);color:var(--teal);display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.btn{height:48px;border-radius:14px;padding:0 20px;font-weight:600;font-size:15px;border:0;background:var(--teal);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn.full{width:100%}.btn.sec{background:#fff;color:var(--teal);border:1.5px solid var(--teal)}.btn.dng{background:#fff;color:var(--exp);border:1.5px solid var(--exp)}
.btn.sm{height:36px;padding:0 14px;font-size:13px;border-radius:10px}
.btn:disabled{opacity:.5}
.fab{position:fixed;bottom:84px;right:max(16px,calc(50% - 199px));height:52px;border-radius:999px;padding:0 20px;box-shadow:0 6px 18px rgba(15,107,92,.35)}
nav.tabs{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;display:flex;background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(10px + env(safe-area-inset-bottom));z-index:6}
nav.tabs button{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:56px;font-size:12px;color:var(--mut);cursor:pointer}
nav.tabs button.on{color:var(--teal);font-weight:600}
svg.i{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
label{display:block;font-size:13px;color:var(--mut);margin:12px 0 6px}
input,select,textarea{width:100%;height:48px;border:1px solid #D5DBD9;border-radius:12px;padding:0 14px;background:#fff;font-size:16px}
textarea{height:96px;padding:12px}
.seg{display:flex;background:#E8EDEB;border-radius:12px;padding:3px}
.seg button{flex:1;height:38px;border:0;background:none;border-radius:10px;color:var(--mut);font-weight:500;cursor:pointer}
.seg button.on{background:#fff;color:var(--teal);font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.1)}
.bar{height:8px;border-radius:99px;background:var(--tint);overflow:hidden;margin-top:6px}.bar i{display:block;height:100%;background:var(--teal)}
.sheet-bg{position:fixed;inset:0;background:rgba(17,24,39,.45);display:flex;align-items:flex-end;justify-content:center;z-index:20}
.sheet{background:#fff;width:100%;max-width:430px;border-radius:20px 20px 0 0;padding:20px 20px calc(24px + env(safe-area-inset-bottom));max-height:88vh;overflow:auto}
.sheet h3{margin:0 0 4px;font-size:18px}
.banner{background:var(--pend);color:var(--pendt);padding:10px 16px;font-size:13px;font-weight:500;text-align:center}
.err{background:#FEE2E2;color:var(--exp);padding:10px 14px;border-radius:12px;font-size:14px;margin-top:12px}
.teeth{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.teeth button{aspect-ratio:1;border-radius:10px;border:1.5px solid var(--line);background:#fff;font-size:12px;font-weight:600;color:var(--mut);cursor:pointer;padding:0}
.teeth button.t{background:var(--tint);border-color:var(--teal);color:var(--teal)}.teeth button.x{background:#FEE2E2;border-color:var(--exp);color:var(--exp)}
.login{padding:56px 24px;display:flex;flex-direction:column;gap:6px}
.logo{width:56px;height:56px;border-radius:16px;background:var(--teal);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.logo svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.rev{opacity:.55}.rev .amt{text-decoration:line-through}
.empty{text-align:center;color:var(--mut);padding:28px 0;font-size:14px}
