:root{--bg:#f3f3f3;--fg:#222;--card:#fff;--bd:#d0d0d0;--ac:#2b579a;--page:#fff;--pagefg:#111;--muted:#777}:root[data-theme=dark]{--bg:#1e1e1e;--fg:#e8e8e8;--card:#2a2a2a;--bd:#444;--ac:#5b8bd6;--page:#2d2d2d;--pagefg:#eee;--muted:#999}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--fg);font-family:Segoe UI,system-ui,sans-serif}#app{flex-direction:column;min-height:100%;display:flex}.btn,.big,.tbtn{font:inherit;color:inherit;background:var(--card);border:1px solid var(--bd);cursor:pointer;border-radius:6px;padding:6px 12px}.btn:hover,.tbtn:hover,.big:hover{border-color:var(--ac)}.primary{background:var(--ac);color:#fff;border-color:var(--ac)}.top{background:var(--ac);color:#fff;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}.top h1{align-items:center;gap:10px;margin:0;font-size:1.3rem;display:flex}.logo{color:var(--ac);background:#fff;border-radius:8px;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.home{width:100%;max-width:960px;margin:0 auto;padding:20px 16px}.actions{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.big{padding:14px 28px;font-size:1.1rem}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;display:grid}.tile{background:var(--card);border:1px solid var(--bd);color:inherit;font:inherit;cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:18px 10px;display:flex}.tile:hover{border-color:var(--c);box-shadow:0 2px 10px #0002}.tile .ic{background:var(--c);color:#fff;border-radius:10px;place-items:center;width:54px;height:54px;font-size:1.5rem;font-weight:700;display:grid}.tile small{color:var(--muted);text-align:center}.recent{padding:0;list-style:none}.recent li{background:var(--card);border:1px solid var(--bd);cursor:pointer;border-radius:6px;margin-bottom:6px;padding:10px 12px}.muted{color:var(--muted);cursor:default!important}.bar{background:var(--card);border-bottom:1px solid var(--bd);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.title{font-weight:600}.status{color:var(--muted);font-size:.85rem}.toolbar{background:var(--card);border-bottom:1px solid var(--bd);flex-wrap:wrap;align-items:center;gap:4px;padding:6px 12px;display:flex}.tbtn{min-width:32px;padding:4px 9px}.tbtn.on{background:var(--ac);color:#fff}.toolbar select,.toolbar input[type=color]{height:30px}.page-wrap{background:var(--bg);flex:1;padding:20px 8px;overflow:auto}.page{background:var(--page);max-width:794px;min-height:1123px;color:var(--pagefg);margin:0 auto;padding:72px 80px;box-shadow:0 2px 12px #0003}.page .ProseMirror{outline:none;min-height:900px;line-height:1.5}.ProseMirror table{border-collapse:collapse;width:100%;margin:8px 0}.ProseMirror td,.ProseMirror th{vertical-align:top;border:1px solid #888;min-width:40px;padding:5px 8px}.ProseMirror th{background:#8882}.ProseMirror img{max-width:100%;height:auto}.statusbar{color:var(--muted);background:var(--card);border-top:1px solid var(--bd);padding:4px 12px;font-size:.8rem}.search{border:1px solid var(--bd);background:var(--bg);min-width:120px;color:inherit;border-radius:6px;flex:1;padding:6px 10px}.notes{flex:1;min-height:0;display:flex}.notes ul{border-right:1px solid var(--bd);width:260px;margin:0;padding:0;list-style:none;overflow:auto}.notes li{cursor:pointer;border-bottom:1px solid var(--bd);padding:10px 12px}.notes li.sel{background:var(--ac);color:#fff}.note-edit{flex-direction:column;flex:1;gap:8px;padding:10px;display:flex}.note-edit textarea{min-height:300px;font:inherit;border:1px solid var(--bd);background:var(--card);color:inherit;resize:none;border-radius:6px;flex:1;padding:12px}@media (width<=700px){.page{min-height:auto;padding:24px 18px}.notes{flex-direction:column}.notes ul{border-right:0;width:100%;max-height:35vh}}@media print{.bar,.toolbar,.statusbar{display:none}.page{box-shadow:none}}.page .ProseMirror p{min-height:1.2em;margin:0 0 8pt}.page .ProseMirror p.st-Title{margin-bottom:6pt;font-size:28pt}.page .ProseMirror p.st-Heading1{color:#2f5496;margin-top:18pt;margin-bottom:4pt;font-size:16pt}.page .ProseMirror p.st-Heading2{color:#2f5496;margin-top:8pt;margin-bottom:4pt;font-size:13pt}.page .ProseMirror p.st-Heading3{color:#1f3763;margin-top:8pt;margin-bottom:4pt;font-size:12pt}.page .ProseMirror p.st-Heading4,.page .ProseMirror p.st-Heading5,.page .ProseMirror p.st-Heading6{color:#2f5496;margin-top:8pt;font-size:11pt;font-style:italic}.page .ProseMirror p.st-ListParagraph{margin-left:36pt}.page .ProseMirror p[data-list]{padding-left:calc(18pt + var(--lvl,0) * 18pt);position:relative}.page .ProseMirror p[data-list]:before{content:attr(data-marker);left:calc(var(--lvl,0) * 18pt);min-width:14pt;position:absolute}.page .ProseMirror p[data-ilvl="1"]{--lvl:1}.page .ProseMirror p[data-ilvl="2"]{--lvl:2}.page .ProseMirror p[data-ilvl="3"]{--lvl:3}.page .ProseMirror p[data-ilvl="4"]{--lvl:4}.raw-block{border:1px dashed var(--muted);color:var(--muted);margin:4px 0;padding:2px 6px;font-size:.8rem}.raw-inline{color:var(--muted);vertical-align:super;font-size:.75em}.page-break{border-top:1px dashed var(--muted);margin:12px -80px;display:block;position:relative}.page-break:after{content:"Seitenumbruch";background:var(--page);color:var(--muted);padding:0 6px;font-size:.7rem;position:absolute;top:-9px;left:50%;transform:translate(-50%)}.logo-img{background:#fff;border-radius:8px}.top .btn{color:#fff;background:0 0;border-color:#fff8}.top .btn:hover{background:#fff2;border-color:#fff}.who{color:#fff;opacity:.9;margin-right:6px;font-size:.9rem}.auth{place-items:start center;padding:28px 12px;display:grid}.authcard{background:var(--card);border:1px solid var(--bd);border-radius:14px;width:min(400px,100%);padding:18px;box-shadow:0 6px 22px #0002}.authtabs{gap:6px;margin-bottom:10px;display:flex}.authtabs button{border:1px solid var(--bd);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:8px;flex:1;padding:9px}.authtabs button.on{color:#fff;background:#2b579a;border-color:#2b579a}.authcard label{color:var(--muted);margin:10px 0 0;font-size:.85rem;display:block}.authcard input:not([type=checkbox]){box-sizing:border-box;border:1px solid var(--bd);background:var(--bg);width:100%;color:inherit;font:inherit;border-radius:8px;margin-top:4px;padding:10px;display:block}.authcard form[hidden]{display:none}.authcard .consent{color:inherit;align-items:flex-start;gap:8px;display:flex}.authcard .consent[hidden]{display:none}.authcard .big{width:100%;margin-top:14px}.anote{color:#c62828;min-height:1.2em;margin:6px 0 0;font-size:.88rem}.anote.ok{color:#1a7f3c}.ahint{color:var(--muted);margin-bottom:0;font-size:.82rem}.tile .ic:has(img){background:0 0}.tile .ic img{border-radius:12px;width:54px;height:54px}.page.lnum .ProseMirror{counter-reset:ln}.page.lnum .ProseMirror>p{counter-increment:ln;position:relative}.page.lnum .ProseMirror>p:after{content:counter(ln);text-align:right;color:#888;width:34px;font-size:10px;position:absolute;top:2px;left:-44px}.raw-block.has-preview{border-style:solid;border-color:var(--bd);color:inherit;background:#8881;padding:6px 10px;font-size:.95em}.rb-line{white-space:pre-wrap;padding:1px 0}.work{flex:1;min-height:0;display:flex;overflow:hidden}.work .page-wrap{flex:1;min-width:0}.navpane{background:var(--card);border-right:1px solid var(--bd);flex:none;width:260px;padding:10px 8px;font-size:.88rem;overflow:auto}.navpane[hidden]{display:none}.navpane h4{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;font-size:.8rem}.navpane .nv{text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:5px;padding:4px 6px;display:block;overflow:hidden}.navpane .nv:hover{background:#2b579a22}.navpane .empty{color:var(--muted)}@media (width<=700px){.navpane{z-index:30;height:100%;position:absolute}}.ruler{background:var(--card);border:1px solid var(--bd);border-radius:3px;height:28px;margin:0 auto 6px;position:relative;overflow:hidden}.ruler[hidden]{display:none}.ruler .rm{background:#8883;position:absolute;top:0;bottom:0}.ruler .rt{background-image:linear-gradient(90deg,#777 1px,#0000 1px);background-position:0 100%;background-repeat:repeat-x;background-size:37.795px 7px;position:absolute;top:0;bottom:0}.ruler .rn{color:var(--muted);font-size:9px;position:absolute;top:1px;transform:translate(3px)}.reading .toolbar,.reading .app-bar,.reading .statusbar{display:none}.reading .page-wrap{padding-top:48px}.reading .page{box-shadow:none}.read-exit{z-index:60;border:1px solid var(--bd);background:var(--card);color:inherit;cursor:pointer;font:inherit;border-radius:999px;padding:8px 14px;position:fixed;top:10px;right:14px;box-shadow:0 2px 10px #0003}.read-bar{z-index:60;background:var(--card);border:1px solid var(--bd);border-radius:999px;align-items:center;gap:8px;padding:8px 14px;display:flex;position:fixed;bottom:52px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0004}.read-bar button{border:1px solid var(--bd);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:999px;padding:5px 12px}.read-bar select{border:1px solid var(--bd);background:var(--bg);color:inherit;border-radius:6px;padding:4px}.read-hl{background:#ffd54f66}.hf-band{color:#777;cursor:pointer;white-space:pre-wrap;font-size:.85em;position:absolute;left:0;right:0}.hf-band[hidden]{display:none}.hf-head{padding-left:80px;padding-right:80px;top:24px}.hf-foot{padding-left:80px;padding-right:80px;bottom:24px}.hf-band:hover{background:#2b579a14}.cmt-range{background:#ffd54f55;border-bottom:2px solid #f9a825}.cmtpane{background:var(--card);border-left:1px solid var(--bd);flex:none;width:280px;padding:10px 8px;font-size:.88rem;overflow:auto}.cmtpane[hidden]{display:none}.cmtpane h4{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0 0 8px;font-size:.8rem}.cmt-card{border:1px solid var(--bd);background:var(--bg);border-radius:8px;margin-bottom:8px;padding:8px 10px}.cmt-head{color:var(--muted);font-size:.75rem}.cmt-body{white-space:pre-wrap;margin:4px 0 6px}.cmt-act{gap:6px;display:flex}.cmt-act button{border:1px solid var(--bd);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:999px;padding:2px 8px;font-size:.75rem}.cmtpane .empty{color:var(--muted)}.rd-f textarea{box-sizing:border-box;border:1px solid var(--bd);background:var(--bg);width:100%;color:inherit;font:inherit;resize:vertical;border-radius:6px;margin-top:3px;padding:7px 9px;display:block}.show-marks .page .ProseMirror p:after{content:"¶";color:#2b579a99;margin-left:2px}.show-marks .page .ProseMirror p[data-list]:after{margin-left:2px}.tc-ins{color:#1a56c8;text-decoration:underline}.tc-del{color:#c62828;text-decoration:line-through}.tc-view-simple .tc-del,.tc-view-none .tc-del,.tc-view-orig .tc-ins{display:none}.tc-view-simple .tc-ins,.tc-view-none .tc-ins,.tc-view-orig .tc-del{color:inherit;text-decoration:none}.page .ProseMirror p.st-Subtitle{color:#595959;letter-spacing:.75pt;font-size:14pt}.page .ProseMirror p.st-Quote{color:#404040;text-align:center;margin:10pt 43pt 8pt;font-style:italic}.page .ProseMirror p.st-IntenseQuote{color:#2f5496;text-align:center;border-top:1px solid #2f5496;border-bottom:1px solid #2f5496;margin:18pt 43pt;padding:10pt 0;font-style:italic}.page .ProseMirror p.st-NoSpacing{margin:0}.acct{cursor:pointer;color:#fff;font:inherit;background:0 0;border:0;border-radius:20px;align-items:center;gap:8px;padding:2px 8px 2px 2px;display:inline-flex}.acct:hover,.acct:focus-visible{background:#ffffff26;outline:none}.acc-overlay{z-index:1000;background:#0006;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0;overflow:auto}.acc-card{max-height:100%;overflow:auto}.acc-pic{align-items:center;gap:14px;margin:10px 0 4px;display:flex}.acc-card summary{cursor:pointer;color:var(--muted)}.acct .avatar{box-sizing:border-box;border:2px solid #fff;background:#4a7bc8!important}.toolbar{padding:0;display:block}.rtabs{border-bottom:1px solid var(--bd);flex-wrap:wrap;gap:2px;padding:4px 12px 0;display:flex}.rtab{font:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 12px}.rtab.on{border-bottom-color:var(--ac);color:var(--ac);font-weight:600}.rpanel{flex-wrap:nowrap;align-items:stretch;min-height:84px;padding:4px 8px;display:flex;overflow:hidden}.rpanel[hidden]{display:none}.rgroup{border-right:1px solid var(--bd);flex-direction:column;justify-content:space-between;max-width:100%;padding:0 8px;display:flex}.rbody{flex:1;align-items:flex-start;gap:4px;display:flex}.rlabel{color:var(--muted);text-align:center;white-space:nowrap;padding-top:2px;font-size:.7rem}.rcol{flex-direction:column;gap:3px;display:flex}.rrow{flex-wrap:nowrap;align-items:center;gap:2px;display:flex}.rtext{min-width:84px;font-size:.78rem}.rbtn{font:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:4px;min-width:28px;min-height:28px;padding:3px 7px;font-size:.85rem}.rbtn:hover{background:var(--bg);border-color:var(--bd)}.rbtn.on{background:var(--ac);color:#fff}.rbtn.big{text-align:center;white-space:normal;flex-direction:column;justify-content:center;align-items:center;min-width:62px;min-height:64px;line-height:1.15;display:flex}.rbtn.soon{opacity:.45}.rsel{font:inherit;border:1px solid var(--bd);background:var(--card);height:28px;color:inherit;border-radius:4px;font-size:.8rem}.rnum{border:1px solid var(--bd);background:var(--card);width:60px;height:26px;color:inherit;font:inherit;border-radius:4px}.rcolor{border:1px solid var(--bd);background:0 0;border-radius:4px;width:30px;height:28px;padding:0}.symbol-pop{z-index:50;background:var(--card);border:1px solid var(--bd);border-radius:8px;grid-template-columns:repeat(10,1fr);gap:2px;max-width:92vw;padding:8px;display:grid;position:fixed;top:160px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #0004}.symbol-pop button{cursor:pointer;background:0 0;border:0;border-radius:4px;padding:4px;font-size:1.3rem}.symbol-pop button:hover{background:var(--bg)}.rmenu{z-index:100;background:var(--card);min-width:200px;max-width:340px;max-height:70vh;color:var(--fg,inherit);border:1px solid var(--bd);border-radius:8px;padding:4px;position:fixed;overflow:auto;box-shadow:0 8px 26px #0005}.rmenu-item{text-align:left;width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex-direction:column;align-items:flex-start;padding:7px 10px;display:flex}.rmenu-item:hover:not(:disabled){background:#2b579a22}.rmenu-item:disabled{opacity:.45;cursor:default}.rmenu-item.on .rm-t{font-weight:600}.rm-d{color:var(--muted);margin-top:1px;font-size:.75rem}.rmenu-sep{background:var(--bd);height:1px;margin:4px 6px}.rdialog{border:1px solid var(--bd);background:var(--card);color:inherit;border-radius:12px;width:min(380px,92vw);padding:16px}.rdialog::backdrop{background:#0006}.rdialog h3{margin:0 0 8px;font-size:1.05rem}.rd-f{color:var(--muted);margin:8px 0;font-size:.85rem;display:block}.rd-f input:not([type=checkbox]),.rd-f select{box-sizing:border-box;border:1px solid var(--bd);background:var(--bg);width:100%;color:inherit;font:inherit;border-radius:6px;margin-top:3px;padding:7px 9px;display:block}.rd-f small{margin-top:2px;display:block}.rd-btns{gap:8px;margin-top:12px;display:flex}.rd-btns button{border:1px solid var(--bd);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:6px;padding:8px 14px}.rd-btns button.primary{color:#fff;background:#2b579a;border-color:#2b579a}.rbtn .caret{opacity:.7;margin-left:2px;font-size:.65em}.rm-d{white-space:pre-line}.rd-info p{margin:6px 0;font-size:.92rem}.rd-info{max-height:55vh;overflow:auto}.rpal{min-width:236px;padding:6px 8px}.rp-h{opacity:.75;padding:4px 2px;font-size:12px;font-weight:600}.rp-grid{grid-template-columns:repeat(10,20px);gap:3px;padding:2px 0 6px;display:grid}.rp-c{cursor:pointer;border:1px solid #80808073;border-radius:50%;width:20px;height:20px;padding:0}.rp-c:hover,.rp-c:focus-visible{outline-offset:1px;outline:2px solid #0f6cbd}.rp-sw{vertical-align:-2px;border:1px solid #80808080;border-radius:50%;flex:none;width:14px;height:14px;margin-right:8px;display:inline-block}.rp-sw.none{background:linear-gradient(135deg,#0000 45%,#c00 46% 54%,#0000 55%)}.rpal .rmenu-item{align-items:center;display:flex}.rgridmenu{padding:6px 8px}.rg-grid{gap:4px;padding:2px 0 6px;display:grid}.rg-c{min-width:40px;min-height:40px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:1px solid #80808066;border-radius:4px;padding:3px 5px;font-size:18px;line-height:1.1}.rg-c:hover,.rg-c:focus-visible,.rg-c.on{background:#0f6cbd1f;border-color:#0f6cbd}.rg-c small{white-space:nowrap;font-size:10px;line-height:1.3;display:block}.rsplit{align-items:stretch;display:inline-flex}.rsplit .rbtn.caretb{min-width:12px;padding:0 2px;font-size:9px}.rcolbar{border-radius:1px;height:3px;margin-top:-3px;display:block}.rtgrid{grid-template-columns:repeat(10,18px);gap:2px;padding:2px 0;display:grid}.rtgrid i{border:1px solid #8080808c;width:18px;height:18px;display:block}.rtgrid i.on{background:#0f6cbd59;border-color:#0f6cbd}.rtab.ctx{color:#8a4b08;background:#ed7d3124;border-radius:6px 6px 0 0}.rtab.ctx.on{box-shadow:inset 0 -2px #c55a11}.ralign{grid-template-columns:repeat(3,28px);gap:2px;display:grid}.ralign .rbtn{min-width:28px;padding:2px}.ProseMirror table[data-bdr=none] td,.ProseMirror table[data-bdr=none] th{border:1px dotted #80808073}.ProseMirror table[data-bdr=h] td,.ProseMirror table[data-bdr=h] th{border-left-color:#0000;border-right-color:#0000}.ProseMirror table[data-bdr=outer]{border:1px solid #888}.ProseMirror table[data-bdr=outer] td,.ProseMirror table[data-bdr=outer] th{border-color:#0000}.ProseMirror .selectedCell{background:#0f6cbd33}.ProseMirror .raw-inline.math-inline{color:inherit;opacity:1;background:0 0;padding:0 2px;font-size:1em}.math-inline math{font-size:1.2em}.navpane .nhead{justify-content:space-between;align-items:center;display:flex}.navpane .nhead h4{margin:0 0 6px}.navpane .nx{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:4px;padding:2px 6px;font-size:14px}.navpane .ntabs{border-bottom:1px solid var(--bd,#ccc);gap:2px;margin:4px 0 8px;display:flex}.navpane .ntabs button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;padding:6px 8px}.navpane .ntabs button.on{border-bottom-color:#0f6cbd;font-weight:600}.navpane .nf input{box-sizing:border-box;border:1px solid var(--bd,#aaa);background:var(--bg,#fff);width:100%;color:inherit;font:inherit;border-radius:6px;margin-bottom:6px;padding:7px 9px}.navpane .nopts{gap:2px;margin:2px 0 8px;font-size:.85rem;display:grid}.navpane .nrow{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 8px;display:flex}.navpane .nb{border:1px solid var(--bd,#aaa);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:6px;padding:5px 10px}.navpane .nb.primary{color:#fff;background:#0f6cbd;border-color:#0f6cbd}.navpane .ncount{opacity:.75;font-size:.82rem}.navpane .nlist .hit{white-space:normal;line-height:1.35}.navpane .nlist .hit.on{background:#0f6cbd26}.navpane .nlist mark{color:#000;background:#ffe066;border-radius:2px;padding:0 1px}.ProseMirror .find-hit{background:#ffd6008c;border-radius:2px}.ProseMirror .find-cur{background:#ff8c00bf}.rbtn.stylebox{border:1px solid #80808080;border-radius:6px;min-width:128px;height:52px;font-size:14px}.rgridmenu .rg-grid[style*=repeat\(1] .rg-c{text-align:left;min-width:220px}.page.pgb{position:relative}.page.pgb:after{content:"";inset:var(--pgb-off,24px);border:var(--pgb);box-shadow:var(--pgb-shadow,none);pointer-events:none;position:absolute}.page{position:relative}.pg-gap{-webkit-user-select:none;user-select:none;pointer-events:none;display:block}.pg-inner{flex-direction:column;display:flex;overflow:hidden}.pg-hf{box-sizing:border-box;color:#777;white-space:pre-wrap;flex:none;align-content:center;font-size:.85em;display:grid}.pg-rem{flex:none}.pg-strip{background:var(--bg,#f2f2f2);flex:none;box-shadow:inset 0 7px 8px -7px #00000059,inset 0 -7px 8px -7px #00000059}tr.pg-gap{display:table-row}tr.pg-gap>td{border:0!important;padding:0!important}.page.single-page .pg-gap{display:none}@media print{.pg-gap{break-after:page;height:0;display:block;overflow:hidden}.pg-gap .pg-inner,tr.pg-gap{display:none}.page{box-shadow:none!important;zoom:1!important;width:auto!important;max-width:none!important;min-height:0!important;padding:0!important}.hf-band,.navpane,.cmtpane,.ruler,.ai-fab{display:none!important}}.mini-bar{z-index:60;background:var(--card,#fff);color:var(--fg,#222);border:1px solid var(--bd,#ccc);border-radius:8px;align-items:center;gap:2px;padding:4px 6px;display:flex;position:fixed;box-shadow:0 4px 16px #00000038}.mini-bar[hidden]{display:none}.mini-b{min-width:28px;height:28px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-radius:5px;padding:0 5px}.mini-b:hover,.mini-b.on{background:#0f6cbd2e}.mini-s{border:1px solid var(--bd,#ccc);background:var(--bg,#fff);height:28px;color:inherit;font:inherit;border-radius:5px;max-width:110px;font-size:12px}.mini-size{width:58px}.draw-dlg{width:min(780px,96vw)}.dr-bar{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:8px;display:flex}.dr-b{border:1px solid var(--bd,#bbb);min-width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border-radius:6px;font-size:15px}.dr-b.on{background:#0f6cbd33;border-color:#0f6cbd}.dr-sw{border-radius:50%;width:22px;min-width:22px;height:22px}.dr-wrap{border:1px solid var(--bd,#bbb);touch-action:none;background:#fff;position:relative}.dr-canvas{cursor:crosshair;touch-action:none;width:100%;height:auto;display:block}.dr-text{z-index:2;border:1px solid #0f6cbd;padding:2px 4px;font:15px sans-serif;position:absolute}.dr-fill{font-size:.85rem}.tabchar{white-space:pre;vertical-align:baseline;width:48px;height:1em;line-height:1;display:inline-block;overflow:hidden}.tabchar[data-leader=dot]{background:radial-gradient(circle,currentColor .7px,#0000 .8px) 0 85%/4px 4px repeat-x}.tabchar[data-leader=hyphen]{background:repeating-linear-gradient(90deg,currentColor 0 4px,#0000 4px 8px) 0 80%/100% 1px no-repeat}.tabchar[data-leader=underscore],.tabchar[data-leader=heavy]{border-bottom:1px solid}.show-marks .tabchar:before{content:"→";color:#888}.ruler{cursor:default;touch-action:none;-webkit-user-select:none;user-select:none;overflow:visible}.ruler .mk{cursor:ew-resize;z-index:2;width:0;height:0;position:absolute;transform:translate(-50%)}.ruler .mk-first{border-top:8px solid #2b579a;border-left:5px solid #0000;border-right:5px solid #0000;top:1px}.ruler .mk-hang{border-bottom:8px solid #2b579a;border-left:5px solid #0000;border-right:5px solid #0000;top:10px}.ruler .mk-left{background:#2b579a;border-radius:1px;width:10px;height:5px;top:19px}.ruler .mk-right{border-bottom:8px solid #2b579a;border-left:5px solid #0000;border-right:5px solid #0000;top:10px}.ruler .tabm{color:#1b1b1b;cursor:ew-resize;z-index:3;background:0 0;border:0;width:14px;height:14px;padding:0;font-size:13px;font-weight:700;line-height:14px;position:absolute;bottom:0;transform:translate(-50%)}:root[data-theme=dark] .ruler .tabm{color:#eee}.ruler.tab-away .tabm{opacity:.35}.ruler .tabsel{z-index:4;border:1px solid var(--bd,#aaa);background:var(--card,#fff);width:22px;height:22px;color:inherit;cursor:pointer;border-radius:4px;padding:0;font-size:12px;position:absolute;top:3px;left:3px}.app-bar .qa{min-width:34px;padding:4px 8px;font-size:18px;line-height:1}.app-bar .qa:disabled{opacity:.4;cursor:default}.ProseMirror .raw-inline.cite-inline{font-size:inherit;vertical-align:baseline;color:inherit;opacity:1;background:#0f6cbd14;border-radius:3px;padding:0 2px}.files-body{max-width:900px;margin:0 auto;padding:14px}.files-list{flex-direction:column;display:flex}.frow{border-bottom:1px solid var(--bd,#ddd);align-items:center;gap:8px;padding:2px 4px;display:flex}.fname{text-align:left;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;padding:9px 6px}.fname:hover{background:#0f6cbd1a}.fic{width:28px;display:inline-block}.fmeta{opacity:.7;white-space:nowrap;font-size:.8rem}.fact{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:6px;padding:6px 8px;font-size:15px}.fact:hover{background:#80808033}.files-msg{opacity:.8;padding:16px 6px}.pdf-tools{border-bottom:1px solid var(--bd,#ccc);background:var(--card,#fff);flex-wrap:wrap;align-items:center;gap:4px;padding:6px 10px;display:flex}.pbtn{min-width:32px;height:32px;color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:6px;padding:0 8px}.pbtn:hover{background:#8080802e}.pbtn.on{background:#0f6cbd33;border-color:#0f6cbd}.psep{background:var(--bd,#ccc);width:1px;height:22px;margin:0 4px}.pdf-pn{width:56px;height:30px}.pdf-search{width:170px;height:30px}.pdf-hits,.pdf-of,.pdf-zoom{opacity:.8;white-space:nowrap;font-size:.85rem}.pdf-main{height:calc(100vh - 100px);display:flex}.pdf-side{border-right:1px solid var(--bd,#ccc);background:var(--card,#fff);flex:none;width:150px;padding:8px;overflow:auto}.pdf-side[hidden]{display:none}.pthumb{width:100%;color:inherit;cursor:pointer;text-align:center;background:0 0;border:2px solid #0000;border-radius:4px;margin-bottom:10px;padding:2px;display:block}.pthumb.on{border-color:#0f6cbd}.pthumb canvas{background:#fff;width:100%;height:auto;box-shadow:0 1px 4px #0000004d}.pdf-scroll{background:#6b6b6b;flex:1;padding:14px 0;overflow:auto}:root:not([data-theme=dark]) .pdf-scroll{background:#8e8e93}.pdf-pages{flex-direction:column;align-items:center;gap:12px;display:flex}.pdf-page{background:#fff;flex:none;position:relative;box-shadow:0 2px 10px #0006}.pdf-canvas,.pdf-ann{position:absolute;inset:0}.pdf-ann{pointer-events:none}.pdf-pages.annotating .pdf-ann{pointer-events:auto;cursor:crosshair;touch-action:none}.pdf-pages.annotating .textLayer{pointer-events:none}.pdf-page .textLayer{position:absolute;inset:0}.pdf-find{pointer-events:none;position:absolute;inset:0}.pdf-hit{background:#ffd60073;position:absolute}.pdf-hit.cur{background:#ff8c0099}.pdf-text{z-index:5;border:1px solid #0f6cbd;padding:1px 3px;font:14px sans-serif;position:absolute}.rgroup{flex:none}.rgroup.collapsed{justify-content:center}.rgroup.collapsed .rbody{display:none}.rgroup.collapsed .rlabel{border:1px solid var(--bd,#ccc);cursor:pointer;white-space:nowrap;border-radius:6px;padding:8px 12px;font-size:.85rem;display:block}.rgroup.collapsed .rlabel:hover{background:#80808026}.rgroup.collapsed .rlabel:after{content:" ▾"}.rgroup.collapsed.open .rbody{z-index:90;background:var(--card,#fff);max-width:min(92vw,520px);color:var(--fg,#222);border:1px solid var(--bd,#ccc);border-radius:8px;flex-wrap:wrap;padding:8px;display:flex;position:fixed;box-shadow:0 8px 26px #0000004d}.app-bar{align-items:center;gap:4px;min-height:46px;padding:0 10px;display:flex}.app-bar .qa{justify-content:center;align-items:center;gap:6px;min-width:36px;height:34px;padding:0 8px;font-size:18px;line-height:1;display:inline-flex}.app-bar .qa.save{background:var(--ac,#2b579a);color:#fff;border-color:#0000;font-size:14px}.app-bar .qa.save .ic{font-size:15px}.app-bar .app-logo{border-radius:5px;margin:0 4px 0 2px}.app-bar .title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin-left:8px;font-weight:600;overflow:hidden}.app-bar .status{opacity:.7;white-space:nowrap;text-overflow:ellipsis;max-width:34vw;margin-left:8px;font-size:.78rem;overflow:hidden}.app-bar .bar-right{gap:4px;margin-left:6px;display:inline-flex}@media (width<=760px){.app-bar .qa.save .lbl,.app-bar .status{display:none}}.xl-logo{color:#fff;background:#217346;border-radius:5px;place-items:center;width:26px;height:26px;margin:0 4px 0 2px;font-weight:700;display:inline-grid}.xl-fbar{border-bottom:1px solid var(--bd,#ccc);background:var(--card,#fff);align-items:center;gap:4px;padding:4px 8px;display:flex}.xl-name{border:1px solid var(--bd,#bbb);background:var(--bg,#fff);width:96px;height:28px;color:inherit;font:inherit;text-align:center;border-radius:4px;padding:0 6px}.xl-fx{border:1px solid var(--bd,#bbb);width:32px;height:28px;color:inherit;cursor:pointer;background:0 0;border-radius:4px;font-family:serif;font-style:italic}.xl-formula{border:1px solid var(--bd,#bbb);background:var(--bg,#fff);height:28px;color:inherit;font:inherit;border-radius:4px;flex:1;min-width:0;padding:0 8px}.xl-gridwrap{background:#fff;height:calc(100vh - 252px);min-height:220px;position:relative}.xl-host{position:relative;overflow:hidden}.xl-canvas{position:absolute;top:0;left:0}.xl-scroller{outline:none;position:absolute;inset:0;overflow:auto}.xl-sizer{pointer-events:none}.xl-edit{z-index:5;resize:none;color:#000;box-sizing:border-box;white-space:pre;background:#fff;border:2px solid #0f6cbd;margin:0;padding:1px 3px;font-size:14.6px;line-height:1.25;position:absolute;overflow:hidden}.xl-suggest{z-index:8;background:var(--card,#fff);color:var(--fg,#222);border:1px solid var(--bd,#bbb);border-radius:6px;font-size:13px;position:absolute;box-shadow:0 4px 14px #00000040}.xl-suggest div{cursor:pointer;padding:4px 12px}.xl-suggest div.on{background:#0f6cbd2e}.xl-tabs{background:var(--card,#f3f3f3);border-top:1px solid var(--bd,#ccc);gap:2px;padding:3px 8px 0;display:flex;overflow-x:auto}.xl-tab{border:1px solid var(--bd,#ccc);color:inherit;cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border-bottom:3px solid #0000;border-radius:4px 4px 0 0;padding:4px 14px}.xl-tab.on{background:var(--bg,#fff);border-bottom-color:#217346;font-weight:600}.xl-tab.add{padding:4px 10px}.xl-status{align-items:center;gap:16px;padding:3px 12px;font-size:.8rem;display:flex}.xl-zoom{align-items:center;gap:4px;margin-left:auto;display:inline-flex}.xl-zoom button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:16px}.xl-zoom input{width:110px}.xl-find{z-index:70;background:var(--card,#fff);width:290px;color:var(--fg,#222);border:1px solid var(--bd,#bbb);border-radius:10px;gap:6px;padding:10px;display:grid;position:fixed;top:150px;right:24px;box-shadow:0 8px 26px #0000004d}.xl-find input[type=text],.xl-find input:not([type]){border:1px solid var(--bd,#bbb);background:var(--bg,#fff);color:inherit;font:inherit;border-radius:6px;padding:6px 8px}.xl-find .xf-h{justify-content:space-between;display:flex}.xl-find .xf-x{cursor:pointer;color:inherit;background:0 0;border:0}.xl-find .xf-b{flex-wrap:wrap;gap:6px;display:flex}.xl-find .xf-b button{border:1px solid var(--bd,#bbb);color:inherit;cursor:pointer;background:0 0;border-radius:6px;padding:5px 10px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.ph-logo{color:#fff;background:#0f6cbd;border-radius:5px;place-items:center;width:26px;height:26px;margin:0 4px 0 2px;display:inline-grid}.ph-main{height:calc(100vh - 50px);overflow:auto}.ph-empty{text-align:center;opacity:.85;padding:80px 16px}.ph-head{background:var(--bg,#fff);z-index:2;justify-content:space-between;align-items:center;padding:10px 16px;display:flex;position:sticky;top:0}.ph-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px;padding:4px 12px 24px;display:grid}.ph-tile{aspect-ratio:1;cursor:pointer;color:inherit;background:#8883 50%/cover no-repeat;border:0;border-radius:6px;padding:0;font-size:28px}.ph-tile:hover,.ph-tile:focus-visible{outline:3px solid #0f6cbd}.ph-view{flex-direction:column;height:100%;display:flex}.ph-vbar{border-bottom:1px solid var(--bd,#ccc);flex-wrap:wrap;align-items:center;gap:4px;padding:6px 10px;display:flex}.ph-name{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;margin-left:8px;font-weight:600;overflow:hidden}.ph-sp{flex:1}.ph-stage{touch-action:none;background:#1b1b1b;outline:none;flex:1;min-height:200px;position:relative;overflow:hidden}.ph-canvas{position:absolute;inset:0}.ph-nav{z-index:3;color:#fff;cursor:pointer;background:#00000059;border:0;border-radius:8px;width:44px;height:64px;font-size:30px;position:absolute;top:50%;transform:translateY(-50%)}.ph-nav.prev{left:8px}.ph-nav.next{right:8px}.ph-strip{background:var(--card,#f3f3f3);gap:4px;padding:6px;display:flex;overflow-x:auto}.ph-sthumb{cursor:pointer;background:#8883 50%/cover;border:2px solid #0000;border-radius:4px;flex:none;width:64px;height:48px;padding:0}.ph-sthumb.on{border-color:#0f6cbd}.ph-edit{flex:1;min-height:0;display:flex}.ph-estage{background:#202020;flex:1;place-items:center;display:grid;position:relative;overflow:hidden}.ph-ecanvas{touch-action:none;background:#fff;max-width:100%}.ph-cropbox{cursor:move;touch-action:none;border:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #00000080}.ph-cropbox i{background:#fff;border:2px solid #0f6cbd;border-radius:50%;width:16px;height:16px;position:absolute}.ph-cropbox i[data-h=nw]{cursor:nwse-resize;top:-9px;left:-9px}.ph-cropbox i[data-h=ne]{cursor:nesw-resize;top:-9px;right:-9px}.ph-cropbox i[data-h=sw]{cursor:nesw-resize;bottom:-9px;left:-9px}.ph-cropbox i[data-h=se]{cursor:nwse-resize;bottom:-9px;right:-9px}.ph-panel{border-left:1px solid var(--bd,#ccc);background:var(--card,#fff);flex:none;width:280px;overflow:auto}.ph-modes{border-bottom:1px solid var(--bd,#ccc);flex-wrap:wrap;display:flex}.ph-modes button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;border-bottom:3px solid #0000;flex:1;padding:10px 6px}.ph-modes button.on{border-bottom-color:#0f6cbd;font-weight:600}.ph-pbody{gap:12px;padding:12px;display:grid}.ph-sl{grid-template-columns:1fr auto;gap:4px;font-size:.88rem;display:grid}.ph-sl input{grid-column:1/-1;width:100%}.ph-row{gap:6px;display:flex}.ph-row button,.ph-filters button,.ph-pbody>button{border:1px solid var(--bd,#bbb);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:6px;padding:8px 10px}.ph-filters{grid-template-columns:1fr 1fr;gap:6px;display:grid}.ph-filters button.on{background:#0f6cbd26;border-color:#0f6cbd}.pbtn.primary{color:#fff;background:#0f6cbd}@media (width<=760px){.ph-edit{flex-direction:column}.ph-panel{border-left:0;border-top:1px solid var(--bd,#ccc);width:auto;max-height:42vh}}.pp-logo{color:#fff;background:#c43e1c;border-radius:5px;place-items:center;width:26px;height:26px;margin:0 4px 0 2px;font-weight:700;display:inline-grid}.pp-main{height:calc(100vh - 215px);min-height:300px;display:flex}.pp-thumbs{background:var(--card,#f3f3f3);border-right:1px solid var(--bd,#ccc);flex:none;width:196px;padding:8px;overflow:auto}.pp-thumb{cursor:pointer;text-align:left;background:0 0;border:2px solid #0000;border-radius:4px;width:100%;margin-bottom:10px;padding:4px 4px 4px 22px;display:block;position:relative}.pp-thumb.on{border-color:#c43e1c}.pp-thumb.hid{opacity:.5}.pp-tn{opacity:.7;font-size:12px;position:absolute;top:4px;left:4px}.pp-tbox{background:#fff;position:relative;overflow:hidden;box-shadow:0 1px 4px #00000059}.pp-center{background:#7a7a7a;flex-direction:column;flex:1;min-width:0;display:flex}:root:not([data-theme=dark]) .pp-center{background:#d0d0d4}.pp-stagewrap{flex:1;place-items:center;min-height:0;display:grid;overflow:auto}.pp-stage{outline:none;position:relative}.pp-slidebox{background:#fff;position:relative;overflow:hidden;box-shadow:0 2px 14px #0006}.pp-slide{color:#000;font-family:Calibri,Arial,sans-serif}.pp-overlay{pointer-events:none}.pp-sel{box-sizing:border-box;pointer-events:none;border:1.5px solid #c43e1c;position:absolute}.pp-sel i{box-sizing:border-box;pointer-events:auto;background:#fff;border:1.5px solid #c43e1c;position:absolute}.pp-sel i[data-h=nw],.pp-sel i[data-h=se]{cursor:nwse-resize}.pp-sel i[data-h=ne],.pp-sel i[data-h=sw]{cursor:nesw-resize}.pp-sel i[data-h=n],.pp-sel i[data-h=s]{cursor:ns-resize}.pp-sel i[data-h=e],.pp-sel i[data-h=w]{cursor:ew-resize}.pp-sel i.rot{cursor:grab;border-radius:50%}.pp-marquee{background:#c43e1c1a;border:1px dashed #c43e1c;position:absolute}.pp-guide{pointer-events:none;background:#e0268b;position:absolute}.pp-shape .pp-text.editing{cursor:text;-webkit-user-select:text;user-select:text;outline:2px solid #c43e1c}.pp-shape{-webkit-user-select:none;user-select:none}.pp-shape .pp-text.editing{-webkit-user-select:text;user-select:text}.pp-hint{opacity:.45;font-size:22px}.pp-notes{background:var(--card,#fff);border-top:1px solid var(--bd,#ccc);flex:none;height:74px}.pp-notes textarea{box-sizing:border-box;resize:none;width:100%;height:100%;color:inherit;font:inherit;background:0 0;border:0;padding:8px 12px}.pp-status{align-items:center;gap:16px;padding:3px 12px;font-size:.8rem;display:flex}.pp-show{z-index:1000;background:#000;outline:none;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.pp-showview{flex:1;place-items:center;height:100%;display:grid;overflow:hidden}.pp-show.with-side .pp-showview{flex:0 0 66%}.pp-pres{color:#eee;background:#1d1d1d;flex:1;align-content:start;gap:14px;height:100%;padding:14px;display:grid;overflow:auto}.pp-timer{font-variant-numeric:tabular-nums;font-size:1.6rem}.pp-nnotes{white-space:pre-wrap;font-size:1.05rem}.pp-laser{pointer-events:none;z-index:5;background:radial-gradient(circle,red 20%,#ff000059 60%,#0000 70%);border-radius:50%;width:18px;height:18px;margin:-9px;position:fixed}.pp-black{z-index:4;background:#000;position:absolute;inset:0}@media (width<=760px){.pp-thumbs{width:110px}.pp-main{height:calc(100vh - 260px)}}.ed-menus{gap:2px;margin-left:6px;display:inline-flex}.ed-menus button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 10px}.ed-menus button:hover{background:#80808033}.ed-tabs{background:var(--card,#f3f3f3);border-bottom:1px solid var(--bd,#ccc);align-items:flex-end;gap:2px;padding:4px 8px 0;display:flex;overflow-x:auto}.ed-tab{border:1px solid #0000;border-bottom:0;border-radius:8px 8px 0 0;align-items:center;max-width:220px;padding-right:2px;display:flex}.ed-tab.on{background:var(--bg,#fff);border-color:var(--bd,#ccc)}.ed-tname{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex:1;padding:7px 8px 7px 12px;overflow:hidden}.ed-tx,.ed-tadd{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 7px;font-size:12px}.ed-tx:hover,.ed-tadd:hover{background:#80808040}.ed-tadd{margin-bottom:3px;font-size:16px}.ed-body{background:var(--bg,#fff);height:calc(100vh - 140px);min-height:200px;display:flex}.ed-gutter{text-align:right;box-sizing:border-box;color:#888;white-space:pre;border-right:1px solid var(--bd,#ddd);-webkit-user-select:none;user-select:none;flex:none;width:54px;padding:10px 8px 10px 0;line-height:1.5;overflow:hidden}.ed-text{resize:none;box-sizing:border-box;min-width:0;color:inherit;tab-size:4;background:0 0;border:0;outline:none;flex:1;padding:10px 14px;line-height:1.5}.ed-status{align-items:center;gap:22px;padding:3px 14px;font-size:.8rem;display:flex}.ed-status button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;margin-left:auto;padding:2px 6px}.ed-status button+button{margin-left:0}.ed-status button:hover{background:#80808040}.ed-find{z-index:70;background:var(--card,#fff);width:340px;color:var(--fg,#222);border:1px solid var(--bd,#bbb);border-radius:10px;gap:6px;padding:10px;display:grid;position:fixed;top:118px;right:22px;box-shadow:0 8px 26px #0000004d}.ed-find[hidden]{display:none}.ed-find .efr{align-items:center;gap:4px;display:flex}.ed-find .efr[hidden]{display:none}.ed-find input:not([type=checkbox]){border:1px solid var(--bd,#bbb);background:var(--bg,#fff);min-width:0;color:inherit;font:inherit;border-radius:6px;flex:1;padding:6px 8px}.ed-find button{border:1px solid var(--bd,#bbb);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:6px;padding:5px 9px}.ed-find .efo{grid-template-columns:1fr 1fr;gap:2px 10px;font-size:.82rem;display:grid}.ed-find .ecount{opacity:.75;white-space:nowrap;font-size:.8rem}.ed-find{box-sizing:border-box;width:380px;max-width:calc(100vw - 24px)}.ed-find .efr{flex-wrap:wrap}.ri{vertical-align:-3px;flex:none;width:16px;height:16px;overflow:visible}.rbtn.big .ri,.rbtn.big svg.ri{width:30px;height:30px;margin:0 auto 3px;display:block}.ri .a{stroke:#2b6cd0}.ri .g{stroke:#2e9b52}.ri .r{stroke:#d6402f}.ri .y{stroke:#e0a100}.ri .fa{fill:#2b6cd033;stroke:#2b6cd0}.ri .fy{fill:#ffd54a66;stroke:#c98e00}.ri .fr{fill:#d6402f33;stroke:#d6402f}.ri text{stroke:none}.pp-animpane{border-left:1px solid var(--bd);background:var(--card);flex-direction:column;flex:none;width:270px;display:flex;overflow:auto}.pp-animpane[hidden]{display:none}.pp-ap-h{border-bottom:1px solid var(--bd);align-items:center;gap:6px;padding:8px;display:flex}.pp-ap-h b{flex:1}.pp-animpane ol{margin:0;padding:4px;list-style:none}.pp-ap-empty{color:var(--muted);padding:12px;font-size:.85rem}.pp-animpane li{cursor:pointer;border-left:4px solid #2e9b52;border-radius:6px;grid-template-columns:26px 1fr auto 22px;align-items:center;gap:6px;padding:6px 4px;display:grid}.pp-animpane li.emph{border-left-color:#e0a100}.pp-animpane li.exit{border-left-color:#d6402f}.pp-animpane li:hover,.pp-animpane li:focus-visible{background:#8883;outline:none}.pp-animpane li.sel{background:#2b6cd033}.pp-animpane li .n{text-align:center;font-weight:600}.pp-animpane li .t{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.pp-animpane li small{color:var(--muted)}.pp-animpane li button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px}.pp-animpane li button:hover{background:#d6402f55}.pp-abadge{z-index:5;color:#222;text-align:center;pointer-events:none;box-sizing:border-box;background:#fff;border:1px solid #2e9b52;padding:0 3px;font-weight:700;position:absolute}.pp-abadge.emph{border-color:#e0a100}.pp-abadge.exit{border-color:#d6402f}.pp-abadge.on{background:#ffd54a}.ai-fab{color:#fff;cursor:pointer;z-index:50;background:linear-gradient(135deg,#2f6fd6,#8a3ffc);border:0;border-radius:50%;width:56px;height:56px;font-size:26px;transition:transform .15s;position:fixed;bottom:46px;right:20px;box-shadow:0 6px 18px #0006}.ai-fab:hover{transform:scale(1.08)}.ai-panel{background:var(--card);width:min(390px,100vw - 24px);height:min(600px,100vh - 110px);color:inherit;border:1px solid var(--bd);z-index:51;border-radius:16px;flex-direction:column;font-size:.92rem;display:flex;position:fixed;bottom:46px;right:20px;overflow:hidden;box-shadow:0 10px 34px #0007}.ai-panel[hidden],.ai-fab[hidden]{display:none}.ai-head{color:#fff;background:linear-gradient(135deg,#2f6fd6,#8a3ffc);align-items:center;gap:10px;padding:12px 12px 12px 14px;display:flex}.ai-logo{background:#ffffff30;border-radius:10px;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.ai-title{flex-direction:column;flex:1;line-height:1.2;display:flex}.ai-title small{opacity:.85;font-size:.75rem}.ai-panel .ai-ic{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px;font-size:1rem}.ai-panel .ai-ic:hover{background:#ffffff30}.ai-chat{background:var(--bg);flex-direction:column;flex:1;gap:8px;padding:12px;display:flex;overflow-y:auto}.ai-b{white-space:pre-wrap;word-wrap:break-word;border-radius:14px;max-width:88%;padding:9px 12px;line-height:1.4}.ai-b.me{color:#fff;background:#2b579a;border-bottom-right-radius:4px;align-self:flex-end}.ai-b.ai{background:var(--card);border:1px solid var(--bd);border-bottom-left-radius:4px;align-self:flex-start}.ai-b.sys{color:var(--muted);background:0 0;align-self:center;padding:2px 6px;font-size:.8rem}.ai-b.err{color:#c62828;background:#c6282820;border:1px solid #c6282855;align-self:flex-start}.ai-panel.busy .ai-b.sys:after{content:" ●";animation:1s infinite aiblink}@keyframes aiblink{50%{opacity:.2}}.ai-act{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.ai-act button{color:#2b579a;cursor:pointer;font:inherit;background:0 0;border:1px solid #2b579a;border-radius:999px;padding:4px 10px;font-size:.8rem}.ai-act button:first-child{color:#fff;background:#2b579a}[data-theme=dark] .ai-act button{color:#8ab4ff;border-color:#8ab4ff}[data-theme=dark] .ai-act button:first-child{color:#fff;background:#2b579a}.ai-chips{border-top:1px solid var(--bd);scrollbar-width:thin;gap:6px;padding:8px 10px;display:flex;overflow-x:auto}.ai-chips button{border:1px solid var(--bd);background:var(--bg);color:inherit;cursor:pointer;font:inherit;border-radius:999px;flex:none;padding:5px 11px;font-size:.8rem}.ai-chips button:hover:not(:disabled){border-color:#8a3ffc}.ai-compose{border-top:1px solid var(--bd);padding:8px 10px 10px}.ai-modes{align-items:center;gap:4px;margin-bottom:6px;display:flex}.ai-modes button{border:1px solid var(--bd);color:inherit;cursor:pointer;font:inherit;background:0 0;border-radius:8px;padding:4px 10px;font-size:.8rem}.ai-modes button.on{color:#fff;background:#2b579a;border-color:#2b579a}.ai-scope{color:var(--muted);margin-left:auto;font-size:.72rem}.ai-link{box-sizing:border-box;border:1px solid var(--bd);background:var(--bg);width:100%;color:inherit;font:inherit;border-radius:8px;margin-bottom:6px;padding:7px 10px}.ai-input{border:1px solid var(--bd);background:var(--bg);border-radius:12px;align-items:flex-end;gap:6px;padding:4px 4px 4px 6px;display:flex}.ai-input:focus-within{border-color:#8a3ffc}.ai-input .ai-ic{color:inherit}.ai-input .ai-ic:hover{background:#8882}.ai-prompt{resize:none;color:inherit;font:inherit;background:0 0;border:0;outline:none;flex:1;max-height:120px;padding:7px 4px}.ai-send{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2f6fd6,#8a3ffc);border:0;border-radius:50%;flex:none;width:36px;height:36px;font-size:1rem}.ai-send:disabled,.ai-chips button:disabled{opacity:.5;cursor:wait}@media (width<=600px){.ai-panel{height:calc(100vh - 80px);bottom:8px;right:8px}}@media print{.ai-fab,.ai-panel{display:none}}
