*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:"IBM Plex Sans Arabic","Segoe UI",system-ui,-apple-system,Tahoma,sans-serif;background:#F7F8FB;color:#1b2540;font-size:16px}
header{position:sticky;top:0;z-index:5;background:#0A2357;color:#fff;padding:9px 12px;display:flex;align-items:center;gap:10px}
.lg{width:36px;height:36px;border-radius:11px;background:#fff;color:#0A2357;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:19px}
.tt{flex:1;min-width:0}.tt b{display:block;font-size:15.5px}.tt span{font-size:11.5px;opacity:.8}
header button{border:0;background:rgba(255,255,255,.14);color:#fff;width:36px;height:36px;border-radius:11px;font-size:17px}
#log{padding:14px 14px 190px;max-width:760px;margin:0 auto}
.msg{margin:14px 0}.msg.u{display:flex;justify-content:flex-start}.msg.u .tx{background:#E7ECF8;color:#0A2357;border-radius:18px 18px 18px 6px;padding:9px 14px;max-width:86%;white-space:pre-wrap;line-height:1.7}
html[dir=rtl] .msg.u{justify-content:flex-start}
.msg.a .who{font-size:12px;font-weight:700;color:#0A2357;margin-bottom:3px;display:flex;align-items:center;gap:6px}.msg.a .who i{width:20px;height:20px;border-radius:7px;background:#0A2357;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:800}
.msg.a .tx{line-height:1.85;font-size:16px}.msg.a .tx p{margin:0 0 6px}.msg.a .tx p:last-child{margin:0}
.typ span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9aa4bd;margin:0 2px;animation:bl 1s infinite}.typ span:nth-child(2){animation-delay:.2s}.typ span:nth-child(3){animation-delay:.4s}@keyframes bl{50%{opacity:.25}}
.pk{display:flex;flex-direction:column;gap:6px;margin:10px 0 4px}.pk button{display:flex;align-items:center;gap:10px;text-align:start;background:#fff;border:1px solid #dfe5f0;border-radius:14px;padding:9px 11px;color:#0A2357;font:inherit}
.pk .ic{flex:0 0 36px;height:36px;border-radius:10px;background:#eef2f8;display:flex;align-items:center;justify-content:center;font-size:18px}.pk .t{flex:1;min-width:0}.pk .t b{display:block;font-size:14.5px;direction:ltr;text-align:start}.pk .t small{display:block;color:#5a6584;font-size:12px;direction:ltr;text-align:start}.pk .dots{display:flex;gap:3px}.pk .dots i{width:9px;height:9px;border-radius:50%}
.pk button.no{justify-content:center;color:#7a2a2a;background:#fff7f7;border-color:#f1d4d4;font-size:14px;padding:8px}
.chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 2px}.chips button{background:#fff;color:#0A2357;border:1.4px solid #c5cee3;border-radius:999px;padding:7px 13px;font:inherit;font-size:14px}
.cd{background:#fff;border:1px solid #dfe5f0;border-radius:16px;padding:10px 12px;font-size:13.5px;line-height:1.6;margin:8px 0}.cd h4{margin:0;font-size:16px;font-weight:800;direction:ltr;text-align:start}.cd .g{direction:ltr;text-align:start;color:#334;font-size:13px}.cd .sub{color:#5a6584;font-size:12.5px}
.ch{display:inline-block;font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:8px;margin:5px 0 0 5px}.apv{display:inline-block;font-size:11.5px;background:#eef2f8;color:#445;border-radius:6px;padding:2px 7px;margin-top:5px}
.secs{background:#fff;border-radius:16px;border:1px solid #dfe5f0;margin:8px 0;overflow:hidden}.secs details{border-top:1px solid #eef1f6}.secs details:first-child{border-top:0}.secs summary{padding:10px 12px;font-weight:700;font-size:14px}.secs .bd{padding:0 12px 10px;font-size:14px;line-height:1.75;white-space:pre-wrap}.secs .sr{display:block;margin-top:4px;font-size:12px}.secs a{color:#1d4ed8;text-decoration:none;font-weight:600}
.lp{background:#fff;border-radius:16px;border:1px solid #dfe5f0;padding:10px;margin:8px 0;text-align:center}.lp img{max-width:100%;border-radius:6px}.lp .wt{color:#5a6584;font-size:13px;padding:18px 0}.lp .cap{font-size:12.5px;color:#5a6584;margin-top:6px}.lp button{margin-top:8px;border:0;background:#0A2357;color:#fff;border-radius:12px;padding:9px 16px;font:inherit;font-size:14px}
#bot{position:fixed;bottom:0;left:0;right:0;background:rgba(247,248,251,.97);padding:8px 10px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #e3e7f0}
#bot>*{max-width:760px;margin-left:auto;margin-right:auto}
#bask{display:none;align-items:center;gap:8px;margin-bottom:6px;font-size:13px}#bask button{border:0;border-radius:10px;padding:6px 10px;font-size:13px}#bq{background:#16A34A;color:#fff}#bc{background:#e8ecf4;color:#445}
form{display:flex;align-items:flex-end;gap:8px;background:#fff;border:1px solid #cfd6e4;border-radius:22px;padding:6px 8px}
textarea{flex:1;border:0;outline:0;resize:none;font:inherit;font-size:16px;line-height:1.5;max-height:120px;background:transparent;padding:6px 4px;min-width:0}
button.ic,button.s{flex:0 0 38px;height:38px;border-radius:50%;border:0;font-size:17px}button.ic{background:#eef2f8}button.ic.on{background:#DC2626;color:#fff}button.s{background:#0A2357;color:#fff}
#pv{font-size:10.5px;color:#8a7a3a;text-align:center;margin-top:5px}
#login{max-width:420px;margin:40px auto;padding:22px;background:#fff;border-radius:18px;box-shadow:0 4px 18px rgba(10,35,87,.1)}#login h2{margin:0 0 6px}#login p{color:#5a6584;line-height:1.7;margin:0 0 14px}#login .row{display:flex;gap:8px}#login input{flex:1;padding:12px 14px;border:1px solid #cfd6e4;border-radius:14px;font-size:16px;min-width:0}#login .s{flex:0 0 auto;width:auto;border-radius:14px;padding:0 16px}footer{text-align:center;font-size:11px;color:#7a849c;padding:10px 0 0}
#mod{display:none;position:fixed;inset:0;background:rgba(10,15,30,.75);z-index:20;flex-direction:column}#mod .hd{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;background:#0A2357;color:#fff}#mod .hd b{font-size:15px}#mod .hd .r{display:flex;gap:6px}#mod .hd a,#mod .hd button{border:0;border-radius:10px;padding:7px 12px;font-size:14px;text-decoration:none;background:#fff;color:#0A2357}#mod .bx{flex:1;overflow:auto;background:#eef2f8;display:flex;align-items:flex-start;justify-content:center}#mod iframe{width:100%;height:100%;border:0;background:#fff}#mod img{max-width:96%;margin:14px auto;display:block;box-shadow:0 2px 10px rgba(0,0,0,.2)}
#lf{position:fixed;width:2px;height:2px;left:0;bottom:0;border:0;opacity:0;pointer-events:none}
.mk{margin-top:8px}.mk .ch{margin:0}.mx{font-size:13.5px;margin-top:3px}.ms{font-size:12px;color:#5a6584}.ln{font-size:13.5px;margin-top:7px}.pt{margin-top:8px;background:#f3f6fb;border-radius:12px;padding:8px 10px;font-size:14px;line-height:1.75}.pt .sr{display:block;font-size:12px;margin-top:3px}.pt a{color:#1d4ed8;text-decoration:none;font-weight:600}

header #acc{background:rgba(255,255,255,.12);border-radius:10px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:18px}
#login .al{margin:14px 0 0;text-align:center}#login .al a{color:#0A2357;font-weight:700}
.ac{max-width:520px;margin:0 auto;padding:14px}.ac h2{font-size:18px;margin:6px 0 10px;color:#0A2357}.ac .tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}.ac .tabs button{border:1px solid #cfd8e6;background:#fff;border-radius:20px;padding:7px 13px;font:inherit;font-size:14px;color:#0A2357}.ac .tabs button.on{background:#0A2357;color:#fff;border-color:#0A2357}
.ac .bx{background:#fff;border:1px solid #dfe5ef;border-radius:14px;padding:14px;margin-bottom:12px}.ac label{display:block;font-size:13px;color:#55607a;margin:9px 0 3px}.ac input,.ac select{width:100%;box-sizing:border-box;border:1px solid #cfd8e6;border-radius:10px;padding:10px;font:inherit;font-size:16px;background:#fff}
.ac .go{margin-top:14px;width:100%;background:#0A2357;color:#fff;border:0;border-radius:10px;padding:12px;font:inherit;font-weight:700;font-size:16px}.ac .msg{margin-top:10px;font-size:14px;line-height:1.7}.ac .msg.er{color:#b42318}.ac .msg.ok{color:#1c6b36}.ac .hint{font-size:12.5px;color:#7a8499;line-height:1.7;margin-top:6px}
.ac .u{border:1px solid #e6ebf3;border-radius:12px;padding:10px;margin-top:8px;background:#fafbfd;font-size:14px;line-height:1.7}.ac .u b{font-size:15px}.ac .u .st{float:left;font-size:11px;border-radius:20px;padding:2px 9px;background:#eef1f6;color:#55607a}.ac .u .st.pending{background:#fdecd2;color:#8a4b00}.ac .u .st.active{background:#e3f4e8;color:#1c6b36}.ac .u .st.approved{background:#e0ecff;color:#1d4ed8}.ac .u .row2{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.ac .u .row2 select{flex:1;min-width:120px;padding:7px;font-size:14px}.ac .u .row2 button{border:0;border-radius:8px;padding:8px 12px;font:inherit;font-size:13px;background:#0A2357;color:#fff}.ac .u .row2 button.x{background:#fff;color:#b42318;border:1px solid #f0c4be}
.ac .code{font-size:26px;letter-spacing:3px;font-weight:800;text-align:center;direction:ltr;background:#f4f6fa;border-radius:10px;padding:10px;margin:8px 0;user-select:all}.ac .sec{direction:ltr;text-align:center;font-family:monospace;font-size:15px;word-break:break-all;background:#f4f6fa;border-radius:10px;padding:10px;user-select:all}.ac a.back{display:inline-block;margin-bottom:8px;color:#0A2357;font-weight:700;text-decoration:none}

header #msgb,header #ctc{background:rgba(255,255,255,.12);border:0;border-radius:10px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:17px;position:relative;color:#fff}header #msgn{display:none;position:absolute;top:-4px;left:-4px;background:#DC2626;color:#fff;font-style:normal;font-size:11px;font-weight:700;border-radius:10px;min-width:18px;height:18px;line-height:18px;text-align:center}

header{position:fixed;top:0;left:0;right:0;z-index:15;height:56px;padding:8px 10px;gap:7px;box-shadow:0 2px 10px rgba(10,35,87,.25)}body{padding-top:56px}
.tt b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tt span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
header button,header #acc,header #msgb,header #ctc{width:36px;height:36px;flex:0 0 36px}
.hl{background:#fff;border:2px solid #0A2357;border-radius:16px;margin:10px 0;overflow:hidden}.hl .ht{background:#0A2357;color:#fff;padding:8px 12px;font-weight:700;font-size:14px}.hl .hr{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid #e6eaf3}.hl .hr:first-of-type{border-top:0}.hl .hr span{color:#55607a;font-size:14px}.hl .hr b{font-size:19px;color:#0A2357;direction:ltr;unicode-bidi:isolate}.hl .hf{padding:6px 12px;font-size:12px;color:#7a849c;background:#f5f7fb}

.fc{background:#fff;border-radius:22px;padding:14px 14px 10px;margin:10px 0;box-shadow:0 3px 14px rgba(30,27,75,.10);border-right:5px solid #4f46e5;font-size:14px;line-height:1.6}
.fc .fh{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#7b84a0;font-weight:700;font-size:12px;direction:ltr}.fc .fq{border:1.4px solid #c7d0f5;background:#eef1ff;color:#3730a3;border-radius:999px;padding:3px 11px;font-weight:800;font-size:12px}
.fc .ft{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-top:8px}.fc .fn{min-width:0;flex:1}.fc h4{margin:0;font-size:21px;font-weight:800;color:#0b1437;direction:ltr;text-align:start;line-height:1.25;word-break:break-word}.fc .fa{font-size:16px;color:#1b2540;margin-top:2px}
.fc .fs{display:inline-block;margin-top:6px;background:#eef0ff;color:#3730a3;font-weight:800;font-size:19px;border-radius:12px;padding:2px 12px;direction:ltr;unicode-bidi:isolate}
.fc .ff{flex:0 0 auto;background:#f1f3f8;border-radius:12px;padding:6px 11px;font-weight:700;color:#334;font-size:13.5px;white-space:nowrap}
.fc .fb{display:flex;flex-wrap:wrap;gap:4px 10px;background:#f6f7fb;border-radius:12px;padding:7px 11px;margin-top:10px;font-weight:800;color:#0b1437;direction:ltr}.fc .fb span+span:before{content:"• ";color:#93a0e6}
.fc .fu{margin-top:8px;color:#334}.fc .fm{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}.fc .fm .ch{border-radius:8px;padding:3px 10px;font-weight:800;font-size:12.5px}
.fc .fp{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:8px;margin-top:10px}.fc .fp div{border:1px solid #e3e7f0;border-radius:14px;padding:7px 4px;text-align:center}.fc .fp span{display:block;color:#5a6584;font-size:12.5px}.fc .fp b{display:block;font-size:20px;color:#0b1437;direction:ltr}.fc .fp i{display:block;font-style:normal;color:#8a93ab;font-size:11px}
.fc .fx{display:flex;gap:8px;margin-top:12px;padding-top:10px;border-top:1px dashed #dfe5f0}.fc .fx button{border:1.6px solid #c9c4ee;background:#fff;color:#3b2a8f;border-radius:14px;padding:9px 12px;font:inherit;font-weight:800;font-size:14px}.fc .fx .p{flex:1;background:#3b1f7a;border-color:#3b1f7a;color:#fff}
.fc .fi{text-align:center;color:#0f8a5f;font-weight:700;margin-top:8px;font-size:13.5px}.fc .fi.no{color:#8a93ab;font-weight:600}.fc .apv{font-size:12px;color:#7a849c;margin-top:4px;text-align:center}.fc .fcp{text-align:center;color:#a3abc0;font-size:11px;margin-top:4px;direction:ltr}


img.lg{object-fit:contain;padding:1px;background:#fff;flex:0 0 38px;width:38px;height:38px;border-radius:11px}
header .tt{min-width:0;flex:1 1 auto}header .tt b{white-space:nowrap;overflow:visible;font-size:15.5px}header .tt span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
@media(max-width:400px){header{gap:5px;padding:8px 8px}header button,header #acc,header #msgb,header #ctc{width:33px;height:33px;flex:0 0 33px;font-size:15px}header .tt b{font-size:14.5px}}
.msg .tx details.nts{margin-top:8px;background:#f4f6fb;border:1px solid #e3e8f2;border-radius:12px;padding:6px 10px}.msg .tx details.nts summary{font-size:12.5px;font-weight:700;color:#5a6584;cursor:pointer}.msg .tx details.nts p{font-size:12.5px;color:#5a6584;line-height:1.75;margin:6px 0 2px}
.fc .fhb{display:flex;gap:6px;align-items:center}.fc .fadd{border-color:#a7e3c9;background:#e9faf2;color:#0f7a55}.fc .fadd.on{background:#0f8a5f;color:#fff;border-color:#0f8a5f}
#bask #bn{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.bkv{padding:14px}.bkr{display:flex;align-items:center;gap:10px;background:#f4f6fb;border-radius:12px;padding:10px 12px;margin:8px 0}.bkr b{flex:1;font-size:15px;color:#0A2357}.bkr button{border:1.3px solid #fca5a5;background:#fff;color:#b91c1c;border-radius:10px;padding:6px 12px;font:inherit;font-size:13px;font-weight:700}
.bka{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 6px}.bka button{flex:1 1 auto;border:1.3px solid #cfd8e6;background:#fff;color:#0A2357;border-radius:12px;padding:11px 12px;font:inherit;font-size:14px;font-weight:800}.bka .go1{background:#0A2357;color:#fff;border-color:#0A2357;flex:2 1 auto}.nt2{font-size:12.5px;color:#5a6584;line-height:1.7}
.pvw{display:flex;flex-direction:column;height:100%;min-height:70vh}.pvw .bka{margin:10px 12px}.pvw iframe{flex:1;width:100%;min-height:60vh;border:0;border-top:1px solid #dfe5f0;background:#eef2f8}
.pbt{display:block;width:calc(100% - 24px);margin:12px;border:0;border-radius:12px;padding:12px;background:#0A2357;color:#fff;font:inherit;font-size:15px;font-weight:800}

#bask #bi{border:0;border-radius:999px;padding:7px 11px;font:inherit;font-size:12.5px;font-weight:800}#bask #bi.ixw,.ixw{background:#b91c1c;color:#fff}#bask #bi.ixok{background:#e9faf2;color:#0f7a55}
.ixb{padding:12px}.ixp{background:#fff5f5;border:1.4px solid #fecaca;border-radius:14px;padding:8px 10px;margin:8px 0}.ixp summary{font-weight:800;color:#991b1b;font-size:15px;cursor:pointer}.ixh{background:#fff;border-radius:10px;padding:8px 10px;margin-top:8px;font-size:14px;line-height:1.75;color:#22304d}.ixh b{font-size:12.5px;color:#7f1d1d}.ixh p{margin:3px 0}.ixh .ixa{color:#33405c}.ixh .ixc{font-size:12.5px;color:#5a6584}.ixh a{font-size:12.5px;font-weight:700;color:#1d4ed8;text-decoration:none}
.ixd,.ixu,.ixn{border-radius:12px;padding:9px 11px;margin:8px 0;font-size:14px;font-weight:700;line-height:1.7}.ixd{background:#fff7e8;color:#92500a;border:1px solid #f3d089}.ixu{background:#f1f5f9;color:#475569}.ixn{background:#e9faf2;color:#0f7a55}
.msg .tx p.ixm{font-weight:800;color:#991b1b}.msg .tx .ixo{margin-top:6px;border:1.3px solid #fca5a5;background:#fff;color:#991b1b;border-radius:10px;padding:7px 12px;font:inherit;font-size:13px;font-weight:800}
.pvw .ixs{display:block;margin:0 12px 10px;border:0;border-radius:12px;padding:10px;font:inherit;font-size:14px;font-weight:800;width:calc(100% - 24px)}

.msg .tx p.wr{background:#fff7e8;border:1px solid #f3d089;color:#7a4a05;border-radius:10px;padding:6px 10px;font-size:13px;line-height:1.7;margin:6px 0}

.ixt{display:flex;align-items:center;gap:10px;background:#991b1b;color:#fff;border-radius:12px;padding:8px 10px;margin:0 0 8px}.ixt img{width:34px;height:34px;border-radius:8px;background:#fff;object-fit:contain;flex:none}.ixt b{display:block;font-size:15px}.ixt span{font-size:11px;opacity:.85;letter-spacing:.5px}
.msg .tx.ixcard{border:1.5px solid #fca5a5;background:#fffafa}
.ixg{background:#fff7e8;border:1px solid #f3d089;border-radius:12px;padding:8px 11px;margin:8px 0}.ixg p{margin:3px 0;font-size:13.5px;line-height:1.75;color:#5b3a05}.ixg p.ixpol{font-size:12px;opacity:.8}
.ixa2{display:flex;flex-direction:column;gap:8px;margin:10px 0}.ixa2 button{border-radius:12px;padding:11px;font:inherit;font-size:14.5px;font-weight:800;border:0}.ixb1{background:#991b1b;color:#fff}.ixb2{background:#fff;color:#0A2357;border:1.4px solid #cfd8e6!important}
.ixq{padding:12px}.ixq textarea{width:100%;box-sizing:border-box;border:1.3px solid #cfd8e6;border-radius:12px;padding:10px;font:inherit;font-size:15px;margin:8px 0}.ixqh{font-weight:800;font-size:15.5px;line-height:1.7}.ixl p{margin:4px 0;font-size:14.5px}
.ixr{margin-top:10px;border-radius:12px;font-size:14.5px;line-height:1.8}.ixr.ok{background:#e9faf2;color:#0b5c40;padding:10px 12px}.ixr.bad{background:#fff1f1;color:#991b1b;padding:10px 12px;font-weight:700}.ixcode{font-size:22px;font-weight:900;letter-spacing:2px;direction:ltr;text-align:center;user-select:all}

.shv .shh{padding:4px 2px}.shv .shh b{font-size:15.5px;color:#0A2357}.shv .shh p{margin:4px 0;font-size:14px;line-height:1.7}.shv .shs{color:#0f7a55;font-weight:800}.shv .shw{color:#92500a;font-weight:700}
.sht{display:flex;gap:8px;overflow-x:auto;padding:6px 2px 10px}.sht img{width:96px;height:136px;flex:none;border:1px solid #cfd8e6;border-radius:6px;background:#fff;box-shadow:0 1px 4px rgba(10,35,87,.12);cursor:zoom-in}
.pdfm{display:block;width:100%;margin:8px 0;border:1.4px solid #cfd8e6;background:#fff;border-radius:12px;padding:12px;font:inherit;font-size:14.5px;font-weight:800;color:#0A2357;text-align:start}.pdfa{display:block;text-align:center;font-weight:900;font-size:16px;color:#0b5c40;text-decoration:none;padding:6px}
.fs{padding:12px}.fs>b{display:block;margin:12px 0 6px;color:#0A2357}.fst{display:flex;flex-wrap:wrap;gap:6px}.fst button{border:1.3px solid #cfd8e6;background:#fff;border-radius:999px;padding:7px 12px;font:inherit;font-size:13.5px;font-weight:700}.fst button.on,.fsg button.on,.fsf button.on{border-color:#0A2357!important;background:#eef3fb;box-shadow:0 0 0 2px #0A2357 inset}
.fsg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.fsg button{border:1.3px solid #cfd8e6;background:#fff;border-radius:12px;padding:8px 4px;font:inherit;display:flex;flex-direction:column;align-items:center;gap:4px}.fsr{display:flex;gap:2px;justify-content:center;min-height:30px;align-items:center}.fsr img{width:22px;height:30px;object-fit:contain}.fsg small{font-size:11.5px;line-height:1.3}
.fsp{margin-top:10px;border:1px solid #e2e8f0;border-radius:12px;padding:6px 10px}.fsp summary{font-weight:800;color:#0A2357;cursor:pointer;padding:4px 0}.fsf{margin:8px 0}.fsf>b{font-size:13px}.fsf>div{display:flex;gap:4px;overflow-x:auto;padding:4px 0}.fsf button{flex:none;width:40px;height:46px;border:1.2px solid #e2e8f0;background:#fff;border-radius:8px;padding:2px}.fsf button img{width:100%;height:100%;object-fit:contain}
.fss{display:flex;gap:8px;overflow-x:auto}.fss img{height:150px;border:1px solid #cfd8e6;border-radius:8px;background:#fff}

.ixp{background:#fff;border:1.4px solid #e2e8f0;border-radius:14px;padding:10px 12px;margin:10px 0}.ixp.sv4{border-color:#dc2626;background:#fff5f5}.ixp.sv3{border-color:#ea580c;background:#fff8f1}.ixp.sv2{border-color:#eab308;background:#fffdf0}.ixp.sv1{border-color:#16a34a;background:#f3fbf6}
.ixph{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px}.ixph b{font-size:15.5px;color:#0A2357}
.ixsev{display:inline-block;border-radius:999px;padding:3px 10px;font-size:13px;font-weight:900;background:#e2e8f0;color:#334155;white-space:nowrap}.sv4 .ixsev,.ixsev.sv4{background:#dc2626;color:#fff}.sv3 .ixsev,.ixsev.sv3{background:#ea580c;color:#fff}.sv2 .ixsev,.ixsev.sv2{background:#facc15;color:#422006}.sv1 .ixsev,.ixsev.sv1{background:#16a34a;color:#fff}
.ixp p{margin:5px 0;font-size:14.5px;line-height:1.8}.ixp .ixv{font-weight:700}.ixfin{font-size:13px!important;color:#0A2357;font-weight:800;border-top:1px dashed #cbd5e1;padding-top:6px}
.ixlf{margin-top:6px}.ixlf summary{font-size:13px;color:#475569;cursor:pointer;font-weight:700}
#bask #bi.ixw.sv4{background:#dc2626}#bask #bi.ixw.sv3{background:#ea580c}#bask #bi.ixw.sv2{background:#ca8a04}
#msn{position:sticky;top:0;z-index:5;display:none;align-items:center;justify-content:space-between;gap:8px;background:#eef3fb;border-bottom:1px solid #cfd8e6;padding:8px 12px;font-size:14px;font-weight:800;color:#0A2357}#msn button{border:1.2px solid #cfd8e6;background:#fff;border-radius:999px;padding:5px 11px;font:inherit;font-size:12.5px;color:#0A2357}
.msm{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 4px}.msm button{border:1.4px solid #cfd8e6;background:#fff;border-radius:14px;padding:12px 8px;font:inherit;font-size:14.5px;font-weight:800;color:#0A2357;text-align:center}.msm button:last-child:nth-child(odd){grid-column:1/-1}
.msg .tx.sfcard{border:1.4px solid #cfd8e6;background:#fbfcff}.sfh{font-weight:900;color:#0A2357;margin:2px 0 6px}.sfr{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;margin:6px 0}.sfr>b{display:block;font-size:15px;color:#0A2357;margin-bottom:4px}.sff{display:flex;flex-wrap:wrap;gap:5px}.sfc{display:inline-block;border-radius:6px;padding:3px 8px;font-size:12px;font-weight:900;letter-spacing:.2px}.sfa{margin:6px 0 0;font-size:13.5px;line-height:1.7;color:#7a4a05;font-weight:700}.sfb{padding:4px 12px}
.vls{display:flex;flex-direction:column;gap:8px;margin:8px 0}.vlr{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}.vlr .sfc{font-size:14px;padding:5px 10px;align-self:flex-start}.vla{display:flex;gap:8px}.vla button{flex:1;border:1.3px solid #cfd8e6;background:#fff;border-radius:10px;padding:9px;font:inherit;font-size:14px;font-weight:800;color:#0A2357}.vla button.go1{background:#0A2357;color:#fff;border-color:#0A2357}
.rcard{display:block;margin:8px 0;border:1.3px solid #cfd8e6;background:#fff;border-radius:12px;padding:9px 12px;font:inherit;font-size:14px;font-weight:800;color:#0A2357}
.msg .tx.ptf,.msg .tx.dsc{border:1.4px solid #cfd8e6;background:#fbfcff;width:100%;box-sizing:border-box}.ptg{margin:8px 0}.ptg>b{display:block;font-size:13.5px;color:#475569;margin-bottom:5px}.ptr{display:flex;flex-wrap:wrap;gap:6px}.ptr button{border:1.3px solid #cfd8e6;background:#fff;border-radius:999px;padding:8px 13px;font:inherit;font-size:14px;font-weight:700;color:#0A2357}.ptr button.on{background:#0A2357;color:#fff;border-color:#0A2357}
.ptok{display:block;width:100%;margin-top:10px;border:0;border-radius:12px;padding:12px;font:inherit;font-size:15px;font-weight:900;background:#0A2357;color:#fff}.ptok:disabled{opacity:.4}
.sfz{margin:6px 0 0;font-size:13.5px;line-height:1.75;background:#fff7e8;border-radius:8px;padding:6px 8px;color:#5b3a05}.sfz.nn{background:#f1f5f9;color:#475569}
.dpt{margin:2px 0 8px;font-size:14px;color:#334155}.dlink{border:0;background:none;color:#1d4ed8;font:inherit;font-size:13px;font-weight:800;padding:0 6px}.dhd{font-weight:900;color:#0A2357;margin:4px 0}
.dls{display:flex;flex-direction:column;gap:4px;margin:6px 0}.dlr{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:6px 9px}.dlr span{flex:1;font-weight:800;color:#0A2357}.dlw{display:block;width:100%;border:0;border-radius:10px;padding:8px;font:inherit;font-weight:800;margin:6px 0}
.dact{display:flex;flex-direction:column;gap:7px;margin-top:8px}.dact button{border:1.3px solid #cfd8e6;background:#fff;border-radius:12px;padding:11px;font:inherit;font-size:14.5px;font-weight:800;color:#0A2357}.dact button.go1,.dnew{background:#16a34a!important;color:#fff!important;border-color:#16a34a!important}.dnew{display:block;width:calc(100% - 24px);margin:10px 12px;border:0;border-radius:12px;padding:12px;font:inherit;font-weight:900}
.msg.u .tx.camu img{display:block;max-width:180px;max-height:180px;border-radius:10px;margin-bottom:4px}
.msg .tx.camr{width:100%;box-sizing:border-box}.cami{background:#fff;border:1.3px solid #cfd8e6;border-radius:12px;padding:9px 11px;margin:8px 0}.camrd{margin:0 0 6px;font-size:14.5px;line-height:1.7}.camc{font-size:12px;color:#64748b}.camq{margin:4px 0 6px;font-weight:800;color:#0A2357}
.camb{display:block;width:100%;text-align:start;border:1.3px solid #cfd8e6;background:#f8fbff;border-radius:10px;padding:9px 10px;margin:5px 0;font:inherit;font-size:14px;color:#0A2357}.camb span{color:#475569;font-size:13px}.camb.on{background:#e9faf2;border-color:#16a34a}.camn{border:0;background:none;color:#b91c1c;font:inherit;font-weight:800;padding:6px 2px}.camok{color:#0f7a55;font-weight:800;margin:4px 0 0}
.mtabs{display:flex;gap:6px;margin:6px 0 10px;overflow-x:auto}.mtabs button{flex:1;white-space:nowrap;border:1.3px solid #cfd8e6;background:#fff;border-radius:999px;padding:9px 12px;font:inherit;font-size:14px;font-weight:800;color:#0A2357}.mtabs button.on{background:#0A2357;color:#fff;border-color:#0A2357}
.cmp select,.cmp textarea{width:100%;box-sizing:border-box;border:1px solid #cfd8e6;border-radius:10px;padding:10px;font:inherit;font-size:15px;margin-top:8px;background:#fff}
.attb{margin-top:8px;border:1.3px dashed #94a3b8;background:#f8fafc;border-radius:10px;padding:9px 12px;font:inherit;font-size:14px;font-weight:800;color:#0A2357;width:100%}
.fchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.fchip{background:#eef3fb;border-radius:8px;padding:5px 8px;font-size:13px;color:#0A2357}.fchip button{border:0;background:none;color:#b91c1c;font-weight:900}
.pchk{display:block;margin-top:8px;font-size:13.5px;color:#7a4a05;background:#fff7e8;border-radius:8px;padding:8px}
.bub{border-radius:14px}.bub.me{background:#eef7f1}.quote{border-inline-start:3px solid #94a3b8;background:#f1f5f9;border-radius:6px;padding:6px 8px;margin:6px 0;font-size:13.5px;color:#334155;white-space:pre-wrap}
.atts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.att img{max-width:150px;max-height:150px;border-radius:10px;border:1px solid #e2e8f0;cursor:zoom-in;display:block}.attf{border:1.3px solid #cfd8e6;background:#fff;border-radius:10px;padding:8px 10px;font:inherit;font-size:13.5px;font-weight:800;color:#0A2357}
.mrow{display:flex;gap:8px;margin-top:8px}.mrow button{border:1px solid #cfd8e6;background:#fff;border-radius:8px;padding:6px 11px;font:inherit;font-size:13px;color:#0A2357}
.shb{display:block;width:100%;margin:10px 0 4px;border:1.3px solid #0A2357;background:#fff;color:#0A2357;border-radius:12px;padding:10px;font:inherit;font-size:14.5px;font-weight:800}.shsel{width:100%;border:1.3px solid #cfd8e6;border-radius:10px;padding:10px;font:inherit;font-size:15px;margin:6px 0;background:#fff}.shgo{display:block;width:100%;border:0;border-radius:12px;padding:12px;font:inherit;font-weight:900;background:#0A2357;color:#fff;margin-top:8px}
.camv{display:inline-block;unicode-bidi:isolate;direction:ltr}.mtabs{flex-wrap:wrap}.mtabs button{flex:1 1 auto;padding:8px 10px;font-size:13.5px}
.camv{display:inline-block;unicode-bidi:isolate;direction:ltr}.mtabs{flex-wrap:wrap}.mtabs button{flex:1 1 auto;padding:8px 10px;font-size:13.5px}
.newtask{text-align:center;color:#64748b;font-size:12.5px;font-weight:800;margin:6px 0 10px;letter-spacing:.3px}
.msg .tx.mnt{width:100%;box-sizing:border-box;border:1.4px solid #cfd8e6;background:#fbfcff}.mng{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.mnt1{display:flex;align-items:center;gap:8px;border:1.3px solid #cfd8e6;background:#fff;border-radius:12px;padding:11px 10px;font:inherit;font-size:14px;font-weight:800;color:#0A2357;text-align:start}.mnt1 i{font-style:normal;font-size:20px}
.ptskip{display:block;width:100%;margin-top:8px;border:1.3px dashed #94a3b8;background:#fff;border-radius:12px;padding:10px;font:inherit;font-size:14px;font-weight:800;color:#475569}
.dcw{margin-top:10px;border-top:1px dashed #fca5a5;padding-top:8px}.dch{font-weight:800;color:#991b1b;font-size:13.5px;margin:0 0 6px}.dcs{font-size:13.5px;color:#334155;margin:4px 0}.dcb{display:block;width:100%;border:1.4px solid #DC2626;background:#fff5f5;color:#991b1b;border-radius:12px;padding:10px;font:inherit;font-weight:800;font-size:14px}.msg .tx.dci{border:1.4px solid #fca5a5;background:#fffafa}
#gtoast{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:60;display:flex;flex-direction:column;gap:6px;width:min(92vw,420px);pointer-events:none}
.gt1{background:#0A2357;color:#fff;border-radius:12px;padding:9px 12px;font-size:13.5px;font-weight:700;box-shadow:0 6px 18px rgba(10,35,87,.25);border-inline-start:5px solid #22c55e;transition:opacity .45s,transform .45s}.gt1.out{opacity:0;transform:translateY(-8px)}
.anc{margin:6px 0 0;background:#EEF3FB;color:#0A2357;border-radius:10px;padding:7px 10px;font-size:13px;line-height:1.7;font-weight:700}
.dno{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;background:#0A2357;color:#fff;font-size:12px;font-weight:800;margin-inline-end:6px}.dhi{background:#DC2626;color:#fff;border-radius:6px;padding:1px 7px;font-size:11.5px;font-weight:800;margin-inline-start:6px}
.ddup{color:#92400E;background:#FEF3C7;border-radius:8px;padding:5px 8px;font-size:13px;font-weight:700}
.gtr{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:8px}.gtt{font-size:12px;font-weight:800;color:#0A2357;margin-inline-end:2px}.gc{font-size:11.5px;border:1px solid #cbd5e1;color:#64748b;border-radius:999px;padding:2px 8px}.gc.on{background:#DCFCE7;border-color:#86efac;color:#166534;font-weight:700}
.dnext{font-size:13px;color:#0A2357;font-weight:700;margin:6px 0 0}
.msg .tx.hick{border:1.6px solid #DC2626;background:#FFF8F8;width:100%;box-sizing:border-box}.hk0{font-size:12.5px;color:#991B1B;font-weight:700;margin:2px 0 6px}.hk1{font-weight:800;margin:8px 0 2px}.hkq{display:flex;align-items:center;gap:8px;padding:6px 2px;font-size:14px}.hkq input{width:20px;height:20px;accent-color:#0A2357}
.msg .tx.stopc{border:1.6px solid #DC2626;background:#FFF5F5;width:100%;box-sizing:border-box}
.go1:disabled{opacity:.45}
.scan{position:fixed;inset:0;z-index:70;background:#000;color:#fff;overflow:hidden}.scan video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.scbox{position:absolute;display:none;border:3px solid #22c55e;border-radius:10px;box-shadow:0 0 0 9999px rgba(0,0,0,.18);pointer-events:none;transition:left .12s,top .12s,width .12s,height .12s}.sctag{position:absolute;bottom:100%;inset-inline-start:-3px;margin-bottom:6px;background:#0A2357;color:#fff;font-weight:800;font-size:14px;border-radius:8px;padding:3px 9px;white-space:nowrap;direction:ltr}.sctag:empty{display:none}
.sctop{position:absolute;top:0;left:0;right:0;display:flex;gap:8px;align-items:center;padding:12px;background:linear-gradient(rgba(0,0,0,.55),transparent)}.scx{width:44px;height:44px;border-radius:999px;border:0;background:rgba(255,255,255,.18);color:#fff;font-size:20px}.scb{min-height:40px;border:1px solid rgba(255,255,255,.5);background:rgba(10,35,87,.55);color:#fff;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:700}
.scst{position:absolute;top:70px;left:12px;right:12px;margin:0;text-align:center;font-size:14px;font-weight:700;text-shadow:0 1px 3px #000}
.scbot{position:absolute;bottom:0;left:0;right:0;display:flex;gap:8px;justify-content:center;padding:14px 12px calc(14px + env(safe-area-inset-bottom));background:linear-gradient(transparent,rgba(0,0,0,.6))}.scsnap{min-height:46px;border:0;background:#fff;color:#0A2357;border-radius:999px;padding:8px 18px;font:inherit;font-weight:800;font-size:15px}
.sccard{position:absolute;left:10px;right:10px;bottom:84px;max-height:55%;overflow:auto}.sc1{background:#fff;color:#1e293b;border-radius:16px;padding:12px 14px;box-shadow:0 10px 30px rgba(0,0,0,.35)}.scn{margin:0;font-size:18px;font-weight:800;color:#0A2357}.scs{margin:2px 0 6px;font-size:13px;color:#475569}.scread{margin:4px 0;font-size:12.5px;background:#FEF3C7;color:#92400E;border-radius:8px;padding:4px 8px;font-weight:700}
.scmk{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.scmk span{border-radius:6px;padding:2px 7px;font-size:11.5px;font-weight:800}.scal{margin:4px 0;font-size:13px;font-weight:700;color:#166534}.scsec{margin-top:6px;font-size:13px;line-height:1.7}.scsec b{color:#0A2357}.scsec p{margin:0}.scsec ul{margin:2px 0;padding-inline-start:18px}
.scact{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.scact .go1{flex:1}.scb2{min-height:40px;border:1.3px solid #cfd8e6;background:#fff;color:#0A2357;border-radius:12px;padding:6px 10px;font:inherit;font-weight:700;font-size:13px}.scsrc{margin:6px 0 0;font-size:11px;color:#64748b}
.scsw p{margin:0 0 6px}
#mod{z-index:90}#gtoast{z-index:95}
.msg .tx.dcb2{width:100%;box-sizing:border-box;border:1.6px solid #0A2357;background:#fff;padding:0;overflow:hidden}.dch2{background:#FEF2F2;border-bottom:1px solid #fecaca;padding:9px 12px}.dch2 b{color:#991B1B;font-size:13.5px}.dch2 .dpt{margin:3px 0 0}
.dcb2>.dci2,.dcb2>.nt2,.dcb2>.gtr,.dcb2>.dnext,.dcb2>.dact,.dcb2>.ddup{margin-left:12px;margin-right:12px}.dci2{border-bottom:1px dashed #e2e8f0;padding:9px 0}.dct{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.dct b{color:#0A2357;font-size:15px}.dsf{font-size:12.5px;color:#475569}.dgn{margin:2px 0 0;font-size:12px;color:#64748b}
.dus{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}.dug{display:flex;gap:4px}.dug button{min-height:34px;border:1.2px solid #cfd8e6;background:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:12.5px;color:#334155}.dug button.on{background:#0A2357;border-color:#0A2357;color:#fff;font-weight:800}
.dqg{display:flex;align-items:center;gap:6px}.dqg button{width:34px;height:34px;border-radius:999px;border:1.2px solid #cfd8e6;background:#fff;font-size:18px;color:#0A2357}.dqv{font-size:13px;font-weight:800;color:#0A2357}.dpr{font-size:12.5px;color:#166534;font-weight:700}
.dal{margin-top:6px;display:flex;flex-direction:column;gap:3px}.dal p{margin:0;font-size:12.5px;line-height:1.6;border-radius:8px;padding:4px 8px;background:#FFFBEB;color:#78350F}.dal p.dal-hi{background:#FEF2F2;color:#991B1B;font-weight:700}.dal p.dal-ix{background:#FFF7ED;color:#9A3412}.dal p.dal-la{background:#F0FDF4;color:#166534}.dpat{margin:5px 0 0;font-size:12.5px;color:#0A2357;background:#EEF3FB;border-radius:8px;padding:4px 8px}.dia{display:flex;gap:12px;margin-top:4px}
.ptcat{margin:0 0 6px;font-size:12.5px;font-weight:800;color:#991B1B;background:#FEF2F2;border-radius:8px;padding:4px 8px}.crr{display:flex;gap:6px;flex-wrap:wrap}.crr input{width:30%;min-width:90px;min-height:38px;border:1.2px solid #cfd8e6;border-radius:10px;padding:4px 8px;font:inherit;font-size:13px}.crout{margin:4px 0 0;font-size:13px;font-weight:800;color:#0A2357}
.msg .tx.dcok,.msg .tx.dcdone{width:100%;box-sizing:border-box;border:1.6px solid #16A34A;background:#F0FDF4}.dcl{margin:2px 0;font-size:13.5px}.dctot{font-weight:800;color:#0A2357;margin:6px 0}.dcqr{width:200px;max-width:70%;display:block;margin:6px auto;border-radius:8px;background:#fff}.dsign{font-size:12.5px;font-weight:700;text-align:center;direction:ltr;color:#0A2357}
.msg .tx.opsl{width:100%;box-sizing:border-box}.opr{display:flex;flex-direction:column;border-bottom:1px dashed #e2e8f0;padding:6px 0;font-size:13px}.opr b{color:#0A2357;direction:ltr;text-align:start}

.dwel .dwh{font-weight:800;font-size:1.08em;margin-bottom:4px}.dwel .dwq{font-weight:700;margin-top:6px}

/* v49 patient card */
.ptf2{background:#e8edf5!important;border:1px solid #c9d3e3!important;padding:0!important;overflow:hidden}
.ptf2 .pfh{background:#0A2357;color:#fff;padding:12px 14px}.ptf2 .pfh b{display:block;font-size:1.15em}.ptf2 .pfh small{opacity:.8;font-size:.78em}
.ptf2 .pnote{margin:8px 12px 2px;font-size:.74em;color:#5a6584;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ic2{display:inline-flex;align-items:center;justify-content:center;color:#0A2357}.ic2.sm svg{width:14px;height:14px}
.pg2{padding:6px 12px}.pgh{display:flex;align-items:baseline;gap:8px;margin:4px 0 6px}.pgh b{font-size:.95em;color:#0A2357}.pgh small{font-size:.72em;color:#6b7590}
.pgr{display:flex;flex-wrap:wrap;gap:6px}
.bic{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #c3cde0;border-radius:12px;padding:6px 10px;font:inherit;color:#0A2357;cursor:pointer;min-height:44px}
.bic .bit{display:flex;flex-direction:column;line-height:1.15;text-align:start}.bic .bit b{font-size:.93em}.bic .bit small{font-size:.68em;color:#6b7590}
.bic.on{background:#0A2357;border-color:#0A2357;color:#fff}.bic.on .ic2,.bic.on .bit small{color:#dfe6f3}
.ptf2 .ptok{margin:10px 12px 12px;width:calc(100% - 24px);display:flex;flex-direction:column;align-items:center;gap:2px}.ptf2 .ptok small{font-size:.72em;opacity:.85}
.ptf2 .crr{display:flex;gap:6px;flex-wrap:wrap}.ptf2 .crr input{flex:1;min-width:90px;padding:8px;border-radius:10px;border:1px solid #c3cde0;font:inherit}
.pbd{display:flex;gap:10px;align-items:flex-start;background:#0A2357;color:#fff;border-radius:12px;padding:10px;margin:-2px -2px 8px}
.pbd .pav{background:#fff;border-radius:50%;width:46px;height:46px;flex:0 0 46px}.pbd .pav svg{width:30px;height:30px}
.pbm{flex:1;min-width:0}.pb1 b{display:block;font-size:1.02em;letter-spacing:.3px}.pb1 small{font-size:.68em;opacity:.8}
.pb2{margin:3px 0 5px;font-size:.78em;opacity:.92}
.pbt{display:flex;flex-wrap:wrap;gap:4px}.pbg{display:inline-flex;flex-direction:column;background:rgba(255,255,255,.12);border-radius:8px;padding:2px 7px;line-height:1.1}.pbg b{font-size:.74em}.pbg small{font-size:.6em;opacity:.75}
.pbr{display:flex;flex-direction:column;align-items:center;gap:4px}.pbq{width:64px;height:64px;border-radius:6px;background:#fff}.pbr .dlink{color:#cfe0ff;font-size:.75em}
.ptf2 .pnote{font-size:.64em;white-space:normal}
.bit small,.pbg small,.pgh small,.pb1 small{unicode-bidi:plaintext}
.pbt{justify-content:flex-start}.pbm{text-align:start}
/* v50 item cards */
.fpic{width:52px;height:64px;flex:0 0 52px;background:#fff;border:1px solid #d4dbe8;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.fpic img{width:100%;height:100%;object-fit:contain}.fpic.sm{width:30px;height:38px;flex:0 0 30px;border-radius:6px}.fpe{font-size:24px}
.spill{display:inline-flex;align-items:baseline;gap:1px;background:#e6ebf7;color:#2a3a8f;border-radius:999px;padding:1px 9px;margin-inline-start:6px;font-size:.9em}.spill b{font-size:1.15em}.spill small{font-size:.7em;opacity:.85}
.dci3{position:relative;background:#f4f6fb;border:1px solid #d4dbe8;border-radius:14px;padding:10px;margin:8px 0}.dci3.ok{border-color:#86c79b}
.dtop{display:flex;gap:8px;align-items:flex-start}.dtop .dno{flex:0 0 auto;margin-top:4px}
.dnm{flex:1;min-width:0}.dn1{display:flex;flex-wrap:wrap;align-items:center;gap:2px}.dn1 b{font-size:1.05em;color:#0A2357}.dn2{margin:2px 0 0;font-size:.8em;color:#3c4766;text-align:start}.dn3{margin:1px 0 0;font-size:.78em;color:#6b7590}
.pbox{flex:0 0 auto;min-width:76px;background:#0A2357;color:#fff;border-radius:10px;padding:5px 8px;text-align:center;display:flex;flex-direction:column;line-height:1.15}.pbox b{font-size:1.15em}.pbox small{font-size:.62em;opacity:.85}
.dlang{position:absolute;top:-9px;inset-inline-start:-6px;width:30px;height:30px;border-radius:50%;border:1px solid #c3cde0;background:#fff;color:#0A2357;font:700 12px sans-serif;cursor:pointer}
.mpills{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 2px}.mpill{font-size:.72em;font-weight:800;border-radius:999px;padding:3px 10px}
.dus2{margin-top:8px;background:#fff;border:1px solid #dde3ee;border-radius:12px;overflow:hidden}
.drw{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid #eef1f6}.drw:last-child{border-bottom:0}.drw.need{background:#fff7e6;box-shadow:inset 3px 0 0 #b45309}
.drl{flex:0 0 92px;display:flex;flex-direction:column;line-height:1.15}.drl b{font-size:.82em;color:#0A2357}.drl small{font-size:.64em;color:#6b7590}.drw.need .drl small{color:#b45309;font-weight:700}
.drv{flex:1;display:flex;flex-wrap:wrap;gap:4px;align-items:center}.drv button{min-height:34px;padding:4px 10px;border-radius:9px;border:1px solid #c3cde0;background:#fff;color:#0A2357;font:inherit;font-size:.82em;cursor:pointer}.drv button.on{background:#0A2357;color:#fff;border-color:#0A2357}.drv .qb{width:34px;padding:0;font-size:1.1em}.dqv{font-weight:700;min-width:56px;text-align:center;font-size:.88em}.dlt{font-size:.78em;color:#166534;font-weight:700}
.dia2{display:flex;gap:6px;margin-top:6px}.dib{flex:1;display:flex;flex-direction:column;align-items:center;gap:0;background:#fff;border:1px solid #dde3ee;border-radius:10px;padding:4px;color:#2a3a8f;font:inherit;cursor:pointer}.dib span{font-size:1em}.dib small{font-size:.66em}
.dcok2{width:100%;margin-top:8px;display:flex;flex-direction:column;align-items:center;gap:1px}.dcok2 small{font-size:.66em;opacity:.85}.dcok2:disabled{opacity:.55}
.dci3r{display:flex;align-items:center;gap:8px;width:100%;background:#f1f8f3;border:1px solid #b9dfc5;border-radius:12px;padding:6px 8px;margin:6px 0;font:inherit;color:#0A2357;cursor:pointer;text-align:start}.drm{flex:1;display:flex;flex-direction:column;min-width:0}.drm b{font-size:.9em}.drm small{font-size:.72em;color:#4b5670}.drp{font-size:.8em;font-weight:700}.drk{color:#16a34a;font-weight:900}
.dact2{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}.dtile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;aspect-ratio:1/1;max-height:84px;border-radius:12px;border:1px solid #c3cde0;background:#fff;color:#0A2357;font:inherit;cursor:pointer;padding:4px}.dtile b{font-size:.66em;line-height:1.15;text-align:center}.dti{font-size:1.25em}.dtile.go{background:#16a34a;border-color:#16a34a;color:#fff}.dtile.no{color:#991b1b}
.pk2{display:flex;flex-direction:column;gap:8px}.dcand{background:#fff;border:1.5px solid #c9d2f0;border-radius:14px;padding:10px}.dbr{margin:8px 0 0;font-size:.8em;color:#1f2a44;font-weight:600;text-align:start;line-height:1.5}
.dcbt{display:flex;justify-content:space-between;align-items:center;margin-top:8px;border:0;background:none;padding:0}.dcp b{font-size:1.2em;color:#0A2357}.dcp small{font-size:.74em;color:#4b5670}.dpick{background:#3730a3;color:#fff;border:0;border-radius:12px;padding:9px 18px;font:inherit;font-weight:800;cursor:pointer}
.dib{padding:3px;min-height:0}.dib span{font-size:.9em}

/* v51 patient card — approved proposal 1 */
.ptf2{background:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 2px 10px rgba(10,35,87,.12);padding:0 0 2px!important}
.ptf2 .pfh{background:linear-gradient(135deg,#0A2357,#163a7a);padding:12px 14px 10px}.ptf2 .pfh b{font-size:1.2em}
.ptf2 .pnote{margin:0;background:#0A2357;color:#cdd8ee;font-size:.68em;padding:5px 14px;border-top:1px solid rgba(255,255,255,.12)}.ptf2 .pnote .ic2{color:#cdd8ee}
.ptf2 .sl{margin:8px 8px 0;border-radius:14px;padding:8px 9px 9px;border:1px solid}
.ptf2 .sl h4{margin:0 0 6px;display:flex;align-items:center;gap:6px;font-size:.95em}
.ptf2 .sl h4 .n{width:20px;height:20px;border-radius:50%;color:#fff;font-size:.7em;display:inline-flex;align-items:center;justify-content:center}
.ptf2 .sl h4 small{font-weight:400;font-size:.7em;opacity:.75}
.ptf2 .s1{background:#eef6f5;border-color:#b7dcd7}.ptf2 .s1 h4{color:#0f5f57}.ptf2 .s1 .n{background:#0f766e}
.ptf2 .s2{background:#f3f4fb;border-color:#cdd2ee}.ptf2 .s2 h4{color:#2b3170}.ptf2 .s2 .n{background:#3b3f8f}
.ptf2 .s3{background:#f6f3ee;border-color:#e2d6c3}.ptf2 .s3 h4{color:#6b4f2a}.ptf2 .s3 .n{background:#8a6a3d}
.ptf2 .s4{background:#f1f3f6;border-color:#cfd6e0}.ptf2 .s4 h4{color:#334155}.ptf2 .s4 .n{background:#475569}
.ptf2 .g4{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.ptf2 .g2x3{display:grid;grid-template-columns:2fr 3fr;gap:8px}
.ptf2 .seg{display:flex;background:#fff;border:1px solid #cfd6e0;border-radius:11px;overflow:hidden}
.ptf2 .t,.ptf2 .sgi{font:inherit;color:#0A2357;cursor:pointer;line-height:1.1;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px}
.ptf2 .t{background:#fff;border:1px solid #d3d9e4;border-radius:11px;padding:5px 2px 4px}
.ptf2 .sgi{flex:1;background:#fff;border:0;border-inline-start:1px solid #e3e7ee;padding:5px 2px}.ptf2 .sgi:first-child{border-inline-start:0}
.ptf2 .t .ic2,.ptf2 .sgi .ic2{color:inherit}.ptf2 .t svg,.ptf2 .sgi svg{width:19px;height:19px;margin-bottom:2px}
.ptf2 .t b,.ptf2 .sgi b{font-size:.74em;display:block}.ptf2 .t small,.ptf2 .sgi small{font-size:.56em;color:#6b7590}
.ptf2 .on{color:#fff!important}.ptf2 .on small{color:#e6ecf7!important}
.ptf2 .s1 .on{background:#0f766e;border-color:#0f766e}.ptf2 .s2 .on{background:#3b3f8f}.ptf2 .s3 .on{background:#8a6a3d}.ptf2 .s4 .on{background:#475569;border-color:#475569}
.ptf2 .lbl{font-size:.68em;font-weight:700;margin:0 2px 3px;opacity:.8}
.ptf2 .ptok{margin:10px 8px 8px;width:calc(100% - 16px);background:#0A2357;border-radius:13px}

/* v52 «تقصد ده؟» — approved proposal 4 */
.pk4{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.c4{display:flex;align-items:flex-start;gap:8px;background:#fff;border:1.5px solid #d4dbe8;border-radius:14px;padding:10px;cursor:pointer;text-align:left;box-shadow:0 1px 4px rgba(10,35,87,.08)}
.c4.on{border:2px solid #0A2357;box-shadow:0 2px 10px rgba(10,35,87,.18)}
.c4r{width:22px;height:22px;flex:0 0 22px;border-radius:50%;border:3px solid #0A2357;margin-top:6px;box-sizing:border-box;background:#fff}.c4.on .c4r{background:radial-gradient(#0A2357 42%,#fff 48%)}
.c4 .c4p{width:40px;height:50px;flex:0 0 40px;border-radius:8px}
.c4m{flex:1;min-width:0}.c4g{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.c4g b{font-size:.98em;color:#0A2357;line-height:1.2}
.c4g .spill{margin:0;font-size:.78em}
.c4b{display:flex;align-items:flex-start;gap:5px;margin-top:4px;font-size:.8em;font-weight:700;color:#0A2357;line-height:1.35}.c4e{color:#4b5670;font-weight:600}
.ico4{flex:0 0 auto;min-width:18px;height:16px;border-radius:4px;color:#fff;font-size:.62rem;font-weight:900;display:inline-flex;align-items:center;justify-content:center;padding:0 2px;margin-top:1px}.h4{background:#0f766e}.e4{background:#8a6a3d}
.c4 .mpills{margin:6px 0 0}.c4 .mpill{font-size:.62em;padding:2px 8px}
.c4pr{flex:0 0 auto;min-width:58px;background:#f3f4fb;border:1px solid #cdd2ee;border-radius:12px;padding:4px 6px;display:flex;flex-direction:column;align-items:center;line-height:1.1;color:#2b3170}.c4pr b{font-size:1.1em}.c4pr small{font-size:.6em}
.c4go{background:#0A2357;color:#fff;border:0;border-radius:12px;padding:12px;font:inherit;font-weight:800;font-size:.95em;box-shadow:0 3px 0 #06163a;cursor:pointer}.c4go:disabled{opacity:.45;box-shadow:none}
.pk4 .no{background:#fdf2f2;border:1px solid #f1c9c9;color:#7f1d1d;border-radius:12px;padding:9px;font:inherit;font-size:.88em;cursor:pointer}

/* v53 patient badge — approved proposal 4 (ticket) */
.tkt{display:flex;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(10,35,87,.13);margin:-2px -2px 8px}
.tkl{flex:1;min-width:0;padding:9px 10px}.tkh b{display:block;font-size:.98em;color:#0A2357;line-height:1.25}.tkh small{font-size:.62em;color:#6b7590}
.tkr{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.tkp{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:2px 8px;line-height:1.1}.tkp b{font-size:.74em}.tkp small{font-size:.56em;opacity:.75;margin-inline-start:2px}.tkp .ic2{color:inherit}.tkp svg{width:13px;height:13px}
.tkp.k2{background:#eef0fb;color:#3b3f8f}.tkp.k3{background:#f6f1e9;color:#8a6a3d}.tkp.k4{background:#eef1f5;color:#475569}
.tks{width:118px;flex:0 0 118px;background:linear-gradient(180deg,#0A2357,#163a7a);color:#fff;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;border-inline-start:3px dashed #eef1f6}
.tklogo{width:30px;height:30px;border-radius:8px;background:#fff;object-fit:contain}.tkqr{width:64px;height:64px;border-radius:7px;background:#fff}
.tkop{font-size:.72em;letter-spacing:.2px}.tktr{font-size:.56em;color:#ffd9a8}
.tkdc{width:100%;background:rgba(255,255,255,.08);border-radius:9px;padding:5px 4px;display:flex;flex-direction:column;gap:3px}
.tkd1,.tkd2{display:flex;align-items:center;gap:4px;text-align:start}.tkd1 .ic2,.tkd2 .ic2{color:#9fc0ff}.tkd1 span,.tkd2 span{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.tkd1 b{font-size:.72em;color:#cfe0ff}.tkd1 small{font-size:.54em;color:#9fb3d9}.tkd2 b{font-size:.66em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tkd2 small{font-size:.5em;color:#b8c6e3}
.tkmini{width:16px;height:16px;border-radius:4px;background:#fff;object-fit:contain;flex:0 0 16px}.tkand{font-size:.7em;color:#9fc0ff;line-height:1}
.tked{background:none;border:0;color:#9fc0ff;font:inherit;font-size:.62em;cursor:pointer;padding:2px}
.tkd2 b{white-space:normal;font-size:.62em;line-height:1.15}.tkp{padding:1px 7px}.tkp b{font-size:.7em}.tkr{gap:3px;margin-top:4px}

/* v54 form — design 3 (settings list) */
.ptf2 .f3{background:#fff}
.f3r{display:flex;align-items:flex-start;gap:8px;padding:8px 10px;border-bottom:1px solid #edf0f5}.f3r:last-child{border-bottom:0}
.f3i{width:30px;height:30px;flex:0 0 30px;border-radius:9px;color:#fff;display:flex;align-items:center;justify-content:center;margin-top:2px}.f3i .ic2{color:#fff}.f3i svg{width:17px;height:17px}
.r1 .f3i{background:#0f766e}.r2 .f3i{background:#3b3f8f}.r3 .f3i{background:#8a6a3d}.r4 .f3i{background:#475569}
.f3l{flex:0 0 60px;display:flex;flex-direction:column;line-height:1.15;padding-top:3px}.f3l b{font-size:.8em;color:#0A2357}.f3l small{font-size:.56em;color:#6b7590}
.f3v{flex:1;min-width:0}
.f3s{display:flex;background:#eef1f6;border-radius:10px;padding:2px;gap:2px}
.f3s button{flex:1;display:flex;flex-direction:column;align-items:center;border:0;border-radius:8px;background:transparent;color:#64748b;font:inherit;padding:4px 2px;min-height:44px;cursor:pointer;line-height:1.1}
.f3s button .ic2{color:inherit}.f3s button svg{width:15px;height:15px}.f3s button b{font-size:.7em}.f3s button small{font-size:.52em;opacity:.8}
.f3s button.on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.15)}.r2 .f3s button.on{color:#3b3f8f}.r3 .f3s button.on{color:#8a6a3d}
.f3h{display:flex;gap:5px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.f3h::-webkit-scrollbar{display:none}
.f3h button{flex:0 0 auto;display:flex;align-items:center;gap:4px;border-radius:999px;border:1px solid #b7dcd7;background:#eef6f5;color:#0f766e;font:inherit;padding:6px 11px 6px 9px;min-height:40px;cursor:pointer}
.f3h button .ic2{color:inherit}.f3h button svg{width:14px;height:14px}.f3h button b{font-size:.72em}.f3h button small{font-size:.54em;opacity:.8}.f3h button.on{background:#0f766e;color:#fff;border-color:#0f766e}
.f3g{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.f3g button{display:flex;flex-direction:column;align-items:center;border:0;border-radius:9px;background:#f1f3f6;color:#475569;font:inherit;padding:4px 1px;min-height:46px;cursor:pointer;line-height:1.1}.f3g button .ic2{color:inherit}.f3g button svg{width:15px;height:15px}.f3g button b{font-size:.68em}.f3g button small{font-size:.5em;opacity:.8}.f3g button.on{background:#475569;color:#fff}
.ptf2 .f3 .crr input{min-width:70px}
/* v54 badge — design 1 (navy header) */
.bd1{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(10,35,87,.13);margin:-2px -2px 8px}
.bdh{background:linear-gradient(135deg,#0A2357,#163a7a);color:#fff;padding:9px 10px 8px}
.bdt{display:flex;align-items:center;gap:8px}.bdlogo{width:36px;height:36px;border-radius:9px;background:#fff;object-fit:contain;flex:0 0 36px}
.bdtt{flex:1;min-width:0}.bdtt b{display:block;font-size:.98em;line-height:1.25}.bdtt small{font-size:.6em;color:#cdd8ee}
.bdqr{width:54px;height:54px;border-radius:7px;background:#fff;flex:0 0 54px}
.bdop{display:flex;align-items:center;gap:6px;margin-top:7px;background:rgba(255,255,255,.1);border-radius:9px;padding:5px 8px}.bdhash{color:#9fc0ff;font-weight:900}.bdop b{font-size:1.02em;letter-spacing:.3px}.bdtr{font-size:.56em;color:#ffd9a8}.bdsp{flex:1}
.bded{background:none;border:0;color:#9fc0ff;font:inherit;font-size:.62em;cursor:pointer}
.bddc{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:6px}
.bdx{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,.08);border-radius:8px;padding:3px 7px}.bdx .ic2{color:#9fc0ff}.bdx>span{display:flex;flex-direction:column;line-height:1.1}.bdx b{font-size:.66em}.bdx small{font-size:.5em;color:#b8c6e3}
.bdmini{width:16px;height:16px;border-radius:4px;background:#fff;object-fit:contain}.bdplus{color:#9fc0ff;font-weight:900;font-size:.8em}
.bdb{padding:6px 9px 8px}
.ptf2 .f3s button.on{color:#0A2357!important}.ptf2 .r2 .f3s button.on{color:#3b3f8f!important}.ptf2 .r3 .f3s button.on{color:#8a6a3d!important}.ptf2 .f3s button.on small{color:inherit!important;opacity:.8}
.ptf2 .f3s button.on b{font-weight:900}

/* v56 stages */
#msn{flex-wrap:wrap}
.stg{flex-basis:100%;display:flex;gap:4px;margin-top:6px}
.stp{flex:1;display:flex;flex-direction:column;align-items:center;padding:4px 2px;border-radius:10px;background:#eef2f8;color:#7a849c;font-size:11px;line-height:1.3;text-align:center;min-width:0}
.stp b{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.stp small{font-size:10px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.stp.on{background:#0A2357;color:#fff}
.stp.done{background:#e3f4ea;color:#166534}
.ptok.miss{opacity:.8}
.dcclose{border-inline-start:4px solid #0A2357}
.dcdec .dact2{margin-top:8px}
/* v57 stage chat folds */
.sfold{margin:6px 0;border:1px solid #dfe6f1;border-radius:14px;background:#f6f8fc}
.sfold>summary{list-style:none;cursor:pointer;padding:8px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:#0A2357}
.sfold>summary::-webkit-details-marker{display:none}
.sfold>summary b{font-size:14px}
.sfold>summary small{font-size:11px;color:#7a849c}
.sfold[open]>summary{border-bottom:1px solid #dfe6f1}
.sfold>.msg{margin:6px 8px;opacity:.92}
.dguide .tx p+p{margin-top:4px}
/* v60 EOC chips + viewer */
.eocw{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed #d5dce8}
.eocl{font-size:11.5px;color:#7a849c}
.eocb{border:1px solid #b8c6e3;background:#f2f6ff;color:#0A2357;border-radius:16px;padding:3px 10px;font-size:12px;font-weight:800;cursor:pointer;direction:ltr}
.eocv{text-align:start;max-width:560px;padding:12px 14px;margin:0 auto}
.eoct{font-weight:800;font-size:16px;color:#0A2357;margin:0}
.eocte{direction:ltr;text-align:left;font-size:12.5px;color:#5a6584;margin:2px 0 8px}
.eocs{font-size:12px;color:#5a6584;margin:6px 0}
.eoci{width:100%;border:1px solid #dfe5f0;border-radius:10px;background:#fff;display:block}
.eocen{direction:ltr;text-align:left;background:#fff;border:1px solid #dfe5f0;border-radius:10px;padding:10px;font-size:14px}
.eoca{background:#f3f6fb;border-radius:12px;padding:10px;margin:8px 0;line-height:1.8;font-size:15px;color:#0A2357}
