* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cbc-neutral);
  color: var(--cbc-dark);
  line-height: 1.5;
  min-height: 100vh;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  background: var(--cbc-dark);
  color: #fff;
  padding: 1.75rem 0 1.5rem;
  border-bottom: 4px solid var(--cbc-primary);
  margin-bottom: 1.75rem;
}

.site-header--compact {
  padding: 1.25rem 0 1rem;
}

.brand-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cbc-primary);
  margin-bottom: 0.35rem;
}

.site-header h1 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  margin-top: 0.5rem;
  color: rgba(235, 227, 215, 0.9);
  font-size: 0.95rem;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.back-link {
  color: var(--cbc-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.back-link:hover { text-decoration: underline; }

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.user-bar-slot {
  flex-shrink: 0;
}

.user-bar-slot .user-bar,
.header-actions .user-bar {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex-direction: column;
  align-items: flex-end;
  width: auto;
  gap: 0.35rem;
}

.site-footer {
  text-align: center;
  color: var(--cbc-black7);
  font-size: 0.8rem;
  padding: 2rem 0 2.5rem;
}

.hidden { display: none !important; }

.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cbc-black7);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(8, 31, 44, 0.1);
  border-top-color: var(--cbc-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

.demo-banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 187, 220, 0.12);
  border: 1px solid rgba(0, 187, 220, 0.3);
  border-radius: 8px;
  font-size: 0.88rem;
  color: #007a94;
}

.week-grid {
  display: grid;
  gap: 1rem;
}

.weeks-page {
  display: block;
}

.week-section-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--cbc-dark);
}

.week-section-title--past {
  margin-top: 2.25rem;
  color: rgba(8, 31, 44, 0.55);
}

.week-empty {
  margin: 0 0 0.5rem;
  color: rgba(8, 31, 44, 0.65);
}

.week-grid--past .week-card,
.week-card--past {
  border-left-color: rgba(8, 31, 44, 0.28);
  opacity: 0.92;
}

.week-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(8, 31, 44, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
  border-left: 4px solid var(--cbc-primary);
}

.week-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 31, 44, 0.1);
}

.week-card__date {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.week-card__title {
  margin-top: 0.35rem;
  font-weight: 600;
}

.week-card__meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--cbc-black7);
}

.panel {
  background: #fff;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(8, 31, 44, 0.05);
}

.panel h2 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--cbc-dark);
}

.panel h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--cbc-black7);
}

.panel--approved {
  background: rgba(147, 218, 73, 0.1);
  border-color: rgba(147, 218, 73, 0.35);
}

.panel--timing {
  border-left: 4px solid var(--cbc-primary);
}

.panel--timing-one-week {
  border-left-color: var(--cbc-accent);
}

.info-grid {
  display: grid;
  gap: 0.75rem;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.info-label {
  color: var(--cbc-black7);
  font-weight: 600;
}

.team-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.team-list li,
.team-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 42%);
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  background: var(--cbc-neutral);
  border-radius: 8px;
  font-size: 0.9rem;
}

.team-member__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.team-member__phone {
  font-size: 0.82rem;
  color: var(--cbc-black7);
}

.person-prayer {
  width: 100%;
  min-height: 2.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(8, 31, 44, 0.15);
  border-radius: 8px;
  background: #fff;
  resize: vertical;
}

@media (max-width: 640px) {
  .team-list li,
  .team-member {
    grid-template-columns: 1fr;
  }
}

.team-list .role {
  color: var(--cbc-black7);
  font-size: 0.82rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.check-item input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cbc-primary);
  flex-shrink: 0;
}

.check-item span {
  font-size: 0.95rem;
}

.setlist-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
  align-items: start;
}

.setlist-item.dragging {
  opacity: 0.45;
}

.setlist-item.drag-over .setlist-item__body > .song-block,
.setlist-item.drag-over .setlist-item__body > .message-block {
  box-shadow: 0 0 0 2px var(--cbc-primary);
}

