/* ChapelWave app styles. Printed bulletins use their own templates and each church's colors. */
:root {
  --bg: #f5f6fb;
  --card: #ffffff;
  --ink: #141a2e;
  --muted: #5d6680;
  --rule: #e4e7f0;
  --soft: #f0f2f9;
  --brand: #4f46e5;
  --brand-2: #14b8a6;
  --brand-ink: #ffffff;
  --accent: #f59e0b;
  --wave: linear-gradient(120deg, #4f46e5 0%, #2563eb 45%, #14b8a6 100%);
  --ok: #0f9f6e; --warn: #c27c0e; --err: #dc2f45; --info: #2563eb;
  --shadow: 0 1px 2px rgba(20, 26, 46, .05), 0 8px 24px rgba(20, 26, 46, .06);
  --shadow-lg: 0 18px 50px rgba(37, 39, 107, .18);
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020; --card: #161a2e; --ink: #eceefa; --muted: #9aa3c0; --rule: #272d4a; --soft: #1d2240;
    --brand: #818cf8; --brand-2: #2dd4bf; --brand-ink: #0d1020; --accent: #fbbf24;
    --wave: linear-gradient(120deg, #4338ca 0%, #1d4ed8 45%, #0d9488 100%);
    --ok: #34d399; --warn: #fbbf24; --err: #fb7185; --info: #60a5fa;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--font); }
a { color: var(--brand); text-underline-offset: 3px; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 .3em; }
h2 { font-size: 1.12rem; letter-spacing: -.01em; font-weight: 700; margin: 0 0 .7em; }
h3 { font-weight: 700; }
.lead { color: var(--muted); font-size: 1.05rem; margin-top: 0; }
.hint { color: var(--muted); font-size: .84rem; font-weight: 500; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- top bar ---------- */
nav.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px; padding: 10px 22px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
nav.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.12rem; letter-spacing: -.01em; }
nav.top .brand b { font-weight: 800; background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.top .crumbs { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); min-width: 0; overflow: hidden; white-space: nowrap; }
nav.top .crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav.top .crumbs a:hover { color: var(--brand); }
nav.top .crumbs span { color: var(--muted); }
nav.top .nav-user { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--wave); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.nav-user .who { font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
.nav-user .who:hover { color: var(--brand); }
.qr-box { display: inline-block; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--rule); margin: 6px 0 10px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; }
.module-tile { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--soft); cursor: pointer; }
.module-tile:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--card)); }
.module-tile input { margin-top: 3px; }
.module-tile b { display: block; }
.module-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.module-tabs a, .module-tabs span { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; border: 1.5px solid var(--rule); background: var(--card); color: var(--ink); }
.module-tabs a.on { background: var(--wave); color: #fff; border-color: transparent; }
.module-tabs .locked { color: var(--muted); border-style: dashed; }
.module-tabs span.tabs-spacer { flex: 1; padding: 0; border: 0; background: none; }
.activity { list-style: none; padding: 0; margin: 0; }
.activity li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.activity li:last-child { border-bottom: 0; }
.activity time { color: var(--muted); white-space: nowrap; font-size: .82rem; min-width: 128px; }
.img-field { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; }
.img-field > label:not(.check) { flex: 1 1 240px; }
.thumb { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--rule); }
input[type=file] { padding: 7px; background: var(--card); }
.logo-preview { max-height: 80px; max-width: 220px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; padding: 6px; }
.worship-row.task-row { grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr) 150px auto auto; }
.worship-row.task-row.add-row { grid-template-columns: 40px minmax(0, 1.6fr) minmax(0, 1fr) 150px auto; }
.task-row.done input[name=title] { text-decoration: line-through; color: var(--muted); }
input.overdue { border-color: var(--err); color: var(--err); }
@media (max-width: 640px) { .worship-row.task-row, .worship-row.task-row.add-row { grid-template-columns: 40px 1fr 1fr; } }
.dash { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.dash .tile { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--rule);
              box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.dash .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.dash .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 800; }
