@font-face{font-family:Heebo;font-weight:400;font-display:swap;src:url(fonts/Heebo-Regular.woff2) format("woff2")}
@font-face{font-family:Heebo;font-weight:500;font-display:swap;src:url(fonts/Heebo-Medium.woff2) format("woff2")}
@font-face{font-family:Heebo;font-weight:600;font-display:swap;src:url(fonts/Heebo-SemiBold.woff2) format("woff2")}
@font-face{font-family:Heebo;font-weight:700;font-display:swap;src:url(fonts/Heebo-Bold.woff2) format("woff2")}
:root{--navy:#14213D;--navy2:#1F2F55;--green:#16A34A;--greenbg:#E8F6EE;--red:#E5484D;--redbg:#FDECEC;--orange:#F59E0B;--orangebg:#FEF3DC;--bg:#F4F6F9;--card:#fff;--line:#E5E8EE;--mut:#6B7385;--txt:#101828;--blue:#2456B3;--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{height:100%;background:#E9ECF2;overscroll-behavior:none}
body{font-family:Heebo,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--txt);direction:rtl;font-size:16px;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased}
button,input,select{font-family:inherit;font-size:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation}
a{color:inherit}
[hidden]{display:none!important}
.app{position:relative;width:100%;max-width:480px;height:100vh;height:100dvh;margin:0 auto;display:flex;flex-direction:column;background:var(--bg);overflow:hidden}
.app.wide{max-width:760px}
@media(min-width:520px){.app{box-shadow:0 0 0 1px #d8dce6,0 20px 60px #14213d22}}
.view{flex:1;display:flex;flex-direction:column;min-height:0}
.scroll{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:0 16px 20px}
.hdr{background:var(--navy);color:#fff;padding:calc(var(--sat) + 14px) 20px 22px;flex:none}
.hdr .row{display:flex;justify-content:space-between;align-items:center;gap:10px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;min-width:0}
.logo i{width:34px;height:34px;border-radius:10px;background:#ffffff1a;display:grid;place-items:center;border:1px solid #ffffff30;flex:none}
.logo i svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round}
.hdr .sub{opacity:.72;font-size:13px;font-weight:400}
.avatar{width:40px;height:40px;border-radius:50%;background:#ffffff1f;display:grid;place-items:center;font-weight:600;font-size:15px;border:1px solid #ffffff30;flex:none;color:#fff}
.iconbtn{width:36px;height:36px;border-radius:12px;background:#ffffff1f;border:0;color:#fff;display:grid;place-items:center;flex:none}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 1px 2px #1018280a}
.nav{flex:none;background:#fff;border-top:1px solid var(--line);display:flex;padding:8px 8px calc(var(--sab) + 6px)}
.nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px;font-weight:500;color:#8A91A3;padding-top:4px;background:none;border:0;min-height:52px}
.nav button.on{color:var(--navy);font-weight:700}
.nav svg{width:24px;height:24px;stroke:#8A91A3;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav button.on svg{stroke:var(--navy)}
.btn{height:56px;border-radius:16px;border:0;font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;transition:transform .08s,opacity .15s}
.btn:active{transform:scale(.98)}
.btn:disabled{opacity:.55;cursor:default}
.btn.navy{background:var(--navy);color:#fff}
.btn.green{background:var(--green);color:#fff}
.btn.red{background:var(--red);color:#fff}
.btn.ghost{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn.orange{background:var(--orangebg);color:#9a6200;border:1.5px solid #f3d9a0}
.btn.text{background:none;color:var(--mut);font-weight:600;font-size:16px;height:48px}
.btn.sm{height:46px;font-size:15px;border-radius:14px}
.btn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.num{font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
h1,h2{font-weight:700}
h2{font-size:20px}
.mut{color:var(--mut)}
.chip{display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding:4px 11px;font-size:13px;font-weight:600;white-space:nowrap}
.chip svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip.g{background:var(--greenbg);color:#0f7a37}.chip.r{background:var(--redbg);color:#b42328}.chip.o{background:var(--orangebg);color:#9a6200}.chip.n{background:#EEF0F4;color:#5a6275}.chip.b{background:#E6ECF7;color:var(--navy)}
.dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.pinb{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:28px;height:28px;border-radius:99px;font-size:12px;font-weight:700;text-decoration:none;flex:none}
.pinb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pinb.g{background:var(--greenbg);color:#0f7a37}.pinb.n{background:#E6ECF7;color:var(--navy)}.pinb.o{background:var(--orange);color:#fff;padding:0 8px}
.pinb.x{background:#EEF0F4;color:#8a91a3}
/* ---------- login ---------- */
.login{flex:1;padding:calc(var(--sat) + 22px) 22px 0;display:flex;flex-direction:column;overflow-y:auto}
.brand{text-align:center;margin:6px 0 22px}
.brand .lg{width:64px;height:64px;border-radius:20px;background:var(--navy);margin:0 auto 12px;display:grid;place-items:center;box-shadow:0 8px 20px #14213d33}
.brand .lg svg{width:34px;height:34px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round}
.brand h1{font-size:28px;color:var(--navy)}.brand p{color:var(--mut);margin-top:2px;font-size:15px}
.lab{font-size:14px;font-weight:600;color:var(--navy);margin:0 4px 8px}
.field{position:relative;height:60px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.field .t{font-size:12px;color:var(--mut);font-weight:500}.field .n{font-size:19px;font-weight:600}
.field select{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-size:18px}
.field .chv{color:var(--mut);transform:rotate(-90deg);display:flex}
.pins{display:flex;gap:14px;justify-content:center;margin:2px 0 8px;direction:ltr}
.pins span{width:54px;height:60px;border-radius:14px;background:#fff;border:1.5px solid var(--line);display:grid;place-items:center;font-size:28px;font-weight:700;color:var(--navy);transition:border-color .12s}
.pins span.f{border-color:var(--navy)}
.pins.err{animation:shake .38s}
.pins.err span{border-color:var(--red)}
@keyframes shake{20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-5px)}80%{transform:translateX(5px)}}
.formerr{min-height:22px;text-align:center;color:#b42328;font-size:14px;font-weight:500;margin-bottom:6px}
.pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;direction:ltr}
.key{height:54px;border-radius:14px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:24px;font-weight:600;color:var(--navy);box-shadow:0 1px 2px #1018280a}
.key:active{background:#EEF1F7}
.key.empty{background:none;border:0;box-shadow:none;pointer-events:none}
.key.del{background:none;border:0;color:var(--mut);box-shadow:none}
.login .btn{margin:18px 0 calc(var(--sab) + 22px);flex:none}
.input{width:100%;height:54px;border-radius:14px;border:1.5px solid var(--line);background:#fff;padding:0 14px;font-size:17px;font-weight:500;outline:none}
.input:focus{border-color:var(--navy)}
.input.ltr{direction:ltr;text-align:center}
/* ---------- home ---------- */
.homecard{padding:14px 14px 16px;margin-top:-8px}
.bigtime{font-size:54px;font-weight:700;color:var(--navy);line-height:1;text-align:center}
.bigtime.sec{font-size:52px;line-height:1.1}
.big-btn{width:208px;height:208px;border-radius:50%;border:0;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:34px;font-weight:700;margin:0 auto;transition:transform .1s}
.big-btn:active{transform:scale(.97)}
.big-btn:disabled{opacity:.75}
.big-btn svg{width:44px;height:44px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.big-btn.in{background:var(--green);box-shadow:0 0 0 14px #16A34A1c,0 0 0 30px #16A34A0d,0 14px 28px #16A34A44}
.big-btn.out{background:var(--red);box-shadow:0 0 0 12px #E5484D1c,0 0 0 26px #E5484D0d,0 14px 28px #E5484D44}
.big-btn.brk{background:var(--orange);box-shadow:0 0 0 12px #F59E0B22,0 0 0 26px #F59E0B10,0 14px 28px #F59E0B44}
.big-btn.sm{width:178px;height:178px;font-size:30px}
.big-btn.sm svg{width:36px;height:36px}
.big-btn .wait{font-size:18px;font-weight:600}
.spin{width:30px;height:30px;border-radius:50%;border:3.5px solid #ffffff55;border-top-color:#fff;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
.stats{display:flex;gap:12px}
.stat{flex:1;padding:12px 16px}
.stat .l{font-size:13px;color:var(--mut);font-weight:500}
.stat .v{font-size:25px;font-weight:700;margin-top:2px;color:var(--navy)}
.stat .v small{font-size:13px;font-weight:500;color:var(--mut);margin-right:4px}
.bbox{background:#F7F8FA;border:1px solid var(--line);border-radius:14px;padding:4px 12px}
.bh{display:flex;justify-content:space-between;font-size:13px;color:var(--mut);font-weight:600;padding:6px 0 4px}
.brr{display:flex;align-items:center;height:30px;font-size:14px;border-top:1px solid var(--line)}
.center{text-align:center}
.note{display:flex;gap:10px;align-items:flex-start;background:var(--orangebg);border:1px solid #f3d9a0;color:#7a5200;border-radius:14px;padding:10px 12px;font-size:14px;line-height:1.4;margin-bottom:12px}
.note.red{background:var(--redbg);border-color:#f3c3c5;color:#9b1c20}
.todaylist{margin-top:12px}
.tl{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;font-size:14px;border-top:1px solid var(--line)}
/* ---------- history ---------- */
.mon{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:12px}
.mon b{font-size:18px;min-width:130px;text-align:center}
.mon button{width:36px;height:36px;border-radius:12px;background:#ffffff1a;border:0;color:#fff;display:grid;place-items:center}
.mon button:disabled{opacity:.3}
.sumcard{padding:14px 18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.hr,.th{display:grid;grid-template-columns:58px 1fr 1fr 1fr 58px;align-items:center;padding:0 12px;gap:2px}
.hr{min-height:54px;border-bottom:1px solid var(--line);font-size:15px;width:100%;background:none;border-left:0;border-right:0;border-top:0;text-align:inherit}
.hr:last-child{border-bottom:0}
.hr .dd{display:flex;flex-direction:column;line-height:1.15}.hr .dd b{font-weight:600;font-size:15px}.hr .dd span{font-size:12px;color:var(--mut)}
.hr .tm{text-align:center}.hr .tt{font-weight:700;color:var(--navy);text-align:left;font-size:16px}
.th{padding-top:10px;padding-bottom:10px;font-size:12px;color:var(--mut);font-weight:600;background:#F8F9FB;border-bottom:1px solid var(--line)}
.th div:nth-child(n+2):nth-child(-n+4){text-align:center}.th div:last-child{text-align:left}
.dag{width:6px;height:6px;border-radius:50%;background:var(--orange);display:inline-block;margin-inline-start:3px;vertical-align:middle}
.empty{padding:40px 20px;text-align:center;color:var(--mut)}
.empty svg{width:44px;height:44px;stroke:#b7bdcb;fill:none;stroke-width:1.5;margin-bottom:8px}
/* ---------- profile / lists ---------- */
.list{overflow:hidden}
.li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);font-size:16px;width:100%;background:none;border-width:0 0 1px;text-align:inherit}
.li:last-child{border-bottom:0}
.li .ic{width:38px;height:38px;border-radius:12px;background:#EEF1F7;display:grid;place-items:center;flex:none}
.li .ic svg{width:20px;height:20px;stroke:var(--navy);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.li .x{flex:1;min-width:0}.li .x small{display:block;color:var(--mut);font-size:13px;margin-top:1px}
.sect{font-size:13px;color:var(--mut);font-weight:600;margin:18px 6px 8px}
/* ---------- permission ---------- */
.perm{position:absolute;inset:0;z-index:30;background:var(--bg);padding:calc(var(--sat) + 16px) 24px 0;display:flex;flex-direction:column;overflow-y:auto}
.ill{height:190px;position:relative;margin:4px 0 6px;display:grid;place-items:center;flex:none}
.ill .r{position:absolute;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.ill .pn{position:relative;width:92px;height:92px;border-radius:50%;background:var(--navy);display:grid;place-items:center;box-shadow:0 12px 28px #14213d40}
.ill .pn svg{width:46px;height:46px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bl{display:flex;gap:14px;align-items:flex-start;padding:10px 0}
.bi{width:42px;height:42px;border-radius:13px;background:#EEF1F7;display:grid;place-items:center;flex:none}
.bi svg{width:22px;height:22px;stroke:var(--navy);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
/* ---------- sheets / toast ---------- */
.ov{position:absolute;inset:0;background:#0f172a8c;z-index:40;animation:fade .18s}
.sheet{position:absolute;left:0;right:0;bottom:0;max-height:92%;overflow-y:auto;background:#fff;border-radius:26px 26px 0 0;padding:10px 20px calc(var(--sab) + 22px);z-index:41;animation:up .22s ease-out}
@keyframes up{from{transform:translateY(40px);opacity:0}}
@keyframes fade{from{opacity:0}}
.grab{width:44px;height:5px;border-radius:9px;background:#d5d9e2;margin:0 auto 12px}
.f3{display:flex;gap:10px;margin:10px 0}.f3>div{flex:1;min-width:0}
.fl{font-size:12px;color:var(--mut);font-weight:600;margin-bottom:5px}
.inp{width:100%;height:50px;border-radius:14px;border:1.5px solid var(--line);background:#fff;font-size:21px;font-weight:700;color:var(--navy);text-align:center;direction:ltr;outline:none;padding:0 6px;appearance:none;-webkit-appearance:none}
.inp:focus{border-color:var(--navy)}
.inp.chg{border-color:var(--blue);background:#EEF3FC}
.inp.txt{font-size:15px;font-weight:500;text-align:right;direction:rtl;color:var(--txt);padding:0 14px;height:46px}
input[type=time].inp,input[type=date].inp{min-width:0}
.lr{display:flex;gap:12px;align-items:center;padding:8px 10px;border-radius:14px;margin-bottom:8px;background:#F7F8FA;border:1px solid var(--line)}
.thumb{width:76px;height:56px;border-radius:10px;flex:none;position:relative;display:grid;place-items:center;overflow:hidden;border:1px solid #d7dde8;background:#E9EEF5}
.thumb i{position:absolute;inset:0;background-image:linear-gradient(#d5dce8 1px,transparent 1px),linear-gradient(90deg,#d5dce8 1px,transparent 1px);background-size:14px 14px}
.thumb svg{position:relative;width:26px;height:26px;fill:#E5484D;stroke:#fff;stroke-width:1.6;stroke-linejoin:round}
.thumb.none svg{fill:#b7bdcb}
.lnk{display:inline-flex;align-items:center;gap:4px;color:var(--blue);font-weight:600;font-size:13px;margin-top:1px;text-decoration:none}
.lnk svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0}
.chips button{border:1px solid var(--line);background:#F7F8FA;border-radius:99px;padding:5px 11px;font-size:13px;font-weight:500;color:var(--navy)}
.toast{position:absolute;left:16px;right:16px;bottom:calc(var(--sab) + 92px);z-index:60;background:var(--navy);color:#fff;border-radius:14px;padding:12px 16px;font-size:15px;font-weight:500;text-align:center;box-shadow:0 10px 30px #0006;animation:up .2s}
.toast.err{background:#b42328}
.toast.ok{background:#0f7a37}
.offline{background:#b42328;color:#fff;text-align:center;font-size:13px;font-weight:600;padding:5px;flex:none}
.sheetbtns{display:flex;gap:10px;margin-top:14px}
/* ---------- admin ---------- */
.er{display:flex;align-items:center;gap:10px;min-height:58px;padding:6px 12px 6px 14px;border-bottom:1px solid var(--line);width:100%;background:none;border-width:0 0 1px;text-align:inherit}
.er:last-child{border-bottom:0}
.er .chip{padding:1px 9px;font-size:12px;margin-top:2px}
.av{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.er .nm{flex:1;min-width:0;line-height:1.2}
.er .nm b{font-weight:600;font-size:16px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat3{padding:12px 16px}
.rr{display:flex;align-items:center;gap:6px;min-height:50px;padding:0 8px 0 12px;border-bottom:1px solid var(--line)}
.rr:last-of-type{border-bottom:0}
.edit{width:36px;height:36px;border-radius:12px;background:#EEF1F7;color:var(--navy);display:grid;place-items:center;flex:none;border:0}
.edit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rh{display:flex;gap:6px;padding:9px 8px 9px 12px;background:#F8F9FB;border-bottom:1px solid var(--line);font-size:12px;color:var(--mut);font-weight:600}
.dr,.dh{display:grid;grid-template-columns:70px 1fr 1fr 1fr 1.1fr 44px 34px;gap:4px;align-items:center;padding:0 8px 0 10px}
.dr{min-height:52px;border-bottom:1px solid var(--line);font-size:14px}
.dr:last-child{border-bottom:0}
.dr .dd{display:flex;flex-direction:column;line-height:1.15}.dr .dd b{font-size:14px}.dr .dd span{font-size:10.5px;color:var(--mut);white-space:nowrap}
.dr .dd span.ed{color:#9a6200;font-weight:600}
.dr .c{text-align:center}
.dh{height:34px;background:#F8F9FB;border-bottom:1px solid var(--line);font-size:11.5px;color:var(--mut);font-weight:600}
.dh div:nth-child(n+2):nth-child(-n+4){text-align:center}.dh div:nth-child(5){text-align:left}.dh div:nth-child(n+6){text-align:center}
.edit.sm{width:32px;height:32px;border-radius:10px}
.edit.sm svg{width:16px;height:16px}
.mapcell{display:flex;gap:2px;justify-content:center}
.mapcell .pinb{min-width:20px;height:22px;padding:0}
.mapcell .pinb svg{width:14px;height:14px}
.warn{color:#b42328;font-weight:600}
.legend{display:flex;gap:12px;font-size:12px;color:var(--mut);justify-content:center;align-items:center;margin:10px 0;flex-wrap:wrap}
.legend span{display:flex;align-items:center;gap:5px}
.seg{display:flex;background:#fff;border:1px solid var(--line);border-radius:14px;padding:3px;margin-bottom:12px}
.seg button{flex:1;height:38px;border:0;background:none;border-radius:11px;font-weight:600;color:var(--mut)}
.seg button.on{background:var(--navy);color:#fff}
.tog{position:relative;width:48px;height:28px;border-radius:99px;background:#cfd4de;border:0;flex:none;transition:background .15s}
.tog::after{content:"";position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px #0003}
.tog.on{background:var(--green)}
.tog.on::after{transform:translateX(-20px)}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- overtime ---------- */
.otg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.otg>div{background:#F4F6F9;border-radius:12px;padding:7px 8px;text-align:center;line-height:1.25}
.otg span{display:block;font-size:11px;color:var(--mut);font-weight:600}
.otg b{font-size:16px;color:var(--navy)}
.otg .o1 b{color:#9a6200}.otg .o2 b{color:#b42328}
.otg .o1{background:var(--orangebg)}.otg .o2{background:var(--redbg)}
.otnote{font-size:11.5px;color:var(--mut);line-height:1.45;margin-top:8px}
.rr2{padding:9px 8px 9px 12px;border-bottom:1px solid var(--line);width:100%;background:none;border-width:0 0 1px;text-align:inherit;display:block}
.rr2 .top{display:flex;align-items:center;gap:6px}
.rr2 .otl{display:flex;gap:6px;margin-top:6px;font-size:11.5px;flex-wrap:wrap}
.rr2 .otl span{border-radius:99px;padding:1px 8px;background:#EEF0F4;color:#5a6275;font-weight:600}
.rr2 .otl .o1{background:var(--orangebg);color:#9a6200}.rr2 .otl .o2{background:var(--redbg);color:#b42328}
.dayr,.dayh{display:grid;grid-template-columns:62px 1fr 1fr 1fr 1fr;gap:4px;align-items:center;padding:0 12px}
.dayr{min-height:44px;border-bottom:1px solid var(--line);font-size:14px}.dayr:last-child{border-bottom:0}
.dayr>div:nth-child(n+2),.dayh>div:nth-child(n+2){text-align:center}
.dayh{height:34px;background:#F8F9FB;border-bottom:1px solid var(--line);font-size:11.5px;color:var(--mut);font-weight:600}
.dayr .o1{color:#9a6200;font-weight:700}.dayr .o2{color:#b42328;font-weight:700}
.dayr .wk{font-size:9.5px;color:var(--blue);font-weight:600;display:block}
.fld{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:10px 0}
.fld .inp{width:110px;flex:none}

/* ======================= tasks / messages / requests / admin work (v4) ======================= */
.nb{position:absolute;top:-2px;left:calc(50% + 4px);min-width:19px;height:19px;border-radius:99px;background:var(--red);color:#fff;font-size:11.5px;font-weight:700;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;box-sizing:content-box;line-height:1;margin-top:-2px}
.nb.dot{min-width:11px;width:11px;height:11px;padding:0;top:0;left:calc(50% + 8px)}
.hdr .back{width:38px;height:38px;border-radius:12px;background:#ffffff1f;border:0;color:#fff;display:grid;place-items:center;flex:none}
.hdr .back svg{width:22px;height:22px}
.hdr h1{font-size:20px;font-weight:700;line-height:1.15}
.hdr .sub{opacity:.72;font-size:13px;font-weight:400}
.hdr .lead{display:flex;align-items:center;gap:12px;min-width:0}
.ibtn{width:38px;height:38px;border-radius:12px;background:#ffffff1f;border:1px solid #ffffff30;color:#fff;display:grid;place-items:center;flex:none}
.ibtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

.ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ico.s{width:16px;height:16px}.ico.xs{width:14px;height:14px}

/* tasks */
.sectd{font-size:13px;color:var(--mut);font-weight:600;margin:12px 6px 7px;display:flex;justify-content:space-between}
.tk{position:relative;display:block;padding:12px 18px 12px 14px;margin-bottom:9px;overflow:hidden;width:100%;text-align:inherit;font-family:inherit}
.tk::before{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:var(--pc,#cfd4de)}
.tk .tt{font-size:16px;font-weight:600;line-height:1.3;color:var(--txt)}
.tk .meta{display:flex;align-items:center;gap:6px;color:var(--mut);font-size:13px;margin-top:5px}
.tk .chs{display:flex;gap:6px;margin-top:8px;align-items:center;flex-wrap:wrap}
.tk .chip{padding:2px 9px;font-size:12px}
.p-hi{--pc:var(--red)}.p-mid{--pc:#6B7BA6}.p-lo{--pc:#B7BDCB}
.chip.pr-hi{background:var(--redbg);color:#b42328}.chip.pr-mid{background:#E6ECF7;color:var(--navy)}.chip.pr-lo{background:#EEF0F4;color:#5a6275}
.chip.st-new{background:#E6ECF7;color:var(--blue)}.chip.st-wip{background:var(--orangebg);color:#9a6200}.chip.st-done{background:var(--greenbg);color:#0f7a37}
.chip.due{background:#F3F4F8;color:#4a5266;font-weight:500}
.chip.due.today{background:var(--redbg);color:#b42328;font-weight:600}
.seg.t3{margin:12px 0 4px}
.seg button .c{display:inline-block;margin-inline-start:5px;font-size:12px;background:#EEF0F4;color:var(--mut);border-radius:99px;padding:0 7px}
.seg button.on .c{background:#ffffff30;color:#fff}
.info{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.info:first-of-type{border-top:0}
.info .ic{width:34px;height:34px;border-radius:11px;background:#EEF1F7;display:grid;place-items:center;flex:none}
.info .ic svg{width:18px;height:18px;stroke:var(--navy);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.info .k{font-size:12px;color:var(--mut);font-weight:600}
.info .v{font-size:15.5px;font-weight:600;line-height:1.3;margin-top:1px}
.card.cpad{padding:14px 16px}
.cl{font-size:13px;color:var(--mut);font-weight:600;margin-bottom:6px}
.bub-w{display:flex;flex-direction:column;gap:7px}
.bub{max-width:84%;font-size:14.5px;line-height:1.4}
.bub .by{font-size:11.5px;color:var(--mut);font-weight:600;margin:0 6px 3px}
.bub .tx{padding:9px 13px;border-radius:16px}
.bub.me{align-self:flex-start}.bub.me .tx{background:var(--navy);color:#fff;border-top-right-radius:5px}
.bub.ow{align-self:flex-end}.bub.ow .tx{background:#fff;border:1px solid var(--line);border-top-left-radius:5px}
.composer{display:flex;gap:8px;align-items:center;margin-top:8px}
.composer .fake{flex:1;height:44px;border-radius:14px;border:1.5px solid var(--line);background:#fff;display:flex;align-items:center;padding:0 14px;color:#9aa1b2;font-size:15px}
.composer .send{width:44px;height:44px;border-radius:14px;background:var(--navy);display:grid;place-items:center;flex:none}
.composer .send svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:scaleX(-1)}
.actbar{flex:none;background:#fff;border-top:1px solid var(--line);padding:12px 16px 30px;display:flex;gap:10px}
.btn.green{background:var(--green);color:#fff}
.btn.sm{height:46px}
/* messages */
.mi{display:flex;gap:12px;padding:13px 14px;border-bottom:1px solid var(--line);align-items:flex-start;position:relative;width:100%;background:none;border-width:0 0 1px;text-align:inherit;font-family:inherit}
.mi:last-child{border-bottom:0}
.mi .ava{width:42px;height:42px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.mi .x{flex:1;min-width:0}
.mi .r1{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.mi .ti{font-size:15.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi.un .ti{font-weight:700;color:var(--navy)}
.mi .tm{font-size:12px;color:var(--mut);flex:none}
.mi.un .tm{color:var(--blue);font-weight:600}
.mi .pv{font-size:13.5px;color:var(--mut);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.udot{width:10px;height:10px;border-radius:50%;background:var(--blue);flex:none;margin-top:6px}
.pinned{background:var(--orangebg);border:1px solid #f3d9a0;border-radius:18px;padding:12px 14px;display:flex;gap:11px;margin-bottom:12px;text-align:inherit;width:100%;font-family:inherit}
.pinned .pi{width:34px;height:34px;border-radius:11px;background:#fff7e6;border:1px solid #f3d9a0;display:grid;place-items:center;flex:none;color:#9a6200}
.pinned .pi svg{width:18px;height:18px}
.pinned .ti{font-weight:700;color:#7a5200;font-size:15.5px}
.pinned .pv{font-size:13.5px;color:#7a5200;margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pinned .lab{font-size:11.5px;font-weight:700;color:#9a6200;display:flex;gap:5px;align-items:center;margin-bottom:2px}
/* requests */
.rq{padding:13px 14px;margin-bottom:10px;width:100%;display:block;text-align:inherit;font-family:inherit}
.rq .top{display:flex;align-items:center;gap:11px}
.rq .ti{width:38px;height:38px;border-radius:12px;background:#EEF1F7;display:grid;place-items:center;flex:none}
.rq .ti svg{width:20px;height:20px;stroke:var(--navy);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rq .nm{flex:1;min-width:0}.rq .nm b{display:block;font-size:15.5px;font-weight:600;line-height:1.25}
.rq .nm span{font-size:13px;color:var(--mut)}
.rq .nt{font-size:13.5px;color:#4a5266;margin-top:8px}
.reply{margin-top:9px;border-radius:13px;padding:8px 11px;font-size:13.5px;line-height:1.4}
.reply b{display:block;font-size:11.5px;margin-bottom:1px}
.reply.g{background:var(--greenbg);color:#0b5f2c}.reply.r{background:var(--redbg);color:#8f1a1e}
.tp{display:flex;gap:14px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--line);width:100%;background:none;border-width:0 0 1px;text-align:inherit;font-family:inherit}
.tp:last-of-type{border-bottom:0}
.tp .ic{width:46px;height:46px;border-radius:14px;background:#EEF1F7;display:grid;place-items:center;flex:none}
.tp .ic svg{width:23px;height:23px;stroke:var(--navy);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tp b{display:block;font-size:16.5px;font-weight:600}.tp span{font-size:13.5px;color:var(--mut)}
.tp .ch{margin-inline-start:auto;color:#b0b6c4}
.fld2{background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:8px 14px;min-height:56px;display:flex;flex-direction:column;justify-content:center}
.fld2 .k{font-size:12px;color:var(--mut);font-weight:600}
.fld2 .v{font-size:17px;font-weight:600;margin-top:1px}
.fld2.act{border-color:var(--navy)}
.ta{background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:11px 14px;font-size:15.5px;line-height:1.5;min-height:84px;color:var(--txt)}
.ta.ph{color:#9aa1b2}.ta.act{border-color:var(--navy)}
.cnt{font-size:12px;color:var(--mut);text-align:left;margin-top:4px;direction:ltr}
.cal{padding:12px 12px 8px}
.cal .mh{display:flex;justify-content:space-between;align-items:center;padding:0 4px 8px;font-weight:700;font-size:16px}
.cal .mh span{color:var(--mut);display:grid;place-items:center;width:30px;height:30px}
.cal .wd,.cal .gr{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}
.cal .wd{font-size:12px;color:var(--mut);font-weight:600;padding-bottom:4px}
.cal .gr div{height:42px;display:grid;place-items:center;font-size:15px;font-weight:500;position:relative;font-variant-numeric:tabular-nums}
.cal .gr div.o{color:#c3c8d3}
.cal .gr div.sat{color:#a7adbb}
.cal .gr div.rg{background:#E6ECF7;color:var(--navy);font-weight:600}
.cal .gr div.rs{background:var(--navy);color:#fff;font-weight:700;border-radius:12px;z-index:1}
.cal .gr div.rg.e1{border-radius:0 99px 99px 0}.cal .gr div.rg.e2{border-radius:99px 0 0 99px}
.cal .gr div.rs.e1{box-shadow:0 0 0 0 transparent}
.cal .gr div.today::after{content:"";position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--green)}

.push{background:#f2f4f8e8;color:#101828;border-radius:22px;padding:11px 13px;display:flex;gap:11px;align-items:flex-start;box-shadow:0 8px 24px #0004;backdrop-filter:blur(20px)}
.push img{width:38px;height:38px;border-radius:9px;flex:none}
.push .h{display:flex;justify-content:space-between;align-items:baseline;font-size:12.5px;color:#4a5266;font-weight:600}
.push .t{font-size:15px;font-weight:700;margin-top:1px;line-height:1.3}
.push .b{font-size:14px;line-height:1.35;color:#2a3144;margin-top:1px}

.stepn{width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;flex:none}
.ig{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;border-top:1px solid var(--line)}
.ig .info{padding:7px 0;border-top:0}
.ig .info.full{grid-column:1/-1;border-top:1px solid var(--line)}
.ig .info .ic{width:30px;height:30px;border-radius:10px}.ig .info .ic svg{width:16px;height:16px}
.ig .info .v{font-size:14.5px}

.bub{font-size:14px}.bub .tx{padding:6px 12px;line-height:1.38}

.sidebar{width:232px;flex:none;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:20px 14px 16px}
.sidebar .brand2{display:flex;align-items:center;gap:11px;padding:2px 6px 18px;border-bottom:1px solid #ffffff1c;margin-bottom:12px}
.sidebar .brand2 i{width:38px;height:38px;border-radius:11px;background:#ffffff1a;border:1px solid #ffffff30;display:grid;place-items:center}
.sidebar .brand2 i svg{width:21px;height:21px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round}
.sidebar .brand2 b{display:block;font-size:16px;line-height:1.2}.sidebar .brand2 span{font-size:12px;opacity:.7}
.sidebar .grp{font-size:11.5px;opacity:.55;font-weight:600;margin:14px 10px 5px}
.sidebar a{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:12px;font-size:15px;font-weight:500;color:#ffffffcc;margin-bottom:2px;text-decoration:none;position:relative}
.sidebar a svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sidebar a.on{background:#ffffff1f;color:#fff;font-weight:700}
.sidebar a .cnt2{margin-inline-start:auto;background:var(--orange);color:#fff;font-size:12px;font-weight:700;border-radius:99px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 7px}
.sidebar a .cnt2.r{background:var(--red)}.sidebar a .cnt2.n{background:#ffffff26;color:#fff}
.sidebar a .old{margin-inline-start:auto;font-size:10.5px;background:#ffffff1a;border-radius:99px;padding:1px 8px;color:#ffffffaa;font-weight:600}
.sidebar .me{margin-top:auto;display:flex;align-items:center;gap:10px;padding:12px 8px 0;border-top:1px solid #ffffff1c}
.sidebar .me .avatar{width:38px;height:38px;font-size:14px}.sidebar .me b{font-size:14px;display:block}.sidebar .me span{font-size:12px;opacity:.65}
.main{flex:1;min-width:0;display:flex;flex-direction:column;position:relative}
.dhdr{background:var(--navy);color:#fff;padding:20px 30px 52px;display:flex;justify-content:space-between;align-items:flex-start;flex:none}
.dhdr .sub{opacity:.72;font-size:14px}.dhdr h1{font-size:26px;font-weight:700;line-height:1.2}
.dhdr .acts{display:flex;gap:10px}
.dbtn{height:42px;border-radius:13px;border:1.5px solid #ffffff40;background:#ffffff14;color:#fff;font-family:inherit;font-size:15px;font-weight:600;padding:0 16px;display:flex;align-items:center;gap:8px}
.dbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dbtn.pri{background:#fff;color:var(--navy);border-color:#fff}
.dbtn.green{background:var(--green);border-color:var(--green)}
.dpage{flex:1;min-height:0;padding:0 30px 18px;margin-top:-34px;position:relative;overflow:hidden}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kpi{padding:14px 18px;display:flex;gap:14px;align-items:center}
.kpi .kic{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex:none}
.kpi .kic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kpi .l{font-size:13px;color:var(--mut);font-weight:600}.kpi .v{font-size:28px;font-weight:700;color:var(--navy);line-height:1.1}
.kpi .v small{font-size:13px;color:var(--mut);font-weight:500;margin-right:4px}
.kpi .s{font-size:12.5px;color:var(--mut);margin-top:1px}
.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 1px 2px #1018280a;overflow:hidden}
.panel .ph{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line)}
.panel .ph b{font-size:16.5px;font-weight:700;color:var(--navy)}
.panel .ph a,.lnk2{font-size:13.5px;font-weight:600;color:var(--blue);display:inline-flex;gap:4px;align-items:center;text-decoration:none}
.lnk2 svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wr{display:flex;align-items:center;gap:12px;padding:0 18px;height:49px;border-bottom:1px solid var(--line);font-size:15px}
.wr:last-child{border-bottom:0}
.wr b{font-weight:600;flex:1}
.wr .tmx{width:64px;text-align:left;font-weight:700}
.btn-s{height:34px;border-radius:10px;border:0;font-family:inherit;font-size:13.5px;font-weight:700;padding:0 14px;display:inline-flex;align-items:center;gap:6px}
.btn-s svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.btn-s.ok{background:var(--green);color:#fff}.btn-s.no{background:#fff;color:#b42328;border:1.5px solid #f3c3c5}.btn-s.nv{background:var(--navy);color:#fff}.btn-s.gh{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.toolbar{display:flex;gap:10px;align-items:center;margin:2px 0 14px}
.toolbar .seg{margin:0;flex:none;width:260px}
.pill{height:38px;border-radius:12px;border:1.5px solid var(--line);background:#fff;padding:0 13px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--navy)}
.pill svg{width:15px;height:15px;fill:none;stroke:var(--mut);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kan{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;height:100%}
.col{background:#EDF0F5;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}
.col .ch{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 2px}
.col .ch b{font-size:15.5px;display:flex;align-items:center;gap:8px}
.col .ch .n{background:#fff;border-radius:99px;min-width:26px;height:26px;display:grid;place-items:center;font-size:13px;font-weight:700;color:var(--navy);padding:0 8px}
.tcard{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 14px 11px 12px;position:relative;overflow:hidden;box-shadow:0 1px 2px #1018280a}
.tcard::before{content:"";position:absolute;right:0;top:0;bottom:0;width:5px;background:var(--pc,#cfd4de)}
.tcard .tt{font-size:15px;font-weight:600;line-height:1.3;padding-right:6px}
.tcard .meta{display:flex;gap:6px;align-items:center;font-size:12.5px;color:var(--mut);margin:4px 6px 0 0}
.tcard .ft{display:flex;justify-content:space-between;align-items:center;margin-top:9px;padding-right:6px}
.tcard .chip{padding:2px 9px;font-size:12px}
.stack{display:flex}.stack .av{width:28px;height:28px;font-size:11px;border:2px solid #fff;margin-inline-start:-7px}.stack .av:first-child{margin-inline-start:0}


.fl2{font-size:13px;font-weight:600;color:var(--navy);margin:0 2px 6px}
.in2{background:#fff;border:1.5px solid var(--line);border-radius:12px;min-height:44px;padding:10px 14px;font-size:15.5px;display:flex;align-items:center;line-height:1.4}
.in2.act{border-color:var(--navy)}
.in2.ph{color:#9aa1b2}
.row2{display:flex;gap:14px}.row2>*{flex:1;min-width:0}
.asg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.asg div{display:flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:12px;padding:6px 10px;font-size:14px;font-weight:500;background:#fff}
.asg div.on{border-color:var(--navy);background:#EEF2FA;font-weight:600}
.asg div .cb{margin-inline-start:auto;width:20px;height:20px;border-radius:6px;border:1.8px solid #c3c8d3;display:grid;place-items:center}
.asg div.on .cb{background:var(--navy);border-color:var(--navy)}
.asg div .cb svg{width:13px;height:13px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;display:none}
.asg div.on .cb svg{display:block}
.asg .av{width:28px;height:28px;font-size:11px}
.pseg{display:flex;gap:8px}.pseg div{flex:1;height:44px;border-radius:12px;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:14.5px;background:#fff}
.pseg div.on.hi{border-color:var(--red);background:var(--redbg);color:#b42328}
.pseg div.on.mid{border-color:var(--navy);background:#E6ECF7;color:var(--navy)}
.pseg div.on.lo{border-color:#9aa1b2;background:#EEF0F4;color:#4a5266}
.pseg div svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.split{display:grid;grid-template-columns:380px 1fr;gap:16px;height:100%}
.li2{display:flex;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line);align-items:flex-start;position:relative}
.li2:last-child{border-bottom:0}
.li2.sel{background:#EEF2FA}.li2.sel::before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--navy)}
.li2 .x{flex:1;min-width:0}.li2 .t1{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.li2 .t1 b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li2 .t1 span{font-size:12px;color:var(--mut);flex:none}
.li2 .t2{font-size:13px;color:var(--mut);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li2 .t3{display:flex;gap:6px;margin-top:6px;align-items:center}
.prog{height:7px;border-radius:9px;background:#E5E8EE;overflow:hidden;flex:1}
.prog i{display:block;height:100%;background:var(--green);border-radius:9px}
.prog.part i{background:var(--orange)}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:0 12px;background:#fff}
.tabs div{padding:12px 14px;font-size:14.5px;font-weight:600;color:var(--mut);border-bottom:3px solid transparent;display:flex;gap:7px;align-items:center}
.tabs div.on{color:var(--navy);border-color:var(--navy)}
.tabs div .c{background:var(--orange);color:#fff;border-radius:99px;font-size:11.5px;padding:0 7px;min-width:20px;text-align:center;height:19px;line-height:19px}
.tabs div .c.g{background:#EEF0F4;color:var(--mut)}
.rcpt{display:flex;align-items:center;gap:12px;padding:0 18px;height:50px;border-bottom:1px solid var(--line)}
.rcpt:last-child{border-bottom:0}
.rcpt b{flex:1;font-weight:600;font-size:15px}
.toast2{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);background:#0f7a37;color:#fff;border-radius:14px;padding:12px 20px;font-size:15px;font-weight:600;display:flex;gap:10px;align-items:center;box-shadow:0 10px 30px #0004;z-index:30}
.toast2 svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.tog2{position:relative;width:48px;height:28px;border-radius:99px;background:#cfd4de;flex:none;display:inline-block}
.tog2::after{content:"";position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}
.tog2.on{background:var(--green)}.tog2.on::after{transform:translateX(-20px)}
.gtbl{width:100%;border-collapse:collapse}
.gtbl th{font-size:12.5px;color:var(--mut);font-weight:600;text-align:right;padding:10px 12px;background:#F8F9FB;border-bottom:1px solid var(--line)}
.gtbl td{padding:8px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.gtbl tr:last-child td{border-bottom:0}
.mini{position:relative;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px 10px 6px 8px;font-size:13px;font-weight:600;margin-bottom:5px;overflow:hidden;line-height:1.3}
.mini::before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--pc,#cfd4de)}
.mini span{display:block;padding-right:4px}
.mini small{display:block;font-weight:500;color:var(--mut);font-size:11.5px;padding-right:4px}
.mini.dn{background:#F6FBF8;color:#4a5266}


/* ===== work module: real-app adjustments ===== */
:where(svg:not([class])){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nav{position:relative}
.nav button{position:relative}
.actbar{padding:10px 16px calc(var(--sab) + 8px)}
.tk{border:1px solid var(--line);cursor:pointer}
.hdr .back{border:0}
.rq{cursor:pointer}
button.card{font-family:inherit;color:inherit}
.mi{cursor:pointer}
.ta-in{width:100%;display:block;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:11px 14px;font-family:inherit;font-size:15.5px;line-height:1.5;min-height:84px;color:var(--txt);resize:none;outline:none;direction:rtl}
.ta-in:focus{border-color:var(--navy)}
.cin{flex:1;min-width:0;height:40px;border-radius:14px;border:1.5px solid var(--line);background:#fff;padding:0 14px;font-size:15px;outline:none;font-family:inherit}
.cin:focus{border-color:var(--navy)}
.composer .send{border:0;cursor:pointer}
.fld-in{width:100%;border:0;background:none;font-family:inherit;font-size:17px;font-weight:600;color:var(--txt);outline:none;padding:0;margin-top:1px;direction:rtl;text-align:right}
.fld-in.big{font-size:30px;font-weight:700;color:var(--navy);direction:ltr;text-align:right}
select.fld-in{appearance:none;-webkit-appearance:none}
.fld2{cursor:text}
.fld2.sel{cursor:pointer}
.fld2:focus-within{border-color:var(--navy)}
.cal .gr button{height:42px;display:grid;place-items:center;font-size:15px;font-weight:500;position:relative;font-variant-numeric:tabular-nums;background:none;border:0;color:var(--txt)}
.cal .gr button.o{color:#c3c8d3}.cal .gr button.sat{color:#a7adbb}
.cal .gr button:disabled{color:#d3d7e0;cursor:default}
.cal .gr button.o:disabled{color:#c3c8d3}
.cal .gr button.rg{background:#E6ECF7;color:var(--navy);font-weight:600}
.cal .gr button.rs{background:var(--navy);color:#fff;font-weight:700;border-radius:12px;z-index:1}
.cal .gr button.rg.e1{border-radius:0 99px 99px 0}.cal .gr button.rg.e2{border-radius:99px 0 0 99px}
.cal .gr button.today::after{content:"";position:absolute;bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--green)}
.cal .mh button{color:var(--mut);display:grid;place-items:center;width:30px;height:30px;background:none;border:0}
.cal .mh button:disabled{opacity:.3}
.cal .mh button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.inapp{position:absolute;top:calc(var(--sat) + 16px);left:10px;right:10px;z-index:70;box-shadow:0 14px 34px #0006;cursor:pointer;animation:up .25s}
.inapp .push{box-shadow:none}
.pcenter{display:grid;place-items:center}
.sendnote{font-size:12.5px}
.chip.btnchip{border:0;cursor:pointer;font-family:inherit}
.tgl{display:flex;align-items:center;gap:12px}
.pagehdr .back{cursor:pointer}
.sel-hl{outline:2px solid var(--navy)}
.rbadge{background:var(--red);color:#fff;font-size:12px;font-weight:700;border-radius:99px;padding:2px 9px;display:inline-block}
.tile{cursor:pointer;text-align:inherit;font-family:inherit;display:block}
.tile .ti{width:34px;height:34px;border-radius:11px;background:#EEF1F7;display:grid;place-items:center}
.tile .ti svg{width:19px;height:19px;stroke:var(--navy);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pill{cursor:pointer;font-family:inherit}
.hdr .lead h1,.hdr h1{color:#fff}

/* modal (desktop admin) */
.dov{position:fixed;inset:0;background:#0f172a8c;z-index:90;display:grid;place-items:center;padding:20px;animation:fade .15s}
.modal{width:min(700px,100%);max-height:calc(100dvh - 40px);overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 70px #0006}
.modal .mh{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}
.modal .mh b{font-size:20px;color:var(--navy)}
.modal .mb{padding:18px 24px}
.modal .mf{padding:14px 24px;border-top:1px solid var(--line);background:#F8F9FB;display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap;position:sticky;bottom:0}
.in2{width:100%;font-family:inherit;color:var(--txt);outline:none}
.in2:focus{border-color:var(--navy)}
textarea.in2{resize:none;display:block}
.pseg button,.seg2 button{font-family:inherit}
.pseg button{flex:1;height:44px;border-radius:12px;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:14.5px;background:#fff;color:var(--txt)}
.pseg button.on.hi{border-color:var(--red);background:var(--redbg);color:#b42328}
.pseg button.on.mid{border-color:var(--navy);background:#E6ECF7;color:var(--navy)}
.pseg button.on.lo{border-color:#9a9eb2;background:#EEF0F4;color:#4a5266}
.pseg button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.asg button{display:flex;align-items:center;gap:9px;border:1.5px solid var(--line);border-radius:12px;padding:6px 10px;font-size:14px;font-weight:500;background:#fff;font-family:inherit;color:var(--txt);text-align:inherit}
.asg button.on{border-color:var(--navy);background:#EEF2FA;font-weight:600}
.asg button .cb{margin-inline-start:auto;width:20px;height:20px;border-radius:6px;border:1.8px solid #c3c8d3;display:grid;place-items:center}
.asg button.on .cb{background:var(--navy);border-color:var(--navy)}
.asg button .cb svg{width:13px;height:13px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;display:none}
.asg button.on .cb svg{display:block}
.asg button .av{width:28px;height:28px;font-size:11px}
.achips{display:flex;flex-wrap:wrap;gap:6px}
.achips button{display:flex;align-items:center;gap:6px;border:1.5px solid var(--line);background:#fff;border-radius:99px;padding:4px 12px 4px 5px;font-size:13.5px;font-weight:500;font-family:inherit;color:var(--txt)}
.achips button.on{border-color:var(--navy);background:#EEF2FA;font-weight:600}
.achips button .av{width:26px;height:26px;font-size:10.5px}
.achips button svg{width:15px;height:15px;stroke:var(--navy);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.tog2{border:0;cursor:pointer}
.tabs div,.tabs button{cursor:pointer}
.tabs button{padding:12px 14px;font-size:14.5px;font-weight:600;color:var(--mut);border:0;border-bottom:3px solid transparent;display:flex;gap:7px;align-items:center;background:none;font-family:inherit}
.tabs button.on{color:var(--navy);border-color:var(--navy)}
.tabs button .c{background:var(--orange);color:#fff;border-radius:99px;font-size:11.5px;padding:0 7px;min-width:20px;text-align:center;height:19px;line-height:19px}
.tabs button .c.g{background:#EEF0F4;color:var(--mut)}
.li2{width:100%;background:none;border:0;border-bottom:1px solid var(--line);text-align:inherit;font-family:inherit;color:inherit;cursor:pointer}
.li2:last-child{border-bottom:0}
.tcard{cursor:pointer;width:100%;text-align:inherit;font-family:inherit;color:inherit;display:block}
.mini{cursor:pointer;width:100%;text-align:inherit;font-family:inherit;color:inherit;display:block}
.wrap-main{flex:1;min-height:0;display:flex;flex-direction:column;position:relative}
.toast2{position:fixed}
.dnav{display:none}

/* ===== desktop admin shell ===== */
.app.desk{max-width:none;box-shadow:none;flex-direction:row;background:var(--bg)}
.app.desk .wbody{flex:1;display:flex;min-height:0;min-width:0;width:100%}
.app.desk .sidebar{overflow-y:auto}
.app.desk .main{overflow:hidden}
.app.desk .dpage{overflow-y:auto;overflow-x:hidden;padding-bottom:24px}
.app.desk .dpage .att-wrap{max-width:760px;margin:0 auto}
.sidebar button.nvb{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:12px;font-size:15px;font-weight:500;color:#ffffffcc;margin-bottom:2px;position:relative;background:none;border:0;width:100%;text-align:inherit;font-family:inherit}
.sidebar button.nvb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sidebar button.nvb.on{background:#ffffff1f;color:#fff;font-weight:700}
.sidebar button.nvb .cnt2{margin-inline-start:auto;background:var(--orange);color:#fff;font-size:12px;font-weight:700;border-radius:99px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 7px}
.sidebar button.nvb .cnt2.r{background:var(--red)}.sidebar button.nvb .cnt2.n{background:#ffffff26}
.sidebar button.nvb .old{margin-inline-start:auto;font-size:10.5px;background:#ffffff1a;border-radius:99px;padding:1px 8px;color:#ffffffaa;font-weight:600}
.sidebar .grp{font-size:11.5px;opacity:.55;font-weight:600;margin:14px 10px 5px}
.dhdr h1{color:#fff}
.dbtn{cursor:pointer}
.dbtn.pri{background:#fff;color:var(--navy);border-color:#fff}
.wr{width:100%}
.wr.click{cursor:pointer}
.kpi{cursor:default}
.btn-s{cursor:pointer}
.btn-s:disabled{opacity:.55;cursor:default}
.dpage .panel{box-shadow:0 1px 2px #1018280a}
.stack .av{width:28px;height:28px;font-size:11px;border:2px solid #fff}
.msgrow{cursor:pointer}
.mobile-only{display:initial}
@media(min-width:960px){.mobile-only{display:none!important}}
.rq .av{width:40px;height:40px}
.sdot{display:inline-block}
.hdr.sticky{position:relative}
.nav .nb{pointer-events:none}
.att-legacy{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:var(--bg);border:1px solid var(--line);min-height:100%}
.att-legacy .scroll{overflow:visible;flex:none}
.att-legacy .hdr{padding-top:20px}
.pseg button.lo.on{border-color:#9a9eb2}
@media(min-width:960px){.app.desk .sheet{left:50%;right:auto;width:560px;margin-left:-280px;bottom:20px;border-radius:24px;max-height:90%}}
.note.red{background:var(--redbg)}
.att-legacy{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:var(--bg);border:1px solid var(--line);min-height:100%}
.att-legacy .scroll{overflow:visible;flex:none}
.att-legacy .hdr{padding-top:20px}
@media(min-width:960px){.app.desk .sheet{left:50%;right:auto;width:560px;margin-left:-280px;bottom:20px;border-radius:24px;max-height:90%}}
.note.red{background:var(--redbg)}
/* v2 fidelity: small inline icons in meta lines (same as mockup .ico.xs) */
.meta>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* desktop admin: modal dims only the content area (sidebar stays clear), like the mockup */
.app.desk .main{position:relative}
.app.desk .dov{position:absolute}

/* work sessions (admin task detail) */
.sflag{display:inline-block;font-size:11px;font-weight:700;border-radius:8px;padding:1px 7px;margin-inline-start:4px;vertical-align:middle}
.sflag.live{background:#E3F6EA;color:#0f7a37}.sflag.auto{background:#FFF1D6;color:#8a5a00}.sflag.man{background:#E6ECF7;color:var(--navy)}
.sflag.clk{background:#EDE7F9;color:#4b2f8a}

/* ---- languages (employee app) ---- */
.langs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lang{height:44px;border-radius:12px;border:1.5px solid var(--line,#E2E6EF);background:#fff;font-weight:600;font-size:15.5px;color:var(--navy)}
.lang.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.trbar{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--mut);margin:0 4px 8px}
.trbar button{border:0;background:none;color:var(--navy);font-weight:700;font-size:12.5px;text-decoration:underline;padding:4px 6px;font-family:inherit}
.trbar button::before{content:"· ";color:var(--mut);text-decoration:none;display:inline-block}
html[lang=ar] body,html[lang=ar] button,html[lang=ar] input,html[lang=ar] textarea{font-family:"Noto Sans Arabic",Heebo,system-ui,"Segoe UI",Tahoma,Arial,sans-serif}
html[lang=th] body,html[lang=th] button,html[lang=th] input,html[lang=th] textarea{font-family:"Noto Sans Thai",Heebo,system-ui,"Leelawadee UI",Tahoma,sans-serif}
html[lang=ru] body,html[lang=ru] button,html[lang=ru] input,html[lang=ru] textarea{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
html[dir=ltr] body{direction:ltr}

.chip.upd{background:#E6ECF7;color:var(--navy);font-weight:700}.chip.upd:before{content:"";width:7px;height:7px;border-radius:50%;background:#2f6fe4;display:inline-block}
.card.tk.updd{box-shadow:0 0 0 2px #b9c8e6 inset}
/* LTR languages (ru / th): mirror the physical-direction rules */
html[dir=ltr] .tk::before,html[dir=ltr] .tcard::before,html[dir=ltr] .mini::before,html[dir=ltr] .li2.sel::before{right:auto;left:0}
html[dir=ltr] .tog::after,html[dir=ltr] .tog2::after{right:auto;left:3px}
html[dir=ltr] .tog.on::after,html[dir=ltr] .tog2.on::after{transform:translateX(20px)}
html[dir=ltr] .stat .v small,html[dir=ltr] .kpi .v small{margin-right:0;margin-left:4px}
html[dir=ltr] .hr .tt,html[dir=ltr] .th div:last-child,html[dir=ltr] .dh div:nth-child(5),html[dir=ltr] .cnt,html[dir=ltr] .wr .tmx{text-align:right}
html[dir=ltr] .inp.txt,html[dir=ltr] .fld-in,html[dir=ltr] textarea,html[dir=ltr] input{direction:ltr;text-align:left}
html[dir=ltr] .inp.txt,html[dir=ltr] .fld-in{text-align:left}
html[dir=ltr] .gtbl th{text-align:left}
html[dir=ltr] .tcard .tt,html[dir=ltr] .tcard .ft{padding-right:0;padding-left:6px}
/* longer translations must never push the layout wider than the screen */
#tiles .tile{min-width:0;overflow:hidden}
.homecard .chip{white-space:normal;text-align:center;max-width:100%;border-radius:18px}
html[lang=ru] .scroll,html[lang=th] .scroll,html[lang=ar] .scroll{overflow-x:hidden}
html[dir=ltr] [data-tr],html[dir=ltr] [data-notr]{unicode-bidi:plaintext}

/* task attachments */
.frow{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--line)}
.frow:last-child{border-bottom:0}
.fopen{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;padding:2px;font-family:inherit;text-align:inherit;cursor:pointer}
.fic{flex:none;width:42px;height:42px;border-radius:11px;background:#EEF1F7;color:var(--navy);display:grid;place-items:center;font-size:11px;font-weight:700}
.fic.pdf{background:#fde8e8;color:#b42328}.fic.img{background:#e6f6ec;color:#0f7a37}
.fic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.fnm{min-width:0;flex:1;display:flex;flex-direction:column}
.fnm b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fnm small{font-size:12px;color:var(--mut)}
.fdl,.fdel{flex:none;width:36px;height:36px;border-radius:10px;border:0;background:#F3F4F8;color:var(--navy);display:grid;place-items:center;cursor:pointer}
.fdel{color:#b42328}
.fdl svg,.fdel svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fbar{display:block;height:5px;border-radius:3px;background:#e4e8f0;margin-top:5px;overflow:hidden}
.fbar>i{display:block;height:100%;background:var(--navy);width:0;transition:width .2s}
.fv{position:fixed;inset:0;z-index:1000;background:#0b1220f2;display:flex;flex-direction:column}
.fvh{flex:none;display:flex;align-items:center;gap:10px;padding:10px 12px;color:#fff}
.fvh b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.fvx{width:40px;height:40px;border-radius:12px;border:0;background:#ffffff22;color:#fff;display:grid;place-items:center}
.fvx svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2}
.fvd,.fvn{color:#fff;background:#ffffff22;border-radius:10px;padding:8px 12px;font-size:13.5px;text-decoration:none}
.fvb{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 8px 12px;gap:8px}
.fvb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}
.fvb iframe{flex:1;width:100%;border:0;background:#fff;border-radius:8px}

/* ---- station chain ---- */
.st-strip{display:flex;flex-direction:column}
.st-row{display:grid;grid-template-columns:28px 1fr;gap:10px}
.st-rail{display:flex;flex-direction:column;align-items:center}
.st-dot{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;border:2px solid var(--line);background:#fff;color:var(--mut);z-index:1}
.st-dot.done{background:var(--green);border-color:var(--green);color:#fff}
.st-dot.cur{background:var(--navy);border-color:var(--navy);color:#fff;box-shadow:0 0 0 4px #14213d22}
.st-dot.wait{background:#fff;border-color:#cfd4de;color:#9aa1b2}
.st-line{width:2px;flex:1;min-height:10px;background:var(--line)}
.st-line.done{background:var(--green)}
.st-body{padding:0 0 10px;min-width:0}
.st-body.cur{background:#EEF2FA;border:1.5px solid #c5d0e8;border-radius:14px;padding:8px 10px 10px;margin-bottom:8px}
.st-name{font-size:14.5px;font-weight:700;line-height:1.25}
.st-body.cur .st-name{color:var(--navy)}
.st-meta{font-size:12px;color:var(--mut);margin-top:2px}
.st-pills{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.st-pill{display:inline-flex;align-items:center;gap:5px;border-radius:99px;padding:3px 9px 3px 4px;font-size:12px;font-weight:600;background:#fff;border:1px solid var(--line);color:var(--navy)}
.st-pill .av{width:20px;height:20px;border-radius:50%;background:#E6ECF7;color:var(--navy);display:grid;place-items:center;font-size:9px;font-weight:700}
.st-pill.on{background:var(--orangebg);border-color:#f3d9a0;color:#9a6200}
.st-pill.on .av{background:#f3d9a0;color:#9a6200}
.st-pill.ok{background:var(--greenbg);border-color:#bfe5cd;color:#0f7a37}
.st-pill.ok .av{background:#bfe5cd;color:#0f7a37}
.chip.hold{background:var(--orangebg);color:#9a6200}
.schip{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:99px;border:1.5px solid var(--line);background:#F7F8FA;font-size:13px;font-weight:600;color:var(--navy);font-family:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.schip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.empick{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1.5px solid var(--line);border-radius:14px;background:#fff;margin-bottom:8px;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;width:100%;text-align:inherit;font-family:inherit}
.empick.on{border-color:var(--navy);background:#EEF2FA}
.empick .av{width:36px;height:36px;border-radius:50%;background:#E6ECF7;color:var(--navy);display:grid;place-items:center;font-size:13px;font-weight:700;flex:none}
.empick .cb{width:22px;height:22px;border-radius:7px;border:1.5px solid var(--line);display:grid;place-items:center;flex:none;background:#fff}
.empick.on .cb{background:var(--navy);border-color:var(--navy);color:#fff}
