body { margin: 0; background: #f4f6fb; color: #25233b; font: 1rem system-ui, sans-serif; }
main { max-width: 50rem; margin: 2rem auto; padding: 1.5rem; background: white; border-radius: 1rem; }
form, #products { display: grid; gap: .8rem; }
label { display: flex; justify-content: space-between; gap: .75rem; }
input, button { font: inherit; padding: .6rem; }
#products input { width: 5rem; }
button { background: #5537b9; color: white; border: 0; border-radius: .5rem; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
a { color: #49359a; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .5rem; border-bottom: 1px solid #ddd; }
.table { overflow-x: auto; }
@media print {
  body, main { margin: 0; background: white; }
  form, a, h1, button { display: none; }
}
