/* PreachFit 0.19.7 — calm pastoral workspace, single workspace styling layer.
   Maintains all established selectors and app behavior. */
:root{--ws-bg:#f7f5f0;--ws-card:#fffefa;--ws-ink:#25382e;--ws-muted:#657268;--ws-line:#e5e5dc;--ws-green:#2b4939;--ws-gold:#a48961;--ws-radius:18px}
body:not(.landing-mode){background:#f7f5f0;color:var(--ws-ink);font-family:'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;overflow-x:clip}
body:not(.landing-mode) .wrap{position:relative;max-width:1260px;width:100%;margin-inline:auto;padding:26px 34px 76px;isolation:isolate}
/* The photograph belongs to the sides of the room, never behind editor text. */
@media(min-width:1450px){body:not(.landing-mode) .wrap:before{content:'';position:fixed;right:0;top:100px;width:clamp(80px,12vw,210px);height:72vh;background:linear-gradient(90deg,#f7f5f0 0%,rgba(247,245,240,.72) 58%,rgba(247,245,240,.8)),url('/assets/landing/hero-approved.jpg') center/cover;opacity:.18;pointer-events:none;z-index:-1}body:not(.landing-mode) .wrap:after{content:'';position:fixed;left:230px;bottom:0;width:180px;height:280px;background:radial-gradient(ellipse,rgba(165,142,91,.14),transparent 70%);pointer-events:none;z-index:-1}}
body:not(.landing-mode) :is(h1,h2,h3,h4,p,.desc,.small,.finder-desc,.workspace-project-title,.workspace-project-meta){word-break:keep-all;overflow-wrap:break-word;line-break:strict}
body:not(.landing-mode) :is(.topbar,.top-actions,.save-strip,.workspace-home,.workspace-project-card,.section-title,.card,.two,.three,.settings){min-width:0}
body:not(.landing-mode) .topbar{position:relative;top:auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:6px 0 14px;margin:0 0 5px;background:transparent;box-shadow:none;backdrop-filter:none}
body:not(.landing-mode) .topbar .brand h1{font-size:25px;line-height:1.4;letter-spacing:-.7px;font-weight:800}
body:not(.landing-mode) .topbar .brand .sub{font-size:12px;line-height:1.7;color:var(--ws-muted)}
body:not(.landing-mode) .top-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:flex-end}
body:not(.landing-mode) .top-actions :is(.pill,.badge){font-size:10px;line-height:1.4;font-weight:650}
body:not(.landing-mode) .top-actions .btn{min-height:36px;padding:8px 10px}
body:not(.landing-mode) .save-strip{position:relative;top:auto;display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:12px 16px;background:#fffefa;border:1px solid var(--ws-line);border-radius:14px;box-shadow:0 3px 16px rgba(35,54,42,.035);backdrop-filter:none;margin-bottom:18px}
body:not(.landing-mode) .save-strip .current{flex:1 1 220px;min-width:0;font-size:12px;line-height:1.5;color:#364c3e}
body:not(.landing-mode) .save-strip .btn{min-height:36px;padding:8px 11px}
body:not(.landing-mode) .workspace-home{position:relative;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(285px,.88fr);gap:clamp(22px,3vw,44px);align-items:center;isolation:isolate;overflow:hidden;margin:0 0 22px;padding:clamp(26px,3.6vw,48px);border:1px solid #e4e4d9;border-radius:23px;background:linear-gradient(115deg,#fffefa 5%,#f8f7f0 65%,#f3f4ee);box-shadow:0 15px 46px rgba(38,56,43,.055)}
body:not(.landing-mode) .workspace-home:before{content:'';position:absolute;right:-58px;top:-76px;width:390px;height:350px;background:radial-gradient(circle,rgba(201,211,193,.37),transparent 70%);pointer-events:none;z-index:-1}
body:not(.landing-mode) .workspace-home:after{content:'';position:absolute;left:-72px;bottom:-110px;width:320px;height:270px;background:radial-gradient(circle,rgba(208,184,139,.12),transparent 70%);pointer-events:none;z-index:-1}
body:not(.landing-mode) .workspace-hero-copy{min-width:0;max-width:620px}
body:not(.landing-mode) .workspace-kicker{font-size:10px;letter-spacing:1.2px;font-weight:750;color:#8a806d}
body:not(.landing-mode) .workspace-hero-copy h2{font-size:clamp(25px,2.4vw,34px);font-weight:730;line-height:1.42;letter-spacing:-1px;margin:14px 0 14px;max-width:none}
body:not(.landing-mode) .workspace-hero-copy p{font-size:14px;line-height:1.95;max-width:54ch;color:#647267;margin:0}
body:not(.landing-mode) .workspace-verse-note{display:inline-flex;align-items:center;max-width:100%;white-space:normal;margin-top:18px;padding:8px 12px;border:1px solid #e7e6dd;background:rgba(255,255,255,.72);border-radius:12px;color:#787567;font-size:11px;font-weight:650;line-height:1.65}
body:not(.landing-mode) .workspace-quick{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
body:not(.landing-mode) .workspace-quick .btn{min-height:44px;padding:11px 15px;font-size:13px;line-height:1.4;white-space:normal}
body:not(.landing-mode) .workspace-project-card{min-width:0;min-height:225px;padding:23px;background:rgba(255,255,255,.72);border:1px solid #e1e4db;border-radius:18px;box-shadow:0 9px 30px rgba(42,58,44,.035);color:var(--ws-ink)}
body:not(.landing-mode) .workspace-project-label{font-size:11px;color:#738074;letter-spacing:.3px}
body:not(.landing-mode) .workspace-project-title{font-size:clamp(17px,1.45vw,20px);font-weight:760;line-height:1.5;margin:14px 0 8px}
body:not(.landing-mode) .workspace-project-meta{font-size:12px;line-height:1.8;color:var(--ws-muted)}
body:not(.landing-mode) .workflow-progress{width:100%;max-width:100%;min-width:0;overflow:hidden}
body:not(.landing-mode) .workflow-line{min-width:3px}
body:not(.landing-mode) .card{background:var(--ws-card);border:1px solid var(--ws-line);border-radius:var(--ws-radius);box-shadow:0 5px 22px rgba(36,50,39,.032);padding:clamp(18px,2vw,26px);margin-bottom:17px}
body:not(.landing-mode) .card:hover{box-shadow:0 5px 22px rgba(36,50,39,.04)}
body:not(.landing-mode) .section-title h3{font-size:clamp(18px,1.55vw,21px);line-height:1.44;letter-spacing:-.4px}
body:not(.landing-mode) :is(.field label,.finder-desc,.section-title .desc,.small){line-height:1.7}
body:not(.landing-mode) :is(.input,textarea,select){max-width:100%;min-height:43px;font-size:14px;background:#fffefa;border:1px solid #dce2d9}
body:not(.landing-mode) :is(.input,textarea,select):focus{border-color:#728f7a;box-shadow:0 0 0 3px rgba(97,128,102,.09)}
body:not(.landing-mode) textarea.sermon{min-height:550px;padding:clamp(18px,2.8vw,34px);font-size:15px;line-height:1.95;background:#fffefa}
body:not(.landing-mode) .btn{border-radius:10px;line-height:1.45;word-break:keep-all;transition:background .12s ease,border-color .12s ease}
body:not(.landing-mode) .btn:hover:not(:disabled){transform:none}
body:not(.landing-mode) .btn.primary{background:#2d4939}
body:not(.landing-mode) .btn.primary:hover:not(:disabled){background:#203a2b}
body:not(.landing-mode) .btn.secondary{background:#eef1eb;color:#314a3a}
body:not(.landing-mode) .btn.ghost{background:#fffefa;color:#526257}
body:not(.landing-mode) .toolbar{gap:8px}
body:not(.landing-mode) .pf-sidebar{box-shadow:0 12px 40px rgba(24,41,30,.12);background:linear-gradient(155deg,#294637,#233c30)}
body:not(.landing-mode) .pf-nav-item{min-height:38px}
body:not(.landing-mode) .pf-nav-item.active{background:#eff2ed;color:#284233}
@media(max-width:1180px){body:not(.landing-mode) .wrap{padding:20px 22px 55px}body:not(.landing-mode) .workspace-home{grid-template-columns:1fr;gap:22px}body:not(.landing-mode) .workspace-project-card{min-height:170px}}
@media(max-width:800px){body:not(.landing-mode) .wrap{padding:14px 14px 48px}body:not(.landing-mode) .topbar{align-items:flex-start}body:not(.landing-mode) .top-actions{justify-content:flex-start;width:100%}body:not(.landing-mode) .workspace-home{padding:24px 20px}body:not(.landing-mode) .workspace-hero-copy h2{font-size:clamp(23px,4.4vw,28px);line-height:1.48}body:not(.landing-mode) .workspace-project-card{padding:19px}body:not(.landing-mode) .save-strip .current{flex:1 1 100%}body:not(.landing-mode) :is(.two,.three,.settings){grid-template-columns:minmax(0,1fr)}body:not(.landing-mode) textarea.sermon{min-height:470px}}
@media(max-width:480px){body:not(.landing-mode) .wrap{padding:10px 12px 42px}body:not(.landing-mode) .topbar .brand h1{font-size:23px}body:not(.landing-mode) .topbar .brand .sub{font-size:11px}body:not(.landing-mode) .workspace-home{padding:22px 17px;gap:20px;border-radius:17px}body:not(.landing-mode) .workspace-hero-copy h2{font-size:clamp(22px,6.1vw,26px);letter-spacing:-.5px}body:not(.landing-mode) .workspace-hero-copy p{font-size:13px;line-height:1.9}body:not(.landing-mode) .workspace-quick{display:grid;grid-template-columns:1fr}body:not(.landing-mode) .workspace-quick .btn{width:100%}body:not(.landing-mode) .workspace-project-card{padding:17px}body:not(.landing-mode) .card{padding:17px;border-radius:15px}body:not(.landing-mode) .save-strip{padding:10px}body:not(.landing-mode) .save-strip .btn{flex:1 1 auto}body:not(.landing-mode) .toolbar .btn{min-height:41px}}
@media(prefers-reduced-motion:reduce){body:not(.landing-mode) *{scroll-behavior:auto!important;transition:none!important}}

/* 0.19.8 · A calm, accessible navigation for the actual sermon workflow. */
.pf-guided-path{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1.8fr) auto;gap:18px;align-items:center;margin:14px 0 18px;padding:18px 22px;background:#faf9f5;border:1px solid #e3e0d8;border-radius:18px;box-shadow:0 9px 28px rgba(36,47,38,.035)}
.pf-guided-intro{display:grid;gap:5px;min-width:0}.pf-guided-kicker{font-size:10px;letter-spacing:.08em;font-weight:800;color:#8d7552}.pf-guided-intro strong{font-size:17px;font-weight:750;line-height:1.4;word-break:keep-all}.pf-guided-intro small{font-size:12px;line-height:1.55;color:#6d786f;word-break:keep-all}
.pf-guided-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.pf-guided-step{border:1px solid transparent;background:transparent;color:#66736b;border-radius:10px;padding:12px 5px;font-size:11px;line-height:1.45;font-weight:700;cursor:pointer;word-break:keep-all;white-space:normal}.pf-guided-step span{display:block;color:#a0aa9e;font-size:10px;margin-bottom:5px}.pf-guided-step.current{background:#eaf0e9;border-color:#d8e1d8;color:#284b37}.pf-guided-step.complete{color:#44644e}.pf-guided-step:disabled{cursor:default;opacity:.47}.pf-guided-step:focus-visible,.pf-guided-next:focus-visible{outline:3px solid #87a48c;outline-offset:2px}
.pf-guided-next{padding:12px 16px;background:#254735;color:#fff;border:0;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
#directStartPanel,#setsPanel,#selectedPanel,#gracePanel,#illustrationPanel,#supportPanel,#sermonPanel,#prayerPanel{scroll-margin-top:22px}
@media(max-width:1200px){.pf-guided-path{grid-template-columns:1fr;gap:13px}.pf-guided-next{justify-self:start}}
@media(max-width:650px){.pf-guided-path{padding:16px;margin:12px 0;border-radius:14px}.pf-guided-intro strong{font-size:16px}.pf-guided-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.pf-guided-step{text-align:left;padding:10px}.pf-guided-step span{display:inline;margin-right:7px}.pf-guided-next{width:100%;min-height:44px}.pf-guided-intro small{font-size:12px}}

/* v0.19.9 · Manuscript reading/writing surface, shared for desktop and mobile. */
body:not(.landing-mode) #sermonPanel{background:#fbfaf6;border-color:#e4e0d7;padding:clamp(18px,2.5vw,36px);box-shadow:0 16px 38px rgba(36,49,38,.05)}
body:not(.landing-mode) #sermonPanel>.section-title{border-bottom:1px solid #e9e6de;padding-bottom:19px;margin-bottom:22px}
body:not(.landing-mode) #sermonPanel>.section-title h3{font-size:clamp(21px,2.0vw,28px);letter-spacing:-.6px;line-height:1.35}
body:not(.landing-mode) #sermonPanel>.section-title .desc{font-size:13px;line-height:1.8;max-width:56ch;word-break:keep-all}
body:not(.landing-mode) .pf-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 15px;flex-wrap:wrap}
body:not(.landing-mode) .pf-editor-eyebrow{font-size:11px;letter-spacing:.06em;color:#8f7c5f;font-weight:800}
body:not(.landing-mode) .pf-editor-heading p{font-size:13px;line-height:1.7;color:#64736b;margin:7px 0 0;word-break:keep-all}
body:not(.landing-mode) .pf-editor-preferences{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body:not(.landing-mode) #pfEditorMetrics{font-size:12px;color:#69766f;font-variant-numeric:tabular-nums}
body:not(.landing-mode) .pf-editor-label{display:block;font-size:12px;font-weight:750;color:#3a4e40;margin:0 0 9px}
body:not(.landing-mode) #sermonDraft{display:block;width:100%;min-height:min(72vh,780px);padding:clamp(20px,3vw,45px);border:1px solid #e6e4dd;background:#fffefa;color:#29362c;border-radius:12px;font-family:'Noto Serif KR','Nanum Myeongjo','Batang',serif;font-size:clamp(16px,1.13vw,18px);font-weight:400;line-height:2.08;letter-spacing:-.15px;word-break:keep-all;overflow-wrap:break-word;resize:vertical;box-shadow:0 4px 20px rgba(44,52,41,.025)}
body:not(.landing-mode) #sermonDraft:focus{border-color:#94a99a;outline:3px solid rgba(59,93,68,.13);outline-offset:0}
body:not(.landing-mode) #sermonPanel.pf-editor-large #sermonDraft{font-size:clamp(19px,1.45vw,22px);line-height:2.05}
body:not(.landing-mode) .pf-editor-actions{display:flex;flex-wrap:wrap;align-items:center;margin:16px 0 22px;gap:8px}
body:not(.landing-mode) .pf-editor-actions .btn{min-height:42px;font-size:12px;padding:10px 14px}
body:not(.landing-mode) #sermonPanel .sermon-preview{background:#fffefa;padding:clamp(20px,3.2vw,45px);font-size:16px;line-height:2;max-width:none;word-break:keep-all;overflow-wrap:break-word}
body:not(.landing-mode) #sermonPanel .sermon-tools{border-top:1px solid #e8e6df;padding-top:20px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px}
body:not(.landing-mode) #sermonPanel .sermon-tools>.field{min-width:0}
body:not(.landing-mode) #sermonPanel .length-note{font-size:11px;color:#819087;line-height:1.6;word-break:keep-all}
@media(max-width:900px){body:not(.landing-mode) #sermonPanel .sermon-tools{grid-template-columns:1fr}body:not(.landing-mode) #sermonDraft{min-height:66vh;padding:24px;font-size:16px}}
@media(max-width:600px){body:not(.landing-mode) #sermonPanel{padding:16px}body:not(.landing-mode) #sermonPanel>.section-title{display:flex;gap:8px;align-items:start;flex-wrap:wrap}body:not(.landing-mode) #sermonPanel>.section-title .badge{margin-left:0}body:not(.landing-mode) .pf-editor-heading{display:grid;gap:12px}body:not(.landing-mode) .pf-editor-preferences{justify-content:space-between}body:not(.landing-mode) #sermonDraft{min-height:62vh;padding:20px 16px;font-size:16px;line-height:1.95;border-radius:10px}body:not(.landing-mode) .pf-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body:not(.landing-mode) .pf-editor-actions .btn{min-width:0;white-space:normal;word-break:keep-all;padding:10px 6px}body:not(.landing-mode) #sermonPanel .sermon-tools .toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body:not(.landing-mode) #sermonPanel .sermon-tools .toolbar .btn{padding:9px 5px;font-size:11px}}

/* v0.19.10 · shared accessible selection and material editing patterns */
.option-row{align-items:stretch;grid-template-columns:minmax(0,1fr) auto;}
.option-row .option{width:100%;min-width:0;text-align:left;white-space:normal;display:block;line-height:1.65;font-family:inherit;font-size:inherit;}
.option-row button.option{cursor:pointer;}
.option-row .option.selected,.pastoral-support-choice.selected{background:#ecf4ed;border:1.5px solid #557861;box-shadow:inset 0 0 0 1px rgba(60,92,71,.14)}
.option-row .option:focus-visible,.pastoral-edit-dialog button:focus-visible{outline:3px solid #88a68f;outline-offset:2px}
.pf-choice-summary{display:block;margin:10px 0 8px;padding:9px 13px;background:#f2f5f0;border:1px solid #dce5d9;border-radius:9px;color:#42624d;font:700 12px/1.55 'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;word-break:keep-all;overflow-wrap:break-word;}
.pastoral-choice-indicator{display:inline-flex;gap:4px;align-items:center;color:#67776b;font-weight:800;font-size:12px;margin-right:9px;white-space:nowrap;}
.option.selected .pastoral-choice-indicator{color:#245738}.pastoral-card-actions{display:flex;flex-direction:column;gap:5px;justify-content:center;}
.pastoral-card-actions button{min-height:32px;}
.pastoral-support-choice{display:flex!important;align-items:flex-start;gap:10px;padding:12px!important;}
.pastoral-support-choice input{accent-color:#385b44;margin-top:5px;flex-shrink:0;width:17px;height:17px;}
.pastoral-support-body{min-width:0;overflow-wrap:anywhere;}
.pastoral-edit-overlay{position:fixed;inset:0;z-index:9999;background:rgba(17,31,24,.58);display:flex;justify-content:center;align-items:center;padding:20px;}
.pastoral-edit-dialog{width:min(690px,100%);max-height:90dvh;overflow:auto;background:#fffdfa;border:1px solid #d8ddd5;border-radius:18px;box-shadow:0 25px 80px #10211840;padding:24px;}
.pastoral-edit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e6df;margin-bottom:16px;padding-bottom:12px;}
.pastoral-edit-head span{color:#718174;font-size:11px;letter-spacing:.06em}.pastoral-edit-head h3{font-size:23px;line-height:1.4;margin:4px 0;word-break:keep-all;}
.pastoral-edit-fields{display:grid;gap:14px}.pastoral-edit-fields .field label{font-size:13px}.pastoral-edit-fields textarea{min-height:110px;line-height:1.7;resize:vertical;}
.pastoral-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;}
@media(max-width:700px){.pf-choice-summary{margin:8px 0}.option-row{grid-template-columns:minmax(0,1fr);gap:5px}.pastoral-card-actions{flex-direction:row;justify-content:flex-end;gap:7px}.pastoral-card-actions button{min-width:64px}.pastoral-edit-dialog{padding:18px;border-radius:14px}.pastoral-edit-head h3{font-size:19px}.pastoral-edit-overlay{padding:12px}.pastoral-edit-actions .btn{min-height:44px}}

/* 0.19.11 · mobile workspace access (single navigation component, no shadow sidebar copy). */
.pf-mobile-nav{display:none}
@media(max-width:1180px){
  body:not(.landing-mode){padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  body:not(.landing-mode) .pf-mobile-nav{
    position:fixed;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:stretch;gap:3px;left:0;right:0;bottom:0;
    padding:7px max(8px,env(safe-area-inset-left,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-right,0px));
    background:rgba(255,254,250,.98);border-top:1px solid #dfe5dc;
    box-shadow:0 -7px 25px rgba(26,46,33,.07);
  }
  body:not(.landing-mode) .pf-mobile-nav .pf-nav-item,
  body:not(.landing-mode) .pf-mobile-nav .pf-mobile-saved{
    display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;
    min-width:0;min-height:52px;margin:0;padding:5px 2px;
    border:0;border-radius:10px;background:transparent;color:#54665a;
    font:700 11px/1.35 'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;
    cursor:pointer;letter-spacing:-.3px;word-break:keep-all;
  }
  body:not(.landing-mode) .pf-mobile-nav button span{width:auto;color:inherit;font-size:22px;font-weight:500;line-height:1.15}
  body:not(.landing-mode) .pf-mobile-nav button b{font-weight:700;white-space:nowrap}
  body:not(.landing-mode) .pf-mobile-nav .pf-nav-item.active{background:#e8f0e9;color:#234b34}
  body:not(.landing-mode) .pf-mobile-nav button:focus-visible{outline:2px solid #547d61;outline-offset:-3px}
}
@media(max-width:365px){body:not(.landing-mode) .pf-mobile-nav .pf-nav-item,body:not(.landing-mode) .pf-mobile-nav .pf-mobile-saved{font-size:10px}}

/* Calm tool header: actions remain available when usable, disappear only while disabled. */
body:not(.landing-mode) #cancelActionBtn:disabled,
body:not(.landing-mode) #undoActionBtn:disabled{display:none}


/* v0.19.13 · One editable summary before requesting sermon generation. */
body:not(.landing-mode) .pf-material-review{margin:20px 0 12px;background:#f8f9f5;border:1px solid #dee6dd;border-radius:15px;padding:clamp(14px,2vw,23px);}
body:not(.landing-mode) .pf-material-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px;}
body:not(.landing-mode) .pf-material-review-heading h4{font-size:clamp(18px,1.5vw,22px);line-height:1.35;margin:7px 0;letter-spacing:-.5px;word-break:keep-all;}
body:not(.landing-mode) .pf-material-review-heading p{color:#6b756d;line-height:1.7;margin:0;font-size:12px;word-break:keep-all;}
body:not(.landing-mode) .pf-material-count{flex-shrink:0;border:1px solid #d3e1d6;background:#eaf2e9;border-radius:30px;color:#315b3e;padding:9px 12px;font-size:11px;font-weight:750;white-space:normal;text-align:center;}
body:not(.landing-mode) .pf-material-review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
body:not(.landing-mode) .pf-material-group{min-width:0;border:1px solid #e1e6df;border-radius:11px;background:#fffefa;padding:12px;}
body:not(.landing-mode) .pf-material-group-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #ecefe9;padding:0 0 9px;margin-bottom:10px;}
body:not(.landing-mode) .pf-material-group-title strong{font-size:13px;color:#2b4934;}
body:not(.landing-mode) .pf-material-group-title span{font-size:11px;color:#778478;}
body:not(.landing-mode) .pf-material-selected-item{border-bottom:1px solid #eff0eb;padding-bottom:10px;margin-bottom:10px;}
body:not(.landing-mode) .pf-material-selected-item:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0;}
body:not(.landing-mode) .pf-material-selected-item p{margin:0 0 8px;font-size:12px;line-height:1.7;word-break:keep-all;overflow-wrap:break-word;}
body:not(.landing-mode) .pf-material-selected-item p b{display:block;font-size:11px;color:#57775b;}
body:not(.landing-mode) .pf-material-selected-item p span{display:block;color:#4a5a4d;}
body:not(.landing-mode) .pf-material-selected-actions{display:flex;flex-wrap:wrap;gap:6px;}
body:not(.landing-mode) .pf-material-selected-actions button{min-height:35px;}
body:not(.landing-mode) .pf-material-empty{margin:0;color:#859087;font-size:12px;line-height:1.65;word-break:keep-all;}
@media(max-width:960px){body:not(.landing-mode) .pf-material-review-list{grid-template-columns:1fr;}}
@media(max-width:600px){body:not(.landing-mode) .pf-material-review-heading{display:grid;}body:not(.landing-mode) .pf-material-count{justify-self:start;text-align:left;}body:not(.landing-mode) .pf-material-selected-actions button{min-height:44px;}body:not(.landing-mode) .pf-material-group{padding:13px;}}

/* v0.19.14: Draft auto-save status stays quiet; named sermon save remains explicit. */
.pf-save-guidance{font-size:11px;line-height:1.65;color:#778179;margin:-6px 4px 14px;word-break:keep-all;overflow-wrap:break-word}
.pf-save-guidance strong{font-weight:700;color:#51665a}
#retryStateSaveBtn{border:1px solid #ad6756;color:#8c4d3d;background:#fff8f6}
@media(max-width:700px){.pf-save-guidance{font-size:11px;margin:-4px 2px 12px}}

/* v0.19.15 · Pastor editorial guidance, single workspace file (PC/mobile) */
.pf-pastor-guidance{margin:20px 0 16px;padding:18px;border:1px solid #dce4dd;border-radius:16px;background:#f7f9f5;min-width:0}
.pf-pastor-guidance label{display:block;font-size:14px;font-weight:800;color:#293b30;line-height:1.5;word-break:keep-all}
.pf-optional{font-size:11px;font-weight:500;color:#7a877d;margin-left:6px}
.pf-guidance-help{color:#617469;font-size:12px;line-height:1.65;word-break:keep-all;margin:7px 0 12px}
textarea.pf-guidance-input{width:100%;min-width:0;min-height:112px;line-height:1.7;font-size:14px;resize:vertical;background:#fffdfa}
.pf-guidance-foot{display:flex;gap:8px;align-items:center;justify-content:space-between;color:#748077;font-size:11px;line-height:1.5;margin-top:8px;flex-wrap:wrap}
.pf-direct-illustration{display:grid;gap:8px;margin:16px 0 12px;padding:14px;border:1px solid #e0e5df;border-radius:12px;background:#fafaf7;min-width:0}
.pf-direct-illustration>label{font-weight:800;font-size:13px;color:#34483b;word-break:keep-all}
.pf-direct-illustration .myIllText{font-size:13px;line-height:1.65;min-height:84px;resize:vertical}
.pf-direct-illustration .addMyIll{justify-self:start;white-space:normal;line-height:1.5}
@media(max-width:700px){.pf-pastor-guidance{padding:14px;margin:15px 0}.pf-pastor-guidance label{font-size:13px}.pf-direct-illustration{padding:12px}.pf-direct-illustration .addMyIll{width:100%}}

/* v0.19.16 — sermon-context illustration controls */
.pf-illustration-purpose{margin:15px 0 18px;padding:16px 18px;background:#f7f8f5;border:1px solid #dfe5df;border-radius:16px}
.pf-illustration-purpose .pf-guidance-help{margin:0 0 12px}
.pf-purpose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pf-purpose-grid label{min-width:0;font-size:12px;font-weight:700;line-height:1.65;color:#36493c}
.pf-purpose-grid select{margin-top:5px;font-size:13px;max-width:100%}
.pf-ill-detail{margin:6px 0 0;padding:0 3px;font-size:11px;line-height:1.65;color:#607268;overflow-wrap:anywhere;word-break:keep-all}
.pf-ill-detail b{color:#385040;margin-right:4px}
@media(max-width:640px){.pf-purpose-grid{grid-template-columns:1fr}.pf-illustration-purpose{padding:14px}}

/* v0.19.24: focused sermon navigation; preserves all original workflow stages. */
body:not(.landing-mode) .pf-preparation-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 16px;color:#67766b;font-size:12px;line-height:1.6;word-break:keep-all}
body:not(.landing-mode) .pf-preparation-link button{min-height:38px}
body:not(.landing-mode) .pf-preparation-options{margin:15px 0 18px;border:1px solid #dfe5dc;border-radius:12px;background:#fbfcf8;overflow:hidden}
body:not(.landing-mode) .pf-preparation-options>summary{padding:13px 16px;cursor:pointer;font-size:13px;font-weight:750;color:#405b49;line-height:1.55;word-break:keep-all;list-style-position:inside}
body:not(.landing-mode) .pf-preparation-options>summary:focus-visible{outline:3px solid #8da995;outline-offset:-3px}
body:not(.landing-mode) .pf-preparation-options>.settings{margin:0;padding:8px 16px 17px;}
@media(max-width:480px){body:not(.landing-mode) .pf-preparation-link{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}body:not(.landing-mode) .pf-preparation-link button{justify-self:start}body:not(.landing-mode) .pf-preparation-options>summary{font-size:12px;padding:13px 11px}body:not(.landing-mode) .pf-preparation-options>.settings{padding:5px 11px 14px}}

/* v0.19.25: compact, fully reversible stage accordion */
.pf-stage-toggle{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 8px;padding:7px 12px;border:1px solid #d7e1d7;border-radius:9px;background:#f1f5ef;color:#294a36;font:700 12px/1.4 'Malgun Gothic',system-ui,sans-serif;cursor:pointer}
.pf-stage-toggle:focus-visible{outline:3px solid #7ea48b;outline-offset:2px}
.pf-stage-folded.card{padding-bottom:15px!important}
.pf-stage-folded .pf-stage-toggle{margin-bottom:0}
.pf-stage-body[hidden]{display:none!important}
.pf-stage-body{min-width:0}
.pf-song-entry{border-top:1px solid #e5e8e1;padding:12px 0 15px;min-width:0;overflow-wrap:break-word;word-break:keep-all}
.pf-song-entry:first-of-type{border-top:0}
.pf-song-entry p.small{margin:5px 0 8px;line-height:1.6}
.pf-song-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:11px}
.pf-song-actions .input{flex:1 1 180px;max-width:340px;min-width:0;box-sizing:border-box}
.pf-song-suggestions{display:grid;gap:8px;margin-top:12px}
.pf-song-option{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid #dee6dc;background:#f8faf7;padding:11px 13px;border-radius:10px;min-width:0}
.pf-song-option>div{min-width:0;flex:1 1 200px}
.pf-song-option strong{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:600px){.pf-stage-toggle{width:100%;min-height:42px}.pf-song-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pf-song-actions .input{grid-column:1/-1;width:100%;max-width:none}.pf-song-actions .btn{min-width:0;white-space:normal}}

/* v0.19.26 sermon title proposals: responsive, no cramped columns. */
.pf-title-picker{border:1px solid var(--line,#e0e7e1);border-radius:15px;padding:16px;margin:15px 0;background:#fbfcfa;min-width:0}
.pf-title-picker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pf-title-picker-heading b{font-size:17px;color:var(--ink,#203a2e)}
.pf-title-picker-heading p{margin:4px 0 10px;line-height:1.6}
.pf-title-current{background:#eff5ee;border-radius:8px;padding:9px 12px;margin-bottom:13px;overflow-wrap:break-word;word-break:keep-all}
.pf-title-options{display:grid;grid-template-columns:1fr;gap:9px;min-width:0;margin:10px 0}
.pf-title-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border:1px solid var(--line,#e0e7e1);border-radius:10px;padding:12px;min-width:0}
.pf-title-item-content{flex:1;min-width:0;overflow-wrap:break-word;word-break:keep-all;line-height:1.5}
.pf-title-item-content b{display:block;font-size:16px}
.pf-title-item-content .small{display:block;margin-top:4px}
.pf-title-direct{display:flex;gap:9px;align-items:center;min-width:0}
.pf-title-direct input{flex:1;min-width:0}
@media(max-width:600px){.pf-title-picker{padding:12px}.pf-title-item{align-items:flex-start;flex-direction:column}.pf-title-item .btn{align-self:flex-end}.pf-title-direct{align-items:stretch;flex-direction:column}.pf-title-picker-heading{gap:6px}}

/* v0.19.26 title candidates split into pastor/fresh groups. */
.pf-title-group{display:grid;gap:8px;min-width:0}
.pf-title-group h4{margin:9px 0 2px;font-size:15px;font-weight:800;color:var(--ink,#203a2e)}

/* v0.19.27 · Bulletin materials, preview, and printing; uses the existing single workspace stylesheet. */
body:not(.landing-mode) .pf-bulletin-materials{padding:clamp(14px,2vw,20px);border:1px solid #dce6dc;background:#f7faf5;border-radius:15px;margin:8px 0 22px;min-width:0}
body:not(.landing-mode) .pf-bulletin-materials-heading h4{font-size:18px;margin:0 0 5px;line-height:1.45}
body:not(.landing-mode) .pf-bulletin-materials-heading p{font-size:12px;line-height:1.65;color:#68776a;margin:0 0 13px;word-break:keep-all}
body:not(.landing-mode) .pf-bulletin-upload-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 16px}
body:not(.landing-mode) .pf-bulletin-upload-file{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;font-weight:750}
body:not(.landing-mode) .pf-bulletin-upload-file input{max-width:100%;font-size:12px}
body:not(.landing-mode) .pf-bulletin-upload-item{padding:14px;background:#fffefa;border:1px solid #e1e6de;border-radius:12px;display:grid;gap:10px;margin:9px 0;min-width:0}
body:not(.landing-mode) .pf-bulletin-upload-top{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
body:not(.landing-mode) .pf-bulletin-upload-top b{font-size:13px;word-break:keep-all;overflow-wrap:anywhere}
body:not(.landing-mode) .pf-bulletin-kind{max-width:260px}
body:not(.landing-mode) .pf-bulletin-rawtext{line-height:1.7;font-size:12px}
body:not(.landing-mode) .pf-bulletin-manual{margin:14px 0;border-top:1px solid #e1e8df;padding-top:11px}
body:not(.landing-mode) .pf-bulletin-manual summary{font-size:12px;font-weight:750;cursor:pointer}
body:not(.landing-mode) .pf-bulletin-manual .field{margin-top:12px}
body:not(.landing-mode) .pf-bulletin-manual textarea{margin-top:10px;font-size:13px;min-height:90px}
body:not(.landing-mode) .pf-verse-body,body:not(.landing-mode) .pf-proposal-responsive{white-space:pre-wrap;font-size:12px;line-height:1.8;word-break:keep-all;overflow-wrap:break-word;margin-top:8px}
body:not(.landing-mode) .pf-material-proposal{padding:12px;background:#fffefa;border:1px solid #e1e8df;border-radius:10px;font-size:12px}
body:not(.landing-mode) .pf-bulletin-current-toolbar{margin:0 0 14px}
body:not(.landing-mode) #bulletinPreview{margin:25px auto;max-width:850px;min-width:0}
body:not(.landing-mode) .pf-preview-header{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.pf-print-sheet{background:#fff;color:#23392b;border:1px solid #e2e5dc;border-radius:9px;padding:clamp(20px,4vw,45px);font-family:'Noto Serif KR','Malgun Gothic',serif;line-height:1.65;overflow-wrap:break-word;word-break:keep-all}
.pf-print-heading{text-align:center;border-bottom:2px solid #596f5d;padding-bottom:16px}
.pf-print-heading p{font-size:11px;letter-spacing:.06em;margin:0}.pf-print-heading h1{font-size:26px;margin:9px 0 2px}
.pf-print-heading div{font-size:12px;color:#606e61}
.pf-print-sermon{padding:18px 4px;border-bottom:1px solid #e2e6dc;text-align:center}.pf-print-sermon strong{font-size:12px}.pf-print-sermon h2{font-size:19px;line-height:1.5;margin:7px 0}.pf-print-sermon p{font-size:12px}
.pf-print-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:18px;align-items:start}
.pf-print-part{break-inside:avoid;page-break-inside:avoid;min-width:0;border-bottom:1px solid #e2e7df;padding:0 0 12px}
.pf-print-part h3{font-size:13px;margin:0 0 9px;color:#34543e}.pf-print-part p,.pf-print-part li,.pf-print-part table{font-size:11px}
.pf-print-part ul,.pf-print-part ol{padding-left:18px;margin:5px 0}.pf-print-part li{margin:5px 0}.pf-print-part span{font-size:10px;color:#67796b}
.pf-print-part table{width:100%;border-collapse:collapse}.pf-print-part th{white-space:nowrap;text-align:left;padding:4px 9px 4px 0}.pf-print-part td{padding:4px}
.pf-print-long{white-space:pre-wrap;font-size:11px;line-height:1.8;overflow-wrap:break-word}
.pf-print-sheet footer{text-align:center;margin-top:28px;padding-top:10px;border-top:1px solid #e4e8e1;font-size:9px;color:#728075}
#bulletinPrintPage{display:none}
@media(max-width:600px){body:not(.landing-mode) .pf-bulletin-materials{padding:12px}body:not(.landing-mode) .pf-bulletin-upload-file{align-items:flex-start}.pf-print-cols{grid-template-columns:1fr}.pf-print-sheet{padding:16px}}
@media print{
 @page{size:A4;margin:11mm}
 body{background:#fff!important}
 body > :not(#bulletinPrintPage){display:none!important}
 #bulletinPrintPage{display:block!important;position:static!important}
 #bulletinPrintPage .pf-print-sheet{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;}
 #bulletinPrintPage .pf-print-cols{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10mm!important}
 #bulletinPrintPage .pf-print-part{break-inside:avoid}
}

/* v0.19.28 · Reading catalog lookup and reference-bulletin layout. */
body:not(.landing-mode) .pf-bulletin-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0;min-width:0}
body:not(.landing-mode) .pf-bulletin-mini{background:#fffefb;border:1px solid #e0e7dd;border-radius:12px;padding:14px;min-width:0}
body:not(.landing-mode) .pf-bulletin-mini>strong{font-size:14px;line-height:1.5}
body:not(.landing-mode) .pf-bulletin-mini .small{font-size:12px;line-height:1.7;word-break:keep-all;overflow-wrap:break-word}
body:not(.landing-mode) .pf-bulletin-mini label{display:block;font-size:12px;font-weight:700;margin:13px 0 5px}
body:not(.landing-mode) .pf-bulletin-mini select{width:100%;padding:10px;max-width:100%;border:1px solid #d4dfd2;border-radius:8px;background:white}
body:not(.landing-mode) .pf-reading-options{display:grid;gap:8px;margin-top:12px}
body:not(.landing-mode) .pf-reading-option{padding:10px 11px;border:1px solid #dce4da;border-radius:9px;background:#f8faf7;display:flex;align-items:center;justify-content:space-between;gap:12px}
body:not(.landing-mode) .pf-reading-option b{font-size:13px;word-break:keep-all;overflow-wrap:break-word}
body:not(.landing-mode) .pf-reading-option p{margin:3px 0 0}
body:not(.landing-mode) .pf-reading-option button{flex-shrink:0}
.pf-print-sheet.pf-layout-single .pf-print-cols{grid-template-columns:minmax(0,1fr)}
.pf-print-sheet.pf-layout-program .pf-print-cols{grid-template-columns:minmax(0,1fr)}
.pf-print-sheet.pf-layout-program .pf-print-heading{text-align:left;border-bottom:3px double #586d5b}
.pf-print-sheet.pf-layout-program .pf-print-part{padding-bottom:15px;margin-bottom:5px}
.pf-print-sheet.pf-layout-program .pf-print-part table{font-size:12px}
.pf-print-sheet.pf-layout-program .pf-print-part th{border-bottom:1px dotted #ddd;padding:7px 12px 7px 0}
.pf-print-sheet.pf-layout-program .pf-print-part td{border-bottom:1px dotted #ddd}
@media(max-width:690px){body:not(.landing-mode) .pf-bulletin-tool-grid{grid-template-columns:1fr}body:not(.landing-mode) .pf-reading-option{align-items:flex-start;flex-direction:column}}
@media print{
 #bulletinPrintPage .pf-print-sheet.pf-layout-single .pf-print-cols,
 #bulletinPrintPage .pf-print-sheet.pf-layout-program .pf-print-cols{grid-template-columns:minmax(0,1fr)!important}
}
/* Optional coarse visual appearance adapted from a photographed reference bulletin. */
.pf-print-sheet.pf-head-left .pf-print-heading{text-align:left}
.pf-print-sheet.pf-accent-blue .pf-print-heading{border-color:#3c6485}
.pf-print-sheet.pf-accent-blue .pf-print-part h3{color:#355b79}
.pf-print-sheet.pf-accent-black .pf-print-heading{border-color:#333}
.pf-print-sheet.pf-accent-black .pf-print-part h3{color:#333}
/* Language controls: shared landing + application shell */
.pf-language-control{display:inline-flex;gap:2px;flex:0 0 auto;align-items:center;border:1px solid #d7dfd8;background:#eef2ee;padding:3px;border-radius:999px;vertical-align:middle}
.pf-lang-btn{border:0;background:transparent;border-radius:999px;padding:7px 11px;cursor:pointer;color:#486352;font-size:12px;font-weight:800;white-space:nowrap;line-height:1.1}
.pf-lang-btn.active{background:#fff;color:#1c3226;box-shadow:0 1px 4px rgba(20,35,25,.1)}
.pf-public-actions .pf-language-control{margin-right:8px}
.pf-english-billing-note{margin:16px auto;max-width:900px;padding:12px 16px;border:1px solid #dce3db;border-radius:12px;color:#415649;background:#f1f6f1;font-size:12px;line-height:1.6}
.pf-english-billing-note[hidden]{display:none!important}
html[lang="en"] body{word-break:normal;overflow-wrap:break-word}
html[lang="en"] .pf-nav-item b{white-space:normal;line-height:1.4}
@media(max-width:1180px){.top-actions .pf-language-control{order:-2}}
@media(max-width:660px){.pf-public-actions{flex-wrap:wrap;justify-content:flex-end}.pf-public-actions .pf-language-control{order:-1}.top-actions .pf-language-control{width:auto}}
