.book-preview-toolbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 22px;display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:20px 0 35px}.book-preview-toolbar label{margin:0 0 7px;font-size:12px}.book-preview-toolbar select{min-width:240px;padding:10px}.book-preview-toolbar p{width:100%;font-size:12px;color:var(--muted);line-height:1.7;margin:0}.book-preview-summary{display:grid;gap:6px;font-size:13px}.book-preview-summary span{font-size:12px;color:var(--muted)}#bookSource{position:absolute;left:-20000px;top:0;width:793.7008px;pointer-events:none;visibility:hidden}#bookSource>.paper{max-width:none;width:793.7008px}.book-pages{width:100%}.book-preparing{position:absolute;left:-20000px;width:900px;visibility:hidden}.book-leaf{position:relative;margin:42px auto 56px;break-inside:avoid}.book-sheet{position:relative;width:var(--paper-width,793.7008px);height:var(--paper-height,1122.5197px);background:#fff;box-shadow:0 5px 25px #203c3220;overflow:hidden;transform:scale(var(--screen-fit,1));transform-origin:top left}.book-a4{position:absolute;width:793.7008px;height:1122.5197px;overflow:hidden;background:#fff;transform-origin:top left;font-size:13px;line-height:1.65;print-color-adjust:exact;-webkit-print-color-adjust:exact}.book-content{position:absolute;left:25mm;right:15mm;top:15mm;bottom:15mm;display:flow-root;overflow:visible}.book-content h1{font-size:28px;margin:0 0 24px;line-height:1.4}.book-content h2{font-size:23px;margin:14px 0 24px;line-height:1.45}.book-content h3{font-size:17px;margin:24px 0 12px}.book-content p{white-space:pre-wrap;overflow-wrap:anywhere;color:#546258;margin:12px 0;font-size:13px;line-height:1.8}.book-content .book-prose{margin-top:22px}.book-content .row{font-size:13px;padding:12px 0;min-height:42px;color:var(--ink);white-space:normal;overflow-wrap:anywhere}.book-toc-page{min-width:34px;text-align:right;margin-left:auto;flex-shrink:0;font-variant-numeric:tabular-nums;color:var(--muted)}.book-content table{width:100%;table-layout:fixed;margin:16px 0;font-size:11px;line-height:1.65;border-collapse:collapse}.book-content td,.book-content th{white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.book-content .book-table td{height:48px}.book-content .book-image{margin:16px 0}.book-content .book-image img{max-width:100%;max-height:780px;object-fit:contain}.book-content figcaption{font-size:11px;line-height:1.6}.book-cover-content{position:absolute;inset:0 15mm 0 25mm}.book-cover-content .cover-stage{width:100%;height:100%;aspect-ratio:auto;box-shadow:none}.book-page-label{position:absolute;left:0;top:-26px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.book-page-footer{position:absolute;bottom:6mm;left:25mm;right:15mm;text-align:center;color:#879486;font-size:11px;line-height:1}.book-fitted{position:relative;overflow:visible;width:100%}@media(max-width:600px){.book-preview-toolbar{padding:15px;gap:14px}.book-preview-toolbar>div,.book-preview-toolbar select{width:100%;min-width:0}.book-leaf{margin-bottom:46px}}@media print{html,body{margin:0!important;padding:0!important;background:white!important}aside,header,.heading,.footer,.toolbar,.toast,.book-preview-toolbar,.book-page-label,#bookSource{display:none!important}main,.body,#app,.book-pages{display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important}.book-leaf{width:var(--paper-width)!important;height:var(--paper-height)!important;margin:0!important;padding:0!important;break-after:page;page-break-after:always;break-inside:avoid;page-break-inside:avoid;overflow:hidden}.book-leaf:last-child{break-after:auto;page-break-after:auto}.book-sheet{transform:none!important;box-shadow:none;width:var(--paper-width);height:var(--paper-height)}.book-a4{margin:0!important;break-after:auto!important;page-break-after:auto!important}.book-pages a{color:inherit;text-decoration:none}}

.book-content .meal-book-layout{font-size:13px;line-height:1.5;margin:10px 0}.book-content .meal-book-layout .meal-date{min-height:0;padding:5px}.book-content .meal-book-layout .meal-people{min-height:0;padding:7px}.book-content .meal-book-layout[data-meal-profile=compact]{font-size:12px;line-height:1.45}.book-content .meal-book-layout[data-meal-profile=compact] .meal-date{padding:4px}.book-content .meal-book-layout[data-meal-profile=compact] .meal-people{padding:5px}.book-content .meal-book-layout[data-meal-profile=dense]{font-size:11px;line-height:1.4}.book-content .meal-book-layout[data-meal-profile=dense] .meal-date{padding:3px}.book-content .meal-book-layout[data-meal-profile=dense] .meal-people{padding:4px}.book-content .meal-book-period{font-size:14px;margin:5px 0 10px}

