@font-face{font-family:Ma Shan Zheng;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ma-shan-zheng-chinese-simplified-400-normal-Cq4ZnsCU.woff2)format("woff2"),url(/assets/ma-shan-zheng-chinese-simplified-400-normal-BSEPeFxe.woff)format("woff")}@font-face{font-family:Ma Shan Zheng;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ma-shan-zheng-latin-400-normal-DyQkJewW.woff2)format("woff2"),url(/assets/ma-shan-zheng-latin-400-normal-BpeGU9PU.woff)format("woff")}@font-face{font-family:Long Cang;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/long-cang-chinese-simplified-400-normal-BTojxqN9.woff2)format("woff2"),url(/assets/long-cang-chinese-simplified-400-normal-XTuFAj66.woff)format("woff")}@font-face{font-family:Long Cang;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/long-cang-latin-400-normal-D1w_jwav.woff2)format("woff2"),url(/assets/long-cang-latin-400-normal-77ZvwVyi.woff)format("woff")}@font-face{font-family:ZCOOL KuaiLe;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/zcool-kuaile-chinese-simplified-400-normal-BKaOBC6q.woff2)format("woff2"),url(/assets/zcool-kuaile-chinese-simplified-400-normal-DF5oRnqi.woff)format("woff")}@font-face{font-family:ZCOOL KuaiLe;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/zcool-kuaile-latin-400-normal-CVXjA4UX.woff2)format("woff2"),url(/assets/zcool-kuaile-latin-400-normal-CWhmaTEa.woff)format("woff")}body.home-route{zoom:1;color:#1d1d1f;background:#fbfbfd;width:100%;overflow:auto}.home-page{--home-blue:#0071e3;background:#fbfbfd;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,sans-serif}.home-page a{color:inherit;text-decoration:none}.home-page a:focus-visible{outline-offset:5px;outline:3px solid #0071e3}.home-page h1,.home-page h2,.home-page h3,.home-page p{margin:0}.home-nav{justify-content:space-between;align-items:center;gap:24px;max-width:1240px;margin:auto;padding:20px 40px;display:flex}.home-brand{letter-spacing:-.5px;align-items:center;gap:9px;font-size:16px;font-weight:650;display:flex}.home-brand img{border-radius:8px;width:30px;height:30px}.home-nav nav{align-items:center;gap:30px;font-size:14px;display:flex}.home-hero{grid-template-columns:1fr 1.08fr;align-items:center;gap:50px;max-width:1240px;min-height:720px;margin:auto;padding:70px 40px 90px;display:grid}.home-eyebrow{color:#6e6e73;letter-spacing:2px;font-size:14px;font-weight:600}.home-hero h1{letter-spacing:-3px;margin-top:22px;font-size:clamp(48px,5.4vw,76px);font-weight:650;line-height:1.17}.home-intro{color:#6e6e73;font-size:18px;line-height:1.9;margin-top:28px!important}.home-hero-actions{align-items:center;gap:26px;margin-top:34px;display:flex}.home-page .home-primary{background:var(--home-blue);color:#fff;border-radius:30px;align-items:center;gap:28px;padding:16px 24px;font-size:16px;font-weight:550;transition:background .2s;display:inline-flex}.home-page .home-primary:hover{background:#0062c6}.home-text-link{font-size:15px}.home-quiet{color:#85858b;font-size:13px;line-height:1.7;margin-top:24px!important}.home-note-scene{padding:16px 0 20px;position:relative}.home-note{color:#2b3947;background:repeating-linear-gradient(#0000 0 31px,#dbe1e83d 32px 33px),#fffefa;border:1px solid #e6e4de;min-height:515px;padding:32px 30px;position:relative;transform:rotate(-4deg);box-shadow:0 28px 60px #29201813,0 4px 12px #29201806}.home-note-shadow{background:#eeeee9;border:1px solid #e3e3de;position:absolute;inset:26px 6px 14px;transform:rotate(2deg)}.home-note-kicker{letter-spacing:2.3px;color:#92928e;margin-bottom:20px;font-size:9px}.home-note h2{text-align:center;font-family:Ma Shan Zheng,Kaiti SC,cursive;font-size:34px;font-weight:400;line-height:1.4}.home-note-date{text-align:center;color:#858a8e;font-size:12px;margin:10px 0 28px!important}.home-note-section{margin:24px 0;font-family:Ma Shan Zheng,Kaiti SC,cursive}.home-note-section h3{color:#35638b;background:#dbe9ed;font-size:23px;font-weight:400;display:inline}.home-note-section p{margin-top:10px;font-size:17px;line-height:2}.home-note-section i{color:#35638b;border:1px solid #35638b;border-radius:50%;margin-right:7px;padding:4px;font-family:Georgia,serif;font-size:10px}.home-note-sign{color:#a45649;font-family:Ma Shan Zheng,Kaiti SC,cursive;font-size:23px;margin-top:28px!important}.home-note-sign span{text-align:right;margin-top:10px;font-size:20px;display:block}.home-swatch{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fffc;border:1px solid #fff;border-radius:18px;width:218px;padding:17px 20px;position:absolute;bottom:-6px;right:-12px;transform:rotate(3deg);box-shadow:0 14px 40px #23242c14}.home-swatch>span{color:#6e6e73;font-size:11px}.home-swatch div{justify-content:space-between;align-items:center;margin-top:10px;display:flex}.home-swatch b{font-family:Kaiti SC,serif;font-size:26px;font-weight:400}.home-swatch b:nth-child(2){font-family:Ma Shan Zheng,cursive}.home-swatch b:nth-child(3){font-family:Long Cang,cursive}.home-swatch i{background:#35638b;border-radius:50%;width:22px;height:22px;box-shadow:0 0 0 4px #e7edf3}.home-features{background:#f2f2f4;padding:84px max(40px,50% - 580px);scroll-margin-top:25px}.home-section-heading h2,.home-how h2{letter-spacing:-1.5px;margin-top:18px;font-size:40px;font-weight:600;line-height:1.35}.home-feature-grid{grid-template-columns:repeat(3,1fr);gap:20px;margin-top:42px;display:grid}.home-feature-grid article{background:#fff;border-radius:24px;padding:30px;overflow:hidden}.home-feature-number{color:#828288;letter-spacing:1px;font-size:12px}.home-feature-grid h3{margin:22px 0 14px;font-size:22px;font-weight:600;line-height:1.5}.home-feature-grid p{color:#6e6e73;font-size:15px;line-height:1.85}.home-mini-library{color:#6e6e73;margin-top:26px;font-size:12px}.home-mini-library>span{border-bottom:1px solid #f2f2f4;justify-content:space-between;gap:8px;padding:12px;display:flex}.home-mini-library>span:first-child{color:#295680;background:#f0f6fe;border-radius:8px}.home-mini-library b{font-weight:500}.home-mini-library i{font-size:10px;font-style:normal}.home-mini-type{text-align:center;margin-top:35px}.home-mini-type>span{color:#35638b;font-family:Ma Shan Zheng,cursive;font-size:32px}.home-mini-type div{justify-content:center;gap:14px;margin-top:23px;display:flex}.home-mini-type i{background:#34383e;border-radius:50%;width:18px;height:18px}.home-mini-type i:nth-child(2){background:#35638b}.home-mini-type i:nth-child(3){background:#b65b50}.home-mini-type i:nth-child(4){background:#b29e76}.home-mini-export{border:1px solid #e7e7ec;border-radius:14px;justify-content:space-between;align-items:center;margin-top:42px;padding:18px;font-size:13px;display:flex}.home-mini-export span span{color:#8a8a90;margin-top:8px;font-size:11px;display:block}.home-mini-export b{color:#0071e3;background:#edf5ff;border-radius:50%;place-items:center;width:35px;height:35px;font-size:18px;display:grid}.home-how{grid-template-columns:1fr 1fr;gap:70px;max-width:1160px;margin:auto;padding:95px 40px;display:grid}.home-how ol{margin:0;padding:0;list-style:none}.home-how li{border-bottom:1px solid #e5e5e9;gap:22px;padding:22px 0;display:flex}.home-how li:first-child{padding-top:0}.home-how li>span{background:#ededf0;border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:13px;display:grid}.home-how h3{font-size:18px;font-weight:600}.home-how li p{color:#6e6e73;margin-top:10px;font-size:14px;line-height:1.8}.home-closing{text-align:center;background:#f2f2f4;padding:74px 24px 80px}.home-closing img{border-radius:16px}.home-closing h2{letter-spacing:-1px;margin:24px 0 30px;font-size:36px}.home-closing p{color:#85858b;margin-top:22px;font-size:12px;line-height:1.8}.home-footer{color:#85858b;justify-content:space-between;gap:20px;max-width:1240px;margin:auto;padding:26px 40px;font-size:12px;display:flex}.home-mobile-break{display:none}@media (width<=900px){.home-hero{gap:25px;padding-top:48px}.home-hero h1{font-size:54px}.home-note{padding:25px 20px}.home-note-section p{font-size:14px}.home-feature-grid{gap:14px}.home-feature-grid article{padding:24px}.home-feature-grid h3{font-size:19px}.home-intro{font-size:16px}}@media (width<=680px){.home-nav{gap:12px;padding:16px 22px}.home-brand{gap:8px;font-size:15px}.home-brand img{width:28px;height:28px}.home-nav nav{gap:18px;font-size:12px}.home-hero{flex-direction:column;gap:48px;min-height:0;padding:44px 26px 70px;display:flex}.home-hero-copy{width:100%}.home-hero h1{letter-spacing:-2.5px;margin-top:18px;font-size:56px}.home-intro{font-size:16px;line-height:1.8;margin-top:22px!important}.home-desktop-break{display:none}.home-hero-actions{gap:22px;margin-top:26px}.home-page .home-primary{gap:18px;padding:14px 20px;font-size:15px}.home-quiet{font-size:12px}.home-note-scene{width:calc(100% - 12px);max-width:420px}.home-note{min-height:420px;padding:24px 20px}.home-note h2{font-size:28px}.home-note-section{margin:18px 0}.home-note-section h3{font-size:20px}.home-note-section p{font-size:14px;line-height:1.9}.home-note-sign{font-size:20px}.home-swatch{width:180px;padding:14px 18px;bottom:-12px;right:-10px}.home-features{padding:58px 24px}.home-section-heading h2,.home-how h2{letter-spacing:-1px;font-size:32px}.home-mobile-break{display:block}.home-feature-grid{grid-template-columns:1fr;gap:16px;margin-top:30px}.home-feature-grid article{padding:28px}.home-feature-grid h3{font-size:22px}.home-feature-grid p{font-size:15px}.home-how{grid-template-columns:1fr;gap:34px;padding:60px 26px}.home-closing{padding:56px 24px}.home-closing h2{font-size:29px}.home-footer{flex-wrap:wrap;padding:24px;font-size:11px}}.home-hero h1{margin-top:0}.home-hero-actions .home-primary{min-height:44px;padding:12px 22px;font-size:15px}.home-page .home-note *,.home-page .home-swatch *{font-family:"Achai Handwriting 1",cursive}:root{color:#25282d;font-synthesis:none;--ui-blue:#4656d9;--ui-blue-soft:#eef0ff;--border:#e2e3e5;--muted:#83878f;--surface:#fff;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);background:#f6f6f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;background:#f6f6f3;min-height:100dvh;overflow:hidden}button,input,select{font:inherit}button{color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.app-shell{--outline-column:240px;--style-column:280px;width:100vw;height:100vh;height:var(--app-viewport-height,100dvh);background:var(--surface);min-height:720px;overflow:hidden}.topbar{border-bottom:1px solid var(--border);z-index:10;background:#fffffffa;grid-template-columns:auto minmax(260px,1fr) auto;align-items:center;height:58px;display:grid;position:relative}.brand{border-right:1px solid var(--border);letter-spacing:-.02em;align-items:center;gap:11px;min-width:250px;height:100%;padding:0 24px;font-size:17px;font-weight:720;display:flex}.brand svg{color:#151515;transform:rotate(-9deg)}.document-title{align-items:center;gap:7px;min-width:0;padding:0 14px;font-size:15px;display:flex}.document-name{text-overflow:ellipsis;white-space:nowrap;max-width:min(36vw,520px);font-weight:650;overflow:hidden}.title-edit{color:#727780;cursor:pointer;background:0 0;border:0;border-radius:5px;flex:none;place-items:center;width:26px;height:26px;display:inline-grid}.title-edit:hover{color:#333740;background:#f1f2f4}.save-status{color:#8d9199;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:5px;min-width:0;margin-left:12px;padding:4px 7px;font-size:11.5px;font-weight:560;display:inline-flex}.save-status:hover{color:#555a63;background:#f4f5f7}.sync-status.sync-success{color:#35704b}.sync-status.sync-working{color:#5964b9}.sync-status.sync-warning{color:#a85e3f}.sync-status.sync-offline,.sync-status.sync-neutral{color:#777c85}.top-actions{border-left:1px solid #efefef;justify-content:flex-end;align-items:center;gap:9px;height:100%;padding:0 16px;display:flex}.history-actions{border-right:1px solid #ececef;align-items:center;gap:1px;padding-right:7px;display:flex}.history-actions .icon-button:disabled{opacity:.3;cursor:default;background:0 0}.version-button{position:relative}.version-count{background:var(--ui-blue);color:#fff;border:2px solid #fff;border-radius:9px;place-items:center;min-width:15px;height:15px;padding:0 3px;font-size:8px;font-weight:750;line-height:1;display:inline-grid;position:absolute;top:1px;right:0}.primary-button,.secondary-button,.primary-wide,.reset-button,.icon-button{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;transition:background-color .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.primary-button{background:var(--ui-blue);color:#fff;border-radius:7px;min-height:38px;padding:0 18px;font-weight:650;box-shadow:0 1px 2px #1b1f5c33}.primary-button:active,.primary-wide:active{transform:translateY(1px)}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.64;transform:none}.primary-button[aria-busy=true]:disabled,.secondary-button[aria-busy=true]:disabled{cursor:progress}.secondary-button{white-space:nowrap;background:#fff;border:1px solid #dedfe3;border-radius:7px;min-height:36px;padding:0 13px;font-size:13px;font-weight:570}.export-button{min-width:112px}.icon-button{color:#767b84;border-radius:6px;width:34px;height:34px}.icon-button:hover{color:#292c32;background:#f3f3f4}.icon-button[aria-pressed=true]{background:var(--ui-blue-soft);color:var(--ui-blue)}.icon-button.small{width:28px;height:28px}.workspace{grid-template-columns:var(--outline-column) minmax(0, 1fr) var(--style-column);height:calc(100dvh - 58px);min-height:662px;display:grid}.app-shell.outline-collapsed .workspace{grid-template-columns:minmax(0, 1fr) var(--style-column)}.app-shell.style-collapsed .workspace{grid-template-columns:var(--outline-column) minmax(0, 1fr)}.app-shell.outline-collapsed.style-collapsed .workspace{grid-template-columns:minmax(0,1fr)}.outline-panel,.style-panel{background:#fff;min-width:0;overflow:hidden}.outline-panel[hidden],.style-panel[hidden]{display:none!important}.outline-panel{border-right:1px solid var(--border);grid-template-rows:auto auto minmax(0,1fr) auto auto;display:grid}.outline-actions{border-bottom:1px solid #f0f0f1;grid-template-columns:1fr 1fr;gap:10px;padding:18px 16px 14px;display:grid}.outline-actions .secondary-button{padding:0 9px}.outline-more-toggle{display:none}.outline-secondary-actions{display:contents}.outline-search{color:#8b8f97;background:#fafafa;border:1px solid #e1e2e5;border-radius:7px;grid-template-columns:20px minmax(0,1fr) 24px;align-items:center;gap:5px;min-width:0;min-height:38px;margin:11px 14px;padding:0 7px 0 10px;transition:border-color .15s,box-shadow .15s,background-color .15s;display:grid}.outline-search:focus-within{background:#fff;border-color:#aeb5ef;box-shadow:0 0 0 3px #4656d917}.outline-search input{color:#373b42;background:0 0;border:0;outline:0;min-width:0;height:36px;padding:0;font-size:12.5px}.outline-search input::placeholder{color:#9a9da5}.outline-search button{color:#92969e;cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;width:24px;height:24px;padding:0;display:inline-grid}.outline-search button:hover{color:#4a4e56;background:#ededee}.outline-list{scrollbar-width:thin;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:0 0 14px;overflow-y:auto}.outline-section{border-bottom:1px solid #ededee}.outline-heading{text-align:left;cursor:pointer;background:0 0;border:0;border-left:3px solid #0000;grid-template-columns:24px minmax(0,1fr) 28px;align-items:center;width:100%;min-height:54px;padding:0 12px 0 14px;transition:background-color .15s;display:grid}.outline-heading:hover{background:#f2f4fa}.outline-heading:focus-visible{outline:2px solid var(--ui-blue);outline-offset:-3px}.outline-section.selected .outline-heading{border-left-color:var(--ui-blue);background:#eef1ff}.drag-handle{color:#a3a6ad;cursor:grab}.outline-title{text-align:left;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;font-size:14px;font-weight:670;overflow:hidden}.outline-title mark,.outline-child-row mark{color:inherit;background:#fff0a9;border-radius:2px;padding:0 1px}.outline-section-tools{background:#eef1ff;align-items:center;gap:3px;min-height:34px;padding:0 12px 7px 40px;display:flex}.outline-section-tools button{color:#686d78;cursor:pointer;background:#ffffffad;border:0;border-radius:5px;justify-content:center;align-items:center;gap:4px;min-width:26px;min-height:26px;padding:0 7px;font-size:11px;display:inline-flex}.outline-section-tools button:hover{color:#333740;background:#fff}.outline-section-tools button:disabled{opacity:.36;cursor:default}.outline-section-tools .danger-action{color:#b14a50;margin-left:auto}.outline-children{gap:2px;padding:2px 12px 10px 41px;display:grid}.outline-child-row{border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px;min-width:0;display:grid}.outline-child-row.selected{background:#f3f4ff}.outline-child-row>button:first-child{color:#656972;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-width:0;min-height:34px;padding:0 5px;font-size:12.5px;display:flex}.outline-child-row>button:first-child span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.outline-child-row>button:first-child svg{color:#b3b5bb;flex:none}.outline-child-row>button:first-child:hover{color:#30333a;background:#f6f6f7}.child-actions{opacity:0;align-items:center;transition:opacity .12s;display:flex}.outline-child-row:hover .child-actions,.outline-child-row:focus-within .child-actions,.outline-child-row.selected .child-actions{opacity:1}.child-actions button{color:#8b8f97;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:23px;height:25px;padding:0;display:inline-grid}.child-actions button:hover{color:#3b3f47;background:#e9eaf0}.child-actions button:disabled{opacity:.28;cursor:default;background:0 0}.child-actions .child-delete{color:#a64c54}.outline-empty{color:#858991;text-align:center;background:#f8f8f8;border-radius:8px;margin:18px 14px;padding:17px 12px;font-size:12.5px}.outline-helper{color:#9a9da4;text-align:center;border-top:1px solid #eeeeef;padding:13px 18px;font-size:11.5px}.outline-meta{color:#8b8e96;border-top:1px solid #eeeeef;gap:5px;padding:12px 18px;font-size:11.5px;display:grid}.page-preview-link{width:max-content;color:var(--ui-blue);cursor:pointer;background:0 0;border:0;padding:0;font-size:11px;font-weight:650}.page-preview-link:hover{text-underline-offset:3px;text-decoration:underline}.canvas-stage{scrollbar-width:thin;scroll-behavior:smooth;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;background:#f5f5f1;min-width:0;padding:22px 18px 70px;position:relative;overflow:auto}.paper-preview-frame{min-width:1px;min-height:1px;margin:0 auto;position:relative}.paper-preview-scale{transform-origin:0 0}.paper-preview-scale .paper-page{width:760px;max-width:none;margin:0}.paper-zoom-controls{z-index:9;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0;border:1px solid #dadbe0e6;border-radius:10px;align-items:center;gap:3px;width:max-content;min-height:38px;margin:0 0 -38px auto;padding:4px;display:flex;position:sticky;top:10px;box-shadow:0 7px 24px #26293724}.paper-zoom-controls button{color:#656a74;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;min-width:30px;height:30px;padding:0 8px;font-size:11px;font-weight:680;display:inline-grid}.paper-zoom-controls button:hover{color:#292d35;background:#f0f1f4}.paper-zoom-controls button.active{background:var(--ui-blue-soft);color:var(--ui-blue)}.paper-zoom-value{color:#767b84;text-align:center;font-variant-numeric:tabular-nums;width:42px;font-size:10.5px}.paper-export-stage{color:#555fb4;white-space:nowrap;align-items:center;gap:7px;min-height:30px;padding:0 8px;font-size:11px;font-weight:680;display:inline-flex}.paper-export-stage svg{animation:1s linear infinite status-spin}@keyframes status-spin{to{transform:rotate(360deg)}}.paper-page{width:min(760px,100%);min-height:1080px;color:var(--ink-black);font-family:var(--note-font), cursive;font-weight:var(--note-weight);font-synthesis:none;-webkit-text-stroke-width:var(--note-embolden);-webkit-text-stroke-color:currentColor;font-size:calc(20px * var(--note-density));line-height:calc(1.55 * var(--note-density));letter-spacing:.015em;transform-origin:top;background-color:#fffdf8;background-position:top;background-repeat:no-repeat;background-size:100% 1080px;border:1px solid #dad8d2;margin:0 auto;padding:15px 24px 70px 66px;position:relative;box-shadow:0 3px 10px #35322614}.paper-page.is-export-page{box-sizing:border-box;width:760px;max-width:none;height:1080px;min-height:1080px;padding:15px 24px 70px 66px;overflow:hidden}.paper-page.is-export-page .note-header h1{font-size:calc(36px * var(--note-density))}.note-header{min-height:86px;padding:0 10px 3px;position:relative}.note-header h1{text-align:center;font-size:calc(36px * var(--note-density));line-height:1.34;font-weight:var(--note-weight);letter-spacing:.08em;margin:0}.principle-wrap{width:max-content;max-width:68%;margin:0 0 0 auto}.principle{width:max-content;max-width:100%;color:var(--ink-red);font-size:calc(20px * var(--note-density))}.note-section{padding:4px 8px 0;scroll-margin-top:18px;position:relative}.note-section+.note-section{margin-top:calc(12px * var(--note-density));border-top:0;padding-top:15px}.compact-section{padding-top:15px}.section-title{font-size:calc(26px * var(--note-density));line-height:1.3;font-weight:var(--note-weight);margin:0 0 3px -1px;padding:0 10px 0 7px;display:inline-block}.blue-title,.highlight{--marker-angle:-.16deg;--marker-skew:-.25deg;--marker-shape:polygon(0.5% 9%, 20% 3%, 43% 6%, 68% 1%, 99.5% 6%, 100% 87%, 82% 94%, 56% 90%, 31% 98%, 0.8% 91%);isolation:isolate;box-shadow:none;background:0 0;position:relative}.blue-title:before,.highlight:before{content:"";z-index:-1;pointer-events:none;background-color:var(--marker-color);background-blend-mode:soft-light, multiply;clip-path:var(--marker-shape);transform:rotate(var(--marker-angle)) skewX(var(--marker-skew));transform-origin:50%;background-image:linear-gradient(92deg,#ffffff2e 0%,#0000 15%,#ffffff0e 43%,#35383309 72%,#0000 100%),repeating-linear-gradient(176deg,#0000 0 2px,#ffffff21 2px 3px,#43403306 3px 4px,#0000 4px 6px);background-position:-2px 0,0 1px;border-radius:5px 2px 6px 3px/3px 6px 2px 5px;position:absolute;inset:4% -4px 5% -3px;box-shadow:inset 0 1px #ffffff29,inset 0 -1px #45402b0a}.blue-title{--marker-color:#bad5e973;color:var(--ink-blue)}.note-lead{font-size:calc(20px * var(--note-density));margin:0 4px}.center-blue{color:var(--ink-blue);text-align:center;font-size:calc(20px * var(--note-density));margin:0 0 1px}.note-columns{min-width:0;display:grid}.note-columns.two{grid-template-columns:1fr 1fr}.comparison{position:relative}.comparison>div{min-width:0;padding:0 16px}.comparison>div+div{border-left:0}.highlight{padding:0 6px;line-height:1.35;display:inline-block}.highlight.yellow{--marker-color:#f2d4766e;--marker-angle:.12deg;--marker-skew:-.18deg;--marker-shape:polygon(0 11%, 25% 3%, 49% 7%, 75% 1%, 100% 8%, 99% 88%, 73% 94%, 46% 90%, 20% 98%, 1% 90%)}.highlight.blue{--marker-color:#b2cfe66b;--marker-angle:-.1deg;--marker-skew:.22deg;--marker-shape:polygon(0.8% 5%, 28% 1%, 51% 7%, 77% 3%, 99% 9%, 100% 91%, 69% 96%, 42% 91%, 17% 97%, 0 87%)}.highlight.mint{--marker-color:#b3decf6e;--marker-angle:.18deg;--marker-skew:.12deg;--marker-shape:polygon(0 8%, 18% 2%, 45% 6%, 72% 1%, 100% 6%, 99% 90%, 78% 97%, 53% 91%, 27% 96%, 1% 88%)}.note-list{font-size:calc(19px * var(--note-density));line-height:calc(1.58 * var(--note-density));white-space:normal}.logic-row{color:var(--ink-red);grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin:8px 3px 5px;display:grid}.sketch-stroke{pointer-events:none;display:block;overflow:visible}.hand-wave{width:100%;height:11px;margin-top:-1px}.logic-rule{background:0 0;width:100%;height:16px}.comparison-divider{z-index:1;width:16px;height:calc(100% - 4px);position:absolute;top:2px;left:calc(50% - 8px)}.section-hand-divider{z-index:1;width:100%;height:16px;position:absolute;top:0;left:0}.logic-copy{color:var(--ink-black);white-space:nowrap;font-size:calc(18px * var(--note-density))}.logic-copy b{color:var(--ink-red);font-weight:var(--note-weight)}.note-columns.four{grid-template-columns:repeat(4,1fr)}.stakes{gap:4px}.stake{min-width:0}.stake .highlight{font-size:calc(16.5px * var(--note-density));letter-spacing:-.01em;white-space:nowrap}.stake-copy{font-size:calc(16px * var(--note-density));line-height:calc(1.5 * var(--note-density));margin-top:2px}.numbered{gap:0;padding:0 1px;display:grid}.numbered>span{min-height:calc(27px * var(--note-density));align-items:center;gap:6px;display:flex}.numbered>.numbered-transition{align-items:flex-start}.transition-copy{flex:1;min-width:0}.transition-tail{white-space:nowrap;vertical-align:middle;align-items:center;gap:6px;display:inline-flex}.inline-arrow{--arrow-scale:clamp(.92, var(--note-density), 1.28);width:calc(46px * var(--arrow-scale));height:calc(19px * var(--arrow-scale));flex:0 0 calc(46px * var(--arrow-scale))}.numbered b{color:var(--ink-red);font-weight:var(--note-weight)}.numbered .subline{font-size:calc(16px * var(--note-density));padding-left:27px}.red-callout-wrap{width:max-content;max-width:96%;margin:3px auto 0}.red-callout{width:max-content;max-width:100%;color:var(--ink-red);font-size:calc(20px * var(--note-density))}.note-columns.three{grid-template-columns:1fr 1.45fr 1fr}.preparation{gap:9px}.preparation>div{min-width:0;position:relative}.preparation>div+div{border-left:0;padding-left:9px}.prep-divider{z-index:1;width:16px;height:100%;position:absolute;top:0;left:-8px}.subheading{font-size:calc(17px * var(--note-density));white-space:nowrap;display:block;overflow:hidden}.small-copy{font-size:calc(14.5px * var(--note-density));line-height:calc(1.5 * var(--note-density));margin-top:3px}.red-ink{color:var(--ink-red);font-weight:var(--note-weight)}.warning-wrap{margin-top:6px;position:relative}.warning-box{z-index:1;color:var(--ink-red);font-size:calc(15px * var(--note-density));line-height:calc(1.45 * var(--note-density));border:0;margin:0;padding:7px 10px;position:relative}.sketch-box{z-index:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.dynamic-note-header{min-height:104px;padding-top:5px}.dynamic-note-header .principle-wrap{margin-top:2px}.dynamic-note-header .principle{font-size:calc(14px * var(--note-density));letter-spacing:.08em}.dynamic-sections{gap:calc(8px * var(--note-density));display:grid}.dynamic-note-section{min-width:0;padding-top:17px}.dynamic-note-section:first-child{padding-top:4px}.dynamic-note-section .section-title{overflow-wrap:anywhere;max-width:100%}.dynamic-note-list{gap:calc(7px * var(--note-density));padding:4px 8px 3px;display:grid}.dynamic-note-item{grid-template-columns:calc(32px * var(--note-density)) minmax(0, 1fr);align-items:start;gap:calc(7px * var(--note-density));min-width:0;display:grid}.dynamic-note-number{width:calc(29px * var(--note-density));height:calc(25px * var(--note-density));margin-top:calc(2px * var(--note-density));color:var(--ink-red);font-family:var(--note-font), cursive;font-size:calc(12px * var(--note-density));border:1.5px solid;border-radius:48% 52% 45% 55%;place-items:center;line-height:1;display:inline-grid;transform:rotate(-2deg)}.dynamic-note-copy{min-width:0;color:var(--ink-black);font-size:calc(19px * var(--note-density));line-height:calc(1.52 * var(--note-density));overflow-wrap:anywhere}.dynamic-note-item:nth-child(3n+1) .dynamic-note-copy{color:var(--ink-blue)}.editable{cursor:text;border-radius:2px;outline:0;position:relative}.editable:hover{box-shadow:0 0 0 1px #4656d938}.editable-active{background-color:#ffffff38;box-shadow:0 0 0 1.5px var(--ui-blue), 0 0 0 4px #4656d91f!important}.editable-active:after{content:"";border:1.5px solid var(--ui-blue);background:#fff;border-radius:2px;width:7px;height:7px;position:absolute;bottom:-5px;right:-5px}.layout-sop .comparison,.layout-sop .stakes,.layout-sop .preparation{grid-template-columns:1fr 1fr}.layout-sop .stakes .stake,.layout-sop .preparation>div{margin-bottom:7px}.layout-sop .preparation>div+div,.layout-sop .comparison>div+div{border-left:0}.layout-sop .dynamic-note-list{counter-reset:sop-step;gap:calc(10px * var(--note-density))}.layout-sop .dynamic-note-item{padding:calc(6px * var(--note-density)) calc(8px * var(--note-density));border-left:3px solid color-mix(in srgb, var(--ink-blue) 60%, transparent);background:#fff3}.layout-sop .dynamic-note-number{color:var(--ink-blue);border-radius:4px;transform:rotate(0)}.layout-mindmap .note-section{border-left:2px solid var(--ink-blue);margin-left:22px;padding-left:18px}.layout-mindmap .note-columns.four{grid-template-columns:1fr 1fr;gap:10px}.layout-mindmap .logic-row{grid-template-columns:auto;justify-content:center}.layout-mindmap .logic-rule{display:none}.layout-mindmap .dynamic-note-number{color:var(--ink-red);border:0;transform:none}.layout-mindmap .dynamic-note-number:before{content:"↳";font-size:calc(22px * var(--note-density))}.layout-mindmap .dynamic-note-number{font-size:0}.style-panel{border-left:1px solid var(--border);scrollbar-width:thin;padding:0 18px 24px;overflow-y:auto}.mobile-sheet-heading,.style-tabs{display:none}.panel-heading{border-bottom:1px solid #e7e7e8;justify-content:space-between;align-items:center;min-height:55px;display:flex}.panel-heading>span{gap:2px;display:grid}.panel-heading h2{margin:0;font-size:15px;font-weight:720}.panel-heading small{color:#969aa2;font-size:10.5px;font-weight:500}.panel-heading>button{display:none}.control-section{border-bottom:1px solid #ededee;padding:14px 0}.control-section h3,.control-label{color:#555960;margin:0 0 11px;font-size:12.5px;font-weight:650}.theme-row{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.theme-choice,.paper-choice,.layout-choice,.palette-choice{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0}.theme-choice{color:#666a72;justify-items:center;gap:5px;font-size:10.5px;display:grid}.theme-choice img{object-fit:cover;border:1px solid #dfdfdf;border-radius:5px;width:100%;height:66px}.theme-choice.selected img,.theme-choice:hover img{border:2px solid var(--ui-blue)}.theme-choice.selected{color:var(--ui-blue)}.paper-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.paper-choice{color:#656970;justify-items:center;gap:5px;font-size:10.5px;display:grid}.paper-choice img{object-fit:cover;border:1px solid #dedfe2;border-radius:6px;width:76px;height:75px}.paper-choice.selected img{border:2px solid var(--ui-blue)}.paper-choice.selected{color:var(--ui-blue)}.palette-row{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.palette-choice{border-color:#e1e2e5;grid-template-columns:1fr 1fr;gap:4px;min-height:48px;padding:7px;display:grid}.palette-choice span{border:1px solid #0000000d;border-radius:50%;justify-self:center;width:16px;height:16px}.palette-choice.selected{border:2px solid var(--ui-blue);padding:6px}.stroke-control{padding-bottom:12px}.brush-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.brush-choice{color:#6a6e76;cursor:pointer;background:#fff;border:1px solid #dfe0e3;border-radius:6px;grid-template-rows:28px auto;align-items:center;gap:3px;min-width:0;min-height:62px;padding:8px 7px 6px;font-size:10.5px;display:grid}.brush-choice:hover{border-color:#bfc2ca}.brush-choice.selected{border:2px solid var(--ui-blue);color:var(--ui-blue);background:#f8f8ff;padding:7px 6px 5px}.brush-preview{color:#30343b;width:100%;height:26px}.stroke-slider{color:#646870;grid-template-columns:1fr auto;align-items:center;gap:6px;margin-top:12px;font-size:11.5px;display:grid}.stroke-slider b{color:#3f434a;font-weight:650}.stroke-slider input{width:100%;accent-color:var(--ui-blue);grid-column:1/-1;margin:0}.control-section select{color:#3c3f45;background:#fff;border:1px solid #dfe0e3;border-radius:6px;width:100%;height:38px;padding:0 34px 0 11px;font-size:13px}.font-weight-label{color:#646870;justify-content:space-between;align-items:center;margin-top:11px;font-size:11.5px;display:flex}.font-weight-label b{color:#3f434a;font-weight:650}.font-weight-row{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:7px;display:grid}.font-weight-choice{color:#62666e;cursor:pointer;background:#fff;border:1px solid #dfe0e3;border-radius:6px;align-content:center;place-items:center;gap:1px;min-width:0;min-height:43px;font-size:12px;display:grid}.font-weight-choice small{color:#a0a3aa;font-size:9.5px}.font-weight-choice:hover{border-color:#bfc2ca}.font-weight-choice.selected{border:2px solid var(--ui-blue);color:var(--ui-blue);background:#f8f8ff}.font-weight-choice.selected small{color:#7a83df}.density-control .control-label,.compact-control .control-label{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.density-control input{width:100%;accent-color:var(--ui-blue)}.layout-row{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.layout-choice{color:#6c7078;border-color:#dfe0e3;align-content:center;justify-items:center;gap:5px;min-height:70px;font-size:10.5px;display:grid}.layout-choice.selected{border:2px solid var(--ui-blue);color:var(--ui-blue);background:#f8f8ff}.compact-control{padding:13px 0}.compact-control .control-label{margin:0}.compact-control b{font-size:12px;font-weight:600}.primary-wide{background:var(--ui-blue);color:#fff;border-radius:6px;width:100%;min-height:45px;margin-top:16px;font-weight:650}.reset-button{color:#868a92;width:100%;min-height:38px;margin-top:7px;font-size:12px}.reset-button:hover{color:#4d5159;background:#f6f6f6}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17191f47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.batch-dialog,.library-dialog,.page-preview-dialog,.sync-dialog{background:#fff;border-radius:12px;outline:0;width:min(520px,100%);padding:23px;box-shadow:0 18px 60px #191c303b}.batch-dialog{flex-direction:column;width:min(650px,100%);max-height:min(780px,100vh - 48px);display:flex}.library-dialog{flex-direction:column;width:min(720px,100%);max-height:min(760px,100vh - 48px);display:flex}.page-preview-dialog{flex-direction:column;width:min(860px,100%);max-height:calc(100vh - 48px);display:flex}.page-preview-toolbar{color:#555a64;justify-content:center;align-items:center;gap:8px;margin:12px 0 10px;display:flex}.page-preview-toolbar strong{text-align:center;min-width:92px;font-size:12.5px}.page-preview-toolbar>span{border-radius:5px;margin-left:10px;padding:5px 8px;font-size:10.5px}.page-fit-ok{color:#36704a;background:#edf8f1}.page-fit-warning{color:#a24d40;background:#fff0ed}.page-preview-stage{scrollbar-width:thin;background:#f1f1ed;border:1px solid #e2e3e6;border-radius:9px;flex:1;place-items:start center;min-height:0;padding:16px;display:grid;overflow:auto}.page-preview-frame{width:418px;height:594px}.page-preview-frame .paper-page{transform-origin:0 0;width:760px;max-width:none;margin:0;transform:scale(.55);box-shadow:0 12px 42px #2024302e}.page-preview-actions{margin-top:12px}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.eyebrow{color:var(--ui-blue);letter-spacing:.08em;font-size:11px;font-weight:750;display:block}.dialog-heading h2{letter-spacing:-.02em;margin:5px 0 0;font-size:21px}.batch-dialog>p,.dialog-intro{color:#777b84;margin:9px 0 17px;font-size:13px}.template-grid{scrollbar-width:thin;grid-template-columns:1fr 1fr;gap:11px;min-height:0;padding:2px;display:grid;overflow-y:auto}.template-card{color:#353940;text-align:left;cursor:pointer;background:#fff;border:1px solid #e0e1e4;border-radius:9px;grid-template-rows:auto auto 1fr;grid-template-columns:38px minmax(0,1fr);align-items:start;column-gap:11px;min-width:0;min-height:138px;padding:16px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.template-card:not(:disabled):hover{border-color:#9da6eb;transform:translateY(-1px);box-shadow:0 5px 18px #3b459517}.template-card.active{background:#fbfbff;border:2px solid #8e98ee;padding:15px;box-shadow:0 0 0 3px #4656d90f}.template-card:disabled{opacity:1;cursor:default}.template-icon{background:var(--ui-blue-soft);width:38px;height:38px;color:var(--ui-blue);border-radius:8px;grid-row:1/3;place-items:center;display:inline-grid}.template-card strong{align-self:center;font-size:14px}.template-card>span:not(.template-icon){color:#777b84;grid-column:2;margin-top:5px;font-size:12px;line-height:1.45}.template-card small{color:#9a9da4;grid-column:1/-1;justify-content:space-between;align-self:end;align-items:center;gap:8px;margin-top:16px;font-size:11px;display:flex}.template-card small em{background:var(--ui-blue-soft);color:var(--ui-blue);border-radius:4px;padding:3px 6px;font-style:normal;font-weight:650}.version-dialog{width:min(700px,100%)}.version-toolbar{justify-content:space-between;align-items:center;gap:18px;margin:12px 0 16px;display:flex}.version-toolbar p{color:#777b84;margin:0;font-size:12.5px;line-height:1.45}.version-toolbar .primary-button{flex:none}.version-list{scrollbar-width:thin;align-content:start;gap:8px;min-height:170px;padding:1px;display:grid;overflow-y:auto}.version-item{background:#fff;border:1px solid #e4e5e7;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:13px 12px 13px 15px;display:grid}.version-copy{min-width:0}.version-copy>div{align-items:center;gap:8px;min-width:0;display:flex}.version-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.version-copy span{color:#747881;background:#f0f1f4;border-radius:4px;flex:none;padding:3px 6px;font-size:10px}.version-copy p{color:#92959d;margin:6px 0 0;font-size:11.5px}.version-actions{align-items:center;gap:4px;display:flex}.version-actions .secondary-button{min-height:32px}.danger-icon{color:#ae5259}.version-empty{color:#8a8e96;text-align:center;border:1px dashed #d9dadd;border-radius:9px;align-content:center;place-items:center;gap:7px;min-height:170px;display:grid}.version-empty strong{color:#545860;font-size:13px}.version-empty span{font-size:11.5px}.sync-dialog{width:min(560px,100%)}.sync-overview{background:#fafafa;border:1px solid #e3e5e8;border-radius:10px;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:13px;margin-top:18px;padding:15px;display:grid}.sync-overview-icon{color:#6d727b;background:#eef0f4;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.sync-overview strong{color:#353940;margin:1px 0 5px;font-size:14px;display:block}.sync-overview p{color:#7d818a;margin:0;font-size:12px;line-height:1.55}.sync-overview.sync-success{background:#f6fbf8;border-color:#d9eadf}.sync-overview.sync-success .sync-overview-icon{color:#35704b;background:#e7f5ec}.sync-overview.sync-working .sync-overview-icon{color:var(--ui-blue);background:#eef0ff}.sync-overview.sync-warning{background:#fff9f6;border-color:#f0dfd7}.sync-overview.sync-warning .sync-overview-icon{color:#a85e3f;background:#fbece5}.sync-facts{grid-template-columns:1fr 1fr;gap:9px;margin:14px 0;display:grid}.sync-facts>div{border:1px solid #e8e9eb;border-radius:8px;padding:11px 12px}.sync-facts dt{color:#999da5;margin-bottom:5px;font-size:10.5px}.sync-facts dd{color:#4b4f57;margin:0;font-size:12px;font-weight:650}.sync-actions{grid-template-columns:1.15fr 1fr 1fr;gap:8px;display:grid}.sync-actions button{min-width:0;min-height:42px;padding-inline:10px}.sync-footnote{color:#9a9ea6;margin:12px 2px 0;font-size:10.5px;line-height:1.5}.conflict-dialog{text-align:center;width:min(620px,100%)}.conflict-icon{color:#ae6040;background:#fff0e9;border-radius:16px;place-items:center;width:54px;height:54px;margin:0 auto 11px;display:grid}.conflict-dialog h2{margin:6px 0 7px;font-size:22px}.conflict-dialog>p{color:#7e828b;max-width:440px;margin:0 auto;font-size:12.5px;line-height:1.6}.conflict-compare{text-align:left;grid-template-columns:1fr 1fr;gap:9px;margin:19px 0 14px;display:grid}.conflict-compare>div{background:#fafafa;border:1px solid #e4e5e8;border-radius:9px;gap:5px;min-width:0;padding:14px;display:grid}.conflict-compare span{color:#92969e;font-size:10.5px}.conflict-compare strong{color:#3b3f47;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.conflict-compare small{color:#858992;font-size:10.5px}.conflict-actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.conflict-actions button{min-height:44px}.batch-toolbar{color:#858991;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px;font-size:11.5px;display:flex}.batch-toolbar>div{gap:4px;display:flex}.batch-toolbar button{min-height:27px;color:var(--ui-blue);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 8px;font-size:11.5px}.batch-toolbar button:hover{background:var(--ui-blue-soft)}.batch-toolbar button:disabled{opacity:.42;cursor:default;background:0 0}.batch-list{scrollbar-width:thin;gap:8px;min-height:0;max-height:min(460px,52vh);padding:1px;display:grid;overflow-y:auto}.batch-item{cursor:pointer;background:#fff;border:1px solid #e0e1e4;border-radius:8px;grid-template-columns:18px 34px minmax(0,1fr);align-items:center;gap:10px;min-height:78px;padding:11px 13px;transition:border-color .15s,background-color .15s,box-shadow .15s;display:grid}.batch-item:hover{border-color:#b8bde2}.batch-item.selected{background:#fbfbff;border-color:#9ca5ec;box-shadow:0 0 0 2px #4656d90d}.batch-item input{width:16px;height:16px;accent-color:var(--ui-blue);cursor:pointer;margin:0}.batch-item-icon{background:var(--ui-blue-soft);width:34px;height:34px;color:var(--ui-blue);border-radius:7px;place-items:center;display:inline-grid}.batch-item-copy{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;min-width:0;display:grid}.batch-item-copy strong{color:#353940;font-size:13.5px}.batch-item-copy>span{color:#777b84;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11.5px;overflow:hidden}.batch-item-copy small{color:#9a9da4;white-space:nowrap;grid-area:1/2/3;align-self:center;font-size:10.5px}.batch-progress{background:#f0f1f4;border-radius:7px;min-height:34px;margin-top:12px;position:relative;overflow:hidden}.batch-progress>span{background:#dfe2ff;transition:width .18s;position:absolute;inset:0 auto 0 0}.batch-progress p{z-index:1;color:#5961a3;margin:0;padding:9px 11px;font-size:11.5px;position:relative}.batch-dialog[aria-busy=true] .primary-button:disabled,.batch-dialog[aria-busy=true] .icon-button:disabled{cursor:progress}.dialog-actions{justify-content:space-between;gap:12px;margin-top:18px;display:flex}.dialog-actions>span{color:#9599a1;align-self:center;font-size:11.5px}.toast{z-index:200;color:#fff;background:#20242b;border-radius:22px;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-size:13px;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0000002e}.toast button{color:#fff;cursor:pointer;background:#ffffff24;border:0;border-radius:5px;margin-left:5px;padding:4px 8px;font-weight:650}.toast button:hover{background:#ffffff3d}.toast-warning{background:#49342f}.toast-warning>svg{color:#ffc2ad}.mobile-bottom-nav,.mobile-only-action{display:none}.pwa-install-nudge{z-index:80;width:min(380px,100vw - 28px);min-height:64px;color:var(--ui-blue);background:#fffffffa;border:1px solid #4656d929;border-radius:14px;grid-template-columns:30px minmax(0,1fr) auto 32px;align-items:center;gap:9px;padding:9px 8px 9px 13px;display:grid;position:fixed;bottom:16px;right:14px;box-shadow:0 12px 40px #1f265433}.pwa-install-nudge>div{gap:2px;min-width:0;display:grid}.pwa-install-nudge strong{color:#323641;font-size:13px}.pwa-install-nudge span{color:#858995;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.pwa-install-action{background:var(--ui-blue);color:#fff;cursor:pointer;border:0;border-radius:8px;min-width:56px;min-height:38px;font-size:12px;font-weight:700}.pwa-install-close{color:#8c9099;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:38px;padding:0;display:grid}.pwa-update{z-index:220;color:#555a66;background:#fff;border:1px solid #dfe2ff;border-radius:10px;align-items:center;gap:12px;padding:9px 10px 9px 14px;font-size:12px;display:flex;position:fixed;top:70px;right:16px;box-shadow:0 10px 32px #1f265429}.pwa-update button{background:var(--ui-blue);color:#fff;cursor:pointer;border:0;border-radius:7px;align-items:center;gap:5px;min-height:34px;padding:0 10px;font-size:12px;display:inline-flex}.pwa-help-sheet{background:#fff;border-radius:16px;outline:0;width:min(460px,100%);max-height:calc(100dvh - 32px);padding:22px;overflow-y:auto;box-shadow:0 18px 60px #191c303b}.pwa-help-sheet ol{gap:16px;margin:22px 0 4px;padding:0;list-style:none;display:grid}.pwa-help-sheet li{grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px;display:grid}.pwa-help-sheet li>span{background:var(--ui-blue-soft);width:32px;height:32px;color:var(--ui-blue);border-radius:50%;place-items:center;font-size:12px;font-weight:750;display:grid}.pwa-help-sheet li div{gap:5px;display:grid}.pwa-help-sheet li strong{color:#373b44;font-size:14px}.pwa-help-sheet li small{color:#858995;align-items:center;gap:5px;font-size:12px;line-height:1.55;display:flex}@media (width<=1190px){.app-shell{--outline-column:220px;--style-column:280px}.outline-actions{grid-template-columns:1fr}.outline-section-tools{padding-left:12px}.top-actions{padding:0 12px}.brand{min-width:220px;padding:0 16px}.paper-page{width:720px}.paper-preview-scale .paper-page{width:760px}.style-panel{padding-inline:14px}.paper-choice img{width:68px;height:68px}}@media (width<=960px){body{overflow:hidden}.app-shell{--outline-column:0px;--style-column:0px;min-width:0;min-height:0}.workspace,.app-shell.outline-collapsed .workspace,.app-shell.style-collapsed .workspace,.app-shell.outline-collapsed.style-collapsed .workspace{grid-template-columns:minmax(0,1fr);min-height:0}.outline-panel,.style-panel{z-index:50;width:min(330px,100vw - 42px);position:fixed;top:58px;bottom:0;box-shadow:0 16px 42px #181c2a33}.outline-panel{left:0}.style-panel{right:0}.brand{min-width:auto}.canvas-stage{padding:16px 10px 56px}.paper-page{width:min(720px,100%)}.paper-preview-scale .paper-page{width:760px}}@media (width<=720px),(width<=1024px) and (height<=500px){:root{--mobile-topbar:62px;--mobile-nav:62px;--mobile-sheet-height:clamp(292px, 43dvh, 420px)}html,body,#root{height:100%;min-height:0}body{overscroll-behavior:none;overflow:hidden}.app-shell{height:var(--app-viewport-height,100dvh);grid-template-rows:calc(var(--mobile-topbar) + var(--safe-top)) minmax(0, 1fr) calc(var(--mobile-nav) + var(--safe-bottom));min-height:0;display:grid}.topbar{height:100%;min-height:0;padding:var(--safe-top) var(--safe-right) 0 var(--safe-left);grid-row:1;grid-template-columns:48px minmax(0,1fr) auto}.brand{border-right:0;justify-content:center;min-width:48px;padding:0}.brand span,.button-label{display:none}.document-title{grid-template-rows:25px 21px;grid-template-columns:minmax(0,1fr) 40px;align-content:center;column-gap:2px;min-width:0;padding:0 0 0 2px;display:grid}.document-title .outline-toggle{display:none}.document-name{grid-area:1/1;max-width:none;font-size:13px}.title-edit{grid-area:1/2/3;width:40px;height:44px}.document-title .save-status{background:0 0;grid-area:2/1;justify-self:start;max-width:100%;min-height:20px;margin:0;padding:0;font-size:9.5px;position:relative;overflow:hidden}.document-title .save-status:before{content:"";position:absolute;inset:-9px -7px}.document-title .save-status span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.top-actions{border-left:0;gap:0;padding:0 4px 0 0}.history-actions{border-right:0;gap:0;padding-right:0}.history-actions .icon-button,.version-button{width:42px;height:44px}.top-actions .style-toggle,.top-actions .export-button,.top-actions>.primary-button{display:none}.workspace,.app-shell.outline-collapsed .workspace,.app-shell.style-collapsed .workspace,.app-shell.outline-collapsed.style-collapsed .workspace{grid-row:2;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:auto;min-height:0;position:relative;overflow:hidden}.canvas-stage{height:100%;padding:14px max(10px, var(--safe-right)) 24px max(10px, var(--safe-left));grid-area:1/1;scroll-padding-bottom:18px;transition:padding-bottom .18s}.mobile-view-outline .canvas-stage,.mobile-view-style .canvas-stage{padding-bottom:calc(var(--mobile-sheet-height) + 18px);scroll-padding-bottom:calc(var(--mobile-sheet-height) + 18px)}.outline-panel,.style-panel{z-index:20;height:var(--mobile-sheet-height);border:1px solid #e1e2e6;border-bottom:0;border-radius:18px 18px 0 0;grid-area:1/1;width:100%;max-width:none;min-height:0;max-height:none;position:absolute;inset:auto 0 0;overflow:hidden;box-shadow:0 -16px 42px #1f222c21}.outline-panel{padding-right:var(--safe-right);padding-left:var(--safe-left);grid-template-rows:auto auto auto minmax(0,1fr) auto}.style-panel{padding-right:calc(18px + var(--safe-right));padding-left:calc(18px + var(--safe-left));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow-y:auto}.mobile-sheet-heading,.style-panel .panel-heading{z-index:3;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;border-bottom:1px solid #ececef;justify-content:space-between;align-items:center;min-height:58px;padding:12px 12px 8px 16px;display:flex;position:sticky;top:0}.mobile-sheet-heading:before,.style-panel .panel-heading:before{content:"";background:#d1d3da;border-radius:999px;width:36px;height:4px;position:absolute;top:6px;left:50%;transform:translate(-50%)}.mobile-sheet-heading>span{gap:2px;display:grid}.mobile-sheet-heading strong{color:#353941;font-size:14px}.mobile-sheet-heading small{color:#969aa2;font-size:10.5px}.mobile-sheet-heading>button,.style-panel .panel-heading>button{color:#6e737d;background:#f4f5f7;border:0;border-radius:10px;place-items:center;width:44px;height:44px;padding:0;display:inline-grid}.style-panel .panel-heading{margin:0 -18px}.style-tabs{z-index:2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;border-bottom:1px solid #ececef;grid-template-columns:repeat(3,1fr);gap:4px;margin:0 -18px;padding:7px 18px 8px;display:grid;position:sticky;top:58px}.style-tabs button{color:#727680;background:#f4f5f7;border:0;border-radius:8px;min-height:36px;padding:0 8px;font-size:12px;font-weight:650}.style-tabs button[aria-selected=true]{background:var(--ui-blue-soft);color:var(--ui-blue)}.style-group{display:none}.style-group.mobile-active{display:block}.style-group .control-section:first-child{padding-top:12px}.mobile-only-action{display:inline-flex}.outline-actions{border-bottom:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:9px 12px 5px;display:grid}.outline-actions .secondary-button{text-overflow:ellipsis;gap:4px;min-width:0;min-height:42px;padding:0 5px;font-size:11px;overflow:hidden}.outline-more-toggle{display:inline-flex}.outline-more-toggle svg{transition:transform .15s}.outline-more-toggle.active{background:var(--ui-blue-soft);color:var(--ui-blue);border-color:#b4baee}.outline-more-toggle.active svg{transform:rotate(180deg)}.outline-secondary-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:none}.outline-secondary-actions.open{display:grid}.outline-secondary-actions .secondary-button{font-size:11.5px}.outline-search{min-height:42px;margin:7px 12px}.outline-search input,.control-section select,input,textarea,select{font-size:16px}.outline-heading{grid-template-columns:28px minmax(0,1fr) 44px;min-height:58px;padding-right:6px}.outline-title{min-height:44px}.outline-heading .icon-button.small{width:44px;height:44px}.outline-section-tools{flex-wrap:wrap;min-height:50px;padding:4px 8px 6px 38px}.outline-section-tools button{min-width:40px;min-height:40px}.outline-child-row>button:first-child{min-height:46px}.child-actions{opacity:1}.child-actions button{width:44px;height:44px}.outline-helper{display:none}.outline-meta{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;padding:4px 14px}.page-preview-link{align-items:center;min-height:40px;display:inline-flex}.reset-button{min-height:44px}.mobile-bottom-nav{z-index:70;height:100%;padding:3px max(8px, var(--safe-right)) var(--safe-bottom) max(8px, var(--safe-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff5;border-top:1px solid #e5e6e9;grid-row:3;grid-template-columns:repeat(4,1fr);display:grid;position:relative;inset:auto;box-shadow:0 -4px 18px #1f222c0b}.mobile-bottom-nav button{color:#777c86;cursor:pointer;background:0 0;border:0;border-radius:10px;align-content:center;justify-items:center;gap:3px;min-width:0;min-height:54px;padding:0;font-size:10.5px;display:grid;position:relative}.mobile-bottom-nav button[aria-current=page]{color:var(--ui-blue);background:#f2f3ff;font-weight:700}.mobile-bottom-nav button:disabled{opacity:.5;cursor:progress}.mobile-bottom-nav small{background:var(--ui-blue);color:#fff;border:2px solid #fff;border-radius:9px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:8px;line-height:1;display:grid;position:absolute;top:5px;left:calc(50% + 8px)}.mobile-bottom-nav .mobile-export{color:#3e49bd}.dialog-backdrop{place-items:end center;padding:0}.batch-dialog,.library-dialog,.page-preview-dialog,.sync-dialog,.pwa-help-sheet{width:100%;max-height:calc(var(--app-viewport-height,100dvh) - max(12px, var(--safe-top)));padding:20px calc(18px + var(--safe-right)) calc(18px + var(--safe-bottom)) calc(18px + var(--safe-left));border-radius:18px 18px 0 0}.dialog-heading .icon-button{width:44px;height:44px}.template-grid{grid-template-columns:1fr}.template-card{min-height:124px}.batch-item-copy{grid-template-columns:minmax(0,1fr)}.batch-item-copy>span{white-space:normal}.batch-item-copy small{grid-area:auto/1}.dialog-actions{flex-direction:column-reverse;align-items:stretch}.dialog-actions .primary-button{width:100%}.dialog-actions>span{text-align:center}.sync-overview{grid-template-columns:42px minmax(0,1fr);padding:13px}.sync-overview-icon{border-radius:10px;width:40px;height:40px}.sync-facts,.sync-actions,.conflict-compare,.conflict-actions{grid-template-columns:1fr}.sync-actions button,.conflict-actions button{min-height:46px}.conflict-dialog{width:100%;padding-right:calc(18px + var(--safe-right));padding-bottom:calc(18px + var(--safe-bottom));padding-left:calc(18px + var(--safe-left))}.conflict-compare{margin-top:15px}.version-toolbar{flex-direction:column;align-items:stretch}.version-toolbar .primary-button{width:100%}.version-item{grid-template-columns:1fr}.version-actions{justify-content:flex-end}.page-preview-frame{width:304px;height:432px}.page-preview-frame .paper-page{transform:scale(.4)}.page-preview-toolbar>span{margin-left:2px}.paper-page{touch-action:pan-x pan-y;min-height:920px;padding:15px 18px 60px 42px}.paper-preview-scale .paper-page{width:760px;min-height:1080px}.paper-zoom-controls{border-radius:11px;min-height:42px;margin-bottom:-42px;padding:4px;top:8px}.paper-zoom-controls button{min-width:34px;height:34px}.note-header h1{font-size:calc(30px * var(--note-density))}.toast{bottom:calc(var(--mobile-nav) + var(--safe-bottom) + 12px);width:max-content;max-width:calc(100vw - var(--safe-left) - var(--safe-right) - 24px)}.app-shell:not(.mobile-view-canvas) .pwa-install-nudge{display:none}.pwa-install-nudge{right:calc(8px + var(--safe-right));bottom:calc(var(--mobile-nav) + var(--safe-bottom) + 8px);width:min(140px, calc(100vw - var(--safe-left) - var(--safe-right) - 16px));border-radius:12px;grid-template-columns:24px 48px 40px;gap:5px;min-height:52px;padding:4px 4px 4px 9px;box-shadow:0 8px 28px #1f265429}.pwa-install-nudge>div{display:none}.pwa-install-action{min-width:48px;min-height:44px;padding:0 8px}.pwa-install-close{width:40px;height:44px}.pwa-update{top:calc(var(--mobile-topbar) + var(--safe-top) + 10px);right:calc(12px + var(--safe-right));width:min(420px, calc(100vw - var(--safe-left) - var(--safe-right) - 24px));justify-content:space-between;left:auto}.pwa-update button{min-height:44px}}@media (width>=721px) and (width<=1024px) and (height<=500px){:root{--mobile-topbar:58px;--mobile-nav:58px}.outline-panel,.style-panel{border-radius:0;width:min(42vw,380px);height:100%;top:0;bottom:0}.outline-panel{left:0;right:auto}.style-panel{left:auto;right:0}.mobile-view-outline .canvas-stage{padding-bottom:24px;padding-left:calc(min(42vw,380px) + 10px);scroll-padding-bottom:18px}.mobile-view-style .canvas-stage{padding-bottom:24px;padding-right:calc(min(42vw,380px) + 10px);scroll-padding-bottom:18px}.mobile-bottom-nav{grid-template-columns:repeat(4,minmax(76px,112px));justify-content:center;gap:8px}.mobile-bottom-nav button{min-height:50px}.outline-search{margin-block:6px}.outline-helper{display:none}.outline-meta{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding-block:6px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.batch-dialog,.library-dialog,.page-preview-dialog,.sync-dialog,.pwa-help-sheet{width:min(720px,100%);margin-inline:auto}}@media (display-mode:standalone) and (width<=720px),(display-mode:standalone) and (width<=1024px) and (height<=500px){.topbar{background:#fffffff0}.pwa-install-nudge{display:none}}.canvas-area{background:#f5f5f1;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.preview-toolbar{background:#f8f8f5;border-bottom:1px solid #e4e4df;flex:0 0 52px;justify-content:space-between;align-items:center;gap:8px;padding:6px 14px;display:flex}.preview-caption{color:#747981;white-space:nowrap;font-size:12px}.canvas-area .paper-zoom-controls{min-height:36px;box-shadow:none;margin:0;position:static}.canvas-area .canvas-stage{scroll-behavior:auto;flex:1;min-height:0;padding:18px 14px}.style-tabs{z-index:4;background:#fff;gap:6px;padding:12px 0;display:flex;position:sticky;top:0}.style-tabs button{color:#606570;cursor:pointer;background:#f4f5f7;border:0;border-radius:8px;flex:1;min-height:38px}.style-tabs button[aria-selected=true]{background:var(--ui-blue-soft);color:var(--ui-blue);font-weight:650}.style-group{display:none}.style-group.mobile-active{display:block}.theme-row{grid-template-columns:repeat(2,1fr);gap:12px}.theme-sample{background-size:cover;border:1px solid #dcdde1;border-radius:7px;flex-direction:column;align-items:flex-start;gap:9px;width:100%;min-height:104px;padding:12px 8px;font-family:Ma Shan Zheng,cursive;display:flex}.theme-sample b{color:var(--sample-title);font-size:17px}.theme-sample i{color:var(--sample-ink);font-size:13px;font-style:normal}.theme-sample em{color:#333;background:var(--sample-marker);font-size:12px;font-style:normal}.theme-choice.selected .theme-sample{outline:2px solid var(--ui-blue);outline-offset:-2px}.font-gallery,.advanced-settings{border:1px solid #e4e5eb;border-radius:8px;margin-top:14px}.font-gallery summary,.advanced-settings summary{cursor:pointer;color:#555c6b;padding:12px;font-size:12px}.font-samples{gap:6px;max-height:290px;padding:0 8px 8px;display:grid;overflow:auto}.font-samples button{text-align:left;cursor:pointer;background:#fafafa;border:1px solid #e3e4e8;border-radius:6px;gap:8px;padding:10px;display:grid}.font-samples button[aria-pressed=true]{border-color:var(--ui-blue);background:var(--ui-blue-soft)}.font-samples span{color:#767c88;font-size:11px}.font-samples strong{font-size:21px;font-weight:400}.advanced-settings .control-section{border:0;padding:8px 10px 14px}.sheet-resizer{display:none}@media (width<=720px),(width<=1024px) and (height<=500px){.canvas-area{grid-area:1/1}.mobile-view-outline .canvas-area,.mobile-view-style .canvas-area{margin-bottom:calc(var(--mobile-sheet-height) + 30px)}.canvas-area .canvas-stage{height:auto;padding:12px 10px;scroll-padding-bottom:12px;transition:none}.preview-toolbar{flex-basis:48px;padding:4px 10px}.preview-caption{font-size:11px}.sheet-resizer{z-index:24;bottom:var(--mobile-sheet-height);color:#737985;touch-action:none;cursor:ns-resize;background:#fff;border-top:1px solid #dedfe5;border-radius:12px 12px 0 0;justify-content:center;align-items:center;gap:8px;width:100%;height:30px;font-size:10px;display:flex;position:absolute}.sheet-resizer span{background:#b9bfcb;border-radius:4px;width:30px;height:4px}.outline-panel,.style-panel{box-shadow:none;border-radius:0}.mobile-sheet-heading:before,.style-panel .panel-heading:before{display:none}.style-tabs{top:0}.theme-row{grid-template-columns:repeat(4,1fr);gap:8px}.theme-sample{min-height:94px;padding:10px 5px}.theme-sample b{font-size:15px}.theme-sample i,.theme-sample em{font-size:10px}}@media (width>=721px) and (width<=1024px) and (height<=500px){.sheet-resizer{display:none}.mobile-view-outline .canvas-area{margin-bottom:0;margin-left:min(42vw,380px)}.mobile-view-style .canvas-area{margin-bottom:0;margin-right:min(42vw,380px)}.canvas-area .canvas-stage{padding:12px 10px}}.outline-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-inline:12px}.outline-actions .secondary-button{min-width:0;padding-inline:5px;font-size:12px}.outline-helper{white-space:normal;padding-inline:10px;line-height:1.6}.font-load-status{color:#777e89;margin:8px 0;font-size:11px;line-height:1.5}.side-dock{display:contents}.panel-rail{display:none}@media (width>=721px) and (height>=501px),(width>=1025px){.app-shell{--outline-column:376px;--style-column:396px}.app-shell.outline-collapsed{--outline-column:56px}.app-shell.style-collapsed{--style-column:56px}.app-shell .workspace,.app-shell.outline-collapsed .workspace,.app-shell.style-collapsed .workspace,.app-shell.outline-collapsed.style-collapsed .workspace{grid-template-columns:var(--outline-column) minmax(0, 1fr) var(--style-column);min-height:0}.side-dock{background:#fff;min-width:0;min-height:0;display:flex;overflow:hidden}.left-dock{border-right:1px solid var(--border)}.right-dock{border-left:1px solid var(--border)}.panel-rail{background:#fafbfc;flex-direction:column;flex:0 0 56px;align-items:center;gap:12px;width:56px;padding:16px 0;display:flex}.left-dock .panel-rail{border-right:1px solid #e5e7ec}.right-dock .panel-rail{border-left:1px solid #e5e7ec}.panel-rail button{color:#555d70;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:42px;height:44px;display:grid}.panel-rail button:hover,.panel-rail button[aria-expanded=true]{color:#3949c6;background:#e9ecff}.panel-rail button:focus-visible{outline-offset:2px;outline:2px solid #4656d9}.document-title .panel-toggle,.top-actions .panel-toggle{display:none}.side-dock .outline-panel,.side-dock .style-panel{width:auto;height:100%;min-height:0;box-shadow:none;border:0;flex:1;position:static;top:auto;bottom:auto}.side-dock .style-panel{padding:0 20px 24px}.mobile-sheet-heading,.style-panel .panel-heading{border-bottom:1px solid #eceef2;justify-content:space-between;align-items:center;gap:10px;min-height:86px;padding:16px;display:flex}.style-panel .panel-heading{padding-inline:0}.mobile-sheet-heading>span{gap:6px;display:grid}.mobile-sheet-heading strong,.panel-heading h2{color:#303745;font-size:17px}.mobile-sheet-heading small,.panel-heading small{color:#646c79;font-size:14px;line-height:1.5}.mobile-sheet-heading>button,.style-panel .panel-heading>button{cursor:pointer;background:#fff;border:1px solid #e2e5eb;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid}.mobile-sheet-heading>button svg{transform:rotate(90deg)}.style-panel .panel-heading>button svg{transform:rotate(-90deg)}.outline-actions{gap:8px;padding:14px 16px}.outline-actions>.secondary-button:first-child{grid-column:1/-1}.outline-actions .secondary-button{min-height:42px;font-size:15px}.outline-search{margin:0 16px 14px}.outline-search input{height:42px;font-size:15px}.outline-heading{min-height:58px;padding-left:10px}.outline-title{white-space:normal;padding-block:10px;font-size:16px;line-height:1.5}.outline-section-tools{flex-wrap:wrap;gap:5px;padding:0 12px 10px}.outline-section-tools button{white-space:nowrap;min-width:34px;min-height:34px;font-size:14px}.outline-children{padding-left:20px}.outline-child-row>button:first-child{min-height:42px;font-size:15px}.outline-child-row>button:first-child span{white-space:normal;line-height:1.6}.outline-helper{display:none}.side-dock .outline-panel{grid-template-rows:auto auto auto minmax(0,1fr) auto}.outline-meta,.page-preview-link,.outline-empty{color:#626b79;font-size:14px;line-height:1.6}.page-preview-link{color:#3949c6}.style-tabs button{min-height:44px;font-size:15px}.control-section h3,.control-label,.stroke-slider,.compact-control b{color:#424b5a;font-size:15px;line-height:1.5}.control-section select{height:44px;font-size:16px}.font-load-status,.font-samples span,.font-weight-choice small,.font-weight-label{color:#657080;font-size:14px}.font-gallery summary,.advanced-settings summary{color:#465061;padding:14px;font-size:15px}.font-weight-choice{min-height:56px;font-size:15px}.theme-choice,.paper-choice,.brush-choice,.layout-choice,.reset-button{font-size:14px}.brush-choice{min-height:72px}.preview-caption,.paper-zoom-value,.paper-zoom-controls button,.save-status{font-size:14px}.brand{min-width:220px}}.library-entry{color:#394354;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #e2e5ed;border-radius:9px;align-items:center;gap:9px;min-height:42px;padding:0 12px;font-size:16px;display:inline-flex}.library-entry:hover{color:#3949c6;background:#eef0ff}.manuscript-library{background:#fff;border-radius:18px;flex-direction:column;gap:20px;width:min(820px,100vw - 32px);height:min(760px,100dvh - 40px);padding:26px;display:flex;overflow:hidden;box-shadow:0 24px 80px #17223d33}.manuscript-library h2{margin:0;font-size:24px}.manuscript-library .dialog-heading p{color:#647080;margin:8px 0 0;font-size:15px}.new-manuscript{gap:10px;display:flex}.new-manuscript input,.manuscript-search input{border:1px solid #dce0e9;border-radius:8px;flex:1;min-width:0;height:46px;padding:0 12px;font-size:16px}.manuscript-search{color:#687587;align-items:center;gap:8px;display:flex}.manuscript-list{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex;overflow-y:auto}.manuscript-card{text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e6ed;border-radius:10px;flex:none;align-items:center;gap:14px;width:100%;padding:18px;display:flex}.manuscript-card>span:first-of-type{flex:1;gap:7px;min-width:0;display:grid}.manuscript-card strong{overflow-wrap:anywhere;font-size:17px}.manuscript-card small,.manuscript-state{color:#637085;font-size:14px}.manuscript-state{white-space:nowrap}.manuscript-library footer{border-top:1px solid #e5e8ee;justify-content:space-between;align-items:center;gap:14px;padding-top:18px;display:flex}.manuscript-library footer>span{color:#657083;font-size:14px;line-height:1.6}@media (width<=720px),(width<=1024px) and (height<=500px){.brand{padding:0 4px}.brand>svg{display:none}.brand .library-entry{justify-content:center;width:40px;padding:0}.brand .library-entry span{display:none}.manuscript-library{gap:14px;padding:18px}.new-manuscript{flex-wrap:wrap}.new-manuscript input{flex-basis:100%}.manuscript-library footer{flex-direction:column;align-items:start}}.dynamic-note-copy{line-height:var(--text-line-height);letter-spacing:var(--text-letter-spacing);text-align:var(--text-align);text-indent:var(--text-indent)}.dynamic-note-list,.layout-sop .dynamic-note-list{gap:var(--text-paragraph-spacing)}.typography-control{color:#424b5a;gap:10px;margin-top:18px;font-size:15px;display:grid}.typography-control>span{justify-content:space-between;gap:12px;display:flex}.typography-control output{font-variant-numeric:tabular-nums}.typography-control input{width:100%;min-height:28px;accent-color:var(--ui-blue);cursor:pointer;margin:0}.typography-hint{color:#657080;margin:14px 0 0;font-size:14px;line-height:1.6}.text-scope{background:#f3f4f8;border-radius:10px;gap:6px;margin-top:16px;padding:4px;display:flex}.text-scope button{color:#535d70;cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;min-height:38px;font-size:15px}.text-scope button[aria-pressed=true]{color:var(--ui-blue);background:#fff;font-weight:600;box-shadow:0 1px 4px #18213b15}.text-scope button:disabled{opacity:.45;cursor:default}.typography-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;margin-top:14px;display:grid}.numeric-control{color:#424b5a;align-content:start;gap:7px;min-width:0;font-size:15px;display:grid}.numeric-field{background:#fff;border:1px solid #dce0e8;border-radius:8px;align-items:center;padding-right:10px;display:flex}.numeric-field:focus-within{outline:2px solid var(--ui-blue);outline-offset:1px}.numeric-field input{color:#303746;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:0;width:100%;min-width:0;min-height:40px;padding:8px 10px;font-size:16px}.numeric-field span{color:#687184;white-space:nowrap;font-size:14px}.numeric-control small{color:#687184;font-size:14px}.numeric-control select{min-height:42px;padding:8px;font-size:15px}.settings-folder{background:#fff;border:1px solid #e1e4ec;border-radius:10px;margin-top:16px;overflow:hidden}.settings-folder>summary{cursor:pointer;color:#343d4e;min-height:58px;padding:14px;font-size:16px;font-weight:600}.settings-folder>summary span{color:#71798a;margin:5px 0 0 18px;font-size:14px;font-weight:400;display:block}.settings-folder-body .typography-grid{gap:14px 10px}.text-color-picker{cursor:pointer;background:#fff;border:1px solid #dce0e8;border-radius:8px;width:100%;height:42px;padding:5px}.text-color-swatches{flex-wrap:wrap;align-items:center;gap:7px;margin-top:12px;display:flex}.text-color-swatches button{cursor:pointer;border:3px solid #fff;border-radius:50%;width:28px;height:28px;box-shadow:0 0 0 1px #dce0e8}.text-color-swatches button[aria-pressed=true]{outline:2px solid var(--ui-blue);outline-offset:2px}.text-color-swatches .follow-theme{width:auto;height:32px;box-shadow:none;color:#535d70;background:#f3f4f8;border:0;border-radius:6px;padding:0 8px;font-size:14px}.settings-folder-body>.control-label{margin:0 0 8px;font-size:15px;line-height:1.5;display:block}.settings-folder-body>select{box-sizing:border-box;color:#303746;appearance:none;cursor:pointer;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5 8 5 5 5-5' stroke='%23687184' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;border:1px solid #dce0e8;border-radius:8px;width:100%;min-width:0;height:44px;padding:0 40px 0 12px;font-size:16px;line-height:normal;display:block}.settings-folder-body>select:hover{border-color:#a9b0c1}.settings-folder-body>select:focus-visible{outline:2px solid var(--ui-blue);outline-offset:2px;border-color:var(--ui-blue)}:root{color:#1d1d1f;--ui-blue:#0071e3;--ui-blue-soft:#eaf3ff;--border:#e5e5e7;--muted:#6e6e73;--surface:#fff;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Helvetica Neue,PingFang SC,Microsoft YaHei,sans-serif}body,.app-shell{background:#f5f5f7}.topbar{-webkit-backdrop-filter:blur(20px);background:#ffffffe6;border-color:#e5e5e7}.brand{border-right:0;font-weight:600}.document-name{color:#1d1d1f;letter-spacing:-.02em;font-weight:600}.top-actions{border-left:0}.primary-button,.primary-wide{box-shadow:none;background:#0071e3;border-radius:999px;font-weight:500}.primary-button:hover,.primary-wide:hover{background:#0077ed}.secondary-button{color:#1d1d1f;box-shadow:none;border-color:#d2d2d7;border-radius:999px;font-weight:500}.secondary-button:hover{background:#f5f5f7;border-color:#b7b7bd}.icon-button,.title-edit{color:#6e6e73;border-radius:50%}.icon-button:hover,.title-edit:hover{color:#1d1d1f;background:#ededf0}.canvas-area,.canvas-area .canvas-stage{background:#f5f5f7}.preview-toolbar{background:#f5f5f7;border-bottom-color:#0000;padding-inline:20px}.preview-caption{color:#6e6e73;font-size:14px}.canvas-area .paper-zoom-controls{background:#fff;border:1px solid #e5e5e7;border-radius:999px}.paper-page{box-shadow:0 8px 32px #1d1d1f0d,0 1px 4px #1d1d1f0a}.side-dock,.outline-panel,.style-panel{background:#fff}.panel-rail{background:#f5f5f7}.panel-rail button{color:#6e6e73;border-radius:13px}.panel-rail button:hover,.panel-rail button[aria-expanded=true]{color:#0071e3;background:#e8e8ed}.panel-rail button:focus-visible{outline-color:#0071e3}.mobile-sheet-heading strong,.panel-heading h2{letter-spacing:-.03em;color:#1d1d1f;font-size:20px;font-weight:600}.mobile-sheet-heading small,.panel-heading small,.typography-hint,.font-load-status{color:#6e6e73}.style-tabs{background:#f0f0f3;border-radius:12px;gap:3px;margin:16px 0;padding:4px}.style-tabs button{color:#6e6e73;background:0 0;border-radius:9px;min-height:38px;font-weight:500}.style-tabs button[aria-selected=true]{color:#1d1d1f;background:#fff;font-weight:600;box-shadow:0 1px 4px #00000014}.text-scope{background:#f5f5f7;border-radius:10px}.text-scope button{font-size:14px}.text-scope button[aria-pressed=true]{color:#0071e3}.settings-folder{background:#f5f5f7;border:0;border-radius:16px;margin-top:18px}.settings-folder>summary{color:#1d1d1f;padding:18px 16px;font-size:16px;font-weight:600}.settings-folder>summary span{color:#6e6e73;line-height:1.5}.settings-folder[open]>summary{background:0 0;border-bottom:1px solid #e5e5e7}.settings-folder-body{padding:18px 16px}.settings-folder-body>select,.numeric-field,.numeric-control select,.text-color-picker{background-color:#fff;border-color:#d2d2d7;border-radius:10px}.numeric-control,.settings-folder-body>.control-label{color:#1d1d1f;font-weight:500}.numeric-control small,.numeric-field span{color:#6e6e73;font-weight:400}.numeric-field input{color:#1d1d1f}.font-gallery{background:#fff;border-color:#e1e1e5;border-radius:10px}.font-gallery summary{color:#515154}.reset-button{color:#06c}.reset-button:hover{color:#0071e3;background:#eaf3ff;border-radius:8px}.text-color-swatches .follow-theme{color:#06c;background:#fff}.outline-search{background:#f5f5f7;border-color:#0000;border-radius:12px}.outline-search:focus-within{border-color:#0071e3;box-shadow:0 0 0 3px #0071e314}.outline-section{border-bottom-color:#ededf0}.outline-section.selected .outline-heading{background:#edf5ff;border-left-color:#0071e3}.outline-heading:hover,.outline-child-row.selected{background:#f5f5f7}.outline-title{color:#1d1d1f;font-weight:600}.outline-section-tools{background:0 0}.page-preview-link{color:#06c}.dialog-backdrop{-webkit-backdrop-filter:blur(10px);background:#1d1d1f40}.manuscript-library,.library-dialog,.batch-dialog,.page-preview-dialog,.sync-dialog{background:#fff;border:1px solid #ffffffa6;border-radius:24px;box-shadow:0 24px 80px #00000026}.dialog-heading h2{color:#1d1d1f;letter-spacing:-.035em;font-size:28px;font-weight:600}.new-manuscript input,.manuscript-search input{background:#fff;border-color:#d2d2d7;border-radius:12px}.manuscript-card{background:#f5f5f7;border:1px solid #0000;border-radius:16px;padding:20px}.manuscript-card:hover{background:#ededf0}.manuscript-card[aria-current=true]{background:#edf5ff;border-color:#9bc9f7}.manuscript-card strong{color:#1d1d1f;font-weight:600}.manuscript-card small,.manuscript-state{color:#6e6e73}.theme-choice.selected,.layout-choice.selected,.brush-choice.selected{color:#0071e3}.layout-choice.selected,.brush-choice.selected{background:#edf5ff;border-color:#0071e3}.mobile-bottom-nav{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffed}button:focus-visible,select:focus-visible,input:focus-visible{outline-color:#0071e3}@media (width>=721px) and (height>=501px),(width>=1025px){.canvas-area .canvas-stage{padding:28px 24px}.style-panel .panel-heading,.mobile-sheet-heading{min-height:92px}.outline-actions{padding-block:18px}}@media (prefers-reduced-motion:reduce){button{transition:none}}.movable-text{min-width:0;position:relative}.movable-selected{z-index:5}.text-move-tools{background:#fff;border:1px solid #d2d2d7;border-radius:9px;gap:2px;padding:3px;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 3px 12px #0000001a}.text-move-tools button{color:#06c;-webkit-text-stroke:0;white-space:nowrap;cursor:pointer;background:#fff;border:0;border-radius:6px;align-items:center;gap:3px;min-height:32px;padding:0 9px;font:14px -apple-system,BlinkMacSystemFont,sans-serif;display:flex}.text-move-tools button:first-child{cursor:grab;touch-action:none}.text-move-tools button:first-child:active{cursor:grabbing}.text-move-tools button:hover{background:#edf5ff}.movable-compact{width:100%;max-width:100%}.dynamic-note-number[role=button]{cursor:pointer}.dynamic-note-number.number-selected,.dynamic-note-number[role=button]:focus-visible{outline-offset:4px;outline:2px solid #0071e3}.movable-compact .text-move-tools,.dynamic-note-item>.movable-text:first-child .text-move-tools{left:0;right:auto}.interface-icon{vertical-align:middle;flex:none;display:inline-block}.desktop-panel-rail .interface-icon{width:22px;height:22px}.outline-heading .interface-icon{width:18px;height:18px}.template-dialog{width:min(1080px,96vw);max-height:90dvh;padding:32px}.template-dialog .eyebrow{font-size:14px}.template-dialog .dialog-heading h2{font-size:32px}.template-dialog .dialog-intro{color:#626268;margin:14px 0 24px;font-size:17px;line-height:1.6}.template-dialog .dialog-heading .icon-button{width:44px;height:44px}.template-dialog .template-grid{gap:16px}.template-dialog .template-card{border-radius:16px;grid-template-columns:44px minmax(0,1fr);column-gap:14px;min-height:172px;padding:22px}.template-dialog .template-card.active{background:#f5faff;border-color:#0071e3;padding:21px}.template-dialog .template-icon{border-radius:12px;width:44px;height:44px}.template-dialog .template-icon svg{width:25px;height:25px}.template-dialog .template-card strong{color:#1d1d1f;font-size:21px;line-height:1.4}.template-dialog .template-card>span:not(.template-icon){color:#626268;font-size:17px;line-height:1.6}.template-dialog .template-card small{color:#68686e;flex-wrap:wrap;margin-top:20px;font-size:15px;line-height:1.5}@media (width<=720px){.template-dialog{width:100%;padding:20px}.template-dialog .dialog-heading h2{font-size:26px}.template-dialog .template-grid{grid-template-columns:1fr}.template-dialog .template-card{min-height:156px}}@media (width>=721px) and (width<=1200px) and (height>=501px){.brand{min-width:0;padding-inline:12px}.document-title{padding-inline:12px}.save-status span{display:none}.top-actions{gap:4px;padding-inline:10px}}.brand>.interface-icon{box-sizing:content-box;color:#fff;background:#1d1d1f;border-radius:12px;padding:9px;transform:none}.brand-logo{object-fit:contain;flex-shrink:0;width:46px;height:46px;display:block}@media (width<=720px),(width<=1024px) and (height<=500px){:root{--mobile-topbar:104px;--mobile-nav:68px}.topbar{grid-template-rows:56px 48px;grid-template-columns:96px minmax(0,1fr)}.brand{justify-content:flex-start;gap:6px;width:96px;min-width:0;padding:0 8px}.brand-logo{width:34px;height:34px}.brand .library-entry{width:40px;min-width:40px;min-height:44px}.document-title{grid-template-rows:26px 22px;padding:0 8px 0 4px}.document-name{font-size:16px}.document-title .save-status{font-size:12px}.title-edit{width:40px;height:44px}.top-actions{border-top:1px solid #f0f0f3;grid-area:2/1/auto/-1;gap:6px;width:100%;padding:0 12px}.top-actions:before{content:"编辑历史";color:#6e6e73;margin-right:auto;font-size:14px}.history-actions .icon-button,.version-button{width:44px;height:44px}.preview-toolbar{gap:6px;padding-inline:10px}.preview-caption{white-space:nowrap;font-size:13px}.paper-zoom-controls button{min-width:34px;min-height:40px;font-size:14px}.paper-zoom-value{font-size:14px}.mobile-bottom-nav button{gap:4px;min-height:60px;font-size:13px}.mobile-bottom-nav .interface-icon{width:24px;height:24px}.mobile-sheet-heading,.style-panel .panel-heading{height:76px;min-height:76px}.mobile-sheet-heading strong,.panel-heading h2{font-size:20px}.mobile-sheet-heading small,.panel-heading small{font-size:13px}.style-tabs{grid-template-columns:repeat(4,minmax(0,1fr));margin-block:0 12px;top:76px}.style-tabs button{min-height:44px;padding-inline:4px;font-size:15px}.outline-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outline-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:block;overflow-y:auto}.outline-list{overflow:visible}.outline-actions .secondary-button,.outline-secondary-actions .secondary-button{min-height:44px;font-size:15px}.outline-search input{font-size:16px}.outline-title{white-space:normal;font-size:17px;line-height:1.5}.outline-child-row>button:first-child{font-size:16px}.outline-section-tools button{min-height:44px;font-size:14px}.outline-meta,.page-preview-link{font-size:13px}.text-scope button{min-height:44px;font-size:15px}.settings-folder>summary{font-size:17px}.numeric-field input,.numeric-control select,.settings-folder-body>select{min-height:44px;font-size:16px}.text-color-picker{height:44px}.text-color-swatches button{width:36px;height:36px}.text-color-swatches .follow-theme{width:auto;min-height:40px}.template-dialog{max-height:calc(100dvh - 16px)}.manuscript-library{border-radius:24px 24px 0 0;width:100%;max-height:calc(100dvh - 16px)}.manuscript-card{gap:10px;padding:16px}.manuscript-library footer .secondary-button{min-height:44px}}@media (width<=1024px) and (height<=500px){:root{--mobile-topbar:56px;--mobile-nav:56px}.topbar{grid-template-rows:56px;grid-template-columns:96px minmax(0,1fr) auto}.top-actions{border:0;grid-area:1/3;width:auto}.top-actions:before{display:none}.mobile-bottom-nav button{min-height:48px}}@media (width>=721px) and (height>=501px),(width>=1025px){body{zoom:.75;width:100%}.app-shell{width:100%;height:calc(var(--app-viewport-height,100dvh) / .75);min-height:0}.app-shell .workspace{height:calc(100% - 58px)}}.manuscript-toolbar{display:contents}.manuscript-create-toggle{display:none}@media (width<=720px),(width<=1024px) and (height<=500px){.brand{align-items:center}.brand-logo{width:40px;height:40px}.brand .library-entry{border-radius:11px;place-items:center;height:40px;min-height:40px;padding:0;display:grid;position:relative}.brand .library-entry:after{content:"";position:absolute;inset:-2px}.brand .library-entry svg{width:23px;height:23px;transform:none}.brand{gap:6px;width:102px;padding-inline:8px}.topbar{grid-template-columns:102px minmax(0,1fr)}.mobile-sheet-heading strong,.panel-heading h2{font-size:18px}.outline-title,.settings-folder>summary{font-size:16px}.outline-child-row>button:first-child{font-size:15px}.style-tabs button,.text-scope button,.control-label,.control-section h3,.numeric-control,.typography-control,.settings-folder-body>.control-label{font-size:14px}.template-dialog .template-card strong{font-size:18px}.template-dialog .template-card>span:not(.template-icon){font-size:15px}.template-dialog .template-card small{font-size:13px}.manuscript-library .dialog-heading{order:0}.manuscript-library h2{font-size:22px}.manuscript-library .dialog-heading p{font-size:13px;line-height:1.6}.manuscript-toolbar{order:1;align-items:center;gap:10px;display:flex}.manuscript-search{background:#f5f5f7;border-radius:12px;flex:1;gap:6px;min-width:0;padding-left:12px}.manuscript-search input{background:0 0;border:0;width:100%;height:44px;padding-left:0}.manuscript-search:focus-within{outline:2px solid #0071e3}.manuscript-create-toggle{flex-shrink:0;min-height:44px;padding:0 14px;font-size:15px;display:inline-flex}.new-manuscript{background:#f5f5f7;border-radius:14px;order:2;padding:12px;display:none}.new-manuscript.open{display:flex}.new-manuscript .primary-button{min-height:44px;font-size:15px}.manuscript-list{order:3}.manuscript-card strong{font-size:16px}.manuscript-card small,.manuscript-state{font-size:13px}.manuscript-library footer{order:4;gap:8px;padding-top:12px}.manuscript-library footer>span{font-size:12px}.manuscript-library footer .secondary-button{font-size:14px}}@media (width<=1024px) and (height<=500px){.topbar{grid-template-columns:102px minmax(0,1fr) auto}}#font-choice:focus{box-shadow:none;border-color:#86868b;outline:none}.style-panel input[type=range]{appearance:none;cursor:pointer;background:0 0;height:24px}.style-panel input[type=range]::-webkit-slider-runnable-track{background:#bfc1c7;border:0;border-radius:2px;height:2px}.style-panel input[type=range]::-webkit-slider-thumb{appearance:none;background:#0071e3;border:0;border-radius:50%;width:12px;height:12px;margin-top:-5px}.style-panel input[type=range]::-moz-range-track{background:#bfc1c7;border:0;height:2px}.style-panel input[type=range]::-moz-range-progress{background:#0071e3;height:2px}.style-panel input[type=range]::-moz-range-thumb{background:#0071e3;border:0;border-radius:50%;width:12px;height:12px}
