:root{--ink:#1b2435;--muted:#718096;--line:#e8ecf3;--panel:#fff;--bg:#f4f7fb;--blue:#2266df;--blue-soft:#edf4ff;--shadow:0 18px 60px rgba(35,55,91,.08);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}[tabindex]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #85aeff;outline-offset:2px}a{color:inherit;text-decoration:none}.hidden{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;z-index:100;top:-100px;left:18px;background:#fff;padding:12px 16px;border-radius:8px}.skip-link:focus{top:12px}.app{height:100dvh;min-height:510px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:72px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:0 23px;border-bottom:1px solid var(--line);z-index:5}.brandbar{display:flex;align-items:center;gap:13px;min-width:300px;white-space:nowrap}.brand{display:inline-flex;align-items:center;gap:10px;font-size:17px;font-weight:760;letter-spacing:-.6px}.pmark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#2266df;color:#fff;font-size:20px;font-weight:800}.divider{color:#b7c1d3}.product-name{font-weight:680;letter-spacing:-.3px;font-size:14px}.product-tag{font-size:9px;font-weight:820;letter-spacing:1.2px;color:#3b72cc;background:#edf3ff;border-radius:4px;padding:4px 6px}.project-center{display:flex;align-items:center;gap:9px;min-width:0}.project-center input{width:170px;max-width:100%;min-width:0;border:1px solid transparent;border-radius:7px;padding:9px 8px;color:#26344b;font-weight:650;text-align:center;background:0 0}.project-center input:focus{border-color:var(--line);outline:0;background:#f8faff}.project-center span{font-size:11px;color:#8490a2;min-width:40px;white-space:nowrap}.header-actions{display:flex;gap:7px;align-items:center}.header-rule{width:1px;height:24px;background:var(--line);margin:0 5px}.button,.icon-button,.mini-button,.tool,.wide-button{border:1px solid transparent;border-radius:9px;background:#fff;color:#334056;font-weight:650;transition:background .15s,border-color .15s;font-size:12px}.button{padding:11px 14px;white-space:nowrap}.button:hover,.icon-button:hover,.mini-button:hover,.tool:hover{background:#f4f7fc}.button.outline{border-color:#e3e9f3}.button.primary{background:#2467e7;color:#fff;box-shadow:0 4px 10px #2467e72a}.button.primary:hover{background:#1956c9}.icon-button{width:35px;height:35px;font-size:23px;color:#526781}.export-wrap{position:relative}.export-menu{position:absolute;right:0;top:calc(100% + 9px);min-width:230px;background:#fff;border:1px solid #e4e9f1;box-shadow:0 18px 50px #192a4d26;border-radius:13px;padding:6px;z-index:11}.export-menu button{width:100%;border:0;border-radius:8px;text-align:left;background:#fff;padding:11px 13px;display:grid;gap:3px;color:#20314a}.export-menu button:hover{background:#f1f6ff}.export-menu small{font-size:11px;color:#8492a8}.mobile-tabs{display:none}.workbench{display:grid;grid-template-columns:286px minmax(0,1fr) 288px;flex:1;min-height:0}.panel{background:#fff;min-height:0;overflow-y:auto;scrollbar-width:thin}.library{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line)}.panel-heading{padding:24px 22px 14px}.eyebrow{font-size:9px;color:#2866da;letter-spacing:1.6px;font-weight:800}.panel-heading h1,.panel-heading h2{margin:8px 0;font-size:19px;font-weight:760;letter-spacing:-.8px}.panel-heading p{font-size:12px;line-height:1.6;color:#8b96a7;margin:0}.section-heading{padding:13px 18px 9px;display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h2,.section-heading h3{font-size:12px;font-weight:800;margin:0;color:#25334b}.section-heading span{font-size:10px;color:#99a4b5}.search-wrap{display:block;margin:4px 18px 12px}.search-wrap input{width:100%;border:1px solid #e6ebf4;border-radius:9px;padding:10px 12px;background:#fafbfe;font-size:12px;outline-color:#aacaff}.template-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 17px 17px}.template-card{background:#fff;text-align:left;border:1px solid #e9edf4;border-radius:12px;overflow:hidden;padding:0;position:relative;min-width:0}.template-card:hover{border-color:#7ca5ef;box-shadow:0 5px 22px #436d9822}.template-preview{display:grid;place-items:center;height:111px;background:#f3f6fa;overflow:hidden}.template-preview svg{width:96%;height:96%}.template-card .template-meta{padding:8px 9px 10px;display:grid;gap:2px}.template-meta strong{font-size:11px}.template-meta small{font-size:9px;color:#9aa4b2}.elements-list{padding:2px 16px 15px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.elements-list button{border:1px solid #e8edf4;border-radius:10px;background:#fafbfe;color:#485a72;padding:9px 3px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px}.elements-list button:hover{border-color:#9abef4;background:#f0f6ff}.element-icon{font-size:21px;color:#345d9e;font-weight:680;line-height:1.3}.layer-heading{border-top:1px solid var(--line);padding-top:16px}.layer-list{padding:0 12px 20px}.layer-row{display:flex;align-items:center;gap:7px;padding:7px 7px 7px 10px;border-radius:8px;width:100%;border:1px solid transparent;background:0 0;text-align:left;color:#3d4c63;margin-bottom:3px}.layer-row:hover{background:#f6f9fd}.layer-row.active{background:#eaf2ff;border-color:#cbdffc}.layer-preview{display:grid;place-items:center;width:28px;height:28px;background:#f0f3f9;border-radius:7px;font-size:17px;flex-shrink:0}.layer-name{font-size:11px;font-weight:620;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layer-row .micro{font-size:10px;color:#8492a2}.layer-row button{background:0 0;border:0;color:#8290a3;font-size:13px;border-radius:5px;padding:4px}.layer-row button:hover{background:#ddeafc}.empty-layers{font-size:11px;color:#98a3b4;padding:10px;text-align:center}.editor{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f5f8fd}.toolbar{padding:13px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e5eaf4;min-height:62px;background:#fbfcff}.tool-group{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.tool{padding:8px 11px;border:1px solid transparent;font-size:11px;background:0 0}.tool:hover{border-color:#e1e9f5;background:#fff}.tool.icon{font-size:20px;padding:4px 10px}.toolbar-rule{width:1px;height:18px;background:#dce4ef;margin:0 3px}.toggle-label{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;color:#62728b;white-space:nowrap}.toggle-label input{accent-color:var(--blue)}#zoomLabel{font-size:11px;color:#7c8a9e;min-width:36px;text-align:center}.stage-scroll{flex:1;min-height:0;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:22px 32px 28px;background-image:radial-gradient(#d8e2f2 .85px,transparent .85px);background-size:20px 20px}.stage-inner{display:flex;align-items:center;flex-direction:column;margin:auto 0;min-width:260px}.canvas-label{width:100%;display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:9px;font-weight:800;letter-spacing:1.15px;color:#8796a9}.canvas-label span{display:inline-flex;align-items:center;gap:8px}.status-dot{display:inline-block;width:7px;height:7px;background:#3fae8b;border-radius:50%}.canvas-shell{width:520px;height:520px;background:#fff;box-shadow:0 22px 70px #1d335d20,0 0 0 1px #dce5f0;position:relative;overflow:hidden;touch-action:none}.canvas-stage{width:100%;height:100%;background-image:linear-gradient(45deg,#f5f7fb 25%,transparent 25%),linear-gradient(-45deg,#f5f7fb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f5f7fb 75%),linear-gradient(-45deg,transparent 75%,#f5f7fb 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px}.canvas-stage svg{display:block;width:100%;height:100%;touch-action:none;user-select:none}.canvas-stage svg [data-id]{cursor:move}.canvas-stage svg [data-handle]{cursor:nwse-resize}.canvas-help{max-width:540px;text-align:center;font-size:11px;color:#91a0b4;margin-top:17px;line-height:1.6}.bottom-bar{min-height:43px;flex-shrink:0;display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #e4eaf3;background:#fbfcff;padding:8px 18px;font-size:10px;color:#8b98a9}.bottom-bar #selectionStatus{color:#60708b}.inspector-heading{padding-bottom:17px}.inspector-scroll{padding-bottom:28px}.property-section{border-top:1px solid var(--line);padding:12px 17px 18px}.property-section .section-heading{padding:0 0 12px}.palette-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:1px 0 16px}.palette-button{border:1px solid #e4e9f2;background:#fff;border-radius:10px;padding:8px 6px;text-align:center;color:#65758b}.palette-button.active{border-color:#377fea;box-shadow:0 0 0 2px #2672e626}.swatches{display:flex;justify-content:center;margin-bottom:6px;overflow:hidden;border-radius:7px}.swatches span{width:17px;height:20px}.palette-button small{font-size:9px}.field{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#6a7890;font-weight:750;margin-bottom:12px}.field input,.field select,.field textarea{border:1px solid #e1e8f1;border-radius:8px;padding:9px 9px;color:#25354e;background:#fff;width:100%;max-width:100%;font-size:12px;font-weight:500;min-width:0}.field textarea{resize:vertical;line-height:1.5}.field input[type=color]{height:37px;padding:4px;cursor:pointer}.field-help{font-size:10px;color:#9ba7b6;line-height:1.6;margin:0 0 6px}.field-row,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field-row{grid-template-columns:1.4fr .8fr}.empty-selection{text-align:center;background:#f8faff;border:1px dashed #dde5f1;border-radius:13px;padding:24px 14px;margin-bottom:5px}.empty-selection span{font-size:26px;color:#9cadd0}.empty-selection strong{display:block;font-size:12px;margin-top:7px}.empty-selection p{color:#9aa6b9;font-size:11px;line-height:1.6}.selected-header{display:flex;align-items:center;justify-content:space-between;padding:5px 0 14px;font-size:12px}.muted{color:#99a6b9;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:130px}.mini-heading{font-size:10px;color:#8795a9;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin:8px 0 12px}.align-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 15px}.align-grid button{padding:9px 3px;border:1px solid #e2e8f1;border-radius:7px;background:#f9fbfe;font-size:10px;color:#57667c}.align-grid button:hover{border-color:#8fb5f1;background:#edf4ff}.checkbox-row{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:15px;color:#55667b}.checkbox-row label{display:flex;align-items:center;gap:4px}.checkbox-row input{accent-color:var(--blue)}.wide-button{border:1px solid #e1e8f1;width:100%;padding:10px;font-size:11px}.wide-button:hover{background:#f6f9ff}.wide-button.danger{color:#c3424f;border-color:#f1dfe2}.wide-button.danger:hover{background:#fff5f6}.mini-button{padding:6px 7px;font-size:10px;color:#627995}.variant-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.variant-tile{border:1px solid #e7ecf4;border-radius:10px;overflow:hidden;background:#fff;text-align:center;padding:0;display:block}.variant-tile .variant-preview{height:94px;display:grid;place-items:center;overflow:hidden}.variant-tile svg{width:97%;height:97%}.variant-tile span{display:block;font-size:10px;font-weight:700;padding:8px;color:#53657f}.variant-tile:hover{border-color:#92b5f2}.privacy-notice{font-size:11px;line-height:1.65;color:#8492a6}.privacy-notice strong{color:#3d5974}.privacy-notice p{margin:5px 0}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 19px;border-radius:10px;background:#1a2a42;color:#fff;font-size:12px;box-shadow:0 12px 40px #20345055;z-index:30;max-width:90vw;text-align:center}@media(max-width:1330px){.workbench{grid-template-columns:250px minmax(0,1fr) 268px}.brandbar{min-width:0}.project-center{display:none}.stage-scroll{padding:24px 18px}.canvas-shell{width:470px;height:470px}}@media(max-width:1020px){.workbench{grid-template-columns:230px minmax(0,1fr)}.inspector{position:absolute;top:72px;right:0;bottom:0;width:292px;z-index:8;box-shadow:-12px 0 38px #20345022}.inspector:not(.panel-open){display:none}.header-actions{gap:4px}.product-tag{display:none}.canvas-shell{width:410px;height:410px}}@media(max-width:750px){.app{min-height:0}.topbar{height:65px;padding:0 12px;gap:6px}.brand{font-size:14px}.brandbar{gap:7px}.product-name{font-size:11px}.pmark{width:27px;height:27px;font-size:16px}.button.ghost,.header-actions .icon-button,.header-rule{display:none}.button{padding:9px 10px;font-size:10px}.mobile-tabs{display:flex;height:44px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);padding:4px 8px;gap:6px}.mobile-tabs button{flex:1;border:0;border-radius:7px;background:0 0;color:#8997a8;font-size:11px;font-weight:750}.mobile-tabs button[aria-pressed=true]{background:#edf4ff;color:#2164d4}.workbench{display:block;position:relative}.inspector,.library{position:absolute;inset:0;width:100%;z-index:4;box-shadow:none;border:0}.inspector:not(.panel-open),.library:not(.panel-open){display:none}.editor{position:absolute;inset:0}.editor:not(.panel-open){display:none}.toolbar{padding:8px;min-height:49px;gap:4px;overflow-x:auto;flex-wrap:nowrap}.tool-group{flex-wrap:nowrap}.tool{font-size:10px;padding:7px 8px;white-space:nowrap}.toggle-label{font-size:10px}.stage-scroll{padding:15px 14px}.canvas-shell{width:min(76vw,410px);height:min(76vw,410px)}.canvas-help{padding:0 8px;font-size:10px}.bottom-bar{font-size:9px}.panel-heading{padding:17px}.template-list{grid-template-columns:repeat(3,1fr)}.template-preview{height:125px}.variant-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:430px){.brand>span:last-child{display:none}.divider{display:none}.product-name{font-size:12px}.header-actions{gap:3px}.header-actions .button.outline{display:none}.template-list{grid-template-columns:repeat(2,1fr)}.canvas-shell{width:80vw;height:80vw}}@media(prefers-reduced-motion:reduce){*,::after,::before{transition:none!important;scroll-behavior:auto!important}}.paint-check{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;color:#62748f}.paint-check input[type=checkbox]{width:auto;height:auto;accent-color:#2467e7}.layer-name:focus-visible,.tool:focus-visible{outline:3px solid #85aeff;outline-offset:2px}@media(max-width:750px){#groupBtn,#ungroupBtn{white-space:nowrap}}