* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: #1a1a1a;
  background: #f7f7f7;
}
nav {
  background: #fff;
  border-bottom: 1px solid #e3e6ea;
  padding: 8px 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a { color: #374151; text-decoration: none; font-size: 14px; }
nav a:hover { color: #2563eb; }
nav a.brand { margin-right: auto; display: flex; align-items: center; }
nav a.brand img { height: 48px; width: auto; display: block; }
.login-logo { width: 100%; max-width: 220px; height: auto; display: block; margin: 0 auto 20px; }
main { max-width: 1000px; margin: 24px auto; padding: 0 20px; }
h1 { font-size: 22px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 8px 10px; border-bottom: 1px solid #e5e5e5; text-align: left; font-size: 14px; }
th { background: #f0f1f2; }
tr:hover td { background: #fafbfc; }
a.button, button, input[type=submit], label.button {
  background: #2563eb; color: #fff; border: none; padding: 8px 14px;
  border-radius: 4px; cursor: pointer; font-size: 14px; text-decoration: none; display: inline-block;
}
a.button.secondary, button.secondary { background: #6b7280; }
label.button { display: inline-block; margin-top: 0; }
a.button.danger, button.danger { background: #dc2626; }
form.inline { display: inline; }
label { display: block; margin-top: 12px; font-size: 13px; color: #444; }
input, select, textarea {
  width: 100%; padding: 6px 8px; margin-top: 4px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;
}
.item-row { display: flex; gap: 8px; margin-top: 6px; }
.item-row input { width: auto; }
.item-row input.name { flex: 3; }
.item-row input.qty, .item-row input.price { flex: 1; }
.card { background: #fff; padding: 16px 20px; border-radius: 6px; margin-bottom: 16px; }
.error { color: #dc2626; margin-top: 10px; }
.success { color: #16a34a; margin-top: 10px; }
.muted { color: #777; font-size: 13px; }
.notice { background: #fef3c7; border-left: 3px solid #d97706; color: #78350f;
          padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
.actions { margin-top: 16px; display: flex; gap: 8px; }