.grip {
  margin-top: 0.85rem;
  width: 28px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: rgba(8, 31, 44, 0.06);
  color: var(--cbc-black7);
  cursor: grab;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0;
  touch-action: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.grip:active {
  cursor: grabbing;
  background: rgba(0, 187, 220, 0.15);
  color: var(--cbc-dark);
}

.setlist-item__body {
  min-width: 0;
}

.message-block {
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
  border-left: 3px solid var(--cbc-dark);
}

.message-block__pco {
  background: var(--cbc-neutral);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.message-block__pco strong {
  display: block;
  margin-bottom: 0.25rem;
}

.message-block__pco p {
  color: var(--cbc-black7);
  font-size: 0.85rem;
  margin: 0;
}

.message-teacher {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--cbc-dark);
}

.message-teacher--empty {
  color: var(--cbc-black7);
  font-style: italic;
}

.opening-transition-block {
  margin-bottom: 1rem;
}

.closing-transition-block {
  margin-top: 0.85rem;
}

.setlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.song-meta-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.65rem;
}
@media (min-width: 720px) {
  .song-meta-grid {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}
.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cbc-black7);
  margin-bottom: 0.35rem;
}
.leader-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-height: 7.5rem;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 8px;
  background: #fff;
}
.leader-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(8, 31, 44, 0.05);
  cursor: pointer;
}
.leader-chip input {
  accent-color: var(--cbc-primary);
}
.leader-empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--cbc-black7);
}
.song-key {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(8, 31, 44, 0.15);
  background: #fff;
}
.recording-key {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--cbc-dark);
}
.recording-key strong {
  font-weight: 700;
}
.recording-key--empty {
  color: var(--cbc-black7);
}
.recording-key__src {
  color: var(--cbc-black7);
  font-weight: 400;
}
.history-hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--cbc-black7);
  line-height: 1.35;
}

.song-block {
  border: 1px solid rgba(8, 31, 44, 0.1);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 0.5rem;
  background: #faf9f7;
  border-left: 3px solid var(--cbc-primary);
}

.song-block.approved {
  background: rgba(147, 218, 73, 0.12);
  border-color: rgba(147, 218, 73, 0.4);
}

.song-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.song-block__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.song-approved-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5a9e2e;
  cursor: pointer;
  white-space: nowrap;
}

.song-approved-label input {
  width: 18px;
  height: 18px;
  accent-color: #5a9e2e;
  cursor: pointer;
}

.song-number {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cbc-dark);
}

.transition-block {
  margin: 0.35rem 0 1rem 0.5rem;
  padding: 0.65rem 0.75rem 0.75rem;
  border-left: 2px dashed rgba(0, 187, 220, 0.45);
  background: rgba(0, 187, 220, 0.06);
  border-radius: 0 8px 8px 0;
}

.transition-block label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #007a94;
  margin-bottom: 0.35rem;
}

.debrief-q {
  margin-bottom: 1rem;
}

.debrief-q label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--cbc-dark);
}

.panel--prayer {
  border-left: 4px solid var(--cbc-accent);
}

.btn--danger {
  background: transparent;
  border: 1px solid rgba(197, 48, 48, 0.35);
  color: #9b2c2c;
  font-size: 0.78rem;
  padding: 0.3rem 0.55rem;
}

.song-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .song-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.slot-label {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cbc-dark);
}

select, textarea, input[type="text"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(8, 31, 44, 0.18);
  border-radius: 8px;
  background: #fff;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

textarea.large {
  min-height: 110px;
}

.approve-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.approve-row__title {
  font-weight: 600;
  color: var(--cbc-dark);
}
.approve-row__title em {
  font-weight: 500;
  color: var(--cbc-black7);
  font-style: normal;
}
.approve-row__pushed {
  margin-left: auto;
  font-size: 0.78rem;
  color: #1f6b4a;
}
.approve-row__error {
  margin-left: auto;
  font-size: 0.78rem;
  color: #8a2f2f;
}
.push-pco-row {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(8, 31, 44, 0.1);
}
.push-pco-hint {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--cbc-black7);
  line-height: 1.35;
}
.push-pco-status {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--cbc-dark);
}
.push-pco-status--ok {
  color: #1f6b4a;
}
.push-pco-status--error {
  color: #8a2f2f;
}

