:root {
  --red: #c41e3a;
  --red-dark: #9b1428;
  --red-deep: #7a0e1e;
  --red-selected: #b01024;
  --rose: #fff0f2;
  --rose-mid: #ffe8ec;
  --blush: #ffd6dc;
  --night: #0b1a33;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --soft: #8a8a8a;
  --line: #f0d8dc;
  --bg: #fff7f8;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(11, 26, 51, 0.08);
  --sans: "Noto Sans", "Segoe UI", sans-serif;
  --serif: "EB Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { font-size: 16px; }
body {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

h1, h2, h3, .login-brand h1, .top h1, .canvas-top h2, .brand strong, .stat {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 16px 0 7px;
  color: var(--night);
}
input, textarea, select {
  width: 100%;
  border: 1.5px solid #ead7db;
  border-radius: 16px;
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #b3a3a6; font-weight: 500; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.12);
}
textarea { min-height: 86px; resize: vertical; }

.date-wrap { display: block; }
.date-picker {
  position: relative;
  display: block;
}
.date-picker.is-invalid .date-text {
  border-color: #c41e3a;
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.12);
}
.date-error {
  display: block;
  margin-top: 6px;
  color: #c41e3a;
  font-size: 12px;
  font-weight: 700;
}
.date-picker .date-text { padding-right: 48px; }
.date-picker .date-cal {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  cursor: pointer;
}
.date-picker .date-cal:focus { box-shadow: none; }
.date-picker .date-cal::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 22px;
  height: 22px;
  opacity: 1;
  filter: invert(18%) sepia(62%) saturate(2800%) hue-rotate(337deg);
}

.btn {
  border: 0;
  border-radius: 6px;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #e0455c 0%, var(--red) 48%, var(--red-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-red:hover {
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 14px rgba(196, 30, 58, 0.22);
}
.btn-ghost {
  color: var(--night);
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px #ead7db;
}
.btn-ghost:hover {
  background: linear-gradient(180deg, #fff7f8 0%, var(--rose-mid) 100%);
}
.btn-danger {
  color: var(--red-dark);
  background: linear-gradient(180deg, #fff7f8 0%, #f8d4db 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.btn-danger:hover {
  color: #fff;
  background: linear-gradient(180deg, #e0455c 0%, var(--red) 48%, var(--red-deep) 100%);
}
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.error { color: var(--red); font-weight: 600; min-height: 1.2em; }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  flex: 0 0 auto;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(160deg, var(--red) 0%, var(--red-deep) 58%, var(--night) 100%);
}
.login-shell {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 26, 51, 0.28);
}
.login-brand {
  padding: 52px 42px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 42%),
    var(--red);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
}
.login-brand .brand-mark {
  background: #fff;
  color: var(--red);
  margin-bottom: 26px;
}
.login-brand h1 { margin: 0 0 12px; font-size: 48px; font-style: italic; }
.login-brand p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 26ch;
}
.login-card { padding: 48px 40px; }
.login-card h2 { margin: 0 0 8px; font-size: 34px; color: var(--night); }
.login-card p { margin: 0 0 24px; color: var(--muted); font-weight: 500; }
.login-card .btn-row { margin-top: 24px; }
.login-card .btn { width: 100%; padding: 13px 18px; font-size: 15px; }

