.app-footer{color:#969daa;letter-spacing:.2px;flex-wrap:wrap;flex-shrink:0;justify-content:center;align-items:center;gap:10px 20px;padding:16px 0 0;font:500 11px/1.5 DM Sans,system-ui,sans-serif;display:flex}.footer-app-info,.footer-legal-links{justify-content:center;align-items:center;gap:10px;min-width:0;display:flex}.footer-app-info span+span{border-left:1px solid #dfe3e9;padding-left:10px;font-family:DM Mono,ui-monospace,monospace}.footer-legal-links{flex-wrap:wrap;gap:8px 16px}.footer-link{color:#6f7888;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;flex-shrink:0;align-items:center;min-height:30px;padding:3px 0;font:500 11px DM Sans,system-ui,sans-serif;text-decoration:underline;display:inline-flex}:root[data-theme=dark] .app-footer{color:#7f899c}:root[data-theme=dark] .footer-app-info span+span{border-left-color:#343b49}:root[data-theme=dark] .footer-link{color:#aab4c6}@media (width<=600px){.app-footer{flex-direction:column;gap:6px;padding-top:14px;font-size:10px}.footer-app-info{gap:9px;width:100%}.footer-app-info span+span{padding-left:9px}.footer-legal-links{justify-content:center;gap:7px 14px;width:100%}.footer-link{min-height:34px;font-size:10px}}:root{color:#20242c;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-optical-sizing:auto;background:#f7f8fa;font-family:DM Sans,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}.app-shell{flex-direction:column;max-width:1800px;min-height:100vh;margin:0 auto;padding:0 28px 24px;display:flex}.brand-icon{color:#4d61dc;background:#e9edff;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.live-dot,.status-dot{background:#42b983;border-radius:50%;width:7px;height:7px;display:inline-block}.language-picker{color:#333946;white-space:nowrap;cursor:pointer;z-index:1;background:#fff;border:1px solid #e0e3e9;border-radius:9px;flex-shrink:0;align-items:center;gap:8px;height:36px;padding:0 10px;font:500 12px DM Sans,sans-serif;display:flex;position:relative}.language-current{white-space:nowrap;line-height:1;display:block}.select-chevron{pointer-events:none;position:absolute;right:9px}.workspace{flex:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;min-height:calc(100vh - 124px);padding-top:20px;display:grid}.pane{background:#fff;border:1px solid #e3e6ec;border-radius:13px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden;box-shadow:0 2px 8px #26304a05}.pane-header{border-bottom:1px solid #eceef2;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;height:60px;padding:0 18px;display:flex}.pane-heading{align-items:center;gap:10px;min-width:0;display:flex}.pane-heading h2{color:#343945;white-space:nowrap;margin:0;font:700 13px Manrope,sans-serif}.pane-number{color:#8991a0;background:#f2f4f7;border-radius:5px;padding:5px 6px;font:500 10px DM Mono,monospace}.button{white-space:nowrap;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 12px;font:600 12px DM Sans,sans-serif;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.button:active{transform:translateY(1px)}.button-quiet{color:#777e8b;background:0 0;padding:8px}.button-secondary:hover{background:#f7f8fb;border-color:#cbd1dc}.button-primary{color:#fff;background:#5367df;border-color:#5367df;box-shadow:0 2px 4px #5367df24}.button-danger{color:#fff;background:#d94f59;border-color:#d94f59}.button-danger:hover{background:#c73e48}.is-copied{color:#19835d;background:#f0fbf6;border-color:#b8e5d2}.preview-actions{align-items:center;gap:8px;display:flex}.markdown-editor{resize:none;color:#343b49;tab-size:2;white-space:pre-wrap;background:#fff;border:0;outline:0;flex:1;width:100%;min-height:300px;padding:25px 25px 30px;font:13px/1.95 DM Mono,monospace}.markdown-editor::placeholder{color:#a0a6b2}.pane-footer{color:#9298a4;background:#fcfcfd;border-top:1px solid #eef0f3;flex-shrink:0;justify-content:space-between;align-items:center;height:38px;padding:0 16px;font-size:10px;display:flex}.pane-footer>span{align-items:center;gap:7px;display:flex}.keyboard-key{color:#777e8b;border:1px solid #e1e4ea;border-radius:4px;padding:1px 4px;font:10px DM Mono,monospace}.preview-scroll{flex:1;min-height:300px;padding:32px 36px 42px;overflow:auto}.markdown-body{color:#3c424e;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.markdown-body>:first-child{margin-top:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{letter-spacing:-.45px;color:#222733;font-family:Manrope,sans-serif;font-weight:800;line-height:1.35}.markdown-body h1{border-bottom:1px solid #e9ebf0;margin:0 0 22px;padding-bottom:14px;font-size:29px}.markdown-body h2{margin:30px 0 12px;font-size:21px}.markdown-body h3{margin:24px 0 10px;font-size:17px}.markdown-body p{margin:0 0 16px}.markdown-body strong{color:#272d39;font-weight:700}.markdown-body a{color:#4e62d8;text-underline-offset:3px;-webkit-text-decoration:underline #c9d0ff;text-decoration:underline #c9d0ff}.markdown-body ul,.markdown-body ol{margin:0 0 18px;padding-left:23px}.markdown-body li{margin:5px 0;padding-left:4px}.markdown-body blockquote{color:#646c80;background:#f7f8ff;border-left:3px solid #8793ec;border-radius:0 7px 7px 0;margin:22px 0;padding:12px 17px}.markdown-body blockquote p:last-child{margin-bottom:0}.markdown-body code{color:#b34b72;background:#f1f3f7;border-radius:4px;padding:2px 5px;font:12px DM Mono,monospace}.markdown-body pre{color:#edf0f8;white-space:pre-wrap;overflow-wrap:anywhere;background:#222938;border-radius:9px;margin:20px 0;padding:16px 18px;font:12px/1.7 DM Mono,monospace;overflow:auto}.markdown-body pre code{color:inherit;background:0 0;padding:0}.markdown-body hr{border:0;border-top:1px solid #e4e7ed;margin:28px 0}.markdown-body table{border-collapse:collapse;width:100%;margin:18px 0;font-size:12px;display:block;overflow-x:auto}.markdown-body th,.markdown-body td{text-align:left;border:1px solid #e0e4eb;padding:9px 11px}.markdown-body th{color:#343b49;background:#f5f6fa;font-weight:700}.markdown-body img{border-radius:8px;max-width:100%;height:auto}.empty-state{color:#969daa;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:280px;display:flex}.empty-state p{margin:0;font-size:12px}.empty-icon{color:#b0b6c2;background:#fafbfc;border:1px solid #e7e9ef;border-radius:15px;place-items:center;width:54px;height:54px;display:grid}.toast{z-index:10;color:#fff;background:#242a37;border-radius:9px;max-width:calc(100vw - 32px);padding:12px 16px;font-size:12px;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #11182725}.modal-backdrop{z-index:20;background:#20253266;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-modal{background:#fff;border:1px solid #e6e8ed;border-radius:15px;width:min(100%,390px);padding:25px;box-shadow:0 20px 60px #11182726}.modal-icon{color:#c77a3c;background:#fff2e9;border-radius:12px;place-items:center;width:42px;height:42px;margin-bottom:17px;display:grid}.confirm-modal h2{letter-spacing:-.4px;margin:0 0 9px;font:800 18px Manrope,sans-serif}.confirm-modal p{color:#747b89;margin:0 0 22px;font-size:13px;line-height:1.65}.modal-actions{justify-content:flex-end;gap:8px;display:flex}@media (width<=850px){.app-shell{padding:0 16px 16px}.workspace{grid-template-columns:1fr;gap:14px;min-height:auto;padding-top:14px}.pane{min-height:440px}.markdown-editor,.preview-scroll{min-height:360px}.preview-scroll{padding:26px 24px 32px}}@media (width<=480px){.app-shell{padding:0 9px 12px}.brand-icon,.workspace{gap:10px;padding-top:10px}.pane-header{gap:6px;height:auto;min-height:58px;padding:10px 11px}.pane-heading{gap:7px}.pane-heading h2{font-size:12px}.pane-number{padding:4px;font-size:9px}.button{gap:5px;padding:8px 9px;font-size:11px}.reset-button{padding:7px 5px}.preview-actions{gap:5px}.preview-actions .button{padding:8px 7px}.preview-actions .button span{display:inline}.markdown-editor{min-height:330px;padding:19px 15px;font-size:12px}.preview-scroll{min-height:330px;padding:24px 18px}.markdown-body h1{font-size:25px}.markdown-body h2{font-size:19px}.language-picker{gap:5px;padding:0 7px}.language-picker select{font-size:11px}.select-chevron{right:6px}.pane-footer{padding:0 10px}}@media print{.topbar,.pane-header,.pane-footer,.editor-pane,.toast{display:none!important}.app-shell,.workspace,.preview-pane,.preview-scroll{box-shadow:none;background:#fff;border:0;min-height:0;margin:0;padding:0;display:block;overflow:visible}.markdown-body{color:#111}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e7eaf1;background:#11141b}:root[data-theme=dark] :root[data-theme=dark] :root[data-theme=dark] .brand-icon{color:#9aa8ff;background:#252b48}:root[data-theme=dark] :root[data-theme=dark] .language-picker select{color:#e1e5ef}:root[data-theme=dark] .pane-header{border-bottom-color:#2b313e}:root[data-theme=dark] .pane-number{color:#a3adbf;background:#292f3c}:root[data-theme=dark] .button-quiet{color:#aab2c2}:root[data-theme=dark] .button-secondary:hover{background:#2a3140;border-color:#515c70}:root[data-theme=dark] .button-primary:hover{background:#7787f4}:root[data-theme=dark] .markdown-editor::placeholder{color:#697386}:root[data-theme=dark] .keyboard-key{color:#a8b1c2;border-color:#3b4352}:root[data-theme=dark] .markdown-body strong{color:#f0f2f8}:root[data-theme=dark] .markdown-body hr{border-top-color:#343b49}:root[data-theme=dark] .empty-state{color:#8f99ac}:root[data-theme=dark] .confirm-modal{color:#edf0f7;background:#1b202b;border-color:#343b49}:root[data-theme=dark] .modal-icon{color:#f0aa72;background:#352a27}:root[data-theme=dark] .is-copied{color:#6ee0ae;background:#1b3029;border-color:#285744}:root[data-theme=dark] .pdf-document{color:#111!important;background:#fff!important}:root[data-theme=dark] .pdf-document,:root[data-theme=dark] .pdf-document *{color:#111!important;background-color:#0000!important;border-color:#ddd!important}:root[data-theme=dark] .pdf-document pre{color:#edf0f8!important;background:#222938!important}:root[data-theme=dark] .pdf-document pre code{color:inherit!important}.brand-mark{letter-spacing:-1px;font-family:DM Mono,monospace;font-size:13px;font-weight:800}.consent-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#080c14b8}.consent-modal{width:min(100%,560px);max-height:calc(100vh - 32px);padding:28px;overflow:auto}.consent-modal h2{font-size:22px}.consent-modal>p{font-size:14px;line-height:1.65}.consent-category{border:1px solid #e1e5ed;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;margin:12px 0;padding:14px;display:flex}.consent-category>div,.consent-category>span:first-child{flex-direction:column;gap:5px;display:flex}.consent-category strong{color:#313746;font-size:13px}.consent-category small{color:#777f8e;font-size:12px;line-height:1.5}.always-on{white-space:nowrap;color:#687285;font-size:11px}.consent-toggle input{accent-color:#5367df;flex-shrink:0;width:19px;height:19px}.consent-links{gap:16px;margin:15px 0 20px;display:flex}.consent-links button{color:#5969ce;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font:500 12px DM Sans,sans-serif;text-decoration:underline}.consent-actions{flex-wrap:wrap;gap:9px;display:flex}.consent-actions .button{white-space:normal;flex:1;min-width:125px;min-height:42px}.policy-shell{max-width:1000px}.policy-content{background:#fff;border:1px solid #e3e6ec;border-radius:16px;flex:1;width:min(100%,760px);margin:42px auto;padding:clamp(22px,5vw,48px);box-shadow:0 2px 8px #26304a05}.policy-content h1{letter-spacing:-.7px;color:#222733;margin:0 0 28px;font:800 clamp(26px,4vw,36px)/1.2 Manrope,sans-serif}.policy-content p{color:#555d6c;margin:0 0 18px;font-size:14px;line-height:1.85}.policy-content a{color:#4e62d8;text-underline-offset:3px}.policy-note{border-top:1px solid #e6e8ee;padding-top:18px;color:#777f8e!important;font-size:12px!important}.policy-shell .policy-topbar{z-index:10;background:var(--app-bg,#f7f8fa);position:sticky;top:0}:root[data-theme=dark] .consent-modal{color:#edf0f7;background:#1b202b;border-color:#343b49}:root[data-theme=dark] .consent-category{background:#202632;border-color:#343b49}:root[data-theme=dark] .consent-category strong{color:#e1e5ef}:root[data-theme=dark] .consent-category small,:root[data-theme=dark] .always-on{color:#aab4c6}:root[data-theme=dark] .consent-links button{color:#a4b0ff}:root[data-theme=dark] .policy-content{background:#191e28;border-color:#303746}:root[data-theme=dark] .policy-content h1{color:#f0f2f8}:root[data-theme=dark] .policy-content p{color:#cbd2df}:root[data-theme=dark] .policy-content a{color:#a4b0ff}:root[data-theme=dark] .policy-note{border-color:#343b49;color:#9ba6ba!important}@media (width<=560px){.policy-shell{padding-bottom:0}.policy-shell .policy-topbar{margin:0 -9px;padding:0 9px}.policy-content{box-shadow:none;background:0 0;border:0;border-radius:0;width:100%;margin:0 auto;padding:22px 16px}.policy-content h1{margin-bottom:22px}.consent-modal{padding:22px}.consent-actions{grid-template-columns:1fr;display:grid}.consent-actions .button{width:100%}.policy-shell .topbar{margin:0 -9px;padding:0 9px}}.format-toolbar{background:#fcfcfd;border-bottom:1px solid #eceef2;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:3px;min-height:42px;padding:5px 10px;display:flex}.editor-pane .format-toolbar{z-index:8;flex-shrink:0;position:sticky;top:0}.format-button{color:#646c7b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.format-button:focus-visible{outline-offset:1px;outline:2px solid #6577ed}.format-divider{background:#e1e5ec;flex-shrink:0;width:1px;height:20px;margin:0 4px}.format-spacer{flex:1;min-width:4px}.fullscreen-button{margin-left:auto}.editor-pane-footer{gap:8px}.editor-pane-footer>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.editor-fullscreen{z-index:100;width:100vw;height:100dvh;inset:0;min-height:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;position:fixed!important}.editor-fullscreen .markdown-editor{min-height:0;padding:28px clamp(18px,5vw,64px);font-size:14px;line-height:1.9}.editor-fullscreen .format-toolbar{padding-left:16px;padding-right:16px}:root[data-theme=dark] .format-toolbar{background:#171c25;border-bottom-color:#2b313e}@media (width<=560px){.format-toolbar{gap:2px;padding:5px 7px}.format-button{width:28px;height:28px}.format-divider{margin:0 2px}.editor-pane-footer,.editor-pane-footer .keyboard-key{font-size:9px}.editor-fullscreen .markdown-editor{padding:20px 15px}}.outline-nav{background:#fcfcfd;border-bottom:1px solid #eceef2;flex-direction:column;flex-shrink:0;gap:6px;max-height:156px;padding:9px 12px 10px;display:flex;overflow:hidden}.outline-title{color:#7b8392;text-transform:uppercase;letter-spacing:.06em;flex-shrink:0;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.outline-items{flex-direction:column;gap:1px;padding-right:3px;display:flex;overflow:auto}.outline-item{text-overflow:ellipsis;white-space:nowrap;text-align:left;color:#5e6675;cursor:pointer;background:0 0;border:0;border-radius:5px;max-width:100%;padding:4px 8px;font:500 11px DM Sans,sans-serif;display:block;overflow:hidden}.outline-item:hover,.outline-item:focus-visible{color:#3549b6;background:#eef1f7;outline:none}:root[data-theme=dark] .outline-title{color:#9aa5b8}:root[data-theme=dark] .outline-item{color:#c0c8d8}:root[data-theme=dark] .outline-item:hover,:root[data-theme=dark] .outline-item:focus-visible{color:#c4ccff;background:#2a3140}@media (width<=560px){.outline-nav{max-height:130px;padding:8px}.outline-item{font-size:10px}.pdf-settings-trigger{display:none}}@media print{.outline-nav,.pdf-settings-trigger{display:none!important}.markdown-body h1,.markdown-body h2,.markdown-body h3{break-after:avoid-page}.markdown-body pre,.markdown-body blockquote,.markdown-body table{break-inside:avoid-page}}.markdown-body pre,.markdown-body blockquote,.markdown-body table{break-inside:avoid;page-break-inside:avoid}.markdown-body h1,.markdown-body h2,.markdown-body h3{break-after:avoid;page-break-after:avoid}.editor-header-actions{justify-content:flex-end;align-items:center;gap:5px;min-width:0;display:flex}.editor-header-actions .button{gap:5px;padding:7px 8px;font-size:11px}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tool-menu-wrap{flex-shrink:0;display:inline-flex;position:relative}.tool-dropdown{z-index:30;background:#fff;border:1px solid #e1e5ed;border-radius:10px;flex-direction:column;gap:2px;min-width:210px;padding:6px;display:flex;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 12px 32px #18203320}.tool-dropdown button{color:#343b49;text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;width:100%;padding:10px 11px;font:500 12px DM Sans,sans-serif;display:flex}.tool-dropdown button:hover{background:#f2f4fa}.tool-dropdown-title{color:#8b93a2;text-transform:uppercase;letter-spacing:.06em;padding:7px 10px 8px;font-size:10px;font-weight:700}.template-dropdown{min-width:190px;right:0}.convert-modal{overscroll-behavior:contain;width:min(100%,560px);max-height:calc(100dvh - 40px);overflow-y:auto}.convert-modal h2{margin-bottom:8px}.convert-modal>p{margin-bottom:14px}.convert-source{resize:vertical;color:#343b49;background:#fff;border:1px solid #dfe3eb;border-radius:9px;outline:none;width:100%;min-height:210px;max-height:38dvh;padding:12px;font:12px/1.7 DM Mono,monospace;display:block}.convert-source:focus{border-color:#6577ed;box-shadow:0 0 0 3px #6577ed20}.convert-modal .modal-actions{margin-top:16px}:root[data-theme=dark] .tool-dropdown button{color:#d8deea}:root[data-theme=dark] .tool-dropdown button:hover{background:#2a3140}:root[data-theme=dark] .tool-dropdown-title{color:#929caf}:root[data-theme=dark] .convert-source{color:#e4e8f0;background:#141923;border-color:#3b4353}@media (width<=850px){.editor-header-actions .button span{display:none}.editor-header-actions .button{padding:8px}.editor-header-actions .reset-button span{display:inline}}@media (width<=560px){.modal-backdrop:has(.convert-modal){padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));place-items:start center;overflow-y:auto}.convert-modal{width:100%;max-height:calc(100dvh - 24px);padding:16px}.editor-header-actions{gap:2px}.editor-header-actions .button{padding:7px 6px}.export-menu-trigger span{display:none}.preview-actions .export-menu-trigger{padding:8px 7px}.tool-dropdown{min-width:190px}.convert-modal{padding:16px}.convert-source{min-height:120px;max-height:30dvh}}.toast{align-items:center;gap:10px;min-width:min(320px,100vw - 32px);max-width:min(560px,100vw - 32px);padding:12px 12px 12px 15px;display:flex}.toast-kind{letter-spacing:.06em;text-transform:uppercase;color:#b9c5ff;flex-shrink:0;font-size:10px;font-weight:800}.toast-message{overflow-wrap:anywhere;flex:1;line-height:1.45}.toast-dismiss{width:30px;height:30px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;font:400 22px/1 DM Sans,sans-serif;display:grid}.toast-dismiss:hover{background:#ffffff20}.toast-dismiss:focus-visible,.replace-confirm-modal .button:focus-visible{outline-offset:2px;outline:3px solid #91a1ff}.toast-error{color:#fff;background:#7d2630;border:1px solid #a94a54}.toast-error .toast-kind{color:#ffd3d7}.toast-success .toast-kind{color:#b8f0d6}.replace-confirm-modal{width:min(100%,430px)}.replace-confirm-modal p{margin-bottom:22px}:root[data-theme=dark] .toast-success{background:#202a39;border:1px solid #3b4b63}:root[data-theme=dark] .toast-error{background:#63252e;border-color:#98434d}@media (prefers-reduced-motion:reduce){.button{transition:none}}.language-picker{background:#fff;border-radius:11px;gap:9px;min-height:40px;padding:0 34px 0 12px;transition:border-color .15s,box-shadow .15s;box-shadow:0 1px 2px #17203308}.language-picker:focus-within{border-color:#7180e8;box-shadow:0 0 0 3px #5367df1c}.language-picker{justify-content:flex-start;min-width:142px;padding-right:32px;font-size:13px}.language-picker .select-chevron{right:11px}.editor-header-actions .convert-entry-button{max-width:210px}.editor-header-actions .convert-entry-button span{text-overflow:ellipsis;overflow:hidden}.export-dropdown{min-width:220px}@media (width<=850px){.editor-header-actions .convert-entry-button span{display:none}.editor-header-actions .convert-entry-button{padding:8px}}@media (width<=560px){.language-picker{min-width:0;min-height:36px;padding-left:9px;padding-right:28px}.language-picker .language-current{font-size:12px}.language-picker .select-chevron{right:7px}.editor-header-actions .convert-entry-button{padding:7px 6px}.export-dropdown{left:auto;right:0}}:root[data-theme=dark] .language-picker:focus-within{border-color:#8290f0;box-shadow:0 0 0 3px #8290f026}.outline-nav{background:var(--panel-bg,#fcfcfd);gap:0;max-height:none;padding:0;overflow:visible}.outline-nav.is-collapsed{border-bottom:1px solid #eceef2}.outline-toggle{width:100%;min-height:38px;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.outline-toggle-label{color:#7b8392;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.outline-count{color:#5e6675;letter-spacing:0;background:#eef1f7;border-radius:9px;justify-content:center;align-items:center;min-width:20px;height:18px;padding:0 5px;font-size:10px;display:inline-flex}.outline-chevron{color:#7b8392;transition:transform .15s}.outline-nav.is-expanded .outline-chevron{transform:rotate(180deg)}.outline-toggle:hover{background:#f4f6fa}.outline-toggle:focus-visible{outline-offset:-2px;outline:2px solid #6577ed}.outline-nav .outline-items{max-height:190px;padding:0 9px 9px;overflow:auto}:root[data-theme=dark] .outline-nav{background:#171c25;border-bottom-color:#2b313e}:root[data-theme=dark] .outline-toggle-label,:root[data-theme=dark] .outline-chevron{color:#9aa5b8}:root[data-theme=dark] .outline-count{color:#c0c8d8;background:#2a3140}:root[data-theme=dark] .outline-toggle:hover{background:#202633}.markdown-body .footnotes{border-top:1px solid var(--border-color,#dfe3e9);margin-top:2rem;padding-top:1rem;font-size:.92em}.markdown-body .footnotes ol{padding-left:1.5rem}.markdown-body .footnote-ref,.markdown-body .footnote-backref{font-size:.85em;text-decoration:none}@media (width<=560px){.outline-toggle{min-height:40px;padding:8px 10px}.outline-nav .outline-items{max-height:150px}}.language-menu-wrap{flex-shrink:0;position:relative}.language-picker{background:#fff;border:1px solid #e0e3e9;border-radius:11px;align-items:center;gap:9px;min-height:40px;padding:0 34px 0 12px;transition:border-color .15s,box-shadow .15s;display:flex;box-shadow:0 1px 2px #17203308}.language-picker:hover{border-color:#c5cbd8}.language-picker:focus-visible{outline-offset:2px;outline:2px solid #7180e8}.language-picker .select-chevron{pointer-events:none;transition:transform .15s;right:11px}.language-picker .select-chevron.is-open{transform:rotate(180deg)}.language-dropdown{z-index:50;background:#fff;border:1px solid #e0e3e9;border-radius:12px;flex-direction:column;gap:2px;width:164px;min-width:100%;padding:5px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #1720331c}.language-option{color:#333946;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;width:100%;min-height:36px;padding:8px 10px;font:500 12px DM Sans,sans-serif;display:flex}.language-option:hover,.language-option:focus-visible{background:#f2f4ff;outline:none}.language-option.is-selected{color:#4357d0;background:#eef0ff;font-weight:700}:root[data-theme=dark] .language-picker{color:#b5bdce;background:#1b202b;border-color:#343a49}:root[data-theme=dark] .language-picker:hover{border-color:#505b70}:root[data-theme=dark] .language-dropdown{background:#1b202b;border-color:#343a49;box-shadow:0 12px 32px #0007}:root[data-theme=dark] .language-option{color:#d8deea}:root[data-theme=dark] .language-option:hover,:root[data-theme=dark] .language-option:focus-visible{background:#2a3140}:root[data-theme=dark] .language-option.is-selected{color:#c4ccff;background:#2b3352}@media (width<=560px){.language-picker{gap:6px;min-height:36px;padding-left:9px;padding-right:28px}.language-dropdown{width:148px}}.mermaid-diagram{break-inside:auto;page-break-inside:auto;max-width:100%;margin:20px 0;padding:4px 0;overflow-x:auto}.mermaid-pending{background:linear-gradient(135deg,#fafbfe,#f4f6fb);border:1px solid #e5e8f0;border-radius:10px;justify-content:center;align-items:center;min-height:112px;display:flex;overflow:hidden}.mermaid-loading-indicator{border:2px solid #dce2f3;border-top-color:#6476df;border-radius:50%;flex:none;width:22px;height:22px;animation:.8s linear infinite mermaid-loading-spin}@keyframes mermaid-loading-spin{to{transform:rotate(360deg)}}:root[data-theme=dark] .mermaid-pending{background:linear-gradient(135deg,#1d2330,#191e28);border-color:#343b4b}:root[data-theme=dark] .mermaid-loading-indicator{border-color:#9aa8ff #3a4357 #3a4357}.mermaid-diagram svg{max-width:100%;height:auto;margin:0 auto;display:block}.mermaid-error{color:#9d2424;background:#fff1f1;border-left:3px solid #d94848;margin-top:8px;padding:8px 10px;font:12px/1.5 DM Sans,sans-serif}.mermaid-toolbar-wrap{align-items:center;display:inline-flex;position:relative}.mermaid-toolbar-button{align-items:center;gap:2px;width:auto;padding:0 6px;display:inline-flex}.mermaid-dropdown{min-width:230px;left:0;right:auto}.tool-dropdown-separator{background:var(--border-color,#e3e6ec);height:1px;margin:6px 0}@media print{.mermaid-diagram{max-width:100%;break-inside:auto!important;page-break-inside:auto!important;overflow:visible!important}.mermaid-diagram svg{max-width:100%;height:auto;max-height:820px}}.mermaid-controls{justify-content:flex-end;align-items:center;width:100%;margin:8px 0 0;padding:0;display:flex}.mermaid-download-button{color:#4c5cc8;cursor:pointer;background:linear-gradient(#fff 0%,#f7f8fc 100%);border:1px solid #dce2ee;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:7px 11px;font:600 11px/1.2 DM Sans,sans-serif;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s;display:inline-flex;box-shadow:0 2px 5px #202a450a}.mermaid-download-button:hover{background:#eef1ff;border-color:#c2caff;box-shadow:0 3px 9px #5367df1c}.mermaid-download-button:active{transform:translateY(1px)}.mermaid-download-button:focus-visible{outline-offset:2px;outline:2px solid #6577ed}.mermaid-download-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}:root[data-theme=dark] .mermaid-download-button{color:#c2caff;background:linear-gradient(#252c3a 0%,#202633 100%);border-color:#414b60;box-shadow:0 2px 5px #0002}:root[data-theme=dark] .mermaid-download-button:hover{background:#2e3850;border-color:#5869a4}@media print{.mermaid-controls,.mermaid-source-panel{display:none!important}}@media (width<=560px){.pane-header{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:9px;height:auto;min-height:0;padding:12px 12px 11px;display:flex}.pane-heading{width:100%;min-height:22px}.pane-heading h2{font-size:13px}.editor-header-actions,.preview-actions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:7px;width:100%;display:flex}.editor-header-actions .button,.preview-actions .button{flex:0 auto;gap:7px;min-height:38px;padding:9px 10px;font-size:12px}.editor-header-actions .button span,.preview-actions .button span,.export-menu-trigger span,.editor-header-actions .reset-button span{display:inline}.editor-header-actions .tool-menu-wrap,.preview-actions .tool-menu-wrap{flex:none}.editor-header-actions .tool-menu-wrap .button{max-width:100%}.format-toolbar{gap:4px;padding:7px 8px}.format-button{width:32px;height:32px}}@media (width<=360px){.editor-header-actions,.preview-actions{gap:6px}.editor-header-actions .button,.preview-actions .button{min-height:38px;padding:8px;font-size:11px}}.pane{container-type:inline-size}.pane-header{min-width:0}.pane-heading{flex:0 auto;min-width:0}.pane-heading h2{white-space:normal;overflow-wrap:anywhere}.editor-header-actions,.preview-actions{flex:0 auto;min-width:0}@container (width<=700px){.pane-header{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:9px;height:auto;min-height:60px;padding:12px 14px;display:flex}.pane-heading{flex:none;width:100%;min-height:24px}.editor-header-actions,.preview-actions{flex-wrap:wrap;flex:none;justify-content:flex-start;width:100%;min-width:0}.editor-header-actions .button,.preview-actions .button{flex:0 auto;max-width:100%}}.editor-pane-footer .local-save-indicator{color:#4b9b79;white-space:nowrap}.editor-pane-footer .document-stats{white-space:nowrap;font-variant-numeric:tabular-nums}@media (width<=900px){.editor-pane-footer{flex-wrap:wrap;gap:8px;height:auto;min-height:38px;padding:7px 10px}.editor-pane-footer>span{gap:4px}.editor-pane-footer .document-stats{font-size:9px}}@media (width<=560px){.editor-pane-footer .local-save-indicator{display:none}.editor-pane-footer .document-stats{letter-spacing:-.15px;white-space:normal;font-size:8px}.editor-pane-footer{padding:7px 8px}}.pane-resizer{cursor:col-resize;touch-action:pan-y;-webkit-user-select:none;user-select:none;border-radius:6px;outline:none;justify-content:center;align-items:stretch;min-width:8px;display:flex;position:relative}.pane-resizer:before{content:"";background:#dce1eb;border-radius:3px;align-self:stretch;width:2px;transition:background .15s,width .15s}.pane-resizer:hover:before,.pane-resizer:focus-visible:before,.pane-resizer:active:before{background:#6477e8;width:4px}.pane-resizer:focus-visible{outline-offset:2px;outline:2px solid #6477e8}:root[data-theme=dark] .pane-resizer:before{background:#343c4d}:root[data-theme=dark] .pane-resizer:hover:before,:root[data-theme=dark] .pane-resizer:focus-visible:before,:root[data-theme=dark] .pane-resizer:active:before{background:#8796ff}@media (width<=850px){.workspace{grid-template-columns:1fr!important}.pane-resizer{display:none!important}}@media (prefers-reduced-motion:reduce){.pane-resizer:before{transition:none}}.template-library-backdrop{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#14192694;padding:24px}.template-library-modal{border-radius:18px;flex-direction:column;width:min(100%,780px);max-height:min(780px,100dvh - 48px);padding:0;display:flex;overflow:hidden;box-shadow:0 28px 90px #0a101e47}.template-library-header{border-bottom:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:16px;padding:23px 25px 18px;display:flex}.template-library-heading{align-items:center;gap:13px;min-width:0;display:flex}.template-library-icon{color:#5367df;background:#edf0ff;border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.template-library-heading h2{letter-spacing:-.5px;color:#252a36;margin:0 0 5px;font:800 19px Manrope,sans-serif}.template-library-heading p{color:#7c8391;margin:0;font-size:12px;line-height:1.5}.template-library-close{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e3e6ec;border-radius:9px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.template-library-close:hover{color:#252a36;background:#f4f5f8}.template-library-search{color:#858c9a;background:#fbfcfe;border:1px solid #dfe3eb;border-radius:10px;align-items:center;gap:11px;height:44px;margin:18px 25px 14px;padding:0 13px;display:flex}.template-library-search:focus-within{background:#fff;border-color:#8997f1;box-shadow:0 0 0 3px #5367df16}.template-library-search input{color:#2b303c;background:0 0;border:0;outline:0;flex:1;min-width:0;font:13px DM Sans,sans-serif}.template-library-search kbd,.template-library-footer kbd{color:#858c9a;white-space:nowrap;background:#fff;border:1px solid #e0e4eb;border-radius:5px;padding:3px 5px;font:10px DM Mono,monospace}.template-library-tabs{overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid #edf0f4;gap:5px;padding:0 25px 15px;display:flex;overflow-x:auto}.template-library-tabs button{white-space:nowrap;color:#747b89;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-shrink:0;align-items:center;gap:8px;padding:8px 11px;font:600 12px DM Sans,sans-serif;display:flex}.template-library-tabs button:hover{color:#343a47;background:#f6f7fa}.template-library-tabs button span{opacity:.8;font:10px DM Mono,monospace}.template-library-results{overscroll-behavior:contain;min-height:150px;padding:18px 25px 22px;overflow:auto}.template-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.template-card{text-align:left;color:#2d3340;cursor:pointer;background:#fff;border:1px solid #e5e8ef;border-radius:12px;align-items:flex-start;gap:12px;min-width:0;min-height:102px;padding:15px 14px;transition:border-color .15s,background .15s,transform .15s,box-shadow .15s;display:flex;position:relative}.template-card:hover{background:#fbfbff;border-color:#b8c1ff;transform:translateY(-1px);box-shadow:0 5px 18px #293a8010}.template-card:focus-visible,.template-library-close:focus-visible,.template-library-tabs button:focus-visible{outline-offset:2px;outline:3px solid #9aa7ff}.template-card-icon{color:#5367df;background:#f0f2ff;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.template-card-icon.is-general{color:#5367df;background:#edf0ff}.template-card-icon.is-productivity{color:#b86c17;background:#fff1df}.template-card-icon.is-development{color:#2877b9;background:#e8f4ff}.template-card-icon.is-operations{color:#8052b5;background:#f2eafe}.template-card-icon.is-diagrams{color:#238665;background:#eaf7f1}.template-card-copy{flex-direction:column;gap:6px;min-width:0;padding-top:2px;display:flex}.template-card-copy strong{color:#2b303c;font:700 12px/1.45 Manrope,sans-serif}.template-card-copy>span{color:#7b8290;font:400 11px/1.55 DM Sans,sans-serif}.template-card-arrow{color:#a0a6b2;opacity:0;font-size:13px;transition:opacity .15s;position:absolute;top:11px;right:11px}.template-card:hover .template-card-arrow{opacity:1}.template-library-empty{color:#9299a7;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:160px;display:flex}.template-library-empty p{margin:0;font-size:12px}.template-library-footer{color:#858c99;background:#fcfcfd;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;gap:12px;padding:12px 25px;font-size:10px;display:flex}.template-library-footer>span:last-child{align-items:center;gap:6px;display:flex}:root[data-theme=dark] .template-library-modal{color:#edf0f7;background:#1b202b;border-color:#343b49}:root[data-theme=dark] .template-library-icon,:root[data-theme=dark] .template-card-icon,:root[data-theme=dark] .template-card-icon.is-general{color:#c8c1ff;background:#302b50}:root[data-theme=dark] .template-card-icon.is-productivity{color:#ffc982;background:#45331f}:root[data-theme=dark] .template-card-icon.is-development{color:#8bcaff;background:#1e354a}:root[data-theme=dark] .template-card-icon.is-operations{color:#d5b3ff;background:#3b2a4e}:root[data-theme=dark] .template-card-icon.is-diagrams{color:#8ce0c0;background:#203b36}:root[data-theme=dark] .template-library-header,:root[data-theme=dark] .template-library-tabs,:root[data-theme=dark] .template-library-footer{border-color:#343b49}:root[data-theme=dark] .template-library-heading h2,:root[data-theme=dark] .template-card-copy strong{color:#edf0f7}:root[data-theme=dark] .template-library-heading p,:root[data-theme=dark] .template-card-copy>span{color:#aab2c1}:root[data-theme=dark] .template-library-close,:root[data-theme=dark] .template-card{color:#edf0f7;background:#202634;border-color:#394153}:root[data-theme=dark] .template-library-close:hover,:root[data-theme=dark] .template-card:hover{background:#272f40;border-color:#6878df}:root[data-theme=dark] .template-library-search{color:#aab2c1;background:#171c26;border-color:#394153}:root[data-theme=dark] .template-library-search input{color:#edf0f7}:root[data-theme=dark] .template-library-search kbd,:root[data-theme=dark] .template-library-footer kbd{color:#aab2c1;background:#202634;border-color:#394153}:root[data-theme=dark] .template-library-tabs button:hover{color:#edf0f7;background:#252c3a}:root[data-theme=dark] .template-library-footer{background:#181d27}@media (width<=600px){.template-library-backdrop{align-items:start;padding:10px;overflow-y:auto}.template-library-modal{border-radius:15px;max-height:calc(100dvh - 20px)}.template-library-header{padding:17px 16px 14px}.template-library-heading{gap:10px}.template-library-heading h2{font-size:16px}.template-library-heading p{font-size:11px}.template-library-icon{width:36px;height:36px}.template-library-search{height:42px;margin:13px 16px 11px}.template-library-search kbd{display:none}.template-library-tabs{gap:2px;padding:0 16px 12px}.template-library-tabs button{padding:8px 9px;font-size:11px}.template-library-results{padding:13px 16px 17px}.template-library-grid{grid-template-columns:1fr;gap:8px}.template-card{min-height:80px;padding:12px}.template-library-footer{padding:11px 16px}}@media (prefers-reduced-motion:reduce){.template-card,.template-card-arrow{transition:none}}.heading-level-button{letter-spacing:-.3px;font-size:10px;font-weight:800}.shortcut-help-dropdown{min-width:285px;padding:9px;right:0}.shortcut-row{color:#343b49;justify-content:space-between;align-items:center;gap:12px;padding:7px 9px;font-size:11px;display:flex}.shortcut-row kbd{color:#606879;white-space:nowrap;background:#f8f9fc;border:1px solid #e0e4eb;border-radius:5px;flex-shrink:0;padding:4px 6px;font:10px DM Mono,monospace}.shortcut-row small{color:#7e8797;white-space:nowrap;font-size:10px}.shortcut-help-note{color:#7c8492;border-top:1px solid #e7eaf0;margin:8px 9px 4px;padding-top:8px;font-size:10px;line-height:1.5}.image-modal .image-field-label{color:#555d6b;margin:14px 0 6px;font-size:12px;font-weight:700;display:block}.image-modal-input{color:#343b49;background:#fff;border:1px solid #dfe3eb;border-radius:8px;outline:none;width:100%;min-height:40px;padding:10px 11px;font:12px DM Sans,sans-serif;display:block}.image-modal-input:focus{border-color:#6577ed;box-shadow:0 0 0 3px #6577ed20}.image-reference-toggle{color:#454d5b;align-items:center;gap:9px;margin-top:14px;font-size:12px;display:flex}.image-reference-toggle input{accent-color:#5367df}.image-modal-help{color:#858c99!important;margin:12px 0 0!important;font-size:11px!important;line-height:1.55!important}:root[data-theme=dark] .shortcut-row{color:#d8deea}:root[data-theme=dark] .shortcut-row kbd{color:#c2cada;background:#202634;border-color:#394153}:root[data-theme=dark] .shortcut-help-note{color:#aab2c1;border-color:#343b49}:root[data-theme=dark] .image-modal .image-field-label,:root[data-theme=dark] .image-reference-toggle{color:#d8deea}:root[data-theme=dark] .image-modal-input{color:#e4e8f0;background:#141923;border-color:#3b4353}@media (width<=560px){.shortcut-help-dropdown{min-width:min(285px,100vw - 24px);position:fixed;top:auto;bottom:64px;right:12px}.heading-level-button{width:29px}}:root{--brand:#5548f5;--brand-strong:#4536dc;--brand-soft:#eeedff;--accent:#8b5cf6;--app-bg:#f7f8ff;--surface:#fff;--surface-soft:#f4f3ff;--line:#e4e5f5;--text:#20233b;--text-muted:#6d718a;--focus-ring:#786bff;accent-color:var(--brand)}body{background:var(--app-bg);color:var(--text)}.app-shell{max-width:1840px}.brand span{color:#0000;background:linear-gradient(100deg,#252743 5%,#5548f5 70%,#9b5cf6);-webkit-background-clip:text;background-clip:text}.pane{border-color:var(--line);border-radius:16px;box-shadow:0 5px 20px #3932a408,0 1px 3px #3932a406}.pane-header{border-bottom-color:var(--line);background:linear-gradient(100deg,#fff 0%,#fbfaff 100%)}.pane-heading h2{color:#343254}.button-primary{background:linear-gradient(110deg,#5548f5,#7557f5);border-color:#5548f5;box-shadow:0 3px 9px #5548f52c}.button-primary:hover{background:linear-gradient(110deg,#4536dc,#6543e8)}.button-secondary{color:#494767;background:#fff;border-color:#e0e0f1}.button-secondary:hover{color:#4536dc;background:#f4f2ff;border-color:#c9c4ff}.button-quiet:hover{color:#4536dc;background:#f0efff}.language-picker,.language-picker:focus-within,.image-modal-input:focus,.convert-source:focus{border-color:var(--focus-ring);box-shadow:0 0 0 3px #786bff25}.format-toolbar{background:linear-gradient(90deg,#fbfaff,#f7f6ff);border-bottom-color:#e8e6fa}.format-button{color:#68638c;border-radius:8px}.format-button:hover{color:#493be2;background:#eae8ff;border-color:#d9d5ff}.format-button:focus-visible{outline-color:var(--focus-ring)}.format-divider{background:#dedcf2}.markdown-editor{color:#34334e;caret-color:var(--brand);background:#fff}.markdown-editor::selection{background:#dcd8ff}.pane-footer{color:#8584a0;background:#fbfaff;border-top-color:#eeecfa}.keyboard-key{color:#6a6688;background:#f6f5ff;border-color:#dedcf0}.preview-scroll{background:linear-gradient(#fff 0%,#fefeff 100%)}.markdown-body{color:#41415b}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{color:#252545}.markdown-body h1{border-bottom-color:#e7e4ff}.markdown-body a{color:#5548e8;text-decoration-color:#bdb7ff}.markdown-body li::marker{color:#7667ef}.markdown-body blockquote{color:#5d5b7b;background:linear-gradient(100deg,#f1efff,#faf9ff);border-left-color:#7969f7}.markdown-body code{color:#8144b6;background:#f0eeff}.markdown-body pre{background:linear-gradient(135deg,#20243d,#29254b);border:1px solid #3d3b69;box-shadow:0 5px 14px #25234a12}.markdown-body th{color:#37345f;background:#f1efff}.markdown-body th,.markdown-body td{border-color:#e1dff4}.empty-icon{color:#8c82e8;background:#f6f5ff;border-color:#e7e3ff}.tool-dropdown{border-color:#e2dff8;box-shadow:0 16px 38px #302b681a}.tool-dropdown button:hover{color:#4b3cdd;background:#f1efff}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#25234470}.confirm-modal{border-color:#e7e3fb;box-shadow:0 24px 70px #17153630}.toast{background:linear-gradient(110deg,#292645,#35305e);box-shadow:0 12px 35px #25204b30}.template-library-modal{border-color:#e4e0fa;box-shadow:0 25px 80px #25204b2b}.template-library-icon{color:#fff;background:linear-gradient(135deg,#5548f5,#a05af4)}.template-card:hover{background:#f8f7ff;border-color:#b9b1ff}:root[data-theme=dark]{--brand:#a49aff;--brand-strong:#b5aaff;--brand-soft:#302c50;--accent:#c19aff;--app-bg:#171827;--surface:#202135;--surface-soft:#28263e;--line:#35354e;--text:#f0efff;--text-muted:#aaa9c7;--focus-ring:#a49aff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] body{color:#f0efff;background:radial-gradient(at 10% 0,#282344 0%,#191a2b 36%,#171827 75%)}:root[data-theme=dark] :root[data-theme=dark] :root[data-theme=dark] .brand span{color:#0000;background:linear-gradient(100deg,#f2efff 5%,#b5aaff 55%,#d2a4ff);-webkit-background-clip:text;background-clip:text}:root[data-theme=dark] .pane{background:#202135;border-color:#393850;box-shadow:0 8px 28px #09091638}:root[data-theme=dark] .pane-header{background:linear-gradient(100deg,#222338,#27243e);border-bottom-color:#393850}:root[data-theme=dark] .pane-heading h2{color:#eeecff}:root[data-theme=dark] .button-primary{color:#fff;background:linear-gradient(110deg,#6d61f4,#8a61ed);border-color:#8c7dff}:root[data-theme=dark] .button-secondary{color:#e2dfff;background:#292a41;border-color:#464461}:root[data-theme=dark] .button-secondary:hover{color:#fff;background:#343050;border-color:#7770bd}:root[data-theme=dark] .button-quiet:hover{color:#d4ccff;background:#302d4c}:root[data-theme=dark] .language-picker,:root[data-theme=dark] :root[data-theme=dark] .format-toolbar{background:linear-gradient(90deg,#202135,#29243e);border-bottom-color:#393850}:root[data-theme=dark] .format-button{color:#c1bddf}:root[data-theme=dark] .format-button:hover{color:#f4f0ff;background:#3a345c;border-color:#514777}:root[data-theme=dark] .format-divider{background:#494461}:root[data-theme=dark] .markdown-editor{color:#e4e2fb;caret-color:#b4a8ff;background:#1c1d30}:root[data-theme=dark] .pane-footer{color:#aaa8c9;background:#222338;border-top-color:#393850}:root[data-theme=dark] .keyboard-key{color:#cfcaee;background:#2d2d48;border-color:#484663}:root[data-theme=dark] .preview-scroll{background:linear-gradient(#202135,#222137)}:root[data-theme=dark] .markdown-body{color:#d2d0e9}:root[data-theme=dark] .markdown-body h1,:root[data-theme=dark] .markdown-body h2,:root[data-theme=dark] .markdown-body h3,:root[data-theme=dark] .markdown-body h4{color:#f0edff}:root[data-theme=dark] .markdown-body h1{border-bottom-color:#42405f}:root[data-theme=dark] .markdown-body a{color:#b9adff;text-decoration-color:#7067b9}:root[data-theme=dark] .markdown-body li::marker{color:#b1a5ff}:root[data-theme=dark] .markdown-body blockquote{color:#d0c9f3;background:linear-gradient(100deg,#302b4c,#29273e);border-left-color:#9b8cff}:root[data-theme=dark] .markdown-body code{color:#e1b5ff;background:#34304e}:root[data-theme=dark] .markdown-body pre{background:linear-gradient(135deg,#171a2d,#28213e);border-color:#464064}:root[data-theme=dark] .markdown-body th{color:#eeeaff;background:#302d4b}:root[data-theme=dark] .markdown-body th,:root[data-theme=dark] .markdown-body td{border-color:#45425e}:root[data-theme=dark] .empty-icon{color:#b3a7ff;background:#2b2944;border-color:#494366}:root[data-theme=dark] .tool-dropdown{background:#26263d;border-color:#46435f;box-shadow:0 16px 38px #0005}:root[data-theme=dark] .tool-dropdown button:hover{color:#f4f0ff;background:#363252}:root[data-theme=dark] .confirm-modal{background:#24243a;border-color:#45415f}:root[data-theme=dark] .confirm-modal h2{color:#f3f0ff}:root[data-theme=dark] .confirm-modal p{color:#c0bddb}:root[data-theme=dark] .template-library-modal{background:#222238;border-color:#46415f}:root[data-theme=dark] .template-card:hover{background:#302d4d;border-color:#7469b5}:root[data-theme=dark] .toast{background:linear-gradient(110deg,#302b4d,#3b3159)}@media (width<=850px){.pane{border-radius:14px}.workspace{gap:14px}}@media (prefers-reduced-motion:reduce){.format-button,.button,.language-picker{transition:none}}@media (width<=600px){.template-library-modal{height:calc(100dvh - 20px);min-height:calc(100dvh - 20px)}.template-library-search{flex-basis:42px}.template-library-tabs{min-height:44px}}.template-library-modal{height:min(760px,100dvh - 48px);min-height:min(600px,100dvh - 48px)}.template-library-results{overscroll-behavior:contain;flex:1;min-height:0}.template-library-search{box-sizing:border-box;flex:0 0 44px}.template-library-tabs{box-sizing:border-box;flex:none;min-height:48px}.template-library-search input{appearance:none;box-shadow:none;border-radius:0}.template-library-tabs button{appearance:none;box-shadow:none}.template-library-tabs button.is-active{color:#5548e8;background:#eeecff;border-color:#ded9ff}:root[data-theme=dark] .template-library-tabs button.is-active{color:#d8cfff;background:#373052;border-color:#62528e}@media (width<=600px){.template-library-modal{height:calc(100dvh - 20px);min-height:calc(100dvh - 20px)}.template-library-search{flex-basis:42px}.template-library-tabs{min-height:44px}}:root:not([data-theme=dark]) .toast{color:#302b4d;background:linear-gradient(110deg,#fff,#f6f4ff);border:1px solid #e2dff8;box-shadow:0 12px 35px #25204b18}:root:not([data-theme=dark]) .toast .toast-kind{color:#5548e8}:root[data-theme=dark] .toast{color:#f5f2ff;background:linear-gradient(110deg,#302b4d,#3b3159);border:1px solid #51466e}.document-tabs{background:var(--panel-bg,#fcfcfd);border-bottom:1px solid var(--border-color,#e5e7eb);scrollbar-width:thin;flex-shrink:0;align-items:stretch;gap:4px;min-height:38px;padding:5px 8px 0;display:flex;overflow-x:auto}.document-tab{min-width:0;max-width:220px;color:var(--muted-text,#707888);background:0 0;border:1px solid #0000;border-bottom:0;border-radius:7px 7px 0 0;flex:0 auto;align-items:center;display:flex}.document-tab.is-active{background:var(--workspace-bg,#fff);border-color:var(--border-color,#e5e7eb);color:var(--text-color,#202634)}.document-tab-select{min-width:0;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:7px 7px 7px 10px;font:500 11px DM Sans,sans-serif;display:flex}.document-tab-select span{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.document-tab-close,.document-tab-add{width:26px;min-height:28px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.document-tab-close{opacity:.65;margin-right:3px}.document-tab-close:hover,.document-tab-add:hover{background:var(--hover-bg,#eef1f7);opacity:1}.document-tab-add{border:1px solid #0000;align-self:center}.document-tab-add:disabled{opacity:.35;cursor:not-allowed}.document-tab-add.is-active{background:var(--hover-bg,#eef1f7)}.saved-documents-panel{z-index:20;border:1px solid var(--border-color,#e5e7eb);background:var(--panel-bg,#fff);border-radius:8px;max-height:260px;padding:8px;position:relative;overflow:auto;box-shadow:0 8px 24px #0002}.saved-documents-heading,.outline-popover-heading{justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 8px;font-size:12px;display:flex}.saved-documents-heading button,.outline-popover-heading button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:4px;display:inline-flex}.saved-document-row{border-top:1px solid var(--border-color,#e5e7eb);align-items:center;gap:6px;padding:6px 2px;display:flex}.saved-document-open{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:flex-start;gap:8px;padding:4px;display:flex}.saved-document-open span{flex-direction:column;gap:2px;min-width:0;display:flex}.saved-document-open strong,.saved-document-open small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.saved-document-open strong{font-size:12px}.saved-document-open small{color:var(--muted-text,#707888);font-size:10px}.saved-document-open small:last-child{max-width:460px}.saved-document-open:disabled{opacity:.45;cursor:not-allowed}.saved-document-delete{color:var(--muted-text,#707888);cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;padding:6px;display:flex}.saved-document-delete:hover{color:#b91c1c;background:#fee2e2}.saved-documents-empty{color:var(--muted-text,#707888);padding:10px 4px;font-size:12px}.storage-warning{color:#7a4a00;background:#fff0d6;border-bottom:1px solid #f3d29b;padding:7px 10px;font-size:11px}:root[data-theme=dark] .storage-warning{color:#ffdca0;background:#3a2c17;border-color:#5d4521}.preview-pane{position:relative}.outline-open-button{gap:5px;min-height:30px;padding:6px 8px;font-size:11px}.outline-open-button .outline-count{min-width:17px;height:16px}.outline-open-button.is-active{background:var(--hover-bg,#eef1f7);border-color:#8997ef}.outline-popover{z-index:25;border:1px solid var(--border-color,#e5e7eb);background:var(--panel-bg,#fff);border-radius:10px;flex-direction:column;width:min(330px,100% - 24px);max-height:min(55vh,420px);padding:8px;display:flex;position:absolute;top:54px;left:12px;box-shadow:0 12px 36px #0003}.outline-popover .outline-items{min-height:0;max-height:none;padding:0 2px 2px;overflow:auto}.outline-popover .outline-item{padding-top:6px;padding-bottom:6px;font-size:12px}.outline-popover-heading{border-bottom:1px solid var(--border-color,#e5e7eb);flex-shrink:0;margin-bottom:5px}:root[data-theme=dark] .document-tabs{background:#171c25;border-color:#2b313e}:root[data-theme=dark] .document-tab.is-active{color:#f0f3fa;background:#202633;border-color:#343b4a}:root[data-theme=dark] .document-tab-add:hover,:root[data-theme=dark] .document-tab-close:hover{background:#2a3140}:root[data-theme=dark] .saved-documents-panel,:root[data-theme=dark] .outline-popover{color:#e8edf7;background:#171c25;border-color:#343b4a}:root[data-theme=dark] .saved-document-row,:root[data-theme=dark] .outline-popover-heading{border-color:#343b4a}@media (width<=560px){.document-tabs{min-height:36px;padding-inline:4px}.document-tab{max-width:165px}.document-tab-select{padding-inline:7px}.document-tab-select span{max-width:100px}.document-tab-close{width:22px}.outline-popover{width:calc(100% - 16px);top:52px;left:8px}}.document-tab{position:relative}.document-tab-menu-trigger{width:24px;min-height:28px;color:inherit;cursor:pointer;opacity:.7;background:0 0;border:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.document-tab-menu-trigger:hover,.document-tab-menu-trigger.is-active{background:var(--hover-bg,#eef1f7);opacity:1}.document-tab-menu{z-index:30;background:var(--workspace-bg,#fff);border:1px solid var(--border-color,#e3e6ec);border-radius:9px;gap:2px;min-width:178px;padding:5px;display:grid;position:absolute;top:calc(100% + 4px);right:4px;box-shadow:0 12px 30px #11182720}.document-tab-menu button{width:100%;color:var(--text-color,#202634);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:9px 10px;font:500 12px DM Sans,sans-serif;display:flex}.document-tab-menu button:hover{background:var(--hover-bg,#f2f4f8)}.document-tab-menu button.is-danger{color:#d34852}.empty-documents-state{border-bottom:1px solid var(--border-color,#e5e7eb);background:var(--panel-bg,#fcfcfd);justify-content:space-between;align-items:center;gap:16px;padding:15px 18px;display:flex}.empty-documents-copy h3{color:var(--text-color,#202634);margin:0 0 4px;font:700 13px Manrope,sans-serif}.empty-documents-copy p{color:var(--muted-text,#707888);margin:0;font-size:12px;line-height:1.5}.empty-documents-actions{flex-wrap:wrap;gap:8px;display:flex}.document-action-modal{width:min(100%,420px)}.document-action-modal .document-name-field{color:var(--text-color,#202634);gap:7px;margin:0 0 20px;font-size:12px;font-weight:600;display:grid}.document-name-field input{border:1px solid var(--border-color,#dfe3e9);background:var(--workspace-bg,#fff);width:100%;min-width:0;color:var(--text-color,#202634);border-radius:8px;outline:none;padding:10px 11px;font:500 13px DM Sans,sans-serif}.document-name-field input:focus{border-color:#6879e8;box-shadow:0 0 0 3px #6879e826}.document-action-modal .document-delete-name{border:1px solid var(--border-color,#e3e6ec);overflow-wrap:anywhere;color:var(--text-color,#202634);border-radius:8px;margin:0 0 20px;padding:10px 12px}:root[data-theme=dark] .document-tab-menu{background:#171c25;border-color:#343b4a;box-shadow:0 12px 30px #0005}:root[data-theme=dark] .document-tab-menu button{color:#e8edf7}:root[data-theme=dark] .document-tab-menu button:hover{background:#2a3140}:root[data-theme=dark] .document-tab-menu button.is-danger{color:#ff8a91}:root[data-theme=dark] .empty-documents-state{background:#171c25;border-color:#2b313e}:root[data-theme=dark] .document-name-field input{color:#e8edf7;background:#171c25;border-color:#343b4a}:root[data-theme=dark] .document-action-modal .document-delete-name{color:#e8edf7;border-color:#343b4a}@media (width<=560px){.empty-documents-state{flex-direction:column;align-items:stretch;padding:14px}.empty-documents-actions{grid-template-columns:1fr;display:grid}.empty-documents-actions .button{width:100%}.document-tab-menu-trigger{width:22px}.document-tab-menu{right:0}}.saved-document-open>svg{color:var(--muted-text,#707888);flex:none;margin-top:2px}:root[data-theme=dark] .saved-document-open>svg{color:#aeb9cd}.saved-documents-heading-actions{align-items:center;gap:5px;display:flex}.saved-documents-heading .saved-documents-delete-all{border:1px solid var(--border-color,#e3e6ec);color:var(--muted-text,#707888);white-space:nowrap;border-radius:6px;align-items:center;gap:5px;padding:5px 7px;font-size:10px;display:inline-flex}.saved-documents-heading .saved-documents-delete-all:hover{color:#b91c1c;background:#fee2e2;border-color:#fecaca}:root[data-theme=dark] .saved-documents-heading .saved-documents-delete-all{color:#c0c8d8;border-color:#343b4a}:root[data-theme=dark] .saved-documents-heading .saved-documents-delete-all:hover{color:#ff9ba2;background:#44272c;border-color:#71414a}.document-tab-menu{z-index:100;position:fixed}@media (width<=560px){.saved-documents-heading .saved-documents-delete-all span{display:inline}.saved-documents-heading{align-items:flex-start}.saved-documents-heading-actions{gap:3px}}.document-tab-add[aria-label=Documentos\ guardados] svg,.document-tab-add[aria-label=Saved\ documents] svg,.document-tab-add[aria-label=Documents\ enregistrés] svg,.document-tab-add[aria-label=Gespeicherte\ Dokumente] svg,.document-tab-add[aria-label=Documenti\ salvati] svg,.document-tab-add[aria-label=Documentos\ guardados] svg{stroke-width:1.8px;opacity:1;width:15px;height:15px;display:block;fill:none!important;stroke:currentColor!important}.document-tab-add[aria-label=Documentos\ guardados],.document-tab-add[aria-label=Saved\ documents],.document-tab-add[aria-label=Documents\ enregistrés],.document-tab-add[aria-label=Gespeicherte\ Dokumente],.document-tab-add[aria-label=Documenti\ salvati]{color:var(--text-color,#343b49)}:root[data-theme=dark] .document-tab-add[aria-label=Documentos\ guardados],:root[data-theme=dark] .document-tab-add[aria-label=Saved\ documents],:root[data-theme=dark] .document-tab-add[aria-label=Documents\ enregistrés],:root[data-theme=dark] .document-tab-add[aria-label=Gespeicherte\ Dokumente],:root[data-theme=dark] .document-tab-add[aria-label=Documenti\ salvati]{color:#e8edf7}.outline-popover .outline-items{gap:4px;padding:5px 3px 3px}.outline-popover .outline-item{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;text-align:start;border:1px solid #0000;flex:none;width:100%;min-height:28px;line-height:1.45}.outline-popover .outline-item:hover,.outline-popover .outline-item:focus-visible{border-color:var(--border-color,#dfe3e9)}:root[data-theme=dark] .document-tab-add.is-active{color:#e8edf7!important;background:#2a3140!important;border-color:#343b4a!important}:root[data-theme=dark] .document-tab-add.is-active:hover{background:#343d4f!important}.outline-popover .outline-item{white-space:normal;overflow-wrap:anywhere;line-height:1.5}.outline-popover .outline-items{gap:5px}:root[data-theme=dark] .empty-documents-copy h3{font-weight:700;color:#f5f7fc!important}:root[data-theme=dark] button.document-tab-add.is-active,:root[data-theme=dark] .document-tab-add.is-active{color:#f2f5fc!important;box-shadow:none!important;background-color:#252c3a!important;border-color:#3a4355!important}:root[data-theme=dark] .document-tab-add.is-active svg{stroke:currentColor!important;fill:none!important}.save-status{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.save-status-dot{background:#d7a34a;border-radius:50%;width:6px;height:6px;display:inline-block}.save-status-dot.is-saved{background:#42b983}.save-status-dot.is-error{background:#d94f59}.save-status.is-error{color:#c43e48}.pdf-image-issues-modal{width:min(100%,520px);max-height:min(80vh,720px);overflow:auto}.pdf-image-issues-modal p{margin-bottom:12px}.pdf-image-issues-list{color:var(--text-primary,#252344);gap:8px;margin:0 0 20px;padding-left:20px;font-size:12px;line-height:1.5;display:grid}.pdf-image-issues-list li{overflow-wrap:anywhere;word-break:break-word}.pdf-image-issues-modal .modal-actions{margin-top:18px}@media (width<=560px){.pdf-image-issues-modal{width:100%;max-height:calc(100dvh - 24px);padding:18px}}@media (width>=851px){html,body,#root{height:100%;min-height:0}body{overflow:hidden}.app-shell:not(.policy-shell){height:100dvh;min-height:0;padding-bottom:12px;overflow:hidden}.app-shell:not(.policy-shell) .topbar{flex:0 0 68px}.app-shell:not(.policy-shell) .workspace{flex:auto;height:0;min-height:0;padding-top:14px;overflow:hidden}.app-shell:not(.policy-shell) .pane{height:100%;min-height:0}.app-shell:not(.policy-shell) .markdown-editor,.app-shell:not(.policy-shell) .preview-scroll{overscroll-behavior:contain;min-height:0;overflow:auto}}@media (width<=850px){body{overflow:auto}.app-shell:not(.policy-shell){height:auto;min-height:100vh;overflow:visible}.app-shell:not(.policy-shell) .workspace{height:auto;overflow:visible}}.topbar{border-bottom:1px solid #e6e8ed;flex-shrink:0;justify-content:space-between;align-items:center;gap:18px;height:78px;display:flex}.brand{color:#20242c;letter-spacing:-.7px;white-space:nowrap;align-items:center;gap:10px;font:800 18px Manrope,sans-serif;text-decoration:none;display:flex}.brand-logo-icon{border-radius:10px;flex-shrink:0;width:34px;height:34px;display:block}.topbar-right{flex-shrink:0;justify-content:flex-end;align-items:center;gap:14px;min-width:0;display:flex}.live-label{color:#737987;white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;font-size:12px;display:flex}.live-dot{background:#42b983;border-radius:50%;width:7px;height:7px;display:inline-block}.theme-toggle{color:#646b79;cursor:pointer;background:#fff;border:1px solid #e0e3e9;border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;transition:background .15s,border-color .15s,color .15s;display:grid}.theme-toggle svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px;display:block}.language-picker svg{flex-shrink:0;width:16px;height:16px;display:block}.language-picker .select-chevron{width:14px;height:14px}.theme-toggle:hover{color:#303746;background:#f2f4f8}:root[data-theme=dark] .topbar{border-bottom-color:#292e3a}:root[data-theme=dark] .brand{color:#edf0f7}:root[data-theme=dark] .theme-toggle{color:#b5bdce;background:#1b202b;border-color:#343a49}:root[data-theme=dark] .theme-toggle:hover{color:#fff;background:#282f3d}@media (width<=850px){.topbar{height:68px}.live-label{display:none}.topbar-right{gap:10px}}@media (width<=480px){.topbar{height:62px}.brand{gap:7px;font-size:16px}.brand-logo-icon{width:30px;height:30px}}.policy-topbar,.legal-topbar{height:auto;min-height:78px}@media (width<=600px){.policy-topbar,.legal-topbar{flex-direction:row;align-items:center;gap:8px;height:auto;min-height:68px;padding:12px 0}.policy-topbar .brand,.legal-topbar .brand{gap:7px;font-size:16px}.policy-topbar .brand-logo-icon,.legal-topbar .brand-logo-icon{width:30px;height:30px}.policy-topbar .topbar-right,.legal-topbar .topbar-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:auto;max-width:58%}.policy-topbar .languages,.legal-topbar .languages{flex:100%;justify-content:flex-end;gap:4px 8px;min-width:0;font-size:11px}.policy-topbar .live-label,.legal-topbar .live-label{display:none}}@media (prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
