:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #111827; background: #f3f4f6; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0; }
.shell.narrow { width: min(720px, calc(100% - 32px)); }
.card { background: white; border: 1px solid #e5e7eb; border-radius: 24px; padding: 24px; margin-bottom: 20px; box-shadow: 0 18px 50px rgba(17,24,39,.08); }
.card.soft { background: #f8fafc; box-shadow: none; }
.hero { display: flex; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #111827, #064e3b); color: white; }
.hero p { color: #d1d5db; max-width: 720px; }
.claim-hero { display: block; }
.eyebrow { color: #10b981; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1; margin: 0 0 14px; }
h2 { margin-top: 0; }
.stats { display: grid; grid-template-columns: auto auto; gap: 4px 12px; align-content: center; }
.stats strong { font-size: 42px; }
.stats span { color: #a7f3d0; align-self: center; }
.row, .stack, .admin-form { display: grid; gap: 14px; }
.row { grid-template-columns: 160px 1fr auto; align-items: end; }
.admin-form { grid-template-columns: 1.3fr 140px 1fr auto; align-items: end; }
label { display: grid; gap: 7px; font-weight: 750; }
input { border: 1px solid #d1d5db; border-radius: 14px; padding: 12px 14px; font: inherit; }
button, .actions a { border: 0; border-radius: 999px; padding: 12px 18px; background: #111827; color: white; font-weight: 850; text-decoration: none; cursor: pointer; display: inline-block; }
.hero-actions { align-self: center; justify-content: flex-end; }
.hero-actions a { background: #ecfdf5; color: #065f46; }
.list { display: grid; gap: 12px; }
.item { display: flex; justify-content: space-between; gap: 18px; border: 1px solid #e5e7eb; border-radius: 18px; padding: 14px; }
.item p { color: #6b7280; margin: 6px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; justify-content: flex-end; }
.actions a { background: #ecfdf5; color: #065f46; padding: 9px 13px; }
.muted { color: #6b7280; }
code { background: #f3f4f6; padding: 2px 6px; border-radius: 8px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid #e5e7eb; padding: 10px; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
.print-shell { width: min(1180px, calc(100% - 24px)); }
.print-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.print-label { break-inside: avoid; border: 1px dashed #9ca3af; border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; background: white; }
.print-label img { width: 96px; height: 96px; image-rendering: pixelated; }
.print-label strong, .print-label code, .print-label small { display: block; overflow-wrap: anywhere; }
.print-label small { color: #6b7280; font-size: 10px; }
@media (max-width: 900px) { .admin-form { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hero, .item { flex-direction: column; } .row { grid-template-columns: 1fr; } }
@media print {
  :root { background: white; }
  .no-print { display: none !important; }
  .shell, .print-shell { width: 100%; margin: 0; padding: 0; }
  .print-sheet { grid-template-columns: repeat(2, 1fr); gap: 8mm; }
  .print-label { box-shadow: none; border: 1px solid #111827; border-radius: 4mm; page-break-inside: avoid; }
  a { color: inherit; }
}
