.rich-editor{border:1px solid #d6dfd2;border-radius:10px;background:#fff;overflow:hidden;margin:8px 0 18px}.rich-toolbar{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:9px;background:#f3f6ef;border-bottom:1px solid #dce4d7}.rich-toolbar button{padding:6px 8px;min-height:30px;font-size:12px}.rich-toolbar select{width:auto;max-width:125px;font-size:11px;padding:6px;border:1px solid var(--line);border-radius:5px;background:white}.rich-toolbar label{display:flex;gap:2px;align-items:center;margin:0;padding:3px;font-size:12px}.rich-toolbar input[type=color]{width:24px;height:24px;padding:0;border:0}.rich-input{padding:16px;min-height:220px;max-height:650px;overflow:auto;outline:none;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.rich-input p,.rich-input div{margin:6px 0}.rich-input h1{font-size:28px}.rich-input h2{font-size:23px}.rich-input h3{font-size:18px}.rich-input blockquote,.book-content blockquote{border:0;margin:14px 0;padding:8px 16px;color:inherit}.rich-input ul,.rich-input ol{padding-left:26px}.rich-input a{color:#256854;text-decoration:underline}.rich-input:focus{box-shadow:inset 0 0 0 1px #759b73}.table-format-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0;font-size:11px}.table-format-tools select{width:auto;max-width:125px;padding:6px;font-size:11px;border:1px solid var(--line);border-radius:6px;background:white}.table-format-tools span{color:var(--muted);font-size:10px}.table-format-tools button{font-size:10px;padding:6px}.table-column-handle{position:absolute;right:-4px;top:0;bottom:0;width:9px;z-index:3;cursor:col-resize;touch-action:none;background:linear-gradient(to right,transparent 3px,#91a58b 3px,#91a58b 5px,transparent 5px)}[data-format-table] th{position:relative}[data-format-table] input,[data-format-table] textarea{width:100%!important;min-width:0!important;padding:6px!important;box-sizing:border-box}[data-format-table] .table-cell-selected{outline:2px solid #69946b;outline-offset:-2px}[data-format-table] td{overflow-wrap:anywhere}.book-content .rich-printed{font-size:14px}.book-content ul,.book-content ol{padding-left:25px;margin:8px 0}.book-content li{white-space:pre-wrap;overflow-wrap:anywhere}.book-preview-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:25px;align-items:start}.book-chapter-nav{position:sticky;top:18px;max-height:calc(100vh - 40px);overflow:auto;padding:16px 12px;background:white;border:1px solid var(--line);border-radius:10px;font-size:12px}.book-chapter-nav strong{display:block;margin-bottom:12px}.book-chapter-nav a{display:block;text-decoration:none;color:var(--muted);padding:8px;border-radius:5px;line-height:1.5;overflow-wrap:anywhere}.book-chapter-nav a:hover,.book-chapter-nav a.active{background:#eaf1e5;color:#28583e}.book-toc-content{overflow:hidden}.book-toc-inner>.row{padding:5px 0;min-height:24px;font-size:12px;line-height:1.5;break-inside:avoid}.book-toc-inner h1{margin-bottom:20px}.book-toc-columns{column-count:2;column-gap:25px}.book-toc-columns h1{column-span:all}.book-a4:focus{outline:2px solid #7c9e79;outline-offset:-2px}@media(max-width:800px){.book-preview-layout{grid-template-columns:1fr;gap:12px}.book-chapter-nav{position:static;max-height:210px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}.book-chapter-nav strong{grid-column:1/-1}.rich-toolbar button{font-size:11px;padding:6px}.rich-input{padding:12px}}@media print{.book-chapter-nav,.table-format-tools{display:none!important}.book-preview-layout{display:block!important}.book-a4:focus{outline:none}}
[data-format-table] tr>td:last-child:has(button){padding:6px 2px!important;white-space:nowrap}[data-format-table] tr>td:last-child>button{padding:4px!important;white-space:nowrap;font-size:10px}
.table-source-label{display:block;font-size:10px;font-weight:400;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}.attachment-card .small{margin-top:6px}#sectionImportTab{font-weight:600}

.meal-schedule{width:100%;border-collapse:collapse;table-layout:fixed}.meal-edit{min-width:720px}.meal-schedule td,.meal-schedule th{border:1px solid #a5afa1;text-align:center;padding:0!important;vertical-align:middle;overflow-wrap:anywhere}.meal-schedule .meal-month{background:#98c580;font-weight:700;padding:8px!important}.meal-schedule .meal-date{border-bottom:1px solid #a5afa1;padding:6px;min-height:30px}.meal-schedule .meal-people{padding:8px;min-height:55px}.meal-schedule textarea{box-sizing:border-box;width:100%;min-width:0;resize:vertical;text-align:center;padding:6px;font:inherit}.meal-month textarea{background:transparent}.meal-schedule tr{break-inside:avoid}.book-content .meal-schedule{font-size:13px}
.sheet-sync-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px;background:#eef5eb;border-radius:8px;font-size:12px}.sheet-sync-controls label{display:flex;align-items:center;gap:6px;margin:0}.sheet-sync-controls small{flex-basis:100%;color:#64715f}

.service-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:16px 0}.service-heading label{display:flex;align-items:center;gap:8px;margin:0}.service-heading select{width:130px}.service-month-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.service-month-tabs button{padding:7px 12px}.service-calendar{width:100%;border-collapse:collapse;table-layout:fixed}.service-edit{width:100%;min-width:0;max-width:100%;font-size:12px}.service-calendar th,.service-calendar td{border:1px solid #708259;padding:4px!important;text-align:center;overflow-wrap:anywhere;vertical-align:middle}.service-calendar .service-month-head th,.service-calendar .service-band th{background:#a1bd69;color:#182317}.service-calendar .service-days th{background:#819f38;color:#101810}.service-calendar .service-band th{text-align:left}.service-calendar textarea,.service-calendar input{box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:4px;text-align:center}.service-calendar td[colspan="7"] textarea{text-align:left}.book-content .service-calendar{font-size:11px;line-height:1.4;margin:8px 0}.book-content .service-calendar td{height:auto;min-height:22px}.service-book-month{width:100%}
.service-calendar textarea{min-height:38px;font-size:12px;line-height:1.4;resize:vertical}.service-calendar textarea[rows="1"]{min-height:28px;height:32px}.service-calendar input{font-size:12px}.service-heading h2{font-size:22px}

.service-heading .service-visible-toggle{display:flex;gap:8px;align-items:center;background:#e8f2e1;border:1px solid #9db68c;border-radius:8px;padding:10px 12px;font-weight:600}.service-visible-toggle input{accent-color:#286b51;width:18px!important;height:18px}.service-visible-toggle small{font-weight:400;color:#60715c}

.service-duty-link{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;margin:6px 0 0!important}.service-duty-link input{width:auto!important}.service-calendar input[readonly]{background:#f1f5e9;color:#2e503d}
.service-calendar .service-month-head>th:first-child{font-size:clamp(30px,3.5vw,48px);font-weight:800;line-height:1.15;white-space:nowrap;padding:10px!important;vertical-align:middle}.book-content .service-calendar .service-month-head>th:first-child{font-size:44px;line-height:1.15;padding:10px!important}

.prayer-assignment-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.prayer-assignment-action small{color:#64715f}.prayer-picker{max-width:900px;width:90vw}.prayer-week-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.prayer-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.prayer-candidate-list{max-height:320px;overflow:auto;border:1px solid #dce4d7;border-radius:8px}.prayer-candidate-list label{display:flex;align-items:center;gap:10px;padding:10px;margin:0;border-bottom:1px solid #edf1e9}.prayer-candidate-list input{width:18px}.prayer-candidate-list small{display:block;color:#687762;margin-top:4px}.prayer-selected-row{display:flex;align-items:center;gap:4px;margin:6px 0}.prayer-selected-row span{flex:1;overflow-wrap:anywhere}.prayer-selected-row button{padding:5px 8px}#prayerSelected{max-height:350px;overflow:auto}@media(max-width:650px){.prayer-picker-grid{grid-template-columns:1fr}}
.member-directory{min-width:1000px;table-layout:fixed}.member-directory th{white-space:nowrap}.member-directory input{width:100%;box-sizing:border-box;min-width:0;font-size:14px;padding:7px}.member-directory th:nth-child(2){width:12%}.member-directory th:nth-child(3),.member-directory th:nth-child(4){width:18%}.member-directory th:nth-child(5),.member-directory th:nth-child(6){width:7%}.member-directory th:last-child{width:20%}

.member-role-actions{display:flex;align-items:center;gap:6px}.member-role-actions input{flex:1;min-width:0}.member-role-actions button{flex-shrink:0;padding:6px 8px;font-size:11px}.member-directory th:first-child{width:18%}

.prayer-select-all{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#e8f2e1;border-radius:7px;font-weight:600}.prayer-select-all input{width:18px;height:18px}.prayer-select-all small{font-weight:400;color:#64715f}

.service-table-editor{width:100%;min-width:0;max-width:100%;container-type:inline-size}.service-edit th,.service-edit td{min-width:0;white-space:normal}.service-edit textarea,.service-edit input{max-width:100%;min-width:0;border-radius:6px}.service-edit .service-month-head>th:first-child{font-size:clamp(20px,6cqi,44px);white-space:normal;overflow-wrap:anywhere;padding:8px 4px!important}.service-edit .service-days th{font-size:clamp(10px,2cqi,13px)}.service-edit .service-row-controls{flex:none;width:22px}.service-edit .service-row-controls button{width:22px;min-width:0;padding:3px 0;font-size:12px;border-radius:4px}.service-edit td[colspan="2"] textarea{flex:1;width:0;min-width:0}.service-edit .service-duty-link{flex-wrap:wrap;font-size:10px}.service-edit .service-duty-link input{flex:none}.service-edit button{max-width:100%;white-space:normal}@container(max-width:500px){.service-edit th,.service-edit td{padding:2px!important}.service-edit textarea,.service-edit input{font-size:11px;padding:3px 1px}.service-edit .service-row-controls{width:18px}.service-edit .service-row-controls button{width:18px}.service-edit .service-month-head>th:first-child{font-size:22px}}

.editorgrid.plan-editor-wide{grid-template-columns:minmax(0,1fr)}aside>#nav{flex:1;min-height:0;overflow-y:auto}aside>.brand,aside>.sub,aside>.church,aside>.label,aside>.asidebottom{flex-shrink:0}.plan-step-subnav{margin:0 0 12px 26px;padding-left:10px;border-left:1px solid #dce5d8}.plan-step-subnav button{display:block;width:100%;font-size:12px;line-height:1.5;padding:8px 7px;margin:2px 0;border-radius:6px}.plan-step-subnav button span{display:inline-block;width:23px;font-variant-numeric:tabular-nums;color:#829382}.plan-step-subnav button.active span{color:inherit}.plan-step-subnav button:focus-visible{outline:2px solid var(--green);outline-offset:-2px}@media(max-width:700px){aside>#nav{flex-wrap:wrap;overflow:visible}.plan-step-subnav{order:2;flex-basis:100%;width:100%;display:flex;flex-wrap:wrap;gap:3px;margin:4px 0 0;padding:8px 0 0;border-left:0;border-top:1px solid var(--line)}.plan-step-subnav button{width:auto;flex:0 0 auto;padding:8px;font-size:11px}.plan-step-subnav button span{width:auto;margin-right:3px}}

.book-content table.conference-schedule,.paper table.conference-schedule{margin:8px 0;font-size:11px;line-height:1.25}.book-content .conference-schedule td,.book-content .conference-schedule th,.paper .conference-schedule td,.paper .conference-schedule th{height:auto!important;min-height:0!important;padding:2px 4px!important;line-height:1.25;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.book-content .conference-schedule tr,.paper .conference-schedule tr{height:auto;min-height:0}

.book-content .service-book-pair{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;margin:0;break-inside:avoid}.book-content .service-book-pair .service-book-month{min-height:0;min-width:0}.book-content .service-book-pair .service-calendar{margin:0;font-size:10px;line-height:1.2}.book-content .service-book-pair .service-calendar td,.book-content .service-book-pair .service-calendar th{height:auto;min-height:0;padding:2px 3px!important;vertical-align:middle;line-height:1.2}.book-content .service-book-pair .service-calendar .service-month-head>th:first-child{font-size:26px;line-height:1.1;padding:5px!important}.book-content .service-book-pair .service-calendar .service-month-head>th:last-child{font-size:11px}.book-content .service-book-pair .service-calendar .service-band th{font-size:10px}

@media(min-width:900px){.plan-workspace{grid-template-columns:220px minmax(0,1fr);align-items:start}.plan-index{position:sticky;top:16px;align-self:start;display:flex;flex-direction:column;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);min-height:0;overflow:hidden;border-right:1px solid var(--line);padding-right:17px}.plan-index>label,.plan-index>select,.plan-index>.section-select-all,.plan-index>.order-help{flex-shrink:0}.plan-index-list{display:block;flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.plan-index-list .plan-order-row{flex-shrink:0}}
@media(min-width:900px) and (max-width:1150px){.plan-workspace{grid-template-columns:200px minmax(0,1fr)}}
@media print{.plan-index{position:static;max-height:none;overflow:visible}}

.book-page-edit{position:absolute;right:0;top:-35px;z-index:1;padding:5px 10px;font-size:11px;border-color:#9eb49c;background:#f0f7ec;color:#265b44}.book-page-label{padding-right:145px}.preview-text-modal{width:1000px;max-width:100%;max-height:92vh;overflow:auto}.preview-text-modal .sectionhead{position:sticky;top:-30px;background:white;z-index:2;padding:10px 0;border-bottom:1px solid var(--line)}.preview-text-modal h3{margin:24px 0 10px}.preview-text-modal textarea{min-height:44px;padding:8px;line-height:1.5}.preview-text-modal details{margin:18px 0}.preview-table-scroll{overflow:auto}.preview-table-scroll table{min-width:500px}.preview-table-scroll td{min-width:110px;padding:5px;vertical-align:top}.preview-table-scroll label{font-size:10px;margin:0;font-weight:400}.preview-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.preview-text-modal .rich-input{min-height:150px}.preview-text-modal .toolbar{position:sticky;bottom:-30px;background:white;padding:12px 0;border-top:1px solid var(--line)}@media(max-width:700px){.preview-edit-fields{grid-template-columns:1fr}.preview-text-modal{padding:18px}.preview-text-modal .sectionhead{top:-18px}.preview-text-modal .toolbar{bottom:-18px}.book-page-edit{font-size:10px}}@media print{.book-page-edit{display:none!important}}

.note-page-controls{display:flex;align-items:center;gap:12px;margin:12px 0 20px;padding:12px;background:#f1f6eb;border:1px solid #dce6d4;border-radius:9px}.note-page-controls span{font-size:12px;color:var(--muted)}.note-writing-lines{width:100%;background:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,#d9dfd4 27px,#d9dfd4 28px);print-color-adjust:exact;-webkit-print-color-adjust:exact}.note-page-number{text-align:right;color:#84917d;font-size:10px;line-height:16px}.note-writing-fields{font-size:12px!important;color:#63755e!important;margin:8px 0 16px!important}

.note-page-content{display:flow-root}

.sermon-note-header{display:flow-root;margin:0 0 20px}.sermon-note-heading{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 28px;padding-bottom:12px;border-bottom:1px solid #43594e}.book-content .sermon-note-heading h2{font-size:23px;letter-spacing:2px;margin:0;line-height:1.3}.sermon-note-heading>span{font-size:10px;color:#8a948c}.sermon-note-meta{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;row-gap:14px}.sermon-note-field{display:flex;align-items:baseline;gap:14px;min-height:29px;border-bottom:1px solid #d8ded7;padding-bottom:6px}.sermon-note-field>span{font-size:12px;font-weight:600;white-space:nowrap;color:#4c5c51;min-width:48px}.sermon-note-field>div{font-size:13px;line-height:1.5;min-width:0;overflow-wrap:anywhere;flex:1}.sermon-note-title.sermon-note-field{display:flex;margin:0;padding-bottom:6px;border-bottom-color:#d8ded7}.sermon-note-meta>.sermon-note-title,.sermon-note-scripture{grid-column:1/-1}.sermon-note-writing{background:repeating-linear-gradient(to bottom,transparent 0,transparent 29px,#e1e5de 29px,#e1e5de 30px)}.sermon-note-existing{display:flow-root;margin-bottom:10px}

.book-content table.prayer-note-table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0;font-size:12px;line-height:1.4}.book-content .prayer-note-table th,.book-content .prayer-note-table td{border:1px solid #788779!important;height:auto;min-height:0;padding:7px!important;white-space:pre-wrap;overflow-wrap:anywhere;vertical-align:top}.book-content .prayer-note-table th{background:#f0f3ed;font-weight:600;color:#3d5044;height:32px;vertical-align:middle}.book-content .prayer-note-table td{background:white}

.book-content .prayer-note-table thead th{text-align:center!important;vertical-align:middle}
/* Match the writing canvas and paginated rich text, including explicit blank lines. */
.rich-input{box-sizing:content-box;width:calc(100% - 32px);max-width:170mm;padding:16px}
.rich-input,.book-content .rich-printed,.book-content .rich-body{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.rich-input p,.rich-input div,.book-content p.rich-printed,.book-content div.rich-printed,.book-content .rich-printed p,.book-content .rich-printed div,.book-content .rich-body p,.book-content .rich-body div{margin:6px 0;line-height:1.8}
.rich-input p,.rich-input div,.book-content .rich-printed p,.book-content .rich-printed div,.book-content .rich-body p,.book-content .rich-body div{font-size:inherit}
.rich-input h1,.book-content h1.rich-printed,.book-content .rich-printed h1,.book-content .rich-body h1{font-size:28px;line-height:1.4;margin:16px 0}
.rich-input h2,.book-content h2.rich-printed,.book-content .rich-printed h2,.book-content .rich-body h2{font-size:23px;line-height:1.45;margin:14px 0}
.rich-input h3,.book-content h3.rich-printed,.book-content .rich-printed h3,.book-content .rich-body h3{font-size:18px;line-height:1.5;margin:12px 0}
.rich-input ul,.rich-input ol,.book-content ul.rich-printed,.book-content ol.rich-printed,.book-content .rich-printed ul,.book-content .rich-printed ol,.book-content .rich-body ul,.book-content .rich-body ol{margin:6px 0;padding-left:26px}
.rich-input li,.book-content .rich-printed li,.book-content .rich-body li{margin:0;line-height:1.8;white-space:pre-wrap}
.rich-input blockquote,.book-content blockquote.rich-printed,.book-content .rich-printed blockquote,.book-content .rich-body blockquote{border:0;margin:14px 0;padding:8px 16px;line-height:1.8;color:inherit}

.service-heading select[aria-label="예배 배정 표시 방식"]{width:auto;max-width:100%}
.service-calendar-preview{margin:18px 0;padding:16px;border:1px solid #d9e0d6;border-radius:10px}.service-calendar-preview summary{cursor:pointer;font-weight:bold}.service-calendar-preview>.service-monthly-calendar{max-width:643px;aspect-ratio:170/240;margin:14px auto}
.service-calendar.service-monthly-calendar{table-layout:fixed;width:100%;color:#000;border-collapse:collapse;font-size:11px;line-height:1.35}.service-calendar.service-monthly-calendar th,.service-calendar.service-monthly-calendar td{border:1px solid #777!important;white-space:normal;overflow-wrap:anywhere;padding:4px!important}.service-calendar.service-monthly-calendar thead th{background:#edf1e9;color:#000;height:24px}.service-calendar.service-monthly-calendar .monthly-calendar-title{height:48px;font-size:20px;line-height:1.2}.monthly-calendar-title strong{font-size:34px;margin-left:10px}.service-calendar.service-monthly-calendar .monthly-calendar-duty{height:27px;font-size:12px;font-weight:normal}.service-calendar.service-monthly-calendar tbody td{vertical-align:top!important;text-align:left!important}.monthly-calendar-date{font-weight:bold;font-size:14px;text-align:center;border-bottom:1px dotted #bbb;margin-bottom:5px;padding:2px}.monthly-calendar-content>div{margin:4px 0;white-space:pre-wrap}.monthly-calendar-content b{font-weight:600}.monthly-calendar-event{padding-top:3px;border-top:1px dotted #bbb}.monthly-calendar-empty{background:#fafafa}.service-calendar.service-monthly-calendar tfoot td{text-align:left;font-size:10px;vertical-align:top;height:1px}.service-calendar.service-monthly-calendar tfoot div{margin-top:3px}
.book-content .service-book-pair.service-monthly-page{display:block}.book-content .service-monthly-page .service-book-month{height:100%}.book-content .service-book-pair .service-monthly-calendar{font-size:10px;line-height:1.3}.book-content .service-monthly-page .service-monthly-calendar tbody td{vertical-align:top!important;padding:3px!important}.book-content .service-monthly-page .service-monthly-calendar thead th{padding:4px!important}.book-content .service-monthly-page .monthly-calendar-title{font-size:20px}.book-content .service-monthly-page .monthly-calendar-duty{font-size:12px}

.service-planner-note-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;text-align:left}.service-planner-note-grid>section{padding:5px 8px;border-right:1px dotted #aaa;min-height:90px}.service-planner-note-grid>section:last-child{border-right:0}.service-planner-note-grid h4{font-size:11px;font-weight:500;margin:0 0 7px;color:inherit}.service-planner-note-grid section>div{font-size:10px;font-weight:normal;line-height:1.5;overflow-wrap:anywhere}.service-planner-notes-editor{border:1px solid #d9e0d6;border-radius:8px;margin:14px 0;padding:12px}.service-planner-notes-editor .service-planner-note-grid{gap:12px}.service-planner-notes-editor textarea{width:100%;box-sizing:border-box;margin-top:5px;resize:vertical}.service-calendar.service-planner-calendar thead th{background:white!important}.service-calendar.service-planner-calendar .monthly-calendar-title{font-weight:400;text-align:left;border-left:0!important;border-right:0!important}.service-calendar.service-planner-calendar .monthly-calendar-duty{border-left:0!important;border-right:0!important;text-align:left}.service-calendar.service-planner-calendar .service-planner-notes th{padding:8px 0 12px!important;border:0!important}.service-calendar.service-planner-calendar tbody td{background-image:linear-gradient(to bottom,transparent calc(50% - .5px),#ddd 50%,transparent calc(50% + .5px),transparent calc(75% - .5px),#ddd 75%,transparent calc(75% + .5px));border-color:#777!important}.service-calendar.service-planner-calendar tbody td:first-child,.service-calendar.service-planner-calendar tbody td:last-child{background-color:#eeeef1}.service-planner-calendar .monthly-calendar-date{display:inline-block;min-width:22px;padding:4px;border-bottom:1px dotted #aaa;border-right:1px dotted #aaa;margin:0 0 5px}.service-planner-calendar .monthly-calendar-content{padding:0 2px}.service-planner-calendar .monthly-calendar-event{border:0}.service-planner-calendar .monthly-calendar-empty{background-image:none!important}@media(max-width:650px){.service-planner-notes-editor .service-planner-note-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.service-annual-linked small{display:block;font-size:10px;color:#526c5c;margin-top:4px}.service-annual-linked{background:#f6f8f3}.service-planner-calendar tbody td{background-image:none!important}.service-day-slots{display:grid;grid-template-rows:repeat(3,minmax(30px,1fr));height:calc(var(--service-week-height,160px) - 31px);min-height:96px;text-align:left}.service-day-slot{border-top:1px dotted #aaa;min-width:0;padding:3px 2px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.35}.service-day-slot>div{margin:0 0 3px}.service-day-slot .monthly-calendar-event{padding:0;border:0}.service-planner-calendar .monthly-calendar-date{margin-bottom:0}.service-day-slot b{font-weight:600}
/* Grow dense day sections instead of painting text over the next section. */
.service-day-slots{height:auto;min-height:max(96px,calc(var(--service-week-height,160px) - 31px));grid-template-rows:repeat(3,minmax(min-content,1fr))}
.service-day-slots{grid-template-rows:repeat(3,minmax(24px,auto))}.service-day-slot{min-height:min-content}

/* Fixed calendar geometry: only text shrinks; period bars span adjacent date cells. */
.service-planner-calendar tbody td{padding:0!important;position:relative;overflow:visible!important}.book-content .service-monthly-page .service-planner-calendar tbody td{padding:0!important}.service-planner-calendar .monthly-calendar-date{height:24px;box-sizing:border-box;line-height:16px;padding:4px;position:relative;z-index:1}.service-planner-calendar .service-day-slots{display:block;min-height:0!important;height:calc(var(--service-week-height,150px) - 26px);position:relative}.service-planner-calendar .service-day-slot{position:relative;box-sizing:border-box;min-height:0!important;height:33.333%;padding:0;border-top:1px dotted #aaa;overflow:visible;white-space:normal}.service-fit-text{box-sizing:border-box;overflow:visible;overflow-wrap:anywhere;line-height:1.25;margin:0!important}.service-slot-worship>.service-fit-text{position:absolute;inset:2px;max-width:calc(100% - 4px)}.service-calendar-span{position:absolute;box-sizing:border-box;background:#f0f3ed;z-index:3;border-left:2px solid #6c8066;border-radius:2px;padding:1px 2px;line-height:1.25;min-width:0;margin:0!important}.service-slot-trips .service-calendar-span{background:#f1f1f4;border-left-color:#78788c}.service-span-single{background:transparent;border-left:0}.service-span-period .service-fit-text{white-space:normal;overflow-wrap:anywhere}.service-planner-calendar .monthly-calendar-empty{background-image:none!important}
.team-budget-section{border-top:1px solid #d9e0d6;margin:24px 0;padding-top:18px}.team-budget-table{margin:16px 0;padding-bottom:16px;border-bottom:1px solid #e3e8df}.team-budget-empty{font-size:12px;color:#66756c;margin:14px 0}.team-budget-book-heading{break-after:avoid;page-break-after:avoid}
.document-import-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.document-import-controls label{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:12px}.document-import-controls small{font-size:11px;flex-basis:100%;color:#637367}.document-import-modal{max-width:960px}.document-import-preview{max-height:350px;overflow:auto;border:1px solid #dce3d7;margin:14px 0}.rich-input table,.rich-body table,.rich-printed table{width:100%;border-collapse:collapse;table-layout:auto}.rich-input td,.rich-input th,.rich-body td,.rich-body th,.rich-printed td,.rich-printed th{border:1px solid #777;padding:5px;vertical-align:top}.rich-input [style*="font-family"],.rich-body [style*="font-family"]{font-synthesis:weight style}
.modal.document-import-modal{width:min(960px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow-y:auto;box-sizing:border-box}.document-import-preview{width:auto!important;max-width:none!important;min-height:150px;box-sizing:border-box}
.team-parts-select,.team-part-heading{display:flex;align-items:center;gap:10px}.team-parts-select{flex-wrap:wrap;padding:16px 0}.team-parts input[type=checkbox]{width:18px;height:18px;accent-color:var(--green,#256b54)}.team-part{border:1px solid #dce4db;border-radius:12px;padding:18px;margin:16px 0;background:white;min-width:0}.team-part-heading{border-bottom:1px solid #e1e6df;padding-bottom:12px;margin-bottom:16px}.team-part-heading label{display:flex;align-items:center;gap:8px;margin:0;font-size:17px;font-weight:700}.team-part-handle{cursor:grab;touch-action:none}.team-part>.section-tools>.sectionhead,.team-part>.team-budget-section>.sectionhead{display:none}.team-part>.section-tools{border:0;padding:0;margin:0}.team-parts-select small{font-weight:400;color:#68786d}

.service-planner-calendar .monthly-calendar-adjacent .monthly-calendar-date{color:#b9beb9!important;font-weight:400!important}

.book-content table.imported-compact-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:6px 0}
.book-content table.imported-compact-table td,.book-content table.imported-compact-table th{height:auto!important;min-height:0!important;padding:2px 4px!important;line-height:1.2!important;vertical-align:middle;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.book-content table.imported-compact-table td p,.book-content table.imported-compact-table th p,.book-content table.imported-compact-table td div,.book-content table.imported-compact-table th div{margin-top:0!important;margin-bottom:0!important;line-height:1.2!important}
.imported-table-editor .plan-row-table td,.imported-table-editor .plan-row-table th{padding:3px 4px}.imported-table-editor textarea{min-height:30px!important;height:30px;line-height:1.25;resize:vertical}
/* Keep every edge visible on imported narrative tables and all team plan tables. */
.team-parts table,.rich-input table,.book-content table.imported-compact-table,.book-leaf:is([data-source-anchor="book-pastoral"],[data-source-anchor="book-mission-team"],[data-source-anchor="book-sabbath-school"],[data-source-anchor="book-deacons"],[data-source-anchor="book-community"]) table{border-collapse:collapse!important;border:1px solid var(--book-line,#777)!important}
.team-parts table td,.team-parts table th,.rich-input table td,.rich-input table th,.book-content table.imported-compact-table td,.book-content table.imported-compact-table th,.book-leaf:is([data-source-anchor="book-pastoral"],[data-source-anchor="book-mission-team"],[data-source-anchor="book-sabbath-school"],[data-source-anchor="book-deacons"],[data-source-anchor="book-community"]) table :is(td,th){border:1px solid var(--book-line,#777)!important}

.service-birthdays,.book-themed .service-birthdays{color:#1565c0!important;font-size:10px;line-height:1.2;overflow-wrap:anywhere}.service-birthday-text{color:#1565c0!important}.service-planner-calendar .service-birthdays{position:absolute;bottom:2px;left:2px;right:2px;z-index:4;margin:0!important;background:transparent}.service-monthly-calendar:not(.service-planner-calendar) tbody td{position:relative}.service-monthly-calendar:not(.service-planner-calendar) .monthly-calendar-content:has(.service-birthdays){padding-bottom:20px}.service-monthly-calendar:not(.service-planner-calendar) .service-birthdays{position:absolute;bottom:3px;left:3px;right:3px;margin:0;padding-top:4px}.member-directory td{vertical-align:top}
/* Spreadsheet rulers belong to editor chrome, outside the printable data table. */
.spreadsheet-editor-grid{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:28px auto;align-items:start;min-width:0}.spreadsheet-editor-grid>table{grid-column:2;grid-row:2;margin:0!important;width:100%}.spreadsheet-ruler{background:#edf2f7}.spreadsheet-ruler button{box-sizing:border-box;min-height:0;margin:0;border:1px solid #c6d1dc;border-radius:0;padding:0;font-size:12px;line-height:1;color:#425466;background:#edf2f7;font-weight:600;flex:none;min-width:0}.spreadsheet-ruler button:hover,.spreadsheet-ruler button[aria-pressed=true]{background:#cfe2ff;color:#0b57d0}.spreadsheet-corner{grid-column:1;grid-row:1;height:28px}.spreadsheet-corner button{width:34px;height:28px}.spreadsheet-column-ruler{grid-column:2;grid-row:1;display:flex;height:28px;overflow:hidden}.spreadsheet-column-ruler button{height:28px}.spreadsheet-row-ruler{grid-column:1;grid-row:2;display:flex;flex-direction:column;width:34px}.spreadsheet-row-ruler button{width:34px}.spreadsheet-editor-grid .table-cell-selected{background:#e8f0fe!important;box-shadow:inset 0 0 0 1px #4285f4}.spreadsheet-editor-grid .table-cell-selected input,.spreadsheet-editor-grid .table-cell-selected textarea{background:transparent}@media print{.spreadsheet-ruler{display:none!important}}

.extra-table-title-label{display:block;margin:12px 0;font-size:12px}.extra-table-title-label input{display:block;width:100%;margin-top:6px}.book-content h4.extra-table-book-title{font-size:15px;font-weight:600;margin:16px 0 8px;line-height:1.4;break-after:avoid;page-break-after:avoid}

.section-title-editor{margin:18px 0 24px}.section-title-editor small{display:block;margin-top:6px;color:var(--muted);font-size:11px}

.book-page-actions{position:absolute;right:0;top:-35px;z-index:1;display:flex;gap:6px;max-width:100%}.book-page-actions .book-page-edit{position:static;white-space:nowrap}.book-page-label{padding-right:280px}@media(max-width:600px){.book-page-actions{top:6px;right:6px;flex-wrap:wrap;justify-content:flex-end}.book-page-label{padding-right:0}}@media print{.book-page-actions{display:none!important}}

/* Keep preview controls inside leaves, whose overflow is clipped for mobile sizing. */
.book-page-actions{top:7px;right:8px;z-index:2;background:#ffffffed;padding:4px;border-radius:9px;box-shadow:0 1px 5px #203c3220}.book-page-actions .book-page-open-editor{background:#246953;color:#fff;border-color:#246953;font-weight:600;padding:7px 12px}.book-page-actions .book-page-open-editor:hover{background:#1c5542}@media print{.book-page-actions{display:none!important}}

.toc-style-editor{padding:20px;border:1px solid var(--line);border-radius:12px;margin:24px 0}.toc-style-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:16px 0}.toc-style-fields input[type=checkbox]{width:auto}.toc-style-sample{background:white;border:1px solid var(--line);padding:20px;color:#000}.toc-style-sample strong{margin-bottom:14px}

#sectionContextMenu button{display:block;width:100%;text-align:left;border:0}

.service-planner-calendar .service-birthdays{top:2px;bottom:auto}

/* Event and travel descriptions in the table layout align with their text inputs. */
.service-calendar:not(.service-monthly-calendar) td[colspan="7"],.service-calendar:not(.service-monthly-calendar) td[colspan="7"] textarea{text-align:left!important}

.annual-sheet-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* Keep assignment dialogs inside the viewport; only the middle content scrolls. */
.prayer-picker-backdrop{padding:20px;overflow:hidden}.modal.prayer-picker{display:flex;flex-direction:column;width:min(900px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:hidden;padding:22px}.prayer-picker>.sectionhead{flex:none;margin:0;padding-bottom:14px;gap:12px}.prayer-picker>.sectionhead h2{min-width:0;overflow-wrap:anywhere}.prayer-picker>.sectionhead button{flex:none}.prayer-picker-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px;-webkit-overflow-scrolling:touch}.prayer-picker>.toolbar{flex:none;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0;padding-top:14px;border-top:1px solid var(--line,#e3e8e0);background:#fff}.prayer-picker>.toolbar button{max-width:100%;white-space:normal}.prayer-picker-grid>section{min-width:0}.prayer-picker .prayer-candidate-list,.prayer-picker #prayerSelected{max-height:260px;max-height:min(32dvh,320px)}
@media(max-width:650px){.prayer-picker-backdrop{padding:8px}.modal.prayer-picker{padding:16px;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}.prayer-picker>.sectionhead{padding-bottom:10px}.prayer-picker-body{padding-right:4px}.prayer-picker>.toolbar{padding-top:10px}.prayer-picker>.toolbar button.primary{flex:1}.prayer-picker .prayer-candidate-list,.prayer-picker #prayerSelected{max-height:220px}}

.sermon-week-settings{border:1px solid #d4e0ce;border-radius:10px;padding:12px;margin:12px 0 18px}.sermon-week-settings legend{font-weight:700;padding:0 5px}.sermon-week-settings>div{display:flex;gap:12px;flex-wrap:wrap}.sermon-week-settings label{display:flex;gap:6px;align-items:center;margin:0;padding:6px 10px;background:#edf4e8;border-radius:6px}.sermon-week-settings .hint{margin-top:10px}

.book-content .sermon-note-writing{position:relative;background:none!important;overflow:hidden;flex-shrink:0}.sermon-writing-rule{position:absolute;display:block;left:0;right:0;height:0;border:0;border-top:1px solid var(--book-line,#d9dfd4);box-shadow:none;pointer-events:none}
/* Keep reorder controls and section names on a single shared baseline. */
.plan-index .section-moves{display:inline-flex;flex-wrap:nowrap;width:auto;gap:2px;flex:0 0 auto}
.plan-index .section-drag{display:inline-flex;align-items:center;justify-content:center;width:16px;padding:3px 0;flex:0 0 16px}
.plan-index-list .section-moves button{display:inline-flex;align-items:center;justify-content:center;width:22px;min-width:22px;height:28px;flex:0 0 22px;padding:0;margin:0;line-height:1}
.plan-index-list .plan-order-row{gap:4px;flex-wrap:nowrap;min-width:0;padding:3px 0}
.plan-index-list .plan-order-row[hidden]{display:none}
.plan-index-list .plan-order-row:has(> [data-section-move-select]:checked){background:#eaf2f8}
.plan-index-list .section-moving{opacity:.6}
.plan-index-list .plan-order-row>button{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;min-width:0;padding:9px 5px;margin:0}
.plan-index-list .plan-order-row>button>span{display:block;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:normal;overflow-wrap:normal}
.plan-index-list .plan-order-row>button>small{flex:0 0 auto;font-size:9px}
.book-option{flex-wrap:nowrap;min-width:0}
.book-option>label{min-width:0!important;flex-wrap:nowrap;overflow:hidden}
.book-option>label>.grow{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-option>.section-moves,.book-option>button{flex-shrink:0}
@media(min-width:900px){.plan-workspace{grid-template-columns:minmax(260px,300px) minmax(0,1fr)}}

.school-program-week{display:flex;align-items:flex-end;gap:12px;margin:16px 0}.school-program-week>label{flex:1;min-width:0;margin:0}.school-program-owner{flex:0 1 40%;min-width:160px}.school-program-owner>button{width:100%;min-height:44px}.school-program-owner label{margin:8px 0 0}@media(max-width:600px){.school-program-week{flex-wrap:wrap}.school-program-owner{flex:1 1 100%}}

.school-manual-cell label{display:block;font-size:11px;margin:5px 0 0}.school-manual-cell select{width:100%;min-width:72px;padding:5px;font-size:12px}.school-manual-cell textarea{min-width:85px}
/* Quiet, rounded controls for the Sabbath school editor. */
.school-order-fixed{--school-control:#f5f5f7;--school-border:#e4e5e8;--school-focus:#34866c;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}
.school-order-fixed .extra-table{background:#fff;border:1px solid #e8e9eb;border-radius:18px;padding:20px;box-shadow:0 3px 16px #18251f05}
.school-order-fixed .toolbar{gap:8px;margin-bottom:16px}
.school-order-fixed button{border-color:#e3e5e7;border-radius:10px;background:#fff;box-shadow:0 1px 2px #00000004;font-weight:500}
.school-order-fixed button:hover{background:#f2f4f3;border-color:#d8dedb}
.school-order-fixed input:not([type=checkbox]),.school-order-fixed textarea,.school-order-fixed select,.school-manual-cell select{box-sizing:border-box;border:1px solid transparent;border-radius:9px;background:#f5f5f7;box-shadow:none;color:#263c34;outline:none;transition:border-color .15s,box-shadow .15s,background .15s;font-family:inherit}
.school-order-fixed input:not([type=checkbox]):hover,.school-order-fixed textarea:hover,.school-order-fixed select:hover,.school-manual-cell select:hover{background:#eeeeF1}
.school-order-fixed input:not([type=checkbox]):focus,.school-order-fixed textarea:focus,.school-order-fixed select:focus,.school-manual-cell select:focus{background:#fff;border-color:#72a993;box-shadow:0 0 0 3px #34866c1c}
.school-order-fixed textarea{padding:9px 8px;resize:vertical;min-height:36px}
.school-order-fixed select,.school-manual-cell select{appearance:none;-webkit-appearance:none;padding:8px 23px 8px 9px;min-height:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2379807d' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;font-size:12px}
.school-order-fixed select:disabled{opacity:.45;cursor:not-allowed}
.school-manual-cell{padding:7px 2px 9px;min-width:90px}
.school-manual-cell>small,.school-manual-cell label{font-size:10px;font-weight:500;color:#858c88;letter-spacing:-.1px;line-height:1.5}
.school-manual-cell label{margin-top:9px;text-align:left}
.school-manual-cell>small{display:block;margin-bottom:4px;text-align:left}
.school-manual-cell select{margin-top:3px;font-weight:500;letter-spacing:-.2px}
.school-order-fixed .spreadsheet-ruler{background:#f5f5f7}
.school-order-fixed .spreadsheet-ruler button{border:0;border-right:1px solid #e6e8e7;border-bottom:1px solid #e6e8e7;border-radius:0;background:#f5f5f7;color:#8b928e;font-size:11px;font-weight:500;box-shadow:none}
.school-order-fixed .spreadsheet-ruler button:hover,.school-order-fixed .spreadsheet-ruler button[aria-pressed=true]{background:#e5eeE9;color:#326c54}
.school-order-fixed .spreadsheet-editor-grid{border:1px solid #e6e8e7;border-radius:12px;overflow:hidden}
.school-order-fixed .spreadsheet-editor-grid .table-cell-selected{background:#f0f6f2!important;box-shadow:inset 0 0 0 1.5px #6a9a82}
.school-order-fixed .plan-row-table td,.school-order-fixed .plan-row-table th{border-color:#eceeed;padding:5px}
.school-order-fixed .plan-row-table th input{background:#f5f6f5;font-weight:600}
@media(max-width:600px){.school-order-fixed .extra-table{padding:12px;border-radius:14px}}

.school-order-fixed td.school-month-merged{vertical-align:middle!important;text-align:center!important;background:#f7f9f6}.school-order-fixed td.school-month-merged textarea{display:block;width:100%;margin:auto;text-align:center!important;resize:none;min-height:36px;height:36px;background:transparent;font-weight:600}

.seeker-visibility{display:flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid #e4e9e4;border-radius:12px;background:#f4f7f2;font-size:13px;font-weight:600;margin:16px 0}.seeker-list-book td,.seeker-list-book th{border:1px solid var(--book-line,#9eac98)!important;box-sizing:border-box}.seeker-list-book .seeker-cell-content{min-width:0}
/* Apple-inspired controls, scoped to the TOC settings panel only. */
.toc-style-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);gap:0 24px;padding:26px;background:#f6f7f7;border:1px solid #e7e9e8;border-radius:20px;box-shadow:0 3px 20px #21352905;font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif}
.toc-style-editor>h2{grid-column:1/-1;margin:0 0 8px;font-size:21px;letter-spacing:-.6px;font-weight:650;color:#263c32}
.toc-style-editor>p{grid-column:1/-1;color:#818984;font-size:12px;line-height:1.7;margin:0 0 20px}
.toc-style-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.toc-style-fields>label{display:block;min-width:0;margin:0;padding:12px;background:#fff;border:1px solid #eceeed;border-radius:12px;color:#7b847e;font-size:11px;font-weight:500;line-height:1.4}
.toc-style-fields select{appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;width:100%;min-width:0;max-width:none;margin-top:8px;padding:9px 28px 9px 10px;min-height:37px;border:1px solid transparent;border-radius:8px;background-color:#f4f5f6;color:#293d34;font:500 13px -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;outline:none;box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%237c8580' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;transition:background-color .15s,border-color .15s,box-shadow .15s}
.toc-style-fields select:hover{background-color:#ecefee}
.toc-style-fields select:focus-visible{background-color:#fff;border-color:#84ad98;box-shadow:0 0 0 3px #2e795d18}
.toc-style-fields select:disabled{opacity:.5}
.toc-style-fields>label:has(input[type=checkbox]){display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;gap:10px;min-height:45px;box-sizing:border-box;color:#4e6056;font-size:12px}
.toc-style-fields input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:34px;height:20px;margin:0;border:0;border-radius:12px;background:#dfe3e1;cursor:pointer;transition:background-color .18s}
.toc-style-fields input[type=checkbox]::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s}
.toc-style-fields input[type=checkbox]:checked{background:#438567}
.toc-style-fields input[type=checkbox]:checked::after{transform:translateX(14px)}
.toc-style-fields input[type=checkbox]:focus-visible{outline:3px solid #43856735;outline-offset:3px}
.toc-style-fields input[type=checkbox]:disabled{opacity:.45;cursor:default}
.toc-style-sample{position:relative;align-self:stretch;min-width:0;padding:62px 22px 28px;background:#fff;border:1px solid #e7ebe8;border-radius:14px;box-shadow:0 4px 16px #19352805;overflow:hidden}
.toc-style-sample::before{content:"미리보기";position:absolute;top:18px;left:22px;font:500 11px -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;letter-spacing:.2px;color:#919a94}
.toc-style-sample strong{line-height:1.5}
@media(max-width:950px){.toc-style-editor{grid-template-columns:minmax(0,1fr);gap:18px;padding:20px}.toc-style-editor>h2,.toc-style-editor>p{margin:0}.toc-style-sample{min-height:160px;box-sizing:border-box}}
@media(max-width:480px){.toc-style-fields{grid-template-columns:1fr}.toc-style-editor{padding:16px;border-radius:16px}}

/* Tint only the period background; keep text opaque and the date grid visible. */
.service-calendar-span.service-span-period{background:rgba(207,222,198,.45);border-left-color:rgba(108,128,102,.6)}
.service-slot-trips .service-calendar-span.service-span-period{background:rgba(207,207,222,.45);border-left-color:rgba(120,120,140,.6)}

/* Fixed date-strip height; names and the daily lunar date stay beside the number. */
.service-monthly-calendar .monthly-calendar-date.planner-date-heading{display:flex;align-items:center;gap:3px;width:100%;height:24px;min-height:24px;max-height:24px;line-height:16px;white-space:nowrap;padding:3px 4px;border-right:0;overflow:hidden}
.planner-date-heading .planner-date-number{flex:none;min-width:15px;text-align:left;font-size:14px;font-weight:700}
.planner-date-heading .planner-date-annotation{display:block;flex:1;min-width:0;width:0;height:18px;font-weight:400;overflow:hidden}
.service-monthly-calendar .monthly-calendar-date.planner-holiday-date{color:#b34040}
.service-monthly-calendar .monthly-calendar-adjacent .monthly-calendar-date.planner-date-heading{color:#b9beb9!important}

.mission-field-label{display:flex;align-items:center;gap:9px;margin:24px 0 9px;font-weight:600}.mission-field-label input[type=checkbox]{width:18px;height:18px;flex:none;margin:0;accent-color:#246953}.mission-field-label small{font-size:11px;color:var(--muted);font-weight:400;margin-left:auto}

.plan-editor-detail{min-width:0}
