/* Campfire assets */
:root {
  --cream: #F4EFE6;
  --charcoal: #1C1410;
  --ember: #C45C26;
  --gold: #D4A04A;
  --ink: #1C1410;
  --line: rgba(28, 20, 16, 0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.45;
}
.wrap { width: min(520px, 100%); margin: 0 auto; padding: 20px 16px 48px; }
.wrap.wide { width: min(960px, 100%); }
.brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.mark { width: 44px; height: 44px; border-radius: 10px; }
.eyebrow {
  margin: 0; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 11px; font-weight: 600; color: var(--ember);
}
h1 { margin: 2px 0 0; font-size: 28px; letter-spacing: -0.03em; }
h2 { margin: 0 0 10px; font-size: 18px; }
.sub, .hint, .who { color: rgba(28,20,16,0.72); }
.who { font-weight: 600; color: var(--charcoal); }
.card {
  background: #fffdf8; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px; margin: 12px 0;
}
label, .lab { display: block; font-size: 13px; font-weight: 600; margin: 10px 0 6px; }
input, select, button, textarea { font-family: inherit; font-size: 16px; }
input, select, textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--charcoal);
}
.primary, .ghost {
  border: 0; border-radius: 12px; padding: 14px 16px;
  font-weight: 600; cursor: pointer; min-height: 48px;
}
.primary {
  display: inline-block; width: 100%; margin-top: 12px;
  background: var(--ember); color: #fff; text-align: center; text-decoration: none;
}
.ghost { width: 100%; background: transparent; color: var(--ember); border: 1px solid var(--ember); }
.alert {
  background: #fff4e8; border: 1px solid var(--gold); color: var(--charcoal);
  padding: 12px 14px; border-radius: 12px;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: rgba(28,20,16,0.6); font-weight: 600; }
td a { color: var(--ember); font-weight: 600; text-decoration: none; }
.tabs { display:flex; gap:8px; margin: 8px 0 16px; flex-wrap: wrap; }
.tabs a {
  flex:1; text-align:center; padding:12px; border-radius:10px;
  text-decoration:none; color:#2A221C; background:#efe6d6; font-weight:600; min-height:48px;
}
.tabs a.on { background:#1C1410; color:#F4EFE6; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: #efe6d6; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-out { background: var(--ember); color: #fff; }
.badge-in { background: var(--charcoal); color: var(--cream); }
.badge-unassigned { background: #efe6d6; color: var(--charcoal); }
.badge-retired { opacity: 0.75; }
.meta { padding-left: 18px; margin: 8px 0; }
.status-line { margin: 6px 0 12px; }
.photo { max-width: 100%; border-radius: 12px; }
.last-event { margin-top: 12px; }
.hint a { color: var(--ember); }
