*{box-sizing:border-box}body{margin:0;font:15px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#F7F7F8;color:#0f172a;padding-bottom:72px}
.top{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:5}
.logo{font-weight:800;font-size:18px;letter-spacing:.5px}.logo small{font-weight:600;color:#15161A;font-size:12px;text-transform:uppercase;margin-left:4px}
main{max-width:860px;margin:0 auto;padding:16px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;margin-bottom:10px}
h1{font-size:20px;margin:4px 0 12px}h2{font-size:16px;margin:16px 0 8px}
.muted{color:#64748b}.center{text-align:center}.small{font-size:12px}
input,select,textarea{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit;background:#fff}
label{display:block;font-size:13px;color:#475569;margin:10px 0 4px}
button{font:inherit;border:0;border-radius:10px;padding:11px 16px;background:#15161A;color:#fff;font-weight:600;cursor:pointer;min-height:44px}
button.ghost{background:#fff;color:#15161A;border:1px solid #c7cfdd}button.danger{background:#fff;color:#b91c1c;border:1px solid #fecaca}
button:disabled{opacity:.5;cursor:default}.row{display:flex;gap:10px;align-items:center}.grow{flex:1;min-width:0}
.badge{display:inline-block;font-size:12px;font-weight:600;padding:2px 8px;border-radius:999px}
.in{background:#dcfce7;color:#166534}.low{background:#fef3c7;color:#92400e}.out{background:#fee2e2;color:#991b1b}
.st-placed{background:#e0e7ff;color:#3730a3}.st-payment_verified{background:#cffafe;color:#155e75}.st-approved{background:#dcfce7;color:#166534}.st-dispatched{background:#e2e8f0;color:#334155}.st-cancelled{background:#fee2e2;color:#991b1b}
.prod{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #f1f5f9}.prod:last-child{border-bottom:0}
.qty{display:flex;align-items:center;gap:6px}.qty button{min-height:36px;width:36px;padding:0}.qty input{width:56px;text-align:center;padding:7px}
.price{font-weight:700;white-space:nowrap}.err{color:#b91c1c;margin:8px 0}.ok{color:#166534;margin:8px 0}
.tabs{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid #e5e7eb;padding-bottom:env(safe-area-inset-bottom)}
.tabs a{flex:1;text-align:center;padding:12px 4px;color:#475569;text-decoration:none;font-size:13px;font-weight:600}.tabs a.on{color:#15161A}
.tabs b{background:#15161A;color:#fff;border-radius:999px;font-size:11px;padding:0 6px;margin-left:2px}.tabs b:empty{display:none}
.steps{display:flex;gap:4px;margin:8px 0}.steps span{flex:1;height:5px;border-radius:3px;background:#e2e8f0}.steps span.done{background:#15161A}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.chips button{min-height:34px;padding:6px 12px;background:#fff;color:#334155;border:1px solid #cbd5e1;font-weight:500}.chips button.on{background:#15161A;color:#fff;border-color:#15161A}
@media(min-width:760px){.tabs{position:sticky;top:53px;bottom:auto;border:0;border-bottom:1px solid #e5e7eb;justify-content:center}.tabs a{flex:0 0 140px}body{padding-bottom:0}}
:root{--ink:#15161A;--o:#FF7A1A;--p:#FF3D7F;--grad:linear-gradient(135deg,var(--o),var(--p))}
.top{background:#fff;border-bottom:1px solid #ececef;box-shadow:0 1px 0 rgba(0,0,0,.02)}.top::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--grad)}
.logo{display:flex;align-items:center}.logo-img{height:26px;width:auto;display:block}.login-logo{width:220px;max-width:80%;height:auto;margin:6px auto 4px;display:block}
button{background:var(--ink)}button:not(.ghost):not(.danger):hover{background:#2a2b31}button.ghost{color:var(--ink);border-color:#d4d4d8}
.tabs a.on{color:var(--ink);box-shadow:inset 0 3px 0 var(--p)}@media(min-width:760px){.tabs{top:52px}.tabs a.on{box-shadow:inset 0 -3px 0 var(--p)}}
.tabs b{background:var(--grad);color:#fff}.steps span.done{background:var(--grad)}
.chips button.on{background:var(--ink);border-color:var(--ink)}a{color:var(--ink)}
input:focus,textarea:focus{outline:2px solid var(--o);outline-offset:1px;border-color:transparent}
@media(max-width:480px){.logo-img{height:22px}#who .small{display:none}}