.dash b { font-size: 1.15rem; }
.dash .pill { justify-self: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: .85rem; font-weight: 600; }
table.list td.num, table.list th.num { text-align: right; font-variant-numeric: tabular-nums; }
.approve-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; position: sticky; top: 64px; z-index: 5; }
.approve-bar > div { flex: 1 1 260px; }
.approve-bar input { width: auto; flex: 0 1 220px; }
.danger-zone { border-color: color-mix(in srgb, var(--err) 35%, var(--rule)); }

main { margin: 0 auto; padding: 26px 20px 72px; }
main.narrow { max-width: 960px; }
main.wide { max-width: 1440px; }

/* ---------- hero band ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--wave);
  padding: 38px 22px 70px;
}
.hero::after { /* wave edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px;
  background: var(--bg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 26c120-20 240-20 360 0s240 20 360 0 240-20 360 0 240 20 360 0v20H0z' fill='black'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 26c120-20 240-20 360 0s240 20 360 0 240-20 360 0 240 20 360 0v20H0z' fill='black'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero::before { /* soft glow */
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 230, 138, .35), transparent 65%);
}
.hero .inner { position: relative; max-width: 960px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hero.wide .inner { max-width: 1440px; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; opacity: .85; }
.hero h1 { color: #fff; margin: 6px 0 4px; }
.hero p { margin: 0; opacity: .9; }
.hero + main { margin-top: -34px; position: relative; }
.hero .btn { background: #fff; color: #312e81; border-color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.hero .btn.ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }

.stepper { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; counter-reset: s; flex-wrap: wrap; }
.stepper li { counter-increment: s; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.75); }
.stepper li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.18); font-size: .78rem; }
.stepper li.done { color: #fff; }
.stepper li.done::before { content: "✓"; background: #fde68a; color: #312e81; }
.stepper li.now { background: #fff; color: #312e81; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.stepper li.now::before { background: var(--wave); color: #fff; }

/* ---------- surfaces ---------- */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card > h2:first-child, .card > .post-head:first-child h2 { display: flex; align-items: center; gap: 10px; }
.card > h2:first-child::before { content: ""; width: 8px; height: 22px; border-radius: 4px; background: var(--wave); flex: none; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; border: 1px solid var(--rule); background: var(--card); box-shadow: var(--shadow); font-weight: 500; }
.flash.ok { border-left: 5px solid var(--ok); }
.flash.error { border-left: 5px solid var(--err); }
.flash.info { border-left: 5px solid var(--info); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--wave); color: #fff; border: 1px solid transparent;
  padding: 10px 18px; border-radius: 11px; font: 700 .93rem var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 30%, transparent);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn:active { transform: translateY(0); }
.btn.small { padding: 6px 12px; font-size: .82rem; border-radius: 9px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 35%, var(--rule)); box-shadow: none; }
.btn.ghost:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.btn.danger { background: transparent; color: var(--err); border-color: var(--rule); box-shadow: none; }
.btn.danger:hover { background: color-mix(in srgb, var(--err) 8%, transparent); }
.btn:disabled { opacity: .4; cursor: default; transform: none; filter: none; }

/* ---------- forms ---------- */
input, select, textarea {
  font: 500 .95rem var(--font); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--rule); border-radius: 10px; padding: 9px 11px; width: 100%;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
input[type=color] { padding: 3px; height: 40px; }
input:disabled { opacity: .7; }
textarea { resize: vertical; }
label { display: grid; gap: 5px; font-size: .86rem; font-weight: 700; }
label.check { display: flex; align-items: center; gap: 7px; font-weight: 600; }
label.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }

/* ---------- lists ---------- */
table.list { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.list th, table.list td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
table.list tr:last-child td { border-bottom: 0; }
table.list th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--soft); }
table.list td a { font-weight: 700; text-decoration: none; }
table.list tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-size: .76rem; font-weight: 700; text-transform: capitalize; background: var(--soft); color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.approved { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.pill.pending { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pill.draft { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 2px dashed var(--rule); border-radius: var(--radius); background: var(--card); }

/* church cards on the home page */
.church-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.church-card { position: relative; display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.church-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c, var(--brand)); }
.church-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.church-card .initial { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--c, var(--brand)); margin-bottom: 12px; }
.church-card h3 { margin: 0 0 4px; font-size: 1.08rem; }
.church-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* church page */
.card.start { display: flex; gap: 18px; align-items: end; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--card)), color-mix(in srgb, var(--brand-2) 8%, var(--card))); }
.card.start > div { flex: 1 1 260px; }
.card.start h2 { margin-bottom: 4px; }

/* ---------- weekly editor ---------- */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 22px; align-items: start; }
.col-side { position: sticky; top: 72px; max-height: calc(100vh - 86px); overflow: auto; padding-bottom: 4px; }
#status { border: 0; background: linear-gradient(var(--card), var(--card)) padding-box, var(--wave) border-box; border: 2px solid transparent; }

.item { border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 16px; }
.item:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.ann-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: end; }
.form-grid { align-items: end; }
#announcements form.item { background: var(--soft); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; margin-top: 14px; }
#announcements form.item:first-of-type { margin-top: 0; }
#announcements form.item input, #announcements form.item textarea, #announcements form.item select { background: var(--card); }
.ann-grid .span2 { grid-column: 1 / -1; }
.checks { display: flex; gap: 20px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
details.add { margin-top: 18px; border: 2px dashed var(--rule); border-radius: 14px; padding: 12px 16px; }
details.add[open] { border-style: solid; }
details.add summary { cursor: pointer; font-weight: 700; color: var(--brand); list-style: none; }
details.add summary::before { content: "+ "; font-weight: 800; }
details.add[open] summary { margin-bottom: 12px; }
.count { justify-self: end; }
.count.over { color: var(--warn); font-weight: 700; }

.worship-row { display: grid; grid-template-columns: 22px 104px minmax(0, 1.3fr) minmax(0, 1fr) auto auto; gap: 6px; align-items: center; margin-bottom: 6px; padding: 4px; border-radius: 10px; }
.drag { cursor: grab; color: var(--muted); font-weight: 800; letter-spacing: -2px; user-select: none; text-align: center; padding: 4px 2px; }
.drag:active { cursor: grabbing; }
.dragging { opacity: .45; outline: 2px dashed var(--brand); outline-offset: 2px; }
.ann-card { border: 1px solid var(--rule); border-radius: 14px; background: var(--soft); margin-top: 10px; }
.ann-card[open] { background: var(--card); box-shadow: var(--shadow); }
.ann-card > summary { display: flex; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.ann-card > summary::-webkit-details-marker { display: none; }
.ann-card > summary::after { content: "▾"; color: var(--muted); margin-left: 4px; transition: transform .15s; }
.ann-card[open] > summary::after { transform: rotate(180deg); }
.ann-card .ann-sum { display: grid; flex: 1; min-width: 0; }
.ann-card .ann-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ann-card .badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.ann-card .badges .pill::before { display: none; }
.ann-card > form { padding: 4px 16px 16px; }
.ann-card > .suggestion { margin: 0 16px 16px; }
#save-state.err-text, .err-text { color: #fde68a; font-weight: 700; }
#save-state.warn-text { color: #fde68a; }
.worship-row:hover { background: var(--soft); }
.worship-row.section { margin-top: 10px; }
.worship-row.section input[name=part] { font-weight: 800; color: var(--brand); }
.worship-row.add-row { grid-template-columns: 22px 104px minmax(0, 1.3fr) minmax(0, 1fr) auto auto; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); border-radius: 0; }

.ai-tools { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.ai-tools .hint::before { content: "✦ "; color: var(--accent); }
.btn.ai { border-color: color-mix(in srgb, var(--accent) 50%, var(--rule)); color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }
.btn.ai:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.suggestion { border: 1px solid var(--rule); border-left: 5px solid var(--brand-2); border-radius: 14px; padding: 14px 16px; margin: 10px 0 4px; background: var(--card); box-shadow: var(--shadow); }
.suggestion.blocked { border-left-color: var(--err); }
.suggestion .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 10px 0; }
.suggestion .compare > div { background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.suggestion .compare > div:last-child { background: color-mix(in srgb, var(--brand-2) 10%, var(--card)); }
.suggestion .compare p { margin: 2px 0 0; }
.suggestion .compare .t { font-weight: 700; }
.suggestion .warnings { margin-bottom: 8px; }
.suggestion form { display: inline; }

.post { border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: var(--soft); }
.post-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.post-head h2 { margin: 0; }
.post pre { white-space: pre-wrap; font: 500 .92rem/1.5 var(--font); margin: 8px 0 0; }

.copy-line { display: flex; gap: 6px; margin: 8px 0; }
.inline-form { display: flex; gap: 8px; margin-bottom: 10px; }
#status .btn { margin: 4px 0; width: 100%; }
#status .copy-line .btn, #status .inline-form .btn { width: auto; }
.ok-text { color: var(--ok); font-weight: 700; }

ul.warnings { list-style: none; margin: 0; padding: 0; }
ul.warnings li { padding: 9px 12px 9px 14px; margin-bottom: 7px; border-radius: 10px; font-size: .88rem; font-weight: 500; border-left: 4px solid; background: var(--soft); }
ul.warnings li.error { border-color: var(--err); background: color-mix(in srgb, var(--err) 8%, var(--card)); }
ul.warnings li.warn { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 9%, var(--card)); }
ul.warnings li.info { border-color: var(--info); }
ul.warnings li.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 9%, var(--card)); }

.tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--soft); border-radius: 10px; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 5px 12px; border-radius: 8px; cursor: pointer; font: 700 .8rem var(--font); }
.tab.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.frame-wrap { position: relative; overflow: hidden; border-radius: 12px; background: #e7e9f1; margin: 10px 0 8px; box-shadow: inset 0 0 0 1px var(--rule); }
.frame-wrap iframe { border: 0; transform-origin: 0 0; display: block; }

/* ---------- free trial ---------- */
.plan-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 500; box-shadow: var(--shadow); border: 1px solid var(--rule); background: var(--card); }
.plan-banner .days { padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.plan-banner.trial .days { background: color-mix(in srgb, var(--accent) 22%, transparent); color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }
.plan-banner.expired { border-color: color-mix(in srgb, var(--err) 40%, var(--rule)); }
.plan-banner.expired .days { background: color-mix(in srgb, var(--err) 15%, transparent); color: var(--err); }
.readonly .col-main form, .readonly #status form { opacity: .55; pointer-events: none; }
.pill.trial { background: color-mix(in srgb, var(--accent) 20%, transparent); color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }
.pill.expired { background: color-mix(in srgb, var(--err) 14%, transparent); color: var(--err); }
.pill.active { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.trial-badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: #fde68a; color: #312e81; font-weight: 800; font-size: .8rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.plan-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.plan-actions form { display: inline; }

/* ---------- sign-in and account pages ---------- */
body.auth { min-height: 100vh; background:
  radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--brand-2) 35%, transparent), transparent 60%),
  radial-gradient(800px 600px at -10% 110%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%),
  var(--bg); }