.book-content .worship-schedule.meal-book-layout td,.book-content .worship-schedule.meal-book-layout th{padding:8px;line-height:1.5}.book-content .worship-schedule.meal-book-layout[data-meal-profile=compact] td,.book-content .worship-schedule.meal-book-layout[data-meal-profile=compact] th{padding:5px;line-height:1.45}.book-content .worship-schedule.meal-book-layout[data-meal-profile=dense] td,.book-content .worship-schedule.meal-book-layout[data-meal-profile=dense] th{padding:4px;line-height:1.4}

.book-content .budget-print-table td,.book-content .budget-print-table th{padding:8px;line-height:1.5}.book-content .budget-print-table[data-meal-profile=compact] td,.book-content .budget-print-table[data-meal-profile=compact] th{padding:5px;line-height:1.35}.book-content .budget-print-table[data-meal-profile=dense] td,.book-content .budget-print-table[data-meal-profile=dense] th{padding:3px;line-height:1.3}
.book-content .budget-print-table td,.book-content .budget-print-table th{height:auto;min-height:0}
.book-even-page .book-content,.book-even-page .book-page-footer{left:15mm;right:25mm}.book-even-page .book-cover-content{left:15mm;right:25mm}
.book-cover-bleed{position:absolute;inset:0;overflow:hidden;pointer-events:none}.book-cover-bleed>.cover-stage{width:100%!important;height:100%!important;aspect-ratio:auto!important;box-shadow:none}.book-cover-a4 .book-cover-content .cover-image-layer,.book-cover-a4 .book-cover-content .cover-veil{visibility:hidden}.book-cover-a4 .book-cover-content>.cover-stage{background:transparent!important}
.review-rules-page{display:flow-root;width:100%;overflow-wrap:anywhere}.book-content .review-rules-page table{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid var(--book-line,#9eac98)!important}.book-content .review-rules-page th,.book-content .review-rules-page td{border:1px solid var(--book-line,#9eac98)!important;height:auto!important;padding:6px;overflow-wrap:anywhere}
.book-content .review-rules-wide table{margin:10px 0!important;max-width:100%;width:100%!important}.book-content .review-rules-wide th,.book-content .review-rules-wide td{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.25!important;vertical-align:middle}.book-content .review-rules-wide th *,.book-content .review-rules-wide td *{display:inline!important;white-space:nowrap!important;line-height:inherit!important;margin:0!important;padding:0!important}

.book-content table.review-rules-table{width:100%!important;table-layout:fixed;border-collapse:collapse;border:1px solid var(--book-line,#9eac98)!important;margin:10px 0}.book-content .review-rules-table th,.book-content .review-rules-table td{border:1px solid var(--book-line,#9eac98)!important;height:auto!important;padding:6px;white-space:nowrap!important;line-height:1.25!important;vertical-align:middle}.book-content .review-rules-table th *,.book-content .review-rules-table td *{display:inline!important;white-space:nowrap!important;margin:0!important;padding:0!important}.book-content .review-rules-table .review-allow-wrap,.book-content .review-rules-table .review-allow-wrap *{white-space:normal!important;overflow-wrap:anywhere!important}.review-rules-compact .review-rules-table td,.review-rules-compact .review-rules-table th{padding:2px!important}.review-rules-compact h2{margin-top:4px;margin-bottom:10px}

.preview-chapter-row{display:flex;align-items:center;gap:3px;border-radius:6px}.preview-chapter-row>a{flex:1;min-width:0}.preview-chapter-handle{flex-shrink:0;padding:5px!important;min-width:24px;min-height:32px;cursor:grab;touch-action:none;background:transparent;border:0;color:#6b8073}.preview-chapter-drop{background:#e5eee6;outline:2px solid #57886a}.preview-chapter-page{display:block;font-size:10px;color:#7a857d;font-variant-numeric:tabular-nums}.preview-order-help{font-size:10px;line-height:1.5;color:#758177;margin:0 0 10px}.preview-chapter-handle:focus-visible{outline:2px solid #57886a}

/* Override the workspace-wide nav button width inside the preview navigation. */
#bookChapterNav .preview-chapter-row{width:100%;min-width:0;align-items:center}
#bookChapterNav [data-section-move-select]{width:16px;height:16px;flex:0 0 16px;margin:0 2px 0 0;accent-color:var(--green,#397861)}
#bookChapterNav .preview-chapter-row:has(> [data-section-move-select]:checked){background:#eaf2f8}
#bookChapterNav .section-moving{opacity:.6}
#bookChapterNav .preview-order-help{grid-column:1/-1}
#bookChapterNav .preview-chapter-handle{width:24px;max-width:24px;flex:0 0 24px;margin:0;padding:5px!important;text-align:center}
#bookChapterNav .preview-chapter-row>a{display:block;flex:1 1 0;width:0;min-width:0;padding:8px 4px}
#bookChapterNav .preview-chapter-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
#bookChapterNav .preview-chapter-page{white-space:nowrap}

/* Full-page volunteer schedules; binding margins remain on the surrounding page. */
.book-content table.volunteer-page-table{width:100%!important;max-width:100%;table-layout:fixed}
.book-content .volunteer-page-table td,.book-content .volunteer-page-table th{vertical-align:middle!important}
.book-content .volunteer-page-table .volunteer-cell-content{max-width:100%;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.book-content .volunteer-page-table .volunteer-cell-content p{margin-top:0!important;margin-bottom:0!important}

.book-content h2.department-book-title{text-align:center;font-size:26px;font-weight:700;margin:14px 0 28px}
.department-name-editor{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0 24px;padding:14px;border:1px solid var(--line);border-radius:10px}.department-name-editor label{width:100%;margin:0}.department-name-editor select{flex:1;min-width:180px}.department-name-editor small{width:100%}

#departmentChoice{display:block;width:100%;height:248px;padding:8px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit;font-size:14px;color:var(--ink)}#departmentChoice option{padding:7px 10px}#departmentNewName{margin-top:14px}

/* Keep the physical paper inside its scaled screen box, including narrow Safari viewports. */
@media screen{
 .book-preview-layout,.book-pages{min-width:0;max-width:100%}
 .book-leaf{max-width:100%;overflow:hidden;overflow:clip}
 .book-page-label{position:relative;top:auto;margin-bottom:8px;height:18px}
 .book-sheet{touch-action:pan-x pan-y pinch-zoom}
 .book-a4{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 .book-pages{touch-action:pan-x pan-y pinch-zoom}
}
@media screen and (max-width:1000px){
 .book-preview-layout{grid-template-columns:minmax(0,1fr)}
}

.book-running-header{position:absolute;top:7mm;left:25mm;right:15mm;text-align:right;font-size:10px;line-height:1.3;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-even-page .book-running-header{left:15mm;right:25mm}

#bookChapterNav .preview-nav-filter{grid-column:1/-1;min-width:0;width:100%;margin-bottom:12px}#bookChapterNav .preview-nav-filter label{display:block;font-size:11px;margin:0 0 6px}#previewNavGroup{display:block;width:100%;min-width:0;max-width:100%;padding:8px 5px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font:inherit}

.book-running-header{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.book-header-left{max-width:55%;overflow:hidden;text-overflow:ellipsis;text-align:left}.book-header-right{min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:right;margin-left:auto}

.plan-form{scroll-margin-top:16px}.plan-index-list,#bookChapterNav{overflow-anchor:none}

.book-content h2.chapter-book-title{text-align:center;font-size:26px;font-weight:700;margin:14px 0 28px;line-height:1.45}.book-continuation .chapter-book-title{display:none!important}

.book-content .volunteer-page-table td,.book-content .volunteer-page-table th{vertical-align:middle!important;text-align:center!important}.book-content .volunteer-cell-content,.book-content .volunteer-cell-content *{text-align:center!important}
#bookChapterNav .preview-chapter-title{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:normal;overflow-wrap:normal}

.plain-note-leaf .book-running-header,.plain-note-leaf .book-page-footer{display:none!important}.plain-note-leaf .plain-note-page,.plain-note-leaf .plain-note-sheet{padding:0!important;margin:0!important;border:0!important;max-width:none!important;max-height:none!important}

/* Fixed leaf sizes preserve navigation while browsers skip painting distant pages. */
@supports(content-visibility:auto){@media screen{body:not(.book-exporting) #bookPages[data-ready="true"]>.book-leaf{content-visibility:auto;contain-intrinsic-size:auto 1122px}}}
@media print{#bookPages>.book-leaf{content-visibility:visible!important;contain:none!important}}
