.vditor{--border-color: #d1d5da;--second-color: rgba(88, 96, 105, .36);--panel-background-color: #fff;--panel-shadow: 0 1px 2px rgba(0, 0, 0, .2);--toolbar-background-color: #f6f8fa;--toolbar-icon-color: #586069;--toolbar-icon-hover-color: #4285f4;--toolbar-height: 35px;--toolbar-divider-margin-top: 8px;--textarea-background-color: #fafbfc;--textarea-text-color: #24292e;--resize-icon-color: var(--toolbar-icon-color);--resize-background-color: var(--toolbar-background-color);--resize-hover-icon-color: var(--panel-background-color);--resize-hover-background-color: var(--toolbar-icon-hover-color);--count-background-color: rgba(27, 31, 35, .05);--heading-border-color: #eaecef;--blockquote-color: #6a737d;--callout-note-color: #0969da;--callout-note-background-color: rgba(9, 105, 218, .08);--callout-tip-color: #1a7f37;--callout-tip-background-color: rgba(26, 127, 55, .08);--callout-important-color: #8250df;--callout-important-background-color: rgba(130, 80, 223, .08);--callout-warning-color: #9a6700;--callout-warning-background-color: rgba(154, 103, 0, .08);--callout-caution-color: #cf222e;--callout-caution-background-color: rgba(207, 34, 46, .08);--ir-heading-color: #660e7a;--ir-title-color: #808080;--ir-bi-color: #0033b3;--ir-link-color: #008000;--ir-bracket-color: #0000ff;--ir-paren-color: #008000}.vditor--dark{--border-color: #141414;--second-color: rgba(185, 185, 185, .36);--panel-background-color: #24292e;--panel-shadow: 0 1px 2px rgba(255, 255, 255, .2);--toolbar-background-color: #1d2125;--toolbar-icon-color: #b9b9b9;--toolbar-icon-hover-color: #fff;--textarea-background-color: #2f363d;--textarea-text-color: #d1d5da;--resize-icon-color: var(--border-color);--resize-background-color: var(--second-color);--resize-hover-icon-color: var(--toolbar-icon-hover-color);--resize-hover-background-color: rgba(185, 185, 185, .86);--count-background-color: rgba(66, 133, 244, .36);--heading-border-color: var(--textarea-text-color);--blockquote-color: var(--toolbar-icon-color);--callout-note-color: #58a6ff;--callout-note-background-color: rgba(56, 139, 253, .15);--callout-tip-color: #3fb950;--callout-tip-background-color: rgba(46, 160, 67, .15);--callout-important-color: #a371f7;--callout-important-background-color: rgba(163, 113, 247, .15);--callout-warning-color: #d29922;--callout-warning-background-color: rgba(187, 128, 9, .15);--callout-caution-color: #f85149;--callout-caution-background-color: rgba(248, 81, 73, .15);--ir-heading-color: #9876aa;--ir-title-color: #808080;--ir-bi-color: #cc7832;--ir-link-color: #ffc66d;--ir-bracket-color: #287bde;--ir-paren-color: #6a8759}@keyframes tooltip-appear{0%{opacity:0}to{opacity:1}}.vditor-tooltipped{position:relative;cursor:pointer}.vditor-tooltipped:after{position:absolute;z-index:1000000;display:none;padding:5px 8px;font-size:11px;font-weight:400;-webkit-font-smoothing:subpixel-antialiased;color:#fff;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:#3b3e43;border-radius:3px;line-height:16px;opacity:0}.vditor-tooltipped:before{position:absolute;z-index:1000001;display:none;width:0;height:0;color:#3b3e43;pointer-events:none;content:"";border:5px solid transparent;opacity:0}.vditor-tooltipped--hover:before,.vditor-tooltipped--hover:after,.vditor-tooltipped:hover:before,.vditor-tooltipped:hover:after,.vditor-tooltipped:active:before,.vditor-tooltipped:active:after,.vditor-tooltipped:focus:before,.vditor-tooltipped:focus:after{display:inline-block;text-decoration:none;animation-name:tooltip-appear;animation-duration:.15s;animation-fill-mode:forwards;animation-timing-function:ease-in}.vditor-tooltipped__s:after,.vditor-tooltipped__se:after,.vditor-tooltipped__sw:after{top:100%;right:50%;margin-top:5px}.vditor-tooltipped__s:before,.vditor-tooltipped__se:before,.vditor-tooltipped__sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:#3b3e43}.vditor-tooltipped__se:after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__sw:after{margin-right:-15px}.vditor-tooltipped__n:after,.vditor-tooltipped__ne:after,.vditor-tooltipped__nw:after{right:50%;bottom:100%;margin-bottom:5px}.vditor-tooltipped__n:before,.vditor-tooltipped__ne:before,.vditor-tooltipped__nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:#3b3e43}.vditor-tooltipped__ne:after{right:auto;left:50%;margin-left:-15px}.vditor-tooltipped__nw:after{margin-right:-15px}.vditor-tooltipped__s:after,.vditor-tooltipped__n:after{transform:translate(50%)}.vditor-tooltipped__w:after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.vditor-tooltipped__w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:#3b3e43}.vditor-tooltipped__e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.vditor-tooltipped__e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:#3b3e43}@media screen and (max-width:520px){.vditor-tooltipped:before,.vditor-tooltipped:after{content:none}}@keyframes scale-in{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.vditor-panel{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px;z-index:3;font-size:14px;display:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:320px;min-width:80px;animation-duration:.15s;animation-name:scale-in;animation-timing-function:cubic-bezier(.2,0,.13,1.5);color:var(--toolbar-icon-color)}.vditor-panel--none{padding:0;animation:none;min-width:auto;max-width:none;white-space:nowrap;opacity:.86}.vditor-panel--arrow:before{position:absolute;width:0;height:0;pointer-events:none;content:" ";border:7px solid transparent;top:-14px;left:5px;border-bottom-color:var(--panel-background-color)}.vditor-panel--left{right:0}.vditor-panel--left.vditor-panel--arrow:before{right:5px;left:auto}.vditor-input{border:0;padding:3px 5px;background-color:var(--panel-background-color);font-size:12px;color:var(--textarea-text-color)}.vditor-input:focus{background-color:var(--toolbar-background-color);outline:none}.vditor-icon{color:var(--toolbar-icon-color);cursor:pointer;float:left;padding:4px 5px;height:21px;width:23px;background-color:transparent;border:0;box-sizing:border-box}.vditor-icon:hover,.vditor-icon--current{color:var(--toolbar-icon-hover-color);background-color:transparent}.vditor-icon:focus{outline:none}.vditor-icon svg{height:13px!important;width:13px!important;float:left;fill:currentColor;pointer-events:none}.vditor-toolbar{background-color:var(--toolbar-background-color);border-bottom:1px solid var(--border-color);padding:0 5px;line-height:1}.vditor-toolbar--pin{position:sticky;top:0;z-index:1}.vditor-toolbar--hide{transition:all .15s ease-in-out;height:5px;overflow:hidden}.vditor-toolbar--hide:hover{background-color:var(--toolbar-background-color);height:auto;overflow:visible}.vditor-toolbar__item{float:left;position:relative}.vditor-toolbar__item .vditor-tooltipped{color:var(--toolbar-icon-color);border:0;padding:10px 5px;background-color:transparent;height:var(--toolbar-height);width:25px;box-sizing:border-box;font-size:0}.vditor-toolbar__item .vditor-tooltipped:focus{outline:none}.vditor-toolbar__item .vditor-tooltipped:focus{cursor:pointer;color:var(--toolbar-icon-hover-color)}.vditor-toolbar__item svg{fill:currentColor;display:inline-block;stroke-width:0;stroke:currentColor;width:15px;height:15px}.vditor-toolbar__item input{position:absolute;width:25px;height:var(--toolbar-height);top:0;left:0;cursor:pointer;opacity:.001;overflow:hidden}.vditor-toolbar__divider{float:left;height:calc(var(--toolbar-height) - (var(--toolbar-divider-margin-top) * 2));border-left:1px solid var(--second-color);margin:var(--toolbar-divider-margin-top) 8px}.vditor-toolbar__br{width:100%;padding:0!important;height:0!important}.vditor-menu--current{color:var(--toolbar-icon-hover-color)!important}.vditor-menu--disabled{color:var(--second-color)!important;cursor:not-allowed!important}.vditor-emojis{display:inline-block;overflow:auto}.vditor-emojis::-webkit-scrollbar{display:none}.vditor-emojis__tip{flex:1;min-width:1px;width:200px;margin-right:10px;color:var(--toolbar-icon-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-emojis__tail{margin-top:5px;font-size:12px;color:var(--toolbar-icon-color);display:flex}.vditor-emojis__tail a{text-decoration:none;color:var(--toolbar-icon-color)}.vditor-emojis__tail a:hover{color:var(--toolbar-icon-hover-color)}.vditor-emojis button{cursor:pointer;border-radius:3px;float:left;height:30px;width:30px;text-align:center;line-height:26px;padding:3px;box-sizing:border-box;font-size:16px;transition:all .15s ease-in-out;border:0;margin:0;background-color:transparent;overflow:hidden}.vditor-emojis button:focus{outline:none}.vditor-emojis button:hover .vditor-emojis__icon{display:inline-block;transform:scale(1.2)}.vditor-emojis img{height:20px;width:20px;float:left;margin:3px 0 0 3px}@media screen and (max-width:520px){.vditor-toolbar__item{padding:0 12px}.vditor-panel--left.vditor-panel--arrow:before{right:17px}}@media(hover:hover)and (pointer:fine){.vditor-toolbar__item .vditor-tooltipped:hover{color:var(--toolbar-icon-hover-color)}}@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}.vditor{display:flex;flex-direction:column;border:1px solid var(--border-color);border-radius:3px;box-sizing:border-box;font-family:Helvetica Neue,Luxi Sans,DejaVu Sans,Hiragino Sans GB,Microsoft Yahei,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,"Android Emoji",EmojiSymbols}.vditor--fullscreen{position:fixed;top:0;width:100%!important;left:0;height:100vh!important;z-index:90;border-radius:0}.vditor-content{display:flex;min-height:60px;flex:1;min-width:1px;position:relative}.vditor-preview{flex:1;min-width:1px;overflow:auto;margin-left:-1px;border-left:1px solid var(--border-color);box-sizing:border-box;border-radius:0 0 3px;background-color:var(--textarea-background-color)}.vditor-preview::-webkit-scrollbar{display:none}.vditor-preview__action{text-align:center;padding:10px;background-color:var(--toolbar-background-color)}.vditor-preview__action button{background-color:var(--toolbar-background-color);color:var(--toolbar-icon-color);line-height:20px;border:0;margin:0 10px;cursor:pointer;padding:0 7px;font-size:12px}.vditor-preview__action button.vditor-preview__action--current,.vditor-preview__action button:hover{color:var(--toolbar-icon-hover-color);background-color:var(--toolbar-background-color)}.vditor-preview__action button:focus{outline:none}.vditor-preview__action button svg{fill:currentColor;height:15px;width:15px;vertical-align:middle}.vditor-preview>.vditor-reset{padding:10px;margin:0 auto}.vditor-preview img:not(.emoji){cursor:pointer}.vditor-devtools{display:none;background-color:var(--textarea-background-color);overflow:auto;flex:1;min-width:1px;box-shadow:inset 1px 0 var(--border-color);box-sizing:border-box;border-radius:0 0 3px;padding:10px}.vditor-counter{padding:3px;color:var(--toolbar-icon-color);background-color:var(--count-background-color);border-radius:3px;font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none;float:right;margin:8px 3px 0 0}.vditor-counter--error{color:#d23f31;background-color:#d23f311a}.vditor-resize{padding:3px 0;cursor:row-resize;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;width:100%}.vditor-resize--top{top:-3px}.vditor-resize--bottom{bottom:-3px}.vditor-resize>div{height:3px;background-color:var(--resize-background-color);transition:all .15s ease-in-out}.vditor-resize:hover>div,.vditor-resize--selected>div{background-color:var(--resize-hover-background-color)}.vditor-resize:hover svg,.vditor-resize--selected svg{color:var(--resize-hover-icon-color)}.vditor-resize svg{fill:currentColor;stroke-width:0;stroke:currentColor;width:13px;height:3px;display:block;margin:0 auto;color:var(--resize-icon-color)}.vditor-upload{position:absolute;height:3px;left:0;top:-2px;transition:all .15s ease-in-out;background-color:#4285f4}.vditor-tip{position:absolute;font-size:12px;top:10px;animation-duration:.15s;animation-fill-mode:both;left:50%;z-index:5}.vditor-tip--show{display:block;animation-name:slideInDown}.vditor-tip__content{text-align:left;display:inline-block;line-height:16px;padding:3px 10px;border-radius:3px;background:var(--toolbar-background-color);position:relative;margin-left:-50%;color:var(--toolbar-icon-color);max-width:100%;box-shadow:var(--panel-shadow)}.vditor-tip__content ul{margin:2px 0;padding:0 0 0 18px}.vditor-tip__content a{color:#4285f4}.vditor-tip__close{position:absolute;color:var(--toolbar-icon-color);top:-7px;right:-15px;font-weight:700;cursor:pointer}.vditor-tip__close:hover{color:var(--toolbar-icon-hover-color)}.vditor-img{position:fixed;inset:0;display:flex;flex-direction:column;z-index:100}.vditor-img__bar{border-bottom:1px solid var(--border-color);background-color:var(--toolbar-background-color);text-align:center;height:36px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.vditor-img__btn{display:flex;align-items:center;cursor:pointer;margin-left:24px;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--toolbar-icon-color)}.vditor-img__btn:hover{color:var(--toolbar-icon-hover-color)}.vditor-img__btn svg{height:14px;width:14px;margin-right:8px;fill:currentColor}.vditor-img__img{flex:1;background-color:var(--textarea-background-color);overflow:auto;cursor:zoom-out}.vditor-img__img img{max-width:none}.vditor-hint{background-color:var(--panel-background-color);position:absolute;box-shadow:var(--panel-shadow);border-radius:3px;padding:5px 0;z-index:4;line-height:20px;list-style:none;font-size:12px;margin:0;max-width:250px;min-width:80px;display:none}.vditor-hint .vditor-hint{margin-top:-31px;left:100%;right:auto}.vditor-hint .vditor-hint.vditor-panel--left{right:100%;left:auto}.vditor-hint button{color:var(--toolbar-icon-color);display:block;padding:3px 10px;border:0;border-radius:0;line-height:20px;width:100%;box-sizing:border-box;text-align:left;margin:0;background-color:transparent;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.vditor-hint button:focus{outline:none}.vditor-hint--current,.vditor-hint button:not(.vditor-menu--disabled):hover{background-color:var(--toolbar-background-color)!important;color:var(--toolbar-icon-hover-color)!important}.vditor-hint__emoji{font-size:16px;float:left;margin-right:3px}.vditor-hint img{height:20px;width:20px;float:left;margin-right:3px}.vditor-reset{color:#24292e;font-variant-ligatures:no-common-ligatures;font-family:Helvetica Neue,Luxi Sans,DejaVu Sans,Hiragino Sans GB,Microsoft Yahei,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,"Android Emoji",EmojiSymbols;word-wrap:break-word;overflow:auto;line-height:1.5;font-size:16px;word-break:break-word}.vditor-reset--anchor{padding-left:20px}.vditor-reset--error{color:#d23f31;font-size:12px;display:block;line-height:16px}.vditor-reset ul ul ul{list-style-type:square}.vditor-reset ul ul{list-style-type:circle}.vditor-reset ul{list-style-type:disc}.vditor-reset ul,.vditor-reset ol{padding-left:2em;margin-top:0;margin-bottom:16px}.vditor-reset li+li{margin-top:.25em}.vditor-reset li p{margin-top:16px}.vditor-reset audio{max-width:100%}.vditor-reset audio:focus{outline:none}.vditor-reset video{max-height:90vh;max-width:100%}.vditor-reset img{max-width:100%}.vditor-reset img.emoji{cursor:auto;max-width:20px;vertical-align:sub}.vditor-reset figure.vditor-image{margin:0 0 16px;text-align:center}.vditor-reset figure.vditor-image figcaption{font-size:.875em;margin-top:4px;opacity:.65;white-space:pre-wrap}.vditor-reset span.vditor-image[data-image-caption]{display:inline-block;max-width:100%;text-align:center;vertical-align:top}.vditor-reset span.vditor-image[data-image-caption]:after{content:attr(data-image-caption);display:block;font-size:.875em;line-height:1.5;margin-top:4px;opacity:.65;white-space:pre-wrap}.vditor-reset h1,.vditor-reset h2,.vditor-reset h3,.vditor-reset h4,.vditor-reset h5,.vditor-reset h6{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.vditor-reset h1:hover .vditor-anchor svg,.vditor-reset h2:hover .vditor-anchor svg,.vditor-reset h3:hover .vditor-anchor svg,.vditor-reset h4:hover .vditor-anchor svg,.vditor-reset h5:hover .vditor-anchor svg,.vditor-reset h6:hover .vditor-anchor svg{visibility:visible}.vditor-reset h1{font-size:1.75em}.vditor-reset h2{font-size:1.55em}.vditor-reset h3{font-size:1.38em}.vditor-reset h4{font-size:1.25em}.vditor-reset h5{font-size:1.13em}.vditor-reset h6{font-size:1em}.vditor-reset hr{height:2px;padding:0;margin:24px 0;background-color:#eaecef;border:0}.vditor-reset p{margin-top:0;margin-bottom:16px}.vditor-reset blockquote{padding:0 1em;color:#6a737d;border-left:.25em solid #eaecef;margin:0 0 16px}.vditor-reset blockquote>:first-child{margin-top:0}.vditor-reset blockquote>:last-child{margin-bottom:0}.vditor-reset ins>iframe{border:0}.vditor-reset iframe{border:1px solid #d1d5da;max-width:100%;box-sizing:border-box}.vditor-reset iframe.iframe__video{min-width:80%;min-height:36vh}.vditor-reset table{border-collapse:collapse;empty-cells:show;margin-bottom:16px;overflow:auto;border-spacing:0;display:block;word-break:keep-all;width:100%}.vditor-reset table tr{background-color:#fafbfc;border-top:1px solid #c6cbd1}.vditor-reset table td,.vditor-reset table th{padding:6px 13px;border:1px solid #dfe2e5;word-break:normal;white-space:nowrap}.vditor-reset table td:first-child:after,.vditor-reset table th:first-child:after{content:"";display:inline-block;vertical-align:top;min-height:24px}.vditor-reset table th{font-weight:600}.vditor-reset table tbody tr:nth-child(2n){background-color:#fff}.vditor-reset code:not(.hljs):not(.highlight-chroma){padding:.2em .4em;margin:0;font-size:85%;border-radius:3px;font-family:mononoki,Consolas,Liberation Mono,Menlo,Courier,monospace,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,"Android Emoji",EmojiSymbols;word-break:break-word;background-size:20px 20px;white-space:pre-wrap}.vditor-reset pre{margin:1em 0}.vditor-reset pre>code{margin:0;font-size:85%;padding:.5em;border-radius:5px;display:block;overflow:auto;white-space:pre;font-family:mononoki,Consolas,Liberation Mono,Menlo,Courier,monospace,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,"Android Emoji",EmojiSymbols;background-size:20px 20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8AgMAAABHkjHhAAAACVBMVEWAgIBaWlo+Pj7rTFvWAAAAA3RSTlMHCAw+VhR4AAAA+klEQVQoz4WSMW7EQAhFPxKWNh2FCx+HkaZI6RRb5DYbyVfIJXLKDCFoMbaTKSw/8ZnPAPjaH2xgZcUNUDADD7D9LtDBCLZ45fbkvo/30K8yeI64pPwl6znd/3n/Oe93P3ho9qeh72btTFzqkz0rsJle8Zr81OLEwZ1dv/713uWqvu2pl+k0fy7MWtj9r/tN5q/02z89qa/L4Dc2LvM93kezPfXlME/O86EbY/V9GB9ePX8G1/6W+/9h1dq/HGfTfzT3j/xNo7522Bfnqe5jO/fvhVthlfk434v3iO9zG/UOphyPeinPl1J8Gtaa7xPTa/Dk+RIs4deMvwGvcGsmsCvJ0AAAAABJRU5ErkJggg==);word-break:initial;word-wrap:normal}.vditor-reset pre:hover div.vditor-copy{display:block}.vditor-reset .language-math,.vditor-reset .language-echarts,.vditor-reset .language-mindmap,.vditor-reset .language-plantuml,.vditor-reset .language-mermaid,.vditor-reset .language-smiles,.vditor-reset .language-markmap,.vditor-reset .language-abc,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz,.vditor-reset .language-wavedrom{margin-bottom:16px}.vditor-reset .language-math mjx-container:focus{outline:none;cursor:context-menu}.vditor-reset .language-math .katex-display>.katex>.katex-html>.tag{display:inline-block;font-size:1.21rem;right:2px}.vditor-reset .language-echarts,.vditor-reset .language-mindmap{overflow:hidden;height:420px}.vditor-reset .language-mermaid,.vditor-reset .language-markmap,.vditor-reset .language-flowchart,.vditor-reset .language-graphviz,.vditor-reset .language-wavedrom{text-align:center}.vditor-reset .language-graphviz parsererror{overflow:auto}.vditor-reset kbd{display:inline-block;padding:3px 5px;font:11px Consolas,Liberation Mono,Menlo,Courier,monospace;line-height:10px;color:#24292e;vertical-align:middle;background-color:#fafbfc;border:solid 1px #d1d5da;border-radius:3px;box-shadow:inset 0 -1px #d1d5da}.vditor-reset summary{cursor:pointer}.vditor-reset summary:focus{outline:none}.vditor-reset svg{height:auto;width:auto;stroke-width:initial}.vditor-reset p:last-child,.vditor-reset blockquote:last-child,.vditor-reset pre:last-child,.vditor-reset ul:last-child,.vditor-reset ol:last-child,.vditor-reset hr:last-child{margin-bottom:0}.vditor-comment{border-bottom:2px solid #f8e6ab}.vditor-comment--focus,.vditor-comment--hover{background-color:#faf1d1;border-bottom:2px solid #ffc60a}.vditor-comment--focus .vditor-comment,.vditor-comment--hover .vditor-comment{border-bottom:2px solid #ffc60a}.vditor-task{list-style:none!important;word-break:break-all}.vditor-task input{margin:0 .2em .25em -1.6em;font-size:12px;vertical-align:middle}.vditor-copy{position:relative;display:none;z-index:1}.vditor-copy textarea{position:absolute;left:-100000px;height:10px}.vditor-copy span{cursor:pointer;position:absolute;right:15px;top:.5em}.vditor-copy svg{color:#586069;height:14px;width:14px!important;display:block;fill:currentColor}.vditor-linenumber{padding-left:4em!important;position:relative}.vditor-linenumber__rows{position:absolute;pointer-events:none;top:1em;left:0;width:3em;-webkit-user-select:none;-moz-user-select:none;user-select:none;counter-reset:linenumber}.vditor-linenumber__rows>span{pointer-events:none;display:block}.vditor-linenumber__rows>span:before{counter-increment:linenumber;content:counter(linenumber);color:#9e969661;display:block;padding-right:1em;text-align:right}.vditor-speech{position:absolute;display:none;background-color:#f6f8fa;border:1px solid #d1d5da;border-radius:3px;padding:3px;cursor:pointer;color:#586069}.vditor-speech:hover,.vditor-speech--current{color:#4285f4}.vditor-speech svg{height:14px;width:14px;fill:currentColor;display:block;stroke-width:0;stroke:currentColor}.vditor-anchor{margin-left:5px}.vditor-anchor--left{float:left;padding-right:4px;margin-left:-20px}.vditor-anchor svg{visibility:hidden}.vditor-anchor:hover svg{visibility:visible}.vditor-anchor:focus{outline:none}.vditor-linkcard{margin:31px auto 16px;transition:all .15s ease-in-out;cursor:pointer;max-width:768px;padding:0 10px}.vditor-linkcard a{border-radius:3px;background-color:#f6f8fa;overflow:hidden;max-height:250px;display:flex;text-decoration:none;flex-wrap:wrap-reverse;box-shadow:0 1px 2px #0003}.vditor-linkcard a:hover{box-shadow:0 0 3px #00000021,0 3px 6px #00000042;text-decoration:none}.vditor-linkcard a:visited .vditor-linkcard__abstract{color:#5860695c}.vditor-linkcard__info{padding:10px;min-width:200px;box-sizing:border-box;flex:1}.vditor-linkcard__title{font-size:14px;font-weight:400;color:#24292e;display:flex;align-items:center}.vditor-linkcard__title img{cursor:pointer;height:20px;width:20px;border-radius:3px;flex-shrink:0;margin-right:5px}.vditor-linkcard__abstract{word-wrap:break-word;word-break:break-all;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;font-size:13px;color:#586069;margin:5px 0}.vditor-linkcard__site{font-size:12px;color:#4285f4}.vditor-linkcard__image{background-size:cover;background-repeat:no-repeat;background-position:center center;max-width:250px;min-width:126px;cursor:pointer;background-color:#5860695c}.vditor-footnotes__goto-ref{text-decoration:none}.vditor-toc{margin-bottom:16px;-webkit-user-select:text;-moz-user-select:text;user-select:text;color:#4285f4}.vditor-toc .vditor-outline__action{display:none}.vditor-toc ul{list-style:none!important;padding-left:1em}.vditor-toc>ul{padding-left:0}.vditor-toc span{cursor:pointer}.vditor-toc li>span>svg{width:0;height:0}.vditor-outline{width:250px;border-right:1px solid var(--border-color);background-color:var(--panel-background-color);display:none;overflow:auto}.vditor-outline--right{border-right:0;border-left:1px solid var(--border-color)}.vditor-outline::-webkit-scrollbar{display:none}.vditor-outline ul{list-style:none!important;padding-left:1em;margin:0}.vditor-outline__content>ul{padding-left:0}.vditor-outline li>span{display:flex;align-items:center;padding:5px 10px;cursor:pointer;color:var(--textarea-text-color)}.vditor-outline li>span>svg{height:10px;width:10px;flex-shrink:0}.vditor-outline li>span:hover{color:var(--toolbar-icon-hover-color)}.vditor-outline li>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vditor-outline__title{border-bottom:1px dashed var(--border-color);padding:5px 10px;color:var(--toolbar-icon-color);font-size:12px}.vditor-outline__action{transition:all .15s ease-in-out;fill:currentColor;margin-right:5px;flex-shrink:0}.vditor-outline__action--close{transform:rotate(-90deg)}.vditor-reset .callout,.vditor-wysiwyg blockquote.callout,.vditor-ir blockquote.callout{--callout-color: var(--callout-note-color, #0969da);--callout-background-color: var(--callout-note-background-color, rgba(9, 105, 218, .08));position:relative;margin:0 0 16px;padding:.75em 1em;color:inherit;background-color:var(--callout-background-color);border:0;border-left:.25em solid var(--callout-color)}.vditor-reset .callout[data-subtype=TIP],.vditor-wysiwyg blockquote.callout[data-subtype=TIP],.vditor-ir blockquote.callout[data-subtype=TIP]{--callout-color: var(--callout-tip-color, #1a7f37);--callout-background-color: var(--callout-tip-background-color, rgba(26, 127, 55, .08))}.vditor-reset .callout[data-subtype=IMPORTANT],.vditor-wysiwyg blockquote.callout[data-subtype=IMPORTANT],.vditor-ir blockquote.callout[data-subtype=IMPORTANT]{--callout-color: var(--callout-important-color, #8250df);--callout-background-color: var(--callout-important-background-color, rgba(130, 80, 223, .08))}.vditor-reset .callout[data-subtype=WARNING],.vditor-wysiwyg blockquote.callout[data-subtype=WARNING],.vditor-ir blockquote.callout[data-subtype=WARNING]{--callout-color: var(--callout-warning-color, #9a6700);--callout-background-color: var(--callout-warning-background-color, rgba(154, 103, 0, .08))}.vditor-reset .callout[data-subtype=CAUTION],.vditor-wysiwyg blockquote.callout[data-subtype=CAUTION],.vditor-ir blockquote.callout[data-subtype=CAUTION]{--callout-color: var(--callout-caution-color, #cf222e);--callout-background-color: var(--callout-caution-background-color, rgba(207, 34, 46, .08))}.vditor-reset .callout>.callout-info,.vditor-wysiwyg blockquote.callout>.callout-info,.vditor-ir blockquote.callout>.callout-info{display:flex;align-items:center;min-height:1.5em;margin:0 0 .5em;color:var(--callout-color);font-weight:600}.vditor-reset .callout>.callout-info .callout-icon,.vditor-wysiwyg blockquote.callout>.callout-info .callout-icon,.vditor-ir blockquote.callout>.callout-info .callout-icon{display:inline-flex;align-items:center;margin-right:.35em}.vditor-reset .callout>.callout-info .callout-title,.vditor-wysiwyg blockquote.callout>.callout-info .callout-title,.vditor-ir blockquote.callout>.callout-info .callout-title{min-width:1px}.vditor-reset .callout>.callout-info .callout-img,.vditor-wysiwyg blockquote.callout>.callout-info .callout-img,.vditor-ir blockquote.callout>.callout-info .callout-img,.vditor-reset .callout>.callout-info>.callout-img,.vditor-wysiwyg blockquote.callout>.callout-info>.callout-img,.vditor-ir blockquote.callout>.callout-info>.callout-img{width:1.2em;height:1.2em;margin-right:.35em;-o-object-fit:contain;object-fit:contain}.vditor-reset .callout>.callout-content>:last-child,.vditor-wysiwyg blockquote.callout>.callout-content>:last-child,.vditor-ir blockquote.callout>.callout-content>:last-child,.vditor-reset .callout>:last-child,.vditor-wysiwyg blockquote.callout>:last-child,.vditor-ir blockquote.callout>:last-child{margin-bottom:0}.vditor-wysiwyg__callout-marker{display:none}.vditor-wysiwyg{box-sizing:border-box;flex:1;position:relative;width:100%;min-width:1px}.vditor-wysiwyg pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-wysiwyg pre.vditor-reset[contenteditable=false]{opacity:.3;cursor:not-allowed}.vditor-wysiwyg pre.vditor-reset:empty:before{content:attr(placeholder);color:var(--second-color)}.vditor-wysiwyg pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-wysiwyg pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-wysiwyg blockquote:empty:before,.vditor-wysiwyg pre>code:empty:before,.vditor-wysiwyg p:empty:before,.vditor-wysiwyg h1:empty:after,.vditor-wysiwyg h2:empty:after,.vditor-wysiwyg h3:empty:after,.vditor-wysiwyg h4:empty:after,.vditor-wysiwyg h5:empty:after,.vditor-wysiwyg h6:empty:after{content:" "}.vditor-wysiwyg code[data-marker="`"]{padding-left:0!important;padding-right:0!important}.vditor-wysiwyg__block pre:first-child{margin-bottom:-1em}.vditor-wysiwyg__block pre:first-child code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-wysiwyg__block pre:last-child{margin-bottom:1em}.vditor-wysiwyg__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-wysiwyg>.vditor-reset>h1:before,.vditor-wysiwyg>.vditor-reset>h2:before,.vditor-wysiwyg>.vditor-reset>h3:before,.vditor-wysiwyg>.vditor-reset>h4:before,.vditor-wysiwyg>.vditor-reset>h5:before,.vditor-wysiwyg>.vditor-reset>h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type=link-ref-defs-block]:before,.vditor-wysiwyg div[data-type=footnotes-block]:before,.vditor-wysiwyg .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:"H1";font-size:.85rem;font-weight:400;color:var(--second-color)}.vditor-wysiwyg>.vditor-reset>h2:before{content:"H2"}.vditor-wysiwyg>.vditor-reset>h3:before{content:"H3"}.vditor-wysiwyg>.vditor-reset>h4:before{content:"H4"}.vditor-wysiwyg>.vditor-reset>h5:before{content:"H5"}.vditor-wysiwyg>.vditor-reset>h6:before{content:"H6"}.vditor-wysiwyg div[data-type=link-ref-defs-block]:before{content:'"A"'}.vditor-wysiwyg div[data-type=footnotes-block]:before{content:"^F"}.vditor-wysiwyg div.vditor-wysiwyg__block:before{content:"</>"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type=yaml-front-matter]:before{content:"F"}.vditor-wysiwyg div.vditor-wysiwyg__block[data-type=math-block]:before{content:"$$"}.vditor-wysiwyg .vditor-toc:before{content:"ToC"}.vditor-wysiwyg hr{display:inline-block;margin:12px 0;width:100%}.vditor-wysiwyg details{white-space:initial}.vditor-wysiwyg a{cursor:pointer}.vditor-wysiwyg span[data-type=backslash]>span{display:none;color:var(--second-color)}.vditor-wysiwyg span[data-type=link-ref],.vditor-wysiwyg sup[data-type=footnotes-ref]{color:#4285f4}.vditor-wysiwyg span[data-type=toc-h]{color:#4285f4;text-decoration:underline}.vditor-wysiwyg div[data-type=footnotes-block]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-wysiwyg div[data-type=link-ref-defs-block]{color:var(--blockquote-color)}@media screen and (max-width:520px){.vditor-wysiwyg h1:before,.vditor-wysiwyg h2:before,.vditor-wysiwyg h3:before,.vditor-wysiwyg h4:before,.vditor-wysiwyg h5:before,.vditor-wysiwyg h6:before,.vditor-wysiwyg div.vditor-wysiwyg__block:before,.vditor-wysiwyg div[data-type=link-ref-defs-block]:before,.vditor-wysiwyg div[data-type=footnotes-block]:before,.vditor-wysiwyg .vditor-toc:before{content:none}}.vditor-ir{box-sizing:border-box;flex:1;min-width:1px;position:relative;width:100%}.vditor-ir__node[data-type=code-block]:before,.vditor-ir__node[data-type=code-block]:after,.vditor-ir__node[data-type=yaml-front-matter]:before,.vditor-ir__node[data-type=yaml-front-matter]:after,.vditor-ir__node[data-type=math-block]:before,.vditor-ir__node[data-type=math-block]:after{content:" ";color:var(--second-color)}.vditor-ir__node:not(.vditor-ir__node--expand) .vditor-ir__marker{padding:0!important}.vditor-ir__node:not(.vditor-ir__node--expand)[data-type=a]{cursor:pointer}.vditor-ir__node[data-type=link-ref],.vditor-ir__node[data-type=footnotes-ref]{color:#4285f4}.vditor-ir__node[data-type=html-block]{margin-bottom:1em}.vditor-ir__node .vditor-ir__marker{width:0;overflow:hidden;display:inline-block;height:0;transition:all .15s ease-in-out}.vditor-ir__node--hidden .vditor-ir__marker{visibility:hidden}.vditor-ir__node--expand .vditor-ir__marker{color:var(--second-color);display:inline;height:auto;width:auto}.vditor-ir__node--expand .vditor-ir__marker--hide{display:none}.vditor-ir__node--expand .vditor-ir__marker--heading{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--bi{color:var(--ir-bi-color)}.vditor-ir__node--expand .vditor-ir__marker--link{color:var(--ir-link-color)}.vditor-ir__node--expand .vditor-ir__marker--title{color:var(--ir-title-color)}.vditor-ir__node--expand .vditor-ir__marker--bracket{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir__node--expand .vditor-ir__marker--paren{color:var(--ir-paren-color)}.vditor-ir__node--expand .vditor-ir__marker--info{color:var(--ir-heading-color)}.vditor-ir__node--expand .vditor-ir__marker--pre code{color:var(--textarea-text-color);height:auto;text-align:left}.vditor-ir__node--expand[data-type=code-block]:before,.vditor-ir__node--expand[data-type=code-block]:after{content:"```"}.vditor-ir__node--expand[data-type=yaml-front-matter]:before,.vditor-ir__node--expand[data-type=yaml-front-matter]:after{content:"---"}.vditor-ir__node--expand[data-type=math-block]:before,.vditor-ir__node--expand[data-type=math-block]:after{content:"$$"}.vditor-ir__node span[data-type=code-block-open-marker],.vditor-ir__node span[data-type=code-block-close-marker],.vditor-ir__node span[data-type=yaml-front-matter-open-marker],.vditor-ir__node span[data-type=yaml-front-matter-close-marker],.vditor-ir__node span[data-type=math-block-open-marker],.vditor-ir__node span[data-type=math-block-close-marker]{display:none}.vditor-ir__preview{cursor:pointer;white-space:initial;min-height:27px}.vditor-ir__link{color:var(--ir-bracket-color);text-decoration:underline}.vditor-ir pre.vditor-reset{background-color:var(--panel-background-color);margin:0;white-space:pre-wrap;height:100%;box-sizing:border-box}.vditor-ir pre.vditor-reset[contenteditable=false]{opacity:.3;cursor:not-allowed}.vditor-ir pre.vditor-reset:empty:before{content:attr(placeholder);color:var(--second-color)}.vditor-ir pre.vditor-reset:focus{outline:none;background-color:var(--textarea-background-color)}.vditor-ir pre.vditor-reset:after{content:"";height:var(--editor-bottom);display:block}.vditor-ir pre.vditor-reset pre{margin:0}.vditor-ir hr{display:inline-block;margin:12px 0;width:100%}.vditor-ir blockquote:empty:before,.vditor-ir pre>code:empty:before,.vditor-ir p:empty:before,.vditor-ir h1:empty:after,.vditor-ir h2:empty:after,.vditor-ir h3:empty:after,.vditor-ir h4:empty:after,.vditor-ir h5:empty:after,.vditor-ir h6:empty:after{content:" "}.vditor-ir .vditor-reset>h1:before,.vditor-ir .vditor-reset>h2:before,.vditor-ir .vditor-reset>h3:before,.vditor-ir .vditor-reset>h4:before,.vditor-ir .vditor-reset>h5:before,.vditor-ir .vditor-reset>h6:before,.vditor-ir div[data-type=link-ref-defs-block]:before,.vditor-ir div[data-type=footnotes-block]:before,.vditor-ir .vditor-toc:before{float:left;padding-right:4px;margin-left:-29px;content:"H1";font-size:.85rem;font-weight:400;color:var(--second-color)}.vditor-ir .vditor-reset>h2:before{content:"H2"}.vditor-ir .vditor-reset>h3:before{content:"H3"}.vditor-ir .vditor-reset>h4:before{content:"H4"}.vditor-ir .vditor-reset>h5:before{content:"H5"}.vditor-ir .vditor-reset>h6:before{content:"H6"}.vditor-ir div[data-type=link-ref-defs-block]{color:var(--blockquote-color)}.vditor-ir div[data-type=link-ref-defs-block]:before{content:'"A"'}.vditor-ir div[data-type=footnotes-block]{border-top:2px solid var(--heading-border-color);padding-top:24px;margin-top:24px}.vditor-ir div[data-type=footnotes-block]:before{content:"^F"}.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>ul,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>ol,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>p,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>blockquote,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>pre,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>table,.vditor-ir div[data-type=footnotes-block]>div[data-type=footnotes-def]>hr{margin-left:8px}.vditor-ir .vditor-toc:before{content:"ToC"}.vditor-ir .vditor-toc span[data-type=toc-h]{color:#4285f4;text-decoration:underline}@media screen and (max-width:520px){.vditor-ir h1:before,.vditor-ir h2:before,.vditor-ir h3:before,.vditor-ir h4:before,.vditor-ir h5:before,.vditor-ir h6:before,.vditor-ir div[data-type=link-ref-defs-block]:before,.vditor-ir div[data-type=footnotes-block]:before,.vditor-ir .vditor-toc:before{content:none}}.vditor-sv{font-family:Helvetica Neue,Luxi Sans,DejaVu Sans,Hiragino Sans GB,Microsoft Yahei,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Segoe UI Symbol,"Android Emoji",EmojiSymbols;margin:0 1px 0 0;overflow:auto;width:100%;flex:1;min-width:1px;border:0;resize:none;padding:10px 9px 10px 10px;box-sizing:border-box;background-color:var(--panel-background-color);outline:0 none;font-size:16px;line-height:22px;color:var(--textarea-text-color);border-radius:0 0 3px 3px;font-variant-ligatures:no-common-ligatures;white-space:pre-wrap;word-break:break-word;word-wrap:break-word}.vditor-sv[contenteditable=false]{opacity:.3;cursor:not-allowed}.vditor-sv:empty:before{content:attr(placeholder);color:var(--second-color)}.vditor-sv:focus{background-color:var(--textarea-background-color)}.vditor-sv:after{content:"";height:var(--editor-bottom);display:block}.vditor-sv span[data-type=newline]+span[data-type=text]:empty{display:inherit}.vditor-sv .sup{vertical-align:super;font-size:smaller}.vditor-sv .strong{font-weight:700}.vditor-sv .em{font-style:italic}.vditor-sv .s{text-decoration:line-through}.vditor-sv .mark:not(.vditor-sv__marker){background-color:#ff0;color:#000}.vditor-sv .h1{font-size:1.75em;line-height:44px}.vditor-sv .h2{font-size:1.55em;line-height:38px}.vditor-sv .h3{font-size:1.38em;line-height:27px}.vditor-sv .h4{font-size:1.25em;line-height:25px}.vditor-sv .h5{font-size:1.13em}.vditor-sv .h6{font-size:1em}.vditor-sv__marker{color:var(--second-color)}.vditor-sv__marker--heading{color:var(--ir-heading-color)}.vditor-sv__marker--bi{color:var(--ir-bi-color)}.vditor-sv__marker--link{color:var(--ir-link-color)}.vditor-sv__marker--title{color:var(--ir-title-color)}.vditor-sv__marker--bracket{color:var(--ir-bracket-color)}.vditor-sv__marker--paren{color:var(--ir-paren-color)}.vditor-sv__marker--info{color:var(--ir-heading-color)}.vditor-sv__marker--strong{font-weight:700}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#303842;background:#fff;font-synthesis:none;--bg:#fff;--panel:#f7f8fa;--hover:#eceff2;--line:#e8ebef;--text:#303842;--muted:#939aa5;--accent:#397962;--accent-bg:#e8f1ec;--editor:#fff;--shadow:0 24px 90px #15233728}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input:focus{outline:2px solid #8ab4a1}button:hover{background:var(--hover)}button svg{flex-shrink:0}button{transition:background .15s}input,select{color:var(--text);background:var(--bg)}:root[data-theme=dark]{color-scheme:dark;--bg:#202328;--panel:#1b1e23;--hover:#30363d;--line:#343940;--text:#d9dce2;--muted:#8c949f;--accent:#99cdb6;--accent-bg:#293f36;--editor:#202328}:root[data-theme=paper]{--bg:#fbf7ee;--panel:#f3eee3;--hover:#eae3d5;--line:#e7dfcf;--text:#504b42;--muted:#a09a8c;--accent:#83734e;--accent-bg:#eee6d4;--editor:#fbf7ee}.app{display:flex;height:100dvh;overflow:hidden;background:var(--bg);color:var(--text)}.sidebar{width:268px;flex-shrink:0;display:flex;flex-direction:column;background:var(--panel);border-right:1px solid var(--line);padding:0 14px}.brand{height:59px;flex-shrink:0;border-bottom:1px solid var(--line);margin:0 -14px 16px;display:flex;align-items:center;gap:8px;padding:0 21px}.brand strong{font-size:19px;letter-spacing:-.8px}.brand>.icon{margin-left:auto;color:var(--muted)}.icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:var(--muted);padding:0;flex-shrink:0}.icon:hover{color:var(--text)}.icon.selected{color:var(--accent);background:var(--accent-bg)}.search-launch{height:38px;border:1px solid var(--line);border-radius:7px;background:var(--bg);display:flex;align-items:center;gap:9px;padding:0 11px;color:var(--muted);font-size:12px}.search-launch span{flex:1;text-align:left}kbd{font-size:10px;font-family:inherit;border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--muted);background:var(--panel)}.sidebar-caption{display:flex;align-items:center;justify-content:space-between;padding:22px 8px 11px;font-size:10px;font-weight:600;letter-spacing:1.6px;color:var(--muted)}.tree-scroll{overflow:auto;flex:1;margin:0 -6px}.source{margin-bottom:20px}.source-title{display:flex;gap:7px;align-items:center;padding:0 6px 6px 10px;font-size:11px;color:var(--muted)}.source-title>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-title .icon{width:22px;height:25px}.tree-row{position:relative;display:flex;align-items:center;border-radius:6px;margin:2px 0;height:35px;padding-right:6px}.tree-row:hover{background:var(--hover)}.tree-row.active{background:var(--accent-bg);color:var(--accent)}.tree-label{display:flex;gap:8px;align-items:center;flex:1;min-width:0;height:100%;font-size:12px;padding:0;text-align:left}.tree-label:hover{background:none}.tree-label span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-spacer{width:13px;flex-shrink:0}.tree-more{opacity:0;width:23px;height:24px}.tree-row:hover .tree-more,.tree-more:focus{opacity:1}.tree-row.active .tree-more{opacity:1}.context-menu{position:absolute;z-index:40;top:30px;right:5px;background:var(--bg);border:1px solid var(--line);box-shadow:var(--shadow);padding:5px;border-radius:8px;min-width:145px}.context-menu button{display:block;width:100%;text-align:left;padding:8px 12px;font-size:12px;border-radius:4px}.danger{color:#d26464}.empty-tree{font-size:12px;padding:14px;color:var(--muted)}.add-source{margin:12px 0;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);border:1px dashed #a3abb750;border-radius:7px;padding:11px}.add-source span{flex:1;text-align:left}.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);height:51px;font-size:10px;color:var(--muted);white-space:nowrap}.local-dot,.save-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#72a38b;margin-right:7px}.save-dot.error{background:#d76666}main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:59px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 28px;flex-shrink:0}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);overflow:hidden;white-space:nowrap}.breadcrumb strong{color:var(--text);font-weight:650;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;gap:7px;align-items:center}.divider{height:17px;width:1px;background:var(--line);margin:0 5px}.mode-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;padding:4px 8px;font-size:11px}.mode-control select{border:0;outline:none;max-width:130px;padding:4px;cursor:pointer}.mode-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;margin:0 4px}.editor-area{flex:1;min-height:0;padding:0 28px}.editor-host{height:100%;border:0!important;border-radius:0!important;background:var(--bg)!important;--panel-background-color:var(--panel);--toolbar-background-color:var(--bg);--textarea-background-color:var(--bg);--textarea-text-color:var(--text);--border-color:var(--line);--toolbar-icon-color:var(--muted);--toolbar-icon-hover-color:var(--accent)}.vditor-toolbar{border:1px solid var(--line)!important;border-left:0!important;border-right:0!important;padding:3px 7px!important;background:var(--bg)!important}.vditor-toolbar__item{padding:0 5px!important}.vditor-toolbar__item button{font-size:13px!important}.vditor-content{background:var(--bg)}.vditor-reset{font-size:var(--document-font-size,15px)!important;line-height:1.95!important;color:var(--text)!important;background:var(--bg)!important}.vditor-ir pre.vditor-reset,.vditor-wysiwyg pre.vditor-reset{padding:35px max(30px,calc((100% - 780px)/2)) 100px!important}.vditor-reset h1{font-size:2em!important;margin-top:10px!important;margin-bottom:22px!important;font-weight:650!important}.vditor-reset h2{font-size:1.466667em!important;margin-top:32px!important;border:0!important}.vditor-reset h3{font-size:1.2em!important}.vditor-reset h4{font-size:1.1em!important}.vditor-reset h5{font-size:1em!important}.vditor-reset h6{font-size:.9em!important}.vditor-reset blockquote{border-left:3px solid #8aaf9d!important;background:var(--accent-bg)!important;padding:10px 18px!important;color:var(--accent)!important;border-radius:0 5px 5px 0}.vditor-reset table th{background:var(--panel)!important}.vditor-reset table td,.vditor-reset table th{border-color:var(--line)!important;padding:9px 15px!important}.vditor-reset table tr{background:var(--bg)!important}.vditor-outline{width:190px!important;border-left:1px solid var(--line);padding:22px 10px!important;font-size:11px!important;color:var(--muted);background:var(--bg)!important}.vditor-outline:before{content:attr(data-outline-title);display:block;letter-spacing:1.6px;font-size:10px;margin:0 10px 17px;color:var(--muted)}.vditor-outline li>span{font-size:11px!important}.vditor-sv{padding:24px!important;font-size:calc(var(--document-font-size,15px) * .866667)!important;background:var(--bg)!important;color:var(--text)!important}.vditor-preview{background:var(--bg)!important}.vditor-preview .vditor-reset{padding:24px!important}.statusbar{height:35px;border-top:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);flex-shrink:0}.statusbar>div{display:flex;align-items:center;gap:19px}.statusbar button{display:flex;align-items:center;gap:5px;font-size:10px}.is-reading .vditor-toolbar{display:none!important}.reading .editor-area{max-width:1200px;width:100%;align-self:center}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--muted);gap:12px}.empty-state h2{font-size:23px;font-weight:500;color:var(--text)}.empty-state p{font-size:13px;margin:0 0 12px}.empty-state>button{padding:10px 20px;font-size:12px;border-radius:6px}.primary{background:var(--accent);color:var(--bg);display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;padding:10px 20px}.primary:hover{filter:brightness(1.1);background:var(--accent)}.overlay{position:fixed;inset:0;z-index:100;background:#141c2750;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:flex-start;padding:15vh 20px 30px}.dialog,.search-dialog{background:var(--bg);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);width:440px;padding:25px;max-height:80vh;overflow:auto}.dialog-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.dialog-title h2{font-size:18px;font-weight:600;margin:0}.dialog label{display:block;font-size:12px;color:var(--muted);margin-top:17px}.dialog input,.dialog select{display:block;width:100%;margin-top:9px;padding:11px;border:1px solid var(--line);border-radius:6px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;font-size:12px}.dialog-actions>button{padding:9px 20px;border-radius:5px}.search-dialog{width:640px;padding:0;overflow:hidden}.search-input{display:flex;align-items:center;gap:15px;padding:22px 23px;color:var(--muted)}.search-input input{flex:1;border:0;outline:none;font-size:16px;width:0;background:none}.key-button{border:1px solid var(--line);border-radius:4px;padding:3px 5px;font-size:9px;color:var(--muted)}.search-tabs{display:flex;align-items:center;gap:6px;padding:0 18px 13px;border-bottom:1px solid var(--line);font-size:11px}.search-tabs button{padding:6px 10px;border-radius:5px}.search-tabs button.active{color:var(--accent);background:var(--accent-bg)}.search-tabs>span{margin-left:auto;color:var(--muted);font-size:10px}.search-results{max-height:380px;overflow:auto;padding:8px}.result{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px;border-radius:7px;color:var(--muted)}.result.selected{background:var(--accent-bg);color:var(--accent)}.result>span{flex:1;min-width:0}.result strong{display:block;font-size:13px;font-weight:500;color:var(--text)}.result small{display:block;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result kbd{visibility:hidden}.result.selected kbd{visibility:visible}.search-footer{display:flex;gap:15px;padding:13px 22px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.search-footer span:last-child{margin-left:auto}.no-results{padding:60px 0;text-align:center;color:var(--muted);font-size:13px}.toast{position:fixed;z-index:200;bottom:48px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;padding:11px 13px 11px 20px;background:var(--bg);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:9px;font-size:12px;max-width:90vw}.theme-options{display:flex;gap:10px;margin:12px 0 25px}.theme-option{position:relative;display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:8px;width:33%;padding:15px;text-align:left;font-size:11px}.theme-option>span{font-family:Georgia,serif;font-size:27px}.theme-option>svg{position:absolute;right:10px;bottom:12px}.theme-light{background:#fff;color:#414852}.theme-dark{background:#22262d;color:#e1e5ed}.theme-paper{background:#f6eedf;color:#665a45}.theme-option.chosen{outline:2px solid var(--accent)}.settings-buttons{display:flex;flex-direction:column;gap:5px;margin-top:12px}.settings-buttons button{display:flex;align-items:center;gap:9px;padding:10px;text-align:left;font-size:12px;border:1px solid var(--line);border-radius:5px}.settings p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:20px}.settings .small{font-size:10px}.find-bar{display:flex;gap:7px;align-items:center;padding:10px 28px;font-size:11px;border-top:1px solid var(--line)}.find-bar input{width:170px;border:1px solid var(--line);border-radius:4px;padding:7px}.conflict{padding:10px 28px;background:#ae6a1922;color:#aa7745;font-size:12px;display:flex;gap:12px;align-items:center}.conflict button{text-decoration:underline;font-size:11px}@media(max-width:1000px){.sidebar{width:235px}.editor-area{padding:0 15px}.vditor-outline{width:150px!important}.topbar{padding:0 18px}.header-actions{gap:2px}}@media(max-width:720px){.sidebar{position:absolute;z-index:50;inset:0 auto 0 0;width:265px;box-shadow:var(--shadow)}.topbar{height:52px;padding:0 12px}.breadcrumb>span,.breadcrumb>svg{display:none}.header-actions{gap:0}.editor-area{padding:0 7px}.vditor-outline{display:none!important}.vditor-ir pre.vditor-reset,.vditor-wysiwyg pre.vditor-reset{padding:20px 15px 80px!important}.vditor-reset h1{font-size:1.666667em!important}.statusbar{padding:0 14px}.statusbar>div{gap:10px}.overlay{padding-top:9vh}.find-bar{padding:8px;flex-wrap:wrap}.find-bar input{width:120px}}.vditor-outline__title{display:none!important}.is-reading input[type=checkbox]{pointer-events:none}.is-reading .vditor-ir__marker,.is-reading .vditor-sv{display:none!important}.is-reading .vditor-preview{display:block!important;flex:1!important;width:auto!important}.is-reading .vditor-preview .vditor-reset{max-width:850px;margin:auto;padding:25px 35px 90px!important}.sidebar-toggle{flex-shrink:0}.topbar{gap:16px}.breadcrumb{min-width:0}.breadcrumb>span{overflow:hidden;text-overflow:ellipsis}.breadcrumb>svg{flex-shrink:0}.breadcrumb strong{flex-shrink:0;max-width:55%}.header-actions{flex-shrink:0}.mode-control{gap:4px;color:var(--muted)}.mode-control select{background:transparent;color:var(--text)}.vditor-toolbar{border-top:0!important}.brand strong{white-space:nowrap}@media(min-width:721px)and (max-width:1000px){.brand{padding-left:21px;padding-right:14px;gap:8px}.brand strong{font-size:17px}}@media(max-width:720px){.brand{height:52px}.app .topbar{gap:6px}.breadcrumb strong{max-width:100%;flex-shrink:1}.header-actions{gap:0}.header-actions>.divider{display:none}.header-actions>.icon{width:26px}.mode-control{padding:3px;gap:0}.mode-control select{max-width:91px;font-size:10px}.mode-control>svg{width:12px}}.header-actions .icon{position:relative}.jump-arrow{position:absolute;right:0;bottom:0;font-size:11px;line-height:12px;background:var(--bg)}.outline-jump .heading-level{flex:0 0 24px;text-align:right;font-size:10px;font-weight:600;color:var(--muted)}.outline-jump .result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.outline-jump .search-tabs strong{font-size:11px;font-weight:500}.app .topbar{height:auto;min-height:59px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap;row-gap:8px}.app .brand{height:var(--header-height,59px)}.breadcrumb{flex:1 1 260px;overflow:visible;white-space:normal;align-items:flex-start}.breadcrumb-labels{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;flex:1;line-height:1.7;padding-top:5px}.breadcrumb-labels>span,.app .breadcrumb strong{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;max-width:none;min-width:0;flex-shrink:1}.breadcrumb-labels>svg{flex-shrink:0}.document-name{cursor:text;border-radius:3px}.document-name:hover{color:var(--accent)}.document-name:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.header-actions{margin-left:auto}@media(max-width:720px){.app .topbar{min-height:52px;padding-top:9px;padding-bottom:9px}.app .brand{height:var(--header-height,52px)}}.app .breadcrumb .document-name{font-size:16px;line-height:1.6}.editor-host .vditor-wysiwyg>.vditor-panel:has(>button[data-type=remove]){left:0!important;right:auto;max-width:calc(100% - 24px);white-space:normal}.has-block-toolbar .vditor-wysiwyg>.vditor-panel>button:is([data-type=up],[data-type=down],[data-type=remove]){display:none}.has-block-toolbar .vditor-wysiwyg>.vditor-panel:not(:has(input,select,textarea,button:not([data-type=up]):not([data-type=down]):not([data-type=remove]))){display:none!important}.app .editor-host.has-block-toolbar .vditor-ir pre.vditor-reset,.app .editor-host.has-block-toolbar .vditor-wysiwyg pre.vditor-reset{padding-left:max(76px,calc((100% - var(--document-width))/2))!important}.block-toolbar{position:fixed;z-index:35;display:flex;align-items:center;gap:2px;height:28px;color:var(--muted);background:var(--bg);border-radius:6px}.block-toolbar button{height:28px;display:flex;align-items:center;justify-content:center;padding:0;border-radius:5px}.block-add{width:25px}.block-handle{min-width:25px;cursor:grab;gap:0}.block-handle:active{cursor:grabbing}.block-handle span{font-size:10px;padding-left:3px;font-weight:600}.block-handle>*{pointer-events:none}.has-block-toolbar .vditor-wysiwyg>.vditor-reset>:is(h1,h2,h3,h4,h5,h6):before{display:none}.has-block-toolbar pre.vditor-reset:has(>p:only-child>br:only-child):before{content:attr(placeholder);position:absolute;pointer-events:none;color:var(--muted)}.block-toolbar button:hover,.block-toolbar button[aria-expanded=true]{color:var(--text);background:var(--hover)}.block-menu{position:fixed;z-index:90;width:348px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:10px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 36px #15233724;font-size:12px}.block-menu-header{display:flex;align-items:center;justify-content:space-between;padding:4px 5px 9px;color:var(--muted);font-size:11px}.block-menu-header button{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px}.block-format-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px}.block-format-grid button{display:flex;align-items:center;justify-content:center;height:38px;min-width:0;padding:0;border-radius:6px}.block-heading-row{margin-bottom:6px}.block-menu-section{padding:0 2px 8px}.block-section-title{padding:8px 6px 12px;color:var(--muted);font-size:12px}.block-insert-list{border-top:1px solid var(--line);padding-top:8px}.block-insert-list>button{display:flex;align-items:center;gap:14px;width:100%;padding:11px 10px;border-radius:7px;text-align:left;font-size:14px}.block-insert-list>button>svg{color:var(--text)}.block-format-grid button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.block-menu button:disabled{cursor:not-allowed;opacity:.35}.block-menu button:disabled:hover{background:transparent}.block-heading-icon{font-size:20px;font-weight:500;line-height:24px}.block-heading-icon sub{font-size:12px;vertical-align:baseline;position:relative;top:2px}.block-menu-note{margin:9px 5px;color:var(--muted);font-size:10px;line-height:1.6}.block-menu-actions{border-top:1px solid var(--line);padding-top:5px;margin-top:8px}.block-menu-actions button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:8px;border-radius:6px;font-size:12px}.block-move-actions{display:flex;gap:5px}.block-menu-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid var(--line);margin-top:8px;padding:10px 5px 3px;color:var(--muted);font-size:10px;line-height:1.5}.block-menu-footer span{border:1px solid var(--line);border-radius:4px;padding:0 4px}.block-drop-indicator{position:fixed;z-index:95;height:3px;background:var(--accent);border-radius:3px;pointer-events:none}.block-drop-indicator:before{content:"";position:absolute;left:-3px;top:-2px;width:7px;height:7px;border-radius:50%;background:var(--accent)}@media(max-width:720px){.app .editor-host.has-block-toolbar .vditor-ir pre.vditor-reset,.app .editor-host.has-block-toolbar .vditor-wysiwyg pre.vditor-reset{padding-left:68px!important}.block-toolbar{gap:0}}.editor-host .vditor-outline{width:var(--outline-width,280px)!important;flex:0 0 var(--outline-width,280px);min-width:0;font-size:14px!important;padding:22px 10px!important}.editor-host .vditor-outline li>span{font-size:14px!important;line-height:1.65;align-items:flex-start;padding:6px 8px}.editor-host .vditor-outline li>span>span{min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.editor-host .vditor-outline li>span>svg{margin-top:6px}.editor-host .vditor-outline:before{font-size:12px}.outline-resizer{flex:0 0 7px;cursor:col-resize;touch-action:none;position:relative;background:var(--bg)}.outline-resizer[hidden]{display:none}.outline-resizer:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:1px;background:var(--line)}.outline-resizer:hover:after,.outline-resizer:focus-visible:after,.resizing-outline .outline-resizer:after{background:var(--accent);width:3px;left:2px}.resizing-outline,.resizing-outline *{cursor:col-resize!important;-webkit-user-select:none!important;user-select:none!important}.reading .editor-area{max-width:none}@media(max-width:720px){.outline-resizer{display:none}}.app[data-layout=normal]{--document-width:780px}.app[data-layout=wide]{--document-width:1100px}.app[data-layout=ultra]{--document-width:100%}.app .editor-host .vditor-ir pre.vditor-reset,.app .editor-host .vditor-wysiwyg pre.vditor-reset{padding:35px max(24px,calc((100% - var(--document-width))/2)) 100px!important}.app .editor-host .vditor-preview .vditor-reset{max-width:none!important;width:100%;padding:25px max(24px,calc((100% - var(--document-width))/2)) 90px!important;margin:0!important}.app .editor-host .vditor-sv{padding:24px max(24px,calc((100% - var(--document-width))/2))!important}.workspace-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100%;row-gap:6px}.layout-control select{min-width:58px}@media(max-width:720px){.app .editor-host .vditor-ir pre.vditor-reset,.app .editor-host .vditor-wysiwyg pre.vditor-reset,.app .editor-host .vditor-preview .vditor-reset{padding:20px 15px 80px!important}.workspace-actions{gap:0}.workspace-actions .icon{width:26px}}.editor-host .vditor-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:0;min-height:38px}.editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-left:auto;padding-left:12px;max-width:100%;flex-shrink:0}.document-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.editor-actions .icon{position:relative;width:30px;height:30px}.icon-select{position:relative;display:inline-flex;align-items:center;justify-content:center}.icon-select select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.icon-select:focus-within{outline:2px solid var(--accent);outline-offset:2px}.return-edit{position:absolute!important;inset:0;background:var(--bg)}.editor-host.is-reading .vditor-toolbar{display:flex!important}.editor-host.is-reading .vditor-toolbar>:not(.editor-actions){display:none!important}.editor-host.is-reading .editor-actions button{pointer-events:auto}.app .editor-host.is-split .vditor-sv,.app .editor-host.is-split .vditor-preview{flex:1 1 50%;min-width:0;width:0;box-sizing:border-box;margin-left:0}.app .editor-host.is-split .vditor-sv{padding:24px 16px!important}.app .editor-host.is-split .vditor-preview .vditor-reset{padding:24px max(16px,calc((100% - var(--document-width))/2)) 90px!important}.folder-access{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.folder-access h3{font-size:12px;font-weight:500;color:var(--muted);margin:0 0 12px}.folder-access-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.folder-access-row>div{flex:1;min-width:0}.folder-access-row strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.folder-access-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.folder-access-row button,.add-folder{display:flex;align-items:center;gap:6px;font-size:11px;padding:8px;border:1px solid var(--line);border-radius:5px;flex-shrink:0}.add-folder{margin-top:12px}.image-expand-button{position:fixed;z-index:80;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text);box-shadow:0 2px 8px #0002}.image-preview{inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:var(--bg);color:var(--text);box-shadow:var(--shadow);overflow:hidden}.image-preview[open]{display:flex;flex-direction:column}.image-preview::backdrop{background:var(--bg)}.image-preview-toolbar{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--line);flex-wrap:wrap;flex-shrink:0}.image-preview-toolbar strong{flex:1;min-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.image-preview-toolbar button{padding:7px 10px;border:1px solid var(--line);border-radius:6px;font-size:13px}.image-preview-toolbar label{display:flex;align-items:center;gap:3px;font-size:13px}.image-preview-toolbar input{width:65px;padding:7px 3px;border:1px solid var(--line);border-radius:6px;text-align:center}.image-preview-viewport{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.image-preview-canvas{display:flex;align-items:center;justify-content:center;width:max-content;min-width:100%;min-height:100%;padding:24px}.image-preview-canvas img{display:block;flex:none;max-width:none;object-fit:contain}.new-document{margin-right:12px;display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:7px 10px;border:1px solid var(--line);border-radius:6px;font-size:12px;white-space:nowrap;color:var(--accent)}.new-document:hover{background:var(--hover)}.new-document:disabled{opacity:.5;cursor:default}.operation-error{color:#b65045;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.operation-error:empty{display:none}.text-editor,.file-preview{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}.format-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--line);font-size:12px}.format-toolbar span{opacity:.7;flex:1}.text-editor textarea{flex:1;min-height:0;resize:none;border:0;outline:none;padding:28px;background:transparent;color:inherit;font:15px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4}.file-preview iframe{flex:1;min-height:0;width:100%;border:0;background:#fff}.preview-tabs{display:flex;gap:6px;padding:8px 16px;overflow-x:auto;flex-shrink:0;border-bottom:1px solid var(--line)}.preview-tabs button{white-space:nowrap}.preview-tabs button[aria-pressed=true]{background:var(--accent);color:var(--bg)}.preview-message{padding:24px;overflow-wrap:anywhere}.office-reader{overflow:hidden}.office-toolbar{flex-shrink:0;min-height:46px;justify-content:space-between}.office-controls,.slide-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.office-controls select{max-width:180px}.office-controls button,.slide-controls button{padding:5px;border-radius:4px}.office-toolbar span{flex:initial;opacity:1}.preview-info{position:relative;margin-left:auto}.preview-info summary{display:flex;padding:4px;cursor:pointer;list-style:none}.preview-info summary::-webkit-details-marker{display:none}.preview-info [role=note]{position:absolute;z-index:10;right:0;top:30px;width:min(300px,80vw);padding:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);line-height:1.6}.sheet-summary{padding:8px 20px;font-size:12px;color:var(--muted)}.sheet-scroll{flex:1;overflow:auto;min-height:0}.sheet-table{border-collapse:separate;border-spacing:0;font-size:13px;min-width:100%}.sheet-table td,.sheet-table th{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 12px;min-width:80px;max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere}.sheet-table th{background:var(--panel)}.sheet-table thead th{position:sticky;top:0;z-index:1}.slides-scroll{flex:1;min-height:0;overflow:auto;position:relative;background:var(--panel);padding:18px}.slide-page{position:relative;flex-shrink:0;background:#fff;margin:0 auto 18px;box-shadow:0 2px 8px #0002}.file-preview .slide-page iframe{display:block;width:100%;height:100%}.slide-page-number{position:absolute;right:5px;bottom:4px;font:10px system-ui;background:#fffd;color:#555;padding:1px 5px;border-radius:3px;pointer-events:none}.slide-page .preview-message{color:#303842}@media(max-width:720px){.office-toolbar{padding:8px;gap:6px}.slides-scroll{padding:8px}.office-controls{gap:4px}}@media(min-width:721px){.sidebar{position:relative;width:var(--sidebar-width,268px);max-width:50vw;min-width:220px}}.sidebar-resizer{position:absolute;right:-4px;top:0;bottom:0;width:8px;z-index:60;cursor:col-resize;touch-action:none}.sidebar-resizer:hover,.sidebar-resizer:focus-visible,.resizing-sidebar .sidebar-resizer{background:var(--accent);opacity:.55;outline:none}.sidebar-drag-shield{position:fixed;inset:0;z-index:59;cursor:col-resize;-webkit-user-select:none;user-select:none}.resizing-sidebar{-webkit-user-select:none;user-select:none}@media(max-width:720px){.sidebar-resizer,.sidebar-drag-shield{display:none}}.pdf-info{position:relative;flex-shrink:0;color:var(--muted)}.pdf-info summary{display:flex;align-items:center;padding:5px;cursor:pointer;list-style:none;border-radius:5px}.pdf-info summary::-webkit-details-marker{display:none}.pdf-info>div{display:none;position:absolute;top:100%;right:0;z-index:80;width:min(300px,calc(100vw - 32px));padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);box-shadow:var(--shadow);font-size:12px;line-height:1.6;white-space:normal}.pdf-info:hover>div,.pdf-info:focus-within>div,.pdf-info[open]>div{display:block}main.pdf-fullscreen{position:fixed;inset:0;z-index:100;width:100%;height:100dvh;background:var(--bg)}.pdf-fullscreen .workspace-actions,.pdf-fullscreen .sidebar-toggle,.pdf-fullscreen .statusbar{display:none}.pdf-fullscreen .topbar{padding-top:env(safe-area-inset-top);height:auto;min-height:52px;flex-shrink:0}.pdf-fullscreen .editor-area{padding:0}.ai-panel{position:fixed;z-index:90;right:24px;bottom:24px;width:600px;height:560px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 96px);display:flex;flex-direction:column;min-height:0;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);box-shadow:0 12px 48px #10182820;overflow:hidden}.ai-panel-expanded{width:840px;height:calc(100dvh - 96px)}.ai-panel[hidden]{display:none}.ai-heading{display:flex;align-items:center;gap:7px;padding:10px 16px;border-bottom:1px solid var(--line);min-height:56px;flex-shrink:0}.ai-heading>svg{color:var(--accent)}.ai-heading strong{flex:1;font-size:14px}.ai-heading{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.ai-heading:active{cursor:grabbing}.ai-heading:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.ai-heading button{cursor:pointer;touch-action:manipulation}.ai-review-editor{display:block;width:100%;height:100%;min-height:220px;resize:none;border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--bg);color:var(--text);font:14px/1.8 monospace;tab-size:2}.ai-scroll{flex:1;min-height:0;overflow:auto;padding:20px;overscroll-behavior:contain;scrollbar-width:thin}.ai-settings{border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:16px;background:var(--panel)}.ai-settings fieldset{border:0;padding:0;margin:0;min-width:0}.ai-settings label{display:block;font-size:12px;margin-bottom:10px}.ai-settings input,.ai-settings select{display:block;width:100%;margin-top:5px;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--text);font:inherit}.ai-note,.ai-context p{font-size:11px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.ai-note a{color:var(--accent);text-decoration:underline}.ai-context{padding-bottom:10px;border-bottom:1px solid var(--line)}.ai-context strong{font-size:13px;overflow-wrap:anywhere}.ai-context p{margin:5px 0}.ai-tabs,.ai-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.ai-tabs{padding:12px 0}.ai-tabs button,.ai-actions button,.ai-undo{padding:8px 10px;border:1px solid var(--line);border-radius:5px;font-size:12px}.ai-tabs button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent);border-color:var(--accent)}.ai-panel button:disabled{opacity:.45;cursor:not-allowed}.ai-message{padding:8px 0;margin-bottom:16px}.ai-message.ai-assistant>.ai-actions{margin-top:10px}.ai-message.ai-assistant>.ai-actions button{padding:4px 6px;border-color:transparent;color:var(--muted)}.ai-message.ai-user{background:var(--accent-bg);padding:10px 14px;border-radius:12px;margin-left:auto;width:fit-content;max-width:90%}.ai-message.ai-user>strong{display:none}.ai-message.ai-user pre{margin:0}.ai-message strong{font-size:11px;color:var(--muted)}.ai-message pre{font-family:inherit;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.ai-proposal h3{font-size:14px}.ai-diff{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:6px;margin-bottom:12px;font-size:12px}.ai-diff pre{display:flex;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:5px 8px;line-height:1.6}.ai-diff pre>span{flex:0 0 18px;-webkit-user-select:none;user-select:none}.ai-diff code{min-width:0;white-space:pre-wrap}.ai-added{background:#2f9d5226;color:var(--text);border-left:3px solid #2f9d52}.ai-removed{background:#d4545426;color:var(--text);border-left:3px solid #d45454}.ai-unchanged{opacity:.7;border-left:3px solid transparent}.ai-composer-wrap{position:relative;flex:none;min-width:0;margin:0 16px 16px;border-top:1px solid var(--line);padding-top:12px}.ai-compose{padding:0;min-width:0}.ai-compose label{display:block;font-size:12px;margin-bottom:8px}.ai-compose textarea{display:block;width:100%;height:112px;resize:none;border:1px solid transparent;border-radius:8px;padding:10px;background:var(--bg);color:var(--text);font-family:inherit;font-size:15px;line-height:1.7}.ai-compose textarea:focus{outline:none;border-color:var(--accent)}.ai-compose textarea::placeholder{color:var(--muted)}.ai-compose .ai-actions{margin-top:10px;justify-content:flex-end}.ai-error{color:#c34f42;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.ai-launch{display:inline-flex;align-items:center;gap:5px;color:var(--accent);padding:7px 9px;border-radius:5px;font-size:12px}.ai-launch[aria-pressed=true]{background:var(--accent-bg)}@media(max-width:520px){.ai-launch{padding:6px}}.settings-shell{width:min(1040px,calc(100vw - 64px));height:min(820px,calc(100dvh - 80px));max-width:none;max-height:none;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--text);box-shadow:var(--shadow);overflow:hidden}.settings-shell[open]{display:flex;flex-direction:column}.settings-shell::backdrop{background:#17242166;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.settings-shell-header{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);flex:none}.settings-shell-header h1{font-size:15px;margin:0;flex:1;font-weight:650}.settings-shell-icon{display:grid;place-items:center;color:var(--accent)}.settings-shell-body{display:flex;flex:1;min-height:0}.settings-nav{width:214px;flex:none;background:var(--panel);border-right:1px solid var(--line);padding:22px 12px;display:flex;flex-direction:column;gap:5px;overflow:auto}.settings-nav-caption{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:1px;padding:0 14px 15px}.settings-nav button{display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;border-radius:7px;font-size:13px;color:var(--text)}.settings-nav button[aria-current=page]{background:var(--accent-bg);color:var(--accent);font-weight:600}.settings-nav p{margin:auto 14px 0;padding-top:32px;font-size:10px;color:var(--muted)}.settings-nav-arrow,.settings-mobile-back.icon{display:none}.settings-content{flex:1;min-width:0;overflow:auto;padding:30px 36px;overscroll-behavior:contain}.settings-section-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:20px}.settings-section-heading>div{flex:1;min-width:0}.settings-section-heading h2{font-size:23px;letter-spacing:-.5px;margin:0 0 10px;line-height:1.3;outline:none}.settings-section-heading p{font-size:13px;line-height:1.75;color:var(--muted);margin:0}.settings-section-heading>button{flex:none;margin-top:2px}.settings-field,.ai-profile-form label{display:block;font-size:13px;font-weight:500;margin:0 0 20px}.settings-field select,.ai-profile-form input,.ai-profile-form select,.ai-chat-selection select{display:block;width:100%;min-width:0;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font-size:13px}.settings-field select{max-width:400px}.settings-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);padding:9px 12px;border-radius:7px;font-size:12px;line-height:1.4}.settings-button.primary{background:var(--accent);color:var(--bg);border-color:var(--accent)}.settings-button:disabled{cursor:not-allowed;opacity:.45}.settings-caption{font-size:12px;line-height:1.8;color:var(--muted);margin:14px 0}.settings-autosaved{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-top:32px}.settings-content .folder-access{margin:0;padding:0;border:0}.settings-content .folder-access h3{display:none}.settings-content .folder-access p{font-size:12px;color:var(--muted);line-height:1.8}.settings-content .theme-options{max-width:520px}.settings-content .settings-buttons{gap:12px;max-width:460px}.settings-content .settings-buttons button{font-size:13px;padding:14px}.settings-callout{display:flex;gap:10px;align-items:flex-start;background:var(--panel);border:1px solid var(--line);padding:14px;border-radius:8px;margin-bottom:24px;color:var(--muted)}.settings-callout>svg{flex:none;color:var(--accent);margin-top:2px}.settings-callout p{font-size:12px;line-height:1.8;margin:0}.ai-profiles-empty{padding:36px 24px;text-align:center;border:1px dashed var(--line);border-radius:10px;margin-bottom:24px}.ai-profiles-empty>svg{color:var(--accent);margin-bottom:12px}.ai-profiles-empty h3,.ai-setup-empty h3{font-size:16px;margin:0 0 10px}.ai-profiles-empty p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 20px}.ai-profile-list{display:grid;gap:16px}.ai-profile-card{padding:20px;border:1px solid var(--line);border-radius:10px}.ai-profile-card-heading{display:flex;align-items:center;gap:12px}.ai-profile-card-heading>div{flex:1;min-width:0}.ai-profile-symbol{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:10px;color:var(--accent);background:var(--accent-bg)}.ai-profile-card h3{font-size:15px;margin:0;overflow-wrap:anywhere}.ai-profile-card-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.ai-profile-status{font-size:10px;background:var(--panel);color:var(--muted);padding:5px 8px;border-radius:20px;flex:none}.ai-profile-status.ready{background:var(--accent-bg);color:var(--accent)}.ai-profile-card dl{margin:18px 0;font-size:12px}.ai-profile-card dl>div{display:flex;gap:16px;margin:9px 0;line-height:1.6}.ai-profile-card dt{width:66px;flex:none;color:var(--muted)}.ai-profile-card dd{margin:0;min-width:0;overflow-wrap:anywhere}.ai-profile-card dd>span:not(.masked-key){color:var(--muted);font-size:11px}.masked-key{letter-spacing:2px}.ai-profile-card-actions{display:flex;gap:8px;flex-wrap:wrap}.ai-profile-card-actions .danger{margin-left:auto}.settings-confirm{border-top:1px solid var(--line);margin-top:16px;padding-top:8px;font-size:12px;line-height:1.7}.settings-confirm>div{display:flex;gap:8px;justify-content:flex-end}.ai-catalog-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:24px;margin-top:26px;border-top:1px solid var(--line)}.ai-catalog-footer strong{font-size:12px}.ai-catalog-footer p{font-size:11px;line-height:1.7;color:var(--muted);margin:5px 0 0}.ai-catalog-footer>button{flex:none}.clear-keys{margin-top:12px;color:var(--muted)}.settings-back{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);padding:5px 0;margin-bottom:22px}.ai-profile-form fieldset{border:0;padding:0;margin:0;min-width:0}.ai-provider-fields,.ai-model-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ai-key-input{display:flex;align-items:center;gap:8px;position:relative}.ai-key-input input{padding-right:44px}.ai-key-input button{position:absolute;right:8px;bottom:5px}.ai-advanced{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0;padding:16px 0}.ai-advanced summary{font-size:12px;cursor:pointer;color:var(--muted)}.ai-advanced[open] summary{margin-bottom:20px}.ai-advanced label:last-of-type{margin-bottom:0}.ai-connection-summary{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.8;color:var(--muted);flex-wrap:wrap;overflow-wrap:anywhere}.ai-connection-summary a{color:var(--accent);flex:none}.ai-profile-form-actions{display:flex;gap:8px;align-items:center;padding:18px 0 0;margin-top:18px;border-top:1px solid var(--line)}.ai-profile-form-actions>span{flex:1}.settings-success{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.7;color:var(--accent)}.settings-leave-prompt{display:flex;gap:12px;align-items:center;flex-wrap:wrap;flex:none;border-top:1px solid var(--line);background:var(--panel);padding:18px 24px}.settings-leave-prompt>div{flex:1;min-width:220px}.settings-leave-prompt strong{font-size:13px}.settings-leave-prompt p{font-size:12px;line-height:1.7;color:var(--muted);margin:5px 0 0}.ai-chat-selection{border:1px solid var(--line);border-radius:8px;padding:14px;background:var(--panel);margin-bottom:18px}.ai-chat-selection label{display:block;font-size:12px;margin-bottom:12px}.ai-chat-selection select{font-size:12px;padding:9px}.ai-chat-selection .ai-note{margin:6px 0 0}.ai-key-missing{font-size:12px;color:var(--muted);line-height:1.7}.ai-setup-empty{padding:30px 18px;text-align:center;border:1px dashed var(--line);border-radius:10px;margin-bottom:20px}.ai-setup-empty>svg{color:var(--accent);margin-bottom:16px}.ai-setup-empty p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px}@media(max-width:850px){.settings-shell{width:calc(100vw - 32px)}.settings-nav{width:180px}.settings-content{padding:26px 24px}.ai-provider-fields,.ai-model-fields{grid-template-columns:1fr;gap:0}}@media(max-width:720px){.settings-shell{inset:0;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.settings-shell-header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));min-height:56px}.settings-shell-body{display:block;overflow:hidden}.settings-nav{width:100%;height:100%;border:0;padding:24px 16px;gap:6px}.settings-nav button{font-size:15px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:9px}.settings-nav button>span{flex:1}.settings-nav-arrow{display:block}.settings-detail .settings-nav{display:none}.settings-detail .settings-mobile-back{display:flex}.settings-detail .settings-shell-icon,.settings-root .settings-content{display:none}.settings-content{height:100%;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}.settings-section-heading{gap:12px;margin-bottom:22px}.settings-section-heading h2{font-size:22px}.settings-section-heading p{font-size:12px}.settings-section-heading>button{font-size:11px;padding:9px}.ai-profile-card{padding:16px}.ai-profile-card-heading{gap:9px;flex-wrap:wrap}.ai-profile-card-heading>div{min-width:120px}.ai-profile-status{font-size:10px}.ai-profile-card-actions{gap:6px}.ai-profile-card-actions button{font-size:11px;padding:8px}.ai-catalog-footer{align-items:flex-start}.ai-catalog-footer>button{font-size:11px;padding:8px}.settings-leave-prompt{padding:16px}.settings-leave-prompt>div{flex-basis:100%}.ai-profile-form-actions{position:sticky;bottom:-24px;background:var(--bg);padding:14px 0 calc(14px + env(safe-area-inset-bottom))}.ai-profile-form-actions button{font-size:12px;padding:9px 11px}}@media(min-width:721px){.ai-profile-form-actions{position:sticky;bottom:-30px;z-index:1;background:var(--bg);padding:16px 0 20px}}.settings-feedback{display:flex;align-items:center;gap:14px;flex:none;padding:10px 22px;background:var(--accent-bg);border-top:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.settings-feedback>span{flex:1;min-width:0}.editor-area{position:relative}.editor-original{height:100%;min-height:0}.ai-review-host:empty{display:none}.has-ai-review .editor-original{visibility:hidden;position:absolute;inset:0;pointer-events:none}.has-ai-review .ai-review-host{height:100%;min-height:0}.ai-document-review{height:100%;display:flex;flex-direction:column;min-height:0;background:var(--bg)}.ai-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;flex-shrink:0;flex-wrap:wrap}.ai-review-heading>div:first-child{display:flex;align-items:center;gap:9px;color:var(--accent)}.ai-review-heading h2{font-size:14px;margin:0;font-weight:600}.ai-review-heading span{font-size:11px;color:var(--muted)}.ai-review-heading .ai-tabs{padding:0}.ai-review-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:28px max(20px,calc((100% - 780px)/2)) 40px}.ai-review-result{overflow-wrap:anywhere}.ai-review-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 6px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);flex-shrink:0}.ai-merged-diff{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.9 var(--font-mono,monospace);tab-size:4}.ai-merged-diff code{font:inherit;white-space:inherit}.ai-inline-added{color:#176139;background:#2f9d5226;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.ai-inline-removed{color:#a12b30;background:#d4545426;text-decoration:line-through;box-decoration-break:clone;-webkit-box-decoration-break:clone}[data-theme=dark] .ai-inline-added{color:#9bdfb1}[data-theme=dark] .ai-inline-removed{color:#ffb4b4}.ai-review-result pre{overflow:auto}.ai-review-result table{display:block;max-width:100%;overflow:auto}.ai-review-scroll .ai-diff{max-height:none;border:0}.ai-review-source{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.8 monospace}.ai-review-footer{flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:var(--shadow);padding:12px 16px;margin:0 auto 14px;width:min(100%,780px)}.ai-review-footer p{font-size:12px;color:var(--muted);margin:0 0 10px}.ai-review-footer .ai-error{color:#c34f42}.ai-review-footer .ai-actions{justify-content:flex-end}.ai-review-footer button{display:inline-flex;gap:6px;align-items:center}.ai-review-footer button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.ai-review-heading{padding:10px 6px;gap:10px}.ai-review-scroll{padding:20px 15px 30px}.ai-review-footer{margin-bottom:8px;padding:12px}.ai-review-heading .ai-tabs button{padding:6px 10px}}.ai-inline-review .ai-review-scroll{padding:28px max(24px,calc((100% - var(--document-width,780px))/2)) 32px;scrollbar-width:thin}.ai-revision-status{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:12px;margin:0 0 22px;outline:none}.ai-revision-status small{margin-left:auto;font-size:11px;color:var(--muted)}.ai-generated-block{color:#2573a7;background:#278bd00c;box-decoration-break:clone;-webkit-box-decoration-break:clone}[data-theme=dark] .ai-generated-block{color:#84c7f2;background:#278bd018}.ai-inline-review .ai-review-result{font-size:16px;line-height:1.8}.ai-inline-review .ai-review-editor{height:55vh;min-height:280px}.ai-inline-toolbar{position:relative;z-index:2;margin:16px 0 28px;border:1px solid var(--line);border-radius:10px;background:var(--bg);box-shadow:0 4px 20px #10182812;font-size:12px}.ai-refine-form{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line);color:var(--muted)}.ai-refine-form input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);padding:8px 0;font-size:13px}.ai-refine-form:focus-within{outline:2px solid var(--accent);outline-offset:-2px;border-radius:10px 10px 0 0}.ai-inline-actions{display:flex;align-items:center;gap:6px;padding:8px;flex-wrap:wrap}.ai-inline-actions button{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:6px;font-size:12px}.ai-inline-actions>span{margin-left:auto;color:var(--muted);font-size:11px;padding:0 5px}.ai-inline-actions button:not(.primary):hover{background:var(--accent-bg)}.ai-inline-toolbar button:disabled{opacity:.45;cursor:not-allowed}.ai-inline-toolbar>.ai-error{padding:8px 12px;margin:0}.ai-review-more{position:relative}.ai-review-menu{position:absolute;bottom:calc(100% + 8px);left:0;min-width:220px;padding:5px;border:1px solid var(--line);border-radius:9px;background:var(--bg);box-shadow:var(--shadow);z-index:3}.ai-review-menu button{width:100%;text-align:left;justify-content:flex-start}.ai-review-menu button[aria-pressed=true]{color:var(--accent);background:var(--accent-bg)}@media(max-width:720px){.ai-inline-review .ai-review-scroll{padding:20px 15px 24px}.ai-revision-status{flex-wrap:wrap;gap:6px}.ai-revision-status small{margin-left:0;flex-basis:100%}.ai-inline-actions>span{display:none}.ai-review-menu{left:auto;right:0}.ai-inline-review .ai-review-result{font-size:15px}}.folder-permission-notice{flex-shrink:0;max-height:30vh;overflow:auto;padding:10px 20px;background:var(--accent-bg);border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}.folder-permission-notice>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.folder-permission-notice button{flex-shrink:0;color:var(--accent);text-decoration:underline;padding:4px 8px}.ai-vault-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}.ai-vault-actions>p,.ai-vault-actions>.settings-confirm{flex-basis:100%}.document-tabs{display:flex;flex:0 0 auto;min-width:0;border-bottom:1px solid var(--line);background:var(--bg)}.tab-scroll{display:flex;overflow-x:auto;flex:0 1 auto;min-width:0}.document-tab{display:flex;flex:0 0 auto;max-width:250px;border-right:1px solid var(--line);border-bottom:2px solid transparent}.document-tab.active{border-bottom-color:var(--accent);background:var(--panel)}.document-tab [role=tab]{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:0 10px;height:32px;font-size:12px;min-width:0;text-align:left}.document-tab [role=tab]>span{min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-tab i{font-style:normal;font-size:10px;opacity:.6}.document-tab i.error{color:#d34747;opacity:1}.tab-close{flex:0 0 30px;display:grid;place-items:center;background:transparent;border:0;min-width:30px}.tab-new{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;color:var(--muted)}.tab-picker{margin-left:auto;position:relative;display:grid;place-items:center;width:38px;flex:0 0 38px;color:var(--muted)}.tab-picker select{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.tab-picker:focus-within{outline:2px solid var(--accent);outline-offset:-3px}.document-tab button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.tree-scroll{padding-top:14px}.source{margin-bottom:10px}.source-title{gap:2px;padding:0 6px 4px}.source-toggle{display:flex;align-items:center;gap:6px;min-width:0;flex:1;padding:4px 2px;text-align:left;border-radius:4px}.source-toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source[data-source-id=scratch] .tree-row{padding-left:14px}.dialog-actions{flex-wrap:wrap}@media(max-width:600px){.document-tab{max-width:190px}.document-tab [role=tab]>span{max-width:110px}}.source-title{position:relative}.tree-create-actions,.source-create-actions{display:flex;flex-shrink:0;opacity:0;pointer-events:none}.tree-create-actions .icon{width:23px;height:25px}.tree-row:hover>.tree-create-actions,.tree-row:focus-within>.tree-create-actions,.source-title:hover>.source-create-actions,.source-title:focus-within>.source-create-actions{opacity:1;pointer-events:auto}.source-title:hover>.tree-more,.source-title:focus-within>.tree-more,.tree-row:focus-within>.tree-more{opacity:1}@media(hover:none){.tree-create-actions,.source-create-actions,.tree-more{opacity:1;pointer-events:auto}}.export-options{display:grid;gap:10px}.export-options button{border:1px solid var(--line);border-radius:7px;padding:12px;text-align:left}.export-options small{display:block;margin-top:6px;color:var(--muted);line-height:1.6}.export-dialog p{font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.pdf-font-settings fieldset{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:12px 16px;min-width:0}.pdf-font-settings legend{font-weight:600;padding:0 6px}.pdf-font-settings .settings-button{margin:6px 8px 6px 0;max-width:100%;white-space:normal}.pdf-font-settings select{max-width:100%}.export-font-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;font-size:13px}.export-font-summary span{flex:1 1 200px;overflow-wrap:anywhere}.export-font-summary button{flex-shrink:0}.ai-context-controls,.ai-context-picker,.ai-templates{display:grid;gap:8px;padding:10px}.ai-context-controls label{display:flex;align-items:center;gap:6px}.ai-context-controls pre,.ai-messages details pre,.ai-draft-review pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:12px}.ai-context-picker input,.ai-context-picker select,.ai-templates input,.ai-templates select,.ai-draft-review input{width:100%;min-width:0;padding:7px;color:inherit;background:var(--bg);border:1px solid var(--line);border-radius:6px}.ai-context-picker label{display:grid}.ai-quick-actions{display:flex;flex-wrap:wrap;gap:6px;padding:8px 0}.ai-draft-review{border:1px solid var(--line);border-radius:8px;padding:10px}.ai-draft-review button{margin:6px 6px 0 0}.ai-messages .ai-actions{flex-wrap:wrap}.ai-context-controls details,.ai-messages details{min-width:0;overflow-wrap:anywhere}@media(max-width:720px){.ai-panel .ai-tabs{flex-wrap:wrap}}.ai-compose-toolbar{display:flex;align-items:center;gap:6px;margin-top:10px;min-width:0}.ai-compose-toolbar>button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;font-size:12px;white-space:nowrap;flex-shrink:0}.ai-compose-toolbar>button[aria-expanded=true]{background:var(--accent-bg);border-color:var(--accent);color:var(--accent)}.ai-compose-toolbar>button.ai-model-trigger{flex:1;min-width:0;justify-content:space-between}.ai-model-trigger>span{overflow:hidden;text-overflow:ellipsis}.ai-compose-toolbar>button>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.ai-compose-toolbar>button>.ai-context-count{flex:none;overflow:visible;font-size:11px;color:var(--muted)}.ai-compose-toolbar svg{flex-shrink:0}.ai-compose-toolbar>button.ai-send{width:36px;padding:0;border-color:transparent;color:#fff;margin-left:auto}.ai-source-chips{display:flex;gap:6px;flex-wrap:wrap;max-height:70px;overflow:auto;margin:6px 4px 0;scrollbar-width:thin}.ai-source-chip{display:inline-flex;align-items:center;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:12px}.ai-source-chip>button{display:inline-flex;align-items:center;gap:5px;padding:6px;min-width:0}.ai-source-chip>button:first-child{flex:1;min-width:0}.ai-source-chip>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.ai-source-chip>span{padding:6px}.ai-source-chip svg{flex-shrink:0}.ai-scope-note{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin:7px 4px 0}.ai-operation-chip{display:flex;align-items:center;gap:6px;width:fit-content;font-size:11px;color:var(--accent);background:var(--accent-bg);border-radius:5px;padding:4px 7px;margin-bottom:4px}.ai-operation-chip button{display:flex;padding:2px}.ai-popover{position:absolute;z-index:2;bottom:48px;right:0;width:360px;max-width:100%;max-height:min(380px,calc(100dvh - 180px));display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px #10182825;overflow:hidden}.ai-popover-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px;flex-shrink:0}.ai-popover-content{padding:12px;overflow:auto;min-height:0;overscroll-behavior:contain}.ai-popover .ai-chat-selection{padding:0;background:none;border:0;margin:0}.ai-popover .ai-context-controls,.ai-popover .ai-context-picker,.ai-popover .ai-templates{padding:0;min-width:0}.ai-popover .ai-context-controls label{font-size:12px}.ai-popover .ai-context-controls>label input{flex:none}.ai-popover .ai-context-picker>label{display:grid;gap:8px}.ai-popover .ai-note{margin:6px 0}.ai-operation-options{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:8px}.ai-operation-options button{font-size:12px;padding:6px 8px;border-radius:5px;background:var(--panel)}.ai-operation-options button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.ai-template-list{display:grid;gap:2px;border-bottom:1px solid var(--line);padding-bottom:8px}.ai-template-list button{padding:9px 10px;border-radius:5px;text-align:left;font-size:13px;overflow-wrap:anywhere}.ai-template-manager{display:grid;gap:8px;padding-top:10px}.ai-templates summary{font-size:12px;color:var(--muted);padding:8px 0;cursor:pointer}.ai-template-manager button,.ai-context-picker>button{padding:8px;border:1px solid var(--line);border-radius:6px;font-size:12px}.ai-file-list{display:grid;max-height:160px;overflow:auto;gap:2px}.ai-file-list button{display:flex;gap:12px;justify-content:space-between;text-align:left;border-radius:5px;padding:9px;font-size:12px}.ai-file-list button>span:first-child{overflow-wrap:anywhere;min-width:0}.ai-file-list button>span:last-child{flex-shrink:0;color:var(--muted)}.ai-file-list button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.ai-source-title{font-size:13px;overflow-wrap:anywhere}.ai-source-preview{font:12px/1.7 inherit;white-space:pre-wrap;overflow-wrap:anywhere}.ai-panel button:focus-visible,.ai-panel summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:640px){.ai-panel,.ai-panel-expanded{right:8px;bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 16px);max-width:none;height:680px;max-height:calc(100dvh - 32px);border-radius:14px}.ai-heading{padding:8px 12px}.ai-size-toggle{display:none!important}.ai-scroll{padding:16px}.ai-composer-wrap{margin:0 10px 12px}.ai-compose-toolbar{flex-wrap:wrap}.ai-compose-toolbar>button.ai-model-trigger{flex-basis:calc(100% - 1px)}.ai-compose-toolbar>button.ai-send{margin-left:auto}.ai-popover{bottom:90px}.ai-source-chip>button>span{max-width:190px}}@media(max-height:540px){.ai-panel,.ai-panel-expanded{max-height:calc(100dvh - 24px);bottom:12px}.ai-compose textarea{height:64px}.ai-compose{max-height:calc(100dvh - 90px);overflow-y:auto}.ai-source-chips{max-height:36px}}.ai-scroll[hidden]{display:none}.ai-panel-compose-only:not(.ai-panel-expanded){height:auto}.ai-panel-compose-only .ai-composer-wrap{border-top:0;padding-top:16px;min-height:0;flex-shrink:1;overflow:auto}.ai-panel-compose-only .ai-popover{position:relative;bottom:auto;right:auto;width:100%;max-height:min(340px,calc(100dvh - 360px));margin-bottom:12px;flex-shrink:0;box-shadow:0 4px 12px #10182812}.ai-panel-compose-only.ai-panel-expanded .ai-composer-wrap{flex:1;display:flex;flex-direction:column}.ai-panel-compose-only.ai-panel-expanded .ai-compose{flex:1;display:flex;flex-direction:column;min-height:0}.ai-panel-compose-only.ai-panel-expanded .ai-compose textarea{flex:1;min-height:64px}.ai-panel-compose-only.ai-panel-expanded .ai-compose-toolbar,.ai-panel-compose-only.ai-panel-expanded .ai-source-chips{flex-shrink:0}.desktop-pdf{display:flex;flex-direction:column;height:100%;min-height:0}.desktop-pdf-toolbar{flex-wrap:wrap;gap:8px}.desktop-pdf-toolbar input{margin-left:auto;min-width:140px}.desktop-pdf-toolbar :is(button,input,select){font:inherit;border:1px solid var(--line);border-radius:6px;padding:5px 8px;color:var(--text);background:var(--bg)}.desktop-pdf-toolbar button:disabled{opacity:.45}.desktop-pdf-body{position:relative;flex:1;min-height:180px}.desktop-pdf-scroll{position:absolute;inset:0;overflow:auto;background:#777}.editor-actions .document-font-size{width:52px;gap:3px}.document-font-size>span{font-size:11px;font-variant-numeric:tabular-nums}.editor-host .vditor-reset pre,.editor-host .vditor-reset table{font-size:inherit}.ai-primary-modes{margin-bottom:6px;padding-bottom:8px}.ai-primary-modes button{flex:1;min-width:0}.ai-draft-review select{width:100%;padding:7px;color:inherit;background:var(--bg);border:1px solid var(--line);border-radius:6px}.block-ai-entry{color:var(--accent);border-bottom:1px solid var(--line);padding-bottom:8px}.ai-panel.ai-panel-inline{right:auto;bottom:auto;height:auto;max-height:min(640px,calc(100dvh - 110px));max-width:calc(100vw - 24px);border-color:var(--accent);border-radius:12px;box-shadow:0 4px 18px #10182812;overflow:auto}.ai-inline-heading{display:flex;align-items:center;gap:7px;padding:8px 12px 0;color:var(--accent);font-size:12px}.ai-inline-heading .icon{margin-left:auto;width:24px;height:24px}.ai-panel-inline .ai-composer-wrap{border:0;margin:0;padding:6px 12px 12px;overflow:visible;flex-shrink:0;container-type:inline-size}.ai-panel-inline .ai-compose textarea{height:auto;min-height:40px;max-height:200px;padding:6px;line-height:26px}.ai-panel-inline .ai-compose textarea:focus{border-color:transparent}.ai-panel-inline .ai-scroll{max-height:220px;flex:none;padding:8px 12px 0}.ai-panel-inline .ai-setup-empty{padding:12px;text-align:left;margin:0 0 6px;background:var(--panel);border-style:solid}.ai-panel-inline .ai-setup-empty>svg{display:none}.ai-panel-inline .ai-setup-empty h3{font-size:13px;margin:0 0 4px}.ai-panel-inline .ai-setup-empty p{font-size:12px;line-height:1.6;margin:0 0 10px}.ai-panel-inline .ai-setup-empty button{font-size:12px;padding:7px 10px}.ai-panel-inline .ai-popover,.ai-panel-inline.ai-panel-compose-only .ai-popover{position:relative;bottom:auto;right:auto;width:100%;max-height:240px;margin:0 0 8px;box-shadow:none}.ai-panel-inline .ai-source-chips:empty{display:none}.ai-panel-inline .ai-compose-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto 36px;gap:6px;border-top:1px solid var(--line);padding-top:10px;margin-top:6px}.ai-panel-inline .ai-model-trigger{min-width:0;max-width:none}.ai-panel-inline .ai-compose-toolbar>button{min-width:0}.ai-panel-inline .ai-compose-toolbar>button.ai-send{justify-self:end}.ai-context-controls .ai-source-chips{max-height:110px;margin:0 0 12px}@container (max-width:480px){.ai-panel-inline .ai-compose-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px}.ai-panel-inline .ai-compose-toolbar>.ai-model-trigger{grid-column:1 / -1}}.block-toolbar .block-ai-edit{width:25px;color:var(--accent)}@media(min-width:1100px){main.has-ai-sidebar{margin-right:calc(var(--ai-sidebar-width,400px) + 24px)}}.ai-panel-global{border-radius:24px;width:600px;height:680px;max-height:calc(100dvh - 48px);box-shadow:0 12px 48px #10182814}.ai-panel-global.ai-panel-expanded{width:840px;height:calc(100dvh - 48px)}.ai-panel-global.ai-panel-sidebar{top:12px;right:12px;bottom:12px;width:400px;height:auto;max-height:none;border-radius:20px;box-shadow:0 3px 20px #10182808}.ai-panel-global .ai-heading{min-height:58px;padding:12px 18px;border-bottom:0;gap:4px}.ai-panel-global .ai-heading>svg{display:none}.ai-panel-global .ai-heading strong{font-size:14px;font-weight:500}.ai-panel-sidebar .ai-heading{cursor:default;touch-action:auto}.ai-layout-control{position:relative;flex:none}.ai-layout-menu{position:absolute;right:0;top:36px;width:188px;padding:5px;z-index:5;border:1px solid var(--line);border-radius:13px;background:var(--bg);box-shadow:0 8px 24px #0002}.ai-layout-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:8px;font-size:13px;text-align:left}.ai-layout-menu button span{flex:1}.ai-layout-menu button[aria-pressed=true]{background:var(--panel)}.ai-panel-global .ai-scroll{padding:14px 24px 24px}.ai-welcome{padding:20px 0 8px}.ai-welcome-mark{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid var(--line);border-radius:50%;color:var(--accent);box-shadow:0 4px 10px #10182808;margin-bottom:20px}.ai-welcome h2{font-size:23px;line-height:1.45;font-weight:600;letter-spacing:-.5px;margin:0 0 10px}.ai-welcome>p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 18px}.ai-suggestions{display:flex;flex-direction:column;gap:3px}.ai-suggestions button{display:flex;align-items:center;gap:12px;padding:10px 8px;text-align:left;border-radius:10px;font-size:14px;line-height:1.5}.ai-suggestions svg{flex-shrink:0;color:var(--muted)}.ai-panel-global .ai-composer-wrap{margin:0 16px 16px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--bg);box-shadow:0 2px 8px #10182806}.ai-panel-global .ai-composer-wrap:focus-within{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}.ai-visible-sources .ai-source-chips{margin:0 0 8px;max-height:78px}.ai-visible-sources .ai-source-chip{border-radius:20px;background:var(--bg);font-size:11px}.ai-visible-sources .ai-source-chip>button{padding:5px 7px}.ai-visible-sources .ai-source-chip>button>span{max-width:170px}.ai-no-sources{display:block;font-size:11px;color:var(--muted);margin:2px 4px 10px}.ai-panel-global .ai-primary-modes{gap:3px;margin:0 0 2px;padding:0;border:0}.ai-panel-global .ai-primary-modes button{font-size:11px;padding:5px 7px;border:0;background:transparent;color:var(--muted);border-radius:6px;flex:none}.ai-panel-global .ai-primary-modes button[aria-pressed=true]{background:var(--panel);color:var(--text)}.ai-panel-global .ai-scope-note{font-size:10px;margin:4px 4px 0;color:var(--muted)}.ai-panel-global .ai-compose textarea{height:88px;min-height:60px;padding:12px 4px;font-size:14px;line-height:1.75;border:0;border-radius:0;background:transparent}.ai-panel-global .ai-compose textarea:focus{outline:none;border:0}.ai-panel-global .ai-compose-toolbar{gap:3px;margin-top:6px;flex-wrap:wrap}.ai-panel-global .ai-compose-toolbar>button{border:0;padding:5px 7px;min-height:32px;color:var(--muted);font-size:11px;border-radius:7px}.ai-panel-global .ai-compose-toolbar>.ai-model-trigger{flex:1;max-width:100%;flex-basis:100%;justify-content:flex-start}.ai-panel-global .ai-compose-toolbar>.ai-model-trigger span{max-width:calc(100% - 20px)}.ai-panel-global .ai-compose-toolbar>.ai-send{border-radius:50%;color:#fff;width:32px;min-height:32px}.ai-panel-global .ai-popover{bottom:100%;margin-bottom:12px;right:0;width:100%;max-height:min(380px,calc(100dvh - 330px));border-radius:14px}.ai-panel-global .ai-setup-empty{padding:14px;margin:20px 0 0;text-align:left;background:var(--panel);border:0;border-radius:12px}.ai-panel-global .ai-setup-empty>svg{display:none}.ai-panel-global .ai-setup-empty h3{font-size:13px;margin:0 0 4px}.ai-panel-global .ai-setup-empty p{font-size:12px;line-height:1.7}.ai-panel-global .ai-setup-empty button{font-size:12px;padding:6px 10px}@media(min-width:640px){.ai-panel-floating .ai-compose-toolbar>.ai-model-trigger{flex-basis:0}}@media(max-width:720px){.ai-panel-global,.ai-panel-global.ai-panel-sidebar,.ai-panel-global.ai-panel-expanded{top:8px;right:8px;bottom:8px;width:calc(100vw - 16px);height:auto;max-height:calc(100dvh - 16px);max-width:none;border-radius:18px}.ai-panel-global .ai-scroll{padding:8px 20px 20px}.ai-welcome{padding-top:18px}.ai-panel-global .ai-composer-wrap{margin:0 10px 10px;padding:10px}.ai-panel-global .ai-heading{padding:10px 14px}}@media(max-height:600px){.ai-panel-global .ai-welcome{padding-top:4px}.ai-panel-global .ai-welcome-mark{display:none}.ai-panel-global .ai-compose textarea{height:60px}.ai-panel-global .ai-composer-wrap{max-height:65dvh;overflow:auto}.ai-panel-global .ai-popover{position:relative;bottom:auto;max-height:170px}}.ai-panel-global>.ai-setup-empty{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 22px 12px;padding:0;background:none;flex-shrink:0}.ai-panel-global>.ai-setup-empty h3{font-size:11px;font-weight:400;color:var(--muted);margin:0}.ai-panel-global>.ai-setup-empty p{display:none}.ai-panel-global>.ai-setup-empty button{background:transparent;color:var(--accent);border:0;padding:4px 0;font-size:11px}.ai-panel-global>.ai-key-missing{margin:0 22px 12px;max-height:130px;overflow:auto;font-size:12px;flex-shrink:0}.ai-message.ai-user{max-width:85%;margin:10px 0 22px auto;border-radius:16px 16px 4px}.ai-question{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.75}.ai-message.ai-assistant{margin:0 auto 28px 0;width:100%;min-width:0;padding:0;text-align:left}.ai-message>.ai-message-role{display:block;margin-bottom:8px;font-size:11px;letter-spacing:.03em;color:var(--muted)}.ai-message.ai-user>.ai-message-role{display:none}.ai-answer-markdown{font-size:14px;line-height:1.8;overflow-wrap:anywhere;min-width:0}.ai-answer-markdown>:first-child{margin-top:0}.ai-answer-markdown>:last-child{margin-bottom:0}.ai-answer-markdown p{margin:0 0 12px}.ai-answer-markdown strong{font-size:inherit;color:inherit}.ai-answer-markdown h1,.ai-answer-markdown h2,.ai-answer-markdown h3,.ai-answer-markdown h4{line-height:1.5;margin:22px 0 10px;font-weight:600}.ai-answer-markdown h1{font-size:21px}.ai-answer-markdown h2{font-size:18px}.ai-answer-markdown h3,.ai-answer-markdown h4{font-size:16px}.ai-answer-markdown ul,.ai-answer-markdown ol{padding-left:24px;margin:10px 0 16px}.ai-answer-markdown li{margin:4px 0}.ai-answer-markdown li>p{margin:0}.ai-answer-markdown blockquote{margin:12px 0;padding:2px 14px;border-left:3px solid var(--line);color:var(--muted)}.ai-answer-markdown a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.ai-answer-markdown code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.88em;background:var(--panel);padding:2px 5px;border-radius:4px}.ai-answer-markdown pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;white-space:pre;overflow:auto;overflow-wrap:normal;padding:14px;margin:14px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel);max-width:100%}.ai-answer-markdown pre code{font-size:inherit;padding:0;background:none}.ai-answer-markdown hr{border:0;border-top:1px solid var(--line);margin:20px 0}.ai-answer-table{max-width:100%;overflow:auto;margin:14px 0}.ai-answer-table table{border-collapse:collapse;width:100%;font-size:12px}.ai-answer-table th,.ai-answer-table td{border:1px solid var(--line);padding:7px 10px;text-align:left;min-width:75px}.ai-answer-table th{background:var(--panel);font-weight:600}.ai-answer-markdown .contains-task-list{list-style:none;padding-left:4px}.ai-answer-markdown input[type=checkbox]{margin-right:7px}.ai-answer-status{display:block;margin-top:10px;color:var(--muted);font-size:11px}.ai-panel-global .ai-functions-popover .ai-popover-content{padding:0}.ai-function-menu{display:grid;grid-template-columns:92px minmax(0,1fr);min-height:210px;max-height:290px}.ai-function-menu>nav{display:flex;flex-direction:column;gap:4px;padding:10px 6px;border-right:1px solid var(--line);background:var(--panel)}.ai-function-menu>nav button{display:flex;align-items:center;gap:7px;padding:10px 7px;border-radius:8px;font-size:12px;text-align:left}.ai-function-menu>nav button[aria-pressed=true]{background:var(--bg);color:var(--accent);box-shadow:0 1px 4px #10182808}.ai-function-detail{min-width:0;overflow:auto;overscroll-behavior:contain;padding:8px}.ai-function-option{display:flex;align-items:flex-start;gap:8px;text-align:left;width:100%;padding:12px 10px;border-radius:9px}.ai-function-option>span{flex:1;min-width:0}.ai-function-option strong{display:block;font-size:12px;font-weight:500}.ai-function-option small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:5px}.ai-function-option>svg{flex-shrink:0;color:var(--accent);margin-top:2px}.ai-function-option[aria-pressed=true]{background:var(--panel)}.ai-function-detail .ai-template-list{border:0;padding-bottom:0}.ai-function-detail .ai-template-list button{font-size:12px;padding:10px;border-radius:8px}.ai-menu-caption{font-size:10px;color:var(--muted);margin:8px 10px 0}.ai-manage-templates{border-top:1px solid var(--line);padding:12px 8px 6px;text-align:left;font-size:11px;color:var(--muted)}.ai-panel-global .ai-compose-toolbar>.ai-function-trigger{color:var(--text)}.ai-template-settings{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px}.ai-template-settings-list{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.ai-template-settings-list>button{display:flex;align-items:center;gap:6px;text-align:left;padding:10px;border-radius:8px;overflow-wrap:anywhere;font-size:13px}.ai-template-settings-list>button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.ai-template-settings form{display:grid;gap:16px;min-width:0}.ai-template-settings label{display:grid;gap:7px;font-size:12px}.ai-template-settings input,.ai-template-settings select,.ai-template-settings textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:inherit;line-height:1.6;min-width:0}.ai-template-settings textarea{resize:vertical}.ai-template-settings-actions{display:flex;gap:8px}@media(max-width:720px){.ai-template-settings{grid-template-columns:1fr;gap:16px}.ai-template-settings-list{max-height:160px;overflow:auto}.ai-function-menu{grid-template-columns:82px minmax(0,1fr)}.ai-function-menu>nav button{font-size:11px;padding:10px 5px}.ai-function-option{padding:10px 8px}}@media(max-height:600px){.ai-function-menu{max-height:230px;min-height:150px}}.ai-sidebar-resizer{position:absolute;left:0;top:20px;bottom:20px;width:8px;z-index:2;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px}.ai-sidebar-resizer:hover,.ai-sidebar-resizer:focus-visible{background:var(--accent-bg);outline:1px solid var(--accent)}@media(max-width:720px){.ai-sidebar-resizer{display:none}.ai-panel-global.ai-panel-sidebar{width:calc(100vw - 16px)!important}}.ai-history-dialog{width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--text);box-shadow:var(--shadow)}.ai-history-dialog::backdrop{background:#10182860;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ai-history-dialog>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--bg)}.ai-history-dialog h2{font-size:16px;margin:0;flex:1}.ai-history-content{padding:16px 20px;display:flex;flex-direction:column;gap:12px;min-width:0}.ai-history-content>.settings-button{align-self:flex-start}.ai-history-search{font-size:12px;display:flex;flex-direction:column;gap:7px;color:var(--muted)}.ai-history-search input{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text)}.ai-history-list{list-style:none;padding:0;margin:0}.ai-history-list li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.ai-history-open{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;padding:9px;border-radius:9px}.ai-history-open:disabled{opacity:1;cursor:default}.ai-history-open strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.ai-history-open span{font-size:11px;color:var(--muted)}.ai-history-confirm{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:12px;overflow-wrap:anywhere}.ai-history-confirm>div{display:flex;justify-content:flex-end;gap:8px}.ai-turn-sources{margin-top:12px;color:var(--muted);font-size:11px}.ai-turn-sources details{padding:6px 0 0 8px}@media(max-width:720px){.ai-history-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.ai-history-content{padding:12px}}.ai-history-list li{flex-direction:column;align-items:stretch}.ai-history-row{display:flex;align-items:center;gap:8px;min-width:0}.ai-history-tools{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:var(--panel);border-radius:10px}.ai-history-tools>.ai-note{flex-basis:100%;margin:4px 0 0}.ai-history-rename{display:flex;flex-wrap:wrap;gap:8px;width:100%}.ai-history-rename label{flex-basis:100%;display:flex;flex-direction:column;gap:6px;font-size:12px}.ai-history-rename input,.ai-question-edit textarea{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font:inherit}.ai-question-edit{min-width:0;width:100%;font-size:12px}.ai-question-edit label{display:flex;flex-direction:column;gap:8px}.ai-question-edit textarea{min-height:100px;resize:vertical}.ai-question-edit p{color:var(--muted);line-height:1.6}.ai-mention-input{position:relative;min-width:0;flex:1}.ai-mention-menu{position:absolute;z-index:30;bottom:100%;left:0;right:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--bg);box-shadow:var(--shadow);font-size:12px}.ai-mention-menu [role=listbox]{max-height:min(240px,35dvh);overflow:auto;margin-top:6px}.ai-mention-menu [role=option]{display:block;width:100%;padding:9px;text-align:left;border-radius:7px;overflow-wrap:anywhere}.ai-mention-menu [role=option][aria-selected=true]{background:var(--panel);color:var(--accent)}.ai-mention-menu p{margin:6px 0 0;color:var(--muted)}.ai-reference-changed{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:10px;font-size:12px;color:var(--muted)}.ai-reference-changed button{color:var(--accent);font-weight:600}.ai-reference-preview .ai-actions{margin:8px 0}.ai-answer-markdown .ai-citation-link{display:inline;padding:1px 6px;margin:0 2px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--accent);font:inherit;font-size:.85em;cursor:pointer;overflow-wrap:anywhere}.app-context-menu{position:fixed;z-index:1000;width:192px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);box-shadow:var(--shadow)}.app-context-menu button{display:block;width:100%;padding:9px 12px;text-align:left;border-radius:6px;font:inherit;font-size:13px}.app-context-menu button:hover:not(:disabled),.app-context-menu button:focus-visible{background:var(--accent-bg);outline:none;color:var(--accent)}.app-context-menu button:disabled{opacity:.4;cursor:default}.context-menu-settings{margin-top:24px;padding:16px;border:1px solid var(--line);border-radius:10px;min-width:0}.context-menu-options{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px}.context-menu-options label{display:flex;align-items:center;gap:6px;font-size:13px}.brand-logo{display:block;width:28px;height:28px;flex-shrink:0}.account-sync{display:grid;gap:16px;min-width:0}.account-form{display:grid;gap:12px;max-width:440px}.account-form label{display:grid;gap:6px}.account-form input{padding:10px 12px;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px}.account-sync button{cursor:pointer}.account-sync button:disabled{cursor:default;opacity:.5}.sync-providers{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-radius:10px}.sync-providers strong{display:flex;gap:8px;align-items:center}.sync-providers span,.sync-source small,.sync-files small{opacity:.65;font-size:12px}.sync-source{display:flex;align-items:center;gap:10px;padding:10px 0}.sync-source small{margin-left:auto}.sync-preview,.sync-issue,.sync-notice{padding:12px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}.sync-files{list-style:none;padding:0;margin:0}.sync-files li{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.sync-files small{flex-basis:100%}.sync-files button{overflow-wrap:anywhere;text-align:left}.sync-reader{min-width:0}.sync-reader header{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}.sync-reader iframe{width:100%;height:60vh;min-height:320px;border:1px solid var(--line);background:#fff}.sync-launch{white-space:nowrap}.source-sync-status{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;padding:3px 4px;border-radius:4px;color:var(--muted);font-size:10px;white-space:nowrap}.source-sync-status:hover,.source-sync-status:focus-visible{background:var(--accent-bg);color:var(--accent)}.source-sync-status.sync-complete{color:var(--accent)}.source-sync-status.sync-attention,.source-sync-status.sync-auth{color:#b37726}.source-sync-status.sync-running svg{animation:sync-spin 1.5s linear infinite}.sync-management{margin-top:20px}.sync-management summary{cursor:pointer;color:var(--muted);font-size:12px}@keyframes sync-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.source-sync-status.sync-running svg{animation:none}}.tree-file-icon{position:relative;display:inline-flex;flex:0 0 16px;width:16px;height:18px;align-items:center;overflow:visible!important}.tree-label .file-sync-badge{position:absolute;right:-4px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:12px;height:12px;border-radius:50%;background:var(--panel);box-shadow:0 0 0 1px var(--panel);overflow:visible}.file-sync-complete{color:#26804b}.file-sync-running{color:#277cbe}.file-sync-waiting{color:#a17520}.file-sync-error,.file-sync-conflict{color:#ce4141}.file-sync-auth{color:#a17520}.file-sync-paused,.file-sync-offline,.file-sync-excluded{color:var(--muted)}.file-sync-running svg{animation:sync-spin 1.5s linear infinite}@media(prefers-reduced-motion:reduce){.file-sync-running svg{animation:none}}.mobile-header,.mobile-files,.mobile-editor-bar{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,560px);max-width:100%;max-height:calc(var(--mobile-height,100dvh) - 24px);padding:0;border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;background:var(--bg);color:var(--text);box-shadow:0 -10px 40px #15233712;overflow:auto;overscroll-behavior:contain}.mobile-sheet::backdrop{background:#15233724}.mobile-sheet>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px 4px;position:sticky;top:0;background:var(--bg);z-index:1}.mobile-sheet h2{font-size:22px;line-height:1.4;margin:0;overflow-wrap:anywhere}.mobile-sheet-content{padding:4px 20px max(12px,env(safe-area-inset-bottom))}.mobile-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;padding:0;border-radius:10px}.mobile-segments{display:flex;gap:4px;background:var(--panel);border-radius:12px;padding:4px;margin:0 0 20px}.mobile-segments button{flex:1;min-width:0;min-height:44px;border-radius:9px;font-size:15px;font-weight:550}.mobile-segments button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.mobile-segments small{margin-left:6px;font-size:12px}.mobile-sheet .mobile-segments{margin-bottom:12px}.mobile-inline-formats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 0 12px;border-bottom:1px solid var(--line)}.mobile-inline-formats button{display:grid;place-items:center;min-height:48px;background:var(--panel);border-radius:10px}.mobile-inline-formats button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.mobile-section-label,.mobile-hint{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.mobile-section-label{margin:12px 0 6px}.mobile-action-list{display:flex;flex-direction:column}.mobile-action-list>button{display:flex;gap:14px;align-items:center;text-align:left;min-height:48px;padding:10px 8px;font-size:16px;border-bottom:1px solid var(--line);border-radius:4px;overflow-wrap:anywhere}.mobile-action-list>button>span{flex:1}.mobile-action-list>button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}.mobile-action-list>button:disabled{opacity:.4;cursor:default}.mobile-format-footer{display:flex;gap:8px;align-items:center;margin:10px -20px -4px;padding:12px 20px 0;border-top:1px solid var(--line)}.mobile-format-footer button{display:flex;justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;border-radius:10px}.mobile-format-footer button:nth-child(3){margin-left:auto}.mobile-format-footer .mobile-ai-action{color:var(--accent);padding:0 10px;background:var(--accent-bg)}.mobile-link-form{display:grid;gap:16px}.mobile-link-form label{display:grid;gap:10px;font-size:15px}.mobile-link-form input{width:100%;padding:12px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:8px}.mobile-link-form .primary{min-height:48px}.mobile-open-documents>div{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:5px 0}.mobile-open-documents>div.active{background:var(--accent-bg);color:var(--accent);border-radius:8px}.mobile-open-documents>div>button:first-child{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;padding:12px 8px;min-height:56px}.mobile-open-documents span{min-width:0;overflow-wrap:anywhere}.mobile-open-documents strong{display:block;font-size:15px;font-weight:550}.mobile-open-documents small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.mobile-sheet-new{display:flex;align-items:center;gap:10px;min-height:48px;margin-top:12px;color:var(--accent)}.mobile-display-options{display:grid;gap:16px;padding-top:22px}.mobile-display-options label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.mobile-display-options select{min-width:0;max-width:65%;font-size:15px;padding:10px;border:1px solid var(--line);border-radius:8px}@media(max-width:720px){:root{--muted:#6f7883}:root[data-theme=dark]{--muted:#a3aab4}:root[data-theme=paper]{--muted:#7b756a}.app[data-mobile=true]{height:var(--mobile-height,100dvh);position:relative;top:var(--mobile-top,0px);padding-top:env(safe-area-inset-top)}.app[data-mobile=true] main{margin:0;min-height:0}.app[data-mobile=true] .topbar,.app[data-mobile=true] .document-tabs,.app[data-mobile=true] .statusbar{display:none!important}.mobile-header{display:flex;align-items:center;gap:4px;min-height:64px;flex-shrink:0;padding:6px 12px;border-bottom:1px solid var(--line);background:var(--bg)}.mobile-back{display:flex;align-items:center;gap:3px;min-width:64px;min-height:44px;padding:0 4px;font-size:15px}.mobile-document-title{flex:1;min-width:0;text-align:center;padding:2px 4px;min-height:44px}.mobile-document-title>span{display:flex;align-items:center;justify-content:center;gap:5px}.mobile-document-title strong{font-weight:650;font-size:17px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.5}.mobile-document-title small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-document-title small.error{color:#c74c42}.app[data-mobile=true] .editor-area{padding:0;min-height:0;width:100%;align-self:stretch}.app[data-mobile=true] .editor-original{display:flex;flex-direction:column;min-height:0}.app[data-mobile=true] .editor-host{flex:1;height:auto!important;min-height:0;width:100%}.app[data-mobile=true] .editor-host .vditor-toolbar,.app[data-mobile=true] .editor-host .vditor-outline,.app[data-mobile=true] .outline-resizer{display:none!important}.app[data-mobile=true] .editor-host .vditor-ir pre.vditor-reset,.app[data-mobile=true] .editor-host .vditor-wysiwyg pre.vditor-reset,.app[data-mobile=true] .editor-host .vditor-preview .vditor-reset,.app[data-mobile=true] .editor-host .vditor-sv{padding:28px 20px 72px!important;max-width:100%;width:100%;scroll-padding-bottom:72px}.app[data-mobile=true] .vditor-reset{line-height:1.8!important;overflow-wrap:anywhere}.app[data-mobile=true] .vditor-reset h1{font-size:1.65em!important;line-height:1.4!important;margin:8px 0 24px!important;border:0!important;padding-bottom:0!important}.app[data-mobile=true] .vditor-reset h2{font-size:1.35em!important;line-height:1.5!important;margin:28px 0 18px!important}.app[data-mobile=true] .vditor-reset h3{line-height:1.5!important}.app[data-mobile=true] .vditor-reset blockquote{margin-left:0;margin-right:0;padding:12px 16px!important}.app[data-mobile=true] .vditor-reset img{max-width:100%}.app[data-mobile=true] .vditor-reset table{display:block;max-width:100%;overflow-x:auto}.app[data-mobile=true] .vditor-reset pre{max-width:100%;overflow-x:auto}.app[data-mobile=true] .editor-host.is-split .vditor-preview{display:none!important}.app[data-mobile=true] .editor-host.is-split .vditor-sv{flex:1;width:100%}.app[data-mobile=true] .vditor-ir h1:before,.app[data-mobile=true] .vditor-ir h2:before,.app[data-mobile=true] .vditor-ir h3:before,.app[data-mobile=true] .vditor-ir h4:before,.app[data-mobile=true] .vditor-ir h5:before,.app[data-mobile=true] .vditor-ir h6:before{display:none}.mobile-editor-bar{display:flex;align-items:center;justify-content:space-around;flex-shrink:0;border-top:1px solid var(--line);padding:6px 8px max(8px,env(safe-area-inset-bottom));background:var(--bg);gap:3px;min-height:64px}.mobile-editor-bar button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;min-width:44px;padding:4px 3px;border-radius:11px;font-size:11px;line-height:1.4}.mobile-editor-bar button:first-child{color:var(--accent)}.mobile-editor-bar button:active{background:var(--accent-bg)}.mobile-editor-bar button:disabled{opacity:.4}.mobile-reading-bar>span{display:flex;align-items:center;gap:8px;flex:2;font-size:14px;padding-left:12px;color:var(--muted)}.mobile-files{position:absolute;inset:0;z-index:65;display:flex;flex-direction:column;background:var(--bg);padding:env(safe-area-inset-top) 20px 0;min-height:0}.mobile-files[hidden]{display:none}.mobile-files-heading{display:flex;gap:8px;align-items:center;padding:24px 0 20px}.mobile-files-heading h1{margin:0 auto 0 0;font-size:32px;line-height:1.2;letter-spacing:-.5px}.mobile-new{display:grid;place-items:center;background:var(--accent);color:var(--bg);width:44px;height:44px;border-radius:50%;padding:0}.mobile-new:hover{background:var(--accent)}.mobile-file-search{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;background:var(--panel);color:var(--muted);border-radius:12px;padding:10px 14px;margin-bottom:16px;font-size:16px;text-align:left}.mobile-files .mobile-segments{margin-bottom:10px}.mobile-source{display:flex;align-items:center;gap:10px;min-height:56px}.mobile-source label{display:flex;align-items:center;min-width:0;flex:1;gap:4px}.mobile-source select{appearance:none;border:0;background:transparent;min-width:0;width:auto;max-width:calc(100% - 28px);padding:12px 0;font-size:17px;font-weight:600}.mobile-file-path{display:flex;align-items:center;gap:4px;min-height:48px;border-bottom:1px solid var(--line);margin-bottom:4px}.mobile-file-path>div{display:flex;align-items:center;overflow-x:auto;white-space:nowrap;min-width:0;scrollbar-width:none}.mobile-file-path span{display:inline-flex;align-items:center;gap:4px}.mobile-file-path button:not(.mobile-icon){padding:10px 5px;font-size:13px;min-height:44px;color:var(--muted)}.mobile-file-path span:last-child button{font-weight:600;color:var(--text)}.mobile-file-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0 -20px;padding:0 20px}.mobile-file-row{display:flex;align-items:center;gap:4px;min-height:68px;border-bottom:1px solid var(--line)}.mobile-file-row.active{background:var(--accent-bg);color:var(--accent);margin:0 -20px;padding:0 20px}.mobile-file-open{display:flex;gap:14px;align-items:center;text-align:left;flex:1;min-width:0;min-height:68px;padding:12px 0}.mobile-file-open>span{flex:1;min-width:0}.mobile-file-open strong{font-weight:550;font-size:16px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-file-open small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}.mobile-files-empty{font-size:15px;color:var(--muted);line-height:1.8;padding:24px 4px}.mobile-files-footer{border-top:1px solid var(--line);margin:0 -20px;padding:12px 20px max(12px,env(safe-area-inset-bottom));background:var(--bg)}.mobile-resume{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:4px 0;min-height:54px}.mobile-resume>span:first-of-type{flex:1;min-width:0}.mobile-resume small{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.mobile-resume strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:550}.mobile-resume-label{display:flex;align-items:center;gap:5px;color:var(--accent);background:var(--accent-bg);padding:10px;border-radius:9px;flex-shrink:0;font-size:13px}.mobile-files-footer>p{margin:8px 0 0;text-align:center;font-size:11px;color:var(--muted)}.app[data-mobile=true] .text-editor textarea{padding:28px 20px;font-size:17px}.app[data-mobile=true] .text-editor .format-toolbar{display:none}.app[data-mobile=true] .find-bar{flex-wrap:wrap;padding:8px 12px;gap:8px}.app[data-mobile=true] .find-bar input{min-width:0;width:calc(50% - 8px);font-size:16px}.app[data-mobile=true] .find-bar button{min-height:40px}.app[data-mobile=true] .conflict{flex-wrap:wrap;line-height:1.6;max-height:35dvh;overflow:auto}.overlay:has(.outline-jump){align-items:flex-end;padding:0}.outline-jump{width:100%;max-height:calc(var(--mobile-height,100dvh) - 30px);border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}.outline-jump .result{min-height:52px}.outline-jump .search-footer,.outline-jump kbd{display:none}.search-input input,.dialog input,.dialog select{font-size:16px}.mobile-sheet{top:auto;bottom:var(--mobile-bottom,0px)}.overlay{top:var(--mobile-top,0px);bottom:var(--mobile-bottom,0px);max-height:var(--mobile-height,100dvh)}.ai-panel-global,.ai-panel-global.ai-panel-sidebar,.ai-panel-global.ai-panel-expanded{top:calc(var(--mobile-top,0px) + 8px);bottom:calc(var(--mobile-bottom,0px) + 8px);max-height:calc(var(--mobile-height,100dvh) - 16px)}.app[data-mobile=true] .empty-state{padding:20px;text-align:center}.app[data-mobile=true] .empty-state p{line-height:1.8}.app[data-mobile=true] .empty-state button{min-height:44px}}@media(max-width:350px){.mobile-files,.mobile-sheet-content{padding-left:16px;padding-right:16px}.app[data-mobile=true] .editor-host .vditor-ir pre.vditor-reset,.app[data-mobile=true] .editor-host .vditor-wysiwyg pre.vditor-reset,.app[data-mobile=true] .editor-host .vditor-preview .vditor-reset,.app[data-mobile=true] .editor-host .vditor-sv{padding-left:16px!important;padding-right:16px!important}.mobile-resume-label{font-size:12px;padding:8px}}
