:root {
  --bg0: #f7f1e8;
  --bg1: #efe4d4;
  --bg2: #e8d5c0;
  --ink: #3a2f28;
  --ink-soft: #5c4d42;
  --muted: #7a6a5c;
  --card: rgba(255, 252, 247, 0.88);
  --card-border: rgba(139, 107, 74, 0.18);
  --accent: #8b6b4a;
  --accent-deep: #6b4f35;
  --warm: #c4785a;
  --sage: #6e8b74;
  --rose: #b56b6b;
  --gold: #c9a227;
  --shadow: 0 10px 30px rgba(58, 47, 40, 0.08);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 10% -10%, #f3e0c8 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e8d0c4 0%, transparent 50%),
    radial-gradient(800px 500px at 50% 100%, #d9e2d6 0%, transparent 45%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 45%, var(--bg2));
}

.page {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header {
  text-align: center;
  padding: 1.5rem 0.5rem 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.01em;
  color: var(--accent-deep);
}

.subtitle {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.week-meta {
  margin: 0.75rem 0 0;
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.7);
  border: 1px solid var(--card-border);
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  margin: 1.35rem 0 0.5rem;
}

.photo-slot {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px dashed rgba(139, 107, 74, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.65), rgba(232, 213, 192, 0.55));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.photo-slot {
  cursor: pointer;
  font: inherit;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.photo-slot:hover,
.photo-slot:focus-visible {
  transform: translateY(-2px);
  border-style: solid;
  border-color: rgba(139, 107, 74, 0.55);
  color: var(--accent-deep);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.9), rgba(232, 213, 192, 0.75));
  box-shadow: 0 8px 18px rgba(107, 79, 53, 0.14);
  outline: none;
}

.photo-slot.active-kid {
  border-style: solid;
  border-color: var(--accent);
  color: var(--accent-deep);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(107, 79, 53, 0.2);
}

.kid-hero {
  text-align: center;
  margin-bottom: 1rem;
}

.kid-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-bottom: 0.65rem;
}

.kid-back:hover,
.kid-back:focus-visible {
  text-decoration: underline;
  outline: none;
}

.kid-hero h2 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  color: var(--accent-deep);
}

.kid-hero .kid-school {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.kid-about {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.kid-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.85rem;
}

.kid-chip {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(139, 107, 74, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 600;
}


.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  overflow-x: visible;
  padding: 0.35rem;
  margin: 0.5rem 0 1.1rem;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.65);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 1 1 auto;
  min-width: 4.6rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.tab:hover {
  background: rgba(139, 107, 74, 0.08);
}

.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf4;
  box-shadow: 0 6px 16px rgba(107, 79, 53, 0.28);
}

.panel {
  display: none;
  animation: fadeIn 0.28s ease;
}

.panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.card.urgency {
  border-color: rgba(196, 120, 90, 0.35);
}

.card.conflict {
  border-color: rgba(181, 107, 107, 0.35);
}

.muted {
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.grid.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 760px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.scripture {
  margin: 0 0 1.15rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(243, 224, 200, 0.75));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-align: center;
}

.scripture-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.scripture-ref {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.stack-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack-list li,
.check-list li,
.event-item,
.conflict-item,
.proposed-item {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 107, 74, 0.12);
  margin-bottom: 0.55rem;
}

.stack-list li:last-child,
.check-list li:last-child,
.event-item:last-child,
.conflict-item:last-child,
.proposed-item:last-child {
  margin-bottom: 0;
}

.priority {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.priority.high {
  background: rgba(196, 120, 90, 0.18);
  color: #8a4530;
}

.priority.medium {
  background: rgba(201, 162, 39, 0.2);
  color: #7a6210;
}

.item-title {
  font-weight: 600;
  color: var(--ink);
}

.item-meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check-box {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  border-radius: 4px;
  border: 1.5px solid var(--accent);
  flex: 0 0 auto;
  background: #fff;
}

.child-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .child-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.child-card {
  padding: 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(139, 107, 74, 0.14);
}

.child-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.child-school {
  margin: 0.15rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(110, 139, 116, 0.16);
  color: #3f5a48;
}

.tag.conflict,
.tag.deadline {
  background: rgba(181, 107, 107, 0.16);
  color: #7a3d3d;
}

.tag.optional {
  background: rgba(139, 107, 74, 0.14);
  color: var(--accent-deep);
}

.tag.xc,
.tag.volleyball,
.tag.piano,
.tag.run,
.tag.tournament {
  background: rgba(196, 120, 90, 0.14);
  color: #8a4530;
}

.status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.22);
  color: #6e580c;
  margin-bottom: 0.35rem;
}

.empty-state {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(139, 107, 74, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.site-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 1rem, 1080px);
  }

  .photo-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .photo-slot {
    font-size: 0.58rem;
    border-radius: 10px;
  }

  .card {
    padding: 1rem;
  }

  .tab {
    padding: 0.6rem 0.85rem;
    font-size: 0.86rem;
  }
}


