.ChapterEditor_editorContainer__FIjdM{display:flex;flex-direction:column;background:rgba(255,251,245,.82);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:1.6rem;overflow:hidden;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin-top:1.5rem}.ChapterEditor_editorHeader__Ssf0P{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,420px);grid-gap:1rem;gap:1rem;padding:1.3rem 1.4rem 1.15rem;border-bottom:1px solid var(--line);background:linear-gradient(135deg,rgba(255,247,238,.98),rgba(242,230,216,.9)),radial-gradient(circle at top right,rgba(183,94,47,.16),transparent 36%)}.ChapterEditor_editorHeaderCopy__2c_gX{display:grid;grid-gap:.3rem;gap:.3rem;align-content:start}.ChapterEditor_editorEyebrow__xS2M2{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(31,22,17,.56)}.ChapterEditor_editorTitle__AREiQ{margin:0;font-size:clamp(1.4rem,3vw,2rem);line-height:1;color:var(--accent-deep);letter-spacing:-.03em}.ChapterEditor_titleRow__EVfT5{display:flex;align-items:center;gap:1rem}.ChapterEditor_copyBtnTop__D_F4D{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .8rem;border-radius:999px;font-size:.8rem;font-weight:500;cursor:pointer;border:none;background:linear-gradient(135deg,#ca723d,#8a3617);color:#fff9f1;box-shadow:0 4px 8px rgba(133,62,26,.15);transition:all .16s ease}.ChapterEditor_copyBtnTop__D_F4D:hover{transform:translateY(-1px);box-shadow:0 6px 12px rgba(133,62,26,.2)}.ChapterEditor_copyBtnTop__D_F4D.ChapterEditor_copied__KMgET{background:linear-gradient(135deg,#3dca8c,#178a51);box-shadow:0 4px 8px rgba(26,133,85,.15)}.ChapterEditor_editorSubtitle__TyDmh{margin:0;max-width:38rem;font-size:.96rem;line-height:1.5;color:rgba(31,22,17,.72)}.ChapterEditor_progressCard__O9M0h{display:grid;grid-gap:.65rem;gap:.65rem;align-content:start;padding:1rem 1rem .9rem;border-radius:1rem;border:1px solid rgba(116,59,30,.12);background:rgba(255,252,247,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}.ChapterEditor_progressMeta__QfNW3,.ChapterEditor_progressSummary__uBDvZ{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.ChapterEditor_progressLabel__r4DCu{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:rgba(31,22,17,.52)}.ChapterEditor_progressMeta__QfNW3 strong{font-size:1.2rem;color:var(--accent-deep)}.ChapterEditor_progressBar__dJE_k{position:relative;height:.8rem;border-radius:999px;overflow:hidden;background:rgba(116,59,30,.1)}.ChapterEditor_progressFill__jYtJ1{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d27a42,#8a3617);box-shadow:0 8px 16px rgba(133,62,26,.2)}.ChapterEditor_progressSummary__uBDvZ{font-size:.82rem;color:rgba(31,22,17,.62)}.ChapterEditor_toolbar___K_9d{display:flex;align-items:center;gap:.5rem;padding:.8rem 1.2rem;border-bottom:1px solid var(--line);background:rgba(255,248,239,.95);flex-wrap:wrap}.ChapterEditor_toolbarGroup__I9hdo{display:flex;align-items:center;gap:.25rem;padding-right:.5rem;border-right:1px solid rgba(116,59,30,.12)}.ChapterEditor_toolbarGroup__I9hdo:last-child{border-right:none}.ChapterEditor_toolbarActions___mYmP{margin-left:auto;display:flex;align-items:center}.ChapterEditor_toolbarBtn__B74gf{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;border-radius:.6rem;border:none;background:transparent;color:rgba(31,22,17,.66);cursor:pointer;transition:all .16s ease}.ChapterEditor_toolbarBtn__B74gf:hover{background:rgba(116,59,30,.08);color:var(--accent-deep)}.ChapterEditor_toolbarBtn__B74gf.ChapterEditor_active__l5xnf{background:rgba(116,59,30,.12);color:var(--accent-deep);font-weight:700}.ChapterEditor_collapseBtn__V5cZL{display:inline-flex;align-items:center;gap:.45rem;padding:.58rem .9rem;border-radius:999px;border:1px solid rgba(116,59,30,.14);background:rgba(255,245,235,.96);color:var(--accent-deep);cursor:pointer;transition:all .16s ease;font-size:.88rem;white-space:nowrap}.ChapterEditor_collapseBtn__V5cZL:hover{transform:translateY(-1px);background:rgba(255,240,227,1)}.ChapterEditor_collapseBtn__V5cZL:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 62%,white);outline-offset:3px}.ChapterEditor_editorContent__CvkM7{padding:2rem;min-height:400px;font-size:1.15rem;line-height:1.7;color:#24160f;background:linear-gradient(180deg,rgba(255,252,247,.98),rgba(248,238,226,.96)),radial-gradient(circle at top left,rgba(200,132,60,.08),transparent 32%);caret-color:#8a3617;outline:none}.ChapterEditor_editorContent__CvkM7.ProseMirror{outline:none;min-height:400px}.ChapterEditor_editorContent__CvkM7 *{color:inherit}.ChapterEditor_editorContent__CvkM7 p{margin-bottom:1.2em}.ChapterEditor_editorContent__CvkM7 h1{font-size:2.2rem;margin-top:2rem;margin-bottom:1rem;color:#1f120c}.ChapterEditor_editorContent__CvkM7 h2{font-size:1.8rem;margin-top:1.5rem;margin-bottom:.8rem;color:#1f120c}.ChapterEditor_editorContent__CvkM7 blockquote{border-left:3px solid var(--accent);padding-left:1rem;font-style:italic;color:rgba(31,18,12,.82)}.ChapterEditor_editorContent__CvkM7 [style*=color]{color:inherit!important}.ChapterEditor_editorContent__CvkM7 p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:rgba(31,18,12,.45);pointer-events:none;height:0}.ChapterEditor_footer__ea_Ot{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;padding:1rem 1.5rem;border-top:1px solid var(--line);background:rgba(255,248,239,.95)}.ChapterEditor_characterCount__Dl_kW{display:flex;flex-direction:column}.ChapterEditor_countText__k78aV{font-size:.9rem;color:rgba(31,22,17,.7)}.ChapterEditor_countText__k78aV.ChapterEditor_limitReached__AIOJB{color:#cf3a3a;font-weight:700}.ChapterEditor_limitText__xyxQS{font-size:.75rem;color:rgba(31,22,17,.5);letter-spacing:.05em;text-transform:uppercase;margin-top:.2rem}.ChapterEditor_saveStatus__fRHsv{font-size:.8rem;margin-top:.45rem;color:rgba(31,22,17,.58)}.ChapterEditor_saveStatus__fRHsv[data-state=saved]{color:#177245}.ChapterEditor_saveStatus__fRHsv[data-state=error]{color:#b03030}.ChapterEditor_footerActions__Bw82n{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.ChapterEditor_copyBtn__mwD0l,.ChapterEditor_saveBtn__YeBep{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;border-radius:999px;font-size:.9rem;font-weight:500;cursor:pointer;border:none;box-shadow:0 8px 16px rgba(133,62,26,.18);transition:all .16s ease}.ChapterEditor_saveBtn__YeBep{background:rgba(255,245,235,.96);color:var(--accent-deep);border:1px solid rgba(116,59,30,.12);box-shadow:none}.ChapterEditor_saveBtn__YeBep:hover{transform:translateY(-1px);background:rgba(255,240,227,1)}.ChapterEditor_saveBtn__YeBep:disabled{opacity:.8;cursor:not-allowed}.ChapterEditor_saveBtn__YeBep.ChapterEditor_saving__wVALY:disabled{cursor:wait}.ChapterEditor_saveBtn__YeBep:disabled:not(.ChapterEditor_saving__wVALY){background:rgba(176,48,48,.08);color:#8f2323;border-color:rgba(176,48,48,.2)}.ChapterEditor_saveBtn__YeBep:disabled:not(.ChapterEditor_saving__wVALY):hover{transform:none;background:rgba(176,48,48,.08)}.ChapterEditor_copyBtn__mwD0l{background:linear-gradient(135deg,#ca723d,#8a3617);color:#fff9f1;box-shadow:0 8px 16px rgba(133,62,26,.18)}.ChapterEditor_copyBtn__mwD0l:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(133,62,26,.24)}.ChapterEditor_copyBtn__mwD0l.ChapterEditor_copied__KMgET{background:linear-gradient(135deg,#3dca8c,#178a51);box-shadow:0 8px 16px rgba(26,133,85,.18)}.ChapterEditor_spin__jJPhY{animation:ChapterEditor_spin__jJPhY 1s linear infinite}@media (max-width:720px){.ChapterEditor_editorHeader__Ssf0P{grid-template-columns:1fr}.ChapterEditor_progressMeta__QfNW3,.ChapterEditor_progressSummary__uBDvZ{flex-direction:column;align-items:flex-start}.ChapterEditor_toolbarActions___mYmP{width:100%;justify-content:flex-end}.ChapterEditor_collapseBtn__V5cZL span{display:none}}@keyframes ChapterEditor_spin__jJPhY{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}