.pastor-main {
  display: grid;
  gap: 1rem;
}

.home-link {
  color: inherit;
  font-weight: 700;
}

.pastor-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.15rem;
}

.pastor-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.6rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.pastor-card p,
.hint,
.price-list {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.15rem;
  line-height: 1.45;
}

.pastor-card p {
  margin: 0 0 0.8rem;
}

.hint {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.price-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.price-list li + li {
  margin-top: 0.35rem;
}

.pastor-card .field {
  margin-bottom: 0.85rem;
}

.choice {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem 0.9rem;
}

.choice legend {
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 800;
  padding: 0 0.35rem;
}

.choice-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  font-size: 1.2rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.choice-line input {
  width: 1.35rem;
  height: 1.35rem;
}

.textarea {
  width: 100%;
  min-height: 7.5rem;
  padding: 0.75rem 0.85rem;
  font-size: 1.2rem;
  line-height: 1.45;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  color: #111111;
  background: #ffffff;
  border: 3px solid #111111;
  border-radius: var(--radius);
}

.color-input {
  padding: 0.35rem;
  min-height: 3.6rem;
}

.pastor-status:empty {
  display: none;
}

.pastor-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #fff8e8;
  color: #1a1408;
  border: 3px solid #111111;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.15rem;
}

.recovery-code,
.share-code {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  background: #ffffff;
  color: #111111;
  border: 4px solid #111111;
  border-radius: var(--radius);
  padding: 0.8rem 0.5rem;
}

.editor-fields {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.editor-fields:disabled {
  opacity: 0.72;
}

.logo-preview:not([hidden]) {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  border: 3px solid #111111;
  margin: 0 0 0.85rem;
}

.qr-image {
  display: block;
  width: min(240px, 100%);
  height: auto;
  background: #ffffff;
  border: 4px solid #111111;
  border-radius: 12px;
  margin: 0 0 0.9rem;
}

.passage-list,
.update-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
}

.passage-editor,
.update-item {
  background: #0b1220;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem;
}

.passage-editor h3,
.update-item p {
  margin: 0 0 0.6rem;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.update-item p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.pastor-card a {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media print {
  body {
    background: #ffffff;
    color: #111111;
  }

  .top,
  .no-print,
  #pastorStatus,
  #authView,
  #recoveryView,
  .editor-fields,
  #signOutBtn,
  #licenseHeading,
  #invoiceBtn {
    display: none !important;
  }

  .pastor-card {
    border-color: #111111;
    background: #ffffff;
    color: #111111;
  }

  .pastor-card a {
    color: #111111;
  }
}
