@font-face{font-family:'Noto Sans Bengali';src:url('fonts/NotoSansBengali.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--p:#14365d;--p2:#1e5aa8;--bg:#f1f4f9;--tx:#14202e;--mut:#6b7788;--line:#e3e8ef;--ok:#16874a;--okbg:#e2f5ea;--wa:#a35f00;--wabg:#fff1d6;--lv:#5b3fb8;--lvbg:#ece7fb;--no:#a12b2b;--nobg:#fde8e8}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--tx);font-family:'Noto Sans Bengali',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:15px;line-height:1.65;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
a{color:inherit;text-decoration:none}
.top{background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;padding:calc(12px + env(safe-area-inset-top)) 16px 14px;position:sticky;top:0;z-index:30;box-shadow:0 2px 10px rgba(20,54,93,.25)}
.top.big{position:relative;z-index:1;padding-bottom:56px;box-shadow:none;border-radius:0 0 28px 28px}
.row1{display:flex;align-items:center;gap:10px;max-width:760px;margin:auto}
.ttl{flex:1;font-size:19px;font-weight:700}
.ib{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.15)}
.sub{max-width:760px;margin:12px auto 0;font-size:15px;opacity:.95}.sub b{font-size:24px;line-height:1.4;display:block;font-weight:700}
main{max-width:760px;margin:14px auto;padding:0 14px}
.pull{margin-top:-40px;position:relative;z-index:2}
.av{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff;font-weight:700;font-size:16px;flex:none;border:2px solid rgba(255,255,255,.7)}
.card .av,.emp .av{border:0}
.card{background:#fff;border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:0 1px 3px rgba(16,32,60,.08)}
.card h3{margin:0 0 10px;font-size:16px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.stat{background:#fff;border-radius:16px;padding:12px 6px;text-align:center;box-shadow:0 1px 3px rgba(16,32,60,.08)}
.stat b{display:block;font-size:24px;line-height:1.1}.stat small{color:var(--mut);font-size:12px}
.stat.ok b{color:var(--ok)}.stat.lv b{color:var(--lv)}.stat.no b{color:var(--no)}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tile{background:#fff;border-radius:16px;padding:14px 6px;text-align:center;font-size:13px;font-weight:500;box-shadow:0 1px 3px rgba(16,32,60,.08);display:flex;flex-direction:column;align-items:center;gap:8px}
.tile i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#e6eefa;color:var(--p2);font-style:normal}
.tile:active,.btn:active,.emp:active{transform:scale(.97)}
.sec-title{font-size:13px;font-weight:700;color:var(--mut);margin:18px 4px 8px}
.stack{display:flex;flex-direction:column;gap:10px}
.emp{background:#fff;border-radius:16px;padding:12px 14px;box-shadow:0 1px 3px rgba(16,32,60,.08)}
.emp .hd{display:flex;gap:12px;align-items:center}
.emp .nm{flex:1;min-width:0}.emp .nm b{display:block}.emp .nm small{color:var(--mut)}
.emp ul{margin:10px 0 0;padding:10px 0 0;border-top:1px dashed var(--line);list-style:none}
.emp li{padding:3px 0 3px 26px;position:relative;line-height:1.85}.emp li:before{content:'';position:absolute;left:7px;top:.72em;width:5px;height:10px;border:solid var(--ok);border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.emp .ed{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eef2f8;color:var(--p2)}
.bd{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:600;white-space:nowrap}
.bd.ok{background:var(--okbg);color:var(--ok)}.bd.wa{background:var(--wabg);color:var(--wa)}.bd.lv{background:var(--lvbg);color:var(--lv)}.bd.no{background:var(--nobg);color:var(--no)}.bd.ad{background:#e6eefa;color:var(--p2)}
.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:flex;align-items:center;gap:6px;background:#f4f6fa;border-radius:99px;padding:4px 12px 4px 4px;font-size:13px}.chip .av{width:26px;height:26px;font-size:12px}
.datebar{display:flex;gap:8px;align-items:center;margin-bottom:12px}
.datebar input{flex:1}
.datebar .ib{background:#fff;color:var(--p);box-shadow:0 1px 3px rgba(16,32,60,.12);width:44px;height:44px}
.fl{display:block;font-size:13px;font-weight:600;color:var(--mut);margin:14px 0 6px}
input,select,textarea{width:100%;padding:12px;border:1.5px solid var(--line);border-radius:12px;font:inherit;font-size:16px;background:#fff;color:var(--tx)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--p2);box-shadow:0 0 0 3px rgba(30,90,168,.15)}
textarea{min-height:170px;resize:vertical;line-height:1.85}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--p);color:#fff;border:0;border-radius:12px;padding:12px 18px;font:inherit;font-weight:600;cursor:pointer;min-height:46px;width:auto}
.btn.block{width:100%}.btn.alt{background:#e6eefa;color:var(--p2)}.btn.red{background:var(--nobg);color:var(--no)}.btn.sm{min-height:36px;padding:6px 12px;font-size:14px}
.btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.btns .btn{flex:1}
.seg{display:flex;background:#e9eef6;border-radius:12px;padding:4px;gap:4px}
.seg input{display:none}.seg label{flex:1;text-align:center;padding:10px 6px;border-radius:9px;font-weight:600;color:var(--mut);cursor:pointer}
.seg input:checked+label{background:var(--p);color:#fff}
.msg{padding:12px 14px;border-radius:12px;background:var(--okbg);color:#0f5f35;margin-bottom:12px;font-weight:500}.msg.err{background:var(--nobg);color:var(--no)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
details.card summary{font-weight:700;cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px}
details.card summary::-webkit-details-marker{display:none}
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;display:flex;justify-content:space-around;align-items:center;padding:6px 8px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -2px 14px rgba(16,32,60,.12);border-radius:20px 20px 0 0}
.bnav a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;font-weight:600;color:var(--mut);padding:6px 0;max-width:110px}
.bnav a.on{color:var(--p2)}
.bnav a.fab{flex:none;width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;justify-content:center;margin-top:-26px;box-shadow:0 6px 16px rgba(30,90,168,.45);border:4px solid var(--bg)}
body.login{background:linear-gradient(160deg,var(--p),var(--p2));min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
.lg{width:100%;max-width:380px;background:#fff;border-radius:24px;padding:28px 22px;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.lg img{display:block;width:76px;height:76px;margin:0 auto 10px;border-radius:20px}
.lg h1{text-align:center;margin:0 0 4px;font-size:22px}.lg p{text-align:center;margin:0 0 10px;color:var(--mut);font-size:14px}
.prof{text-align:center}.prof .av{width:72px;height:72px;font-size:30px;border:0}
@media(min-width:760px){.bnav{left:50%;right:auto;width:560px;transform:translateX(-50%)}}
.instbar{position:fixed;left:12px;right:12px;bottom:calc(96px + env(safe-area-inset-bottom));z-index:60;max-width:520px;margin:auto;background:#fff;border-radius:18px;padding:12px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 28px rgba(16,32,60,.28);border:1px solid var(--line);animation:up .35s ease}
.instbar img{width:44px;height:44px;border-radius:12px;flex:none}
.instbar div{flex:1;min-width:0}.instbar b{display:block;font-size:15px}.instbar small{color:var(--mut);font-size:12px;line-height:1.4;display:block}
.instbar .go{background:var(--p);color:#fff;border:0;border-radius:10px;padding:9px 14px;font:inherit;font-weight:600;cursor:pointer}
.instbar .x{background:none;border:0;color:var(--mut);font-size:18px;padding:6px;cursor:pointer}
body.login .instbar{bottom:16px}
@keyframes up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}

.stat.wa b{color:var(--wa)}
.cd{display:inline-block;min-width:26px;text-align:center;border-radius:6px;padding:1px 5px;font-size:12px;font-weight:700;line-height:1.6}
.cd.P{background:var(--okbg);color:var(--ok)}.cd.LP{background:var(--wabg);color:var(--wa)}.cd.A{background:var(--nobg);color:var(--no)}.cd.L{background:var(--lvbg);color:var(--lv)}.cd.W,.cd.H{background:#e6eefa;color:var(--p2)}
.bd.gr{background:#eef1f6;color:var(--mut)}
.mt-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.mt{border-collapse:collapse;font-size:12px;min-width:100%}
.mt th,.mt td{border:1px solid var(--line);padding:4px 3px;text-align:center;white-space:nowrap}
.mt th{background:#f4f6fa;font-weight:600}
.mt td.n,.mt th.n{position:sticky;left:0;background:#fff;text-align:left;padding:4px 8px;z-index:2;min-width:110px;box-shadow:1px 0 0 var(--line)}
.mt th.n{background:#f4f6fa}.mt th.off{background:#e6eefa}
.src{display:inline-block;font-size:11px;background:#eef1f6;color:var(--mut);border-radius:6px;padding:0 6px;margin-left:4px}
.big-punch{display:block;width:190px;height:190px;border-radius:50%;margin:10px auto;border:0;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;font:inherit;font-size:22px;font-weight:700;box-shadow:0 14px 30px rgba(30,90,168,.4);cursor:pointer;line-height:1.5}
.big-punch:active{transform:scale(.96)}
.big-punch small{display:block;font-size:13px;font-weight:500;opacity:.9}
.kv{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--line)}.kv:last-child{border:0}
.lnk{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:13px 14px;margin-bottom:10px;box-shadow:0 1px 3px rgba(16,32,60,.08);font-weight:600}
.lnk i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e6eefa;color:var(--p2)}
.lnk span{flex:1}