/* Password gate */
html:not(.cfh-unlocked) .page { visibility: hidden; }
.cfh-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(196, 154, 108, 0.35), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(94, 122, 106, 0.28), transparent 45%),
    linear-gradient(160deg, #f7f1e8 0%, #ebe1d2 45%, #e2d5c4 100%);
}
html.cfh-unlocked .cfh-gate { display: none; }
.cfh-gate-card {
  width: min(22rem, 100%);
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(139, 107, 74, 0.22);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(70, 50, 30, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cfh-gate-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b6b4a;
}
.cfh-gate-card h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  color: #3d2f22;
}
.cfh-gate-note {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #7a6a58;
}
.cfh-gate-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5a4a3a;
}
.cfh-gate-input {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(139, 107, 74, 0.35);
  background: #fff;
}
.cfh-gate-error {
  margin: 0;
  color: #9b3b2e;
  font-size: 0.85rem;
}
.cfh-gate-btn {
  margin-top: 0.35rem;
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.55rem;
  background: #8b6b4a;
  color: #fffaf4;
  cursor: pointer;
}
.cfh-gate-btn:hover { background: #75583c; }

/* Proposed approve / skip toggles */
.proposed-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.vote-toggles {
  display: inline-flex;
  gap: 0.35rem;
}

.vote-btn {
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid rgba(139, 107, 74, 0.35);
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.vote-btn:hover {
  border-color: var(--accent);
  background: rgba(139, 107, 74, 0.08);
}

.vote-btn.vote-approve.active {
  background: linear-gradient(135deg, #6e8b74, #557560);
  border-color: transparent;
  color: #fffaf4;
  box-shadow: 0 4px 12px rgba(85, 117, 96, 0.28);
}

.vote-btn.vote-skip.active {
  background: linear-gradient(135deg, #b56b6b, #9a5252);
  border-color: transparent;
  color: #fffaf4;
  box-shadow: 0 4px 12px rgba(154, 82, 82, 0.28);
}

.status-pill.status-pending {
  background: rgba(201, 162, 39, 0.22);
  color: #6e580c;
}

.status-pill.status-approved {
  background: rgba(110, 139, 116, 0.22);
  color: #3f5a48;
}

.status-pill.status-skipped {
  background: rgba(181, 107, 107, 0.2);
  color: #7a3d3d;
}

.proposed-item[data-status="approved"] {
  border-color: rgba(110, 139, 116, 0.35);
  background: rgba(110, 139, 116, 0.08);
}

.proposed-item[data-status="skipped"] {
  border-color: rgba(181, 107, 107, 0.28);
  background: rgba(181, 107, 107, 0.06);
  opacity: 0.85;
}

/* Interactive checklists */
.check-list .check-item {
  padding: 0;
  overflow: hidden;
}

.check-toggle {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.check-toggle:hover .check-box {
  border-color: var(--accent-deep);
  background: rgba(139, 107, 74, 0.06);
}

.check-box {
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #fffaf4;
}

.check-box.checked {
  background: linear-gradient(135deg, var(--sage), #557560);
  border-color: transparent;
}

.check-item.done .check-text {
  text-decoration: line-through;
  color: var(--muted);
}

/* Send replies card */
.reply-card {
  border-color: rgba(139, 107, 74, 0.28);
  background:
    linear-gradient(160deg, rgba(255, 252, 247, 0.95), rgba(243, 224, 200, 0.55));
}

.reply-fieldset {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(139, 107, 74, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.reply-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-deep);
}

.who-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(139, 107, 74, 0.3);
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.radio-pill input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.radio-pill input:checked + span {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #fffaf4;
  box-shadow: 0 4px 12px rgba(107, 79, 53, 0.22);
}

.questions-heading {
  margin: 0.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.question-opt span {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
}

.reply-label {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-deep);
}

.reply-label .optional {
  font-weight: 400;
  color: var(--muted);
}

.reply-notes {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(139, 107, 74, 0.28);
  background: #fff;
  font: inherit;
  color: var(--ink);
  resize: vertical;
  min-height: 4.5rem;
}

.reply-notes:focus {
  outline: 2px solid rgba(139, 107, 74, 0.45);
  outline-offset: 1px;
}

.send-replies-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf4;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(107, 79, 53, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.send-replies-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #9a7956, #5a412c);
  box-shadow: 0 10px 24px rgba(107, 79, 53, 0.34);
}

.send-replies-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.send-replies-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.reply-status {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.reply-status.success {
  background: rgba(110, 139, 116, 0.18);
  color: #3f5a48;
  border: 1px solid rgba(110, 139, 116, 0.3);
}

.reply-status.error {
  background: rgba(181, 107, 107, 0.16);
  color: #7a3d3d;
  border: 1px solid rgba(181, 107, 107, 0.3);
}

.reply-status.pending {
  background: rgba(201, 162, 39, 0.16);
  color: #6e580c;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

/* Netlify form detector — present in HTML, not shown */
.nf-detect { position: absolute; left: -9999px; height: 1px; overflow: hidden; }

/* On-calendar proposed adds (dedupe) */
.status-pill.status-on-calendar {
  background: rgba(110, 139, 116, 0.2);
  color: #3f5a48;
  border: 1px solid rgba(110, 139, 116, 0.35);
}

.proposed-item[data-status="on-calendar"] {
  border-color: rgba(110, 139, 116, 0.28);
  background: rgba(110, 139, 116, 0.07);
}

/* Conflict coverage picker */
.coverage-fieldset {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.8rem;
}

.coverage-choices {
  margin-top: 0.15rem;
}

.coverage-opt span {
  font-size: 0.78rem;
  line-height: 1.25;
}

/* Need-now Done toggles */
.neednow-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.neednow-done-btn {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1.5px solid rgba(139, 107, 74, 0.35);
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.neednow-done-btn:hover {
  border-color: var(--sage);
  background: rgba(110, 139, 116, 0.1);
}

.neednow-done-btn.active {
  background: linear-gradient(135deg, #6e8b74, #557560);
  border-color: transparent;
  color: #fffaf4;
  box-shadow: 0 4px 12px rgba(85, 117, 96, 0.28);
}

.neednow-item.done {
  opacity: 0.72;
  background: rgba(110, 139, 116, 0.06);
  border-color: rgba(110, 139, 116, 0.22);
}

.neednow-item.done .item-title {
  text-decoration: line-through;
  color: var(--muted);
}

.neednow-item.done .priority {
  opacity: 0.7;
}

/* Instructions for Family Planning */
.reply-instructions {
  min-height: 7rem;
  border-color: rgba(139, 107, 74, 0.38);
  background: rgba(255, 252, 247, 0.98);
}

.h2-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* —— Chef tab —— */
.chef-callout .scripture-text {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
}

.chef-chip-row {
  justify-content: flex-start;
}

.chef-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(139, 107, 74, 0.12);
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 600;
}

.chef-chip.ok {
  background: rgba(120, 140, 100, 0.18);
}

.chef-chip.warn {
  background: rgba(196, 140, 80, 0.2);
}

.chef-chip.muted-chip {
  background: rgba(120, 110, 100, 0.12);
  color: var(--muted);
}

.chef-week-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  margin: 0 0 1rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.85);
  border: 1px solid var(--card-border);
}

.chef-week-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.chef-week-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf4;
}

.chef-menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .chef-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .chef-menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.chef-day-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 252, 247, 0.72);
}

.chef-day-card.eat-out {
  border-color: rgba(139, 107, 74, 0.28);
}

.chef-day-label {
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0 0 0.2rem;
}

.chef-day-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.chef-pick-btn {
  width: 100%;
  border: 1px dashed rgba(139, 107, 74, 0.4);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  cursor: not-allowed;
  opacity: 0.85;
}

.chef-day-title {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.chef-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chef-action-btn {
  border: 1px solid rgba(139, 107, 74, 0.35);
  background: rgba(255, 252, 247, 0.9);
  color: var(--accent-deep);
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  cursor: not-allowed;
  opacity: 0.7;
}

.chef-action-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf4;
  border: 0;
}

.chef-library-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.chef-search,
.chef-filter {
  font: inherit;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: var(--ink);
  min-width: 10rem;
  flex: 1 1 12rem;
}

.chef-zone {
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(139, 107, 74, 0.12);
}

.chef-zone:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.chef-zone h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--accent-deep);
}

.chef-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.55rem 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.chef-shop-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.chef-shop-table th,
.chef-shop-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid rgba(139, 107, 74, 0.12);
}

/* —— Friendly negotiator / dual votes —— */
.decision-board {
  margin: 0 0 1.1rem;
}

.decision-board h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.decision-card {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 252, 247, 0.75);
}

