* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: #f4f5f7;
  color: #1f2430;
}
header {
  background: #16233f;
  color: white;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header a {
  color: white;
  text-decoration: none;
  margin-right: 16px;
  font-size: 14px;
}
header .brand {
  font-weight: 700;
  font-size: 20px;
  margin-right: 32px;
}
main {
  max-width: 1000px;
  margin: 24px auto;
  padding: 0 16px;
}
.flash {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.btn {
  display: inline-block;
  background: #2757e8;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.btn.secondary {
  background: #6b7280;
}
input, textarea, select {
  width: 100%;
  padding: 8px 10px;
  margin: 6px 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}
label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}
.price {
  font-weight: 700;
  color: #16233f;
}
.tag {
  display: inline-block;
  background: #eef1ff;
  color: #2757e8;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}
pre {
  background: #0f172a;
  color: #d1fae5;
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13px;
}