.app {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
  background: var(--bg);
}
.side {
  background: var(--night);
  color: #fff;
  padding: 24px 14px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 24px;
}
.brand strong {
  display: block;
  font-size: 22px;
  font-style: italic;
  line-height: 1.05;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-label {
  margin: 22px 12px 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.side button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: rgba(255,255,255,.82);
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.side button:hover { background: rgba(255,255,255,.08); color: #fff; }
.side button.active {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(196, 30, 58, 0.28);
}

.main { padding: 32px 40px 56px; min-width: 0; }
.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 6px;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.top h1 { margin: 0; font-size: 40px; color: var(--night); }
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ui-langs {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.login-card .ui-langs { margin-bottom: 18px; }
.ui-langs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  cursor: pointer;
}
.ui-langs button.on {
  background: linear-gradient(180deg, #e0455c 0%, var(--red) 48%, var(--red-deep) 100%);
  color: #fff;
}
.views { max-width: 1080px; }

.who {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  font-weight: 600;
  color: var(--night);
  font-size: 13px;
}
.who-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-mid);
  color: var(--red);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
}

.card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px 24px 22px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 30, 58, 0.06);
}
.page-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.page-toolbar .hint { margin: 0; max-width: 58ch; }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.list-search { margin: 16px 0 4px; }
.list-search input { margin-top: 6px; }
.pager, .pager-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.pager .btn[disabled] { opacity: 0.4; pointer-events: none; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.metric {
  background: #fff;
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(196, 30, 58, 0.06);
}
.metric-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.stat { font-size: 40px; font-style: italic; color: var(--night); margin: 10px 0 4px; }
.metric small, small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.hint { color: var(--muted); font-weight: 500; line-height: 1.6; }
.google-steps { padding-left: 1.2em; margin: 0 0 18px; }
.google-steps li { margin: 0 0 8px; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { flex: 1; }
textarea.fcm-json { min-height: 140px; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.welcome p { margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.welcome p:last-child { margin-bottom: 0; }
.welcome b { font-weight: 700; color: var(--night); }

.hire-tier {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 8px;
}
.hire-tier label { margin-top: 0; }
.price-block { margin-top: 22px; }
.price-block h3 { margin: 0 0 10px; font-size: 18px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.langs { display: flex; gap: 8px; margin: 4px 0 14px; align-items: center; flex-wrap: wrap; }
.langs button { padding: 7px 14px; min-width: 48px; font-size: 12px; }
.langs .auto-translate {
  min-width: 0;
  margin-left: 4px;
  color: var(--red);
  background: linear-gradient(180deg, #fff 0%, var(--rose-mid) 100%);
}
.langs .auto-translate:disabled { opacity: .65; cursor: wait; transform: none; }

.item {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-top: 12px;
  background: #fffafb;
}
.hidden { display: none !important; }

.village-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--rose);
  flex: 0 0 auto;
}
.thumb-empty {
  display: grid;
  place-items: center;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 14px 0 6px; }
.check input { width: auto; }
.stripe-switch { display: flex; gap: 10px; margin: 8px 0 16px; }
.stripe-switch button { flex: 1; }

.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 14px;
  margin-top: 10px;
  background: #fff;
}
.list-row strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--night);
}
.list-row .grow { flex: 1; min-width: 0; }
.list-row.compact { padding: 10px 12px; }

.program-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  margin-top: 14px;
}
.program-day > .list-row { border: 0; padding: 0; margin: 0 0 10px; background: transparent; }
.program-day strong { font-family: var(--serif); font-size: 20px; }

