*{box-sizing:border-box}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202c3a;background:#f7f8fa}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:#164e83;color:#fff;padding:12px 18px;font-weight:650}button:hover{background:#0e395f}input{border:1px solid #bcc7d3;border-radius:10px;padding:12px 13px;background:#fff;color:#202c3a;width:100%;min-height:46px}input:focus{outline:3px solid #a7c8e7;outline-offset:1px}h1{font-size:clamp(1.45rem,3vw,2rem);letter-spacing:-.03em;margin:0 0 8px}h2{font-size:1.03rem;margin:7px 0 12px}p{line-height:1.5}.login-body{min-height:100vh;display:grid;place-items:center;padding:16px}.login-card{background:white;border:1px solid #dfe6ec;box-shadow:0 8px 24px #0e2a4910;border-radius:18px;padding:clamp(18px,4vw,35px);width:min(100%,430px)}.login-card p{color:#647185}.login-card label{display:grid;gap:7px;margin:18px 0;font-weight:600;font-size:.93rem}.login-card button{width:100%}.mark{color:#164e83;font-weight:750;margin-bottom:16px}.alert{padding:12px;border-radius:8px}.alert.error{background:#fce8e8;color:#943a3a}.alert.ok{background:#e4f5ea;color:#27603d}.topbar{background:white;border-bottom:1px solid #dfe6ec;padding:14px max(18px,calc((100% - 1060px)/2));display:flex;justify-content:space-between;align-items:center;gap:14px}.brand{font-weight:750;color:#164e83;display:block}.subtitle{font-size:.78rem;color:#647185}.logout{padding:9px 12px;background:#edf2f6;color:#244563;white-space:nowrap}.logout:hover{background:#dce7ee}.content{max-width:1060px;margin:28px auto;padding:0 18px}.page-head p{color:#637284;margin-top:0}.search-panel{background:white;border:1px solid #dfe6ec;border-radius:13px;padding:18px;margin-top:20px}.search-panel label{display:block;font-size:.92rem;font-weight:650;margin-bottom:10px}.status{margin:18px 0;color:#526172;min-height:24px}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:12px}.product-card{background:white;border:1px solid #dfe6ec;border-radius:12px;padding:16px;min-width:0}.product-id{color:#65758a;font-size:.77rem;font-weight:650}.product-meta{display:grid;gap:6px;font-size:.89rem;color:#4a5c6e}.barcode{font-weight:700;color:#164e83;overflow-wrap:anywhere}.note{margin:25px 0 40px;color:#647185;font-size:.88rem}@media(max-width:520px){.topbar{padding:13px 14px}.content{margin-top:20px}.product-grid{grid-template-columns:1fr}.product-card{padding:14px}}
