:root { font-family: system-ui, sans-serif; background:#f5f6f8; color:#20242a; }
body { margin:0; } header { background:#20242a; padding:1rem 5%; } header a { color:white; text-decoration:none; font-weight:700; }
main { width:min(900px, 92%); margin:2rem auto; } .panel { background:white; border-radius:12px; padding:1.25rem; margin-bottom:1rem; box-shadow:0 2px 12px #0001; }
.row { display:flex; gap:.5rem; } input { min-width:0; flex:1; padding:.75rem; border:1px solid #bbb; border-radius:8px; font-size:1rem; }
button { padding:.65rem .9rem; border:0; border-radius:8px; cursor:pointer; background:#1769aa; color:white; } button.danger { background:#a92b2b; }
label { display:block; margin-bottom:.4rem; font-weight:600; } .message { padding:.7rem; background:#edf6ff; border-radius:8px; } .error { color:#a00; }
.product-card,.list-item { display:flex; align-items:center; gap:.75rem; padding:.75rem 0; border-bottom:1px solid #eee; } .product-card img { width:52px; height:52px; object-fit:contain; }
.product-card > div,.grow { flex:1; } .quantity { min-width:2ch; text-align:center; font-weight:700; } .check { font-size:1.2rem; background:transparent; color:#1769aa; padding:.3rem; }
.purchased .grow { text-decoration:line-through; opacity:.55; } small { color:#666; }
@media (max-width:600px) { .list-item { flex-wrap:wrap; } .list-item .grow { flex-basis:75%; } }

.login-page { max-width: 440px; margin: 10vh auto; padding: 1rem; }
.login-panel { width: 100%; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: .35rem; }
.form-field input { box-sizing: border-box; width: 100%; padding: .75rem; }
.remember-row { display: flex; gap: .5rem; align-items: center; margin: 1rem 0; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.account-area { display: flex; align-items: center; gap: .75rem; }
.account-area form { margin: 0; }