.canvas {
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 51, 0.55);
  z-index: 50;
  display: grid;
  justify-content: end;
}
.canvas-panel {
  width: min(560px, 100vw);
  height: 100%;
  background: #fff;
  overflow: auto;
  padding: 32px 28px 52px;
  box-shadow: -18px 0 40px rgba(11, 26, 51, 0.16);
}
.canvas-panel-full {
  width: min(920px, 100vw);
  justify-self: center;
  box-shadow: 0 0 40px rgba(11, 26, 51, 0.18);
  border-radius: 0;
}
.canvas-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.canvas-top h2 { margin: 0; font-size: 30px; color: var(--red); }
.canvas-panel h3 {
  margin: 28px 0 6px;
  font-size: 20px;
  color: var(--night);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--soft);
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--line);
}
.table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  vertical-align: middle;
}
.table td strong {
  font-weight: 700;
  color: var(--night);
  letter-spacing: -0.015em;
}
.table td small { margin-top: 3px; }
.table tr:hover td { background: var(--rose); }
.table .row-actions { text-align: right; white-space: nowrap; }
.table .row-actions .btn { padding: 6px 14px; margin-left: 6px; font-size: 13px; }
.table code { color: var(--muted); font-size: 12px; font-weight: 600; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.table-wrap .table { margin-top: 0; }
.table-wrap .table th:first-child,
.table-wrap .table td:first-child { padding-left: 16px; }
.table-wrap .table th:last-child,
.table-wrap .table td:last-child { padding-right: 16px; }
.calls-table td small {
  display: block;
  color: var(--soft);
  font-size: 12px;
  font-weight: 600;
}
.calls-table .visit-status { margin-left: 0; }
.calls-row { cursor: pointer; }
.calls-row:hover td { background: var(--rose); }
.call-detail-hero {
  margin: 8px 0 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7f8, #f7f7f7);
  border: 1px solid #ebd4d8;
}
.call-detail-hero h3 {
  margin: 10px 0 4px;
  border: 0;
  padding: 0;
  font-size: 28px;
  color: var(--red);
}
.call-detail-hero p {
  margin: 0;
  font-weight: 700;
  color: var(--night);
}
.call-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.call-detail-row small {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.call-detail-row p {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--night);
  word-break: break-word;
}
@media (max-width: 720px) {
  .call-detail-grid { grid-template-columns: 1fr; }
  .canvas-panel-full { width: 100vw; }
}
.calls-toolbar {
  display: grid;
  gap: 12px;
  margin: 4px 0 8px;
}
.calls-search { margin: 0; }
.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--night);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-filter.is-on {
  border-color: var(--red);
  background: #ffe8ec;
  color: var(--red);
}
.status-filter-count {
  min-width: 1.4em;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 11px;
  font-weight: 800;
}
.status-filter.is-on .status-filter-count {
  background: rgba(196,30,58,.12);
}

.chip {
  display: inline-block;
  color: #fff;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.village-select {
  max-width: 420px;
  margin: 8px 0 18px;
}
.chip-pick {
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
}
.chip-pick.on { color: #fff; border-color: transparent; font-weight: 700; }

.empty {
  margin-top: 18px;
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  background: var(--rose);
  border-radius: 20px;
}
.thumb-empty.small { width: 64px; height: 64px; }

@media (max-width: 920px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 220px; padding: 32px 28px; }
  .login-brand h1 { font-size: 40px; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .grid-2, .grid-3, .metrics { grid-template-columns: 1fr; }
  .main { padding: 20px 16px 36px; }
  .top { flex-direction: column; align-items: flex-start; }
  .top h1 { font-size: 34px; }
}

.tour {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.tour-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 51, 0.46);
  pointer-events: auto;
}
.tour-spot {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(11, 26, 51, 0.46), 0 0 0 3px #e0b84a, 0 10px 28px rgba(11, 26, 51, 0.28);
  background: transparent;
  pointer-events: none;
  transition: top .18s ease, left .18s ease, width .18s ease, height .18s ease;
}
.tour:has(.tour-spot:not(.hidden)) .tour-backdrop { background: transparent; }
.tour-card {
  position: absolute;
  width: min(380px, calc(100vw - 28px));
  background: #fff;
  border-radius: 22px;
  padding: 20px 20px 16px;
  box-shadow: 0 22px 50px rgba(11, 26, 51, 0.22);
  border: 1px solid rgba(196, 30, 58, 0.08);
  pointer-events: auto;
  z-index: 2;
}
.tour-count {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.tour-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--night);
}
.tour-card p#tourBody {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.tour-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-spacer { flex: 1; }
body.tour-on { overflow: hidden; }
body.tour-on .app { pointer-events: none; }

