body{background:#f5f6f8;padding-bottom:84px}
.bar{background:#fff;position:sticky;top:0;z-index:20}
.ocard{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 2px 10px rgba(13,27,62,.08);display:flex;flex-direction:column;gap:4px;margin-bottom:14px}
.ocard span{color:#08a10b;font-weight:700}
.guar{border:2px solid #f5c518;border-radius:14px;padding:14px 16px;margin-bottom:6px;background:#fff}
.guar p{margin:6px 0 0;line-height:1.45;color:#444}
.lbl{font-weight:700;margin-top:6px}
.form textarea{border:1px solid #cfd5e1;border-radius:9px;padding:12px 14px;font:inherit;font-size:17px;outline:none;resize:vertical}
.form textarea:focus{border-color:#3b5bdb;box-shadow:0 0 0 3px rgba(59,91,219,.15)}
.radios{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.radios label{display:block;cursor:pointer}
.radios input{position:absolute;opacity:0}
.radios span{display:block;text-align:center;padding:12px 6px;border:1px solid #cfd5e1;border-radius:9px;background:#fff;font-size:16px}
.radios input:checked+span{border-color:#08b60b;background:#e6f6ec;color:#0a7a3d;font-weight:700}
.ol{max-width:640px;margin:0 auto;padding:0 12px}
.tabs{display:flex;background:#fff;margin:0 -12px}
.tabs a{flex:1;text-align:center;padding:16px 0;font-size:16px;letter-spacing:.5px;text-transform:uppercase;color:#7a8499;border-bottom:3px solid transparent}
.tabs a.on{color:#08a10b;border-bottom-color:#08b60b}
.chips{display:flex;gap:8px;overflow-x:auto;padding:14px 0;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips a{white-space:nowrap;background:#fff;border-radius:10px;padding:10px 16px;font-size:16px;color:#333;box-shadow:0 1px 4px rgba(13,27,62,.08)}
.chips a.on{background:#08b60b;color:#fff}
.ok{background:#e6f6ec;color:#0a7a3d;border-radius:10px;padding:12px 14px;margin-top:12px;font-weight:600}
.empty{text-align:center;padding:48px 8px}
.empty p{color:#7a8499}
.empty .btn{display:inline-flex;width:auto;padding:0 28px;margin-top:8px}
.oi{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 2px 10px rgba(13,27,62,.08);margin-bottom:12px}
.oi-h{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.oi-h a{font-weight:700;font-size:17px;color:#1b2236;line-height:1.3}
.oi-m{color:#6b7385;font-size:14px;margin-top:6px}
.oi-r{margin:8px 0 0;font-size:15px;line-height:1.45;background:#f5f6f8;border-radius:8px;padding:10px}
.st{white-space:nowrap;font-size:12px;font-weight:700;padding:5px 10px;border-radius:20px;background:#eef1f7;color:#44506a}
.st-new{background:#e8f0ff;color:#2f55d4}.st-in_progress{background:#fff4d6;color:#9a6b00}.st-delivered{background:#efe6ff;color:#6b3fc4}.st-completed{background:#e6f6ec;color:#0a7a3d}.st-cancelled{background:#fdecee;color:#b4232c}
.upd{display:flex;gap:8px;margin-top:10px}
.upd select{flex:1;height:42px;border:1px solid #cfd5e1;border-radius:9px;padding:0 10px;font:inherit}
.upd button{height:42px;border:0;border-radius:9px;background:#3b5bdb;color:#fff;font-weight:700;padding:0 18px;cursor:pointer}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #e7eaf0;display:flex;padding-bottom:env(safe-area-inset-bottom)}
.tabbar a{flex:1;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:12px;color:#5b6479}
.tabbar a svg{width:28px;height:28px}
.tabbar a.on{color:#3b5bdb}
/* ---- chat ---- */
.chat-bar{gap:8px}
.ch-t{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.ch-t b{font-size:18px}
.ch-t small{font-size:12.5px;font-weight:500;color:#6b7385;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-t small a{color:#3b5bdb}
.chatbox{max-width:640px;margin:0 auto;padding:12px 12px 92px}
.hint{background:#fff7d6;border-radius:10px;padding:10px 12px;font-size:14px;color:#6b5a14;line-height:1.4;margin-bottom:10px}
.msg{display:flex;flex-direction:column;margin:8px 0;max-width:84%}
.msg.me{align-items:flex-end;margin-left:auto}
.msg.them{align-items:flex-start}
.bub{padding:10px 14px;border-radius:16px;font-size:16px;line-height:1.4;word-break:break-word}
.me .bub{background:#08b60b;color:#fff;border-bottom-right-radius:4px}
.them .bub{background:#fff;color:#1b2236;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(13,27,62,.08)}
.msg span{font-size:11px;color:#8a93a6;margin-top:3px}
.composer{position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid #e7eaf0;display:flex;gap:8px;align-items:flex-end;padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
.composer textarea{flex:1;border:1px solid #cfd5e1;border-radius:22px;padding:11px 16px;font:inherit;font-size:16px;resize:none;outline:none;max-height:120px;background:#f5f6f8}
.composer button{width:46px;height:46px;border:0;border-radius:50%;background:#08b60b;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 46px}
.composer button svg{width:22px;height:22px}
.chrow{display:flex;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:12px 14px;margin-top:10px;box-shadow:0 2px 10px rgba(13,27,62,.08);color:#1b2236}
.chav{width:50px;height:50px;border-radius:50%;background:#3a7bd5;color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;flex:0 0 50px}
.chmid{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.chmid b{font-size:17px}
.chmid small{color:#7a8499;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chmid em{font-style:normal;color:#444;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chend{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.chend small{color:#8a93a6;font-size:12px}
.chend i{font-style:normal;background:#e5484d;color:#fff;border-radius:12px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;padding:0 6px}
.oi-chat{display:inline-block;margin-top:10px;color:#3b5bdb;font-weight:700;font-size:15px}
/* ---- badges + notifications ---- */
.tabbar a{position:relative}
.tb{position:absolute;top:5px;left:calc(50% + 6px);background:#e5484d;color:#fff;min-width:18px;height:18px;border-radius:9px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px;font-style:normal}
.bigbell{font-size:54px;opacity:.5}
.nrow{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:12px;padding:12px 14px;margin-top:10px;box-shadow:0 2px 10px rgba(13,27,62,.07);color:#1b2236;position:relative}
.nrow.unread{background:#f0f6ff}
.nic{width:42px;height:42px;border-radius:50%;background:#eef1f7;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 42px}
.nmid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.nmid b{font-size:16px}
.nmid em{font-style:normal;color:#444;font-size:14.5px;line-height:1.35;word-break:break-word}
.nmid small{color:#8a93a6;font-size:12px}
.ndot{width:10px;height:10px;border-radius:50%;background:#3b5bdb;margin-top:6px}

/* ---- More / profile / settings / saved ---- */
.mhero{background:linear-gradient(135deg,#0d1b3e,#1c3a78);color:#fff;padding:14px 16px 22px}
.mh-top{font-size:18px;font-weight:700;opacity:.9;margin-bottom:12px}
.mh-body{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mh-txt h1{margin:0;font-size:24px}
.mh-txt p{margin:4px 0 0;color:#c9d3ee;font-size:15px}
.mh-av{width:76px;height:76px;border-radius:50%;background:#fff;color:#3a7bd5;border:4px solid #3a7bd5;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:800;flex:0 0 76px}
.mh-av.big{margin:0 auto 18px;width:92px;height:92px;font-size:38px}
.more{max-width:640px;margin:0 auto;padding-bottom:12px}
.mstats{display:flex;background:#fff;margin:-14px 12px 12px;border-radius:14px;box-shadow:0 4px 16px rgba(13,27,62,.12);position:relative}
.mstats div{flex:1;text-align:center;padding:16px 4px}
.mstats b{display:block;font-size:26px}
.mstats small{color:#7a8499;font-size:13px}
.seg{display:flex;background:#eceef2;border-radius:10px;margin:8px 12px;padding:4px}
.seg a{flex:1;text-align:center;padding:12px 0;border-radius:8px;font-size:17px;color:#1b2236}
.seg a.on{background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.15);font-weight:700}
.accrow{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-size:19px}
.accrow b.g{color:#08a10b}.accrow b.r{color:#e5484d}
.mgrp{background:#f5f6f8;color:#26482c;font-size:15px;padding:16px 16px 8px}
.mlist{background:#fff;border-top:1px solid #e7eaf0;border-bottom:1px solid #e7eaf0}
.mrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;min-height:56px;font-size:19px;color:#2a2f3d;border-bottom:1px solid #eef0f4;background:#fff;width:100%}
.mrow:last-child{border-bottom:0}
.mrow em{font-style:normal;color:#7a8499;font-size:16px}
.mrow em.val{color:#08a10b;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrow.out{color:#e5484d;font-weight:600}
.chev{width:22px;height:22px;color:#08a10b;flex:0 0 22px}
.sw{width:54px;height:30px;border-radius:16px;background:#dcdfe6;border:0;position:relative;cursor:pointer;flex:0 0 54px;padding:0;transition:background .2s}
.sw i{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .2s}
.sw.on{background:#a8e3ab}.sw.on i{left:27px;background:#08a10b}
.sw:disabled{opacity:.5}
.mnote{padding:6px 16px 12px;color:#b4232c;font-size:14px;background:#fff}
.lang-row select{border:0;background:none;font:inherit;font-size:17px;color:#08a10b;text-align:right}
.dt{display:block;padding:0}
.dt summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 16px;list-style:none;cursor:pointer}
.dt summary::-webkit-details-marker{display:none}
.dt .form.inl{padding:0 16px 16px;margin:0}
.red{color:#e5484d}
.muted{color:#7a8499;font-size:14px;margin:0}
.btn.danger{background:#e5484d;color:#fff}
.srow{display:flex;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:8px;margin-top:10px;box-shadow:0 2px 10px rgba(13,27,62,.08)}
.sr-img{flex:0 0 120px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:#e9ebf0}
.sr-img img{width:100%;height:100%;object-fit:cover}
.sr-body{flex:1;min-width:0}
.sr-t{font-weight:600;font-size:16px;line-height:1.3;color:#1b2236;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-p{color:#08a10b;font-weight:800;margin-top:6px}
.sr-x{border:0;background:none;color:#e0455a;font-size:26px;cursor:pointer;padding:6px}
.clearbtn{display:block;margin:18px auto;border:0;background:none;color:#3b5bdb;font-size:16px;font-weight:600;cursor:pointer}