:root{--bg:#f7f5f1;--panel:#ffffffc7;--panel-strong:#ffffffeb;--object-surface:#fffffffa;--text:#171717;--muted:#17171799;--border:#1717171a;--border-strong:#1717172e;--shadow:0 16px 40px #00000014;--accent:#1f6feb;--accent-2:#111827;--editor-bg:#ffffffb3;--editor-shadow:0 18px 40px #00000014;--selection:#1f6feb2e;--page-width:min(1220px, calc(100vw - 36px));--base-font-size:18px;--line-height:1.7;--letter-spacing:0px;--paragraph-spacing:12px;--toolbar-h:58px}body.theme-dark{--bg:#0d1117;--panel:#161b22c7;--panel-strong:#161b22eb;--object-surface:#131820f5;--text:#f2f5f7;--muted:#f2f5f79e;--border:#ffffff1a;--border-strong:#fff3;--shadow:0 16px 40px #0000005c;--accent:#7aa2ff;--accent-2:#f2f5f7;--editor-bg:#0a0e14db;--editor-shadow:0 18px 42px #00000057;--selection:#7aa2ff38}body.theme-paper{--bg:#efe4cf;--panel:#f4ecd9c2;--panel-strong:#f4ecd9f0;--object-surface:#faf3e6fa;--text:#4b3c2d;--muted:#4b3c2d9e;--border:#4b3c2d1f;--border-strong:#4b3c2d38;--shadow:0 16px 40px #533f241a;--accent:#b36b00;--accent-2:#4b3c2d;--editor-bg:#fcf6ebc2;--editor-shadow:0 18px 42px #533f241a;--selection:#b36b0029}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{display:block}#app{flex-direction:column;height:100%;display:flex}.topbar{border-bottom:1px solid var(--border);background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:140;align-items:center;gap:10px;height:58px;padding:10px 12px;display:flex;position:relative;overflow:visible}.brand{letter-spacing:.02em;-webkit-user-select:none;user-select:none;align-items:center;gap:10px;padding:0 10px 0 4px;font-weight:700;display:flex}.brand-badge{background:linear-gradient(135deg,var(--accent),#8b5cf6);width:28px;height:28px;box-shadow:var(--shadow);background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:9px;overflow:hidden}.tabs{flex:1;align-items:center;gap:8px;min-width:0;padding-right:4px;display:flex;overflow:auto}.tab{max-width:220px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:14px;flex:none;align-items:center;gap:8px;padding:9px 12px;transition:all .15s;display:flex}.tab:hover{color:var(--text);background:#7f7f7f14}.tab.active{background:var(--panel-strong);color:var(--text);border-color:var(--border)}.tab .title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tab-title-input{width:100%;min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:none;outline:none;padding:0;overflow:hidden}.tab-title-input:focus{color:var(--text)}.tab .close{width:20px;height:20px;color:inherit;opacity:.7;background:0 0;border:none;border-radius:999px}.icon-btn{width:36px;height:36px;color:var(--text);background:0 0;border:none;border-radius:12px;place-items:center;transition:all .15s;display:grid;position:relative}.icon-btn:hover{background:#7f7f7f1a}.icon-btn.active{color:var(--accent);background:#1f6feb24}.icon-btn svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.top-actions{align-items:center;gap:6px;display:flex}.pill{border:1px solid var(--border);background:var(--panel-strong);color:var(--text);border-radius:999px;align-items:center;gap:8px;padding:9px 14px;display:flex;box-shadow:0 8px 20px #0000000a}.pill:hover{border-color:var(--border-strong)}.pill svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.main{z-index:1;flex:1;min-height:0;display:flex;position:relative}.editor-shell{flex-direction:column;flex:1;min-width:0;display:flex}.toolbar{border-bottom:1px solid var(--border);background:var(--panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:135;flex-wrap:wrap;align-items:center;gap:8px;height:auto;padding:10px 12px;display:flex;position:relative;overflow:visible}.tool-group{border-right:1px solid var(--border);align-items:center;gap:6px;margin-right:2px;padding-right:10px;display:flex}.tool-group:last-child{border-right:none;margin-right:0;padding-right:0}.sep{background:var(--border);width:1px;height:26px;margin:0 4px}.tool-select,.tool-input{border:1px solid var(--border);background:var(--panel-strong);height:36px;color:var(--text);border-radius:12px;outline:none;padding:0 10px}.tool-input[type=range]{width:120px;padding:0}.color-swatch{border:1px solid var(--border-strong);border-radius:999px;width:14px;height:14px}.menu{position:relative}.menu-panel{background:var(--panel-strong);border:1px solid var(--border);min-width:260px;box-shadow:var(--shadow);z-index:6000;border-radius:18px;padding:12px;position:absolute;top:42px;left:0}.menu-panel.right{left:auto;right:0}.menu-row{justify-content:space-between;align-items:center;gap:10px;margin:10px 0;display:flex}.menu-row label{color:var(--muted);font-size:13px}.menu-row input[type=range]{flex:1}.workspace-wrap{z-index:1;flex:1;min-height:0;padding:18px;position:relative;overflow:auto}.workspace{width:var(--page-width);background:var(--editor-bg);min-height:calc(100vh - 148px);box-shadow:var(--editor-shadow);border:1px solid var(--border);isolation:isolate;border-radius:28px;margin:0 auto;position:relative;overflow:hidden}.editor{min-height:calc(100vh - 180px);font-size:var(--base-font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);color:var(--text);z-index:1;outline:none;padding:42px 46px 140px;position:relative}.editor:empty:before{content:attr(data-placeholder);color:var(--muted)}.editor p{margin:0 0 var(--paragraph-spacing)}.editor img.inline-image{border-radius:18px;max-width:100%;height:auto;margin:14px 0;display:block}.editor .inline-checkbox{vertical-align:-.12em;background:var(--panel-strong);cursor:pointer;-webkit-user-select:none;user-select:none;border:1.6px solid #1f6feb57;border-radius:999px;place-items:center;width:1.08em;height:1.08em;margin:0 .34em 0 .02em;transition:transform .14s,background .14s,border-color .14s,box-shadow .14s;display:inline-grid;box-shadow:0 8px 16px #0f172a14,inset 0 1px #ffffff8c}.editor .inline-checkbox:after{content:"";opacity:0;background:#fff;border-radius:999px;width:.34em;height:.34em;transition:transform .14s,opacity .14s;transform:scale(.2);box-shadow:0 1px 2px #0f172a29}.editor .inline-checkbox:hover{transform:translateY(-1px);box-shadow:0 10px 18px #0f172a1f,inset 0 1px #fff9}.editor .inline-checkbox:focus-visible{outline:none;box-shadow:0 0 0 3px #1f6feb2e,0 10px 18px #0f172a1f}.editor .inline-checkbox[data-checked="1"]{background:linear-gradient(180deg, #4b8dff, var(--accent));border-color:#1e5bc2;box-shadow:0 12px 20px #1f6feb38,inset 0 1px #ffffff42}.editor .inline-checkbox[data-checked="1"]:after{opacity:1;transform:scale(1)}.object-layer,.draw-layer{position:absolute;inset:0}.draw-layer{pointer-events:none;z-index:3}.object-layer{z-index:4;pointer-events:none}.cursor-layer{pointer-events:none;z-index:5;position:absolute;inset:0;overflow:hidden}.remote-cursor{position:absolute;transform:translate(-4px,-4px)}.remote-cursor-dot{background:#16a34a;border:2px solid #fff;border-radius:50%;width:10px;height:10px;box-shadow:0 1px 4px #0000002e}.remote-cursor-label{color:#fff;white-space:nowrap;letter-spacing:.02em;background:#16a34a;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:600;position:absolute;top:14px;left:4px;box-shadow:0 1px 4px #00000024}.object{-webkit-user-select:none;user-select:none;touch-action:none;pointer-events:auto;position:absolute;overflow:visible}.object.selected{z-index:9999}.object .frame{pointer-events:none;z-index:0;border-radius:20px;position:absolute;inset:0}.shape .frame{background:0 0;border:none}.template .frame,.image-obj .frame{border:1px solid var(--border);background:var(--object-surface);box-shadow:0 8px 24px #0000000f}.shape .shape-body{color:var(--text);z-index:1;border:2px solid #7f7f7f38;justify-content:center;align-items:center;padding:12px;display:flex;position:absolute;inset:0;overflow:hidden;box-shadow:0 14px 28px #0f172a1a}.shape.square .shape-body{border-radius:18px}.shape.circle .shape-body{border-radius:999px}.shape.triangle .shape-body{clip-path:polygon(50% 0%,0% 100%,100% 100%);border-radius:0}.shape.arrow .shape-body{clip-path:polygon(0 35%,60% 35%,60% 0,100% 50%,60% 100%,60% 65%,0 65%)}.textbox .frame{background:#ffffff05;border:1px dashed #7f7f7f47}.textbox .textbox-body{z-index:1;padding:16px 18px;position:absolute;inset:0}.textbox .object-text{text-align:left;height:100%;font-size:18px;line-height:1.45}.template-inner,.image-obj img{z-index:1;position:relative}.object-text{text-align:center;word-break:break-word;white-space:pre-wrap;outline:none;width:100%;min-height:1.4em}.shape .object-text{pointer-events:auto;font-size:15px}.template .object-text{text-align:left}.image-obj img{object-fit:cover;border-radius:18px;width:100%;height:100%;display:block}.object-controls{transform:translateY(-50%) rotate(calc(var(--object-rotation,0deg) * -1));transform-origin:50%;opacity:0;pointer-events:none;flex-direction:column;gap:6px;transition:opacity .15s;display:flex;position:absolute;top:50%;right:-46px}.object:hover .object-controls,.object.selected .object-controls{opacity:1;pointer-events:auto}.object-control{background:var(--panel-strong);width:34px;height:34px;color:var(--text);border:none;border:1px solid var(--border);border-radius:12px;place-items:center;display:grid;box-shadow:0 8px 18px #00000014}.object-control svg{stroke:currentColor;fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.shape-color-controls{flex-direction:column;gap:6px;margin-bottom:4px;display:flex}.shape-color-chip{border:1px solid var(--border);background:var(--panel-strong);min-width:54px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:6px 9px;font-size:11px;display:flex;box-shadow:0 8px 18px #00000014}.shape-color-chip input[type=color]{cursor:pointer;background:0 0;border:none;width:20px;height:20px;padding:0}.shape-color-chip input[type=color]::-webkit-color-swatch-wrapper{padding:0}.shape-color-chip input[type=color]::-webkit-color-swatch{border:none;border-radius:999px}.resize-handle,.rotate-handle{opacity:0;width:22px;height:22px;transform:rotate(calc(var(--object-rotation,0deg) * -1));place-items:center;transition:opacity .15s;display:grid;position:absolute;box-shadow:0 8px 18px #00000014}.object:hover .resize-handle,.object.selected .resize-handle,.object:hover .rotate-handle,.object.selected .rotate-handle{opacity:1}.resize-handle{cursor:nwse-resize;border:1px solid var(--border-strong);background:var(--panel-strong);border-radius:8px;bottom:-11px;right:-11px}.rotate-handle{cursor:grab;color:var(--accent);background:#1f6feb1f;border:1px solid #1f6feb47;border-radius:999px;top:-11px;right:-11px}.resize-handle svg,.rotate-handle svg{width:12px;height:12px}.drag-handle{cursor:grab;width:26px;height:26px;transform:rotate(calc(var(--object-rotation,0deg) * -1));background:#7f7f7f14;border:1px solid #0000;border-radius:10px;place-items:center;display:grid;position:absolute;top:10px;left:10px}.drag-handle svg,.drag-handle .dotgrid{width:14px;height:14px}.shape .drag-handle,.image-obj .drag-handle,.template .drag-handle{opacity:0;pointer-events:none}.object.selected .drag-handle,.object:hover .drag-handle{opacity:1;pointer-events:auto}.template-inner{-webkit-user-select:text;user-select:text;flex-direction:column;gap:10px;width:100%;height:100%;padding:14px;display:flex}.template-header{color:var(--text);justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:650;display:flex}.template-body{flex-direction:column;gap:8px;display:flex}.template-btn,.mini-btn{border:1px solid var(--border);background:var(--panel-strong);color:var(--text);border-radius:12px;height:32px;padding:0 10px}.template-btn:hover,.mini-btn:hover{border-color:var(--border-strong)}.template-input,.template-number,.template-cell{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:10px;outline:none;padding:8px 10px}.template-cell{min-height:34px}.check-row{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.check-row input[type=checkbox]{appearance:none;border:1.5px solid var(--border-strong);background:var(--panel-strong);border-radius:6px;place-items:center;width:18px;height:18px;display:grid}.check-row input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}.check-row input[type=checkbox]:checked:after{content:"";background:#fff;border-radius:3px;width:8px;height:8px}.table-shell{border:1px solid var(--border);background:var(--object-surface);border-radius:16px;flex:1;min-height:0;overflow:auto}.table-shell table{border-collapse:collapse;width:100%}.table-shell th,.table-shell td{border:1px solid var(--border);vertical-align:top;min-width:120px;padding:8px}.table-shell thead th{z-index:2;background:var(--panel-strong);font-weight:600;position:sticky;top:0}.table-shell th.row-del-header{background:var(--panel-strong);border-right:none;width:28px;min-width:28px;padding:0}.table-shell td.row-del-cell{text-align:center;vertical-align:middle;border-right:none;width:28px;min-width:28px;padding:2px}.row-del-btn{width:22px;height:22px;color:var(--text);opacity:0;cursor:pointer;background:0 0;border:none;border-radius:6px;place-items:center;padding:0;font-size:15px;line-height:1;transition:opacity .1s,background .1s,color .1s;display:grid}tr:hover .row-del-btn{opacity:.4}.row-del-btn:hover{color:#ef4444;background:#ef44441f;opacity:1!important}.table-dim-badge{opacity:.55;margin-left:4px;font-size:11px;font-weight:400}.pie-layout{grid-template-columns:160px 1fr;align-items:start;gap:14px;display:grid}.pie-chart{border:1px solid var(--border);background:conic-gradient(#ddd 0deg 360deg);border-radius:50%;width:160px;height:160px;box-shadow:inset 0 10px 24px #00000014}.slice-row{grid-template-columns:1fr 84px auto;align-items:center;gap:8px;display:grid}.slice-row+.slice-row{margin-top:8px}.slice-color{border:1px solid var(--border-strong);border-radius:999px;width:14px;height:14px;margin-right:8px;display:inline-block}.draw-toolbar{z-index:8000;pointer-events:auto;display:flex;position:fixed;top:128px;right:18px}.draw-panel{background:var(--object-surface);border:1px solid var(--border);box-shadow:var(--shadow);pointer-events:auto;border-radius:22px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;display:flex}.draw-actions{align-items:center;gap:8px;display:flex}.draw-chip{border:1px solid var(--border);background:var(--panel-strong);color:var(--text);border-radius:999px;align-items:center;gap:8px;min-height:38px;padding:0 14px;display:inline-flex}.draw-chip.active{color:var(--accent);background:#1f6feb24;border-color:#1f6feb52}.draw-colors{align-items:center;gap:8px;display:flex}.draw-swatch{border:2px solid #0000;border-radius:999px;width:28px;height:28px;box-shadow:0 0 0 1px #00000014}.draw-swatch.active{border-color:var(--text);transform:scale(1.05)}.draw-range{border:1px solid var(--border);background:var(--panel-strong);border-radius:999px;align-items:center;gap:10px;min-height:38px;padding:0 12px;display:inline-flex}.draw-range span{color:var(--muted);font-size:13px}.draw-range input[type=range]{width:120px}.draw-readout{font-size:13px}.workspace.draw-active .editor{-webkit-user-select:none;user-select:none}.workspace.draw-active .object{pointer-events:none}.workspace.draw-active .draw-layer{cursor:crosshair}.pill.primary{color:var(--accent);background:#1f6feb24;border-color:#1f6feb47}.pill.danger{color:#b91c1c;border-color:#dc26262e}body.theme-dark .pill.danger{color:#fca5a5}.collaboration-modal{z-index:9000;justify-content:center;align-items:center;padding:24px;display:none;position:fixed;inset:0}.collab-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a0e1447;position:absolute;inset:0}.collab-dialog{border:1px solid var(--border);background:var(--panel-strong);width:min(560px,100vw - 28px);max-height:min(82vh,720px);box-shadow:var(--shadow);border-radius:26px;flex-direction:column;gap:16px;padding:22px;display:flex;position:relative;overflow:auto}.collab-header-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.collab-header-row strong{font-size:18px;display:block}.collab-header-row p{color:var(--muted);margin:6px 0 0;line-height:1.45}.collab-field{flex-direction:column;gap:8px;display:flex}.collab-field span{color:var(--muted);font-size:13px}.collab-field input{border:1px solid var(--border);background:var(--panel);min-height:44px;color:var(--text);border-radius:14px;outline:none;padding:0 14px}.collab-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.collab-actions.split>*{flex:180px;justify-content:center}.collab-section{border:1px solid var(--border);background:var(--panel);border-radius:18px;flex-direction:column;gap:10px;padding:14px;display:flex}.collab-section strong{font-size:15px}.collab-section p{color:var(--muted);margin:0;line-height:1.45}.collab-section.studio{background:linear-gradient(#1f6feb14,#1f6feb08);border-color:#1f6feb38}.collab-section.online{background:linear-gradient(#16a34a14,#16a34a08);border-color:#16a34a38}.collab-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.collab-detail{border:1px solid var(--border);background:var(--panel);border-radius:16px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}.collab-detail span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px}.collab-users{flex-wrap:wrap;gap:8px;display:flex}.collab-user{border:1px solid var(--border);background:var(--panel);border-radius:999px;align-items:center;min-height:34px;padding:0 12px;display:inline-flex}.collab-error{color:#b91c1c;background:#dc262614;border:1px solid #dc26262e;border-radius:16px;padding:12px 14px;line-height:1.4}body.theme-dark .collab-error{color:#fca5a5}.cloud-modal{z-index:9100;justify-content:center;align-items:center;padding:24px;display:none;position:fixed;inset:0}.pill.cloud-signed-in{background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary);border-color:color-mix(in srgb,var(--primary) 30%,transparent)}.cloud-file-list{flex-direction:column;gap:6px;max-height:280px;display:flex;overflow-y:auto}.cloud-file-row{border:1px solid var(--border);background:var(--panel);border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.cloud-file-row.cloud-file-active{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--panel))}.cloud-file-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.cloud-file-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.cloud-file-meta{color:var(--muted);font-size:12px}.cloud-file-actions{flex-shrink:0;gap:4px;display:flex}.library-modal{z-index:8800;justify-content:flex-end;display:none;position:fixed;inset:0}.library-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a0e1438;position:absolute;inset:0}.library-sheet{border-left:1px solid var(--border);background:var(--panel-strong);width:min(460px,100vw - 18px);height:100%;box-shadow:var(--shadow);flex-direction:column;display:flex;position:relative}.library-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 18px 16px;display:flex}.library-head strong{font-size:18px;display:block}.library-head p{color:var(--muted);margin:6px 0 0;font-size:13px}.library-actions{align-items:center;gap:8px;display:flex}.library-body{flex:1;padding:18px;overflow:auto}.library-empty{text-align:center;min-height:220px;color:var(--muted);border:1px dashed var(--border);background:var(--panel);border-radius:22px;place-items:center;padding:20px;display:grid}.project-grid{gap:12px;display:grid}.project-card{border:1px solid var(--border);background:linear-gradient(180deg, var(--panel-strong), var(--panel));color:var(--text);border-radius:22px;padding:16px;box-shadow:0 10px 24px #0000000d}.project-card:hover{border-color:var(--border-strong);transform:translateY(-1px)}.project-card.studio{background:linear-gradient(180deg, #1f6feb14, var(--panel));border-color:#1f6feb2e}.project-card-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.project-card-button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0}.project-delete{flex:none}.project-card-studio{min-height:28px;color:var(--muted);align-items:center;gap:8px;font-size:12px;display:inline-flex}.studio-badge{width:28px;height:28px;color:var(--accent);background:#1f6feb1f;border:1px solid #1f6feb33;border-radius:999px;place-items:center;display:grid}.studio-badge svg{width:14px;height:14px}.project-card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.project-card-top strong{font-size:16px;line-height:1.3}.project-card-top span,.project-card-meta{color:var(--muted);font-size:12px}.project-card p{color:var(--text);margin:12px 0;line-height:1.5}.project-card-meta{flex-wrap:wrap;gap:10px 16px;display:flex}.app-footer{letter-spacing:.04em;color:var(--muted);opacity:.52;z-index:12;pointer-events:none;font-size:11px;position:fixed;bottom:14px;right:18px}.notice{background:var(--panel-strong);border:1px solid var(--border);color:var(--text);box-shadow:var(--shadow);z-index:99999;opacity:0;pointer-events:none;border-radius:999px;padding:10px 14px;transition:opacity .15s,transform .15s;position:fixed;bottom:18px;left:50%;transform:translate(-50%)}.notice.show{opacity:1;transform:translate(-50%)translateY(-4px)}.locked-overlay{pointer-events:none;background:0 0;border-radius:20px;position:absolute;inset:0}.inline-chip{border:1px solid var(--border);background:var(--panel-strong);border-radius:999px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex}hr.soft{border:none;border-top:1px solid var(--border);margin:10px 0}@media (width<=820px){.collab-dialog{width:min(100%,100vw - 20px);padding:18px}.library-sheet{width:min(100%,100vw - 8px)}.collab-detail-grid{grid-template-columns:1fr}.toolbar{align-content:flex-start}}@media (pointer:coarse){#app{padding-bottom:env(safe-area-inset-bottom)}.topbar{padding-left:max(12px, env(safe-area-inset-left));padding-right:max(12px, env(safe-area-inset-right))}.toolbar{-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:8px max(12px, env(safe-area-inset-left)) 8px max(12px, env(safe-area-inset-left));flex-wrap:nowrap;align-content:center;gap:6px;overflow:auto visible}.toolbar::-webkit-scrollbar{display:none}.tool-group,.top-actions{flex-shrink:0}.icon-btn{border-radius:14px;width:44px;height:44px}.icon-btn svg{width:20px;height:20px}.pill span{display:none}.pill{gap:0;padding:10px 12px}.tabs{scrollbar-width:none;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.resize-handle,.rotate-handle{width:36px;height:36px}.resize-handle{border-radius:12px;bottom:-18px;right:-18px}.rotate-handle{top:-18px;right:-18px}.resize-handle svg,.rotate-handle svg{width:14px;height:14px}.drag-handle{border-radius:13px;width:36px;height:36px}.object-control{border-radius:14px;width:40px;height:40px}.object-control svg{width:18px;height:18px}.object-controls{right:-48px}.workspace-wrap{touch-action:pan-x pan-y;padding-bottom:var(--keyboard-offset,0px);transition:padding-bottom .15s}.object{touch-action:none}.draw-toolbar{top:auto;left:50%;right:auto;bottom:calc(20px + env(safe-area-inset-bottom));transform:translate(-50%)}.draw-panel{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.draw-panel::-webkit-scrollbar{display:none}.mini-btn{height:38px;padding:0 12px}.table-shell th,.table-shell td{min-width:130px;padding:10px 8px}.row-del-btn{width:28px;height:28px}.collab-dialog,.cloud-dialog{border-radius:20px;width:min(100%,100vw - 16px);padding:16px}}.zoom-badge{bottom:calc(20px + env(safe-area-inset-bottom));left:max(16px, env(safe-area-inset-left));z-index:8500;background:var(--panel-strong);border:1px solid var(--border);color:var(--muted);-webkit-user-select:none;user-select:none;border-radius:999px;align-items:center;gap:4px;padding:4px 6px 4px 10px;font-size:13px;font-weight:500;display:none;position:fixed;box-shadow:0 8px 18px #00000014}.zoom-badge button{color:var(--text);background:0 0;border:none;border-radius:10px;place-items:center;width:32px;height:32px;padding:0;line-height:1;display:grid}.zoom-badge button:hover{background:#7f7f7f1a}
