* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fdf6ec;
  color: #1f2937;
  line-height: 1.5;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #7f1d1d;
  color: #fff;
}
.brand { font-weight: 700; font-size: 18px; }
.powered { font-weight: 400; font-size: 12px; opacity: 0.8; margin-left: 8px; }
.step-indicator { font-size: 13px; opacity: 0.9; }
main { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 16px; }
h2 { font-size: 24px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
.hidden { display: none !important; }
label { display: block; font-weight: 600; margin: 16px 0 6px; }
input[type="text"], textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
}
textarea { resize: vertical; }
.error { color: #b91c1c; font-weight: 600; }
.fineprint { font-size: 13px; color: #6b7280; }
.status { font-size: 14px; color: #374151; }

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 8px 8px 0;
}
.btn-primary { background: #b91c1c; color: #fff; }
.btn-primary:disabled { background: #d1d5db; color: #6b7280; cursor: not-allowed; }
.btn-secondary { background: #fff; color: #1f2937; border: 1px solid #d1d5db; }

.santa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.santa-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.santa-card.selected { border-color: #b91c1c; box-shadow: 0 0 0 2px #b91c1c33; }
.santa-card .swatch {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.santa-card h3 { margin: 0 0 4px; font-size: 18px; }
.santa-card .tagline { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.santa-card .blurb { font-size: 14px; margin-bottom: 8px; }
.santa-card .avatar-preview {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
  margin-bottom: 8px;
}
.santa-card .config-state { font-size: 12px; font-weight: 600; }
.santa-card .config-state.ok { color: #15803d; }
.santa-card .config-state.missing { color: #b45309; }
.catalog-note { font-size: 13px; color: #6b7280; }

.call-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: #111827;
  color: #fff;
  text-align: center;
}
.call-box video {
  width: 100%;
  max-height: 360px;
  border-radius: 8px;
  background: #000;
}
.call-box .status { color: #e5e7eb; margin-top: 12px; }
.call-controls { margin-top: 8px; }

.calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
}
.day.locked { background: #f3f4f6; color: #9ca3af; }
.day.open { background: #dcfce7; color: #166534; }

.photo-preview {
  display: block;
  max-width: 240px;
  margin-top: 12px;
  border-radius: 8px;
}
.review-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}
.review-text {
  white-space: pre-wrap;
  word-break: break-word;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-row input {
  width: auto;
  margin: 0;
}
.studio-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
}
footer {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  padding: 24px 16px;
  border-top: 1px solid #e5e7eb;
}
