:root{--page:#f8faff;--panel:#fff;--ink:#17213a;--muted:#8792a8;--sub:#5b6883;--border:#e9edf7;--soft:#f5f7ff;--primary:#5b6bfe;--violet:#7c3aed;--ring:#dce0ff;--shadow:0 8px 32px rgba(44,59,109,.035);--radius:14px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--page);font-size:13px}body{overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}svg.ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.ico.xs{width:15px;height:15px}.ico.logo{width:25px;height:25px}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{height:100dvh;min-height:450px;display:flex;flex-direction:column}.topbar{height:72px;flex:none;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 26px;gap:15px;z-index:9}.brand-area,.brand-copy,.header-actions,.btn,.header-pill,.panel-heading,.stage-title,.stage-actions,.stage-toolbar,.canvas-footer,.statusbar,.tabs,.subheading,.panel-hint,.workspace-bottom,.inspector-bottom,.field-head,.selection-actions,.field-row,.dialog-head,.dialog-actions,.toast,.file-actions button,.layer-row,.layer-actions{display:flex;align-items:center}.brand-area{gap:13px;min-width:0}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#6e81ff,#6450df);color:white;box-shadow:0 8px 18px rgba(91,107,254,.18)}.brand-copy{display:flex;align-items:flex-start;flex-direction:column;line-height:1.2;gap:5px;white-space:nowrap;direction:ltr}.brand-copy strong{font-family:Arial,sans-serif;font-size:18px;letter-spacing:-.55px;font-weight:800}.brand-copy strong span{color:var(--primary)}.brand-copy small{font-family:Arial,sans-serif;color:#7f8ba5;letter-spacing:2.2px;font-weight:800;font-size:9px}.version-label{font-size:9px;color:#b5bcce;letter-spacing:0}.header-divider{height:23px;width:1px;background:var(--border);margin:0 7px}.project-name{border:0;background:transparent;gap:9px;align-items:center;color:#46546e;font-weight:700;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-name .ico{color:#a5adc1}.dirty-dot{height:7px;width:7px;border-radius:100%;background:#f59e0b}.header-actions{gap:9px}.header-pill{gap:7px;font-size:11px;border-radius:99px;padding:9px 12px;color:#6d7690;background:#f8f9ff;white-space:nowrap}.live-dot{width:7px;height:7px;border-radius:50%;background:#40ca9b;box-shadow:0 0 0 4px rgba(64,202,155,.11);display:inline-block;flex:none}.btn{gap:8px;justify-content:center;border-radius:11px;height:37px;padding:0 14px;font-weight:700;white-space:nowrap}.btn .ico{width:16px;height:16px}.btn-outline{border:1px solid #e5e9f5;color:#45536e;background:#fff}.btn-outline:hover,.icon-button:hover,.tool-button:hover{background:#f4f5ff;border-color:#d4d9f6}.btn-primary{border:1px solid #5867ef;color:#fff;background:var(--primary);box-shadow:0 5px 15px #5b6bfe20}.btn-primary:hover{background:#4958e5}.icon-button{display:grid;place-items:center;width:35px;height:35px;border:1px solid transparent;border-radius:10px;background:transparent;color:#7b859d;flex:none}.workspace{min-height:0;flex:1;display:grid;grid-template-columns:274px minmax(0,1fr) 306px;direction:rtl;gap:0}.panel{background:#fff;min-height:0;display:flex;flex-direction:column}.workspace-panel{border-left:1px solid var(--border)}.inspector-panel{border-right:1px solid var(--border)}.panel-heading{justify-content:space-between;padding:23px 20px 18px;gap:10px;flex:none}.panel-heading>div{display:flex;flex-direction:column;gap:5px}.eyebrow{font-family:Arial,sans-serif;letter-spacing:2px;color:#b1b9cb;font-size:9px;font-weight:800;direction:ltr;text-align:right}.panel-heading h2{font-size:16px;margin:0;font-weight:800}.count-pill{font-size:10px;background:#edf0ff;color:var(--primary);border-radius:7px;padding:3px 8px;margin-right:6px;font-family:Arial,sans-serif}.tabs{margin:0 15px 17px;padding:4px;border-radius:12px;background:#f4f6fc;gap:3px;flex:none}.tabs button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;flex:1;color:#909ab1;border:1px solid transparent;border-radius:9px;background:transparent;height:34px;font-weight:700;white-space:nowrap}.tabs button.active{background:#fff;color:#5362eb;box-shadow:0 2px 6px rgba(29,39,93,.06);border-color:#edf0fa}.tabs button:hover:not(.active){color:#56627a}.tab-pane{min-height:0;flex:1;display:none;flex-direction:column;overflow:hidden}.tab-pane.active{display:flex}.scroll-pane{overflow:auto;padding:0 16px 18px}.search-field{height:37px;border:1px solid #e8ecf5;border-radius:10px;margin:0 16px 22px;display:flex;align-items:center;padding:0 11px;gap:8px;color:#a0abc1;flex:none}.search-field:focus-within{border-color:#b6beff}.search-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);height:100%;font-size:11px}.search-field input::placeholder{color:#adb5c7}.subheading{justify-content:space-between;padding:0 19px 11px;color:#8e99b0;font-size:10px;font-weight:700;flex:none}.subheading span:last-child{font-size:10px;color:#aeb7c9}.layer-list{flex:1;min-height:0;overflow:auto;padding:0 10px 8px;scrollbar-width:thin}.layer-row{border:1px solid transparent;border-radius:10px;min-height:44px;padding:4px 6px 4px 5px;gap:7px;margin-bottom:4px;color:#57647d;position:relative}.layer-row:hover{background:#f8f9ff}.layer-row.selected{border-color:#dbe0ff;background:#f0f2ff;color:#4b56d3}.layer-row.hidden-row{opacity:.52}.layer-row.locked-row .layer-text{opacity:.72}.layer-symbol{width:32px;height:32px;flex:none;border:1px solid #e9eafa;background:#f7f8ff;border-radius:8px;display:grid;place-items:center;color:#6a77cf;font-size:14px;font-family:Arial,sans-serif;font-weight:700}.layer-row.selected .layer-symbol{background:#fff}.layer-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px;text-align:right}.layer-text b{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layer-text small{font-size:9px;color:#a6aec1;font-family:Arial,sans-serif;direction:ltr;text-align:right}.layer-actions{gap:1px;opacity:0}.layer-row:hover .layer-actions,.layer-row:focus-within .layer-actions,.layer-row.selected .layer-actions{opacity:1}.layer-actions button{width:25px;height:25px;border:0;border-radius:7px;display:grid;place-items:center;background:transparent;color:#8793ad;padding:0}.layer-actions button:hover{background:#fff;color:var(--primary)}.layer-actions .ico{height:14px;width:14px}.empty-list{padding:30px 12px;text-align:center;color:#a2adc2;font-size:11px;line-height:2}.panel-hint{padding:15px 16px;border-top:1px solid var(--border);gap:7px;font-size:10px;color:#9ca6bc;line-height:1.8;flex:none}.panel-hint svg{color:#a6b1d8}.workspace-bottom{padding:13px 18px;color:#a1abc1;font-size:10px;gap:6px;border-top:1px solid var(--border);flex:none}.workspace-bottom .ico{color:#40c99a}.tab-intro{margin:1px 0 23px;text-align:center;padding:19px 13px 17px;background:linear-gradient(145deg,#f7f7ff,#fcfcff);border:1px solid #eff0ff;border-radius:15px}.intro-art{height:45px;width:45px;margin:0 auto 9px;display:grid;place-items:center;color:#6067df;border-radius:13px;background:#eaeaff}.intro-art .ico{height:23px;width:23px}.tab-intro strong{display:block;font-size:12px;margin:3px 0 9px}.tab-intro p{font-size:10px;line-height:2;color:#8791a8;margin:0}.group-label{font-size:11px;color:#707d98;font-weight:800;margin:2px 2px 11px}.creation-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.creation-grid button{height:99px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;border:1px solid #e8ecf7;background:#fff;border-radius:12px;color:#536078}.creation-grid button:hover{border-color:#b4bdff;background:#fbfbff}.creation-grid b{font-size:11px}.creation-grid small{color:#a7b0c3;font-size:9px;font-family:Arial,sans-serif}.shape-icon{display:grid;place-items:center;width:29px;height:26px;position:relative;color:#6570df}.shape-rect:before{content:"";width:23px;height:19px;border:2px solid #6371e9;border-radius:3px}.shape-circle:before{content:"";height:22px;width:22px;border:2px solid #6371e9;border-radius:50%}.shape-ellipse:before{content:"";height:17px;width:28px;border:2px solid #6371e9;border-radius:50%}.shape-line:before{content:"";width:28px;height:2px;background:#6371e9;transform:rotate(-30deg)}.shape-path{font-size:31px}.shape-text{font-size:27px;font-weight:800;font-family:Georgia,serif}.tip-box{border:1px solid #e5eaff;background:#f7f8ff;border-radius:11px;color:#7986a9;display:flex;gap:8px;align-items:flex-start;padding:12px;font-size:10px;line-height:1.95;margin-top:19px}.tip-box svg{margin-top:3px;flex:none;color:#7783df}.file-actions{display:flex;flex-direction:column;gap:8px}.file-actions button{width:100%;border:1px solid #e7ebf5;background:#fff;border-radius:11px;gap:11px;padding:12px 10px;text-align:right;color:#6e7a98}.file-actions button:hover{background:#fafbff;border-color:#c8ceff}.file-actions button>.ico:first-child{color:#6673e5}.file-actions button>span{display:flex;flex-direction:column;flex:1;gap:5px}.file-actions b{color:#4a5670;font-size:11px}.file-actions small{font-family:Arial,sans-serif;font-size:10px;color:#a4aec1;direction:ltr;text-align:right}.stage-column{min-width:0;display:flex;flex-direction:column;background:#f8faff}.stage-toolbar{height:64px;background:#fff;border-bottom:1px solid var(--border);padding:0 23px;justify-content:space-between;gap:14px;flex:none}.stage-title{gap:10px;white-space:nowrap}.stage-title strong{font-size:12px}.stage-badge{color:#8b95ae;background:#f4f6fd;border:1px solid #edf0f8;border-radius:6px;padding:5px 7px;font-size:9px;font-family:Arial,sans-serif;letter-spacing:.5px}.stage-actions{gap:4px;direction:ltr;white-space:nowrap}.tool-button{display:grid;place-items:center;border:1px solid transparent;border-radius:8px;width:31px;height:31px;color:#8a95aa;background:transparent;font-size:20px;padding:0}.tool-button .ico{width:17px;height:17px}.tool-button.active{background:#eef0ff;color:#5665ed}.tool-divider{height:20px;width:1px;background:#e6eaf3;margin:0 5px}.zoom-value{height:31px;min-width:46px;border:0;border-radius:8px;background:transparent;font-family:Arial,sans-serif;color:#5c6781;font-weight:700;font-size:11px}.zoom-value:hover{background:#f4f6ff}.stage-scroll{position:relative;flex:1;min-height:0;overflow:auto;outline:0;background-color:#f8faff;scrollbar-width:thin}.stage-scroll.show-grid{background-image:linear-gradient(#e9edf8 1px,transparent 1px),linear-gradient(90deg,#e9edf8 1px,transparent 1px);background-size:22px 22px;background-position:center center}.stage-scroll.dark-preview{background-color:#252b3e}.stage-scroll.dark-preview.show-grid{background-image:linear-gradient(#3d4458 1px,transparent 1px),linear-gradient(90deg,#3d4458 1px,transparent 1px)}.canvas-center{min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;padding:65px;box-sizing:border-box;width:max-content;height:max-content;min-height:100%;margin:auto}.artboard{width:720px;height:520px;background:#fff;box-shadow:0 25px 60px rgba(39,53,109,.12),0 3px 12px rgba(39,53,109,.06);position:relative;flex:none;isolation:isolate}.svg-mount{width:100%;height:100%}.svg-mount>svg{width:100%;height:100%;display:block;touch-action:none}.svg-mount>svg [data-studio-id]{cursor:grab}.svg-mount>svg [data-studio-id]:active{cursor:grabbing}.stage-scroll.is-panning,.stage-scroll.is-panning *{cursor:grab!important}.stage-scroll.is-panning:active,.stage-scroll.is-panning:active *{cursor:grabbing!important}.selection-frame{position:absolute;border:1.5px solid #5868ff;box-shadow:0 0 0 1px rgba(255,255,255,.7);pointer-events:none;z-index:2;min-width:1px;min-height:1px}.selection-label{position:absolute;bottom:calc(100% + 5px);right:0;direction:ltr;background:#5868ff;border-radius:5px;color:#fff;font-family:Arial,sans-serif;font-size:10px;padding:4px 6px;white-space:nowrap}.selection-handle{position:absolute;width:7px;height:7px;background:#fff;border:1.5px solid #5b6bfe;border-radius:1px}.selection-handle.nw{top:-4px;left:-4px}.selection-handle.ne{top:-4px;right:-4px}.selection-handle.sw{bottom:-4px;left:-4px}.selection-handle.se{bottom:-4px;right:-4px}.canvas-floating{position:sticky;bottom:16px;margin:0 auto 17px;width:max-content;z-index:5;background:#fff;border:1px solid #e7eaf7;box-shadow:0 4px 12px #182c4f0b;border-radius:9px;padding:8px 13px;color:#8e99ac;font-family:Arial,Tahoma,sans-serif;direction:ltr;font-size:10px;display:flex;align-items:center;gap:10px;pointer-events:none}.dot-separator{color:#cbd1de}.drop-overlay{position:absolute;inset:12px;z-index:10;border:2px dashed #7885fa;border-radius:15px;background:#f4f4ffed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#5967e8;pointer-events:none}.drop-overlay[hidden]{display:none}.drop-overlay .ico{width:37px;height:37px}.drop-overlay strong{font-size:17px}.drop-overlay span{color:#8f9bbb}.canvas-footer{height:39px;flex:none;justify-content:space-between;background:#fff;border-top:1px solid var(--border);padding:0 22px;color:#98a3b6;font-size:10px}.canvas-footer>span{display:flex;gap:8px;align-items:center}.canvas-footer>div{display:flex;gap:10px;align-items:center}.footer-separator{color:#d9dfea}.inspector-tabs{margin-bottom:0}.inspector-content{flex:1;min-height:0;overflow:auto;padding:17px 20px 22px;scrollbar-width:thin}.inspector-bottom{height:49px;flex:none;border-top:1px solid var(--border);padding:0 20px;gap:8px;color:#abb4c5;font-family:Arial,Tahoma,sans-serif;font-size:10px}.inspector-bottom svg{color:#7685ed}.inspector-bottom .version{margin-right:auto}.inspector-empty{height:100%;min-height:270px;display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:12px;color:#97a2b7;line-height:2}.inspector-empty .empty-icon{width:61px;height:61px;background:#f3f4ff;border:1px solid #eaedff;border-radius:18px;display:grid;place-items:center;color:#7580e8}.inspector-empty .empty-icon svg{width:27px;height:27px}.inspector-empty strong{font-size:13px;color:#546178}.inspector-empty p{font-size:11px;margin:0;max-width:235px}.section-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;color:#53617c;margin:13px 0 14px}.section-title:first-child{margin-top:0}.section-title small{color:#adb6c6;font-size:9px;direction:ltr;font-family:Arial,sans-serif}.property-section{padding-bottom:19px;border-bottom:1px solid #f0f2f8;margin-bottom:19px}.property-section:last-child{border-bottom:0}.field-label{display:block;color:#78849b;font-size:10px;font-weight:700;margin-bottom:7px}.field-row{gap:9px;margin-bottom:12px}.field{min-width:0;flex:1}.field-input,.field-select,.field-textarea{background:#fafbff;border:1px solid #e6eaf4;border-radius:9px;height:36px;width:100%;padding:0 10px;outline:0;color:#4e5c75;direction:ltr;text-align:left;font-family:Arial,Tahoma,sans-serif;font-size:12px}.field-input:focus,.field-textarea:focus{border-color:#a5adff}.field-textarea{resize:vertical;min-height:82px;padding:10px;line-height:1.55;font-family:Consolas,Monaco,monospace;font-size:11px}.field-help{font-size:10px;color:#a2adbf;line-height:1.9;margin:-2px 0 12px}.field-hint{font-size:10px;color:#a0aac1;direction:ltr;margin:6px 0}.selection-card{padding:12px;display:flex;gap:10px;align-items:center;background:#f7f8ff;border:1px solid #e9ecff;border-radius:12px;margin-bottom:18px}.selection-card .selection-thumb{height:37px;width:37px;background:#e9ebff;color:#6471e6;border-radius:10px;display:grid;place-items:center;font-family:Arial,sans-serif;font-size:19px}.selection-card .selection-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.selection-card b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-card small{font-size:10px;color:#a3adc3;text-transform:uppercase;direction:ltr;text-align:right;font-family:Arial,sans-serif}.selection-actions{gap:5px;margin-bottom:18px}.selection-actions button{height:31px;min-width:0;flex:1;background:#fff;border:1px solid #e6eaf5;border-radius:8px;color:#7985a0;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px}.selection-actions button:hover{color:#5665e8;border-color:#c7cfff;background:#fafaff}.selection-actions svg{height:13px;width:13px}.selection-actions button.danger:hover{color:#e44e66;border-color:#ffc7d0}.color-row{display:flex;align-items:center;gap:8px;margin-bottom:12px}.color-input{height:37px;width:41px;flex:none;padding:3px;border:1px solid #e2e7f3;border-radius:9px;background:#fff;cursor:pointer}.color-row .field-input{flex:1;min-width:0}.color-row .mini-button{border:1px solid #e8ecf4;background:#fff;border-radius:8px;height:36px;padding:0 9px;color:#74809b;font-size:10px}.swatch-grid{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px}.swatch{width:22px;height:22px;border-radius:7px;border:2px solid white;outline:1px solid #e7ebf3;box-shadow:0 1px 2px #27385910}.swatch:hover{outline:2px solid #8490fa}.range-row{display:flex;align-items:center;gap:10px}.range-row input{min-width:0;flex:1;accent-color:var(--primary)}.range-row output{min-width:39px;color:#64718d;font-family:Arial,sans-serif;font-size:11px;direction:ltr}.doc-preview{padding:13px;background:#f7f8ff;border:1px solid #e8ecfb;border-radius:11px;font-size:10px;color:#8390a8;line-height:1.9;margin-bottom:18px}.doc-preview b{display:block;color:#4e5d79;font-size:11px}.small-action{border:1px solid #dbe0ff;border-radius:9px;color:#5766e9;background:#f8f9ff;padding:9px 11px;font-size:11px;font-weight:700}.small-action:hover{background:#ebeeff}.statusbar{height:30px;flex:none;justify-content:space-between;padding:0 17px;background:#fff;border-top:1px solid var(--border);font-size:10px;color:#9da7bc}.statusbar>div{display:flex;align-items:center;gap:8px}.status-dot{height:6px;width:6px;background:#45c999;border-radius:50%}.shortcut-line{gap:7px!important}.statusbar kbd{font-family:Arial,sans-serif;font-size:9px;color:#8a96b0;border:1px solid #e7eaf1;background:#f9faff;border-radius:4px;padding:2px 4px}.toast-stack{position:fixed;left:24px;bottom:48px;z-index:50;display:flex;flex-direction:column;gap:9px;pointer-events:none}.toast{gap:10px;border-radius:11px;color:#44526c;border:1px solid #e6eafa;background:#fff;box-shadow:0 16px 35px #20345622;padding:12px 15px;max-width:min(410px,calc(100vw - 36px));font-size:11px;line-height:1.7;pointer-events:auto}.toast.success{border-right:3px solid #45c999}.toast.error{border-right:3px solid #e95e74}.toast .ico{color:#53bda0}.toast.error .ico{color:#e95e74}.toast button{border:0;background:transparent;color:#9ba5b6;padding:2px;margin-right:auto}.studio-dialog{border:1px solid #e9ecf9;background:white;color:var(--ink);padding:0;border-radius:16px;width:min(700px,calc(100vw - 30px));max-height:min(85dvh,800px);box-shadow:0 25px 80px #1d28513d;direction:rtl}.studio-dialog::backdrop{background:#161e34a8;backdrop-filter:blur(3px)}.dialog-head{justify-content:space-between;border-bottom:1px solid var(--border);padding:20px 24px}.dialog-head h2{font-size:16px;margin:7px 0 0}.dialog-content{padding:20px 24px;max-height:55dvh;overflow:auto}.dialog-actions{justify-content:flex-end;gap:9px;border-top:1px solid var(--border);padding:15px 24px}.source-editor{width:100%;min-height:280px;resize:vertical;direction:ltr;text-align:left;background:#f8f9ff;border:1px solid #e7eaf7;border-radius:10px;padding:13px;font:12px/1.6 Consolas,monospace;color:#37415a}.dialog-description{font-size:11px;color:#7d8ba4;line-height:2;margin:0 0 15px}.dialog-error{color:#dc475d;font-size:11px;line-height:1.8;margin-top:8px}.mobile-only{display:none}.mobile-backdrop{display:none}[hidden]{display:none!important}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#d9deeb;border-radius:20px}::-webkit-scrollbar-track{background:transparent}@media(max-width:1250px){.workspace{grid-template-columns:238px minmax(0,1fr) 270px}.topbar{padding:0 16px}.stage-toolbar{padding:0 13px}.panel-heading{padding-right:15px;padding-left:15px}.inspector-content{padding:16px 13px}.stage-badge{display:none}.creation-grid{gap:6px}}@media(max-width:980px){.workspace{grid-template-columns:220px minmax(0,1fr) 256px}.header-pill{display:none}.header-divider{margin:0 1px}.project-name{max-width:120px}.stage-title strong{display:none}.stage-toolbar{padding:0 8px}.stage-actions{gap:0}.tool-divider{margin:0 2px}.tool-button{width:28px}.panel-heading{padding-top:16px;padding-bottom:14px}.tabs{margin:0 9px 13px}.tabs button{font-size:10px}.canvas-footer{padding:0 10px}}@media(max-width:760px){body{overflow:hidden}.app-shell{min-height:0}.topbar{height:58px;padding:0 10px}.brand-mark{height:34px;width:34px;border-radius:11px}.brand-copy strong{font-size:15px}.brand-copy small{font-size:7px;letter-spacing:1.4px}.brand-area{gap:7px}.header-actions{gap:3px}.header-actions .btn{height:33px;padding:0 8px;gap:4px;font-size:10px}.header-actions .btn .ico{width:14px}.desktop-only{display:none!important}.mobile-only{display:grid}.workspace{display:block;position:relative}.stage-column{height:100%}.workspace-panel,.inspector-panel{position:fixed;z-index:30;top:58px;bottom:30px;width:min(315px,88vw);box-shadow:0 18px 70px #20274624;transition:transform .23s ease;visibility:hidden}.workspace-panel{right:0;transform:translateX(105%)}.inspector-panel{left:0;transform:translateX(-105%)}.workspace-panel.open,.inspector-panel.open{visibility:visible;transform:translateX(0)}.mobile-backdrop:not([hidden]){display:block;position:fixed;inset:58px 0 30px;z-index:25;background:#141c334e}.stage-toolbar{height:50px;padding:0 9px}.stage-title strong{display:inline;font-size:10px}.stage-badge{display:none}.stage-actions .tool-button{width:26px;height:27px}.tool-divider{margin:0 2px}.stage-actions .tool-button:nth-last-child(1){display:none}.zoom-value{min-width:37px;font-size:10px}.canvas-center{padding:45px}.canvas-footer{height:34px;font-size:9px}.canvas-footer>span{max-width:49%;overflow:hidden;white-space:nowrap}.statusbar{height:30px}.shortcut-line{display:none!important}.statusbar{justify-content:center}.toast-stack{bottom:44px;left:10px}.inspector-content{padding:17px}.panel-heading{padding:20px}.canvas-floating{font-size:9px;padding:6px 9px}.tab-pane{overflow:auto}.layer-list{min-height:140px}}@media(max-width:375px){.brand-copy strong{font-size:13px}.brand-copy small{letter-spacing:.5px}.topbar{padding:0 6px}.header-actions .btn{padding:0 6px}.header-actions .btn-outline{font-size:0}.header-actions .btn-outline .ico{width:17px;height:17px}.stage-title .live-dot{display:none}.stage-title strong{font-size:9px}.stage-actions .tool-button{width:24px}.stage-actions .tool-button .ico{width:15px}.stage-actions .tool-divider:nth-of-type(2){display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Compact mobile header: keep the complete product name visible at 360–390px. */
@media(max-width:760px){.header-actions .btn-outline{width:34px;padding:0}.header-actions .btn-outline .hide-tiny{display:none}.brand-copy small{display:none}.brand-copy strong{font-size:15px}}

/* Theme palette intentionally mirrors the standalone Lottie studio and shares its localStorage preference. */
html.dark{--page:#111525;--panel:#171c2e;--ink:#edf0ff;--muted:#9ca7c2;--sub:#b9c2d8;--border:#2a324b;--soft:#20283d;--ring:#3d4c79}
html.dark .topbar,html.dark .panel,html.dark .stage-toolbar,html.dark .canvas-footer,html.dark .statusbar,html.dark .artboard,html.dark .btn-outline,html.dark .tabs button.active,html.dark .file-actions button,html.dark .selection-actions button,html.dark .layer-actions button:hover,html.dark .canvas-floating,html.dark .toast,html.dark .studio-dialog{background:#171c2e;color:var(--ink)}
html.dark .stage-column,html.dark .stage-scroll{background-color:var(--page)}
html.dark .stage-scroll.show-grid{background-image:linear-gradient(#29324a 1px,transparent 1px),linear-gradient(90deg,#29324a 1px,transparent 1px)}
html.dark .tabs,html.dark .header-pill,html.dark .tab-intro,html.dark .selection-card,html.dark .doc-preview,html.dark .tip-box,html.dark .inspector-empty .empty-icon{background:#20283d;border-color:#303a57}
html.dark .layer-row:hover,html.dark .layer-row.selected,html.dark .tool-button.active,html.dark .btn-outline:hover,html.dark .icon-button:hover,html.dark .tool-button:hover{background:#252f49;color:#aeb8ff;border-color:#3a4670}
html.dark .layer-symbol,html.dark .field-input,html.dark .field-select,html.dark .field-textarea,html.dark .source-editor,html.dark .color-input,html.dark .small-action,html.dark .search-field{background:#151a2a;border-color:#303a57;color:var(--ink)}
html.dark .file-actions b,html.dark .selection-card b,html.dark .inspector-empty strong,html.dark .panel-heading h2,html.dark .stage-title,html.dark .project-name{color:var(--ink)}
html.dark .layer-row,html.dark .file-actions button,html.dark .selection-actions button,html.dark .canvas-footer,html.dark .statusbar,html.dark .field-label{color:#b6c0d5}
html,body{font-family:"Dana","Segoe UI",Tahoma,Arial,sans-serif}

/* Same sun/moon control and restrained surface treatment as the LottieLab studio. */
.site-theme-toggle .toggle-theme{width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:50%;background:transparent;color:#485674;display:flex;align-items:center;justify-content:center}.site-theme-toggle .toggle-theme:hover{background:var(--soft);color:var(--primary)}.site-theme-toggle .theme-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.site-theme-toggle .theme-sun{display:none}html.dark .site-theme-toggle .theme-moon{display:none}html.dark .site-theme-toggle .theme-sun{display:block}html:not(.dark) .site-theme-toggle .toggle-theme{background:#e0e7ff;border-color:#a5b4fc;color:#4338ca;box-shadow:0 1px 3px rgba(79,70,229,.18)}html:not(.dark) .site-theme-toggle .toggle-theme:hover{background:#c7d2fe;border-color:#818cf8;color:#3730a3}html.dark .site-theme-toggle .toggle-theme{color:#d1d5db;border-color:#374151}html.dark .site-theme-toggle .toggle-theme:hover{background:#1f2937;color:#a5b4fc}
.topbar,.panel,.stage-toolbar,.canvas-footer,.statusbar{box-shadow:none}.topbar{padding-left:22px;padding-right:22px}.panel-heading{padding-top:20px;padding-bottom:15px}.tabs{margin-bottom:14px}.tab-intro,.selection-card,.doc-preview,.tip-box{box-shadow:none}.btn-primary{box-shadow:none}.artboard{box-shadow:0 16px 42px rgba(39,53,109,.09),0 1px 4px rgba(39,53,109,.05)}
#stageScroll:fullscreen{background-color:var(--page)}#stageScroll:fullscreen .canvas-center{min-height:100%;min-width:100%;padding:72px}#stageScroll:fullscreen .canvas-floating{bottom:22px}html.dark #stageScroll:fullscreen{background-color:#111525}
.studio-brand-logo{display:flex;align-items:center;flex:none}.studio-brand-logo>a{display:flex;align-items:center;text-decoration:none}.studio-brand-logo img{display:block;width:156px;height:auto;max-height:52px;object-fit:contain}html.dark .studio-brand-logo>a{padding:4px 7px;border-radius:10px;background:#f8fafc;box-shadow:0 4px 14px rgba(0,0,0,.24)}
@font-face{font-family:"Dana";src:url("/fonts/Dana/woff2/DanaFaNum-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Dana";src:url("/fonts/Dana/woff2/DanaFaNum-Medium.woff2") format("woff2");font-weight:500 600;font-style:normal;font-display:swap}@font-face{font-family:"Dana";src:url("/fonts/Dana/woff2/DanaFaNum-DemiBold.woff2") format("woff2");font-weight:700 900;font-style:normal;font-display:swap}
