:root{
  --bg:#f5f7fb;--card:#fff;--text:#101828;--muted:#667085;--border:#d9e2f1;
  --blue:#2457ff;--purple:#7b4cff;--green:#0f9f6e;--red:#e33b3b;--amber:#c27a00;
  --shadow:0 16px 42px rgba(31,47,89,.10);--radius:24px;
}
*{box-sizing:border-box} body{margin:0;background:linear-gradient(160deg,#f3f7ff,#f7f2ff 58%,#eff8ff);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text)}
.app{max-width:680px;margin:0 auto;min-height:100vh;padding:calc(16px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}
.screen.center{display:grid;place-items:center;text-align:center;min-height:70vh}.top{display:flex;align-items:center;gap:12px;margin:4px 0 16px}.top-text{min-width:0}.top h1{margin:0;font-size:26px;line-height:1.05}.top p{margin:4px 0 0}.logo{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;flex:none;color:white;font-weight:900;font-size:22px;background:linear-gradient(135deg,var(--blue),var(--purple));box-shadow:0 10px 24px rgba(73,81,255,.25)}
.card{background:rgba(255,255,255,.92);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin:0 0 14px;backdrop-filter:blur(12px)}
h1,h2,h3{margin:0 0 10px} h2{font-size:19px}.muted{color:var(--muted)}.small{font-size:13px}.tiny{font-size:12px}.strong{font-weight:800}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.split{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;background:#edf2ff;color:#243b7a}.pill.green{background:#e7f8f0;color:#08724f}.pill.red{background:#fff0f0;color:#a40000}.pill.amber{background:#fff7e8;color:#8a5600}
button,.button{width:100%;min-height:50px;border:0;border-radius:16px;padding:12px 14px;margin:7px 0;font-weight:850;font-size:15px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--purple));box-shadow:0 12px 24px rgba(50,76,255,.18);text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.secondary{background:#edf2ff;color:#243b7a;box-shadow:none}.danger{background:#fff0f0;color:#a40000;box-shadow:none}.ghost{background:transparent;color:#243b7a;box-shadow:none;border:1px solid var(--border)}
input,textarea{width:100%;border:1px solid var(--border);border-radius:16px;padding:13px 14px;font:inherit;background:white;margin:6px 0 10px}textarea{min-height:120px;resize:vertical}.field{padding:9px 0;border-bottom:1px solid #edf1f7}.field:last-child{border-bottom:0}.label{font-size:12px;color:var(--muted);margin-bottom:2px}.value{font-size:15px;font-weight:650;word-break:break-word}.avatar{width:72px;height:72px;border-radius:22px;object-fit:cover;background:#eef2f8;flex:none}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-map{border-radius:18px;padding:13px;background:#f6f8fc;border:1px solid #e6edf8}.order-map .label{font-weight:850;color:#344054}.price{font-size:24px;font-weight:900}.statusline{height:8px;border-radius:999px;background:#edf2ff;overflow:hidden;margin:10px 0}.statusline div{height:100%;width:33%;background:linear-gradient(90deg,var(--blue),var(--purple));transition:.25s}.statusline.waiting div{width:66%}.statusline.transporting div{width:100%}.tabs{display:flex;gap:8px;margin:0 0 12px}.tabs button{min-height:42px;margin:0;box-shadow:none}.hidden{display:none!important}.toast{position:fixed;left:16px;right:16px;bottom:20px;background:#101828;color:#fff;border-radius:16px;padding:12px 14px;box-shadow:var(--shadow);font-weight:750;z-index:10}.shake{animation:pulse .7s ease}@keyframes pulse{0%{transform:scale(1)}30%{transform:scale(1.015)}100%{transform:scale(1)}}
@media(max-width:420px){.app{padding-left:12px;padding-right:12px}.grid2{grid-template-columns:1fr}.top h1{font-size:23px}.card{border-radius:20px}}
