.be-root{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:none;background:#fbfbfa;width:100%;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;position:relative;overflow:hidden}.be-canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;outline:none;display:block;position:absolute;inset:0}.be-overlay{pointer-events:none}.be-bar{touch-action:none;background:#fff;border:1px solid #e3e4e8;border-radius:12px;align-items:center;gap:2px;padding:4px;display:flex;position:absolute;box-shadow:0 2px 8px #14181f14}.be-top{pointer-events:none;flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex;position:absolute;top:12px;left:12px;right:12px}.be-top>.be-bar,.be-top-mid>.be-bar{pointer-events:auto;flex-wrap:wrap;justify-content:center;max-width:100%;position:static}.be-top-mid{flex-direction:column;flex:160px;align-items:center;gap:6px;min-width:0;display:flex}.be-head{gap:4px;flex-wrap:nowrap!important;max-width:min(440px,100%)!important}.be-head a.be-btn{font-size:18px;text-decoration:none}.be-head-title{color:#1f2329;min-width:60px;height:36px;font:inherit;text-overflow:ellipsis;background:0 0;border:1px solid #0000;border-radius:8px;flex:0 auto;padding:0 8px;font-size:15px;font-weight:600}.be-head-title:hover{border-color:#e3e4e8}.be-head-title:focus{outline-offset:-1px;outline:2px solid #2f6fed}.be-head-status{color:#8a8f99;white-space:nowrap;padding:0 10px 0 4px;font-size:12px}.be-head-status.save-dirty,.be-head-status.save-saving{color:#b06a00}.be-head-status.save-error{color:#d92d20;font-weight:600}.be-tools-left,.be-tools-right{top:calc(var(--be-top-h,50px) + 20px);max-height:calc(100% - var(--be-top-h,50px) - 32px);flex-flow:column wrap}.be-tools-left{left:12px}.be-tools-right{max-height:calc(100% - var(--be-top-h,50px) - 92px);flex-wrap:wrap-reverse;right:12px}.be-tools-left .be-sep,.be-tools-right .be-sep{width:24px;height:1px;margin:4px 0}.be-tools-bottom{flex-wrap:wrap;justify-content:center;max-width:calc(100% - 24px);bottom:12px;left:50%;transform:translate(-50%)}.be-root:has(.be-tools-bottom) .be-bottom{bottom:68px}.be-root:has(.be-tools-bottom) .be-hint{bottom:70px}.be-root:has(.be-tools-left) .be-hint{left:72px}.be-text-btn{padding:0 10px}.be-eraser-dot{border:1.5px solid;border-radius:50%}.be-bottom{pointer-events:none;flex-wrap:wrap-reverse;justify-content:flex-end;align-items:center;gap:8px;display:flex;position:absolute;bottom:12px;right:12px}.be-bottom>.be-bar{pointer-events:auto;position:static}.be-page-label{text-align:center;color:#33363d;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:84px;font-size:13px}.be-drop{color:#2f6fed;pointer-events:none;background:#2f6fed14;border:3px dashed #2f6fed;border-radius:16px;justify-content:center;align-items:center;font-size:18px;display:flex;position:absolute;inset:8px}.be-toasts{pointer-events:none;flex-direction:column;align-items:center;gap:6px;max-width:calc(100% - 24px);display:flex;position:absolute;bottom:68px;left:50%;transform:translate(-50%)}.be-toast{color:#33363d;pointer-events:auto;background:#fff;border:1px solid #e3e4e8;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;font-size:14px;display:flex;box-shadow:0 2px 8px #14181f1f}.be-toast-error{color:#a61e1e;border-color:#e03131}.be-toast-btn{color:#2f6fed;font:inherit;cursor:pointer;background:#fff;border:1px solid #d5d7dc;border-radius:6px;flex:none;padding:4px 10px;font-size:13px;text-decoration:none}.be-spinner{border:2px solid #d5d7dc;border-top-color:#2f6fed;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite be-spin}@keyframes be-spin{to{transform:rotate(360deg)}}.be-btn{color:#33363d;cursor:pointer;min-width:40px;height:40px;font:inherit;background:0 0;border:none;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;font-size:13px;display:inline-flex}.be-btn:hover:not(:disabled){background:#f1f2f4}.be-btn.be-active{color:#2f6fed;background:#e6eefc}.be-btn:disabled{color:#c2c5cc;cursor:default}.be-btn:focus-visible{outline-offset:-2px;outline:2px solid #2f6fed}.be-zoom-label{font-variant-numeric:tabular-nums;min-width:56px}.be-swatch{border-radius:50%;width:20px;height:20px;box-shadow:inset 0 0 0 1px #0000001f}.be-active .be-swatch{box-shadow:0 0 0 2px #fff,0 0 0 4px #2f6fed}.be-sep{background:#e3e4e8;flex:none;width:1px;height:24px;margin:0 4px}.be-pop{z-index:20;touch-action:none;background:#fff;border:1px solid #e3e4e8;border-radius:12px;flex-direction:column;gap:4px;padding:6px;display:flex;position:fixed;box-shadow:0 4px 16px #14181f29}.be-pop-row{justify-content:center;gap:2px;display:flex}.be-bg-swatch{border-radius:50%;width:26px;height:26px;box-shadow:inset 0 0 0 1px #00000040}.be-active .be-bg-swatch{box-shadow:0 0 0 2px #fff,0 0 0 4px #2f6fed}.be-pattern-btn{min-width:52px;height:44px}.be-pattern-btn svg{border-radius:4px;box-shadow:0 0 0 1px #00000040}.be-pattern-btn.be-active svg{box-shadow:0 0 0 2px #2f6fed}.be-dark .be-bar,.be-dark .be-toast,.be-dark .be-pop{border-color:#ffffff4d;box-shadow:0 0 0 1px #00000080,0 4px 14px #0000008c}.be-group-btn{position:relative}.be-group-caret{opacity:.6;border-top:4px solid;border-left:4px solid #0000;width:0;height:0;position:absolute;bottom:3px;right:3px}.be-shapes{grid-template-columns:repeat(2,auto);gap:2px;display:grid}.be-shape-item{white-space:nowrap;justify-content:flex-start;gap:8px;padding:0 10px 0 6px}.be-hint{color:#33363d;pointer-events:none;background:#fffffff5;border:1px solid #e3e4e8;border-radius:10px;min-width:200px;max-width:calc(100% - 300px);padding:8px 12px;font-size:13px;position:absolute;bottom:14px;left:12px;box-shadow:0 2px 8px #14181f14}.be-dark .be-hint{border-color:#ffffff4d}.be-rename{color:#111;text-align:center;z-index:10;background:#fff;border:2px solid #2f6fed;border-radius:6px;outline:none;width:64px;padding:3px 6px;font:italic 18px Times New Roman,Times,Georgia,serif;position:absolute;transform:translate(-50%,-50%)}.be-text{resize:none;transform-origin:0 0;outline-offset:4px;z-index:10;touch-action:manipulation;-webkit-text-size-adjust:100%;background:0 0;border:0;outline:2px dashed #2f6fed;margin:0;padding:0;position:absolute;overflow:hidden}.be-mathbar{z-index:11;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #d0d4da;border-radius:12px;flex-wrap:wrap;gap:4px;max-width:min(480px,100% - 16px);padding:6px;display:flex;position:absolute;box-shadow:0 4px 16px #0000002e}.be-mbtn{color:#111;cursor:pointer;touch-action:manipulation;background:#f4f5f7;border:1px solid #d0d4da;border-radius:8px;min-width:40px;height:40px;padding:0 8px;font:18px system-ui,-apple-system,Segoe UI,sans-serif}.be-mbtn:hover{background:#e8ebf0}.be-mbtn-ok{color:#fff;background:#2f6fed;border-color:#2f6fed;font-size:15px}.be-mbtn-ok:hover{background:#2a62d4}.be-graph{z-index:12;box-sizing:border-box;overscroll-behavior:contain;color:#1c1f24;touch-action:pan-y;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #d0d4da;border-radius:14px;width:344px;padding:10px 12px 12px;font-size:14px;position:absolute;overflow-y:auto;box-shadow:0 6px 24px #0003}.be-graph-sheet{width:auto}.be-graph input,.be-graph button{font-family:inherit}.be-g-head{justify-content:space-between;align-items:center;margin-bottom:6px;font-size:15px;display:flex}.be-g-close,.be-g-icon{color:#33363d;cursor:pointer;touch-action:manipulation;background:#f4f5f7;border:1px solid #d0d4da;border-radius:8px;min-width:40px;height:40px;padding:0 6px;font-size:18px;line-height:1}.be-g-icon.be-g-on{color:#1b4fc4;background:#dce7ff;border-color:#2f6fed}.be-g-sec{border-top:1px solid #eceef1;margin-top:8px;padding-top:8px}.be-g-sec:first-of-type{border-top:0;margin-top:0;padding-top:0}.be-g-title{color:#6a707b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;font-size:12px}.be-g-line{align-items:center;gap:6px;display:flex}.be-g-func{margin-bottom:8px}.be-g-hidden .be-g-expr{opacity:.5}.be-g-y{min-width:28px;font-style:italic;font-weight:600}.be-g-input{box-sizing:border-box;color:#111;-webkit-user-select:text;user-select:text;background:#fff;border:1px solid #c4c8cf;border-radius:8px;min-width:0;height:40px;padding:0 8px;font-size:16px}.be-g-input:focus{outline-offset:-1px;outline:2px solid #2f6fed}.be-g-expr{flex:1;font-family:Cambria Math,Times New Roman,serif}.be-g-bad{border-color:#e03131}.be-g-err{color:#c92a2a;margin:2px 0 0 34px;font-size:12.5px}.be-g-tools{margin-top:4px}.be-g-grow{flex:1}.be-g-color{cursor:pointer;touch-action:manipulation;background:0 0;border:0;place-items:center;width:34px;height:40px;padding:0;display:grid}.be-g-color span{border:2px solid #fff;border-radius:50%;width:22px;height:22px;box-shadow:0 0 0 1px #aab}.be-g-color.be-g-on span{box-shadow:0 0 0 2px #2f6fed}.be-g-add{color:#1b4fc4;cursor:pointer;touch-action:manipulation;background:#f1f5ff;border:1px dashed #9db8f5;border-radius:8px;width:100%;height:40px;margin-top:4px;font-size:15px}.be-g-kbd{border-top:1px solid #eceef1;flex-wrap:wrap;gap:4px;margin-top:8px;padding-top:8px;display:flex}.be-g-param{margin-bottom:6px}.be-g-pname{min-width:16px;font-style:italic;font-weight:600}.be-g-range{touch-action:pan-y;flex:1;min-width:0;height:40px}.be-g-pval{text-align:right;width:62px}.be-g-range-edit{flex-wrap:wrap;margin-top:2px;font-size:13px}.be-g-range-edit label,.be-g-view label{align-items:center;gap:4px;display:flex}.be-g-range-edit .be-g-num{width:58px}.be-g-view{grid-template-columns:1fr 1fr;gap:6px;display:grid}.be-g-view .be-g-num{flex:1;width:100%}.be-g-toggles{flex-wrap:wrap;gap:6px;margin:8px 0 4px;display:flex}.be-g-toggle{color:#1c1f24;cursor:pointer;touch-action:manipulation;background:#f4f5f7;border:1px solid #d0d4da;border-radius:8px;align-items:center;gap:6px;height:40px;padding:0 10px;font-size:14px;display:flex}.be-g-toggle.be-g-on{background:#dce7ff;border-color:#2f6fed}.be-g-check{color:#1b4fc4;width:16px;font-weight:700}.be-g-note{color:#6a707b;margin-top:8px;font-size:12px;line-height:1.35}.be-smooth{color:#445;white-space:nowrap;align-items:center;gap:8px;height:40px;padding:0 8px;font-size:13px;display:inline-flex}.be-smooth input[type=range]{accent-color:#2f6fed;touch-action:none;width:110px;height:40px;margin:0}.be-s-row{flex-wrap:wrap;gap:6px;display:flex}.be-s-mode{flex:1 1 0;justify-content:center;min-width:0}.be-s-gap{margin-top:8px}.be-s-ratio{align-items:center;gap:6px;margin-top:6px;display:flex}.be-s-ratio .be-g-input{flex:1}.be-s-select{width:100%;height:40px}.be-s-dims{gap:4px;margin-top:6px;display:grid}.be-s-dim{color:#4a4f58;flex:1;font-size:13px}.be-s-num{text-align:right;width:70px}.be-s-n{text-align:center;min-width:24px;font-weight:600}.be-s-names{grid-template-columns:1fr 1fr 1fr;gap:4px;margin-top:6px;display:grid}.be-s-name{color:#6a707b;align-items:center;gap:4px;font-size:12px;display:flex}.be-s-name .be-g-input{width:100%;min-width:0}.be-s-lab{width:52px;font-family:Times New Roman,serif;font-style:italic}.be-s-item{margin-bottom:4px}.be-s-kind{color:#6a707b;min-width:54px;font-size:12px}.be-s-name-it{font-family:Times New Roman,serif;font-size:16px;font-style:italic}.be-s-info{color:#33363d;flex:1;font-size:12.5px}.be-g-add:disabled{opacity:.5;cursor:default}.be-g-drag{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:8px;margin:-4px -4px 6px;padding:4px}.be-g-drag:active{cursor:grabbing;background:#f1f3f6}.be-g-drag strong:before{content:"⠿ ";color:#a0a6b0;font-weight:400}.be-menu{min-width:180px}.be-menu-item{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 10px;font-size:14px;display:block}.be-menu-range{white-space:nowrap;align-items:center;gap:6px;padding:6px 10px;font-size:14px;display:flex}.be-menu-range input{width:44px;font:inherit;text-align:center;color:inherit;background:0 0;border:1px solid #0003;border-radius:6px;padding:4px 6px}.be-menu-range .be-btn{width:auto;padding:0 10px;font-size:13px}.be-menu-item:hover{background:#2f6fed1a}.be-ink-more{min-width:240px}.be-ink-more .be-smooth{justify-content:space-between;height:36px}.be-check{cursor:pointer;align-items:center;gap:8px;height:32px;padding:0 8px;font-size:13px;display:flex}.be-check input{accent-color:#2f6fed;width:16px;height:16px}.be-custom-color{cursor:pointer;position:relative}.be-custom-color input[type=color]{opacity:0;cursor:pointer;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.be-swatch-custom{background:conic-gradient(#e03131,#f08c00,#ffd43b,#2f9e44,#1971c2,#9c36b5,#e03131)}.be-modal-back{z-index:40;background:#14182059;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.be-modal{color:#1f2328;background:#fff;border-radius:12px;max-width:min(560px,92vw);max-height:86vh;padding:14px 16px;font-size:14px;overflow:auto;box-shadow:0 8px 30px #00000040}.be-modal-head{justify-content:space-between;align-items:center;margin-bottom:8px;font-size:16px;display:flex}.be-keys{border-collapse:collapse;width:100%}.be-keys td{vertical-align:top;border-top:1px solid #eef0f3;padding:4px 8px}.be-keys td:first-child{white-space:nowrap}.be-keys kbd{background:#f1f3f5;border:1px solid #d0d4da;border-radius:4px;padding:1px 5px;font-family:inherit;font-size:12px}.be-trig .be-t-turn{justify-content:center;gap:10px}.be-trig .be-t-range{text-align:center;min-width:120px;font-weight:600}.be-trig .be-t-ends{gap:10px}.be-trig .be-t-ends label{align-items:center;gap:4px;display:flex}.be-trig .be-t-field{width:84px;min-width:0}.be-trig .be-t-angle{border-top:1px solid #7f7f7f2e;padding:4px 0}.be-trig .be-t-name{min-width:28px;font-style:italic;font-weight:600}.be-trig .be-t-vals{grid-template-columns:1fr 1fr;gap:2px 10px;padding:2px 0 0 4px;font-size:13px;display:grid}:root{--bg:#f6f7f9;--surface:#fff;--border:#dfe3ea;--text:#1c2330;--muted:#6a7384;--accent:#2f6fed;--accent-hover:#2459c9;--danger:#c0392b;--radius:12px;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overscroll-behavior:none;-webkit-text-size-adjust:100%}.muted{color:var(--muted)}.btn{min-width:44px;min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;white-space:nowrap;touch-action:manipulation;border-radius:10px;justify-content:center;align-items:center;padding:0 16px;font-size:15px;text-decoration:none;display:inline-flex}.btn:hover{background:#eef1f6}.btn:disabled{opacity:.6;cursor:default}.btn-primary{color:#fff;background:var(--accent);border-color:var(--accent)}.btn-primary:hover{background:var(--accent-hover)}.btn-icon{padding:0;font-size:22px;line-height:1}.input{min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:0 12px;font-size:16px}.input:focus,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.list-page{max-width:1100px;min-height:100%;margin:0 auto;padding:24px 20px 48px}.list-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.list-header h1{margin:0;font-size:28px}.grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);align-items:flex-start;min-height:120px;display:flex;position:relative}.card:hover{border-color:#c3cad8}.card-link{min-width:0;color:inherit;flex-direction:column;flex:1;justify-content:space-between;align-self:stretch;padding:16px 0 14px 16px;text-decoration:none;display:flex}.card-name{overflow-wrap:anywhere;font-size:17px;font-weight:600}.card-date{color:var(--muted);margin-top:16px;font-size:14px}.card-rename{flex:1;min-width:0;margin:8px 0 0 8px}.menu-wrap{padding:4px;position:relative}.menu{z-index:10;background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;min-width:180px;padding:6px;display:flex;position:absolute;top:100%;right:4px;box-shadow:0 8px 24px #141e3226}.menu button{min-height:44px;font:inherit;text-align:left;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 12px;font-size:15px}.menu button:hover{background:#eef1f6}.menu .danger{color:var(--danger)}.empty{color:var(--muted);text-align:center;flex-direction:column;align-items:center;gap:4px;padding:64px 16px;display:flex}.empty p{margin:0}.empty .btn{margin-top:16px}.empty-title{color:var(--text);font-size:20px}.notice{border-radius:10px;padding:12px 16px}.notice-error{color:var(--danger);background:#fdecea}.board-page{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.board-header{background:var(--surface);border-bottom:1px solid var(--border);flex:none;align-items:center;gap:12px;padding:6px 12px;display:flex}.board-title{border-color:#0000;flex:1;min-width:0;max-width:480px;font-weight:600}.board-title:hover{border-color:var(--border)}.save-status{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:14px}.save-error{color:var(--danger)}.board-body{flex:1;min-height:0;position:relative}.center-msg{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100dvh;padding:16px;display:flex}.center-msg h2,.center-msg p{margin:0}.center-msg .btn{margin-top:12px}.account-bar{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 12px;font-size:14px;display:flex}.notice-soft{color:#4a5160;background:#f3f5f9}.notice-soft a{color:#2f6fed}.card-sync{color:#8a8f99;margin-top:2px;font-size:12px;display:block}.card-sync.sync-both{color:#2e7d32}.card-sync.sync-cloud{color:#2f6fed}.auth-page{max-width:420px}.auth-form{flex-direction:column;gap:12px;margin:16px 0;display:flex}.auth-form label{flex-direction:column;gap:4px;font-size:14px;display:flex}.link-btn{color:#2f6fed;cursor:pointer;font:inherit;background:0 0;border:none;padding:0}.share{width:calc(100vw - 32px);max-width:640px}.share-list{flex-direction:column;gap:8px;margin:8px 0;padding:0;list-style:none;display:flex}.share-list li{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.share-mode{min-width:130px;font-size:14px}.share-url{flex:1;min-width:180px;font-size:12px}.share-actions{gap:8px;margin-top:8px;display:flex}.danger-text{color:#d92d20}.sync-toast{z-index:50;background:#fff;border:1px solid #e3e4e8;border-radius:10px;align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:8px 12px;font-size:14px;display:flex;position:fixed;bottom:72px;left:50%;transform:translate(-50%);box-shadow:0 4px 16px #0000001f}.sync-toast-error{color:#b42318;border-color:#f1b5ae}.be-head-status.cloud-online{color:#2e7d32}.be-head-status.cloud-offline,.be-head-status.cloud-closed{color:#b06a00}.be-head-static{text-overflow:ellipsis;white-space:nowrap;max-width:220px;display:inline-block;overflow:hidden;border-color:#0000!important}.peers{position:relative}.peers-list{z-index:60;white-space:nowrap;color:#222;background:#fff;border:1px solid #e3e4e8;border-radius:8px;margin:4px 0 0;padding:6px 10px;font-size:13px;list-style:none;position:absolute;top:100%;left:0;box-shadow:0 4px 16px #0000001f}.peers-list li{padding:2px 0}.follow{white-space:nowrap;align-items:center;gap:4px;padding:0 6px;font-size:12px;display:flex}
