:root{--blue:#143D75;--blue2:#1854a0;--red:#e94354;--ink:#1d2e46;--muted:#6d7c8d;--bg:#f4f7fb;--border:#e2e9f1;--white:#fff;--green:#157d58}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}.shell{max-width:680px;margin:0 auto;min-height:100vh;background:white;box-shadow:0 0 42px #143d7512}.top{padding:18px 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{width:110px;height:76px;object-fit:contain}.topright{display:flex;gap:9px;align-items:center}.round{border:1px solid var(--border);background:white;border-radius:100px;width:40px;height:40px;display:grid;place-items:center}.eyebrow{font-weight:750;font-size:10px;letter-spacing:1.6px;color:var(--blue2);text-transform:uppercase}.hero{padding:10px 20px 21px}.hero h1{font-size:28px;letter-spacing:-.9px;line-height:1.12;margin:8px 0 10px}.hero p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.tools{padding:0 20px 14px}.search{width:100%;padding:13px 14px;border-radius:12px;border:1px solid var(--border);outline-color:var(--blue2);background:#f8fafc}.tabs{display:flex;gap:8px;overflow:auto;padding:12px 0 4px;scrollbar-width:none}.chip{white-space:nowrap;border-radius:30px;padding:8px 12px;border:1px solid var(--border);background:#fff;color:var(--muted);font-size:11px;font-weight:650}.chip.active{background:var(--blue);color:white;border-color:var(--blue)}.list{padding:0 20px 135px}.count{font-size:11px;color:var(--muted);padding:5px 0 10px}.product{padding:16px 0;display:flex;gap:15px;border-bottom:1px solid var(--border)}.photo{width:90px;height:100px;flex:0 0 90px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:12px;object-fit:contain;padding:7px}.pinfo{flex:1;min-width:0}.pinfo h3{font-size:14px;margin:0 0 5px;line-height:1.3}.meta{font-size:11px;color:var(--blue2);font-weight:750}.desc{margin:7px 0 10px;font-size:11px;color:var(--muted);line-height:1.45}.counter{display:flex;gap:8px;justify-content:flex-end;align-items:center}.counter button{border:1px solid var(--border);width:34px;height:34px;border-radius:9px;background:white;color:var(--blue);font-weight:800;font-size:20px}.counter .value{font-size:15px;min-width:22px;text-align:center;font-weight:750}.bottom{position:sticky;bottom:0;z-index:10;background:linear-gradient(180deg,#fffffff2,#fff 20%);box-shadow:0 -6px 25px #183a5e12;padding:14px 20px 20px}.bottom .summary{font-size:12px;display:flex;justify-content:space-between;margin-bottom:10px}.primary{background:var(--blue);color:white;border:0;border-radius:11px;padding:14px 17px;font-weight:800;font-size:13px;min-height:46px}.primary:hover{background:var(--blue2)}.wide{width:100%}.secondary{background:white;border:1px solid var(--border);color:var(--ink);padding:10px 12px;border-radius:10px;font-weight:650;font-size:12px}.link{color:var(--blue2);background:none;border:0;font-size:12px;font-weight:700}.notice{font-size:11px;color:var(--muted);line-height:1.5;margin:12px 0}.panel{background:white;border:1px solid var(--border);padding:17px;border-radius:14px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{margin-bottom:12px}.field label{display:block;font-size:11px;color:#45586d;font-weight:750;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid #dce4ee;border-radius:9px;padding:11px;outline-color:var(--blue2);background:white;font-size:13px}.field textarea{resize:vertical}.modal{position:fixed;inset:0;background:#0e2947a0;z-index:30;display:grid;place-items:center;padding:15px}.dialog{background:white;border-radius:18px;padding:22px;max-width:520px;width:100%;max-height:90vh;overflow:auto}.dialog h2{margin-top:0}.error{color:#bf233c;font-size:12px}.success{color:var(--green);font-size:12px}.dashboard{max-width:1120px;margin:auto;padding:24px}.adminhead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.adminhead img{width:110px;height:75px;object-fit:contain}.menu{display:flex;gap:8px;overflow:auto;padding:16px 0}.menu button{border:1px solid var(--border);background:white;padding:11px 14px;border-radius:10px;white-space:nowrap;color:var(--ink);font-size:12px}.menu button.on{background:var(--blue);color:white}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:14px 0 18px}.stat{background:white;padding:17px;border:1px solid var(--border);border-radius:13px}.stat b{font-size:27px;display:block}.stat small{color:var(--muted)}.adminbody{background:white;border-radius:14px;padding:20px;border:1px solid var(--border)}.adminbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.adminbar h2{margin:0;font-size:18px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:13px 10px;border-bottom:1px solid var(--border);vertical-align:middle}th{color:var(--muted);font-size:11px}.mini{width:44px;height:44px;object-fit:contain;background:var(--bg);border-radius:7px}.status{color:var(--green);background:#e7f6ef;border-radius:30px;padding:5px 9px;font-size:10px;font-weight:800}.status.off{color:#7c8190;background:#f0f2f4}.actions{display:flex;gap:6px}.actions button{background:white;border:1px solid var(--border);padding:7px 9px;border-radius:8px;font-size:11px}.logo-foot{font-size:10px;color:var(--muted);margin-top:18px}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:13px}.checkboxline{display:flex;align-items:center;gap:9px;font-size:12px;margin:15px 0}.checkboxline input{width:16px;height:16px;accent-color:var(--blue)}@media(max-width:600px){.dashboard{padding:12px}.adminbody{padding:13px}.stats{gap:7px}.stat{padding:11px}.stat b{font-size:22px}.formgrid{grid-template-columns:1fr}.hero h1{font-size:25px}.photo{width:76px;height:90px;flex-basis:76px}.product{gap:10px}}

/* v0.2 — compact horizontal hero header */
.top{padding:18px 20px 16px;align-items:center;gap:18px;position:relative}
.top .brand{width:132px;height:132px;flex:0 0 132px;object-fit:contain}
.top .hero{flex:1;min-width:0;padding:0}
.top .hero h1{font-size:clamp(21px,3.3vw,30px);line-height:1.14;margin:8px 0 11px}
.top .hero p{font-size:12px;line-height:1.5}
.top .topright{align-self:flex-start;flex-shrink:0}
@media(max-width:620px){.top{gap:10px;padding:15px 14px 12px;align-items:flex-start}.top .brand{width:90px;height:90px;flex-basis:90px}.top .hero h1{font-size:clamp(16px,4.2vw,24px)}.top .hero p{font-size:11px}.top .topright{position:absolute;right:12px;top:8px;gap:4px}.top .round{width:27px;height:27px;font-size:12px}.top .hero{padding-top:29px}.top .eyebrow{font-size:9px;letter-spacing:1px}}
@media(max-width:375px){.top .brand{width:78px;height:78px;flex-basis:78px}.top .hero h1{font-size:16px}}
