:root{color:#182033;font-synthesis:none;background:#edf0f5;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}button,input,select{font:inherit}button{color:#30384b;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d5d9e2;border-radius:6px;padding:7px 11px}button:hover:not(:disabled){background:#f4f6fa;border-color:#b9c0cf}button:disabled{color:#a8adba;cursor:not-allowed;background:#f7f8fa}button.primary{color:#fff;background:#2563eb;border-color:#2563eb}button.primary:hover:not(:disabled){background:#1d4ed8}.app-shell{flex-direction:column;height:100%;display:flex}.toolbar{z-index:20;background:#fff;border-bottom:1px solid #dfe3eb;flex:0 0 54px;align-items:center;gap:7px;height:54px;padding:0 14px;display:flex}.toolbar-brand{color:#17213a;margin-right:9px;font-weight:700}.toolbar-divider{background:#e1e4ea;width:1px;height:24px;margin:0 3px}.toolbar-spacer{flex:1}.toolbar button.active-mode{color:#fff;background:#7c3aed;border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed2e}.notice{color:#7a5200;background:#fff7d6;border-bottom:1px solid #f1df9a;flex:0 0 34px;justify-content:center;align-items:center;gap:10px;min-height:34px;padding:5px 14px;font-size:13px;display:flex}.notice.error{color:#9d2222;background:#ffeded;border-color:#f4c3c3}.notice button{color:inherit;background:0 0;border:0;padding:0 5px;font-size:18px}.editor-layout{flex:1;grid-template-columns:minmax(380px,1fr) 270px;min-height:0;display:grid}.panel{scrollbar-gutter:stable;z-index:10;background:#fff;overflow:auto}.left-panel{border-right:1px solid #dfe3eb}.right-panel{scrollbar-gutter:stable;border-left:1px solid #dfe3eb;overflow-y:scroll}.panel-title{z-index:2;background:#fff;border-bottom:1px solid #e5e8ef;align-items:center;height:43px;padding:0 14px;font-weight:650;display:flex;position:sticky;top:0}.panel-title-with-status{flex-direction:column;justify-content:center;align-items:flex-start;gap:2px;height:54px}.panel-title-with-status small{color:#2870dc;font-size:11px;font-weight:500}.layer-tree{padding:8px 0 20px;font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}.layer-row{cursor:pointer;color:#3d4659;align-items:center;gap:3px;height:29px;padding-right:8px;display:flex;overflow:hidden}.layer-row:hover{background:#f0f4ff}.layer-row.selected{color:#174eb6;background:#dce8ff;font-weight:600}.layer-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-toggle{border:0;width:20px;padding:0;color:#687086!important;background:0 0!important}.body-row{padding-left:8px;font-weight:700}.empty-note{color:#8b92a2;text-align:center;padding:16px;font-size:13px;line-height:1.6}.properties-empty{margin-top:40px}.workspace{scrollbar-gutter:stable;background-color:#e7eaf0;background-image:radial-gradient(#ccd1dc .7px,#0000 .7px);background-size:14px 14px;justify-content:stretch;align-items:stretch;min-width:0;min-height:0;padding:24px;display:flex;overflow:auto}.iframe-shell{background:#fff;flex:1;min-width:640px;min-height:500px;position:relative;overflow:hidden;box-shadow:0 5px 22px #1e284629}.iframe-shell iframe{background:#fff;border:0;width:100%;height:100%;display:block}.welcome-card{text-align:center;background:#ffffffd9;border:1px solid #d9dee8;border-radius:14px;width:min(460px,90%);margin:auto;padding:44px;box-shadow:0 8px 30px #28325014}.welcome-icon{color:#fff;background:#2563eb;border-radius:14px;justify-content:center;align-items:center;width:64px;height:64px;font-size:15px;font-weight:800;display:inline-flex}.welcome-card h2{margin:18px 0 8px;font-size:20px}.welcome-card p{color:#747c8d;margin:0;font-size:14px}.hover-overlay,.selection-overlay{pointer-events:none;z-index:100;position:absolute}.alignment-guide{z-index:99;pointer-events:none;background:#ff3b8d;position:absolute;box-shadow:0 0 0 1px #ffffffbf}.alignment-guide-vertical{width:1px;transform:translate(-.5px)}.alignment-guide-horizontal{height:1px;transform:translateY(-.5px)}.hover-overlay{background:#367eff0d;border:1px dashed #65a1ff}.selection-overlay{border:2px solid #1677ff}.selection-overlay-editing{outline-offset:0;border:0;outline:2px solid #1677ff}.selection-overlay-container{border-style:dashed;border-color:#7c3aed}.selection-overlay-container .resize-handle:after{border-color:#7c3aed}.resize-handle{box-sizing:border-box;pointer-events:auto;touch-action:none;background:0 0;border:0;width:16px;height:16px;position:absolute}.resize-handle:after{content:"";box-sizing:border-box;background:#fff;border:2px solid #1677ff;border-radius:50%;width:10px;height:10px;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0046b440}.handle-nw{cursor:nwse-resize;top:-13px;left:-13px}.handle-n{cursor:ns-resize;top:-13px;left:50%;transform:translate(-50%)}.handle-ne{cursor:nesw-resize;top:-13px;right:-13px}.handle-e{cursor:ew-resize;top:50%;right:-13px;transform:translateY(-50%)}.handle-se{cursor:nwse-resize;bottom:-13px;right:-13px}.handle-s{cursor:ns-resize;bottom:-13px;left:50%;transform:translate(-50%)}.handle-sw{cursor:nesw-resize;bottom:-13px;left:-13px}.handle-w{cursor:ew-resize;top:50%;left:-13px;transform:translateY(-50%)}.size-badge{color:#fff;white-space:nowrap;background:#1677ff;border-radius:4px;padding:3px 6px;font-size:10px;position:absolute;top:calc(100% + 7px);left:0}.properties-panel section{border-bottom:1px solid #e9ebf0;padding:11px 12px 14px}.properties-panel h3{color:#626b7d;text-transform:uppercase;letter-spacing:.02em;margin:0 0 10px;font-size:12px}.property-field{color:#646d7f;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:7px;min-width:0;margin-bottom:7px;font-size:12px;display:grid}.property-field input,.property-field select{color:#263045;background:#fff;border:1px solid #d9dde5;border-radius:5px;width:100%;min-width:0;height:29px;padding:4px 7px}.property-field input:focus,.property-field select:focus{border-color:#3b82f6;outline:2px solid #bfdbfe}.property-field input:disabled{color:#747b89;background:#f3f4f7}.field-grid{grid-template-columns:1fr 1fr;gap:0 8px;display:grid}.field-grid .property-field{grid-template-columns:32px minmax(0,1fr)}.color-field input[type=color]{padding:2px}.compact-color{grid-template-columns:72px 42px;justify-content:space-between}.compact-color input[type=color]{cursor:pointer;width:42px}.color-control{margin-bottom:9px}.color-control .property-field{margin-bottom:5px}.color-palette{flex-wrap:wrap;gap:5px;margin-left:79px;display:flex}.color-swatch{border:1px solid #cdd2dc;border-radius:4px;width:20px;height:20px;padding:0;box-shadow:inset 0 0 0 1px #ffffff59}.color-swatch.recent{outline-offset:1px;outline:2px solid #b8d2ff}.panel-tip{color:#737c8f;background:#f4f7fb;border-radius:6px;margin:10px 0 0;padding:9px 10px;font-size:11px;line-height:1.5}.text-style-buttons{gap:6px;margin:2px 0 10px 79px;display:flex}.text-style-buttons button{width:34px;height:31px;padding:0;font-size:14px}.text-style-buttons button.active{color:#1459c7;background:#e7f0ff;border-color:#76a7f5}.case-buttons{grid-template-columns:1fr 1fr;gap:4px;display:grid}.case-buttons button{height:29px;padding:0 8px}.numbered-list-button{text-align:left;width:100%;height:29px;padding:0 9px}.list-buttons{flex-wrap:wrap;gap:6px;display:flex}.list-buttons .numbered-list-button{flex:82px;width:auto}.font-size-field{margin-bottom:9px}.size-stepper{grid-template-columns:31px 1fr 31px;display:grid}.size-stepper button{border-radius:0;height:29px;padding:0}.size-stepper button:first-child{border-radius:5px 0 0 5px}.size-stepper button:last-child{border-radius:0 5px 5px 0}.size-stepper input{text-align:center;border-left:0;border-right:0;border-radius:0}.align-buttons{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.align-buttons button{height:29px;padding:0}.align-buttons button.active{color:#1459c7;background:#e7f0ff;border-color:#76a7f5}.collapsible-section{padding:0!important}.section-toggle{color:#4f596c;background:#fff;border:0;border-radius:0;justify-content:space-between;align-items:center;width:100%;height:42px;padding:0 13px;font-size:12px;font-weight:650;display:flex}.collapsible-content{border-top:1px solid #edf0f4;padding:11px 12px 14px}.checkbox-field{color:#4d5668;align-items:center;gap:7px;margin:4px 0;font-size:12px;display:flex}.dialog-backdrop{z-index:1000;background:#1118277a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.export-check-dialog{background:#fff;border:1px solid #dfe3eb;border-radius:12px;width:min(520px,100%);max-height:min(680px,100vh - 48px);padding:20px;overflow:auto;box-shadow:0 24px 70px #0f172a47}.export-check-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.export-check-header h2{color:#17213a;margin:0 0 4px;font-size:19px}.export-check-header p{color:#6b7280;margin:0;font-size:13px}.dialog-close{background:0 0;border:0;width:30px;height:30px;padding:0;font-size:22px;line-height:1}.export-check-list{gap:9px;display:grid}.export-check-item{background:#fffaf0;border:1px solid #eadfc2;border-radius:8px;grid-template-columns:32px 1fr;gap:10px;padding:11px;display:grid}.export-check-icon{color:#fff;background:#f59e0b;border-radius:7px;place-items:center;width:28px;height:28px;font-size:12px;font-weight:750;display:grid}.export-check-item strong{color:#4b3a13;margin-bottom:3px;font-size:13px;display:block}.export-check-item p{color:#786b4b;overflow-wrap:anywhere;margin:2px 0 0;font:11px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.export-check-note{color:#70798a;margin:14px 0;font-size:12px;line-height:1.6}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.find-replace-dialog{background:#fff;border:1px solid #dfe3eb;border-radius:12px;width:min(480px,100%);padding:20px;box-shadow:0 24px 70px #0f172a47}.find-replace-field{color:#4f596c;grid-template-columns:76px 1fr;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;display:grid}.find-replace-field input{color:#20283a;border:1px solid #d5d9e2;border-radius:6px;min-width:0;height:36px;padding:7px 10px}.find-replace-field input:focus{border-color:#3b82f6;outline:2px solid #bfdbfe}.find-replace-options{color:#606a7d;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 16px;font-size:12px;display:flex}.find-replace-options label{align-items:center;gap:6px;display:flex}.find-replace-options strong{color:#2563eb}.find-replace-message{color:#277044;margin:-6px 0 14px;font-size:12px}@media (width<=950px){.editor-layout{grid-template-columns:minmax(360px,1fr) 250px}.toolbar-brand{display:none}}