.approved-empty {
  font-size: 0.88rem;
  color: var(--cbc-black7);
  margin: 0;
  font-style: italic;
}

.phone-panel {
  display: grid;
  gap: 0.5rem;
}

.phone-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--cbc-neutral);
  border-radius: 8px;
  font-size: 0.88rem;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--cbc-primary);
  color: #fff;
}

.btn:hover { filter: brightness(0.95); }

.btn--accent {
  background: var(--cbc-accent);
  color: var(--cbc-dark);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(8, 31, 44, 0.2);
  color: var(--cbc-dark);
}

.btn--header {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.save-status {
  font-size: 0.82rem;
  color: var(--cbc-black7);
  margin-top: 0.75rem;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--cbc-dark);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.add-song-btn {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 720px) {
  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .week-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
  .week-layout .panel--full {
    grid-column: 1 / -1;
  }
}

.btn--small {
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
}

.btn--pco {
  --pco-blue: hsl(222, 91%, 55%);
  --pco-blue-hover: #0050eb;
  --pco-blue-border: hsl(222, 91%, 66%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--pco-blue);
  border: 1px solid var(--pco-blue-border);
  border-radius: 4px;
  box-shadow: none;
  transition: background 0.15s ease;
}

.btn--pco:hover {
  background: var(--pco-blue-hover);
  color: #fff;
  filter: none;
}

.btn--pco__logo {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  object-fit: contain;
}

.btn--pco__text strong {
  font-weight: 700;
}

.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  width: 100%;
  color: #fff;
}

.user-bar__name {
  text-align: right;
}

.user-bar__role {
  color: var(--cbc-primary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.view-only-banner {
  grid-column: 1 / -1;
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--cbc-primary, #c45c26);
  font-size: 0.92rem;
  color: var(--cbc-black7, #444);
}

.week-app--view-only .grip--static {
  opacity: 0.35;
  cursor: default;
}

.week-app--view-only input:disabled,
.week-app--view-only select:disabled,
.week-app--view-only textarea:disabled {
  opacity: 0.85;
  cursor: default;
}

.user-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.audit-back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.audit-back a {
  color: var(--cbc-primary);
  text-decoration: none;
  font-weight: 600;
}

.audit-meta {
  font-size: 0.88rem;
  color: var(--cbc-black7);
  margin: 0 0 0.75rem;
}

.audit-empty {
  color: var(--cbc-black7);
}

.audit-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 8px;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.audit-table th,
.audit-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(8, 31, 44, 0.08);
}

.audit-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cbc-black7);
  background: #ebe3d7;
}

.audit-when {
  white-space: nowrap;
  color: var(--cbc-black7);
}

.audit-who {
  font-weight: 600;
  color: var(--cbc-dark);
}

.audit-email {
  font-size: 0.78rem;
  color: var(--cbc-black7);
}

.audit-action {
  display: inline-block;
  font-weight: 600;
  font-size: 0.82rem;
}

