:root{font-family:Arial,sans-serif;color:#20332f;background:#f5f7f5;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #d5dfda;background:white;border-radius:7px;padding:10px 14px;color:inherit}button:hover{background:#edf4ef}button:disabled{opacity:.5;cursor:wait}button.primary{background:#245e4f;color:#fff;border-color:#245e4f}button.primary:hover{background:#184737}button.subtle{background:transparent;border:0}input,textarea,select{width:100%;border:1px solid #cdd8d0;border-radius:7px;padding:11px;background:#fff;color:#20332f}input:focus,textarea:focus,select:focus{outline:2px solid #83b4a1;outline-offset:2px}label{display:block;font-size:12px;font-weight:bold;margin:16px 0 7px}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px}h2{font-size:21px}small,.muted{color:#6c7e74}small{font-size:12px}.brand{font-size:26px;font-weight:700;letter-spacing:-1.5px;display:flex;align-items:center;gap:9px}.mark{display:inline-grid;place-items:center;width:29px;height:32px;background:#2d6b56;color:white;border-radius:4px 12px 4px 4px;font-size:19px}.shell{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid #dfe6e0;padding:30px 20px;display:flex;flex-direction:column;gap:26px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{text-align:left;border:0}.sidebar nav button.active{background:#e9f1eb;color:#245e4f;font-weight:bold}.sidebar footer{margin-top:auto;border-top:1px solid #e5eae5;padding-top:20px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:bold;color:#708576;margin-bottom:13px;text-transform:uppercase}.sidebar .eyebrow{margin-left:12px}.side-note{background:#f5f7f2;padding:15px;font-size:12px;line-height:1.7;border-radius:9px;color:#5b7160}.avatar{width:30px;height:30px;display:inline-grid;place-items:center;background:#e3ece4;border-radius:50%;margin-right:7px;font-size:12px;font-weight:bold}main{min-width:0}.topbar{height:71px;border-bottom:1px solid #dfe6e0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 35px;font-size:12px;color:#6c7e74}.badge{border:1px solid #d2dfd6;border-radius:20px;font-size:11px;padding:6px 10px;background:#f4f8f3;color:#48705b}.page{padding:37px;max-width:1500px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.heading p{margin-bottom:0;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.project-card{background:#fff;border:1px solid #dbe4dc;border-radius:12px;padding:24px;min-height:210px;text-align:left;display:flex;flex-direction:column;align-items:start;gap:14px}.project-card h2{margin:0}.project-card p{line-height:1.7;font-size:13px;color:#6c7e74}.project-card footer{margin-top:auto;font-size:12px;color:#65766a;display:flex;justify-content:space-between;width:100%}.icon{font-size:23px;padding:10px 13px;border-radius:8px;background:#edf3e9;color:#4c704c}.empty{padding:65px 30px;background:white;border:1px dashed #ccd9cd;border-radius:10px;text-align:center;line-height:1.8}.workspace{display:grid;grid-template-columns:260px minmax(280px,1fr) minmax(300px,1fr);border:1px solid #d9e2d9;border-radius:10px;overflow:hidden;background:white;min-height:610px}.toc{background:#fafbf8;border-right:1px solid #dfe6dc;padding:20px 14px}.toc button.section{display:block;width:100%;text-align:left;border:0;background:transparent;padding:13px 10px;margin-bottom:4px;font-size:12px}.toc button.section.active{background:#e6eee3;color:#285a44}.section small{display:block;font-size:10px;margin-top:6px}.panel{padding:23px;min-width:0}.editor{border-right:1px solid #dfe6dc}.panel-header{display:flex;justify-content:space-between;align-items:start;gap:12px}.panel h2{font-size:17px;margin-bottom:7px}.panel p{line-height:1.65;font-size:12px}.editor textarea{min-height:330px;resize:vertical;line-height:1.8;font-family:Georgia,serif;background:#fefefd}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.notice{font-size:11px;background:#f5f4e9;color:#77704a;padding:12px;border-radius:6px;line-height:1.6;margin:18px 0}.preview{background:#edf0eb}.paper{background:#fff;padding:28px;box-shadow:0 3px 12px #2233190b;min-height:470px;margin-top:20px;overflow-wrap:anywhere}.paper .document-title{font-size:26px;font-weight:normal;line-height:1.25;border-bottom:2px solid var(--accent);padding-bottom:20px;color:var(--accent)}.paper h3{font-size:15px;margin-top:22px;margin-bottom:10px;color:var(--accent)}.paper p{white-space:pre-wrap;font-size:12px;line-height:1.8}.paper ol{padding-left:20px;font-size:11px;line-height:1.9}.paper .pending{color:#99a59b;font-style:italic}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#e5ece0;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-story h1{font-family:Georgia,serif;font-size:52px;font-weight:normal;line-height:1.15;margin-top:60px}.auth-story p{line-height:1.9;color:#5a705d;max-width:390px}.auth-form{display:grid;place-items:center;padding:35px;background:#fff}.auth-form form{width:100%;max-width:350px}.auth-form h2{font-size:27px}.auth-form button.primary{width:100%;margin-top:22px}.error{color:#a73636;line-height:1.6;font-size:12px;min-height:20px;margin-top:12px}.tabs{display:flex;gap:10px;margin:20px 0}.tabs button.active{background:#eaf1e6;border-color:#adc1a9}.auth-foot{font-size:11px;line-height:1.8;margin-top:25px;color:#7a857b}dialog{border:1px solid #d5e0d3;border-radius:13px;padding:28px;width:min(500px,95vw);box-shadow:0 15px 80px #19332130}dialog::backdrop{background:#1e30295c}dialog h2{margin-bottom:7px}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203b30;color:white;border-radius:8px;padding:13px 22px;box-shadow:0 5px 20px #0002;display:none;max-width:90vw;z-index:5}.back{margin-bottom:20px;padding-left:0}.row{display:flex;gap:12px}.row>*{flex:1}.format-notes{font-size:11px;color:#6c7e74;margin-top:10px;white-space:pre-wrap}.doc-list{display:grid;gap:12px}.doc-row{padding:22px;border:1px solid #dbe4dc;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left}.doc-row h3{margin:0 0 7px}@media(min-width:1600px){.workspace{grid-template-columns:270px 1fr 1fr}}@media(max-width:1200px){.workspace{grid-template-columns:220px 1fr}.preview{grid-column:1/-1;border-top:1px solid #dfe6dc}.editor{border:0}}@media(max-width:750px){.shell{grid-template-columns:1fr}.sidebar{padding:15px 20px;flex-direction:row;align-items:center;gap:15px;border-bottom:1px solid #dfe6e0}.sidebar nav,.sidebar .side-note,.sidebar footer,.sidebar .eyebrow{display:none}.page{padding:23px 16px}.topbar{height:50px;padding:0 17px}.heading{align-items:start}.heading h1{font-size:23px}.workspace{display:block}.toc{border-bottom:1px solid #dfe6dc}.toc button.section{display:inline-block;width:auto;vertical-align:top}.panel{padding:18px}.auth{grid-template-columns:1fr}.auth-story{padding:35px}.auth-story h1{font-size:35px;margin-top:30px}.auth-story p{display:none}.auth-form{padding:35px 25px}.paper{padding:20px}}
.paper ol{list-style:none;padding-left:0}@media(max-width:750px){.sidebar{flex-wrap:wrap;justify-content:space-between}.sidebar footer{display:block;margin:0;padding:0;border:0}.sidebar footer .avatar{display:none}.sidebar nav{display:block}.sidebar nav button{padding:7px}.sidebar footer{font-size:0}.sidebar footer button{font-size:12px}}
.assignment{border-top:1px solid #dfe6dc;margin-top:24px;padding-top:4px}.assignment p{font-size:12px}.readonly-content{white-space:pre-wrap;overflow-wrap:anywhere;min-height:230px}.member-options{border:1px solid #dfe6dc;border-radius:7px;margin-top:22px}.member-options label{display:flex;align-items:center;gap:12px;margin:14px 0}.member-options input{width:auto}.member-options small{display:block;font-weight:normal;margin-top:5px}.member-list{max-height:180px;overflow:auto;border-bottom:1px solid #dfe6dc;padding:8px 0}.member-list p{font-size:13px;line-height:1.7}
.document-controls{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.rich-editor{border:1px solid #cdd8d0;border-radius:8px;overflow:hidden;background:white}.format-toolbar{background:#f5f7f4;border-bottom:1px solid #dce3da;padding:8px}.toolbar-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:3px 0}.toolbar-row select{width:auto;max-width:170px;padding:6px 7px;font-size:11px}.toolbar-row button{padding:6px 8px;font-size:11px;border-radius:4px;min-height:29px}.toolbar-row button[aria-pressed=true]{background:#d7e8dc;border-color:#76a38a;color:#1b5235}.toolbar-row button[data-command=bold]{font-weight:bold}.toolbar-row button[data-command=italic]{font-style:italic}.toolbar-row button[data-command=underline]{text-decoration:underline}.toolbar-row select:disabled,.color-control:has(input:disabled){opacity:.45}.color-control{margin:0;display:flex;align-items:center;gap:3px;border:1px solid #d5dfda;border-radius:4px;background:white;padding:3px 5px;font-size:11px}.color-control input{width:20px;height:22px;padding:1px;border:0}.editor-canvas .tiptap{min-height:310px;padding:20px;outline:none;overflow-wrap:anywhere;font-family:var(--document-font,Georgia);font-size:var(--document-size,14px);line-height:var(--document-line,1.5)}.tiptap p{font-size:inherit;line-height:inherit;margin:0 0 .85em}.tiptap h1,.tiptap h2,.tiptap h3{color:var(--accent);line-height:1.3;margin:1em 0 .5em}.tiptap h1{font-size:2em}.tiptap h2{font-size:1.5em}.tiptap h3{font-size:1.2em}.tiptap blockquote,.rich-content blockquote{border-left:3px solid #aac3b0;margin:1em 0;padding-left:16px}.tiptap pre,.rich-content pre{background:#eef2ec;border-radius:5px;padding:12px;white-space:pre-wrap}.tiptap img,.rich-content img{max-width:100%;height:auto;display:block;margin:12px 0}.tiptap img.ProseMirror-selectednode{outline:3px solid #84ac90}.tiptap table,.rich-content table{border-collapse:collapse;width:100%;table-layout:fixed;margin:14px 0}.tiptap td,.tiptap th,.rich-content td,.rich-content th{border:1px solid #bacabf;padding:8px;min-width:35px;vertical-align:top;position:relative}.tiptap th,.rich-content th{background:#eaf0e7}.tiptap .selectedCell{background:#d8e9da}.editor-footer{border-top:1px solid #e2e8df;padding:9px 11px;font-size:10px;color:#6c7e74;display:flex;justify-content:space-between;gap:12px;background:#fafbf8}.rich-content{font-family:var(--document-font,Georgia);font-size:var(--document-size,14px);line-height:var(--document-line,1.5);overflow-wrap:anywhere;white-space:normal}.paper .rich-content p,.rich-content p{font-size:inherit;line-height:inherit;white-space:pre-wrap;margin:0 0 .85em}.paper .rich-content ol{list-style:decimal;padding-left:25px;font-size:inherit;line-height:inherit}.rich-content ul{list-style:disc;padding-left:25px}.rich-content h1{font-size:1.8em}.rich-content h2{font-size:1.5em}.paper .rich-content h3{font-size:1.2em}.rich-content h1,.rich-content h2,.rich-content h3{line-height:1.3;color:var(--accent)}.rich-content a,.tiptap a{color:#226c9b;text-decoration:underline}.style-locked .tiptap [style]{font-family:inherit!important;font-size:inherit!important;color:inherit!important;background-color:transparent!important;line-height:inherit!important;text-align:inherit!important}.format-toolbar [hidden],.rich-editor [hidden]{display:none!important}.editor .notice{margin:14px 0}.workspace{grid-template-columns:230px minmax(350px,1.15fr) minmax(270px,1fr)}@media(max-width:1350px){.workspace{grid-template-columns:220px minmax(300px,1fr)}.workspace .preview{grid-column:1/-1;border-top:1px solid #dfe6dc}.workspace .editor{border-right:0}}@media(max-width:750px){.workspace{display:block}.document-controls{justify-content:flex-start}.heading:has(.document-controls){flex-wrap:wrap}.toolbar-row select{max-width:140px}.editor-canvas .tiptap{padding:16px}.rich-content{overflow-x:auto}}
.format-toolbar .toolbar-icon{min-width:30px;display:inline-flex;align-items:center;justify-content:center;height:30px;font-size:15px}.toolbar-icon[data-command=strike]{text-decoration:line-through}.toolbar-icon[data-command=clear]{font-size:12px}.toolbar-icon[data-command=undo],.toolbar-icon[data-command=redo]{font-size:20px}.format-toolbar .toolbar-row button[data-command=underline]{text-decoration:underline}
/* Document focus workspace: navigation rail, TOC, contribution and optional preview. */
.nav-icon{display:inline-block;margin-right:7px}.logout-icon{display:none}.nav-toggle{padding:8px;font-size:18px;min-height:36px}.toc-dismiss,#contents-toggle{display:none}.document-focus{height:100dvh;min-height:0;overflow:hidden;grid-template-columns:64px minmax(0,1fr);transition:grid-template-columns .2s ease}.document-focus.nav-expanded{grid-template-columns:224px minmax(0,1fr)}.document-focus>.sidebar{height:100dvh;position:relative;z-index:20;padding:18px 12px;gap:22px;overflow-y:auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start}.document-focus .sidebar .brand{min-height:32px;flex-shrink:0}.document-focus .sidebar footer{display:block;margin-top:auto;padding-top:16px;border-top:1px solid #e5eae5;font-size:12px}.document-focus .sidebar nav{display:grid}.document-focus .sidebar footer button{font-size:12px}.document-focus .sidebar footer .avatar{display:inline-grid}.document-focus.nav-collapsed .sidebar .brand-name,.document-focus.nav-collapsed .sidebar .eyebrow,.document-focus.nav-collapsed .sidebar .nav-label,.document-focus.nav-collapsed .sidebar .side-note,.document-focus.nav-collapsed .sidebar .user-name,.document-focus.nav-collapsed .sidebar .avatar{display:none}.document-focus.nav-collapsed .sidebar .brand{justify-content:center}.document-focus.nav-collapsed .sidebar nav button,.document-focus.nav-collapsed .sidebar footer button{width:38px;height:38px;padding:8px;text-align:center}.document-focus.nav-collapsed .sidebar .nav-icon{display:inline-block;margin:0;font-size:20px}.document-focus.nav-collapsed .sidebar footer{border:0;padding:0}.document-focus>main{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.document-focus .topbar{height:46px;min-height:46px;padding:0 20px;gap:15px}.document-focus .topbar>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-focus .topbar .badge{flex-shrink:0}.document-focus .page{width:100%;max-width:none;margin:0;padding:0;flex:1;min-height:0;display:flex;flex-direction:column}.document-focus .page>.back{padding:9px 20px;margin:0;align-self:flex-start;font-size:11px}.document-focus .page>.heading{padding:6px 20px 16px;margin:0;gap:15px;border-bottom:1px solid #dfe6dc;flex-shrink:0}.document-focus .heading h1{font-size:21px;letter-spacing:-.5px;margin:0}.document-focus .heading .eyebrow,.document-focus .heading p{display:none}.document-focus .document-controls{gap:7px}.document-focus .document-controls button{padding:8px 10px;font-size:12px}.document-focus .document-controls .badge{font-size:10px}.document-focus .workspace{position:relative;display:grid;grid-template-columns:250px minmax(0,1fr) 0;flex:1;min-height:0;border:0;border-radius:0;overflow:hidden;transition:grid-template-columns .2s ease}.document-focus.preview-open .workspace{grid-template-columns:250px minmax(0,1fr) min(440px,38vw)}.document-focus .workspace>.toc{grid-column:1;grid-row:1;min-height:0;overflow-y:auto;padding:24px 13px}.document-focus .toc button.section{display:block;width:100%;font-size:12px;line-height:1.5;border-radius:6px}.document-focus .workspace>.editor{grid-column:2;grid-row:1;min-height:0;overflow-y:auto;border:0;padding:24px clamp(20px,4vw,72px)}.document-focus .editor-canvas .tiptap{min-height:max(320px,calc(100dvh - 450px));padding:26px}.document-focus .editor .assignment{margin-top:24px}.document-focus .document-preview{position:fixed;inset:var(--preview-top,140px) 0 0 auto;max-width:none;max-height:none;width:min(440px,38vw);height:calc(100dvh - var(--preview-top,140px));margin:0;padding:24px;border:0;border-left:1px solid #d1dcd0;border-radius:0;background:#edf0eb;overflow-y:auto;box-shadow:-10px 0 30px #213c2414}.document-focus .document-preview[open]{display:block;animation:preview-enter .2s ease-out}.document-preview .panel-header{align-items:center;margin-bottom:12px}.document-preview .panel-header h2{margin-bottom:0}.document-preview .panel-header button{padding:6px 10px;font-size:18px}.document-preview .paper{margin-top:18px}.document-preview::backdrop{background:#1e30295c}@keyframes preview-enter{from{transform:translateX(100%);opacity:.5}to{transform:translateX(0);opacity:1}}@media(max-width:1100px){.document-focus.preview-open .workspace{grid-template-columns:250px minmax(0,1fr) 0}.document-focus .document-preview{inset:0 0 0 auto;width:min(580px,calc(100vw - 64px));height:100dvh}.document-focus .heading{flex-wrap:wrap}.document-focus .document-controls{justify-content:flex-start}}@media(max-width:800px){.document-focus,.document-focus.nav-expanded{grid-template-columns:56px minmax(0,1fr)}.document-focus>.sidebar{padding:15px 8px;gap:20px}.document-focus.nav-expanded>.sidebar{position:fixed;inset:0 auto 0 0;width:224px;box-shadow:8px 0 24px #203b3029}.document-focus #contents-toggle{display:inline-block}.document-focus .topbar{padding:0 12px;height:42px;min-height:42px}.document-focus .topbar .badge{display:none}.document-focus .page>.back{padding:8px 12px}.document-focus .page>.heading{padding:6px 12px 12px;gap:10px;align-items:flex-start;flex-direction:column}.document-focus .heading h1{font-size:19px}.document-focus .document-controls{gap:5px;justify-content:flex-start}.document-focus .document-controls button{padding:7px 8px;font-size:11px}.document-focus .document-controls .badge{display:none}.document-focus .workspace,.document-focus.preview-open .workspace{grid-template-columns:minmax(0,1fr)}.document-focus .workspace>.editor{grid-column:1;padding:20px 14px}.document-focus .workspace>.toc{position:absolute;inset:0 auto 0 0;width:240px;z-index:16;background:#fafbf8;transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s;box-shadow:6px 0 18px #203b3020}.document-focus.toc-open .workspace>.toc{transform:translateX(0);visibility:visible}.document-focus .toc-dismiss{position:absolute;inset:0;background:#203b304a;border:0;border-radius:0;z-index:15}.document-focus.toc-open .toc-dismiss{display:block}.document-focus .toc-dismiss[hidden]{display:none}.document-focus .editor-canvas .tiptap{padding:18px;min-height:350px}.document-focus .document-preview{width:calc(100vw - 56px);padding:18px}.document-focus .preview .paper{padding:20px}.document-focus .sidebar .side-note{display:block}.document-focus.nav-collapsed .sidebar .side-note{display:none}}@media(prefers-reduced-motion:reduce){.document-focus,.document-focus .workspace,.document-focus .workspace>.toc{transition:none}.document-focus .document-preview[open]{animation:none}}
/* A single toolbar flow: controls use available width before wrapping. */
.format-toolbar{display:flex;flex-wrap:wrap;align-items:center;align-content:flex-start;gap:6px}.format-toolbar .toolbar-row{display:contents}.format-toolbar .toolbar-row[hidden]{display:none!important}.format-toolbar select,.format-toolbar button,.format-toolbar .color-control{flex:0 0 auto}.format-toolbar .color-control{height:30px}
.preview-window-controls{display:flex;align-items:center;gap:8px}.document-preview .panel-header .preview-window-controls button{font-size:12px;min-height:34px}.preview-window-controls #preview-close{font-size:18px}.document-focus .document-preview.preview-fullsize{inset:24px;width:calc(100vw - 48px);height:calc(100dvh - 48px);border:1px solid #cdd9ce;border-radius:10px;box-shadow:0 16px 80px #17332640}.document-preview.preview-fullsize>.panel-header{position:sticky;top:-24px;background:#edf0eb;padding:10px 0;z-index:2}.document-preview.preview-fullsize .paper{max-width:900px;min-height:calc(100dvh - 210px);margin:20px auto;padding:44px 55px}.document-preview .paper a{color:#245e4f;text-decoration:none}.document-preview .paper a:hover{text-decoration:underline}.document-preview .paper h3[id]{scroll-margin-top:80px}@media(max-width:800px){.document-focus .document-preview.preview-fullsize{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:18px}.document-preview.preview-fullsize .paper{padding:26px 22px}.document-preview.preview-fullsize>.panel-header{top:-18px}.preview-window-controls{gap:5px}.document-preview .panel-header .preview-window-controls button{padding:6px}}

.settings-dialog{width:min(960px,calc(100vw - 32px));max-width:none;height:calc(100dvh - 48px);overflow:auto}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.settings-dialog .settings-grid label{grid-column:1}.settings-dialog .settings-grid select{grid-column:2}.history-dialog{width:calc(100vw - 48px);max-width:1300px;height:calc(100dvh - 48px);overflow:auto}.history-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;margin-top:22px}.history-entry{display:block;width:100%;text-align:left;margin-bottom:8px}.history-entry small{display:block;line-height:1.6;margin-top:7px}.history-page .actions{flex-wrap:wrap}.history-page .actions input{width:180px}.history-page .actions label{margin:0}.history-page article{padding:24px;border:1px solid #d5dfda;border-radius:8px;overflow:auto}.paper,.readonly-content,.editor-canvas .tiptap{color:var(--document-color,#20332f);background:var(--document-background,#fff)}.rich-content h1,.tiptap h1{font-size:calc(1em * var(--heading-scale,1.5) * 1.3)}.rich-content h2,.tiptap h2{font-size:calc(1em * var(--heading-scale,1.5))}.rich-content h3,.tiptap h3{font-size:calc(1em * var(--heading-scale,1.5) * .85)}@media(max-width:700px){.history-layout{grid-template-columns:1fr}.settings-dialog,.history-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:18px}.settings-grid{display:block}}

.settings-sample{padding:24px;border:1px solid #d5dfda;border-radius:8px;margin-top:22px}.history-page .rich-content h1,.history-page .rich-content h2,.history-page .rich-content h3{color:var(--accent,#25665b)}

.settings-dialog input[type=color]{height:42px;padding:5px}.settings-dialog #settings-title{margin-bottom:14px}

.history-dialog{inset:16px;width:calc(100vw - 32px);max-width:none;height:calc(100dvh - 32px);max-height:none;margin:0;padding:24px;overflow:hidden}.history-page{height:100%;display:flex;flex-direction:column;min-height:0}.history-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.history-header h2{margin-bottom:8px}.history-header p{margin-bottom:12px}.history-header>button{flex-shrink:0}.history-actions{align-items:flex-end}.history-actions label{font-size:12px}.history-layout{flex:1;min-height:0;grid-template-columns:280px minmax(0,1fr);gap:20px;margin-top:18px;overflow:hidden}#history-list{overflow:auto;padding-right:6px}.history-entry.selected{background:#e6f0e9;border-color:#25665b;box-shadow:inset 3px 0 #25665b}.history-detail{min-width:0;overflow:auto;padding-right:6px}.history-detail .tabs{position:sticky;top:0;background:white;z-index:1;padding-bottom:8px}.history-page article{min-height:calc(100% - 60px)}.snapshot-meta{font:12px Arial,sans-serif;color:#62736a}.snapshot-actions{margin-top:24px}.plain-snapshot,.text-diff{white-space:pre-wrap;overflow-wrap:anywhere}.comparison-selectors{display:grid;grid-template-columns:1fr 1fr;gap:16px}.comparison-selectors label{margin:8px 0 16px}.text-diff{border:1px solid #cdd8d0;border-radius:8px;padding:24px;line-height:1.8}.text-diff ins{background:#dcf3e2;color:#14552b;text-decoration:underline}.text-diff del{background:#fce2e2;color:#922525;text-decoration:line-through}[hidden]{display:none!important}@media(max-width:800px){.history-dialog{inset:8px;width:calc(100vw - 16px);height:calc(100dvh - 16px);padding:16px}.history-layout{grid-template-columns:220px minmax(0,1fr);gap:12px}.history-page article{padding:16px}.history-header h2{font-size:19px}}@media(max-width:600px){.history-layout{display:flex;flex-direction:column;overflow:auto}#history-list{max-height:190px;flex-shrink:0}.history-detail{overflow:visible}.history-header{gap:10px}.comparison-selectors{grid-template-columns:1fr}.history-actions input{width:150px}.history-page .actions{gap:8px}.history-page article{min-height:240px}}
.document-focus .page>.heading>div>p,.document-focus .page>.heading .eyebrow{display:none}.document-focus .page>.heading{padding:8px 24px 10px}.document-focus .page>.back{margin:0;padding:8px 24px 0}.document-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:0 24px 10px;border-bottom:1px solid #dce4dd;background:white}.document-tabs button{border:0;border-bottom:3px solid transparent;border-radius:4px 4px 0 0;padding:10px 18px;background:transparent}.document-tabs button[aria-selected=true]{color:#245e4f;background:#edf5ef;border-bottom-color:#245e4f;font-weight:bold}.document-views{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.document-views>section{flex:1;min-height:0;overflow:auto;background:white}.document-views #view-write{display:flex;flex-direction:column;overflow:hidden}.document-views #view-write>.workspace{flex:1;min-height:0}.document-views #view-write>#contents-toggle{align-self:flex-start;margin:8px 14px}.document-focus .editor .section-actions{margin:12px 0 18px;align-items:center}.document-focus .editor .notice{margin:8px 0}.document-focus .editor #draft-label{display:none}.document-focus .editor .panel-header{align-items:center}.document-focus .editor #draft-state{margin:14px 0 0}.tab-page-heading{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.tab-page-heading h2{margin-bottom:8px}.tab-page-heading .actions{margin-top:0}#view-preview,#view-people,#view-settings{padding:24px clamp(18px,4vw,64px)}.tab-master-paper{max-width:900px;margin:20px auto}.tab-master-paper .paper{padding:42px;min-height:700px}.tab-master-paper h3[id]{scroll-margin-top:18px}.history-scope{display:flex;gap:12px;align-items:center;padding:16px 24px;border-bottom:1px solid #dce4dd}.history-scope label{margin:0}.history-scope select{width:auto;min-width:200px}#view-history{display:flex;flex-direction:column;overflow:hidden}.history-inline{flex:1;min-height:0;padding:20px 24px;display:flex;flex-direction:column}.history-inline>.history-page{flex:1;min-height:0}.history-inline .history-header #history-close{display:none}.history-pull{padding-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.settings-inline{max-width:1050px;margin:0 auto}.settings-inline .settings-grid label{grid-column:1}.settings-inline .settings-grid select{grid-column:2}.settings-inline input[type=color]{height:42px;padding:5px}.people-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:16px 0 28px}.people-group{border:1px solid #d5dfda;border-radius:8px;padding:20px}.people-group button{margin-right:6px}.people-group h3{margin-bottom:12px}.member-directory{display:flex;flex-wrap:wrap;gap:20px;margin:16px 0 28px}.member-directory>div{padding:12px 16px;background:#f3f7f3;border-radius:6px;min-width:180px}.member-directory small{display:block;margin-top:6px}.access-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #dce4dd;padding:16px 0}.access-row p{margin:8px 0;font-size:12px}.access-row button{flex-shrink:0}.document-focus .document-views .editor-canvas .tiptap{min-height:max(340px,calc(100dvh - 430px))}@media(max-width:800px){.document-tabs{padding:0 12px 8px;gap:2px}.document-tabs button{padding:9px 12px;font-size:12px}.document-focus .page>.heading{padding:8px 14px}.document-focus .page>.back{padding-left:14px}.history-inline{padding:14px;overflow:auto}.history-scope{padding:12px 14px}.tab-master-paper .paper{padding:24px}#view-preview,#view-people,#view-settings{padding:18px}.access-row{align-items:flex-start}.document-focus .document-views .editor-canvas .tiptap{min-height:360px}}@media(max-width:600px){.history-inline>.history-page{min-height:560px}.history-inline .history-layout{overflow:auto}.access-row{flex-direction:column}.document-tabs button{padding:9px 10px}.people-groups{grid-template-columns:1fr}}
.document-focus .page>.heading{padding:18px 24px 12px;flex-shrink:0}.document-focus .page>.heading h1{margin-bottom:7px}.document-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#6c7e74;font-size:12px;line-height:1.5}.document-breadcrumb button{padding:0;font-size:12px;color:#426b57}.document-breadcrumb [aria-current=page]{overflow-wrap:anywhere}.document-focus main>.topbar[hidden]{display:none}@media(max-width:800px){.document-focus .page>.heading{padding:14px 14px 10px}.document-breadcrumb{font-size:11px}.document-breadcrumb button{font-size:11px}}
.document-focus .page>.heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;border-bottom:1px solid #dce4dd;background:white;margin:0}.document-focus .page>.heading>div:first-child{min-width:0;flex:1 1 300px}.document-focus .page>.heading h1{font-size:22px;line-height:1.25;overflow-wrap:anywhere}.document-focus .heading>.document-tabs{padding:0;border:0;flex:0 1 auto;justify-content:flex-end;gap:2px;background:transparent}.document-focus .heading>.document-tabs button{padding:10px 12px}.document-focus .heading>.document-tabs button[aria-selected=true]{border-bottom-color:#245e4f}@media(max-width:600px){.document-focus .page>.heading{flex-direction:row;align-items:center;gap:8px}.document-focus .page>.heading>div:first-child{flex-basis:100%}.document-focus .heading>.document-tabs{justify-content:flex-start;flex-wrap:wrap;width:100%}.document-focus .page>.heading h1{font-size:19px}.document-focus .heading>.document-tabs button{padding:8px 10px}}

@media(min-width:601px) and (max-width:1000px){.document-focus .page>.heading{flex-direction:row;flex-wrap:nowrap;gap:16px;padding:14px}.document-focus .page>.heading>div:first-child{flex:1 1 200px}.document-focus .heading>.document-tabs{flex:0 0 300px;justify-content:flex-end}.document-focus .heading>.document-tabs button{padding:9px 8px;font-size:12px}.document-focus .page>.heading h1{font-size:19px}}

.publication-options{border:1px solid #d5dfda;border-radius:8px;padding:18px;margin:24px 0}.publication-options label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;font-weight:normal}.publication-options input[type=checkbox]{width:auto}.publication-preview{font-family:var(--document-font,Georgia);font-size:var(--document-size,14px);line-height:var(--document-line,1.5)}.publication-preview p{font-size:inherit;line-height:inherit}.publication-preview .cover{padding:36px 0 60px}.publication-preview .cover h1{color:#000;border:0;font-size:30px;line-height:1.25}.publication-preview .cover-kicker{font:12px Arial,sans-serif}.publication-preview .cover-subtitle{font-size:19px}.publication-preview .front-matter{padding:24px 0}.publication-preview .after-cover,.publication-preview .dedicated-toc{border-bottom:1px solid #d5dfda;margin-bottom:24px;padding-bottom:24px}.publication-preview .toc{border:0;background:transparent;padding:0}.publication-preview .toc p{margin:4px 0}.publication-preview .document-control{margin-top:24px;font-size:12px}.publication-preview .manifest{margin-top:32px;font-size:12px}

.timeline-date{font-size:12px;color:#61766a;margin:16px 0 10px}.timeline-event{position:relative;padding-left:16px;border-left:2px solid #d8e4dc;margin-left:5px}.timeline-event:before{content:"";position:absolute;left:-5px;top:16px;width:8px;height:8px;border-radius:50%;background:#708b7a}.timeline-event.named:before{background:#245e4f}.timeline-event.restored:before{background:#a36b25}.timeline-category{display:block;font-size:10px;letter-spacing:.4px;text-transform:uppercase;color:#526e5d;margin-bottom:5px}.history-inline .history-detail article{min-height:260px}.history-actions label select{margin-top:6px}.timeline-event .history-entry{overflow-wrap:anywhere}.history-actions #history-label-field{max-width:260px}

.publication-preview .control-page{padding:24px 0 36px;border-bottom:1px solid #d5dfda;margin-bottom:24px}
.settings-subnav{display:flex;gap:8px;margin-bottom:20px}.settings-subnav .active,.designer-palette .active{background:#e0eee8;border-color:#48816a}.settings-inline.design-active{max-width:none}.designer-top{display:flex;justify-content:space-between;gap:16px;align-items:center}.designer-top h2{margin:0}.designer-message{font-size:13px;color:#386451;margin:10px 0}.designer-overflow:empty{display:none}.designer-workspace{display:grid;grid-template-columns:170px minmax(240px,1fr) 240px;gap:16px;align-items:start}.designer-palette,.designer-inspector{padding:14px;background:#fff;border:1px solid #dce4df;border-radius:10px}.designer-palette button{display:block;width:100%;margin:6px 0;text-align:left}.designer-inspector input,.designer-inspector select,.designer-palette select{width:100%;min-width:0}.designer-inspector input[type=checkbox]{width:auto}.designer-inspector input[type=color]{height:36px;padding:3px}.designer-inspector fieldset{padding:8px;margin:12px 0;border:1px solid #d6dfd8}.designer-position{display:grid;grid-template-columns:1fr 1fr;gap:8px}.designer-stage{padding:24px;background:#e4e9e5;border-radius:10px;overflow:auto}.designer-sheet{position:relative;width:100%;max-width:750px;margin:auto;box-shadow:0 3px 18px #142e2928;overflow:hidden;isolation:isolate;--design-point:1px}.designer-element{position:absolute;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;line-height:1.15;cursor:move;touch-action:none;box-sizing:border-box;outline:1px dashed #6a93895c}.designer-element.selected{outline:2px solid #2d8e75;background:#6dad9610}.designer-element img{width:100%;height:100%;object-fit:contain;pointer-events:none}.designer-element table{width:100%;table-layout:fixed;border-collapse:collapse;font:inherit}.designer-element th,.designer-element td{padding:.4em;border:1px solid #b8c6c2;overflow-wrap:anywhere}.designer-element th{background:#edf1f0;color:#172c29}.designer-element p{margin:.6em 0}.cover-designer button{font-size:12px}.designer-inspector h3,.designer-palette h3{font-size:13px;margin:16px 0 10px}.designer-inspector h3:first-child,.designer-palette h3:first-child{margin-top:0}.design-page{background:#fff;margin:18px 0!important;box-shadow:0 2px 12px #172c2920}.design-page svg{width:100%;height:auto}.design-page table{font:inherit!important;margin:0!important}.design-page p{font:inherit!important}.design-page h2{color:inherit!important}.settings-inline:has(.cover-designer:not([hidden])){max-width:none}.designer-inspector label{font-size:12px}.designer-inspector .actions{margin-top:12px}@media(max-width:1100px){.designer-workspace{grid-template-columns:140px minmax(200px,1fr)}.designer-inspector{grid-column:1/-1;display:block}.designer-top{flex-direction:column;align-items:stretch}.designer-inspector .designer-position{grid-template-columns:repeat(4,1fr)}}@media(max-width:600px){.designer-workspace{grid-template-columns:minmax(0,1fr)}.designer-palette{display:flex;flex-wrap:wrap;gap:6px}.designer-palette h3,.designer-palette p{width:100%}.designer-palette button{width:auto}.designer-palette select{width:auto}.designer-stage{padding:10px}.designer-inspector{grid-column:auto}.designer-inspector .designer-position{grid-template-columns:1fr 1fr}}
.design-history-icon{font-family:Arial,sans-serif;font-size:22px;line-height:1;vertical-align:-2px;margin-right:4px}
.section-header-controls{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:55%}.section-assignment-control{max-width:100%;overflow-wrap:anywhere;font-size:12px;padding:7px 10px;border:1px solid #c9dcd2;border-radius:7px;background:#edf5f0;color:#225b47}#assignment-removal input{width:auto}@media(max-width:600px){.section-header-controls{max-width:100%;justify-content:flex-start}}
.designer-element-content{width:100%;min-height:0}.designer-resize-handle{position:absolute;width:11px;height:11px;background:#fff;border:2px solid #246454;z-index:4;box-sizing:border-box;touch-action:none}.designer-resize-handle[data-resize=nw]{left:0;top:0;cursor:nwse-resize}.designer-resize-handle[data-resize=ne]{right:0;top:0;cursor:nesw-resize}.designer-resize-handle[data-resize=sw]{left:0;bottom:0;cursor:nesw-resize}.designer-resize-handle[data-resize=se]{right:0;bottom:0;cursor:nwse-resize}.designer-resize-handle[data-resize=n]{left:calc(50% - 5px);top:0;cursor:ns-resize}.designer-resize-handle[data-resize=s]{left:calc(50% - 5px);bottom:0;cursor:ns-resize}.designer-resize-handle[data-resize=w]{left:0;top:calc(50% - 5px);cursor:ew-resize}.designer-resize-handle[data-resize=e]{right:0;top:calc(50% - 5px);cursor:ew-resize}
.paged-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:12px;background:#edf3ef;border-radius:8px;margin:12px 0}.paged-toolbar label{margin:0;font-size:12px}.paged-toolbar select{min-width:130px}.paged-toolbar .page-jump{width:70px}.paged-toolbar input,.paged-toolbar select{margin:4px 0 0;padding:8px}.paged-note{font-size:12px;color:#526c65}.pdf-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.pdf-page-grid.mode-single{grid-template-columns:minmax(0,850px);justify-content:center}.pdf-page-grid.mode-all{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.pdf-page{margin:0;min-width:0}.pdf-page figcaption{font-size:12px;color:#526c65;margin:8px 0}.pdf-page-surface{background:white;box-shadow:0 2px 12px #17352b22;min-height:240px}.pdf-page-surface canvas{display:block}.pdf-page-status,.paged-message{padding:18px;color:#526c65}.paged-preview-dialog{width:96vw;max-width:none;height:94vh;max-height:none;padding:22px;border:1px solid #d1dfd6;border-radius:12px;background:#f3f6f3;overflow:auto}.paged-preview-dialog::backdrop{background:#10291fcc}#preview-text-view{margin:10px 0}@media(max-width:600px){.pdf-page-grid{gap:8px}.pdf-page-grid.mode-all{grid-template-columns:minmax(0,1fr)}.paged-toolbar{gap:6px}.paged-toolbar button{padding:8px;font-size:12px}.paged-preview-dialog{padding:10px}}
.cover-designer,.designer-workspace,.designer-stage{overflow-anchor:none}
.pdf-canvas-scroller{max-width:100%;overflow:auto;padding:6px 4px 14px;overscroll-behavior:contain}.paged-toolbar .page-zoom{min-width:105px}
.pdf-canvas-scroller,#paged-preview,.tab-master-paper{border:0;box-shadow:none;background:transparent}.paged-preview-dialog{border:0}.document-preview{border:0}.paper img{max-width:100%;height:auto;object-fit:contain}.pdf-page-surface{overflow:hidden;border:0}
#paged-preview:focus,#paged-preview:focus-visible{outline:none}
.settings-inline:not(.design-active){max-width:1150px}.settings-category-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:28px;align-items:start}.settings-category-nav{display:grid;gap:7px;position:sticky;top:166px;align-self:start}.settings-category-nav button{text-align:left;border:0}.settings-category-nav button.active{background:#e5efe9;color:#245e4f;font-weight:bold}.settings-category-nav input{padding:9px;font-size:12px;margin-bottom:8px}.settings-category-content{min-width:0;max-width:760px}.settings-category-content>section{background:#fff;border:1px solid #dbe5de;border-radius:10px;padding:22px}.settings-category-content fieldset{margin-top:0}.settings-savebar{position:sticky;top:84px;z-index:5;background:#fff;padding:12px 0;margin:10px 0 20px;border-bottom:1px solid #dce5df}.settings-search-results{display:grid;gap:4px;padding:8px;background:#f2f6f3;border-radius:8px;font-size:12px}.settings-search-results[hidden]{display:none}.settings-search-results button{font-size:12px;padding:7px}@media(max-width:700px){.settings-category-layout{grid-template-columns:minmax(0,1fr);gap:16px}.settings-category-nav{position:static;display:flex;flex-wrap:wrap;gap:5px}.settings-category-nav input,.settings-search-results{width:100%}.settings-category-nav button{font-size:12px;padding:8px}.settings-category-content>section{padding:16px}.settings-savebar{top:122px}}
.paged-toolbar{align-items:center}.paged-toolbar label{display:flex;align-items:center;gap:6px}.paged-toolbar label input,.paged-toolbar label select{margin:0}.paged-toolbar button,#preview-text-view{margin:0;white-space:nowrap}.paged-toolbar{flex-wrap:wrap}.paged-toolbar select{width:auto}.text-view .pdf-canvas-scroller,.text-view .paged-note{display:none}.tab-page-heading .actions:empty{display:none}
.preview-scope-note{margin:0 0 0 auto;text-align:right;font-size:12px}.tab-page-heading:has(.preview-scope-note){align-items:center;gap:16px}.tab-page-heading:has(.preview-scope-note) h2{margin:0}@media(max-width:600px){.preview-scope-note{font-size:11px;max-width:55%}}
.paged-preview-dialog{inset:0;width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;padding:16px;border:0;border-radius:0}.paged-preview-dialog .paged-toolbar{position:sticky;top:0;z-index:10}.paged-preview-dialog:fullscreen{width:100vw;height:100vh;background:#f3f6f3}
.paged-note{margin:0}.paged-note:empty{display:none}.paged-toolbar{margin:8px 0}.paged-preview-dialog .paged-toolbar{margin-top:0}
.paged-toolbar .page-previous,.paged-toolbar .page-next{font-size:21px;line-height:1;min-width:38px;padding:7px}
.pdf-canvas-scroller{overscroll-behavior:auto}.paged-preview-dialog{overscroll-behavior:auto}

:root{--app-zoom:1}.app-zoom-controls{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:auto;white-space:nowrap}.app-zoom-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:32px;padding:5px;border-color:transparent;background:transparent}.app-zoom-controls button:hover{background:#edf5ef}.app-zoom-controls [data-app-zoom=reset]{font-size:12px;min-width:45px}.topbar{gap:12px}.document-focus,.document-focus>.sidebar{height:calc(100dvh / var(--app-zoom))}.paged-preview-dialog{width:calc(100vw / var(--app-zoom));height:calc(100dvh / var(--app-zoom))}.history-dialog{width:calc(100vw / var(--app-zoom) - 32px);height:calc(100dvh / var(--app-zoom) - 32px)}
