*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f7fb;color:#111827}
.hidden{display:none!important}.screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eef3ff,#fff)}
.login-card{width:min(430px,100%);background:white;border-radius:22px;padding:36px;box-shadow:0 20px 60px rgba(15,23,42,.12);text-align:center;border-top:5px solid #1d4ed8}
.brand-mark{width:58px;height:58px;margin:0 auto 16px;border-radius:16px;background:#1d4ed8;color:white;display:grid;place-items:center;font-weight:900;font-size:21px}
h1{margin:0;font-size:30px}.login-card h1 span{color:#dc2626}.muted{color:#6b7280;margin:8px 0 28px}
form{text-align:left}label{display:block;font-size:13px;font-weight:700;margin:14px 0 6px}input{width:100%;padding:13px 14px;border:1px solid #d1d5db;border-radius:10px;font-size:15px;outline:none}input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.btn{border:0;border-radius:10px;padding:12px 18px;font-weight:800;cursor:pointer}.primary{width:100%;margin-top:20px;background:#1d4ed8;color:#fff}.primary:hover{background:#1e40af}.small{padding:8px 12px;background:#fff;color:#111827;border:1px solid #d1d5db}.error{height:18px;color:#b91c1c;font-size:13px}.demo-note{margin:22px 0 0;color:#6b7280;font-size:12px}
.topbar{height:70px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.brand{font-size:22px;font-weight:900}.blue{color:#1d4ed8}.red{color:#dc2626}.header-right{display:flex;align-items:center;gap:14px;font-size:13px;color:#6b7280}
.container{max-width:1100px;margin:0 auto;padding:32px 20px 60px}.hero{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.15em;color:#dc2626;margin:0 0 8px}.hero h2{font-size:34px;margin:0 0 5px}.hero p{margin:0;color:#6b7280}.search{width:280px;background:#fff}
.notice{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-left:4px solid #1d4ed8;padding:14px 16px;border-radius:12px;margin-bottom:30px;font-size:13px;color:#4b5563}.notice b{color:#111827;white-space:nowrap}
h3{font-size:19px;margin:28px 0 14px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:17px;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:82px}.name{font-weight:800}.dose{color:#6b7280;font-size:13px;margin-top:4px}.price{font-size:20px;font-weight:900;color:#1d4ed8;white-space:nowrap}.supply .price{color:#dc2626}
footer{text-align:center;color:#9ca3af;font-size:12px;padding:24px;border-top:1px solid #e5e7eb}
@media(max-width:760px){.topbar{padding:0 16px}.header-right span{display:none}.hero{align-items:stretch;flex-direction:column}.search{width:100%}.grid{grid-template-columns:1fr}.hero h2{font-size:28px}.notice{flex-direction:column}.container{padding-top:24px}}

.admin-panel{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:20;overflow:auto;padding:30px 16px}
.admin-card{max-width:850px;margin:20px auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 25px 80px rgba(0,0,0,.25)}
.admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.admin-head h2{margin:0}.admin-row{display:grid;grid-template-columns:1fr 120px 110px;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eef0f3}
.admin-row input{padding:9px}.admin-section{font-weight:900;margin:22px 0 8px;color:#1d4ed8}.save-message{color:#166534;font-weight:700;min-height:20px}
.account-row{display:flex;justify-content:space-between;padding:12px;border:1px solid #e5e7eb;border-radius:10px;margin:8px 0}
@media(max-width:650px){.admin-row{grid-template-columns:1fr 90px}.admin-row .dose{display:none}.admin-row input{grid-column:2}}