.audit-action--login { color: #1a7a3a; }
.audit-action--logout { color: #6b6560; }
.audit-action--save { color: #081f2c; }
.audit-action--key_sync { color: #00a0bc; }
.audit-action--push_pco { color: #0b5cab; }

.audit-plan {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}

.audit-detail {
  color: var(--cbc-black7);
  max-width: 28rem;
}

.audit-sessions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.audit-session {
  background: #fff;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.audit-session__summary {
  list-style: none;
  display: grid;
  gap: 0.35rem 1rem;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  align-items: baseline;
}

.audit-session__summary::-webkit-details-marker {
  display: none;
}

.audit-session__summary::before {
  content: "▸";
  color: var(--cbc-black7);
  font-size: 0.75rem;
  margin-right: 0.35rem;
}

.audit-session[open] > .audit-session__summary::before {
  content: "▾";
}

@media (min-width: 720px) {
  .audit-session__summary {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
  }
}

.audit-session__who {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.audit-session__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}

.audit-session__when {
  font-size: 0.82rem;
  color: var(--cbc-black7);
  white-space: nowrap;
}

.audit-session__headline {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cbc-dark);
}

.audit-session__plan {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--cbc-black7);
  background: #ebe3d7;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.audit-session__count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cbc-black7);
  background: rgba(8, 31, 44, 0.06);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.audit-session__body {
  border-top: 1px solid rgba(8, 31, 44, 0.1);
  padding: 0.35rem 0.5rem 0.55rem;
  background: #faf7f2;
}

.audit-table--nested {
  border: none;
  border-radius: 0;
  background: transparent;
}

.audit-table--nested th {
  background: transparent;
}

.sms-sample-panel {
  margin-bottom: 1.25rem;
}

.sms-sample-intro {
  font-size: 0.9rem;
  color: var(--cbc-black7);
  margin: 0 0 0.65rem;
}

.sms-sample-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .sms-sample-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.sms-sample-card {
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 8px;
  padding: 0.85rem;
  background: #fff;
}

.sms-sample-card h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--cbc-dark);
}

.sms-sample-audience {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--cbc-black7);
}

.sms-sample-body {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.7rem;
  background: #ebe3d7;
  border-radius: 6px;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--cbc-dark);
}

.sms-sample-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--cbc-black7);
}

.login-layout {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.login-page .login-layout {
  min-height: calc(100vh - 11rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-panel {
  width: 100%;
  padding: 1.5rem;
}

.login-block {
  margin-bottom: 1.25rem;
}

.login-hint {
  font-size: 0.88rem;
  color: var(--cbc-black7);
  margin-top: 0.65rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .login-layout {
    max-width: 32rem;
  }

  .login-panel {
    padding: 2rem 2.25rem;
  }

  .btn--pco {
    padding: 0.85rem 1.25rem;
    font-size: 1.05rem;
  }

  .btn--pco__logo {
    width: 1.5rem;
    height: 1.5rem;
  }

  .login-hint {
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .login-layout {
    max-width: 40rem;
  }

  .login-panel {
    padding: 2.5rem 2.75rem;
  }

  .btn--pco {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }

  .btn--pco__logo {
    width: 1.65rem;
    height: 1.65rem;
  }

  .login-hint {
    font-size: 1rem;
    margin-top: 0.85rem;
  }
}

.login-error {
  background: rgba(197, 48, 48, 0.1);
  border: 1px solid rgba(197, 48, 48, 0.35);
  color: #9b2c2c;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.approved-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.approved-status-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(8, 31, 44, 0.08);
  font-size: 0.9rem;
}

.prayers-home-link {
  margin: 2rem 0 0;
  font-size: 0.95rem;
}

.prayers-home-link a {
  color: var(--cbc-primary);
  font-weight: 600;
  text-decoration: none;
}

.prayers-home-link a:hover {
  text-decoration: underline;
}

.prayer-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.5rem;
}

.prayer-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.prayer-filter select {
  font: inherit;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(8, 31, 44, 0.18);
  border-radius: 8px;
  background: #fff;
  min-width: 12rem;
}

.prayer-toolbar__meta {
  margin: 0;
  color: rgba(8, 31, 44, 0.55);
  font-size: 0.88rem;
}

.prayer-week {
  background: #fff;
  border: 1px solid rgba(8, 31, 44, 0.12);
  border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(8, 31, 44, 0.05);
}

.prayer-week__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.prayer-week__date {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prayer-week__count {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: rgba(8, 31, 44, 0.55);
}

.prayer-entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.prayer-entry {
  padding: 0.75rem 0.85rem;
  background: rgba(0, 187, 220, 0.06);
  border-radius: 8px;
  border-left: 3px solid var(--cbc-primary);
}

.prayer-entry__name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.prayer-entry__text {
  white-space: pre-wrap;
  line-height: 1.45;
  color: rgba(8, 31, 44, 0.88);
}