.santa-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 8px;
}
.santa-hours.santa-hours-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.santa-langs {
  margin: 16px 0 8px;
  padding: 12px 14px;
  border: 1px solid #ead9d9;
  border-radius: 12px;
  background: #fffaf8;
}
.santa-langs strong { display: block; margin-bottom: 4px; }
.santa-lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
}
.santa-lang-check { margin: 0; }
.santa-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.santa-acc {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-top: 12px;
  overflow: hidden;
}
.santa-acc-head {
  width: 100%;
  appearance: none;
  border: 0;
  background: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.santa-acc.is-open .santa-acc-head {
  background: #fff7f8;
  border-bottom: 1px solid #f0d6db;
}
.santa-acc-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.santa-acc-title strong {
  display: block;
  font-size: 16px;
}
.santa-acc-title small {
  display: block;
  color: var(--soft);
  margin-top: 2px;
}
.santa-acc-chevron {
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
}
.santa-acc-body {
  padding: 16px 16px 20px;
}
.santa-acc-actions {
  margin-top: 16px;
}

.santa-page-head h2 {
  margin: 0 0 6px;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 28px;
}
.santa-cal {
  margin-top: 12px;
}
.santa-cal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.santa-cal-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.santa-cal-tab.is-on {
  border-color: var(--red);
  background: #ffe8ec;
  color: var(--red);
}
.visit-assign, .call-assign {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.visit-assign label, .call-assign label {
  flex: 1;
  min-width: 180px;
  margin: 0;
}
.visit-assign select, .call-assign select {
  width: 100%;
  margin-top: 4px;
}

.santa-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 10px;
}
.santa-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}
.santa-step strong {
  display: block;
  margin-bottom: 2px;
}
.santa-step .hint {
  margin: 0;
}
.santa-hours-panel {
  border: 1px solid #ead7db;
  background: #fff8f9;
  border-radius: 18px;
  padding: 16px;
}
.santa-hours-title {
  font-weight: 700;
  margin-bottom: 10px;
}
.santa-hours-empty {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7f7f7;
}
.santa-cal-summary {
  margin-top: 10px;
}
.santa-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.santa-hours .santa-presets {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.santa-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}
.santa-month-nav strong {
  font-size: 20px;
}
.santa-month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.santa-wd {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft);
  padding: 4px 0 2px;
}
.santa-day {
  min-height: 58px;
  border: 1.5px solid #ead7db;
  background: #fff;
  border-radius: 14px;
  padding: 6px 4px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.santa-day small {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
  opacity: 0.9;
}
.santa-day:hover { border-color: var(--red); }
.santa-day.is-on {
  background: linear-gradient(180deg, #e23b4a 0%, #c41e3a 100%);
  border-color: var(--red-dark);
  color: #fff;
}
.santa-day.is-pending {
  background: #fff3cd;
  border-color: #e0a800;
  color: #7a5b00;
}
.santa-day.is-focus {
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.28);
}
@media (max-width: 720px) {
  .santa-hours { grid-template-columns: 1fr; }
  .santa-hours.santa-hours-3 { grid-template-columns: 1fr; }
  .santa-day { min-height: 48px; font-size: 13px; }
  .santa-page-head { flex-direction: column; }
}

.visit-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-top: 12px;
  background: #fffafb;
}
.visit-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.visit-head strong { font-size: 16px; }
.visit-status {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #ffe8ec;
  color: var(--red);
}
.visit-status-confirmed { background: #e8f6ee; color: #1b7a3d; }
.visit-status-cancelled { background: #eee; color: #666; }
.visit-status-done { background: #e8f0ff; color: #2456a6; }
.visit-status-ringing { background: #fff3d6; color: #9a6b00; }
.visit-status-in_call { background: #e8f6ee; color: #1b7a3d; }
.visit-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.visit-meta small { color: var(--soft); font-weight: 700; }
.visit-meta p { margin: 2px 0 0; font-weight: 700; }
.visit-notes { color: #6a6a6a; margin: 12px 0 0; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.visit-actions .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.visit-complete-hint { margin: 8px 0 0; }
.visit-edit { margin-top: 12px; }
.pool-list { margin: 6px 0 0; padding-left: 18px; }
.pool-list li { margin: 4px 0; font-weight: 600; }