body.auth nav.top { position: static; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; max-width: 980px; margin: 30px auto; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--card); }
.auth-art { position: relative; background: var(--wave); color: #fff; padding: 44px 40px; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; overflow: hidden; }
.auth-art::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 160px; background: rgba(255,255,255,.12); border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.auth-art h2 { font-size: 1.9rem; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin: 0 0 12px; }
.auth-art ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.auth-art li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.auth-art li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; }
.auth-art .quote { position: relative; z-index: 1; font-size: .9rem; opacity: .9; }
.auth-card { padding: 44px 40px; }
.auth-card form { display: grid; gap: 16px; }
.auth-card .btn { width: 100%; padding: 12px; }
.auth-card.solo { max-width: 460px; margin: 40px auto; border-radius: 24px; box-shadow: var(--shadow-lg); background: var(--card); }
td.row-actions form { display: inline; }

@media (max-width: 1100px) {
  .editor { grid-template-columns: 1fr; }
  .col-side { position: static; max-height: none; }
}
@media (max-width: 760px) {
  .auth-wrap { grid-template-columns: 1fr; margin: 10px; }
  .auth-art { min-height: 0; padding: 30px 26px; }
  .auth-card { padding: 30px 26px; }
  nav.top .who, nav.top .crumbs { display: none; }
}
@media (max-width: 640px) {
  main { padding: 20px 14px 60px; }
  .form-grid, .ann-grid { grid-template-columns: 1fr; }
  .worship-row, .worship-row.add-row { grid-template-columns: 1fr 1fr; }
  .suggestion .compare { grid-template-columns: 1fr; }
  .ai-tools { margin-left: 0; }
  .hero { padding: 28px 16px 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* getting started + attention */
.getting-started .post-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.getting-started h2 .hint { margin-left: 8px; }
.progress { height: 8px; border-radius: 99px; background: var(--rule); overflow: hidden; margin: 6px 0 14px; }
.progress > span { display: block; height: 100%; background: var(--wave); border-radius: 99px; transition: width .4s; }
.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps-list li { display: flex; gap: 12px; align-items: flex-start; }
.steps-list li > span:last-child { display: flex; flex-direction: column; }
.steps-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; border: 2px solid var(--brand); color: var(--brand); }
.steps-list li.done .tick { background: var(--brand); color: #fff; }
.steps-list li.done a { color: var(--muted); text-decoration: line-through; }
.steps-list li.current a { font-weight: 800; }
/* Home: the one-line setup reminder, and folded sections */
.setup-line { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 14px 0; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--brand) 40%, var(--rule)); font-size: .95rem; }
.setup-line form { margin-left: auto; }
.tick-mini { flex: none; font-weight: 800; font-size: .8rem; padding: 3px 8px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 12%, var(--card)); color: var(--brand); }
details.link-fold > summary, details.activity-fold > summary { cursor: pointer; list-style: none; }
details.link-fold > summary::-webkit-details-marker, details.activity-fold > summary::-webkit-details-marker { display: none; }
details.link-fold > summary::before, details.activity-fold > summary::before { content: "▸ "; color: var(--brand); }
details.link-fold[open] > summary::before, details.activity-fold[open] > summary::before { content: "▾ "; }
/* "Who's adding it?" on the bulletin link card: do it myself, or send it to the web designer */
.who-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.who-choice > input { position: absolute; opacity: 0; pointer-events: none; }
.who-choice > label { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule); font-weight: 700; cursor: pointer; background: var(--card); }
.who-choice > input:checked + label { background: var(--brand); border-color: var(--brand); color: #fff; }
.who-choice > input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.who-panel { display: none; flex-basis: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
#who-me:checked ~ #panel-me, #who-designer:checked ~ #panel-designer { display: block; }
.easy-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.easy-steps .btn { margin-left: 6px; }
.getting-started.welcome { border: 2px solid color-mix(in srgb, var(--brand) 35%, var(--rule)); }
.getting-started.welcome h2 { font-size: 1.35rem; }
.next-step { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 18px; margin: 0 0 16px;
  border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, var(--card)); }
.next-step .k { grid-column: 1; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.next-step b { grid-column: 1; font-size: 1.1rem; }
.next-step .hint { grid-column: 1; }
.next-step .btn { grid-column: 2; grid-row: 1 / span 3; white-space: nowrap; }
@media (max-width: 640px) { .next-step { grid-template-columns: 1fr; } .next-step .btn { grid-column: 1; grid-row: auto; margin-top: 10px; justify-self: start; } }
.attention ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.attention li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border-left: 4px solid var(--muted); background: color-mix(in srgb, var(--muted) 6%, var(--card)); }
.attention li.error { border-left-color: #c0392b; background: color-mix(in srgb, #c0392b 8%, var(--card)); }
.attention li.warn { border-left-color: #d68910; background: color-mix(in srgb, #d68910 9%, var(--card)); }
.attention li.info { border-left-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
.attention li a.btn { flex: none; }
.all-caught-up { color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.sunday-pick { display: flex; flex-direction: column; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; flex-direction: row; white-space: nowrap; width: auto; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--rule); border-radius: 99px; background: var(--card); cursor: pointer; font-weight: 600; font-size: .9rem; }
.chip input { accent-color: var(--brand); margin: 0; width: auto; flex: none; }
.chip:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--card)); }
.time-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.time-chips button { font: inherit; font-size: .78rem; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--rule); background: var(--card); cursor: pointer; color: var(--ink); }
.time-chips button:hover { border-color: var(--brand); }
details.admin-tools { margin-top: 24px; }
details.admin-tools > summary { cursor: pointer; font-weight: 700; color: var(--muted); padding: 10px 0; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .big { font-size: 2rem; display: block; margin-bottom: 6px; }
.empty p { margin: 4px 0 12px; }
@media (max-width: 600px) { .attention li { flex-direction: column; align-items: flex-start; } }

/* team */
.invite-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.invite-form .grow { flex: 1 1 260px; }
.role-help { margin: 12px 0 0; padding-left: 18px; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.team-list > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.team-list > li:last-child { border-bottom: 0; }
.team-list .avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--wave); }
.team-list .avatar.pending { background: var(--rule); color: var(--muted); }
.team-list .who { flex: 1 1 220px; display: flex; flex-direction: column; min-width: 0; }
.team-list .who .hint { overflow-wrap: anywhere; }
.member-menu { position: relative; }
.member-menu > summary { list-style: none; }
.member-menu > summary::-webkit-details-marker { display: none; }
.member-menu .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 230px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; gap: 2px; }
.member-menu .menu .hint { padding: 8px 10px; display: block; }
.linkish { font: inherit; font-weight: 600; background: none; border: 0; text-align: left; width: 100%; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.linkish:hover { background: color-mix(in srgb, var(--brand) 8%, var(--card)); }
.danger-text { color: #c0392b; }

/* event volunteer roles */
.vol-panel { border: 1.5px dashed color-mix(in srgb, var(--brand) 40%, var(--rule)); border-radius: 12px; padding: 14px 16px; background: color-mix(in srgb, var(--brand) 4%, var(--card)); display: grid; gap: 10px; }
.vol-panel .vol-when { max-width: 320px; }
.vol-panel .vol-have { margin: 0; }
.vol-list { display: grid; gap: 8px; margin-bottom: 8px; }
.vol-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.vol-row .vol-remove { margin-bottom: 4px; }
@media (max-width: 640px) { .vol-row { grid-template-columns: 1fr 1fr; } .vol-row label:first-child { grid-column: 1 / -1; } }

.vol-summary { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.vol-summary li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Anything marked hidden stays hidden, even if its class sets a display style. */
[hidden] { display: none !important; }

.graphic-maker { display: inline-flex; gap: 6px; align-items: center; }
.graphic-maker select { width: auto; padding: 6px 10px; font-size: .85rem; }

/* design picker */
.design-picker { position: relative; }
.design-picker > summary { list-style: none; }
.design-picker > summary::-webkit-details-marker { display: none; }
.design-picker[open] { flex: 1 0 100%; order: 10; }
.design-panel { margin-top: 10px; max-height: 60vh; overflow: auto; background: var(--card); border: 1px solid var(--rule);
  border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.design-group { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 8px; }
.design-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.design-opt { display: flex; flex-direction: column; gap: 4px; cursor: pointer; font-size: .8rem; font-weight: 600; text-align: center; }
.design-opt { position: relative; }
.design-opt input { position: absolute; top: 6px; left: 6px; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; pointer-events: none; }
.design-opt img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; border: 3px solid transparent; background: var(--rule); }
.design-opt:has(input:checked) img, .design-opt:has(input:checked) .surprise-tile { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.design-opt:has(input:focus-visible) img { outline: 2px solid var(--brand); outline-offset: 2px; }
.design-opt.surprise { flex-direction: row; align-items: center; text-align: left; gap: 12px; }
.surprise-tile { width: 118px; aspect-ratio: 2.2; border-radius: 10px; border: 3px solid transparent; display: grid; place-items: center; text-align: center;
  background: var(--wave); color: #fff; font-weight: 800; line-height: 1.2; flex: none; }

/* site footer */
.site-footer { padding: 26px 0 36px; color: var(--muted); font-size: .85rem; }
.site-footer .wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.legal { max-width: 760px; }
.legal h2 { margin-top: 28px; }
.legal li { margin-bottom: 6px; }

.design-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ai-tile { background: linear-gradient(135deg, #0f172a, #4f46e5); }

/* always-current bulletin link */
.bulletin-link { display: flex; gap: 22px; align-items: flex-start; margin-top: 22px; }
.bulletin-link .bl-qr { flex: none; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--rule); }
.bulletin-link .bl-qr svg { display: block; width: 150px; height: 150px; }
.bulletin-link .bl-body { flex: 1; min-width: 0; }
.bulletin-link h2 { margin-top: 0; }
.embed-help { margin-top: 12px; }
.embed-help summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.embed-help textarea { font: 12px/1.4 Consolas, monospace; }
@media (max-width: 640px) { .bulletin-link { flex-direction: column; } }

/* plan picker */
.plan-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.plan-pick { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px;
  border: 2px solid var(--rule); background: var(--card); color: var(--ink); cursor: pointer; }
.plan-pick span { font-weight: 800; font-size: 1.15rem; }
.plan-pick small { color: var(--muted); font-weight: 600; }
.plan-pick.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.interval-pick { display: flex; gap: 10px; margin: 16px 0 4px; flex-wrap: wrap; }
.interval-pick .save { background: #fde68a; color: #312e81; border-radius: 99px; padding: 1px 8px; font-size: .75rem; font-weight: 800; }
.plan-total { margin: 12px 0 14px; }

/* website tab */
.site-status { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.site-status > div:first-child { flex: 1 1 420px; }
.theme-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.theme-pick { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 10px; border: 2px solid var(--rule); border-radius: 14px; }
.theme-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.theme-pick:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
/* "Add a page": page templates with a little wireframe of their sections */
.page-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tpl { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 2px solid var(--rule); border-radius: 14px; cursor: pointer; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.tpl:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--rule)); }
.tpl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tpl:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.tpl:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.tpl b { font-size: .95rem; }
.tpl .hint { font-size: .8rem; line-height: 1.35; }
.wire { display: flex; flex-direction: column; gap: 4px; height: 118px; overflow: hidden; padding: 10px; margin-bottom: 4px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 5%, #fff); border: 1px solid var(--rule); }
.wire i { display: block; flex: none; border-radius: 3px; background: #dcdfe8; }
.wire .w-title { height: 8px; width: 55%; background: #8a90a3; }
.wire .w-line, .wire .w-text { height: 4px; width: 92%; }
.wire .w-line.short { width: 60%; }
.wire .w-text { box-shadow: 0 7px 0 #dcdfe8; margin-bottom: 7px; }
.wire .w-photo_text { height: 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 45%, #fff) 0 40%, transparent 40% 46%, #dcdfe8 46% 100%); background-size: 100% 100%; }
.wire .w-scripture { height: 14px; width: 80%; align-self: center; background: color-mix(in srgb, var(--brand) 18%, #fff); }
.wire .w-faq { height: 16px; background: repeating-linear-gradient(180deg, #dcdfe8 0 3px, transparent 3px 6px); }
.wire .w-gallery { height: 16px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 35%, #fff) 0 30%, transparent 30% 35%); }
.wire .w-video { height: 24px; background: #2b2f3a; position: relative; }
.wire .w-video::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.wire .w-button { height: 8px; width: 34%; align-self: center; border-radius: 6px; background: var(--brand); }
.add-page-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 14px; }
.add-page-row label { flex: 1; min-width: 220px; }
.sections { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.sections h3 { font-size: 1rem; margin: 0 0 10px; }
.block-card { border: 1px solid var(--rule); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: var(--card); }
.block-card summary { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.block-card summary .pill { text-transform: none; }
.block-card[open] summary { margin-bottom: 10px; }
.block-thumb { max-height: 140px; width: auto; border-radius: 8px; }
.gallery-edit { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-edit label { display: grid; gap: 4px; width: 110px; font-size: .85rem; }
.gallery-edit img { width: 110px; height: 80px; object-fit: cover; border-radius: 8px; }
.add-section { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.add-section select { flex: 1; min-width: 220px; }
.staff-card summary { display: flex; align-items: center; gap: 12px; }
.staff-card summary .hint { margin-left: 2px; }
.staff-thumb { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.staff-thumb.initials { display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, var(--card)); color: var(--brand); font-weight: 800; }
.theme-pick .mini { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule); margin-bottom: 6px; }
.theme-pick .pick-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.theme-pick .pick-name a { font-size: .85rem; font-weight: 600; }
.page-card { border: 1px solid var(--rule); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; }
.page-card > summary { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.page-card form { margin-top: 12px; }
.dns-steps { background: color-mix(in srgb, var(--brand) 5%, var(--card)); border: 1px solid var(--rule); border-radius: 12px; padding: 14px 16px; }
table.dns code { font-size: .95rem; background: var(--card); padding: 2px 6px; border-radius: 6px; }

.site-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.site-jump a { text-decoration: none; font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); }
.site-jump a:hover { border-color: var(--brand); }
.video-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.video-strip figure { margin: 0; font-size: .8rem; }
.video-strip img { width: 100%; border-radius: 8px; display: block; margin-bottom: 4px; }
.warn-text { color: #b45309; font-weight: 600; }

.stale-warning { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  border-left: 4px solid #d68910; background: color-mix(in srgb, #d68910 10%, var(--card)); }
.stale-warning span { color: var(--muted); font-size: .9rem; flex: 1 1 260px; }

/* Sunday ready */
.sunday-ready .post-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sunday-ready h2 .hint { margin-left: 8px; }
.sunday-ready ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; }
.sunday-ready li { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid var(--rule); }
.sunday-ready li:last-child { border-bottom: 0; }
.sunday-ready .mark { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.sunday-ready li.ok .mark { background: color-mix(in srgb, #1e8e3e 16%, var(--card)); color: #1e8e3e; }
.sunday-ready li.todo .mark { background: color-mix(in srgb, #d68910 18%, var(--card)); color: #b45309; }
.sunday-ready li.note .mark { background: var(--rule); color: var(--muted); }
.sunday-ready .what { flex: 1; }
.sunday-ready li.ok .what { color: var(--muted); }
.sunday-ready li a { font-weight: 600; font-size: .9rem; }
.sunday-ready.all-set { border-color: color-mix(in srgb, #1e8e3e 40%, var(--rule)); }
