:root{--accent:#2487ed;--accent-dark:#1569c4;--ink:#172b42;--muted:#6e8094;--border:#e1e9f2;--surface:#fff;--bg:#f4f7fc;--soft:#eff6ff;--shadow:0 14px 40px rgba(31,61,102,.08);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--border);background:#fff;border-radius:10px;color:#29445f;padding:9px 12px;font-weight:600;font-size:12px}button:hover{border-color:#aec9e9;background:#f7fbff}button:disabled{opacity:.44;cursor:not-allowed}.stage:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2688ed;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;left:10px;top:-60px;z-index:100;background:#fff;padding:10px}.skip:focus{top:8px}.app{min-height:100vh}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;gap:20px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);position:relative;z-index:15}.actions,.brand,.button-row,.canvas-actions,.canvas-head,.identity,.section-title,.statusbar,.title-edit,.view-switch{display:flex;align-items:center;gap:10px}.brand{text-decoration:none;color:var(--ink);letter-spacing:-.6px;font-size:18px}.logo{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(150deg,#72c7ff,#177ee7);color:#fff;font-size:19px;font-weight:850}.identity .separator{color:#b2bfce;font-weight:300;font-size:22px}.product{font-size:14px;font-weight:750;white-space:nowrap}.edition{font-size:10px;letter-spacing:.07em;border:1px solid #c9e5ff;border-radius:6px;padding:3px 6px;color:#116cbb;background:#eff8ff}.title-edit{min-width:80px;flex:1;justify-content:center}.title-edit input{min-width:100px;max-width:270px;width:100%;border:0;border-bottom:1px dashed #dbe4ef;padding:7px;background:0 0;text-align:center;font-size:12px;font-weight:650;color:#38516a}.title-edit span{color:var(--muted);font-size:10px;white-space:nowrap}.actions{position:relative;gap:6px}.actions button{white-space:nowrap}.actions .primary,.primary{background:linear-gradient(145deg,#3899f3,#1872cf);color:#fff;border-color:transparent;padding:10px 16px;box-shadow:0 5px 15px #2688ec33}.export-options{position:absolute;z-index:40;right:0;top:44px;min-width:270px;padding:7px;background:#fff;box-shadow:0 20px 46px #1e3d6450;border:1px solid var(--border);border-radius:13px;display:grid;gap:4px}.export-options[hidden]{display:none}.export-options button{text-align:left}.workspace{display:grid;grid-template-columns:278px minmax(0,1fr) 292px;min-height:min(900px,calc(100vh - 73px));height:calc(100vh - 73px);max-height:1050px}.sidebar{background:#fff;display:flex;flex-direction:column;min-height:0}.tools{border-right:1px solid var(--border)}.inspector{border-left:1px solid var(--border)}.sidebar-header{padding:25px 20px 17px}.eyebrow{font-size:10px;color:#2386e3;font-weight:800;letter-spacing:.16em}.sidebar-header h1{font-size:22px;line-height:1.13;letter-spacing:-.7px;margin:10px 0}.sidebar-header h2{font-size:20px;margin:8px 0;letter-spacing:-.5px}.empty-state p,.help,.privacy-note p,.sidebar-header p{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0}.aside-section{padding:17px 20px;border-top:1px solid #eef2f6}.tools{overflow-y:auto}.inspector-body{overflow-y:auto;min-height:0}.section-title{justify-content:space-between;gap:6px;margin-bottom:12px}.aside-section h2,.section-title h2{font-size:13px;margin:0;color:#253e58}.section-title small{font-size:10px;color:#8a9cae}.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tool{min-width:0;display:flex;align-items:center;gap:7px;position:relative;padding:10px;border-radius:11px;background:#fbfdff;min-height:45px}.tool span{font-size:23px;line-height:1;color:#4287c7;width:24px;text-align:center}.tool strong{font-size:11px;color:#334f6a}.tool kbd{position:absolute;right:6px;top:5px;font:9px ui-monospace,monospace;color:#a2b3c5}.tool.active{background:#eaf5ff;border-color:#8bc8ff;box-shadow:0 0 0 1px #9bceff inset}.preset{display:flex;width:100%;align-items:center;text-align:left;gap:12px;margin:6px 0;padding:11px}.preset>span:first-child{font-size:25px;color:#4c9ddf;background:#f1f8ff;border-radius:9px;width:38px;height:38px;display:grid;place-items:center}.preset b{font-size:11px}.preset small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.layer-list{display:grid;gap:7px}.layer-row{display:flex;gap:8px;align-items:center;padding:7px 5px;border:1px solid #edf1f6;border-radius:9px}.layer-dot{width:8px;height:8px;border-radius:50%}.layer-label{font-size:11px;font-weight:650;flex:1}.layer-row button{padding:4px 6px;font-size:11px;min-width:28px}.layer-row button[aria-pressed=true]{background:#e8f3ff;border-color:#abd2f6}.privacy-note{margin:16px 20px 25px;background:#f0f7ff;border-radius:13px;padding:14px}.privacy-note strong{font-size:12px}.editor{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f2f6fc}.canvas-head{min-height:62px;justify-content:space-between;padding:11px 22px;border-bottom:1px solid #e1e8f2;background:#fafcff;flex-wrap:wrap}.view-switch{background:#ebf1f9;padding:4px;border-radius:11px;gap:3px}.view-switch button{border:0;background:0 0;padding:9px 19px;color:#61788f}.view-switch button.active{background:#fff;box-shadow:0 2px 8px #2a527519;color:#146fca}.canvas-actions{gap:8px}.toggle{font-size:11px;color:#52677e;display:flex;align-items:center;gap:4px}.canvas-actions button{padding:7px 10px}.canvas-actions output{min-width:45px;text-align:center;font-size:11px;color:#4b6985}.stage{flex:1;min-height:0;overflow:auto;position:relative;display:flex;align-items:flex-start;justify-content:center;padding:32px 22px 44px;touch-action:pan-x pan-y}.paper-wrap{width:100%;max-width:1130px;margin:auto 0;flex:none}.paper-head{display:flex;justify-content:space-between;gap:8px;color:#72859a;font-size:10px;font-weight:750;letter-spacing:.05em;margin-bottom:10px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4cc6a5;margin-right:6px}.paper{width:100%;aspect-ratio:14000/8700;background:#fff;border:1px solid #dde6f1;box-shadow:0 16px 54px rgba(33,67,105,.11);overflow:hidden;position:relative}.paper svg{width:100%;height:100%;display:block;user-select:none;touch-action:none}.paper .editable-object{cursor:pointer}.paper .editable-object:hover{filter:drop-shadow(0 0 55px #479cff88)}.paper .resize-handle{cursor:nwse-resize;touch-action:none}.paper-caption{text-align:center;color:#9aacbc;font-size:11px;margin-top:15px}.statusbar{min-height:37px;border-top:1px solid #dee7f1;background:#f9fbfe;padding:8px 20px;justify-content:space-between;font-size:10px;color:#60768e;gap:12px}.statusbar #statusText{flex:1}.statusbar span{white-space:nowrap}.inspector label{display:flex;flex-direction:column;gap:5px;color:#617388;font-size:11px;font-weight:650;margin:10px 0}.inspector input,.inspector select{border-radius:9px;border:1px solid #dce6f0;background:#fbfdff;padding:9px;width:100%;min-width:0;color:#273d54;font-size:12px}.fields2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fields2 label{min-width:0}.selection-count{font-size:11px;color:#207cda;font-weight:700;margin-bottom:10px}.empty-state{text-align:center;border:1px dashed #cddceb;border-radius:13px;padding:21px 15px}.empty-state strong{font-size:12px}.empty-icon{font-size:29px;color:#aac5dc;margin-bottom:5px}.button-row{margin:9px 0}.button-row button{flex:1}.danger{color:#c54a57}.text-action{border:0;background:0 0;padding:3px 5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.stats>div{border-radius:9px;border:1px solid #e4edf6;padding:12px 7px;display:grid;gap:5px;text-align:center}.stats b{font-size:18px;color:#176fc6}.stats span{font-size:10px;color:#8191a3}.seo-content{background:#fff;border-top:1px solid var(--border);padding:60px 24px}.seo-inner{max-width:850px;margin:auto}.seo-inner h2{font-size:28px;letter-spacing:-.7px}.seo-inner h3{margin-top:35px}.seo-inner p{font-size:14px;line-height:1.9;color:#67798e}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100;background:#173a59;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:var(--shadow);font-size:12px;max-width:min(550px,95vw)}.toast[hidden]{display:none}.mobile-tabs{display:none}.mobile-only{display:none}@media(max-width:1250px){.workspace{grid-template-columns:244px minmax(0,1fr) 252px}.aside-section,.sidebar-header{padding-left:13px;padding-right:13px}.topbar{padding:0 14px;gap:9px}.product{font-size:12px}.title-edit{max-width:220px}.actions button{padding:8px}.tool{padding:9px 5px}.tool strong{font-size:10px}}@media(max-width:950px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px}.title-edit{order:3;flex-basis:100%;max-width:none}.title-edit input{max-width:340px}.edition{display:none}.workspace{height:calc(100dvh - 151px);min-height:560px;max-height:none;grid-template-columns:1fr;position:relative}.sidebar{display:none;position:absolute;inset:0;z-index:8;overflow:auto}.sidebar.show{display:block}.inspector.show{display:block}.editor{display:flex}.editor.hide{display:none}.mobile-tabs{display:flex;gap:5px;padding:7px;background:#fff;border-bottom:1px solid var(--border)}.mobile-tabs button{flex:1}.mobile-tabs button[aria-pressed=true]{background:#e9f4ff;color:#176fbf;border-color:#b7d7f4}.mobile-only{display:inline-flex}.canvas-head{padding:9px 14px}.stage{padding:20px 12px}.paper-wrap{margin:auto 0}.paper-caption{font-size:10px}.seo-content{padding-top:36px}.sidebar-header{padding:22px 18px}.aside-section{padding:16px 18px}.tools-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tool{min-height:64px;flex-direction:column;gap:5px}.tool kbd{display:none}.tool span{font-size:21px}.layer-row{max-width:600px}.inspector-body{overflow:visible}.inspector{min-height:0}}@media(max-width:620px){.identity{flex:1}.brand{font-size:15px}.product{font-size:11px}.actions{flex-wrap:wrap;justify-content:flex-end}.actions button{font-size:11px;padding:6px 8px}.topbar{gap:5px}.title-edit{justify-content:flex-start}.title-edit input{text-align:left}.canvas-head{gap:10px}.view-switch{width:100%}.view-switch button{flex:1}.canvas-actions{width:100%;justify-content:space-between}.statusbar #coords{display:none}.workspace{height:calc(100dvh - 190px)}.stage{align-items:flex-start}.paper-head{font-size:9px}.paper{min-height:0}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool{flex-direction:row;min-height:48px}.tool kbd{display:block}}@media(prefers-reduced-motion:reduce){*,::after,::before{scroll-behavior:auto!important;animation:none!important;transition:none!important}}[hidden]{display:none!important}.button-row{flex-wrap:wrap}.button-row button{min-width:calc(50% - 8px)}.wide-action{width:100%;margin:6px 0}.audit-list{display:grid;gap:5px;margin-top:10px;font-size:11px;line-height:1.5}.audit-list .warn{color:#865a14;background:#fff7e6;padding:7px 9px;border:1px solid #f5dfac;border-radius:7px;overflow-wrap:anywhere}.audit-list .ok{color:#1a7457;background:#e9f9f3;padding:7px 9px;border-radius:7px}.export-scale-label{font-size:11px;color:#546b84;font-weight:650;padding:7px 8px;display:grid;gap:4px}.export-scale-label select{font:inherit;padding:8px;border-radius:7px;border:1px solid #cfdfef;background:#fff;max-width:100%}.canvas-actions{flex-wrap:wrap}