.document-app{flex-direction:column;height:100dvh;min-height:520px;display:flex}.document-header{border-bottom:1px solid var(--paper-border);background:#fffef9;flex-shrink:0;align-items:center;gap:24px;min-height:76px;padding:12px 28px;display:flex}.document-header .paperly-brand{flex-shrink:0;gap:9px;font-size:24px}.document-header-divider{background:var(--paper-border);width:1px;height:30px}.document-title{flex:1;min-width:0}.document-title input{text-overflow:ellipsis;background:0 0;outline:none;width:min(100%,400px);padding:2px 0;font-size:14px;font-weight:550}.document-title>span{color:#7a8576;align-items:center;gap:4px;font-size:10px;line-height:1.4;display:flex}.document-title>span.is-error{color:#9f3d2b}.document-header-actions{align-items:center;gap:8px;display:flex}.document-header-actions>button{white-space:nowrap;border-radius:7px;align-items:center;gap:7px;min-height:40px;padding:0 10px;font-size:12px;display:flex}.document-header-actions>button:hover{background:#edf0e7}.document-header-actions>.document-export{color:#fff;min-height:42px;margin-left:6px;padding:0 20px}.document-header-actions>.document-export:hover{background:#345e4e}.document-body{flex:1;min-height:0;display:flex}.document-sidebar{border-right:1px solid var(--paper-border);background:#fffef9;flex-direction:column;flex-shrink:0;width:382px;min-height:0;display:flex}.document-tabs{border-bottom:1px solid var(--paper-border);grid-template-columns:repeat(4,1fr);gap:2px;padding:12px 16px 0;display:grid}.document-tabs>button{color:#898d7f;border-bottom:2px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px 4px 14px;font-size:11px;display:flex}.document-tabs>button:hover{color:var(--paper-green)}.document-tabs>button[aria-selected=true]{color:var(--paper-green);border-bottom-color:var(--paper-green)}.document-panel{scrollbar-width:thin;scrollbar-color:#d9dece transparent;flex:1;padding:25px 24px 32px;overflow-y:auto}.document-import{text-align:left;background:#f9faf4;border:1px dashed #cbd4be;border-radius:8px;align-items:center;gap:12px;width:100%;padding:17px 16px;font-size:12px;display:flex}.document-import:hover{background:#eff2e8;border-color:#8ca27c}.document-import span{flex:1}.document-import small{color:#8b907f;letter-spacing:.2px;margin-top:3px;font-size:9px;display:block}.document-small-note{color:#949787;margin:9px 0 20px;font-size:10px;line-height:1.75}.document-rich-editor{background:#fff;border:1px solid #dfe2d6;border-radius:8px;overflow:hidden}.document-rich-editor:focus-within{border-color:#8ea27e;box-shadow:0 0 0 2px #cad6c02e}.document-text-toolbar{background:#f8f9f3;border-bottom:1px solid #e7eadf;grid-template-columns:repeat(6,1fr);gap:2px;padding:7px;display:grid}.document-text-toolbar button{color:#7b8372;border-radius:4px;place-items:center;height:30px;display:grid}.document-text-toolbar button:hover{background:#e9ede1}.document-text-toolbar button[aria-pressed=true]{color:#284e40;background:#e0e8d6}.document-rich-editor .tiptap{color:#52604e;overflow-wrap:anywhere;outline:none;min-height:300px;padding:18px 17px 24px;font-size:13px;line-height:1.9}.document-rich-editor .tiptap p{min-height:1.9em}.document-rich-editor .tiptap h1{margin:8px 0;font-size:22px;font-weight:700;line-height:1.5}.document-rich-editor .tiptap h2{font-size:18px;font-weight:650}.document-rich-editor .tiptap ul{padding-left:22px;list-style:outside}.document-rich-editor .tiptap ol{padding-left:22px;list-style:decimal}.document-rich-editor .tiptap .is-editor-empty:first-child:before{color:#adb39f;content:attr(data-placeholder);float:left;pointer-events:none;height:0}.document-character-count{color:#939987;font-variant-numeric:tabular-nums;justify-content:space-between;margin:8px 1px 16px;font-size:10px;display:flex}.document-text-link{color:#738268;text-underline-offset:4px;align-items:center;gap:6px;padding:5px 0;font-size:11px;text-decoration:underline;display:flex}.document-label{color:#56634f;margin:24px 0 11px;font-size:11px;font-weight:550;display:block}.document-font-list{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.document-font-list button{text-align:left;background:#fff;border:1px solid #e1e4d7;border-radius:7px;min-width:0;padding:13px 13px 10px;overflow:hidden}.document-font-list button[aria-pressed=true]{background:#f0f4e9;border-color:#7f9a73;box-shadow:0 0 0 1px #7f9a7340}.document-font-list button>span{white-space:nowrap;text-overflow:ellipsis;margin-bottom:10px;font-size:18px;line-height:1.6;display:block;overflow:hidden}.document-font-list button small{color:#88917e;justify-content:space-between;font-size:9px;display:flex}.document-paper-options{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.document-paper-options button{color:#828b77;text-align:center;font-size:10px}.document-paper-options .paper-swatch{background-color:#fffefa;border:1px solid #e0e3d7;border-radius:5px;width:100%;height:64px;margin-bottom:6px;display:block}.document-paper-options button[aria-pressed=true] .paper-swatch{outline-offset:2px;outline:2px solid #7c9470}.document-paper-options canvas.paper-swatch{object-fit:cover;object-position:left top}.document-font-categories,.document-pen-options,.document-mode{flex-wrap:wrap;gap:6px;display:flex}.document-font-categories{margin-top:8px}.document-font-categories button,.document-pen-options button{color:#5f6a56;background:#fff;border:1px solid #e1e4d7;border-radius:999px;padding:5px 11px;font-size:11px}.document-font-categories button[aria-pressed=true],.document-pen-options button[aria-pressed=true]{color:#34402b;background:#f0f4e9;border-color:#7f9a73}.document-mode{background:#f8faf4d9;border:1px solid #dce1d2;border-radius:7px;flex-wrap:nowrap;flex-shrink:0;gap:0;padding:2px}.document-mode button{color:#7c8970;border-radius:5px;padding:5px 12px;font-size:11px}.document-mode button[aria-pressed=true]{color:#34402b;background:#fff;box-shadow:0 1px 2px #34402b26}.document-scene{color:#5f6a56;background:#f8faf4d9;border:1px solid #dce1d2;border-radius:6px;height:30px;padding:0 8px;font-size:11px}.document-page.is-photo{box-shadow:none;border-radius:3px}.document-ink-options{align-items:center;gap:10px;display:flex}.document-ink-options button{color:#fff;border-radius:50%;place-items:center;width:25px;height:25px;display:grid}.document-ink-options button[aria-pressed=true]{outline-offset:3px;outline:1px solid #85907a}.document-ink-options input{cursor:pointer;background:0 0;width:28px;height:28px}.document-ink-options span{color:#89937f;font-size:10px}.document-panel select{background:#fff;border:1px solid #dce1d1;border-radius:6px;width:100%;height:38px;padding:0 10px;font-size:12px}.document-slider{color:#707d64;grid-template-columns:1fr auto;gap:11px;margin:22px 0;font-size:11px;display:grid}.document-slider output{text-align:center;font-variant-numeric:tabular-nums;background:#f0f3e9;border-radius:3px;min-width:35px;padding:0 6px}.document-slider input{accent-color:#5f8054;cursor:pointer;grid-column:1/-1;width:100%;height:4px}.document-checkbox{align-items:center;gap:10px;margin:25px 0 15px;font-size:12px;display:flex}.document-checkbox input{accent-color:#55784b}.document-sidebar-footer{color:#9b9f91;border-top:1px solid #eff0e8;justify-content:center;align-items:center;gap:6px;padding:12px;font-size:9px;display:flex}.document-local-dot{background:#92a882;border-radius:50%;width:4px;height:4px}.document-canvas-area{background:#eaece3 radial-gradient(#c6cebd60 .7px,#0000 .7px) 0 0/14px 14px;flex-direction:column;flex:1;min-width:0;display:flex;position:relative}.document-canvas-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:14px 28px;display:flex}.document-zoom{background:#f8faf4d9;border:1px solid #dce1d2;border-radius:6px;align-items:center;display:flex}.document-zoom button{color:#7c8970;place-items:center;min-width:32px;height:30px;font-size:10px;display:grid}.document-canvas-scroll{scrollbar-width:thin;scrollbar-color:#c7cfbb transparent;flex:1;min-height:0;padding:6px 40px 30px;position:relative;overflow:auto}.document-canvas-stack{width:fit-content;min-width:0;margin:0 auto}.document-page{border-radius:1px;height:auto;display:block;box-shadow:0 7px 12px -7px #34402b40,0 20px 50px #3f4b3212}.document-render-status{background:#fffef9f2;border:1px solid #d4dfca;border-radius:30px;align-items:center;gap:8px;padding:10px 18px;font-size:11px;display:flex;position:fixed;bottom:84px;left:calc(50% + 170px);transform:translate(-50%);box-shadow:0 3px 20px #4f62411c}.document-render-error{color:#9e4131;background:#fff4ed;border:1px solid #e5c5b8;border-radius:8px;max-width:520px;margin:12px auto;padding:16px}.document-custom-paper{border:1px solid #e0e4d6;border-radius:6px;align-items:center;gap:12px;margin-top:14px;padding:10px;font-size:11px;display:flex}.document-custom-paper img{object-fit:cover;width:28px;height:40px}.document-custom-paper span{flex:1}.document-custom-paper button{padding:8px}.document-library-modal{color:#293d32;background:#fffef9}.document-library-list{max-height:60vh;overflow-y:auto}.document-library-row{border-bottom:1px solid #e9ecdf;align-items:center;display:flex}.document-library-row button{text-align:left;cursor:pointer;border-radius:5px;flex:1;align-items:center;gap:14px;min-width:0;padding:16px 10px;display:flex}.document-library-row button:hover{background:#f1f4e9}.document-library-row button>span{overflow-wrap:anywhere;flex:1;min-width:0}.document-library-row .document-library-delete{color:#9f3d2b;flex:none;justify-content:center;width:44px;min-height:44px;padding:0}.document-library-list strong{font-size:13px;font-weight:500;display:block}.document-library-list small{color:#949b86;margin-top:4px;font-size:10px;display:block}.document-ai-modal{color:#293d32;background:#faf8f1;width:min(1080px,100vw - 32px);max-height:90dvh;overflow-y:auto;max-width:1080px!important}.document-ai-workspace{padding:12px 0 0}.document-ai-workspace .image-studio-layout{margin:0}.document-ai-workspace .image-history{margin-top:20px}.document-ai-login{text-align:center;padding:30px 0}.document-ai-login p{margin-bottom:20px}.document-loading{color:#89987b;justify-content:center;align-items:center;gap:12px;height:70vh;display:flex}.document-spin{animation:1.2s linear infinite document-spin}@keyframes document-spin{to{transform:rotate(360deg)}}@media (width>=1600px){.document-sidebar{width:420px}.document-panel{padding:30px}}@media (width<=1050px){.document-header{gap:16px;padding-inline:18px}.document-header-actions>button:not(.document-export)>span{display:none}.document-sidebar{width:330px}.document-panel{padding:24px 18px}.document-canvas-toolbar{padding-inline:18px}}@media (width<=760px){.document-app{height:auto;min-height:100dvh;overflow:visible}.document-header{z-index:20;flex-wrap:wrap;gap:12px;padding:12px 14px;position:sticky;top:0}.document-header .paperly-brand{font-size:20px}.document-header-divider{display:none}.document-title{flex-basis:calc(100% - 150px)}.document-header-actions{justify-content:flex-end;gap:4px;width:100%}.document-header-actions>button:not(.document-export)>span{display:inline}.document-header-actions>button{min-height:36px}.document-header-actions>button:first-child{margin-right:auto}.document-header-actions>.document-export{min-height:36px;padding-inline:12px}.document-body{display:block}.document-sidebar{border:0;border-bottom:1px solid #dfe3d6;width:100%}.document-panel{max-height:440px;padding:22px 20px}.document-rich-editor .tiptap{min-height:180px}.document-text-toolbar{grid-template-columns:repeat(6,minmax(44px,1fr))}.document-text-toolbar button{height:36px}.document-tabs{padding-top:0}.document-tabs>button{flex-direction:row;padding:14px 3px}.document-tabs>button svg{width:15px}.document-sidebar-footer{padding:8px}.document-font-list{grid-template-columns:repeat(2,1fr)}.document-paper-options{grid-template-columns:repeat(7,1fr);gap:8px}.document-paper-options .paper-swatch{height:55px}.document-canvas-area{min-height:600px}.document-canvas-scroll{max-height:800px;padding:8px 20px 26px}.document-canvas-stack,.document-page{max-width:none}.document-canvas-toolbar{padding:12px 16px}.document-render-status{z-index:25;bottom:20px;left:50%}}@media (prefers-reduced-motion:reduce){.document-spin{animation:none}}@media (width<=760px){.document-font-list button{min-width:0}.document-font-list button>span{white-space:normal;font-size:16px}}.editor-guide{border-bottom:1px solid var(--paper-border);background:#f7f7ee;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 28px;display:flex}.editor-steps,.editor-account{align-items:center;gap:16px;font-size:11px;display:flex}.editor-steps button,.editor-account button,.editor-account span{align-items:center;gap:6px;display:flex}.editor-steps button:hover,.editor-account a:hover{color:#2b6049}.editor-steps button span{color:#829078;font-size:9px}.editor-steps i{color:#adb3a5;font-style:normal}.editor-account{color:#7b796c;gap:12px}.editor-account .is-ready{color:#37654e}.editor-account a{text-underline-offset:3px;text-decoration:underline}.document-writing-entry{text-align:left;color:#305744;background:#f0f4e9;border:1px solid #d3dfcd;border-radius:10px;align-items:center;gap:10px;width:100%;margin:14px 0;padding:14px;display:flex}.document-writing-entry span{flex:1;gap:3px;display:grid}.document-writing-entry strong{font-size:12px;font-weight:550}.document-writing-entry small{color:#697960;font-size:10px}.document-writing-modal{color:#28382c;background:#fffef9;max-width:620px;max-height:88dvh;overflow-y:auto}.writing-workspace{gap:20px;display:grid}.writing-field{gap:7px;font-size:12px;font-weight:550;display:grid}.writing-field textarea,.writing-field select{color:#28382c;background:#fff;border:1px solid #dedfd2;border-radius:8px;width:100%;min-width:0;padding:11px;font-size:13px;font-weight:400;line-height:1.7}.writing-field textarea{resize:vertical}.writing-field textarea:focus,.writing-field select:focus{outline-offset:2px;outline:2px solid #acc1a4}.writing-options{grid-template-columns:3fr 2fr;gap:14px;margin:14px 0;display:grid}.writing-examples{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.writing-examples button{background:#f2f5ec;border:1px solid #e2e6d9;border-radius:20px;padding:6px 10px;font-size:11px}.writing-generate{width:100%;margin:8px 0}.writing-workspace .paper-button{justify-content:center;align-items:center;gap:8px;min-height:42px;font-size:13px;display:inline-flex}.writing-workspace button:disabled{opacity:.55;cursor:not-allowed}.writing-result{border-top:1px solid #dedfd2;padding-top:20px}.writing-notice{background:#f9efd9;border-radius:7px;padding:10px 12px;font-size:12px;line-height:1.7}.writing-history summary{cursor:pointer;font-size:12px}.writing-history button{text-align:left;border-bottom:1px solid #e6e6dc;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 0;display:flex}.writing-history button span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.writing-history small{color:#73826c;flex-shrink:0;font-size:10px}@media (width<=760px){.editor-guide{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 16px}.editor-steps{justify-content:space-between;gap:6px;width:100%}.editor-account{font-size:10px}.writing-options{grid-template-columns:1fr 1fr;gap:8px}}.document-app.document-embedded{height:900px;min-height:520px}.document-embedded .document-header{position:static}.document-embedded .document-header .paperly-brand,.document-embedded .document-header-divider{display:none}.document-embedded .document-canvas-area{position:relative}.document-embedded .document-render-status{position:absolute;bottom:70px;left:50%}.document-sidebar-footer{color:#64705b;font-size:11px}.document-zoom button,.document-title>span{color:#5f6858;font-size:12px}.document-tabs>button{font-size:12px}@media (width<=760px){.document-canvas-scroll{padding-inline:16px}.document-app.document-embedded{height:auto;min-height:0}.document-embedded .document-header{flex-wrap:nowrap;gap:8px;padding:10px 12px;top:auto}.document-embedded .document-title{flex:auto;min-width:0}.document-embedded .document-header-actions{gap:2px;width:auto}.document-embedded .document-header-actions>button:not(.document-export){padding-inline:8px}.document-embedded .document-header-actions>button:not(.document-export)>span{display:none}.document-embedded .document-header-actions>.document-export{margin-left:4px}.document-embedded .document-body{flex-direction:column;display:flex}.document-embedded .document-canvas-area{order:-1;min-height:0}}.document-app{--document-sage:#e7ecdf;--document-line:#dfe3d6}.document-header{border-bottom-color:var(--document-line);gap:16px;min-height:60px;padding:8px 16px}.document-header .paperly-brand>span{font-size:22px}.document-header .paperly-brand img{width:28px;height:28px}.document-header-divider{height:24px}.document-title>span{font-size:11px}.document-export-group{gap:1px;margin-left:6px;display:flex}.document-header-actions .document-export,.document-header-actions .document-export-more{color:#fffef7;min-height:40px;box-shadow:none}.document-header-actions .document-export{white-space:nowrap;border-radius:8px 0 0 8px;padding:0 16px;font-size:13px;font-weight:600}.document-header-actions .document-export-more{border-radius:0 8px 8px 0;width:38px;padding:0}.document-export-menu{color:#293d32;background:#fffef9;min-width:220px}.document-body{min-height:0}.document-tabs{display:none}.document-sidebar{background:#fbfaf4;border-right:0}.document-write{border-right:1px solid var(--document-line);width:clamp(280px,24vw,380px)}.document-look{border-left:1px solid var(--document-line);width:clamp(270px,22vw,340px)}.document-panel{padding:18px 16px 24px}.document-write .document-panel{flex-direction:column;display:flex}.document-panel-heading{letter-spacing:-.3px;margin:0 0 12px;font-size:17px;font-weight:500}.document-write .document-rich-editor{flex-direction:column;flex:1 0 auto;display:flex}.document-write .document-rich-editor>:last-child{flex:1;min-height:0;display:flex}.document-write .document-rich-editor .tiptap{width:100%;min-height:240px;color:var(--paper-ink);flex:1;font-size:14px}.document-character-count,.document-small-note,.document-sidebar-footer{color:#64705b;font-size:11px}.document-import{background:0 0;padding:11px 12px;font-size:13px}.document-import small{color:#64705b;font-size:11px}.document-text-link{color:#5f6858;font-size:12px}.document-canvas-area{background:var(--document-sage);background-image:none}.document-canvas-toolbar{justify-content:center;gap:16px;min-height:52px;padding:8px 16px}.document-zoom,.document-pager{background:#fffef9;border:1px solid #cdd5c4;border-radius:8px;align-items:center;display:flex}.document-zoom button,.document-pager>button{min-width:36px;height:34px;color:var(--paper-ink);border-radius:7px;place-items:center;display:grid}.document-zoom button:hover,.document-pager>button:hover:not(:disabled){background:#eef2e6}.document-zoom button[aria-pressed=true]{color:var(--paper-green);font-weight:600}.document-pager label{color:#5f6858;align-items:center;gap:4px;font-size:12px;display:flex}.document-pager select{height:26px;color:var(--paper-ink);background:0 0;border:0;padding:0 2px;font-size:12px}.document-canvas-scroll{padding:24px;scrollbar-color:#b9c3ae transparent;padding-top:0}.document-canvas-stack{margin-top:-24px;padding-top:24px}.document-page{box-shadow:0 2px 6px #293d3226,0 18px 44px #293d3233}.document-render-status{position:absolute;bottom:18px;left:50%}.document-group-title{color:var(--paper-ink);margin:22px 0 9px;font-size:13px;font-weight:600}.document-look .document-panel>.document-group-title:first-child{margin-top:0}.document-font-categories{margin:0}.document-font-categories button,.document-pen-options button{min-height:32px;color:var(--paper-ink);background:0 0;border-color:#cdd5c4;padding:0 11px;font-size:12px}.document-font-categories button[aria-pressed=true],.document-pen-options button[aria-pressed=true]{border-color:var(--paper-green);background:var(--paper-green);color:#faf8f1}.document-font-list{grid-template-columns:minmax(0,1fr);gap:6px}.document-font-list button{background:#fffef9;border-color:#dfe3d6;padding:8px 11px 7px}.document-font-list button[aria-pressed=true]{border-color:var(--paper-green);box-shadow:0 0 0 1px var(--paper-green);background:#f0f4ea}.document-font-list button>span{color:#284b78;margin-bottom:2px}.document-font-list button small{color:#5f6858;font-size:11px}.document-mode{background:#f4f5ee;border-color:#cdd5c4;width:100%}.document-mode button{color:#5f6858;flex:1;min-height:32px;font-size:12px}.document-mode button[aria-pressed=true]{color:var(--paper-ink);font-weight:600}.document-panel select.document-scene{height:36px;color:var(--paper-ink);margin-top:8px}.document-paper-options{gap:10px 8px}.document-paper-options button{color:#5f6858;font-size:11px;line-height:1.25}.document-paper-options .paper-swatch{height:58px}.document-paper-options button[aria-pressed=true]{color:var(--paper-ink);font-weight:600}.document-paper-options button[aria-pressed=true] .paper-swatch{outline-color:var(--paper-green)}.document-look .document-import{margin-top:10px}.document-look .document-label{margin:14px 0 8px}.document-ink-options button[aria-pressed=true]{outline-color:var(--paper-green)}.document-tune{border-top:1px solid var(--document-line);margin-top:22px;padding-top:14px}.document-tune summary{color:var(--paper-ink);cursor:pointer;font-size:13px;font-weight:600}.document-slider{color:#5f6858;margin:16px 0}@media (width<=900px){.document-app{height:auto;min-height:100dvh;overflow:visible}.document-header{z-index:20;flex-wrap:wrap;gap:8px 12px;padding:8px 16px;position:sticky;top:0}.document-header-divider{display:none}.document-title{flex:140px}.document-header-actions{justify-content:flex-end;gap:2px;width:100%}.document-header-actions>button:first-child{margin-right:auto}.document-header-actions>button:not(.document-export)>span{display:inline}.document-body{flex-direction:column;display:flex}.document-canvas-area{order:-1;min-height:0}.document-canvas-scroll{flex:none;max-height:none;padding:0 16px 20px;overflow-x:auto}.document-canvas-stack{margin-top:0;padding-top:0}.document-tabs{border-top:1px solid var(--document-line);border-bottom:1px solid var(--document-line);background:#fbfaf4;grid-template-columns:1fr 1fr;gap:0;padding:0;display:grid}.document-tabs>button{color:#5f6858;border-bottom:2px solid #0000;flex-direction:row;gap:6px;min-height:48px;padding:0;font-size:14px}.document-tabs>button[aria-pressed=true]{border-bottom-color:var(--paper-green);color:var(--paper-green);font-weight:600}.document-sidebar{border:0;width:100%}.document-body[data-panel=content] .document-look,.document-body[data-panel=style] .document-write{display:none}.document-panel{max-height:none;padding:16px;overflow:visible}.document-panel-heading{display:none}.document-paper-options{grid-template-columns:repeat(4,1fr)}.document-render-status{z-index:25;position:fixed;bottom:16px}}@media (width<=480px){.document-header-actions>button:not(.document-export)>span{display:none}.document-header-actions>button:first-child{margin-right:0}.document-export-group{margin-left:auto}}@media (width<=760px){.document-pager select{height:44px}}
