.textLayer{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only;text-align:initial;opacity:1;letter-spacing:normal;word-spacing:normal;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:canvastext;--min-font-size:1;--text-scale-factor:calc(var(--total-scale-factor) * var(--min-font-size));--min-font-size-inv:calc(1 / var(--min-font-size));line-height:1;position:absolute;inset:0;overflow:clip}.textLayer :is(span,br){color:#0000;white-space:pre;cursor:text;transform-origin:0 0;-webkit-user-select:text;user-select:text;position:absolute}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1;--font-height:0;font-size:calc(var(--text-scale-factor) * var(--font-height));--scale-x:1;--rotate:0deg;transform:rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv))}.textLayer .markedContent{display:contents}.textLayer span[role=img]{-webkit-user-select:none;user-select:none;cursor:default}.textLayer ::selection{color:#0000;background:#8297ed60}.textLayer br::selection{background:0 0}.textLayer[data-main-rotation="90"]{transform:rotate(90deg)translateY(-100%)}.textLayer[data-main-rotation="180"]{transform:rotate(180deg)translate(-100%,-100%)}.textLayer[data-main-rotation="270"]{transform:rotate(270deg)translate(-100%)}:root{color:#28334b;font-synthesis:none;--color-bg:#f4f6fc;--color-surface:#fff;--color-surface-glass:#fffc;--color-primary:#665bf2;--color-primary-2:#4c74f8;--color-border:#7787b326;--color-text:#28334b;--color-text-muted:#8992a7;--radius-sm:.6rem;--radius-md:1rem;--radius-lg:1.5rem;--shadow-card:0 .4rem 1.5rem #445c9410;--shadow-floating:0 1.3rem 4rem #3446801f;--reader-share:61%;--viewport-height:100dvh;--loading-spin-duration:1.2s;background:#f4f6fc;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:clamp(13px,.88vw,16px)}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{transition:background .16s,box-shadow .16s,transform .16s,color .16s}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible{outline-offset:3px;outline:2px solid #7b74ef}input,textarea{border:1px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-text);background:#f9faff;outline:none;min-width:0;padding:.85rem 1rem;transition:border .15s,box-shadow .15s}input:focus,textarea:focus{border-color:#9e96f7;box-shadow:0 0 0 3px #7664ec0f}input::placeholder,textarea::placeholder{color:#a1a8b9}textarea{resize:vertical;line-height:1.7}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}[hidden]{display:none!important}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{letter-spacing:-.035em;font-weight:650}h1{font-size:2.5rem}h2{font-size:1.45rem}h3{font-size:1.1rem}p{line-height:1.8}a{color:var(--color-primary);text-decoration:none}img{max-width:100%}.icon{object-fit:contain;vertical-align:middle;opacity:.76;pointer-events:none;flex:none;width:1.25rem;height:1.25rem;display:inline-block}.muted{color:var(--color-text-muted)}.eyebrow{letter-spacing:.18em;color:#9198ae;margin-bottom:.7rem;font-size:.67rem;font-weight:600;line-height:1.6}.button{border:1px solid var(--color-border);background:var(--color-surface);border-radius:var(--radius-sm);white-space:nowrap;justify-content:center;align-items:center;gap:.55rem;min-height:2.75rem;padding:.7rem 1.05rem;font-size:.9rem;font-weight:550;display:inline-flex}.button:hover{background:#f3f2ff;border-color:#d0ccfc}.button.primary,.icon-button.primary{color:#fff;background:linear-gradient(125deg,#5b75f8,#7355eb);border-color:#0000;box-shadow:0 .3rem .8rem #695fed24}.button.primary:hover,.icon-button.primary:hover{filter:brightness(1.06);box-shadow:0 .4rem 1rem #695fed35}.primary .icon{filter:brightness(0)invert();opacity:1}.button.large{min-height:3.15rem;padding:.9rem 1.8rem}.button.subtle{background:0 0;border-color:#0000}.button.danger{color:#d65e6f}.icon-button{border-radius:.6rem;flex:none;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;display:inline-flex}.icon-button:hover{background:#edeaff}.full-width{width:100%}.note{color:#9299ad;margin:.7rem 0;font-size:.8rem;line-height:1.7}.badge{color:#7164d9;vertical-align:middle;letter-spacing:0;white-space:nowrap;background:#eeeaff;border-radius:.4rem;padding:.2rem .45rem;font-size:.65rem}::-webkit-scrollbar{width:6px;height:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd0e0;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#afb6cb}*{scrollbar-width:thin;scrollbar-color:#cbd0e0 transparent}.custom-select{min-width:0;position:relative}.select-trigger{border:1px solid var(--color-border);text-align:left;background:#f7f8fc;border-radius:.6rem;justify-content:space-between;align-items:center;gap:.5rem;width:100%;min-height:2.6rem;padding:.65rem .8rem;font-size:.87rem;display:flex}.select-trigger>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.select-trigger .icon{width:.85rem;height:.85rem}.select-trigger:hover{background:#f0effb}.select-menu{z-index:80;border:1px solid var(--color-border);min-width:100%;max-width:min(32rem,80vw);max-height:18rem;box-shadow:var(--shadow-floating);background:#fff;border-radius:.85rem;padding:.4rem;position:absolute;top:calc(100% + .35rem);left:0;overflow:auto}.select-menu button{white-space:nowrap;text-align:left;border-radius:.5rem;width:100%;padding:.7rem .8rem;font-size:.86rem;display:block}.select-menu button:hover,.select-menu button[aria-selected=true]{color:#6656d9;background:#f0edff}.brand{color:#4c49ba;align-items:center;gap:.6rem;display:flex}.brand-symbol{background:linear-gradient(145deg,#7377fa,#7054e6);border-radius:1rem;justify-content:center;align-items:center;width:2.9rem;height:2.9rem;display:flex;box-shadow:0 .4rem 1rem #665bf226}.brand-symbol .icon{filter:brightness(0)invert();opacity:1;width:1.5rem;height:1.5rem}.brand-name{letter-spacing:.1em;font-size:1.3rem;font-weight:650}.brand-name>span{letter-spacing:.12em;color:#a2a3bb;margin-top:.18rem;font-size:.48rem;display:block}.nav-item{box-shadow:none;color:#858da1;background:0 0;border:0;font-weight:450}.nav-item.active{color:#6b5cdb;background:linear-gradient(110deg,#eeeafd,#ebeffe);position:relative}.nav-item.active:before{content:"";background:#6f60e8;border-radius:5px;width:3px;height:50%;position:absolute;top:25%;left:0}.nav-item.active .icon{filter:invert(34%)sepia(49%)saturate(2795%)hue-rotate(231deg);opacity:1}.version{color:#b0b5c6;letter-spacing:.1em;font-size:.65rem}.workspace{min-width:0;min-height:0}.reader-panel,.assistant-panel{border-radius:var(--radius-lg);min-width:0;min-height:0;box-shadow:var(--shadow-card);background:#ffffff8c;border:1px solid #ffffffd9}.reader-panel{flex-direction:column;display:flex;overflow:hidden}.document-bar{align-items:center;gap:.65rem;min-height:3.5rem;padding:.55rem .8rem;display:flex}.document-tabs{scrollbar-width:none;flex:1;gap:.6rem;min-width:0;display:flex;overflow:auto}.document-tab{background:#eceff666;border:1px solid #0000;border-radius:.8rem;flex:1;align-items:center;min-width:12rem;max-width:19rem;min-height:2.45rem;padding:.15rem .35rem .15rem .6rem;display:flex}.document-tab.active{background:#fff;border-color:#a499f4;box-shadow:0 0 0 2px #e9e5ff7a}.tab-main{text-align:left;flex:1;align-items:center;gap:.7rem;min-width:0;min-height:2.15rem;padding:0;display:flex}.pdf-miniature{background:linear-gradient(#fff,#f4f5fa);border:1px solid #e2e5f1;border-radius:.2rem;flex-direction:column;flex:none;justify-content:center;align-items:center;width:2.2rem;height:2.8rem;display:flex;box-shadow:0 .1rem .2rem #26335e10}.pdf-miniature .icon{opacity:.38;width:1.2rem;height:1.2rem}.pdf-miniature small{letter-spacing:.1em;color:#a1a9be;margin-top:.15rem;font-size:.42rem}.tab-caption{min-width:0}.tab-caption strong{white-space:nowrap;text-overflow:ellipsis;font-size:.79rem;font-weight:550;display:block;overflow:hidden}.tab-caption small{color:#9b9fb1;margin-top:.3rem;font-size:.7rem;display:block}.tab-close{border-radius:.4rem;flex:none;place-items:center;width:2.15rem;height:2.15rem;margin-left:.2rem;display:grid}.tab-close:hover{background:#e9e6fc}.tab-close .icon{width:.85rem;height:.85rem}.open-pdf{background:#fff6;border-style:dashed;flex:none;height:2.65rem;min-height:2.65rem;padding:.6rem .9rem;font-size:.77rem}.open-pdf .icon{width:1rem}.workspace-label{color:#888fa4;align-items:center;gap:.65rem;padding:.8rem;font-size:.87rem;display:flex}.toolbar{border:1px solid var(--color-border);z-index:6;background:#ffffffd9;border-radius:.85rem;align-items:center;gap:.35rem;min-height:3.35rem;margin:0 .8rem .7rem;padding:.38rem .5rem;display:flex;overflow-x:auto;box-shadow:0 .2rem .4rem #58709904}.toolbar .select-menu{min-width:8rem;margin-top:.3rem;position:fixed;top:auto;left:auto}.navigation-tools .icon-button.active{background:#ece7ff;box-shadow:inset 0 0 0 1px #ddd6ff}.toolbar-group{flex:none;align-items:center;gap:.1rem;display:flex}.toolbar .icon-button{width:2rem;height:2.1rem}.toolbar .icon{width:1.1rem;height:1.1rem}.toolbar .select-trigger{background:#f5f6fb;min-height:2rem;padding:.4rem .55rem;font-size:.78rem}.toolbar .select-trigger .icon{width:.75rem}.toolbar-divider{background:#e1e4f1;flex:none;width:1px;height:1.25rem;margin:0 .2rem}.toolbar-spacer{flex:1}.toolbar input{text-align:center;background:#f6f7fb;border-color:#e8eaf3;border-radius:.4rem;width:2.5rem;padding:.35rem .3rem;font-size:.8rem}.total-pages{color:#8c92a6;white-space:nowrap;margin:0 .3rem;font-size:.8rem}.tool-pair{border-radius:.5rem;height:2.15rem;display:flex;overflow:hidden}.tool-pair:hover{background:#f2effd}.tool-pair.active{background:#ece7ff;box-shadow:inset 0 0 0 1px #ddd6ff}.tool-main{place-items:center;width:2rem;padding:0;display:grid;position:relative}.tool-color{border-radius:2px;width:1rem;height:3px;position:absolute;bottom:2px;left:calc(50% - .5rem)}.tool-color-toggle{place-items:center;width:.7rem;padding:0;display:grid}.tool-color-toggle .icon{width:.65rem;height:.65rem}.reader-body{background:#e9edf5;border-radius:.7rem;flex:1;min-height:0;margin:0 .8rem;position:relative;overflow:hidden}.pdf-scroll{overscroll-behavior:contain;scroll-behavior:auto;height:100%;padding:1.3rem;position:relative;overflow:auto}.pdf-page{isolation:isolate;background:#fff;flex:none;margin:0 auto 1.3rem;position:relative;box-shadow:0 .3rem 1.3rem #27386612}.page-canvas{z-index:0;width:100%;height:100%;position:absolute;inset:0}.pdf-page .textLayer{z-index:2}.textLayer ::selection{background:#8297ed60}.annotations{pointer-events:none;position:absolute;inset:0}.pdf-scroll.selecting-text .annotations *,.pdf-scroll.selecting-text .ink-layer{pointer-events:none!important}.pdf-scroll.selecting-text .annotations{-webkit-user-select:none;user-select:none}.mark{pointer-events:none;z-index:1;position:absolute}.mark-highlight{background:var(--mark-color);opacity:.38;mix-blend-mode:multiply}.mark-underline{border-bottom:1.5px solid var(--mark-color)}.mark-strike:after{content:"";border-top:1.5px solid var(--mark-color);position:absolute;inset:50% 0 auto}.ink-layer{z-index:4;touch-action:none;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.pdf-scroll[data-tool=pen] .ink-layer,.pdf-scroll[data-tool=shape] .ink-layer{cursor:crosshair}.pdf-scroll[data-tool=eraser] .ink-layer{cursor:cell}.pdf-scroll[data-tool=text] .ink-layer,.pdf-scroll[data-tool=note] .ink-layer{cursor:copy}.annotation-note,.annotation-text{z-index:5;pointer-events:auto;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;max-width:45%;line-height:1.45;position:absolute}.annotation-note{color:#765e24;background:#fffae5ee;border:1px solid #f4d883;border-radius:.35rem;padding:.6rem .8rem;font-size:.8rem;box-shadow:0 .3rem 1rem #60492016}.annotation-text{color:var(--annotation-color);background:0 0;padding:.15rem}.annotation-text:hover{background:#ece8ff70}.annotation-box{min-width:0;max-width:none}.annotation-box.is-selected,.annotation-box.is-editing{z-index:8;outline-offset:1px;outline:1.5px solid #6488e9}.annotation-text.is-editing{outline-style:dashed}.annotation-text.has-border{border:var(--annotation-stroke,1px) solid var(--annotation-color)}.annotation-note{border-width:var(--annotation-stroke,1px)}.annotation-note.is-emphasized{box-shadow:0 0 0 2px color-mix(in srgb, var(--annotation-color) 25%, transparent), 0 0 14px color-mix(in srgb, var(--annotation-color) 45%, transparent)}.note-anchor{border-bottom:1.5px solid var(--mark-color)}.annotation-content{font:inherit;line-height:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.annotation-input{width:100%;min-width:0;min-height:1.45em;font:inherit;line-height:inherit;color:inherit;box-shadow:none;resize:none;white-space:pre-wrap;overflow-wrap:anywhere;touch-action:auto;background:0 0;border:0;border-radius:0;outline:0;margin:0;padding:0;display:block;overflow:hidden}.annotation-input:focus{box-shadow:none;border:0}.annotation-resize,.annotation-move{touch-action:none;z-index:2;padding:0;display:none;position:absolute}.annotation-box.is-selected:not(.is-editing) .annotation-resize,.annotation-box.is-selected:not(.is-editing) .annotation-move{place-items:center;display:grid}.annotation-resize{cursor:ew-resize;background:0 0;width:24px;height:28px;top:calc(50% - 14px)}.annotation-resize:after{content:"";background:#fff;border:2px solid #6488e9;border-radius:50%;width:11px;height:11px}.annotation-resize.left{left:-13px}.annotation-resize.right{right:-13px}.annotation-move{cursor:grab;background:#6488e9;border-radius:50%;width:28px;height:28px;top:-33px;left:calc(50% - 14px)}.annotation-move .icon{filter:brightness(0)invert();opacity:1;width:18px;height:18px}.annotation-tools{z-index:40;border:1px solid var(--color-border);box-shadow:var(--shadow-floating);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:.65rem;align-items:center;gap:3px;padding:4px;transition:none;display:flex;position:absolute}.pdf-page:has(.annotation-box.is-selected){z-index:2}.open-pdf-menu{z-index:95;border:1px solid var(--color-border);border-radius:var(--radius-md);width:min(15rem,100vw - 16px);box-shadow:var(--shadow-floating);background:#fffffff5;padding:.4rem;position:fixed}.open-pdf-menu button{text-align:left;border-radius:.5rem;align-items:center;gap:.65rem;width:100%;padding:.7rem .85rem;font-size:.85rem;display:flex}.open-pdf-menu button:hover,.open-pdf-menu button:focus-visible{background:#f0edff}.open-document-tree button.tree-document{text-align:left;width:100%;color:var(--color-text);background:0 0}.open-document-tree button.tree-document:hover{background:#f0edff}.open-document-tree .tree-folder>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.open-document-tree [aria-expanded=false]>.icon:first-child{transform:rotate(-90deg)}#external-pdf-form .field+.field{margin-top:1rem}.pdf-filename-field{align-items:stretch;display:flex}.pdf-filename-field input{border-radius:.6rem 0 0 .6rem;flex:1;min-width:0}.pdf-filename-field>span{border:1px solid var(--color-border);color:var(--color-text-muted);background:#f0f1fa;border-left:0;border-radius:0 .6rem .6rem 0;place-items:center;padding:0 .8rem;display:grid}.external-pdf-status{align-items:center;gap:.5rem;display:flex}.external-pdf-status.error{color:#c04c5b}.annotation-tools .icon-button{border-radius:.4rem;width:30px;height:30px;min-height:0}.annotation-tools .icon{width:17px;height:17px}.annotation-tools .danger .icon{filter:invert(44%)sepia(56%)saturate(917%)hue-rotate(314deg)}.annotation-tools [aria-pressed=true]{background:#ece9ff}.annotation-shape-handle{z-index:3;pointer-events:auto;touch-action:none;cursor:grab;transform-origin:0;background:0 0;border:0;padding:0;position:absolute}.annotation-note,.annotation-text{touch-action:none;cursor:grab}.annotation-dragging,.annotation-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}.search-highlights{pointer-events:none;z-index:1;position:absolute;inset:0}.search-hit{opacity:.42;mix-blend-mode:multiply;pointer-events:none;background:#ffe88c;position:absolute}.pdf-navigation-tabs{flex:1;align-items:center;gap:.1rem;min-width:0;display:flex}.pdf-navigation-tabs button{white-space:nowrap;color:#9188a6;border-radius:.4rem;flex:1;padding:.4rem .25rem;font-size:.68rem}.pdf-navigation-tabs button.active{color:#7866cd;background:#ede8ff}.navigation-search-form{align-items:center;gap:.25rem;margin-bottom:.6rem;display:flex}.navigation-search-form input{flex:1;width:0;min-width:0;padding:.5rem .6rem;font-size:.78rem}.navigation-search-form button{flex:none;width:1.9rem;height:2.1rem}.search-filters{white-space:nowrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.search-filters .toggle-row{gap:.25rem;margin:0;font-size:.7rem}.search-filters .switch{width:1.7rem;height:1rem}.search-filters .switch:after{width:.72rem;height:.72rem;top:.14rem;left:.14rem}.search-filters input:checked+.switch:after{transform:translate(.7rem)}.navigation-search-status{color:#a29ab4;align-items:center;gap:.4rem;min-height:2.6rem;font-size:.7rem;display:flex}.search-results{flex-direction:column;gap:.2rem;display:flex}.search-result{text-align:left;border-radius:.45rem;align-items:center;gap:.45rem;min-width:0;padding:.6rem .4rem;font-size:.75rem;display:flex}.search-result:hover,.search-result:focus-visible{background:#f1eafb}.search-result>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-page{color:#9b8cb7;flex:none;min-width:1.1rem;font-size:.65rem}.reader-status{color:#9ba3b6;flex:none;justify-content:space-between;align-items:center;height:2.35rem;padding:0 1.3rem;font-size:.68rem;display:flex}.reader-status>span{align-items:center;gap:.4rem;display:flex}.reader-status .icon{opacity:.45;width:.85rem;height:.85rem}.drag-over:after{content:"松开即可导入 PDF";color:#6652d2;z-index:10;background:#f0edffec;border:2px dashed #8b7aee;border-radius:1rem;place-items:center;font-size:1.5rem;display:grid;position:absolute;inset:.5rem}.reader-empty{text-align:center;background:radial-gradient(at 30% 30%,#fafaff,#f0f3fb 75%);flex-direction:column;justify-content:center;align-items:center;padding:2rem;display:flex;position:absolute;inset:0}.empty-book{width:9.8rem;height:8rem;margin-bottom:1.1rem;position:relative}.empty-book:before{content:"";filter:blur(30px);background:#aca2ec30;border-radius:50%;position:absolute;inset:25% 0 0}.empty-book img{object-fit:contain;height:100%;position:relative;transform:rotate(-7deg)}.empty-caption{letter-spacing:.19em;color:#a1a4be;margin:1rem 0;font-size:.58rem}.reader-empty h1{color:#424466;letter-spacing:-.04em;margin-bottom:1rem;font-size:clamp(1.8rem,2.3vw,3rem);font-weight:620;line-height:1.5}.reader-empty>p{color:#969bb0;max-width:27rem;margin-bottom:1.6rem;font-size:.87rem}.upload-hint{color:#a6abbd;margin-top:1rem;font-size:.71rem}.empty-features{color:#989fb5;gap:1.7rem;margin-top:3rem;font-size:.75rem;display:flex}.empty-features>span{align-items:center;gap:.4rem;display:flex}.empty-features .icon{opacity:.42;width:1rem;height:1rem}.assistant-panel{flex-direction:column;padding:.8rem;display:flex}.assistant-header{flex:none;justify-content:space-between;align-items:center;gap:.6rem;padding:.4rem .2rem 1rem;display:flex}.segmented{background:#eceff688;border-radius:.8rem;align-items:center;gap:.1rem;min-width:0;padding:.22rem;display:flex}.segmented button{white-space:nowrap;color:#848b9f;border-radius:.6rem;padding:.65rem .9rem;font-size:.82rem}.segmented button:hover{background:#ffffff90}.segmented button.active{color:#fff;background:linear-gradient(120deg,#5e74fc,#7351ed);box-shadow:0 .25rem .8rem #685cf227}.translation-settings{color:#858b9e;white-space:nowrap;align-items:center;gap:.35rem;padding:.6rem .1rem;font-size:.77rem;display:flex}.translation-settings .icon{width:1rem;height:1rem}.translation-settings .icon:last-child{width:.7rem}.assistant-content{border:1px solid var(--color-border);background:#ffffffd9;border-radius:1rem;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:auto}.assistant-empty{text-align:center;color:#9299ae;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:3rem 1.8rem;display:flex}.empty-orbit{background:linear-gradient(140deg,#f0ebff,#eef4ff);border:1px solid #ebe8fb;border-radius:1.5rem;place-items:center;width:5rem;height:5rem;margin-bottom:1.7rem;display:grid;transform:rotate(-7deg)}.empty-orbit>img:not(.icon){object-fit:contain;width:3.8rem;height:3.8rem;transform:rotate(7deg)}.empty-orbit>.icon{width:2rem;height:2rem}.assistant-empty>.eyebrow{letter-spacing:.12em;color:#aaa8bd;font-size:.53rem}.assistant-empty h2{color:#666482;margin:.4rem 0 1rem;font-size:1.65rem;font-weight:550;line-height:1.7}.assistant-empty p{color:#a0a5b7;font-size:.83rem;line-height:1.9}.empty-tip{color:#a0a4ba;border-top:1px solid #f1f0f7;align-items:center;gap:.4rem;margin-top:.8rem;padding-top:1.3rem;font-size:.7rem;display:flex}.empty-tip .icon{opacity:.4;width:1rem;height:1rem}.assistant-bottom-note{color:#b1b5c6;justify-content:center;align-items:center;gap:.4rem;padding:1.4rem;font-size:.65rem;display:flex}.assistant-bottom-note .icon{opacity:.35;width:.85rem;height:.85rem}.selection-content{padding:1.5rem 1.6rem}.translation-section{padding:0 0 1.5rem}.translation-section+section{border-top:1px solid #edf0f6;padding-top:1.5rem}.translation-section header{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.translation-section header h3{margin:0;font-size:1.05rem}.section-tag{color:#a7abc0;letter-spacing:.1em;margin-left:.5rem;font-size:.57rem;font-weight:450}.translation-section header .icon-button{width:1.8rem;height:1.8rem}.translation-section header .icon{opacity:.42;width:1rem;height:1rem}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#5f687e;font-size:.9rem;line-height:1.65}.translation-footnote{color:#afb4c4;align-items:center;gap:.4rem;font-size:.7rem;display:flex}.translation-footnote .icon{width:.8rem;height:.8rem}.dictionary-heading{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.dictionary-heading strong{color:#43465e;font-size:1.8rem}.dictionary-heading>span{color:#929ab0;font-size:.85rem}.chinese-meaning{color:#6858c5;font-size:1.1rem}.word-meaning{margin-top:1.25rem}.part-of-speech{color:#8475cf;background:#f2eefe;border-radius:.35rem;padding:.25rem .55rem;font-size:.8rem;font-style:italic}.word-meaning li{margin:.6rem 0;line-height:1.7}.word-meaning .example{color:#9a9fb1;margin:.3rem 0;font-size:.85rem}.dictionary-credit{color:#a9afc0;border-top:1px solid #eff0f8;padding-top:1rem;font-size:.68rem}.error-card{color:#b25a60;overflow-wrap:anywhere;white-space:pre-wrap;background:#fff4f3;border:1px solid #f8dfdf;border-radius:.65rem;align-items:flex-start;gap:.6rem;margin:.7rem 0;padding:.9rem;font-size:.82rem;display:flex}.error-card .icon{width:1rem;height:1rem}.spinner{width:2.7rem;height:2.7rem;animation:spin var(--loading-spin-duration) linear infinite;border:3px solid #7364e9;border-color:#7364e9 #8b88f1 #e9e5fd #e9e5fd;border-radius:50%;flex:none;display:inline-block}.spinner.small{border-width:2px;width:1rem;height:1rem}.inline-loading{color:#999ab3;align-items:center;gap:.65rem;padding:1rem 0;font-size:.8rem;display:flex}@keyframes spin{to{transform:rotate(360deg)}}.field{flex-direction:column;gap:.5rem;min-width:0;margin-bottom:1.15rem;font-size:.82rem;display:flex}.field>span{color:#7a8398;font-weight:500}.field input,.field textarea{width:100%}.field-pair{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.input-row{align-items:center;gap:.4rem;display:flex}.input-row input{flex:1}.api-key-row input{min-width:0}.api-key-row>button{flex:none}.provider-add .select-menu{min-width:10rem;max-height:min(24rem,55dvh);left:auto;right:0}.provider-add .select-menu button{align-items:center;gap:.65rem;display:flex}.provider-logo{object-fit:contain;filter:none}.basic-providers{gap:.75rem;display:grid}.basic-provider{border:1px solid var(--color-border);border-radius:var(--radius-sm);background:#fafaff;overflow:hidden}.basic-summary{text-align:left;align-items:center;gap:.6rem;width:100%;padding:.9rem 1rem;display:flex}.basic-summary:hover{background:#f2f0fc}.basic-summary>.icon{width:1rem;transition:transform .2s}.basic-summary[aria-expanded=true]>.icon{transform:rotate(180deg)}.basic-provider-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.85rem;font-weight:600;overflow:hidden}.basic-provider-title small{color:var(--color-text-muted);font-size:.68rem;font-weight:400}.basic-status{color:var(--color-text-muted);white-space:nowrap;flex:none;align-items:center;gap:.3rem;font-size:.7rem;display:inline-flex}.basic-status i{background:#bbc0cc;border-radius:50%;width:.45rem;height:.45rem}.basic-status.connected{color:#24865e}.basic-status.connected i{background:#2fa779}.basic-status.failed{color:#c04c5b}.basic-status.failed i{background:#d7707e}.basic-provider-body{background:#fff;padding:.25rem 1rem 1rem}.basic-provider-body h4{margin:.5rem 0;font-size:.85rem;line-height:1.65}.basic-tutorial{color:var(--color-text-muted);font-size:.78rem;line-height:1.8}.basic-tutorial ol{padding-left:1.4rem}.basic-tutorial li+li{margin-top:.4rem}.basic-tutorial a{overflow-wrap:anywhere}.basic-tutorial a .icon{width:.8rem;height:.8rem;margin-left:.2rem}.basic-provider-body .field{margin-top:.85rem}.basic-test-detail{overflow-wrap:anywhere}.basic-actions{justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}.basic-actions .button{font-size:.78rem}.basic-quota-note,.onboarding-preference{margin-top:1rem}.toggle-row.onboarding-preference{justify-content:flex-end;gap:.8rem;width:max-content;max-width:100%;margin:1.1rem 0 0 auto}.toggle-row.onboarding-preference>span:first-child{flex:none}.api-heading-actions{flex:none;align-items:center;gap:.5rem;display:flex}.api-heading-actions>.button{padding-inline:.75rem;font-size:.78rem}.welcome-actions{justify-content:center}.onboarding-modal .welcome>p:not(.eyebrow){line-height:1.8}.onboarding-modal [data-author-link]{color:inherit;text-underline-offset:.2em}.onboarding-modal [data-author-link]:hover{color:var(--color-primary);text-decoration:underline}.modal-actions,.form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;margin-top:1.3rem;display:flex}.full-content{padding:1.6rem}.full-controls{opacity:1;grid-template-rows:1fr;transition:grid-template-rows .28s,opacity .2s;display:grid}.full-controls-inner{min-height:0}.full-controls.is-collapsed{opacity:0;grid-template-rows:0fr}.full-controls.is-collapsed .full-controls-inner{overflow:hidden}.full-summary{z-index:7;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--color-border);color:#817797;background:#fafafff5;align-items:center;gap:.65rem;min-height:2.9rem;margin:-1.6rem -1.6rem .9rem;padding:.35rem .7rem;font-size:.8rem;display:flex;position:sticky;top:0}.full-summary>[data-full-stage]{flex:1}.full-summary-progress{background:#e5defa;border-radius:1rem;width:2.4rem;height:.3rem;overflow:hidden}.full-summary-progress:before{content:"";border-radius:inherit;background:#9b8ade;width:100%;height:100%;display:block}.full-summary-progress.working:before{width:45%;animation:1.2s ease-in-out infinite alternate full-progress}.full-toggle .icon{transition:transform .2s}.full-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}@keyframes full-progress{to{transform:translate(125%)}}.panel-heading{text-align:center;padding:1rem 0 1.3rem}.panel-symbol{background:linear-gradient(135deg,#efebff,#edf2ff);border-radius:1.1rem;place-items:center;width:3.4rem;height:3.4rem;margin:0 auto 1.2rem;display:grid}.panel-symbol .icon{width:1.6rem;height:1.6rem}.panel-heading h2{font-size:1.18rem;font-weight:600}.panel-heading p{color:#a0a5b6;font-size:.8rem}.full-options{background:#f9faff;border:1px solid #edf0f8;border-radius:1rem;padding:1.1rem}.full-options .select-trigger{background:#fff}.progress-card{flex-direction:column;align-items:center;gap:.8rem;padding:1.2rem;display:flex}.progress-card strong{color:#8e87b4;font-size:.85rem;font-weight:500}.result-toolbar{color:#979caf;justify-content:space-between;align-items:center;gap:.5rem;margin:1.6rem 0 .8rem;font-size:.74rem;display:flex}.result-toolbar>div{display:flex}.full-result{padding-top:.7rem}.markdown{overflow-wrap:anywhere;color:#48516b;font-size:.94rem;line-height:1.9}.markdown p{line-height:1.9}.markdown h1{font-size:1.65rem}.markdown h2{font-size:1.4rem}.markdown h3{font-size:1.15rem}.markdown h1,.markdown h2,.markdown h3{color:#333f5b;margin-top:1.4em;line-height:1.5}.markdown h1:first-child,.markdown h2:first-child,.markdown h3:first-child{margin-top:0}.markdown blockquote{color:#838099;background:#f7f5fd;border-left:3px solid #b6a8f3;margin:1rem 0;padding:.25rem .9rem}.markdown table{border-collapse:collapse;width:100%;margin:1rem 0;font-size:.83rem;display:block;overflow:auto}.markdown th,.markdown td{border:1px solid #e5e8f0;min-width:5rem;padding:.5rem .8rem}.markdown th{background:#f4f3fc;font-weight:600}.markdown pre{background:#f7f8fc;border:1px solid #edf0f6;border-radius:.65rem;padding:1rem;font-size:.8rem;line-height:1.65;overflow:auto}.markdown code{background:#f1eef9;border-radius:.25rem;padding:.15rem .3rem;font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:.86em}.markdown pre code{font-size:inherit;background:0 0;padding:0}.markdown .katex-display{padding:.4rem 0;overflow:auto hidden}.markdown .katex{font-size:1.08em}.markdown ul,.markdown ol{padding-left:1.5rem}.markdown hr{border:0;border-top:1px solid #e8eaf2;margin:1.4rem 0}.markdown img{max-width:100%}.export-page{color:#26304a;z-index:-1;background:#fff;width:794px;padding:0 24px;font-size:16px;position:absolute;top:0;left:-10000px}.export-page>*{max-width:100%}.export-page .katex-display{overflow:visible}.export-page pre{white-space:pre-wrap}.export-page table{display:table}.chat-panel{flex-direction:column;flex:1;height:100%;min-height:0;padding:.9rem;display:flex}.chat-top{align-items:center;gap:.4rem;padding-bottom:.7rem;display:flex}.chat-top>div{flex:1;min-width:0}.chat-top .select-trigger{background:#f7f7fc;border:0;font-size:.82rem}.chat-context{color:#a0a6b8;white-space:nowrap;border-bottom:1px solid #f0f1f8;align-items:center;gap:.5rem;padding:.3rem .2rem .8rem;font-size:.67rem;display:flex}.chat-context>span:first-of-type{text-overflow:ellipsis;flex:1;overflow:hidden}.chat-context>.icon{opacity:.4;width:.85rem;height:.85rem}.context-dot{background:#a9c5b3;border-radius:50%;flex:none;width:.35rem;height:.35rem}.chat-messages{overscroll-behavior:contain;flex:1;min-height:0;padding:.8rem .2rem;overflow:auto}.chat-welcome{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100%;padding:1.5rem .5rem;display:flex}.ai-symbol{background:#f0eaff;border-radius:1.2rem;place-items:center;width:3.5rem;height:3.5rem;margin:0 auto 1rem;display:grid}.ai-symbol .icon{width:1.7rem;height:1.7rem}.chat-welcome h2{color:#5f5b81;font-size:1.35rem}.chat-welcome>p{color:#a0a4ba;font-size:.8rem}.suggestions{flex-direction:column;gap:.65rem;width:100%;margin-top:1.5rem;display:flex}.suggestions>button{text-align:left;color:#88829f;background:#fbfaff;border:1px solid #ebeaf5;border-radius:.75rem;align-items:center;gap:.5rem;padding:.85rem .7rem;font-size:.78rem;display:flex}.suggestions>button:hover{background:#f5f0ff;border-color:#c9bcf4}.suggestions>button .icon{opacity:.4;width:1rem;height:1rem}.suggestions>button .icon:last-child{width:.85rem;margin-left:auto}.chat-message{margin-bottom:1.2rem}.message-label{color:#989cb1;align-items:center;gap:.45rem;margin-bottom:.5rem;font-size:.7rem;display:flex}.message-label>.icon{width:.9rem;height:.9rem}.message-time{color:#b7bbca;margin-left:auto;font-size:.6rem}.message-body{background:#f9faff;border:1px solid #edf0f7;border-radius:.85rem;min-height:2.5rem;padding:1rem;font-size:.88rem}.message-body>:last-child{margin-bottom:0}.chat-message.user .message-body{background:#f0edff;border-color:#e9e3fd}.message-status{color:#b4858c;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:.35rem;font-size:.7rem;line-height:1.5}.chat-composer{background:#fff;border:1px solid #dad6f0;border-radius:.95rem;flex:none;padding:.75rem;box-shadow:0 .2rem 1rem #5e58a508}.chat-composer:focus-within{border-color:#a99bec;box-shadow:0 0 0 3px #a598ec0b}.chat-composer textarea{box-shadow:none;resize:none;background:0 0;border:0;width:100%;min-height:4.5rem;max-height:12rem;padding:.1rem .2rem;font-size:.85rem;line-height:1.7}.composer-bottom{align-items:center;gap:.5rem;display:flex}.composer-bottom>.custom-select{max-width:50%}.composer-bottom .select-trigger{background:#f6f5fc;border:0;min-height:2rem;padding:.4rem .6rem;font-size:.7rem}.composer-bottom .select-menu{top:auto;bottom:calc(100% + .5rem)}.composer-hint{color:#b1b3c4;margin-left:auto;font-size:.63rem}.composer-bottom>.icon-button{margin-left:auto}.chat-disclaimer{text-align:center;color:#b0b5c5;padding:.7rem .1rem 0;font-size:.61rem}.modal-backdrop{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);z-index:100;background:#33365635;justify-content:center;align-items:center;padding:1.5rem;animation:.18s fade-in;display:flex;position:fixed;inset:0}.anchored-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;display:block}.translation-popover{box-shadow:var(--shadow-floating);border-radius:.9rem;position:fixed}.translation-popover .modal-header{padding:.8rem 1rem}.translation-popover .modal-header .eyebrow{display:none}.translation-popover .modal-header h2{font-size:1rem}.translation-popover .modal-body{padding:.85rem 1rem}.translation-popover .field{gap:.35rem;margin-bottom:.75rem}.translation-popover .select-trigger{min-height:2.1rem;padding:.4rem .6rem;font-size:.8rem}.translation-popover .select-menu{border-radius:.55rem;max-width:100%;max-height:12rem;padding:.25rem}.translation-popover .select-menu button{text-overflow:ellipsis;padding:.45rem .6rem;font-size:.76rem;display:block;overflow:hidden}.translation-popover .note{margin:.4rem 0;font-size:.72rem}.translation-popover .modal-actions{margin-top:.7rem}.modal{background:#fdfdff;border:1px solid #ffffffb0;border-radius:1.5rem;flex-direction:column;width:min(35rem,100%);max-height:90dvh;display:flex;overflow:hidden;box-shadow:0 2rem 6rem #2f356b29}.modal.wide{width:min(61rem,100%)}.modal-header{border-bottom:1px solid #eeedf6;flex:none;justify-content:space-between;align-items:center;padding:1.6rem 1.9rem 1rem;display:flex}.modal-header .eyebrow{margin-bottom:.4rem;font-size:.55rem}.modal-header h2{margin:0;font-size:1.4rem}.modal-body{min-height:0;padding:1.6rem 1.9rem;overflow:auto}.settings-layout{grid-template-columns:10rem minmax(0,1fr);gap:2rem;min-height:32rem;display:grid}.settings-nav{border-right:1px solid #eeedf7;flex-direction:column;gap:.4rem;padding-right:1.25rem;display:flex}.settings-nav>.button{background:0 0;border-color:#0000;justify-content:flex-start;padding:.7rem .75rem;font-size:.82rem;font-weight:450}.settings-nav>.button.active{color:#7564ce;background:#eeebff}.settings-nav>.button.active .icon{opacity:.85}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-heading h3{margin-bottom:.4rem}.section-heading p{color:#9aa1b6;font-size:.78rem}.provider-chips{flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.4rem;display:flex}.provider-chip{border:1px solid #e4e5f0;border-radius:.6rem;align-items:center;gap:.4rem;padding:.5rem .7rem;font-size:.78rem;display:flex}.provider-chip .icon{width:1rem;height:1rem}.provider-chip.active{color:#7260c2;background:#f4efff;border-color:#beb1f3}.provider-chip .badge{font-size:.55rem}.settings-form .field{margin-bottom:1rem}.settings-footer{border-top:1px solid #f0eef7;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-top:1.5rem;padding-top:1rem;display:flex}.settings-footer .button{font-size:.78rem}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;margin:1.1rem 0;font-size:.84rem;display:flex;position:relative}.toggle-row>span:first-child{flex:1}.toggle-row small{color:#a0a5b7;margin-top:.35rem;font-size:.7rem;line-height:1.5;display:block}.toggle-row input{opacity:0;width:2.4rem;height:1.4rem;margin:0;position:absolute;right:0}.switch{pointer-events:none;background:#dedfea;border-radius:2rem;flex:none;width:2.4rem;height:1.4rem;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:1.04rem;height:1.04rem;transition:transform .2s;position:absolute;top:.18rem;left:.18rem;box-shadow:0 2px 4px #1f21421a}.toggle-row input:checked+.switch{background:#8272e6}.toggle-row input:checked+.switch:after{transform:translate(1rem)}.toggle-row input:focus-visible+.switch{outline-offset:3px;outline:2px solid #8272e6}.archive-card{background:#f4f3fc;border:1px solid #ebe8f8;border-radius:1rem;align-items:center;gap:1rem;margin:1.5rem 0;padding:1.25rem;display:flex}.archive-card>.icon{opacity:.5;width:2rem;height:2rem}.archive-card h4{margin:0 0 .25rem;font-size:.95rem}.archive-card p{color:#9699b1;margin:0;font-size:.75rem}.help-list{color:#8b91a5;font-size:.85rem}.help-list b{color:#657089;line-height:2.5}.inline-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:20rem;font-size:.85rem;display:flex}.inline-empty>.icon{opacity:.3;width:3rem;height:3rem;margin-bottom:1.5rem}.model-list{max-height:12rem;box-shadow:var(--shadow-card);background:#fff;border:1px solid #e5e1f2;border-radius:.65rem;padding:.5rem;overflow:auto}.model-list button{text-align:left;border-radius:.4rem;width:100%;padding:.5rem;font-size:.8rem;display:block}.model-list button:hover{background:#efebfe}.welcome{text-align:center;padding:.5rem 0 2rem}.welcome-symbol{background:linear-gradient(145deg,#8178f1,#5c68e9);border-radius:1.3rem;place-items:center;width:4.3rem;height:4.3rem;margin:.5rem auto 1.5rem;display:grid;box-shadow:0 .5rem 2rem #847af139}.welcome-symbol>.icon{filter:brightness(0)invert();opacity:1;width:2.2rem;height:2.2rem}.welcome>.eyebrow{margin:1.4rem 0 .7rem;font-size:.6rem}.welcome>h2{color:#555170;font-size:1.85rem}.welcome>p:not(.eyebrow){color:#a0a1b3;font-size:.9rem}.welcome-features{color:#918ca5;justify-content:center;gap:1.5rem;margin-top:1.6rem;font-size:.75rem;display:flex}.welcome-features>span{align-items:center;gap:.4rem;display:flex}.welcome-features .icon{opacity:.5;width:1rem;height:1rem}.onboarding-actions{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.onboarding-actions>.button{font-size:.8rem}.step-label{color:#a7a7ba;justify-content:space-between;margin-bottom:1.5rem;font-size:.7rem;display:flex}.step-label>span{color:#c4c2d5}.preset-grid{grid-template-columns:repeat(2,1fr);gap:.6rem;margin-bottom:1.5rem;display:grid}.preset{border:1px solid #e6e4f2;border-radius:.7rem;align-items:center;gap:.6rem;padding:.9rem .7rem;font-size:.8rem;display:flex}.preset.active{color:#7664cf;background:#f1edff;border-color:#b9aff1}.preset .icon{width:1.1rem}.color-popover{z-index:90;box-shadow:var(--shadow-floating);background:#fff;border:1px solid #ebe8f4;border-radius:.9rem;width:15rem;padding:1rem;position:fixed}.color-popover>span{color:#9398af;margin-bottom:.8rem;font-size:.75rem;display:block}.color-popover .color-swatches{gap:.55rem;display:flex}.color-popover .color-swatches button{background:var(--swatch);border:2px solid #fff;border-radius:50%;width:1.7rem;height:1.7rem;padding:.3rem;box-shadow:0 0 0 1px #e9e8ef}.color-popover .color-swatches button.selected{box-shadow:0 0 0 2px #9890d8}.color-popover .icon{width:100%;height:100%}.color-popover .shape-options{grid-template-columns:repeat(4,1fr);gap:.45rem;margin-bottom:1rem;display:grid}.shape-options button{border:1px solid var(--color-border);background:#f8f8fd;border-radius:.5rem;height:2.4rem;padding:.5rem}.shape-options button.selected{background:#eee9ff;border-color:#aa9ce9}.shape-options .icon{width:1.25rem;height:1.25rem}.tool-size-label{color:#9398af;margin:1rem 0 .45rem;font-size:.75rem;display:block}.tool-size-row{align-items:center;gap:.65rem;display:flex}.tool-size-row output{text-align:right;color:#776a9d;font-variant-numeric:tabular-nums;min-width:3rem;font-size:.75rem}.tool-size-slider{appearance:none;min-width:0;height:1.5rem;box-shadow:none;cursor:ew-resize;background:0 0;border:0;flex:1;margin:0;padding:0}.tool-size-slider::-webkit-slider-runnable-track{background:linear-gradient(to right, #8975e8 var(--range-fill), #e9e5f5 var(--range-fill));border-radius:1rem;height:.35rem}.tool-size-slider::-webkit-slider-thumb{appearance:none;background:#8975e8;border:2px solid #fff;border-radius:50%;width:1rem;height:1rem;margin-top:-.325rem;box-shadow:0 1px 5px #6f60b64d}.tool-size-slider::-moz-range-track{background:#e9e5f5;border-radius:1rem;height:.35rem}.tool-size-slider::-moz-range-progress{background:#8975e8;border-radius:1rem;height:.35rem}.tool-size-slider::-moz-range-thumb{background:#8975e8;border:2px solid #fff;border-radius:50%;width:.75rem;height:.75rem;box-shadow:0 1px 5px #6f60b64d}.tool-size-slider:focus-visible{outline-offset:3px;outline:2px solid #b5a9f1}.message-thinking{color:#8b80aa;align-items:center;gap:.65rem;min-height:1.7rem;font-size:.85rem;display:flex}.icon-spin{animation:spin var(--loading-spin-duration) linear infinite}.icon-button[aria-busy=true]{opacity:1;color:#7d6bcc;cursor:progress;background:#f0ecff}.pdf-navigation{background:#ffffffb8;border:1px solid #fff;border-radius:1rem;flex-direction:column;min-width:0;min-height:0;margin-right:.6rem;display:flex;overflow:hidden}.pdf-navigation-header{border-bottom:1px solid var(--color-border);flex:none;justify-content:space-between;align-items:center;gap:.3rem;padding:.65rem .65rem .5rem;display:flex}.pdf-navigation-header strong{color:#7f7795;font-size:.8rem;font-weight:550}.pdf-navigation-header .icon-button{width:1.8rem;height:1.8rem}.pdf-navigation-header .icon{width:.95rem;height:.95rem}.pdf-navigation-content{overscroll-behavior:contain;min-height:0;padding:.7rem;overflow:auto}.pdf-thumbnail{background:#f1f2f8;border:1px solid #0000;border-radius:.65rem;flex-direction:column;align-items:center;gap:.5rem;width:100%;margin-bottom:.7rem;padding:.6rem;display:flex}.pdf-thumbnail.active{background:#eee9fc;border-color:#a597ed}.pdf-thumbnail:hover{background:#e8e5f6}.thumbnail-paper{aspect-ratio:.77;background:#fff;border-radius:.15rem;place-items:center;width:100%;display:grid;overflow:hidden;box-shadow:0 .1rem .4rem #49507215}.thumbnail-paper>.icon{opacity:.2;width:2rem;height:2rem}.thumbnail-paper>img:not(.icon){width:100%;height:auto;display:block}.thumbnail-label{color:#9991af;font-size:.72rem}.pdf-bookmark{text-align:left;width:100%;padding:.65rem .4rem .65rem calc(.25rem + var(--bookmark-depth) * .6rem);overflow-wrap:anywhere;border-radius:.5rem;align-items:flex-start;gap:.5rem;font-size:.8rem;line-height:1.6;display:flex}.pdf-bookmark:hover{background:#eeebfb}.pdf-bookmark .icon{opacity:.4;width:.95rem;height:.95rem;margin-top:.2rem}.navigation-empty{text-align:center;color:#a5a1b7;justify-content:center;align-items:center;gap:.5rem;padding:1.5rem .3rem;font-size:.78rem;line-height:1.8;display:flex}#toast-root{z-index:200;pointer-events:none;flex-direction:column;align-items:center;gap:.6rem;max-width:min(42rem,90vw);display:flex;position:fixed;bottom:2rem;left:50%;transform:translate(-50%)}.toast{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);box-shadow:var(--shadow-floating);overflow-wrap:anywhere;pointer-events:auto;background:#ffffffed;border:1px solid #e3e1f1;border-radius:.8rem;align-items:center;gap:.6rem;padding:.9rem 1.2rem;font-size:.82rem;line-height:1.6;animation:.18s fade-in;display:flex}.toast.error{color:#b25a69;border-color:#f2ccd3}.toast .icon{width:1.1rem;height:1.1rem}.toast span{min-width:0}@keyframes fade-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.library-view{height:100%;box-shadow:var(--shadow-card);background:#ffffff8c;border:1px solid #fff;border-radius:1.5rem;padding:2.5rem 3rem;overflow:auto}.library-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.library-header h1{color:#44475f;margin-bottom:.6rem;font-size:2.1rem}.library-header p:not(.eyebrow){color:#999fb4;font-size:.9rem}.count-badge{color:#8a7bd0;vertical-align:middle;background:#ebe8fa;border-radius:.6rem;margin-left:.45rem;padding:.3rem .65rem;font-size:1rem}.library-tools{justify-content:space-between;align-items:center;gap:1rem;margin:1.8rem 0 1.4rem;display:flex}.library-tools>span{color:#a0a7b9;font-size:.75rem}.search-field{background:#fff;border:1px solid #e6e8f2;border-radius:.75rem;align-items:center;gap:.6rem;width:min(24rem,100%);padding:0 .9rem;display:flex}.search-field .icon{opacity:.35;width:1.05rem;height:1.05rem}.search-field input{box-shadow:none;background:0 0;border:0;width:100%;padding:.8rem 0;font-size:.85rem}.document-grid{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1.3rem;display:grid}.library-card{background:#fff;border:1px solid #e7e8f2;border-radius:1rem;transition:box-shadow .2s,transform .2s;position:relative;overflow:hidden;box-shadow:0 .2rem .8rem #37486705}.library-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.batch-actions{gap:.45rem;display:inline-flex}.batch-actions .danger,[data-action=confirm-delete]{color:#d25466;background:#fff0f1;border-color:#f1ccd2}.library-breadcrumbs{color:#9b93b0;flex-wrap:wrap;align-items:center;gap:.35rem;margin:.8rem 0;font-size:.8rem;display:flex}.library-breadcrumbs button{border-radius:.45rem;align-items:center;gap:.4rem;padding:.35rem .5rem;display:flex}.library-breadcrumbs button:hover{background:#eee9fc}.library-breadcrumbs>.icon{opacity:.35;width:.8rem;height:.8rem}.library-view-tools{align-items:center;gap:.4rem;min-width:0;display:flex}.library-view-tools .custom-select{width:10rem}.library-view-tools .segmented .icon-button{padding:.45rem}.library-selection-status{color:#a299b3;margin-bottom:.8rem;font-size:.73rem}.library-check{z-index:2;background:#ffffffd9;border:1px solid #c8c3dc;border-radius:.45rem;place-items:center;width:1.7rem;height:1.7rem;display:grid;position:absolute;top:.65rem;left:.65rem}.library-check[aria-checked=true]{background:#8371e8;border-color:#8371e8}.library-check .icon{filter:brightness(0)invert();opacity:1;width:1rem;height:1rem}.library-card.selected{border-color:#ad9eea;box-shadow:0 0 0 2px #ebe6fb}.folder-card .document-cover{background:linear-gradient(140deg,#f4efff,#f2f5fc)}.folder-card .document-cover>.icon{opacity:.4}.document-grid.library-list{flex-direction:column;gap:.55rem;display:flex}.library-list .library-card{align-items:center;gap:.9rem;padding:.65rem .9rem;display:flex}.library-list .library-check{flex:none;position:static}.library-list .document-cover{border-radius:.55rem;flex:none;width:3rem;height:3rem}.library-list .document-cover>.icon{width:1.5rem;height:1.5rem}.library-list .document-cover>span,.library-list .document-cover>small{display:none}.library-list .library-card-body{flex:1;grid-template-columns:minmax(0,1fr) auto minmax(10rem,auto);align-items:center;gap:1rem;min-width:0;padding:0;display:grid}.library-list .library-document-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.library-list .library-card-body>p{white-space:nowrap;margin:0}.library-list .library-card-body footer{border:0;gap:.8rem;padding:0}.folder-tree{border:1px solid var(--color-border);background:#fafaff;border-radius:.75rem;max-height:24rem;padding:.5rem;overflow:auto}.tree-folder,.tree-document{text-align:left;width:100%;padding:.55rem .6rem .55rem calc(.6rem + var(--depth,0) * 1rem);border-radius:.5rem;align-items:center;gap:.5rem;min-width:0;font-size:.82rem;display:flex}.tree-folder.active{color:#7660c8;background:#ede8ff}.tree-folder:hover:not(:disabled){background:#f0edfc}.tree-document{color:#a7a6b8;font-size:.74rem}.tree-document>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-document .icon{opacity:.3;width:1rem;height:1rem}.folder-create-row{align-items:center;gap:.6rem;margin-top:1rem;display:flex}.folder-create-row input{flex:1;min-width:0}.delete-object-list{overflow-wrap:anywhere;max-height:17rem;padding-left:1.3rem;font-size:.85rem;line-height:1.8;overflow:auto}.document-tabs[aria-busy=true]{cursor:progress}.library-card:hover{transform:translateY(-3px);box-shadow:0 .8rem 1.8rem #53517b0d}.document-cover{background:linear-gradient(140deg,#f3f1fe,#f2f5ff);flex-direction:column;justify-content:center;align-items:center;gap:.6rem;width:100%;height:10rem;display:flex;position:relative}.document-cover>.icon{opacity:.17;width:3.8rem;height:3.8rem}.document-cover>span{letter-spacing:.2em;color:#a7a3c3;font-size:.6rem}.document-cover>small{color:#8e7abc;background:#fff;border:1px solid #e4dff6;border-radius:.45rem;padding:.3rem .5rem;font-size:.6rem;position:absolute;top:.8rem;right:.8rem}.library-card-body{padding:1.1rem}.library-document-name{text-align:left;overflow-wrap:anywhere;padding:0;font-size:.93rem;font-weight:600;line-height:1.6}.library-card-body>p{color:#a7adbc;margin:.5rem 0 .8rem;font-size:.75rem}.library-card-body>p span{margin:0 .35rem}.library-card-body footer{color:#b0b5c4;border-top:1px solid #f2f2f7;justify-content:space-between;align-items:center;padding-top:.5rem;font-size:.66rem;display:flex}.library-card-body footer .icon-button{width:1.8rem;height:1.8rem}.library-card-body footer .icon{opacity:.38;width:1rem;height:1rem}.library-empty{color:#a3a6ba;text-align:center;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;min-height:25rem;display:flex}.library-empty>.icon{opacity:.2;width:4rem;height:4rem;margin-bottom:1.5rem}.library-empty>h2{color:#777a94;font-size:1.4rem}.library-empty>p{font-size:.85rem}.record-list{flex-direction:column;gap:.8rem;margin-top:2rem;display:flex}.record-card{text-align:left;background:#fff;border:1px solid #e9e7f3;border-radius:1rem;align-items:center;gap:1.2rem;padding:1.2rem 1.5rem;display:flex}.record-card>div{flex:1}.record-card strong{font-size:.9rem}.record-card p{color:#aaaabc;margin:.4rem 0 0;font-size:.75rem}.record-card>.icon{opacity:.35}.record-card:hover{background:#f6f3ff}.resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.mobile-header,.mobile-nav{display:none}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.spinner,.icon-spin{animation-duration:1.8s!important;animation-iteration-count:infinite!important}}@media (min-width:961px){#provider-form .field input:not([type=checkbox]){padding:.55rem .8rem}#provider-form .select-trigger{min-height:2.2rem;padding:.45rem .7rem}.onboarding-modal{width:min(44rem,100vw - 2rem)}.onboarding-modal .welcome-actions{justify-content:center;gap:.8rem}.basic-default{margin-bottom:1.4rem}.basic-summary{min-height:3.3rem}#app{background:radial-gradient(at 90% 0,#efedfc80,#0000 50%),linear-gradient(120deg,#f3f6fe,#f8f9fc);grid-template-columns:6.8rem minmax(0,1fr);height:100dvh;padding:.9rem .9rem .9rem 0;display:grid}.sidebar{flex-direction:column;align-items:stretch;gap:2.3rem;padding:.9rem .65rem .65rem;display:flex}.brand{text-align:center;flex-direction:column;justify-content:center;gap:.7rem}.brand-name{letter-spacing:.15em;font-size:.98rem}.brand-name>span{letter-spacing:.07em;margin-top:.3rem;font-size:.37rem}.main-nav{flex-direction:column;gap:.8rem;display:flex}.sidebar .nav-item{border-radius:.9rem;flex-direction:column;gap:.55rem;min-height:5rem;padding:.9rem .35rem;font-size:.75rem}.sidebar .nav-item .icon{width:1.5rem;height:1.5rem}.sidebar-bottom{flex-direction:column;align-items:stretch;gap:.3rem;margin-top:auto;display:flex}.sidebar-bottom .nav-item{min-height:4rem;padding:.65rem .3rem;font-size:.68rem}.sidebar-bottom .nav-item .icon{width:1.25rem;height:1.25rem}.version{align-self:center;margin:.8rem 0 0}.main-shell{min-width:0;min-height:0}.workspace{grid-template-columns:minmax(0, var(--reader-share)) .65rem minmax(0, 1fr);height:100%;display:grid}.split-handle{cursor:col-resize;outline-offset:-2px;position:relative}.split-handle:after{content:"";opacity:0;background:#c8c6dc;border-radius:2px;width:2px;height:2.4rem;transition:opacity .2s;position:absolute;top:calc(50% - 1.2rem);left:calc(50% - 1px)}.split-handle:hover:after,.split-handle:focus:after{opacity:1}:root[data-pdf-nav][data-view=reader] #app{grid-template-columns:3.8rem minmax(0,1fr)}:root[data-pdf-nav][data-view=reader] .workspace{--navigation-width:clamp(10rem, 13vw, 14rem);grid-template-columns:var(--navigation-width) minmax(0, calc(var(--reader-share) - var(--navigation-width))) .65rem minmax(0, 1fr)}:root[data-pdf-nav][data-view=reader] .sidebar{gap:1.5rem;padding:.8rem .35rem}:root[data-pdf-nav][data-view=reader] .sidebar .brand-name,:root[data-pdf-nav][data-view=reader] .sidebar .nav-item>span,:root[data-pdf-nav][data-view=reader] .sidebar .version{display:none}:root[data-pdf-nav][data-view=reader] .sidebar .nav-item{min-height:3.1rem;padding:.6rem .3rem}:root[data-pdf-nav][data-view=reader] .sidebar .nav-item .icon{width:1.35rem;height:1.35rem}:root[data-pdf-nav=search][data-view=reader] .workspace{--navigation-width:clamp(12rem, 15vw, 16rem)}}@media (min-width:961px) and (max-width:1450px){.toolbar{scrollbar-width:thin;overflow:auto visible}.toolbar .select-menu{min-width:8rem;margin-top:.3rem;position:fixed;top:auto;left:auto}.toolbar .extra-tools{margin-left:.2rem}.toolbar-spacer,.translation-settings span{display:none}.segmented button{padding:.6rem .65rem}.assistant-header{gap:.3rem}.assistant-panel{padding:.65rem}.reader-empty .empty-features{gap:1.2rem}}@media (min-width:2100px){:root{font-size:16px}.sidebar{padding-top:1.5rem}.workspace{grid-template-columns:minmax(0, var(--reader-share)) .85rem minmax(0, 1fr)}.assistant-header{padding:.7rem .5rem 1.1rem}.selection-content{padding:2rem}.reader-body{margin:0 1rem}.document-bar{min-height:3.6rem;padding:.55rem 1rem}.document-tab{max-width:22rem}.toolbar{margin:0 1rem .8rem;padding:.5rem .8rem}.reader-empty h1{font-size:3rem}.empty-book{width:12rem;height:10rem}}@media (min-width:961px){.api-key-row [data-action=get-api-key]{padding-inline:.8rem}}@media (max-width:960px){.document-bar>.open-pdf{display:none}.open-pdf-menu button,.open-document-tree button{min-height:2.9rem}#provider-form .field input:not([type=checkbox]){padding:.6rem .75rem}#provider-form .select-trigger{min-height:2.4rem;padding:.5rem .7rem}.annotation-tools{gap:4px}.annotation-tools .icon-button{width:36px;height:36px}.annotation-resize{width:32px;height:36px;top:calc(50% - 18px)}.annotation-resize.left{left:-17px}.annotation-resize.right{right:-17px}.annotation-move{width:32px;height:32px;top:-37px;left:calc(50% - 16px)}#settings-content>.section-heading:has(.api-heading-actions){flex-wrap:wrap;gap:.85rem}.api-heading-actions{margin-left:auto}.onboarding-modal .welcome-actions{justify-content:center}.onboarding-modal .welcome>h2{font-size:clamp(1.2rem,4.6vw,1.5rem);line-height:1.5}.onboarding-modal .welcome>p:not(.eyebrow){font-size:.8rem}.basic-default{margin-bottom:1rem}.basic-summary{gap:.4rem;min-height:3.25rem;padding:.85rem .65rem}.basic-provider-title{font-size:.77rem}.basic-provider-title small{font-size:.64rem}.basic-provider-body{padding-inline:.75rem}.basic-actions .button{flex:1;padding-inline:.45rem}.library-header,.library-tools{flex-wrap:wrap}.library-actions{justify-content:flex-start;width:100%}.library-actions .button{min-height:2.8rem;font-size:.72rem}.library-view-tools{justify-content:flex-end;width:100%}.library-check{width:2.2rem;height:2.2rem;top:.45rem;left:.45rem}.library-list .library-card{gap:.55rem;padding:.65rem}.library-list .library-card-body{grid-template-columns:minmax(0,1fr) auto;gap:.4rem}.library-list .library-card-body footer{grid-column:1/-1}.library-list .document-cover{width:2.4rem;height:2.4rem}.folder-create-row{flex-wrap:wrap}.folder-create-row input{flex-basis:100%;width:100%}:root{font-size:14px}#app{height:var(--viewport-height,100dvh);background:linear-gradient(145deg,#f6f6fe,#f2f5fc)}.sidebar{display:none}.main-shell{flex-direction:column;height:100%;min-height:0;display:flex}.mobile-header{border-bottom:1px solid #e9e7f380;flex:none;justify-content:space-between;align-items:center;height:3.9rem;padding:.6rem 1.1rem;display:flex}.mobile-header>span{color:#696082;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:650;display:flex}.mobile-header>span .icon{opacity:.6;width:1.4rem;height:1.4rem}.mobile-header>.icon-button{color:#7563cd;background:#ebe6fc}.workspace{flex:1;gap:0;min-height:0;padding:.55rem .6rem;display:flex;position:relative}.mobile-layout[data-mobile-pane=assistant] .pdf-navigation{display:none}.pdf-navigation{z-index:12;width:min(19rem,100% - 1.6rem);height:min(35rem,100% - 9rem);max-height:calc(100% - 9rem);box-shadow:var(--shadow-floating);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-radius:.7rem;margin-right:.3rem;position:absolute;top:7.7rem;left:.8rem}.pdf-navigation-header{padding:.45rem .3rem}.pdf-navigation-header strong{font-size:.7rem}.pdf-navigation-header .icon-button{width:1.6rem}.pdf-navigation-content{padding:.35rem}.pdf-thumbnail{margin-bottom:.45rem;padding:.3rem}.pdf-bookmark{gap:.25rem;font-size:.72rem}.pdf-bookmark .icon{display:none}.tool-size-slider{height:2rem}.tool-size-slider::-webkit-slider-thumb{width:1.3rem;height:1.3rem;margin-top:-.475rem}.tool-size-slider::-moz-range-thumb{width:1rem;height:1rem}.split-handle{display:none}.reader-panel,.assistant-panel{width:100%;box-shadow:none;border-radius:1rem}.reader-panel{flex:1}.assistant-panel{flex:1;padding:.5rem}.mobile-layout[data-mobile-pane=reader] .assistant-panel,.mobile-layout[data-mobile-pane=assistant] .reader-panel{display:none}.document-bar{gap:.45rem;min-height:3.7rem;padding:.35rem .5rem}.document-tab{border-radius:.65rem;min-width:11rem;max-width:18rem;min-height:3.15rem;padding:0 .2rem 0 .5rem}.pdf-miniature{width:1.8rem;height:2.3rem}.pdf-miniature .icon{width:1rem}.tab-caption strong{font-size:.74rem}.tab-caption small{font-size:.62rem}.tab-close{width:3.15rem;height:3.15rem}.tab-main{min-height:3.15rem}.open-pdf{height:3.15rem;padding:.6rem;font-size:.7rem}.open-pdf>span{display:none}.open-pdf .icon{width:1.1rem;height:1.1rem}.toolbar{border-radius:.6rem;flex:none;gap:.25rem;min-height:3rem;margin:0 .5rem .5rem;padding:.35rem;overflow:auto hidden}.toolbar .select-trigger{min-width:6rem;font-size:.71rem}.toolbar .select-menu{min-width:8rem;margin-top:.3rem;position:fixed;top:auto;left:.9rem}.toolbar .icon-button{width:1.9rem;height:2rem}.toolbar input{width:2.2rem;font-size:.75rem}.total-pages{font-size:.7rem}.toolbar-spacer{display:none}.toolbar-group{gap:.1rem}.toolbar-divider{margin:0 .2rem}.tool-main{width:1.9rem}.reader-body{border-radius:.5rem;margin:0 .5rem}.pdf-scroll{padding:1rem}.reader-status{height:2.1rem;padding:0 .8rem;font-size:.59rem}.reader-status .icon{width:.75rem;height:.75rem}.reader-empty{padding:1.5rem .8rem}.reader-empty h1{font-size:2rem;line-height:1.6}.reader-empty>p{max-width:21rem;font-size:.79rem}.empty-book{width:7.5rem;height:6.5rem;margin-bottom:0}.empty-caption{letter-spacing:.12em;font-size:.5rem}.reader-empty .button.large{min-height:3.1rem;font-size:.85rem}.upload-hint{font-size:.62rem}.empty-features{gap:1.2rem;margin-top:2rem;font-size:.69rem}.empty-features .icon{width:.9rem;height:.9rem}.mobile-nav{padding:.4rem .5rem max(.45rem, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffbf;border-top:1px solid #e6e6f3;flex:none;justify-content:space-around;align-items:center;gap:.3rem;min-height:4.3rem;display:flex}.mobile-nav>button{color:#a2a5b8;background:0 0;border:0;border-radius:.65rem;flex-direction:column;flex:1;align-items:center;gap:.3rem;min-height:3.2rem;padding:.45rem .25rem;font-size:.66rem;font-weight:500;display:flex}.mobile-nav>button>.icon{opacity:.5;width:1.25rem;height:1.25rem}.mobile-nav>button.active{color:#7863d7;background:#eeebfc}.mobile-nav>button.active>.icon{opacity:.8}.assistant-header{gap:.3rem;padding:.35rem .1rem .8rem}.segmented{flex:1;justify-content:space-between}.segmented button{flex:1;padding:.65rem .35rem;font-size:.8rem}.translation-settings{padding:.5rem .35rem}.translation-settings span,.translation-settings .icon:last-child{display:none}.assistant-content{border-radius:.8rem}.assistant-empty{padding:2rem 1rem}.assistant-empty h2{font-size:1.6rem}.assistant-bottom-note{padding:1rem;font-size:.6rem}.selection-content{padding:1.25rem}.source-text{font-size:.86rem;line-height:1.6}.translation-section header h3{font-size:1rem}.section-tag{font-size:.52rem}.full-content{padding:1rem}.full-summary{margin:-1rem -1rem .7rem;padding:.35rem .65rem}.full-summary .icon-button{width:2.8rem;height:2.8rem}.translation-popover.modal{border-radius:.9rem;width:min(360px,100vw - 20px)}.translation-popover .modal-header{padding:.7rem .9rem}.translation-popover .modal-body{padding:.75rem .9rem}.translation-popover .select-menu button{min-height:2.4rem;padding:.5rem .6rem}.panel-heading{padding:.7rem 0}.panel-heading h2{font-size:1.15rem}.panel-heading p{font-size:.72rem}.full-options{padding:1rem}.full-options .field{margin-bottom:.85rem}.chat-panel{padding:.7rem}.chat-welcome{padding:1rem .4rem}.chat-welcome h2{font-size:1.3rem}.chat-composer textarea{min-height:4.2rem;font-size:.9rem}.composer-hint{font-size:.6rem}.chat-disclaimer{font-size:.58rem}.chat-context{font-size:.61rem}.modal-backdrop{align-items:center;padding:.7rem}.modal,.modal.wide{max-height:calc(var(--viewport-height,100dvh) - 1.4rem);border-radius:1.25rem;width:min(100%,42rem)}.modal-header{padding:1.2rem 1.25rem .9rem}.modal-header h2{font-size:1.3rem}.modal-body{padding:1.15rem 1.25rem}.settings-layout{grid-template-columns:minmax(0,1fr);gap:1.2rem;min-height:0}.settings-nav{border:0;border-bottom:1px solid #eae8f4;flex-direction:row;gap:.2rem;padding:0 0 .8rem;overflow:auto}.settings-nav>.button{flex:1;gap:.35rem;min-height:2.5rem;padding:.6rem .5rem;font-size:.72rem}.settings-nav>.button .icon{width:1rem;height:1rem}.settings-nav>.button span{white-space:nowrap}.section-heading h3{font-size:1rem}.section-heading .button{min-height:2.3rem;font-size:.75rem}.settings-footer .button{font-size:.72rem}.settings-footer{gap:.4rem}.field-pair{gap:.7rem}.field{font-size:.8rem}.field input{padding:.8rem}.toggle-row{font-size:.78rem}.toggle-row small{font-size:.65rem}.onboarding-actions{flex-wrap:wrap}.onboarding-actions .button{min-height:2.7rem;padding:.65rem .8rem;font-size:.75rem}.welcome{padding:.3rem 0 1.5rem}.welcome>h2{font-size:1.6rem}.welcome-features{gap:1rem;font-size:.7rem}.welcome-symbol{width:3.8rem;height:3.8rem}.step-label{font-size:.6rem}.preset{font-size:.75rem}.library-view{border:0;border-radius:1rem;flex:1;height:auto;min-height:0;margin:.5rem;padding:1.3rem 1rem}.library-header h1{font-size:1.7rem}.library-header p:not(.eyebrow){font-size:.73rem}.library-header .button{padding:.6rem .8rem;font-size:.72rem}.library-header .eyebrow{font-size:.52rem}.library-tools{margin:1rem 0}.library-tools>span{display:none}.search-field{width:100%}.document-grid{grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:.8rem}.document-cover{height:7.5rem}.document-cover>.icon{width:3rem;height:3rem}.library-card-body{padding:.8rem}.library-document-name{font-size:.8rem}.library-card-body>p{font-size:.65rem}.library-card-body footer{flex-wrap:wrap;font-size:.59rem}.record-card{gap:.8rem;padding:1rem}.record-card strong{font-size:.8rem}.record-card p{font-size:.65rem}#toast-root{width:max-content;max-width:94vw;bottom:5.2rem}.toast{padding:.8rem 1rem;font-size:.75rem}.mobile-layout[data-view=library] [data-action=library]{color:#7863d7;background:#eeebfc}.mobile-layout:not([data-view=reader]) .mobile-nav>[data-mobile-pane]{color:#a2a5b8;background:0 0}}@media (max-width:380px){.settings-nav>.button{flex-direction:column;font-size:.65rem}.onboarding-actions .button{padding:.6rem;font-size:.7rem}.welcome>h2{font-size:1.45rem}.empty-features{gap:.75rem;font-size:.62rem}.reader-empty h1{font-size:1.8rem}.document-grid{grid-template-columns:1fr}.field-pair{grid-template-columns:1fr;gap:0}.modal-body,.modal-header{padding:1rem}.library-header{align-items:flex-start}.library-header h1{font-size:1.5rem}}@media (max-width:960px) and (max-height:650px){.empty-book{width:4.5rem;height:3.5rem}.empty-caption{margin:.5rem 0}.reader-empty h1{margin-bottom:.5rem;font-size:1.4rem}.reader-empty>p{margin-bottom:.8rem}.empty-features{margin-top:1rem}.empty-orbit{width:3.5rem;height:3.5rem;margin-bottom:.8rem}.assistant-empty h2{font-size:1.3rem}.assistant-empty{padding:1rem}.welcome-symbol{width:3rem;height:3rem;margin:.2rem auto 1rem}.welcome>h2{font-size:1.4rem}}@media (max-width:960px){.api-key-row{gap:.25rem}.api-key-row [data-action=get-api-key]{padding-inline:.5rem}.provider-add .select-menu button{min-height:2.7rem}}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(./KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(./KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(./KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(./KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(./KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(./KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(./KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(./KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(./KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(./KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(./KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(./KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(./KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(./KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(./KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(./KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(./KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(./KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(./KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(./KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(./KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(./KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(./KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(./KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(./KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(./KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(./KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(./KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(./KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(./KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(./KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(./KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(./KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(./KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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)format("woff2"),url(./KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(./KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(./KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(./KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(./KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(./KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.18.7"}.katex .katex-mathml{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.katex-newline{display:block}.katex .katex-base{white-space:nowrap;width:min-content;position:relative}.katex .katex-base,.katex .katex-strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .katex-vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .katex-thinbox{flex-direction:row;width:0;max-width:0;display:inline-flex}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .katex-hdashline,.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-rule,.katex .katex-underline .underline-line,.katex .mfrac .frac-line{min-height:1px}.katex .mspace{display:inline-block}.katex .katex-smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.katex-inner,.katex .llap>.katex-inner,.katex .rlap>.katex-inner{position:absolute}.katex .clap>.katex-fix,.katex .llap>.katex-fix,.katex .rlap>.katex-fix{display:inline-block}.katex .llap>.katex-inner{right:0}.katex .clap>.katex-inner,.katex .rlap>.katex-inner{left:0}.katex .clap>.katex-inner>span{margin-left:-50%;margin-right:50%}.katex .katex-rule{border:0 solid;display:inline-block;position:relative}.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .katex-hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.katex-root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .katex-sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .katex-sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .katex-sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .katex-sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .katex-sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .katex-sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .katex-sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .katex-sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .katex-sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .katex-sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .katex-sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .katex-sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .katex-sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .katex-sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .katex-sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .katex-sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .katex-sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .katex-sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .katex-sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .katex-sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .katex-sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .katex-sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .katex-sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .katex-sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .katex-sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .katex-sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .katex-sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .katex-sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .katex-sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .katex-sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .katex-sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .katex-sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .katex-sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .katex-sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .katex-sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .katex-sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .katex-sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .katex-sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .katex-sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .katex-sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .katex-sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .katex-sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .katex-sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .katex-sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .katex-sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .katex-sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .katex-sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .katex-sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .katex-sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .katex-sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .katex-sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .katex-sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .katex-sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .katex-sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .katex-sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .katex-sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .katex-sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .katex-sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .katex-sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .katex-sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .katex-sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .katex-sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .katex-sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .katex-sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .katex-sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .katex-sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .katex-sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .katex-sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .katex-sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .katex-sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .katex-sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .katex-sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .katex-sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .katex-sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .katex-sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .katex-sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .katex-sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .katex-sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .katex-sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .katex-sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .katex-sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .katex-sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .katex-sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .katex-sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .katex-sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .katex-sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .katex-sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .katex-sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .katex-sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .katex-sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .katex-sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .katex-sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .katex-sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .katex-sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .katex-sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .katex-sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .katex-sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .katex-sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .katex-sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .katex-sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .katex-sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .katex-sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .katex-sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .katex-sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .katex-sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .katex-sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .katex-sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .katex-sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .katex-sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .katex-sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .katex-sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .katex-sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .katex-sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .katex-sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .katex-sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .katex-sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .katex-sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .katex-sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .katex-sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .katex-sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .katex-sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .katex-accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .katex-accent .accent-body{position:relative}.katex .katex-accent .accent-body:not(.accent-full){width:0}.katex .katex-overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .katex-stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .katex-stretchy:after,.katex .katex-stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .katex-sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .reflectbox{display:inline-block;transform:scaleX(-1)}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.katex-tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.katex-tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}
