    :root {
      --ink: #102a2e;
      --muted: #65777b;
      --line: rgba(16, 42, 46, 0.12);
      --bg: #f5faf9;
      --primary: #164e63;
      --teal: #0f766e;
      --blue: #1d7ed4;
      --green: #22c55e;
      --shadow: 0 18px 54px rgba(16, 42, 46, 0.09);
      --max: 1180px;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at 7% 0%, rgba(34, 197, 94, 0.13), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(29, 126, 212, 0.12), transparent 30%),
        linear-gradient(180deg, #f8fbfb 0%, #fff 46%, var(--bg) 100%);
      line-height: 1.55;
      word-break: keep-all;
    }
    html.loading-saved-invite body,
    html.preparing-builder body {
      opacity: 0;
    }
    html:not(.loading-saved-invite):not(.preparing-builder) body {
      transition: opacity .12s ease;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    .container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
    .btn {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 14px;
      border: 0;
      border-radius: 7px;
      cursor: pointer;
      font-weight: 850;
    }
    .btn-primary { color: #fff; background: linear-gradient(135deg, var(--teal), var(--primary)); }
    .btn-blue { color: #fff; background: var(--blue); }
    .btn-ghost { color: var(--primary); background: #eef7f5; border: 1px solid rgba(15, 118, 110, 0.16); }
    .hero { padding: 22px 0 14px; }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 440px;
      gap: 24px;
      align-items: stretch;
      padding: 22px 28px;
    }
    .hero-grid,
    .builder-card,
    .preview-shell {
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: var(--shadow);
    }
    .hero-main { padding: 0; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      color: var(--teal);
      font-size: 14px;
      font-weight: 900;
    }
    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 99px;
      background: var(--green);
    }
    h1 {
      margin: 0 0 12px;
      font-size: clamp(30px, 3.6vw, 42px);
      line-height: 1.08;
      letter-spacing: -0.05em;
    }
    .hero-main p {
      max-width: 780px;
      margin: 0;
      color: var(--muted);
      font-size: 15px;
    }
    .hero-side {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      padding: 0;
    }
    .side-card {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(16, 42, 46, 0.08);
      border-radius: 8px;
      background: #f8fbfb;
    }
    .side-card img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      flex: 0 0 auto;
    }
    .side-card b {
      display: block;
      margin-bottom: 0;
      font-size: 19px;
      letter-spacing: -0.04em;
    }
    .side-card span { color: var(--muted); font-size: 14px; }
    .builder {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 420px;
      gap: 24px;
      align-items: start;
      padding: 12px 0 80px;
      scroll-margin-top: 98px;
    }
    .builder-card { padding: 24px; }
    .builder-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
    }
    .builder-head h2 { margin: 0; font-size: 26px; letter-spacing: -0.04em; }
    .builder-head p { margin: 4px 0 0; color: var(--muted); }
    .segmented {
      display: inline-grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      padding: 5px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f8fbfb;
    }
    .segmented button {
      min-height: 38px;
      padding: 0 13px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: #36565c;
      cursor: pointer;
      font-weight: 850;
      white-space: nowrap;
    }
    .segmented button.is-active { color: #fff; background: var(--primary); }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }
    [hidden] { display: none !important; }
    body:not([data-invite-mode="bulletin"]) [data-bulletin-field] { display: none !important; }
    body[data-invite-mode="bulletin"] [data-standard-field] { display: none !important; }
    body[data-invite-mode="wedding"] [data-church-field] { display: none !important; }
    body[data-invite-mode="church"] [data-wedding-field],
    body[data-invite-mode="bulletin"] [data-wedding-field] { display: none !important; }
    .field { display: grid; gap: 6px; }
    .field.full { grid-column: 1 / -1; }
    .field label {
      color: var(--primary);
      font-size: 13px;
      font-weight: 900;
    }
    .wedding-field {
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid rgba(15, 118, 110, 0.13);
      border-radius: 8px;
      background: #f8fbfb;
    }
    .wedding-field h3 {
      margin: 0;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--primary);
      font-size: 15px;
      letter-spacing: -0.03em;
    }
    .wedding-field h3 img {
      width: 24px;
      height: 24px;
      object-fit: contain;
      flex: 0 0 auto;
    }
    .family-row {
      display: grid;
      grid-template-columns: 82px 58px minmax(0, 1fr) minmax(0, 1fr) 112px;
      gap: 8px;
      align-items: center;
    }
    .family-row .heart {
      color: #f9a8d4;
      font-weight: 900;
    }
    .family-row label {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #36565c;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }
    .family-row input[type="checkbox"] {
      width: 16px;
      height: 16px;
      min-height: 0;
      padding: 0;
    }
    .gift-grid {
      display: grid;
      gap: 10px;
    }
    .gift-row {
      display: grid;
      grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
      gap: 8px;
      align-items: center;
    }
    .gift-row span {
      color: var(--primary);
      font-size: 13px;
      font-weight: 900;
    }
    .gift-help {
      margin: 8px 0 0;
      color: #6b8085;
      font-size: 12px;
      line-height: 1.5;
    }
    .couple-phone-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 8px;
    }
    .call-button {
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      padding: 0 10px;
      border-radius: 999px;
      background: var(--primary);
      color: #fff;
      font-size: 12px;
      font-weight: 900;
      text-decoration: none;
      white-space: nowrap;
    }
    .field input,
    .field select,
    .field textarea {
      width: 100%;
      min-height: 48px;
      padding: 0 13px;
      border: 1px solid #dce5ea;
      border-radius: 6px;
      background: #fff;
      outline: 0;
    }
    .field textarea {
      min-height: 120px;
      padding: 12px 13px;
      resize: vertical;
    }
    .bulletin-fields {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      padding: 16px;
      border: 1px solid rgba(190, 146, 71, 0.22);
      border-radius: 14px;
      background: linear-gradient(180deg, #fffdf6, #f7fbf4);
    }
    .bulletin-fields .field {
      min-width: 0;
    }
    .bulletin-fields .full {
      grid-column: 1 / -1;
    }
    .bulletin-fields textarea {
      min-height: 112px;
      line-height: 1.65;
    }
    .bulletin-fields .compact-textarea {
      min-height: 86px;
    }
    .sync-textarea {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      border: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }
    .order-editor {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }
    .order-editor-label {
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 900;
    }
    .order-editor-row {
      display: grid;
      grid-template-columns: 38px 34px minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: start;
    }
    .order-editor-row:not([data-order-row]) {
      grid-template-columns: 38px minmax(0, 1fr) 40px;
    }
    .order-editor-row[data-hymn-video-row] {
      grid-template-columns: 38px 34px minmax(0, 1fr) 40px;
    }
    .order-editor-row em {
      display: inline-grid;
      place-items: center;
      height: 38px;
      border-radius: 12px;
      background: var(--mint);
      color: var(--primary);
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }
    .order-editor-row input {
      min-height: 42px;
    }
    .order-editor-fields {
      display: grid;
      gap: 8px;
    }
    .order-editor-fields textarea {
      width: 100%;
      min-height: 72px;
      padding-top: 12px;
      resize: vertical;
    }
    .order-image-tools {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }
    .order-image-upload,
    .order-image-remove {
      position: relative;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: var(--primary);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
    .order-image-upload input {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }
    .order-image-remove {
      color: #b40f44;
    }
    .order-image-preview {
      width: 72px;
      height: 54px;
      border: 1px solid var(--line);
      border-radius: 12px;
      object-fit: cover;
      background: #fff;
    }
    .offering-editor {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }
    .offering-editor-row {
      display: grid;
      grid-template-columns: 38px 38px minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: start;
    }
    .offering-editor-row em {
      display: inline-grid;
      place-items: center;
      height: 38px;
      border-radius: 12px;
      background: var(--mint);
      color: var(--primary);
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }
    .offering-editor-fields {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .offering-editor-fields input,
    .offering-editor-fields select {
      min-height: 42px;
    }
    .offering-editor-row.is-dragging {
      opacity: 0.45;
    }
    .intercession-editor-row {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: start;
    }
    .intercession-editor-fields {
      display: grid;
      gap: 8px;
    }
    .intercession-editor-row em {
      display: inline-grid;
      place-items: center;
      height: 38px;
      border-radius: 12px;
      background: var(--mint);
      color: var(--primary);
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }
    .intercession-editor-row input,
    .intercession-editor-row textarea {
      width: 100%;
      min-height: 46px;
    }
    .intercession-editor-row textarea {
      min-height: 86px;
      padding-top: 12px;
      resize: vertical;
    }
    .order-drag-handle {
      width: 34px;
      height: 38px;
      display: inline-grid;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: var(--muted);
      cursor: grab;
      font-size: 17px;
      font-weight: 900;
      touch-action: none;
    }
    .order-drag-handle:active {
      cursor: grabbing;
    }
    .order-editor-row.is-dragging {
      opacity: .46;
    }
    .servant-editor {
      display: grid;
      gap: 8px;
      margin-top: 10px;
    }
    .servant-editor-row {
      display: grid;
      grid-template-columns: 34px minmax(96px, .65fr) minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: center;
    }
    .servant-editor-row input,
    .servant-editor-row select {
      width: 100%;
      min-height: 42px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-weight: 800;
    }
    .custom-section-editor {
      display: grid;
      gap: 10px;
      margin-top: 10px;
    }
    .church-custom-section-editor {
      display: grid;
      gap: 10px;
      margin-top: 10px;
    }
    .custom-section-row {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: start;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
    }
    .church-custom-section-row {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) 40px;
      gap: 8px;
      align-items: start;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
    }
    .custom-section-row.is-dragging,
    .church-custom-section-row.is-dragging {
      opacity: .46;
    }
    .custom-section-fields {
      display: grid;
      gap: 8px;
    }
    .custom-section-fields input,
    .custom-section-fields textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #f8fbfb;
      color: var(--ink);
      font: inherit;
      font-weight: 800;
    }
    .custom-section-fields input {
      min-height: 42px;
      padding: 0 12px;
    }
    .custom-section-fields textarea {
      min-height: 96px;
      padding: 11px 12px;
      resize: vertical;
      line-height: 1.6;
    }
    .church-custom-preview #previewChurchCustomSections {
      display: grid;
      gap: 10px;
    }
    .church-custom-preview-heading {
      width: 28px;
      height: 28px;
      display: inline-grid;
      place-items: center;
      margin-bottom: 10px;
      border-radius: 999px;
      background: color-mix(in srgb, var(--theme-soft, #f4fbfa) 86%, white);
      color: var(--theme-primary, #0f766e);
      font-size: 18px;
      line-height: 1;
      box-shadow: inset 0 0 0 1px var(--theme-border, rgba(15, 118, 110, 0.14));
    }
    .church-custom-preview-card {
      display: grid;
      gap: 6px;
      padding: 12px;
      border-radius: 12px;
      background: var(--theme-soft, #f4fbfa);
      text-align: left;
    }
    .church-custom-preview-title {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }
    .church-custom-plus {
      width: 24px;
      height: 24px;
      flex: 0 0 auto;
      display: inline-grid;
      place-items: center;
      border-radius: 999px;
      background: color-mix(in srgb, var(--theme-primary, #0f766e) 11%, white);
      color: var(--theme-primary, #0f766e);
      font-size: 15px;
      font-weight: 950;
      line-height: 1;
    }
    .church-custom-preview-card strong {
      color: var(--theme-primary, #0f766e);
      font-size: 14px;
      font-weight: 900;
      overflow-wrap: anywhere;
    }
    .church-custom-preview-card p {
      white-space: pre-line;
      line-height: 1.72;
    }
    .church-custom-preview-card .bulletin-collapse-toggle-row {
      margin-top: 10px;
    }
    .church-custom-preview-card.is-open .bulletin-collapse-open {
      display: none;
    }
    .church-custom-preview-card .bulletin-collapse-toggle,
    .church-custom-preview-card .bulletin-collapse-close {
      border: 1px solid var(--theme-border, rgba(15, 118, 110, 0.16));
      background: color-mix(in srgb, var(--theme-primary, #0f766e) 12%, white);
      color: var(--theme-primary, #0f766e);
    }
    .church-video-preview iframe {
      width: 100%;
      aspect-ratio: 16 / 9;
      display: block;
      border: 0;
      border-radius: 14px;
      background: var(--theme-soft, #f4fbfa);
    }
    .order-remove {
      width: 40px;
      height: 40px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: #9f1239;
      font-size: 18px;
      font-weight: 900;
      cursor: pointer;
    }
    .order-editor-actions {
      display: flex;
      justify-content: flex-end;
    }
    .slug-row {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 8px;
    }
    .address-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }
    .address-row .btn {
      min-height: 48px;
      white-space: nowrap;
    }
    .upload-box {
      padding: 14px;
      border: 1px dashed rgba(15, 118, 110, 0.28);
      border-radius: 8px;
      background: #f8fbfb;
    }
    .compact-upload-box {
      padding: 10px;
    }
    .upload-box p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 13px;
    }
    .field-hint {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      font-weight: 500;
    }
    .bulletin-offering-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .bulletin-offering-grid label {
      display: grid;
      gap: 6px;
      color: #36565c;
      font-size: 13px;
      font-weight: 900;
    }
    .bulletin-offering-grid .full {
      grid-column: 1 / -1;
    }
    .bulletin-offering-grid input,
    .bulletin-offering-grid select {
      width: 100%;
      min-height: 42px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-weight: 800;
    }
    .extra-photo-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .extra-photo-grid label {
      display: grid;
      gap: 6px;
      color: #36565c;
      font-size: 13px;
      font-weight: 900;
    }
    .extra-photo-grid input {
      min-height: 42px;
      padding: 8px;
      border: 1px solid #dce5ea;
      border-radius: 6px;
      background: #fff;
    }
    .preview-photo-gallery {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      padding: 0;
    }
    .preview-photo-gallery[hidden] { display: none; }
    .preview-photo-gallery img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid rgba(16, 42, 46, 0.12);
      background: #eef7f5;
      cursor: zoom-in;
    }
    .preview-photo-gallery img:hover { filter: brightness(0.96); }
    .form-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 10px;
      margin-top: 18px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }
    .builder-card .builder-head h2 {
      font-weight: 700;
      letter-spacing: 0;
    }
    .builder-card .field label,
    .builder-card .wedding-field h3,
    .builder-card .family-row label,
    .builder-card .gift-row span,
    .builder-card .order-editor-label,
    .builder-card .bulletin-offering-grid label,
    .builder-card .extra-photo-grid label {
      font-weight: 600;
    }
    .builder-card input,
    .builder-card select,
    .builder-card textarea,
    .builder-card .servant-editor-row input,
    .builder-card .servant-editor-row select,
    .builder-card .custom-section-fields input,
    .builder-card .custom-section-fields textarea,
    .builder-card .bulletin-offering-grid input,
    .builder-card .bulletin-offering-grid select {
      font-weight: 400;
    }
    .preview-shell {
      position: sticky;
      top: 96px;
      padding: 22px;
    }
    @media (min-width: 901px) {
      body[data-invite-mode="bulletin"] .preview-shell {
        top: 94px;
      }
      body[data-invite-mode="bulletin"] .phone {
        width: 340px;
        max-height: calc(100vh - 170px);
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-gutter: stable;
      }
    }
    .preview-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }
    .preview-toolbar b { font-size: 20px; letter-spacing: -0.04em; }
    .phone {
      width: min(100%, 390px);
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(16, 42, 46, 0.1);
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 8px 18px rgba(16, 42, 46, 0.07);
    }
    .invite-preview {
      min-height: 620px;
      background: linear-gradient(180deg, #f9fbfb, #fff);
      color: var(--ink);
    }
    .theme-classic {
      --theme-primary: #164e63;
      --theme-accent: #0f766e;
      --theme-soft: #f8fbfb;
      --theme-bg: #ffffff;
      --theme-card: rgba(255, 255, 255, 0.9);
      --theme-border: rgba(16, 42, 46, 0.1);
      --theme-text: #102a2e;
    }
    .theme-garden {
      --theme-primary: #0f766e;
      --theme-accent: #22c55e;
      --theme-soft: #eafaf1;
      --theme-bg: #f4fcf7;
      --theme-card: rgba(255, 255, 255, 0.88);
      --theme-border: rgba(15, 118, 110, 0.16);
      --theme-text: #102f2a;
    }
    .theme-pink {
      --theme-primary: #be5a78;
      --theme-accent: #f3a6bd;
      --theme-soft: #fff0f5;
      --theme-bg: #fff7fa;
      --theme-card: rgba(255, 255, 255, 0.88);
      --theme-border: rgba(190, 90, 120, 0.18);
      --theme-text: #3d1f2b;
    }
    .theme-soft-red {
      --theme-primary: #b23a48;
      --theme-accent: #f28b82;
      --theme-soft: #fff1f0;
      --theme-bg: #fff8f7;
      --theme-card: rgba(255, 255, 255, 0.9);
      --theme-border: rgba(178, 58, 72, 0.18);
      --theme-text: #3d2024;
    }
    .theme-deep-red {
      --theme-primary: #7f1d1d;
      --theme-accent: #dc2626;
      --theme-soft: #fee2e2;
      --theme-bg: #fff7f2;
      --theme-card: rgba(255, 248, 245, 0.92);
      --theme-border: rgba(127, 29, 29, 0.22);
      --theme-text: #331515;
    }
    .theme-blue {
      --theme-primary: #1d7ed4;
      --theme-accent: #7cc7f7;
      --theme-soft: #eef7ff;
      --theme-bg: #f7fbff;
      --theme-card: rgba(255, 255, 255, 0.88);
      --theme-border: rgba(29, 126, 212, 0.18);
      --theme-text: #102a3d;
    }
    .theme-orange {
      --theme-primary: #f97316;
      --theme-accent: #fdba74;
      --theme-soft: #fff7ed;
      --theme-bg: #fffaf5;
      --theme-card: rgba(255, 255, 255, 0.91);
      --theme-border: rgba(249, 115, 22, 0.16);
      --theme-text: #3d2918;
    }
    .theme-purple {
      --theme-primary: #7c3aed;
      --theme-accent: #c4b5fd;
      --theme-soft: #f3efff;
      --theme-bg: #fbf8ff;
      --theme-card: rgba(255, 255, 255, 0.91);
      --theme-border: rgba(124, 58, 237, 0.16);
      --theme-text: #2f2445;
    }
    .theme-sky {
      --theme-primary: #0284c7;
      --theme-accent: #7dd3fc;
      --theme-soft: #e0f2fe;
      --theme-bg: #f0f9ff;
      --theme-card: rgba(255, 255, 255, 0.9);
      --theme-border: rgba(2, 132, 199, 0.18);
      --theme-text: #0f2f44;
    }
    .theme-ivory {
      --theme-primary: #8a6a2a;
      --theme-accent: #d6b56d;
      --theme-soft: #fff8e7;
      --theme-bg: #fffdf6;
      --theme-card: rgba(255, 252, 242, 0.92);
      --theme-border: rgba(138, 106, 42, 0.16);
      --theme-text: #3d3322;
    }
    .theme-deep {
      --theme-primary: #0f4c5c;
      --theme-accent: #0f766e;
      --theme-soft: #e7f5f2;
      --theme-bg: #f6fbf8;
      --theme-card: rgba(255, 255, 255, 0.92);
      --theme-border: rgba(15, 118, 110, 0.18);
      --theme-text: #123136;
    }
    .theme-classic .invite-preview { background: linear-gradient(180deg, #fff, #f8fbfb 54%, #fff); }
    .theme-garden .invite-preview { background: linear-gradient(180deg, #eafaf1, #fff 46%, #f4fcf7); }
    .theme-pink .invite-preview { background: linear-gradient(180deg, #fff0f5, #fff 46%, #fff7fa); color: var(--theme-text); }
    .theme-soft-red .invite-preview { background: linear-gradient(180deg, #fff1f0, #fff 46%, #fff8f7); color: var(--theme-text); }
    .theme-deep-red .invite-preview { background: linear-gradient(180deg, #7f1d1d, #fff8f7 42%, #fff7f2); color: var(--theme-text); }
    .theme-blue .invite-preview { background: linear-gradient(180deg, #eef7ff, #fff 46%, #f7fbff); color: var(--theme-text); }
    .theme-orange .invite-preview { background: linear-gradient(180deg, #fff7ed, #fff 46%, #fffaf5); color: var(--theme-text); }
    .theme-purple .invite-preview { background: linear-gradient(180deg, #f3efff, #fff 46%, #fbf8ff); color: var(--theme-text); }
    .theme-sky .invite-preview { background: linear-gradient(180deg, #e0f2fe, #fff 46%, #f0f9ff); color: var(--theme-text); }
    .theme-ivory .invite-preview { background: linear-gradient(180deg, #fff8e7, #fff 46%, #fffdf6); color: var(--theme-text); }
    .theme-deep .invite-preview { background: linear-gradient(180deg, #e7f5f2, #fff 46%, #f6fbf8); }
    .cover {
      min-height: 245px;
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 24px;
      background:
        linear-gradient(180deg, rgba(16, 42, 46, 0.08), rgba(16, 42, 46, 0.22)),
        var(--theme-soft, #e7f5f2);
    }
    .cover.has-cover-image {
      min-height: 0;
      display: block;
      padding: 0;
    }
    .cover img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #f8fbfb;
    }
    .cover.has-cover-image img {
      position: relative;
      inset: auto;
      display: block;
      width: 100%;
      height: auto;
    }
    .cover-text {
      position: relative;
      z-index: 1;
      width: 100%;
      padding: 20px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.50);
      backdrop-filter: blur(5px);
      text-align: center;
    }
    .cover.has-cover-image .cover-text {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 24px;
      width: auto;
    }
    .theme-pink .cover-text { background: rgba(255, 240, 245, 0.48); }
    .theme-soft-red .cover-text { background: rgba(255, 241, 240, 0.50); }
    .theme-deep-red .cover-text { background: rgba(127, 29, 29, 0.36); }
    .theme-garden .cover-text { background: rgba(234, 250, 241, 0.48); }
    .theme-blue .cover-text { background: rgba(238, 247, 255, 0.48); }
    .theme-orange .cover-text { background: rgba(255, 244, 229, 0.56); }
    .theme-purple .cover-text { background: rgba(243, 239, 255, 0.56); }
    .theme-sky .cover-text { background: rgba(224, 242, 254, 0.50); }
    .theme-ivory .cover-text { background: rgba(255, 248, 231, 0.56); }
    .theme-deep .cover-text { background: rgba(16, 42, 46, 0.36); }
    .theme-deep-red .cover-text,
    .theme-deep-red .cover-text p { color: #fff; }
    .cover-text small {
      display: inline-flex;
      margin-bottom: 8px;
      color: var(--theme-primary, var(--teal));
      font-weight: 900;
    }
    .theme-deep .cover-text small { color: #a7f3d0; }
    .cover-text h2 {
      margin: 0;
      font-size: 29px;
      line-height: 1.18;
      letter-spacing: -0.045em;
    }
    .cover-text p {
      margin: 8px 0 0;
      color: #36565c;
      font-size: 14px;
    }
    .cover-text .wedding-preview-names {
      display: grid;
      gap: 4px;
      justify-items: center;
      color: #244449;
      font-weight: 900;
    }
    .cover-text .wedding-preview-names .heart {
      color: #f9a8d4;
      padding: 0 4px;
    }
    .cover-text .wedding-preview-names small {
      margin: 0;
      color: var(--theme-primary, var(--teal));
      font-size: 11px;
      letter-spacing: 0;
    }
    .preview-body {
      display: grid;
      gap: 18px;
      padding: 22px;
    }
    .preview-section {
      padding: 16px;
      border: 1px solid var(--theme-border, rgba(16, 42, 46, 0.1));
      border-radius: 12px;
      background: var(--theme-card, rgba(255, 255, 255, 0.84));
    }
    .preview-section b {
      display: block;
      margin-bottom: 6px;
      color: var(--theme-primary, var(--primary));
      font-size: 13px;
    }
    .preview-section p { margin: 0; color: var(--theme-text, #36565c); }
    .preview-section {
      line-height: 1.72;
    }
    .bulletin-preview {
      min-height: 660px;
      padding: 7px 7px 88px;
      background: var(--theme-bg, #f0f9ff);
      color: var(--theme-text, #34413c);
    }
    .bulletin-preview.has-bg-image {
      background: var(--theme-bg, #f0f9ff);
    }
    .theme-pink .bulletin-preview,
    .theme-soft-red .bulletin-preview,
    .theme-deep-red .bulletin-preview,
    .theme-garden .bulletin-preview,
    .theme-blue .bulletin-preview,
    .theme-orange .bulletin-preview,
    .theme-purple .bulletin-preview,
    .theme-sky .bulletin-preview,
    .theme-ivory .bulletin-preview,
    .theme-deep .bulletin-preview { background: var(--theme-bg, #f0f9ff); }
    .bulletin-hero {
      position: relative;
      overflow: hidden;
      padding: 26px 20px;
      border-radius: 24px;
      background: var(--theme-soft, #e0f2fe);
      border: 1px solid var(--theme-border, rgba(125, 211, 252, .28));
    }
    .bulletin-preview.has-bg-image .bulletin-hero {
      background:
        linear-gradient(rgba(255, 255, 255, .40), rgba(255, 255, 255, .30)),
        var(--bulletin-bg-image) center / cover no-repeat;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
    }
    .bulletin-preview.has-bg-image .bulletin-denomination,
    .bulletin-preview.has-bg-image .bulletin-church,
    .bulletin-preview.has-bg-image .bulletin-hero h2,
    .bulletin-preview.has-bg-image .bulletin-date {
      text-shadow: 0 1px 8px rgba(255,255,255,.88), 0 1px 2px rgba(255,255,255,.72);
    }
    .bulletin-preview.has-bg-image .bulletin-intro,
    .bulletin-preview.has-bg-image .bulletin-verse {
      background: rgba(255,255,255,.58);
      box-shadow: 0 10px 24px rgba(15, 52, 61, .08);
      text-shadow: 0 1px 6px rgba(255,255,255,.82);
    }
    .bulletin-hero::before,
    .bulletin-hero::after {
      position: absolute;
      color: var(--theme-accent, #b28b46);
      opacity: .28;
      font-size: 58px;
      line-height: 1;
    }
    .bulletin-hero::before {
      content: "";
      right: 18px;
      top: 12px;
      width: 48px;
      height: 48px;
      background: url("/img/b500.png?v=20260524-gdrive") center / contain no-repeat;
      opacity: .42;
    }
    .bulletin-hero::after { content: "☁"; left: 18px; bottom: -12px; }
    .bulletin-denomination {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--theme-primary, #8a6a2a);
      font-size: 13px;
      font-weight: 900;
    }
    .bulletin-denomination[hidden] {
      display: none;
    }
    .bulletin-denomination {
      margin: 0 0 5px;
      color: color-mix(in srgb, var(--theme-primary, #8a6a2a) 84%, var(--theme-text, #34413c));
      font-size: 12px;
      font-weight: 800;
    }
    .bulletin-denomination::before {
      content: "";
      width: 22px;
      height: 22px;
      display: inline-block;
      background-image: var(--denomination-icon, url("/img/icon-003.png?v=20260530-denomination"));
      background-position: center;
      background-size: contain;
      background-repeat: no-repeat;
      flex: 0 0 auto;
    }
    .bulletin-hero h2 {
      position: relative;
      z-index: 1;
      margin: 8px 0 8px;
      color: var(--theme-primary, #1d3f37);
      font-size: 30px;
      line-height: 1.12;
      letter-spacing: -0.04em;
      white-space: pre-line;
    }
    .bulletin-date {
      position: relative;
      z-index: 1;
      margin: 0 0 16px;
      color: var(--theme-text, #6b7b73);
      opacity: .74;
      font-size: 14px;
      font-weight: 800;
    }
    .bulletin-intro,
    .bulletin-verse {
      position: relative;
      z-index: 1;
      margin: 0;
      padding: 13px 14px;
      border-radius: 18px;
      background: var(--theme-card, rgba(255, 255, 255, .86));
      color: var(--theme-text, #49554f);
      font-size: 14px;
      line-height: 1.75;
      white-space: pre-line;
    }
    .bulletin-verse + .bulletin-intro {
      margin-top: 14px;
    }
    .bulletin-intro[hidden] { display: none; }
    .bulletin-body {
      display: grid;
      gap: 11px;
      padding: 10px 0 4px;
    }
    .bulletin-custom-sections {
      display: grid;
      gap: 11px;
    }
    .bulletin-custom-sections[hidden] {
      display: none;
    }
    .bulletin-card {
      padding: 17px;
      border: 1px solid var(--theme-border, rgba(190, 146, 71, .15));
      border-radius: 20px;
      background: var(--theme-card, rgba(255, 255, 255, .82));
      box-shadow: 0 4px 10px rgba(16, 42, 46, .05);
    }
    .bulletin-card h3 {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 12px;
      color: var(--theme-primary, #1f4a42);
      font-size: 18px;
      letter-spacing: -0.04em;
    }
    .bulletin-card h3::before {
      width: 30px;
      height: 30px;
      display: inline-grid;
      place-items: center;
      border-radius: 12px;
      background: var(--theme-soft, #f1f8e9);
      color: var(--theme-primary, #1f4a42);
      font-size: 11px;
      font-weight: 900;
      content: attr(data-icon);
    }
    .bulletin-card p {
      margin: 0;
      color: var(--theme-text, #53635c);
      font-size: 14px;
      line-height: 1.72;
      white-space: pre-line;
    }
    .bulletin-video-frame {
      width: 100%;
      aspect-ratio: 16 / 9;
      border: 0;
      border-radius: 16px;
      background: var(--theme-soft, #f5ead0);
    }
    .bulletin-youtube-link {
      min-height: 66px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 1px solid var(--theme-border, #d7e8e8);
      border-radius: 18px;
      background: var(--theme-soft, #eef8f7);
      color: var(--theme-primary, #0f7980);
      text-decoration: none;
    }
    .bulletin-youtube-icon {
      width: 36px;
      height: 36px;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 13px;
      background: var(--theme-primary, #0f7980);
      color: var(--theme-card, #ffffff);
      font-size: 15px;
      line-height: 1;
    }
    .bulletin-youtube-copy {
      display: grid;
      gap: 3px;
      line-height: 1.25;
    }
    .bulletin-youtube-copy em {
      color: var(--theme-text, #53635c);
      font-size: 13px;
      font-style: normal;
      font-weight: 800;
    }
    .bulletin-youtube-copy strong {
      color: var(--theme-primary, #0f7980);
      font-size: 18px;
      font-weight: 900;
      letter-spacing: 0;
    }
    .bulletin-video-list {
      display: grid;
      gap: 12px;
    }
    .bulletin-card[hidden] {
      display: none;
    }
    .bulletin-collapse-toggle-row {
      display: flex;
      justify-content: flex-end;
      margin: -4px 0 0;
    }
    .bulletin-collapse-toggle,
    .bulletin-collapse-close {
      min-height: 38px;
      padding: 0 16px;
      border: 0;
      border-radius: 999px;
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #71562a);
      font: inherit;
      font-size: 13px;
      font-weight: 900;
      cursor: pointer;
    }
    .bulletin-collapse-close {
      width: 100%;
      margin-top: 14px;
    }
    .bulletin-collapsible-content {
      margin-top: 12px;
    }
    #bulletinPreviewCustomSections .bulletin-collapsible-content {
      max-height: min(360px, 54vh);
      overflow-y: auto;
      overscroll-behavior: contain;
      padding-right: 4px;
      scrollbar-width: thin;
    }
    #bulletinPreviewCustomSections .bulletin-collapsible-content p {
      overflow-wrap: anywhere;
      word-break: keep-all;
    }
    .bulletin-collapsible-content[hidden] {
      display: none;
    }
    .bulletin-card.is-open .bulletin-collapse-open {
      display: none;
    }
    .bulletin-worship-grid {
      display: grid;
      gap: 8px;
    }
    .bulletin-worship-grid span {
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr);
      gap: 8px;
      color: var(--theme-text, #53635c);
      font-size: 14px;
      line-height: 1.55;
    }
    .bulletin-worship-grid span.bulletin-scripture-row {
      grid-template-columns: 74px minmax(0, 1fr);
    }
    .bulletin-worship-grid b {
      color: var(--theme-primary, #91713a);
      font-size: 13px;
    }
    .bulletin-worship-grid em {
      min-width: 0;
      color: var(--theme-text, #42524b);
      font-style: normal;
      overflow-wrap: anywhere;
    }
    .bulletin-scripture-detail {
      display: grid;
      gap: 8px;
      justify-items: start;
    }
    .bulletin-scripture-detail > span {
      overflow-wrap: break-word;
      word-break: keep-all;
      white-space: nowrap;
    }
    .bulletin-mini-action {
      min-height: 30px;
      padding: 0 12px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #71562a);
      font: inherit;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
    }
    .bulletin-mini-action[hidden] {
      display: none;
    }
    .bulletin-offering-options {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }
    .bulletin-offering-options[hidden] {
      display: none;
    }
    .bulletin-offering-options button {
      min-height: 42px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #1f4a42);
      font: inherit;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }
    .bulletin-scripture-modal {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: grid;
      place-items: center;
      padding: 22px;
      background: rgba(10, 31, 35, .42);
    }
    .bulletin-scripture-modal[hidden] {
      display: none;
    }
    .bulletin-scripture-dialog {
      width: min(360px, 100%);
      max-height: min(72vh, 560px);
      display: grid;
      gap: 14px;
      padding: 22px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 24px;
      background: var(--theme-card, #fff);
      box-shadow: 0 24px 60px rgba(16, 42, 46, .24);
      overflow: auto;
    }
    .bulletin-scripture-dialog h4 {
      margin: 0;
      color: var(--theme-primary, #1f4a42);
      font-size: 19px;
    }
    .bulletin-scripture-dialog .intercession-share-title {
      font-size: 14px;
      line-height: 1.45;
    }
    .bulletin-scripture-dialog p {
      white-space: pre-line;
    }
    .bulletin-scripture-dialog p a {
      color: var(--theme-primary, #1f4a42);
      font-weight: 850;
      text-decoration: underline;
      text-underline-offset: 3px;
      overflow-wrap: anywhere;
    }
    .bulletin-order-content-image {
      width: 100%;
      max-height: 360px;
      border-radius: 18px;
      object-fit: contain;
      background: rgba(255, 255, 255, .7);
    }
    .bulletin-order-content-image[hidden] {
      display: none;
    }
    .bulletin-new-family-form {
      display: grid;
      gap: 10px;
    }
    .bulletin-new-family-form label {
      display: grid;
      gap: 5px;
      color: var(--theme-primary, #1f4a42);
      font-size: 12px;
      font-weight: 650;
    }
    .bulletin-new-family-form input,
    .bulletin-new-family-form select,
    .bulletin-new-family-form textarea {
      width: 100%;
      min-height: 42px;
      padding: 9px 11px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 12px;
      background: rgba(255, 255, 255, .92);
      color: var(--theme-text, #53635c);
      font: inherit;
      font-size: 14px;
      font-weight: 500;
    }
    .bulletin-new-family-form textarea {
      min-height: 120px;
      resize: vertical;
    }
    .bulletin-new-family-form .two {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .bulletin-new-family-form .submit {
      min-height: 46px;
      border: 0;
      border-radius: 999px;
      background: var(--theme-primary, #1f4a42);
      color: #fff;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
    }
    .bulletin-list {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .bulletin-list li {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      color: var(--theme-text, #53635c);
      font-size: 14px;
      line-height: 1.6;
    }
    .bulletin-list a {
      color: var(--theme-primary, var(--primary));
      font-weight: 900;
      text-decoration: none;
    }
    .bulletin-titled-row {
      display: grid;
      gap: 4px;
    }
    .bulletin-titled-row small {
      color: var(--theme-primary, #1f4a42);
      font-size: 12px;
      font-weight: 850;
      line-height: 1.35;
    }
    .bulletin-titled-row strong {
      color: var(--theme-primary, #1f4a42);
      font-size: 14px;
      font-weight: 800;
      line-height: 1.45;
    }
    .bulletin-titled-row span {
      color: var(--theme-text, #53635c);
      font-size: 14px;
      line-height: 1.65;
      white-space: pre-line;
    }
    .bulletin-prayer-action {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }
    .bulletin-prayer-action-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .bulletin-prayer-action button {
      min-height: 44px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-primary, #1f4a42);
      color: #fff;
      font: inherit;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }
    .bulletin-prayer-action [data-intercession-share-open] {
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #1f4a42);
    }
    .bulletin-prayer-action span {
      color: var(--theme-primary, #1f4a42);
      font-size: 13px;
      font-weight: 450;
      text-align: left;
    }
    .bulletin-prayer-action span strong {
      color: #d85c64;
      font-size: 15px;
      font-weight: 850;
    }
    .bulletin-intercession-share-count-row {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 6px;
      min-width: 0;
    }
    .bulletin-intercession-share-count-row span {
      min-width: 0;
    }
    .bulletin-intercession-share-count-row button {
      min-height: 24px;
      padding: 0 10px;
      border: 1px solid color-mix(in srgb, var(--theme-primary, #1f4a42) 18%, white);
      border-radius: 999px;
      background: color-mix(in srgb, var(--theme-soft, #f5ead0) 72%, white);
      color: var(--theme-primary, #1f4a42);
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
    }
    .bulletin-intercession-shares {
      display: grid;
      gap: 7px;
    }
    .bulletin-intercession-shares[hidden] {
      display: none;
    }
    .bulletin-intercession-share-item {
      padding: 10px 12px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 14px;
      background: color-mix(in srgb, var(--theme-soft, #f5ead0) 58%, white);
    }
    .bulletin-intercession-share-item strong {
      display: block;
      margin-bottom: 4px;
      color: var(--theme-primary, #1f4a42);
      font-size: 13px;
    }
    .bulletin-intercession-share-item p {
      margin: 0;
      font-size: 13px;
      line-height: 1.6;
    }
    .bulletin-intercession-share-list-body {
      display: grid;
      gap: 8px;
      max-height: min(58vh, 430px);
      overflow: auto;
      padding: 2px;
    }
    .bulletin-list em {
      width: 26px;
      height: 26px;
      min-width: 26px;
      display: inline-grid;
      place-items: center;
      align-self: start;
      justify-self: start;
      min-height: 26px;
      border-radius: 999px;
      background: var(--theme-soft, #fff3cd);
      color: var(--theme-primary, #8a6a2a);
      font-style: normal;
      font-size: 12px;
      font-weight: 900;
      line-height: 1;
    }
    .bulletin-list.no-marker li {
      grid-template-columns: 1fr;
    }
    .bulletin-list li.bulletin-prayer-row {
      grid-template-columns: 1fr;
    }
    .bulletin-list.no-marker em {
      display: none;
    }
    .bulletin-list.order-list span {
      min-width: 0;
    }
    .bulletin-order-entry {
      display: grid;
      gap: 8px;
      min-width: 0;
    }
    .bulletin-order-entry .bulletin-mini-action {
      width: 33.333%;
      min-width: 74px;
      justify-self: end;
      padding: 0 10px;
    }
    .bulletin-order-line {
      display: grid;
      grid-template-columns: auto minmax(18px, 1fr) auto;
      align-items: baseline;
      column-gap: 6px;
      width: 100%;
      min-width: 0;
    }
    .bulletin-order-line strong,
    .bulletin-order-line b {
      min-width: 0;
      color: inherit;
      font: inherit;
      font-weight: 400;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }
    .bulletin-order-line i {
      min-width: 18px;
      height: 1em;
      border-bottom: 2px dotted currentColor;
      opacity: .88;
      transform: translateY(-0.22em);
    }
    .bulletin-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 12px;
    }
    .bulletin-actions.single {
      grid-template-columns: 1fr;
    }
    .bulletin-actions.single.align-left {
      grid-template-columns: minmax(132px, 172px);
      justify-content: start;
    }
    .bulletin-actions.single.align-right {
      grid-template-columns: minmax(132px, 172px);
      justify-content: end;
    }
    .bulletin-actions a,
    .bulletin-actions button {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #71562a);
      font: inherit;
      font-size: 14px;
      font-weight: 900;
      text-decoration: none;
      cursor: pointer;
    }
    .bulletin-actions .soft {
      background: var(--theme-soft, #f5ead0);
      color: var(--theme-primary, #71562a);
    }
    .bulletin-actions [aria-disabled="true"] {
      opacity: .48;
      pointer-events: none;
    }
    .bulletin-actions button:disabled {
      opacity: .48;
      cursor: not-allowed;
    }
    .bulletin-bottom-nav {
      position: sticky;
      left: 0;
      right: 0;
      bottom: 8px;
      z-index: 10;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 2px;
      margin-top: 12px;
      padding: 5px 8px;
      border: 1px solid var(--theme-border, rgba(16, 42, 46, .12));
      border-radius: 20px;
      background: rgba(255,255,255,.62);
      box-shadow: 0 8px 18px rgba(16,42,46,.08);
    }
    .bulletin-bottom-nav a,
    .bulletin-bottom-nav button {
      min-width: 0;
      min-height: 48px;
      display: grid;
      place-items: center;
      gap: 1px;
      padding: 3px 2px;
      border: 0;
      border-radius: 18px;
      background: transparent;
      color: var(--theme-text, #34413c);
      font: inherit;
      font-size: 11px;
      font-weight: 650;
      text-decoration: none;
      cursor: pointer;
      position: relative;
    }
    .bulletin-bottom-nav a::before,
    .bulletin-bottom-nav button::before {
      content: "";
      display: none;
    }
    .bulletin-bottom-nav .nav-icon {
      width: 23px;
      height: 23px;
      position: relative;
      z-index: 1;
      color: var(--theme-primary, #0f766e);
      stroke: currentColor;
      stroke-width: 2.25;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .bulletin-bottom-nav .kakao-icon {
      fill: currentColor;
      stroke: none;
    }
    .bulletin-bottom-nav span {
      position: relative;
      z-index: 1;
      color: var(--theme-text, #34413c);
    }
    .preview-greeting-section {
      padding: 18px 10px;
      border: 0;
      border-radius: 0;
      background: transparent;
      text-align: center;
    }
    .preview-greeting-section b {
      margin-bottom: 16px;
      color: var(--theme-primary, var(--teal));
      font-family: "Segoe Script", "Brush Script MT", "Apple Chancery", cursive;
      font-size: 18px;
    }
    .preview-greeting-section p {
      color: var(--theme-text, #244449);
      font-size: 13px;
      line-height: 2;
      white-space: pre-line;
    }
    .preview-family,
    .preview-contact {
      display: grid;
      gap: 7px;
      color: var(--theme-text, #36565c);
      font-size: 13px;
      line-height: 1.75;
    }
    .preview-family[hidden] { display: none; }
    .preview-family span,
    .preview-contact span {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
      text-align: left;
    }
    .preview-contact .church-contact-line strong {
      color: var(--theme-primary, #164e63);
      font-size: 14px;
      font-weight: 900;
    }
    .preview-contact em {
      color: var(--theme-text, #36565c);
      font-style: normal;
      word-break: break-word;
    }
    .preview-contact .call-button {
      background: var(--theme-primary, var(--primary));
    }
    .preview-family .family-note {
      justify-content: flex-start;
      color: #6b8085;
      font-size: 12px;
    }
    .preview-gift {
      display: grid;
      gap: 8px;
      color: var(--theme-text, #36565c);
      font-size: 13px;
      line-height: 1.75;
    }
    .church-fee-card {
      display: grid;
      gap: 12px;
      padding: 16px;
      border: 1px solid color-mix(in srgb, var(--theme-primary, #b23a48) 18%, white);
      border-radius: 18px;
      background: color-mix(in srgb, var(--theme-soft, #fff1f0) 78%, white);
    }
    .church-fee-head {
      display: flex;
      align-items: center;
      gap: 9px;
      color: var(--theme-primary, #b23a48);
      font-size: 17px;
      font-weight: 950;
    }
    .church-fee-icon {
      width: 30px;
      height: 30px;
      display: inline-grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 999px;
      background: color-mix(in srgb, var(--theme-soft, #fff1f0) 82%, white);
      color: var(--theme-primary, #b23a48);
      font-size: 14px;
      font-weight: 950;
    }
    .church-fee-pay-button {
      width: min(172px, 100%);
      min-height: 46px;
      justify-self: end;
      border: 1px solid color-mix(in srgb, var(--theme-primary, #b23a48) 22%, white);
      border-radius: 999px;
      background: color-mix(in srgb, var(--theme-soft, #fff1f0) 82%, white);
      color: var(--theme-primary, #b23a48);
      font: inherit;
      font-size: 14px;
      font-weight: 950;
      cursor: pointer;
    }
    .church-fee-options {
      display: grid;
      gap: 8px;
    }
    .church-fee-options[hidden] {
      display: none;
    }
    .church-fee-options button {
      min-height: 40px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-soft, #eef7f5);
      color: var(--theme-primary, var(--primary));
      font: inherit;
      font-size: 13px;
      font-weight: 850;
      cursor: pointer;
    }
    .preview-gift .gift-side {
      border: 0;
    }
    .preview-gift .gift-side summary {
      min-height: 54px;
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 14px;
      background: var(--theme-soft, #eef7f5);
      color: var(--theme-primary, var(--primary));
      font-weight: 900;
      cursor: pointer;
      list-style: none;
    }
    .preview-gift .gift-side summary::-webkit-details-marker { display: none; }
    .preview-gift .gift-side summary img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }
    .preview-gift .gift-side-list {
      display: grid;
      gap: 8px;
      padding-top: 8px;
    }
    .preview-gift .gift-account-row {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 9px 10px;
      border-radius: 10px;
      background: var(--theme-soft, #eef7f5);
      text-align: left;
    }
    .preview-gift strong { color: var(--theme-primary, var(--primary)); }
    .preview-gift em { color: var(--theme-text, #36565c); font-style: normal; }
    .gift-send-button {
      justify-self: center;
      min-height: 32px;
      margin-top: 5px;
      padding: 0 12px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, .16));
      border-radius: 999px;
      background: var(--theme-soft, #eef7f5);
      color: var(--theme-primary, var(--primary));
      font: inherit;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
    }
    .gift-pay-detail {
      display: grid;
      gap: 6px;
      margin: 12px 0;
      padding: 12px;
      border-radius: 10px;
      background: #f4fbfa;
      color: #14363b;
      font-size: 14px;
      line-height: 1.5;
    }
    .gift-pay-detail strong { color: var(--primary); }
    .manual-pay-card {
      width: min(440px, 100%);
      max-height: calc(100dvh - 24px);
      overflow: auto;
      text-align: center;
    }
    .manual-pay-icon {
      width: 42px;
      height: 30px;
      display: inline-grid;
      place-items: center;
      margin: 0 auto 10px;
      border-radius: 5px;
      background: linear-gradient(180deg, #4dd4e6 0 18%, #2387c9 18% 100%);
      box-shadow: inset 0 -7px 0 rgba(255, 201, 64, 0.95);
    }
    .manual-pay-card h2 {
      margin-bottom: 10px;
      font-size: 26px;
      letter-spacing: -0.05em;
    }
    .manual-pay-card p {
      line-height: 1.65;
    }
    .manual-pay-summary {
      display: grid;
      gap: 9px;
      margin: 16px 0;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #f8fafc;
      text-align: left;
    }
    .manual-pay-summary label,
    .manual-pay-summary span {
      display: grid;
      grid-template-columns: 80px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      color: #36565c;
      font-size: 14px;
      font-weight: 800;
    }
    .manual-pay-summary input {
      width: 100%;
      min-height: 32px;
      padding: 0;
      border: 0;
      background: transparent;
      color: #001b22;
      font: inherit;
      font-weight: 900;
      text-align: right;
      outline: 0;
    }
    .manual-pay-summary b {
      text-align: right;
      color: #001b22;
      font-size: 15px;
    }
    .manual-pay-field {
      display: grid;
      gap: 7px;
      margin-top: 12px;
      text-align: left;
    }
    .manual-pay-field label {
      color: #001b22;
      font-size: 13px;
      font-weight: 900;
    }
    .manual-pay-field select,
    .manual-pay-field input {
      width: 100%;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      font: inherit;
      font-weight: 800;
    }
    .gift-pay-amount {
      width: 100%;
      min-height: 44px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      font: inherit;
    }
    @media (max-width: 420px) {
      .preview-gift .gift-account-row {
        grid-template-columns: 1fr auto;
      }
      .preview-gift strong {
        grid-column: 1 / -1;
      }
    }
    .name-phone-link {
      color: inherit;
      font-weight: 900;
      text-decoration: none;
    }
    .calendar-preview {
      display: grid;
      grid-template-columns: 82px minmax(0, 1fr);
      gap: 12px;
      align-items: stretch;
      margin-top: 12px;
    }
    .calendar-preview[hidden] { display: none; }
    .calendar-date-box {
      display: grid;
      justify-items: center;
      align-content: center;
      min-height: 94px;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, 0.18));
      background: #fff;
    }
    .calendar-date-box span {
      width: 100%;
      padding: 5px 0;
      background: var(--theme-primary, var(--primary));
      color: #fff;
      text-align: center;
      font-size: 12px;
      font-weight: 900;
    }
    .calendar-date-box strong {
      margin-top: 6px;
      color: var(--theme-text, var(--ink));
      font-size: 34px;
      line-height: 1;
      letter-spacing: 0;
    }
    .calendar-date-box em {
      color: var(--muted);
      font-size: 12px;
      font-style: normal;
      font-weight: 800;
    }
    .calendar-dday {
      display: grid;
      align-content: center;
      gap: 5px;
      padding: 14px;
      border-radius: 12px;
      background: var(--theme-soft, #eef7f5);
    }
    .calendar-dday span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
    }
    .calendar-dday strong {
      color: var(--theme-primary, var(--teal));
      font-size: 24px;
      line-height: 1;
      letter-spacing: 0;
    }
    .calendar-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      margin-top: 10px;
      padding: 0 13px;
      border-radius: 999px;
      background: #03c75a;
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      text-decoration: none;
    }
    .calendar-link[hidden] { display: none; }
    .naver-map-preview {
      display: grid;
      gap: 9px;
      margin-top: 12px;
      padding: 14px;
      border: 1px solid var(--theme-border, rgba(15, 118, 110, 0.2));
      border-radius: 12px;
      background-color: var(--theme-soft, #e7f5f2);
      background-image:
        linear-gradient(var(--theme-border, rgba(15, 118, 110, 0.08)) 1px, transparent 1px),
        linear-gradient(90deg, var(--theme-border, rgba(15, 118, 110, 0.08)) 1px, transparent 1px);
      background-size: 20px 20px;
      color: var(--theme-text, var(--ink));
      text-decoration: none;
    }
    .naver-map-preview[hidden] { display: none; }
    .naver-map-preview strong {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      letter-spacing: -0.03em;
    }
    .naver-map-preview strong::before {
      display: none;
      content: none;
    }
    .naver-map-preview .map-icon {
      width: 32px;
      height: 32px;
      flex: 0 0 32px;
      object-fit: contain;
    }
    .naver-map-preview span {
      color: var(--theme-text, #36565c);
      font-size: 13px;
      line-height: 1.45;
    }
    .naver-map-preview em {
      justify-self: start;
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--theme-primary, var(--primary));
      color: #fff;
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }
    .bulletin-map-preview {
      margin-top: 0;
    }
    .bulletin-map-preview em {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 14px;
    }
    .preview-cta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .preview-cta span {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: var(--theme-soft, #eef7f5);
      color: var(--theme-primary, var(--primary));
      font-size: 13px;
      font-weight: 900;
    }
    .preview-cta span[data-copy-preview-url] { cursor: pointer; }
    .preview-guestbook {
      display: grid;
      gap: 10px;
    }
    .guestbook-card {
      display: grid;
      gap: 9px;
      padding: 14px;
      border-radius: 12px;
      background: #fff;
      color: var(--theme-text, #36565c);
      text-align: left;
    }
    .guestbook-card strong {
      color: var(--theme-primary, var(--primary));
      font-size: 13px;
    }
    .guestbook-card p {
      margin: 0;
      white-space: pre-line;
      line-height: 1.75;
    }
    .guestbook-card time {
      color: #8a9a9d;
      font-size: 12px;
      text-align: right;
    }
    .guestbook-empty {
      margin: 0;
      color: #71858a;
      font-size: 13px;
      text-align: center;
    }
    .guestbook-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 10px;
    }
    .guestbook-actions button {
      min-height: 38px;
      border: 0;
      border-radius: 999px;
      background: #fff;
      color: var(--theme-primary, var(--primary));
      font: inherit;
      font-size: 13px;
      font-weight: 900;
      cursor: pointer;
    }
    .modal {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: none;
      place-items: center;
      padding: 24px;
      background: rgba(16, 42, 46, 0.5);
    }
    .modal.is-open { display: grid; }
    .photo-modal-card {
      width: min(720px, 100%);
      padding: 14px;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    }
    .photo-modal-card img {
      width: 100%;
      max-height: 78vh;
      display: block;
      object-fit: contain;
      border-radius: 8px;
      background: #f8fbfb;
    }
    .modal-card {
      width: min(420px, 100%);
      padding: 24px;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    }
    .modal-card h2 { margin: 0 0 8px; font-size: 24px; }
    .modal-card p { margin: 0 0 18px; color: var(--muted); }
    .modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
    .postcode-modal-card {
      width: min(560px, calc(100vw - 28px));
      height: min(650px, calc(100vh - 56px));
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      overflow: hidden;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    }
    .postcode-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
    }
    .postcode-modal-head h2 {
      margin: 0;
      color: var(--ink);
      font-size: 18px;
      letter-spacing: -0.02em;
    }
    .postcode-modal-body {
      min-height: 0;
    }
    .modal-actions.is-load-list {
      display: grid;
      gap: 8px;
      justify-content: stretch;
    }
    .load-list-item {
      width: 100%;
      display: grid;
      gap: 3px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8fbfb;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
      font: inherit;
    }
    .load-list-item b { font-size: 14px; }
    .load-list-item span { color: var(--muted); font-size: 12px; }
    .guestbook-modal-card {
      width: min(420px, 100%);
      display: grid;
      gap: 14px;
      padding: 24px;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    }
    .guestbook-modal-card h2 {
      margin: 0;
      font-size: 22px;
      letter-spacing: -0.04em;
    }
    .guestbook-modal-card p {
      margin: -6px 0 2px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55;
    }
    .guestbook-modal-card label {
      display: grid;
      gap: 7px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
    }
    .guestbook-modal-card input,
    .guestbook-modal-card textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8fbfb;
      color: var(--ink);
      font: inherit;
      font-size: 15px;
    }
    .guestbook-modal-card input { height: 46px; padding: 0 12px; }
    .guestbook-modal-card textarea {
      min-height: 138px;
      padding: 12px;
      resize: vertical;
      line-height: 1.6;
    }
    .guestbook-modal-card .modal-actions {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 8px;
      margin-top: 2px;
    }
    .guestbook-modal-card .modal-actions .btn { min-height: 42px; }
    .guestbook-submit-btn {
      border-color: var(--primary);
      background: linear-gradient(135deg, var(--teal), var(--primary));
      color: #fff;
      box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
    }
    .manual-pay-card .modal-actions {
      position: sticky;
      bottom: -24px;
      display: grid;
      grid-template-columns: 1fr 1.25fr;
      gap: 10px;
      margin: 4px -24px -24px;
      padding: 12px 24px 24px;
      border-top: 1px solid rgba(16, 42, 46, 0.08);
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .manual-pay-card .modal-actions .btn {
      min-height: 46px;
      border-radius: 12px;
    }
    .manual-pay-card .modal-actions .btn-primary {
      border-color: #db2777;
      background: #db2777;
    }
    .preview-modal-card {
      width: min(430px, 100%);
      max-height: calc(100vh - 40px);
      display: grid;
      gap: 14px;
      overflow: auto;
      padding: 18px;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    }
    .preview-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .preview-modal-head h2 {
      margin: 0;
      font-size: 20px;
      letter-spacing: -0.04em;
    }
    .preview-modal-card .phone {
      width: 100%;
      box-shadow: none;
    }
    .saved-section {
      padding: 0 0 80px;
    }
    .saved-card {
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.96);
      box-shadow: var(--shadow);
    }
    .saved-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }
    .saved-head h2 {
      margin: 0;
      font-size: 26px;
      letter-spacing: -0.04em;
    }
    .saved-head p {
      margin: 4px 0 0;
      color: var(--muted);
    }
    .saved-count {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      padding: 0 13px;
      border-radius: 999px;
      color: var(--primary);
      background: #eef7f5;
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
    }
    .saved-tools {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 8px;
    }
    .saved-sort-control,
    .load-sort-control {
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f8fbfb;
    }
    .saved-sort-btn,
    .load-sort-btn {
      min-height: 30px;
      padding: 0 10px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-size: 12px;
      font-weight: 900;
    }
    .saved-sort-btn.is-active,
    .load-sort-btn.is-active {
      color: #fff;
      background: var(--primary);
    }
    .saved-list {
      display: grid;
      gap: 10px;
    }
    .saved-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      padding: 18px 0 2px;
    }
    .saved-page-btn {
      min-width: 36px;
      min-height: 34px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      color: var(--primary);
      cursor: pointer;
      font-weight: 850;
    }
    .saved-page-btn.active { color: #fff; background: var(--primary); border-color: var(--primary); }
    .saved-page-btn:disabled { opacity: 0.45; cursor: default; }

    .saved-empty {
      padding: 26px;
      border: 1px dashed rgba(15, 118, 110, 0.28);
      border-radius: 8px;
      color: var(--muted);
      background: #f8fbfb;
      text-align: center;
    }
    .saved-item {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #fff;
      cursor: pointer;
    }
    .saved-item.is-open {
      border-color: rgba(15, 118, 110, 0.32);
      background: #fbfdfc;
    }
    .saved-thumb {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: 8px;
      background: linear-gradient(135deg, #eef7f5, #f8fbfb);
    }
    .saved-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .saved-thumb span {
      color: var(--primary);
      font-size: 12px;
      font-weight: 900;
      text-align: center;
    }
    .saved-info {
      min-width: 0;
    }
    .saved-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 5px;
    }
    .saved-badge {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      padding: 0 8px;
      border-radius: 999px;
      color: var(--primary);
      background: #eef7f5;
      font-size: 12px;
      font-weight: 850;
    }
    .saved-badge[data-saved-copy-badge] {
      cursor: copy;
    }
    .saved-info h3 {
      margin: 0;
      overflow: hidden;
      color: var(--ink);
      font-size: 18px;
      letter-spacing: -0.035em;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .saved-info p {
      margin: 3px 0 0;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .saved-date-lines {
      display: grid;
      gap: 2px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
      text-align: right;
      white-space: nowrap;
    }
    .saved-date-lines b {
      color: var(--ink);
      font-size: 11px;
      font-weight: 900;
    }
    .saved-meta {
      display: grid;
      justify-items: end;
      gap: 9px;
      align-self: center;
    }
    .saved-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 7px;
      max-width: 360px;
    }
    .saved-actions .btn {
      min-height: 36px;
      padding: 0 11px;
      border-radius: 6px;
      font-size: 13px;
    }
    .saved-detail {
      grid-column: 1 / -1;
      display: none;
      padding-top: 12px;
      border-top: 1px solid rgba(16, 42, 46, 0.08);
      cursor: default;
    }
    .saved-item.is-open .saved-detail { display: block; }
    .detail-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .detail-box,
    .saved-detail-box {
      min-height: 64px;
      padding: 11px 12px;
      border: 1px solid rgba(16, 42, 46, 0.1);
      border-radius: 8px;
      background: #fff;
    }
    .detail-box small,
    .saved-detail-box small {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-weight: 850;
    }
    .detail-box b,
    .detail-box p,
    .saved-detail-box b,
    .saved-detail-box p {
      margin: 0;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.55;
      white-space: pre-line;
      word-break: break-word;
    }
    .detail-box b { display: block; }
    .detail-box.full,
    .saved-detail-box.full { grid-column: 1 / -1; }
    .week-nav-edit {
      grid-column: 1 / -1;
      display: grid;
      gap: 10px;
      padding: 14px;
      border: 1px solid rgba(15, 118, 110, 0.16);
      border-radius: 9px;
      background: #f8fbfb;
    }
    .week-nav-edit h4 {
      margin: 0;
      color: var(--primary);
      font-size: 15px;
      letter-spacing: -0.03em;
    }
    .week-nav-edit-fields {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    .week-nav-edit label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 850;
    }
    .week-nav-edit input {
      width: 100%;
      min-height: 40px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      color: var(--ink);
      font: inherit;
      font-size: 14px;
    }
    .week-nav-edit-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }
    .detail-share-button {
      width: 100%;
      min-height: 36px;
      padding: 0 11px;
      border: 1px solid rgba(15, 118, 110, 0.16);
      border-radius: 8px;
      background: #eef7f5;
      color: var(--primary);
      cursor: pointer;
      font: inherit;
      font-size: 13px;
      font-weight: 900;
      text-align: left;
      overflow-wrap: anywhere;
    }
    .detail-phone-line,
    .saved-phone-line {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 7px;
      margin-top: 6px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 850;
    }
    .detail-phone-line:first-of-type,
    .saved-phone-line:first-of-type { margin-top: 0; }
    .detail-phone-button,
    .saved-phone-button {
      min-height: 28px;
      padding: 0 10px;
      border: 1px solid rgba(15, 118, 110, 0.16);
      border-radius: 999px;
      background: #eef7f5;
      color: var(--primary);
      cursor: pointer;
      font: inherit;
      font-size: 12px;
      font-weight: 900;
    }
    .detail-phone-value[hidden],
    .saved-phone-value[hidden] { display: none; }
    .btn-danger {
      color: #fff;
      background: #dc2626;
    }
    @media (max-width: 980px) {
      .hero-grid,
      .builder { grid-template-columns: 1fr; }
      .preview-shell { position: static; }
    }
    @media (max-width: 720px) {
      .container { width: min(100% - 24px, var(--max)); }
      .hero { padding-top: 18px; }
      .hero-grid,
      .builder-card,
      .preview-shell { padding: 20px; }
      .form-grid,
      .family-row,
      .gift-row,
      .bulletin-offering-grid,
      .offering-editor-fields,
      .intercession-editor-row,
      .servant-editor-row,
      .address-row,
      .slug-row { grid-template-columns: 1fr; }
      .bulletin-fields { grid-template-columns: 1fr; padding: 14px; }
      .side-card { min-height: 72px; }
      .side-card img { width: 44px; height: 44px; }
      .builder-head { align-items: flex-start; flex-direction: column; }
      .segmented { width: 100%; }
      .segmented button { padding: 0 8px; font-size: 14px; }
      .form-actions { justify-content: stretch; }
      .form-actions .btn { flex: 1 1 140px; }
      .saved-head {
        align-items: flex-start;
        flex-direction: column;
      }
      .saved-tools { width: 100%; justify-content: space-between; }
      .saved-item {
        grid-template-columns: 56px minmax(0, 1fr);
      }
      .saved-thumb {
        width: 56px;
        height: 56px;
      }
      .saved-actions {
        justify-content: stretch;
        max-width: none;
      }
      .saved-actions .btn {
        flex: 1 1 110px;
      }
      .saved-meta {
        grid-column: 1 / -1;
        justify-items: stretch;
      }
      .saved-date-lines {
        text-align: left;
      }
      .saved-detail,
      .detail-grid {
        grid-template-columns: 1fr;
      }
      .week-nav-edit-fields { grid-template-columns: 1fr; }
    }
