*{box-sizing:border-box}body{margin:0;background:#f4f6fb;color:#172033;font:15px/1.5 Inter,system-ui,Arial,sans-serif}.top{height:66px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100% - 1120px)/2));}.brand{font-weight:750;color:#fff;text-decoration:none}.top nav{display:flex;gap:18px}.top nav a{color:#cbd5e1;text-decoration:none}.wrap{max-width:1120px;margin:32px auto;padding:0 18px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.hero h1{font-size:30px;line-height:1.1;margin:0 0 8px}.muted{color:#64748b}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stat,.panel,.product{background:#fff;border:1px solid #e5eaf2;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.035)}.stat b{display:block;font-size:27px}.panel{margin:18px 0}.panel h2{margin:0 0 14px;font-size:19px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}label{font-size:13px;font-weight:650;color:#475569}input,textarea,select{width:100%;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;font:inherit;background:#fff;color:#111827}textarea{min-height:100px;resize:vertical}button,.btn{border:0;border-radius:9px;background:#4f46e5;color:#fff;padding:11px 16px;font:600 14px inherit;cursor:pointer;text-decoration:none;display:inline-block}button.secondary,.btn.secondary{background:#e9edf5;color:#1e293b}button.danger{background:#dc2626}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.flash{padding:12px 15px;border-radius:10px;margin-bottom:18px;background:#e0f2fe;color:#075985}.flash.success{background:#dcfce7;color:#166534}.flash.error{background:#fee2e2;color:#991b1b}.list{display:grid;gap:12px}.product{display:grid;grid-template-columns:112px 1fr;gap:16px}.product img{width:112px;height:112px;object-fit:cover;border-radius:10px;background:#f1f5f9}.product h3{margin:0 0 5px}.pill{display:inline-block;padding:4px 9px;border-radius:30px;font-size:12px;background:#e2e8f0;color:#334155}.pill.ready{background:#dcfce7;color:#166534}.pill.error{background:#fee2e2;color:#991b1b}.small{font-size:13px}.row{display:flex;justify-content:space-between;gap:12px;align-items:center}.auth{max-width:440px;margin:8vh auto}.auth .panel{padding:26px}footer{text-align:center;color:#94a3b8;padding:30px 12px;font-size:12px}@media(max-width:760px){.grid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.hero{display:block}.product{grid-template-columns:80px 1fr}.product img{width:80px;height:80px}.top{padding:0 16px}}
