:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ht-bg:#f4f5f7;--ht-panel:#fff;--ht-border:#e5e7eb;--ht-border-strong:#d1d5db;--ht-text:#111827;--ht-muted:#6b7280;--ht-accent:#ff3b30;--ht-accent-soft:#ffe8e6;--ht-focus:#2563eb;--ht-shadow:0 1px 2px #1018280f;--ht-radius:8px;--ht-font:"PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;font-family:var(--ht-font);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{background:var(--ht-bg);width:100%;height:100%;color:var(--ht-text);margin:0;overflow:hidden}button,input,textarea{font:inherit}button{cursor:pointer}.ht-app{grid-template-rows:52px 1fr 28px;width:100%;height:100%;display:grid}.ht-toolbar{background:var(--ht-panel);border-bottom:1px solid var(--ht-border);box-shadow:var(--ht-shadow);z-index:2;align-items:center;gap:10px;padding:0 12px;display:flex}.ht-brand{align-items:center;gap:8px;min-width:120px;margin-right:4px;display:flex}.ht-brand-mark{background:var(--ht-accent);border-radius:6px;width:22px;height:22px}.ht-brand-text{flex-direction:column;line-height:1.1;display:flex}.ht-brand-text strong{font-size:13px;font-weight:650}.ht-brand-text span{color:var(--ht-muted);font-size:11px}.ht-toolbar-group{align-items:center;gap:2px;display:flex}.ht-toolbar-spacer{flex:1}.ht-toolbar-divider{background:var(--ht-border);width:1px;height:24px;margin:0 4px}.ht-icon-btn{color:#374151;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:34px;height:34px;padding:0 8px;display:inline-flex}.ht-icon-btn:hover:not(:disabled){background:#f3f4f6}.ht-icon-btn:disabled{opacity:.35;cursor:not-allowed}.ht-icon-btn.is-active{background:var(--ht-accent-soft);color:var(--ht-accent);border-color:#ffc5c1}.ht-icon-btn.is-primary{background:var(--ht-accent);color:#fff;border-color:var(--ht-accent)}.ht-icon-btn.is-primary:hover:not(:disabled){filter:brightness(.96)}.ht-btn-text{font-size:13px;font-weight:550}.ht-main{min-width:0;min-height:0;display:block;position:relative}.ht-floating-selection{pointer-events:none;z-index:3;will-change:transform;position:absolute;top:0;left:0}.ht-floating-selection img{image-rendering:auto;width:100%;height:100%;display:block}.ht-floating-fallback{background:#2563eb47;width:100%;height:100%}.ht-floating-ants{border:1px dashed #111827;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffffe6}.ht-canvas-grip{cursor:nwse-resize;z-index:5;box-sizing:border-box;background:linear-gradient(135deg,#0000 40%,#9ca3af 40% 45%,#0000 45%),linear-gradient(135deg,#0000 55%,#9ca3af 55% 60%,#0000 60%),#e5e7eb;border:1px solid #6b7280;width:14px;height:14px;margin:0;padding:0;position:absolute}.ht-sel-handle{box-sizing:border-box;pointer-events:none;background:#3b82f6;border:1px solid #fff;position:absolute}.ht-canvas-wrap{background-color:#e8eaed;background-image:linear-gradient(45deg,#eceff3 25%,#0000 25%),linear-gradient(-45deg,#eceff3 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eceff3 75%),linear-gradient(-45deg,#0000 75%,#eceff3 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-repeat:repeat,repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;min-width:0;min-height:0;position:absolute;inset:0;overflow:hidden}.ht-canvas{touch-action:none;width:100%;height:100%;display:block}.ht-canvas-wrap.tool-selection .ht-canvas{cursor:crosshair}.ht-empty-hint{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.ht-empty-card{color:#374151;text-align:center;background:#ffffffeb;border:1px dashed #c5cad3;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:28px 36px;display:flex;box-shadow:0 8px 30px #1018280f}.ht-empty-card h1{margin:4px 0 0;font-size:18px;font-weight:650}.ht-empty-shortcut{letter-spacing:.02em;background:#f3f4f6;border-radius:6px;margin:0;padding:4px 10px;font-size:13px;font-weight:600}.ht-muted{color:var(--ht-muted);margin:0;font-size:12px;line-height:1.5}.ht-inspector{background:var(--ht-panel);border-left:1px solid var(--ht-border);padding:12px 14px 24px;overflow:auto}.ht-inspector-section{border-bottom:1px solid var(--ht-border);padding:12px 0}.ht-inspector-section:last-child{border-bottom:0}.ht-inspector h2{color:#374151;letter-spacing:.02em;margin:0 0 8px;font-size:12px;font-weight:650}.ht-field{flex-direction:column;gap:6px;margin-bottom:10px;display:flex}.ht-field-label{color:var(--ht-muted);font-size:12px}.ht-input,.ht-textarea{border:1px solid var(--ht-border-strong);width:100%;color:var(--ht-text);background:#fff;border-radius:7px;padding:7px 9px}.ht-textarea{resize:vertical;min-height:72px}.ht-color-row{grid-template-columns:36px 1fr;gap:8px;display:grid}.ht-color-row input[type=color]{border:1px solid var(--ht-border-strong);background:0 0;border-radius:7px;width:36px;height:34px;padding:0}.ht-check{align-items:center;gap:8px;margin-bottom:10px;font-size:13px;display:flex}.ht-link-btn{color:var(--ht-focus);background:0 0;border:0;padding:0;font-size:12px}.ht-preset-list{flex-direction:column;gap:4px;display:flex}.ht-preset{text-align:left;width:100%;color:var(--ht-text);background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:8px;padding:7px 8px;font-size:13px;display:flex}.ht-preset:hover{background:#f9fafb}.ht-preset.is-active{background:#eff6ff;border-color:#bfdbfe}.ht-preset-swatch{border:1px solid #00000014;border-radius:4px;width:16px;height:16px}.ht-expand-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.ht-expand-grid button{border:1px solid var(--ht-border-strong);background:#fff;border-radius:7px;padding:7px 8px;font-size:12px}.ht-expand-grid button:hover{background:#f9fafb}.ht-expand-grid .is-wide{grid-column:1/-1}.ht-statusbar{border-top:1px solid var(--ht-border);color:var(--ht-muted);background:#fafafa;align-items:center;gap:14px;padding:0 12px;font-size:12px;display:flex}.ht-statusbar-tip{color:#374151;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ht-statusbar-right{margin-left:auto}.ht-toast{z-index:50;color:#fff;background:#111827;border-radius:8px;padding:10px 14px;font-size:13px;position:fixed;bottom:48px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0000002e}.ht-toast.is-success{background:#047857}.ht-toast.is-error{background:#b91c1c}input[type=range]{width:100%}@media (width<=960px){.ht-btn-text{display:none}}
