/* Storra platform UI (seller side) — Cobalt style */
[hidden]{display:none!important}
:root{--blue:#2F4BEB;--blue2:#2440D8;--navy:#0E1330;--amber:#FFB224;--bg:#F4F5FA;--card:#FFFFFF;--muted:#5C6280;--line:#E3E6F0;--soft:#EEF1FF;--red:#D93A2B;--redbg:#FDE8E6;--green:#137A43;--greenbg:#E7F8EE;--amberbg:#FFF4DB;--amberT:#8A5A00;--r:22px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--navy);font-family:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
a{color:var(--blue)}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
h1,h2,h3{letter-spacing:-.035em;line-height:1.08;margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:16px;border:0;background:var(--blue);color:#fff;font-weight:800;text-decoration:none;transition:transform .15s,background .2s,box-shadow .2s;white-space:nowrap}
.btn:hover{background:var(--blue2)}
.btn:active{transform:scale(.97)}
.btn.dark{background:var(--navy)}
.btn.ghost{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn.ghost:hover{border-color:#C9CEDF}
.btn.soft{background:var(--soft);color:var(--blue)}
.btn.danger{background:var(--redbg);color:#B42318}
.btn.green{background:var(--green)}
.btn.amber{background:var(--amber);color:var(--navy)}
.btn.sm{min-height:40px;padding:0 14px;border-radius:12px;font-size:14px}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.ib{width:44px;height:44px;border-radius:14px;border:0;background:#fff;display:grid;place-items:center;color:var(--navy)}
.ib svg{width:20px;height:20px}
.fld{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.fld label{font-weight:700;font-size:13.5px}
.inp{height:52px;width:100%;padding:0 16px;border-radius:15px;border:1.5px solid var(--line);background:#fff;font-size:16px;outline:none;transition:border-color .2s,box-shadow .2s}
textarea.inp{height:auto;padding:12px 16px;resize:vertical}
.inp:focus{border-color:var(--blue);box-shadow:0 0 0 4px #DCE3FF}
.fld.bad .inp{border-color:var(--red)}
.err{color:#B42318;font-size:13px;font-weight:600;min-height:18px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:800}
.pill.pro{background:var(--navy);color:var(--amber)}
.pill.green{background:var(--greenbg);color:var(--green)}
.pill.red{background:var(--redbg);color:#B42318}
.pill.amber{background:var(--amberbg);color:var(--amberT)}
.pill.blue{background:var(--soft);color:var(--blue)}
.pill.grey{background:#F4F5FA;color:var(--navy)}
.card{background:#fff;border-radius:var(--r)}
.logo{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.03em;color:var(--navy);text-decoration:none}
.logo i{width:34px;height:34px;display:grid;place-items:center}
.logo i img{width:34px;height:34px;object-fit:contain;display:block}
.logo i svg{width:20px;height:20px}
.up{animation:up .55s cubic-bezier(.2,.8,.2,1) both}
@keyframes up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.switch{position:relative;width:50px;height:30px;flex:none}
.switch input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;z-index:2}
.switch span{position:absolute;inset:0;border-radius:999px;background:#C9CEDF;transition:background .25s}
.switch span::after{content:'';position:absolute;left:3px;top:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.switch input:checked+span{background:var(--green)}
.switch input:checked+span::after{transform:translateX(20px)}
.switch input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
/* sheets */
.scrim{position:fixed;inset:0;z-index:60;background:rgba(14,19,48,.45);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.scrim.show{opacity:1;visibility:visible}
.sheet{position:fixed;z-index:61;left:0;right:0;bottom:0;max-height:94dvh;overflow:auto;background:#fff;border-radius:26px 26px 0 0;transform:translateY(105%);transition:transform .42s cubic-bezier(.2,.9,.2,1);padding:0 18px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain}
.sheet.show{transform:none}
@media(min-width:820px){.sheet{left:50%;bottom:auto;top:50%;width:560px;max-height:90vh;border-radius:28px;transform:translate(-50%,-46%) scale(.97);opacity:0;visibility:hidden;transition:transform .35s cubic-bezier(.2,.9,.2,1),opacity .25s,visibility .25s}.sheet.show{transform:translate(-50%,-50%);opacity:1;visibility:visible}.sheet.wide{width:760px}}
.sheet .grab{width:44px;height:5px;border-radius:5px;background:var(--line);margin:10px auto 4px}
@media(min-width:820px){.sheet .grab{display:none}}
.sh-h{position:sticky;top:0;background:#fff;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:12px 0 10px}
.sh-h h2{font-size:22px}
.x{width:42px;height:42px;border-radius:13px;border:0;background:var(--bg);font-size:22px;line-height:1;display:grid;place-items:center}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* chat window (seller + admin share the same look) */
#schat{position:fixed;inset:0;z-index:260;display:flex;justify-content:center;background:rgba(14,19,48,.45);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
#schat.open{opacity:1;visibility:visible;transition:opacity .2s}
.cw{width:100%;max-width:560px;height:100%;background:var(--bg);display:flex;flex-direction:column;transform:translateY(16px);transition:transform .25s cubic-bezier(.2,.8,.2,1)}#schat.open .cw{transform:none}
@media(min-width:700px){#schat{align-items:center}.cw{height:min(860px,92vh);border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.3)}}
.ch{background:#fff;display:flex;align-items:center;gap:12px;padding:12px 14px;padding-top:max(12px,env(safe-area-inset-top));border-bottom:1px solid var(--line);flex:none}
.ch .ib{width:40px;height:40px;border-radius:13px;background:var(--bg);display:grid;place-items:center;color:var(--navy);border:0;cursor:pointer;flex:none;text-decoration:none}
.ch .av{position:relative;width:42px;height:42px;border-radius:14px;background:var(--soft);display:grid;place-items:center;flex:none}.ch .av img{width:28px;height:28px}.ch .av i{position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border-radius:50%;background:#3DD68C;border:2px solid #fff}
.cm{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.cday{align-self:center;font-size:11.5px;font-weight:700;color:var(--muted);background:#E8EBF4;padding:5px 12px;border-radius:999px}
.cb{max-width:80%;display:flex;flex-direction:column;gap:4px}.cb.me{align-self:flex-end;align-items:flex-end}.cb.them{align-self:flex-start}
.cb .bx{padding:11px 14px;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.cb.me .bx{background:var(--blue);color:#fff;border-radius:20px 20px 6px 20px}.cb.them .bx{background:#fff;border-radius:20px 20px 20px 6px;box-shadow:0 1px 0 var(--line)}
.cb .ph{display:block;padding:4px;border-radius:18px;background:#fff;box-shadow:0 1px 0 var(--line)}.cb.me .ph{background:var(--blue)}.cb .ph img{width:180px;max-height:240px;object-fit:cover;border-radius:15px;display:block}
.cb .tm{font-size:11px;color:var(--muted)}
.crow{display:flex;gap:8px;align-items:flex-end}.crow .sa{width:30px;height:30px;border-radius:10px;background:var(--soft);display:grid;place-items:center;flex:none}.crow .sa img{width:20px;height:20px}
.cauto{align-self:center;width:92%;background:#fff;border:1px dashed #C9D0EA;border-radius:18px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.45;color:#2B3150}
.cauto .ic{width:30px;height:30px;border-radius:10px;background:var(--soft);color:var(--blue);display:grid;place-items:center;flex:none}
.cauto b{display:block;font-size:11.5px;letter-spacing:.06em;color:var(--muted);margin-bottom:2px}
.cnote{align-self:center;font-size:11.5px;color:var(--muted);background:#E8EBF4;padding:5px 12px;border-radius:999px}
.catt{padding:0 14px 8px;flex:none}.catt span{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:6px 10px 6px 6px;border-radius:14px;font-size:12.5px;font-weight:700}.catt img{width:34px;height:34px;border-radius:9px;object-fit:cover}.catt button{border:0;background:none;font-size:18px;color:var(--muted);cursor:pointer;padding:0 2px}
.cqr{display:flex;gap:6px;padding:0 12px 8px;overflow-x:auto;scrollbar-width:none;flex:none}.cqr::-webkit-scrollbar{display:none}.cqr button{flex:none;font:inherit;font-size:12.5px;font-weight:700;background:#fff;border:1px solid var(--line);padding:8px 12px;border-radius:999px;cursor:pointer;color:var(--navy)}
.cf{background:#fff;border-top:1px solid var(--line);padding:10px 12px;padding-bottom:max(12px,env(safe-area-inset-bottom));display:flex;gap:8px;align-items:flex-end;flex:none}
.cf .ib{width:44px;height:44px;border-radius:14px;border:0;background:var(--bg);color:var(--navy);display:grid;place-items:center;flex:none;cursor:pointer;position:relative;overflow:hidden}.cf .ib input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cf textarea{flex:1;min-width:0;min-height:44px;max-height:120px;border-radius:14px;border:1.5px solid var(--line);background:#F9FAFD;padding:11px 14px;font-family:inherit;font-size:15px;font-weight:500;color:var(--navy);resize:none;box-sizing:border-box}
.cf .snd{width:44px;height:44px;border-radius:14px;border:0;background:var(--blue);color:#fff;display:grid;place-items:center;flex:none;cursor:pointer}.cf .snd:disabled{opacity:.5}
.csolved{margin:0 12px 8px;padding:10px 12px;border-radius:14px;background:var(--greenbg);color:var(--green);font-size:13px;font-weight:700;text-align:center;flex:none}