.decision-card.agree {
  border-color: rgba(120, 140, 100, 0.45);
}

.decision-card.discuss {
  border-color: rgba(196, 140, 80, 0.5);
}

.decision-card.waiting {
  border-color: rgba(139, 107, 74, 0.25);
}

.decision-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.decision-status.agree {
  background: rgba(120, 140, 100, 0.2);
  color: #4a5c3a;
}

.decision-status.discuss {
  background: rgba(196, 140, 80, 0.22);
  color: #7a4e1c;
}

.decision-status.waiting {
  background: rgba(139, 107, 74, 0.12);
  color: var(--muted);
}

.decision-prompt {
  margin: 0 0 0.55rem;
  font-weight: 600;
  color: var(--ink);
}

.decision-sides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .decision-sides {
    grid-template-columns: 1fr 1fr;
  }
}

.decision-side {
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(139, 107, 74, 0.12);
}

.decision-side .who {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.decision-side .vote {
  font-weight: 700;
  color: var(--accent-deep);
}

.decision-side .why {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-style: italic;
}

.decision-hint {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.question-why {
  width: 100%;
  margin-top: 0.55rem;
  font: inherit;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  background: #fff;
  color: var(--ink);
  resize: vertical;
  min-height: 2.4rem;
}

.question-block .prior-vote {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
}
