:root{font-family:Arial,Helvetica,sans-serif;color:#202124;background:#f8fafd;font-size:14px;--blue:#0b57d0;--muted:#6b7078}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;color:inherit}button{border:0;background:transparent;cursor:pointer}button:disabled,select:disabled{opacity:.4;cursor:default}a{text-decoration:none;color:inherit}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.icon{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon:hover{background:#e5eaf2}.small{width:30px;height:30px}.primary{background:var(--blue);color:white;border-radius:22px;padding:11px 24px}.text-button{padding:9px 12px;display:inline-flex;align-items:center;gap:7px;color:var(--blue);border-radius:20px;font-size:13px}.text-button:hover{background:#edf3ff}.avatar{width:34px;height:34px;border-radius:50%;background:#72504b;color:white}.wordmark{font-size:24px;font-weight:600;letter-spacing:-.6px}.home-header{height:80px;display:flex;align-items:center;gap:25px;padding:0 32px}.brand{display:flex;align-items:center;gap:13px;font-size:25px;letter-spacing:-.6px;min-width:200px}.brand img{border-radius:8px}.search{display:flex;gap:13px;align-items:center;background:#e9eef6;border-radius:28px;max-width:700px;width:100%;height:50px;padding:0 18px;margin-right:auto}.search input{background:transparent;border:0;outline:none;width:100%;font-size:16px}.templates{background:#edf1f7;padding:30px max(32px,calc((100vw - 1080px)/2)) 35px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.section-line h1,.section-line h2{font-size:17px;font-weight:500;margin:0}.section-line>span{font-size:12px;color:#7c8490}.template-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}.template{padding:0;text-align:left}.template-page{height:176px;background:#fff;border:1px solid #d9dee7;border-radius:4px;padding:24px 20px;overflow:hidden}.template:hover .template-page{border-color:#92b7ed;box-shadow:0 1px 4px #2c4a6814}.template>strong{display:block;font-size:13px;font-weight:500;margin:12px 4px 0}.blank-template{display:flex;align-items:center;justify-content:center}.blank-template svg{width:44px;height:44px;stroke:#e2a213;stroke-width:2}.template-page .mini-title{font-family:Georgia,serif;font-size:15px;color:#263141;margin-bottom:13px}.template-page .mini-line{height:3px;background:#d4dae2;margin:7px 0;width:100%}.template-page .mini-line.short{width:65%}.template-page .mini-heading{width:45%;height:5px;background:#8296ad;margin:16px 0 8px}.recent{max-width:1080px;margin:34px auto 60px;padding:0 4px}.home-controls{display:flex;align-items:center;gap:12px}.home-controls select{border:0;background:transparent;font-size:13px}.doc-row{display:flex;align-items:center;gap:16px;border-bottom:1px solid #e0e4ea;padding:11px 12px;border-radius:5px}.doc-row:hover{background:#edf2fa}.doc-row>img{width:27px;height:27px;border-radius:6px}.doc-open{font-size:14px;flex:1;text-align:left;padding:8px 0;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.doc-row .owner,.doc-row time{font-size:12px;color:var(--muted);width:170px}.doc-row time{width:100px}.empty{text-align:center;padding:70px 20px}.empty>img{border-radius:18px}.empty h2{font-size:23px;font-weight:400;margin:23px 0 12px}.empty p{color:var(--muted);line-height:1.6}.editor-header{height:73px;padding:10px 18px;display:flex;gap:13px;align-items:center}.document-brand{display:flex;align-items:center;align-self:flex-start;margin-top:5px}.document-brand img{border-radius:9px}.title-and-menu{flex:1;min-width:0}.title-line{display:flex;align-items:center;gap:8px}.title-line>input{border:1px solid transparent;background:transparent;font-size:19px;padding:2px 4px;max-width:min(440px,45vw);min-width:180px;text-overflow:ellipsis;border-radius:4px}.title-line>input:hover{border-color:#dadce0}.title-line>input:focus{border-color:var(--blue);outline:none}.title-line>input[readonly]{border-color:transparent}#save-state{font-size:11px;color:#737d88;white-space:nowrap}#menu-bar{display:flex;gap:1px;margin-top:1px}#menu-bar button{font-size:13px;padding:4px 8px;border-radius:4px;color:#4a4e55}#menu-bar button:hover{background:#e2e7ef}.editor-actions{display:flex;align-items:center;gap:9px}.share-button{display:flex;align-items:center;gap:8px;background:#c2e7ff;color:#001d35;padding:11px 21px;border-radius:24px;font-weight:500}#presence{display:flex;gap:4px}.presence-avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;color:white;font-size:11px;border:2px solid #fff}.toolbar{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin:0 12px 8px;padding:5px 10px;background:#eaf0f9;border-radius:22px;min-height:44px}.toolbar .icon{width:31px;height:31px;border-radius:5px}.toolbar svg{width:18px;height:18px}.toolbar button:hover,.toolbar .active{background:#cde0fb}.toolbar select{border:0;background:transparent;border-radius:5px;font-size:12px;max-width:120px;padding:7px 3px}.toolbar select:hover{background:#dfe7f2}.toolbar #font-size{max-width:51px;border:1px solid #c4c9d1;padding:4px 2px}.separator{height:23px;border-left:1px solid #cbd2dc;margin:0 4px}.format-button{width:28px;height:31px;font-size:15px;border-radius:5px}.color-tool{position:relative;display:flex;align-items:center;justify-content:center;width:30px;height:31px;border-radius:5px;cursor:pointer}.color-tool>span{font-size:16px;font-weight:600;border-bottom:3px solid #202124;padding:0 2px}.color-tool input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.highlight-tool>span{border-bottom:3px solid #ffdf5e}.editor-layout{display:flex;height:calc(100vh - 162px);min-height:300px;border-top:1px solid #e0e4e9}.outline{width:215px;padding:28px 18px;flex-shrink:0;overflow:auto}.outline h2{font-size:12px;font-weight:500;color:#79818c;margin:0 0 20px}.outline button{display:block;width:100%;text-align:left;border-radius:5px;padding:7px 8px;font-size:12px;line-height:1.5;color:#5f6773;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline button:hover{background:#e5edf8}.outline p{font-size:12px;line-height:1.7;color:#9299a3}.document-scroll{flex:1;min-width:0;overflow:auto;padding:0 38px 70px;display:flex;align-items:flex-start;justify-content:center;scroll-behavior:smooth}.paper-wrap{width:794px;flex-shrink:0}.ruler{height:31px;width:100%;display:flex;justify-content:space-around;align-items:center;color:#84909d;font-size:9px;background-image:repeating-linear-gradient(to right,transparent 0,transparent 11px,#bfc6ce 11px,#bfc6ce 12px);background-size:100% 5px;background-position:center 22px;background-repeat:no-repeat}.paper{width:100%;min-height:1123px;background:white;border:1px solid #d6dae0;box-shadow:0 2px 5px #263c5110;padding:72px 76px;--paper-min:975px}.ProseMirror{outline:none;min-height:var(--paper-min);font-family:Arial,sans-serif;font-size:11pt;line-height:1.6;color:#202124;overflow-wrap:anywhere}.ProseMirror p{margin:0 0 12px}.ProseMirror h1{font-size:28pt;font-weight:500;line-height:1.2;margin:22px 0 17px}.ProseMirror h2{font-size:20pt;font-weight:500;line-height:1.3;margin:22px 0 13px}.ProseMirror h3{font-size:16pt;font-weight:500;line-height:1.4;margin:18px 0 10px}.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{font-size:13pt;margin:17px 0 10px}.ProseMirror h1:first-child{margin-top:0}.ProseMirror blockquote{border-left:3px solid #cbd4df;margin:15px 0;padding:0 18px;color:#5f6773}.ProseMirror pre{background:#f1f3f7;padding:15px;font:11pt/1.6 'Courier New',monospace;white-space:pre-wrap}.ProseMirror img{max-width:100%;height:auto;display:block;margin:15px 0}.ProseMirror ul,.ProseMirror ol{padding-left:25px}.ProseMirror li p{margin:0}.ProseMirror ul[data-type=taskList]{list-style:none;padding-left:0}.ProseMirror li[data-type=taskItem]{display:flex;gap:10px}.ProseMirror li[data-type=taskItem]>label{user-select:none;margin-top:3px}.ProseMirror li[data-type=taskItem]>div{flex:1}.ProseMirror a{color:#1565c0;text-decoration:underline}.ProseMirror table{border-collapse:collapse;width:100%;table-layout:fixed;margin:15px 0}.ProseMirror td,.ProseMirror th{border:1px solid #b5bcc6;padding:8px;position:relative;vertical-align:top;min-width:35px}.ProseMirror th{background:#edf2f8;font-weight:600}.ProseMirror .selectedCell:after{content:'';position:absolute;inset:0;background:#87b5f43b;pointer-events:none}.ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;background:#4b91f1;pointer-events:none}.resize-cursor{cursor:col-resize}.tableWrapper{overflow-x:auto}.page-break{border-bottom:1px dashed #c7cbd2;margin:24px -30px;height:16px;position:relative}.page-break:after{content:'Page break';position:absolute;right:0;font-size:9px;color:#9299a3}.collaboration-carets__caret{position:relative;border-left:1px solid;border-right:1px solid;margin-left:-1px;margin-right:-1px;pointer-events:none;word-break:normal}.collaboration-carets__label{position:absolute;top:-1.4em;left:-1px;border-radius:3px 3px 3px 0;padding:2px 5px;font:10px/1.2 Arial;color:white;white-space:nowrap;user-select:none}.document-status{height:30px;display:flex;align-items:center;gap:22px;padding:0 24px;border-top:1px solid #e1e5eb;font-size:10px;color:#7e8793}.document-status>span:last-child{margin-left:auto}.side-panel{width:320px;background:#f8fafd;border-left:1px solid #e0e4ea;overflow:auto;padding:20px 17px;flex-shrink:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.panel-heading h2{font-size:16px;font-weight:500;margin:0}.side-panel textarea{width:100%;min-height:90px;border:1px solid #cbd1da;border-radius:8px;background:white;padding:12px;resize:vertical;font:13px/1.6 Arial}.side-panel .quote{font-size:11px;border-left:3px solid #f0b128;margin:12px 0;padding-left:10px;color:#737c8b;line-height:1.5}.comment{background:white;border:1px solid #dee3e9;border-radius:10px;margin:16px 0;padding:14px}.comment.resolved{opacity:.65}.comment-author{font-size:11px;font-weight:600;overflow-wrap:anywhere}.comment time{font-size:10px;color:#8b939e;display:block;margin-top:5px}.comment p{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.comment .reply{border-top:1px solid #e8ebef;margin-top:12px;padding-top:12px}.version-row{border-bottom:1px solid #e0e4ea;padding:15px 0}.version-row strong{display:block;font-size:13px}.version-row small{display:block;color:#7a8593;font-size:10px;line-height:1.6;margin-top:6px}.popup{position:fixed;z-index:50;background:white;border:1px solid #e0e4ea;box-shadow:0 5px 20px #0002;border-radius:8px;padding:7px 0;min-width:225px;max-height:75vh;overflow:auto}.popup button{display:flex;gap:13px;align-items:center;width:100%;padding:10px 18px;font-size:13px;text-align:left}.popup button:hover{background:#edf2f9}.popup svg{width:17px;height:17px}.popup hr{border:0;border-top:1px solid #e6e9ef;margin:5px 0}dialog{border:0;border-radius:22px;padding:26px 28px;width:480px;max-width:calc(100vw - 28px);max-height:85vh;overflow:auto;box-shadow:0 12px 50px #0004;color:inherit}dialog::backdrop{background:#20212466}dialog h2{font-size:23px;font-weight:400;margin:0 0 23px;overflow-wrap:anywhere}dialog h3{font-size:15px;font-weight:500;margin:18px 0 10px}dialog label{display:block;font-size:12px;color:#5f6875}dialog input,dialog select{border:1px solid #aab3bf;border-radius:5px;width:100%;padding:11px;margin:8px 0 15px;background:white}dialog .actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}dialog .help{font-size:12px;color:#7b8490;line-height:1.6}dialog .error{font-size:12px;color:#b3261e;line-height:1.5}dialog .person{display:flex;align-items:center;gap:8px;font-size:12px;padding:9px 0}dialog .person>span{flex:1;overflow-wrap:anywhere}dialog .person small{color:#8290a0}dialog .share-line{border-top:1px solid #e0e4ea;padding-top:14px;margin-top:18px}dialog.wide{width:860px}dialog .preview-document{border:1px solid #dfe4eb;padding:35px;max-height:55vh;overflow:auto;font:11pt/1.6 Arial}#toast{position:fixed;bottom:35px;left:50%;transform:translateX(-50%);background:#303134;color:white;padding:14px 22px;border-radius:6px;z-index:100;max-width:90%;font-size:13px}.login{min-height:100vh;display:grid;place-items:center;padding:24px}.login>form{background:white;border:1px solid #dce1e9;border-radius:22px;padding:38px;width:440px;max-width:100%}.login img{display:block;border-radius:12px;margin-top:25px}.login h1{font-size:27px;font-weight:400;margin:20px 0 12px}.login p{font-size:14px;color:var(--muted);line-height:1.6}.login label{display:block;font-size:12px;margin-top:22px}.login input{display:block;width:100%;border:1px solid #aab2bd;padding:13px;border-radius:5px;margin-top:7px}.login .primary{display:block;margin:25px 0 23px auto}.login small{display:block;color:#8c95a0;font-size:11px}#login-error{color:#b3261e}.find-match{background:#fff2b1}.find-selected{background:#ffcc69}
@media(max-width:1200px){.recent{margin-left:32px;margin-right:32px}.outline{display:none}.editor-actions{gap:4px}.title-line>input{max-width:330px}#save-state{display:none}.toolbar{gap:1px}.document-scroll{padding:0 20px 60px}.editor-layout{height:calc(100vh - 195px)}}@media(max-width:900px){.home-header{padding:0 20px;gap:15px}.brand{min-width:130px}.templates{padding:25px 24px}.template-grid{gap:14px}.template-page{height:145px;padding:18px 13px}.recent{margin:28px 24px}.doc-row .owner{display:none}.editor-header{padding:8px 10px;gap:8px}.title-line>input{max-width:42vw;min-width:100px;font-size:17px}.editor-actions .icon:last-child{display:none}.share-button{padding:10px 15px}.document-scroll{justify-content:flex-start}.side-panel{position:fixed;right:0;top:130px;bottom:30px;z-index:30;box-shadow:-4px 0 20px #0001}.section-line>span{display:none}.editor-layout{height:calc(100vh - 195px)}}@media(max-width:600px){.home-header{height:68px;padding:0 14px;gap:10px}.home-header .brand{min-width:0;font-size:21px;gap:8px}.brand img{width:29px;height:29px}.home-header .search{height:42px;padding:0 10px;gap:7px}.search input{font-size:13px}.home-header>.icon{display:none}.template-grid{display:flex;overflow:auto;gap:15px;padding-bottom:9px}.template{min-width:128px}.template-page{height:150px}.templates{padding:24px 18px}.section-line h1,.section-line h2{font-size:15px}.recent{margin:25px 16px}.home-controls{gap:3px}.home-controls select{max-width:110px;font-size:11px}.home-controls .text-button{font-size:0;padding:5px}.home-controls .text-button svg{width:20px;height:20px}.doc-row{padding:8px;gap:10px}.doc-row time{display:none}.editor-header{height:70px}.document-brand img{width:30px;height:30px}.title-line>input{font-size:15px;max-width:45vw;min-width:0;width:100%}.title-line .small{display:none}#menu-bar button{font-size:12px;padding:5px 6px}.editor-actions{gap:0}.editor-actions .icon{width:31px;height:31px}.editor-actions #history-toggle{display:none}.share-button{padding:10px 12px;font-size:12px}.share-button svg{display:none}#presence{display:none}.toolbar{padding:5px 8px;border-radius:15px;flex-wrap:nowrap;overflow-x:auto;min-height:45px}.toolbar>select,.toolbar>button,.toolbar>label,.toolbar>.separator{flex-shrink:0}.toolbar select{font-size:11px}#paragraph-style{max-width:103px}#font-family{max-width:100px}.editor-layout{height:calc(100dvh - 153px)}.document-scroll{padding:0 15px 50px}.paper{padding:45px 35px}.side-panel{top:122px;width:300px;max-width:95vw}.document-status{padding:0 13px;gap:10px;font-size:9px}.document-status #document-role{display:none}.login>form{padding:30px 24px}.section-line{gap:6px}dialog{padding:24px 20px}.template>strong{font-size:12px}}
@media print{body{background:white}#home,#login,.editor-header,.toolbar,.outline,.side-panel,.document-status,#popup,#dialog,#toast,.ruler{display:none!important}#workspace{display:block!important}.editor-layout,.document-scroll{display:block;height:auto;overflow:visible;padding:0;border:0}.paper-wrap{width:auto!important;zoom:1!important}.paper{border:0;box-shadow:none;padding:0;min-height:0}.ProseMirror{min-height:0}.page-break{break-after:page;border:0;margin:0}.page-break:after{display:none}.collaboration-carets__label,.collaboration-carets__caret{display:none}table{break-inside:auto}tr{break-inside:avoid}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{break-after:avoid}@page{size:A4;margin:18mm}}
@media(prefers-reduced-motion:reduce){.document-scroll{scroll-behavior:auto}}

#workspace{height:100dvh;display:flex;flex-direction:column}.editor-layout{flex:1;height:auto!important;min-height:0}.editor-header,.toolbar,.document-status{flex-shrink:0}.outline.manual-open{display:block!important}@media(max-width:1200px){.outline.manual-open{position:fixed;top:130px;left:0;bottom:30px;background:#f8fafd;z-index:35;box-shadow:4px 0 16px #0002}}
