@charset "UTF-8";
:root{--green:#197657;--green-dark:#135b43;--mint:#e7f3e9;--ink:#24352d;--muted:#8a948e;--line:#e8ece8;--panel:#fff;--primary:#253e34;--secondary:#d1edcf;--radius:9px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:calc(15px * var(--text-scale,1));font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{background:#f8faf8}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.3}button{border:0;background:transparent}a{color:inherit;text-decoration:none}input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #529a7a;outline-offset:3px}[hidden]{display:none!important}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}#app{height:100dvh;display:flex;flex-direction:column;min-height:420px}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;color:#7a867e;flex-shrink:0;transition:background .12s,color .12s}.icon-button svg{width:17px;height:17px}.icon-button:hover:not(:disabled){background:#f0f4ef;color:var(--ink)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:38px;padding:0 17px;font-size:calc(14px * var(--text-scale,1));font-weight:600;border-radius:7px;white-space:nowrap;transition:background .15s,transform .15s}.button svg{width:16px;height:16px}.button:active{transform:translateY(1px)}.button-dark{color:#fff;background:var(--ink)}.button-dark:hover{background:#101f18}.button-green{color:white;background:var(--green)}.button-green:hover{background:var(--green-dark)}.button-ghost{background:#f3f5f2;color:#6d796f}.text-button{font-size:calc(14px * var(--text-scale,1));color:#6f7c73;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:5px;padding:6px 8px}.text-button svg{width:15px;height:15px}.text-button:hover{background:#e6ebe5;color:var(--ink)}.eyebrow{color:#8b958f;font-size:calc(12px * var(--text-scale,1));letter-spacing:1.4px;font-weight:650}.small-button{border:1px solid var(--line);border-radius:5px;padding:6px 10px;font-size:calc(14px * var(--text-scale,1));background:#fff}.small-button:hover{background:var(--mint)}
.app-header{height:68px;display:flex;align-items:center;padding:0 23px 0 20px;gap:33px;flex-shrink:0;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:40}.brand{display:flex;align-items:center;gap:9px;font-family:Georgia,"Times New Roman",serif;font-size:calc(28px * var(--text-scale,1));font-weight:bold;letter-spacing:-1.5px}.brand-icon{height:33px;width:33px;display:flex;align-items:center;justify-content:center;background:var(--green);border-radius:10px;transform:rotate(-5deg);color:#eef8df}.brand-icon svg{width:21px;height:21px;stroke-width:1.7;transform:rotate(5deg)}.brand-dot{color:var(--green)}.menubar{display:flex;align-items:center;gap:5px}.menu-wrap{position:relative}.menu-button{font-size:calc(14px * var(--text-scale,1));padding:8px 9px;border-radius:6px;color:#66746b}.menu-button:hover,.menu-button[aria-expanded=true]{background:#f0f4ef;color:var(--ink)}.dropdown{position:absolute;top:calc(100% + 12px);left:0;min-width:285px;padding:6px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 40px #203b2521;border-radius:10px;z-index:60}.dropdown button,.dropdown a{display:flex;width:100%;align-items:center;text-align:left;padding:10px;border-radius:5px;font-size:calc(14px * var(--text-scale,1));gap:9px;min-height:36px;white-space:nowrap}.dropdown svg{width:16px;height:16px;color:#7d8f82}.dropdown button:hover,.dropdown a:hover{background:#eff6ee}.dropdown kbd{margin-left:auto;padding-left:15px;font:calc(12px * var(--text-scale,1)) var(--ui-font);color:#9aa39d;letter-spacing:1px}.dropdown hr{border:0;border-top:1px solid var(--line);margin:5px 7px}.header-document{display:flex;align-items:center;gap:6px;color:#9ba39c;font-size:calc(13px * var(--text-scale,1));margin-left:auto;white-space:nowrap}.save-dot,.local-dot{display:inline-block;width:5px;height:5px;background:#9fc7ad;border-radius:50%;flex-shrink:0}.header-actions{display:flex;align-items:center;gap:13px}.header-actions>.icon-button svg{width:19px;height:19px}
.ribbon{height:99px;display:flex;align-items:center;gap:22px;flex-shrink:0;padding:0 25px 0 18px;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}.ribbon-history{display:flex;align-items:center;gap:2px;align-self:center;margin-right:2px}.ribbon-history .icon-button{width:28px}.ribbon-group{height:58px;border-left:1px solid var(--line);padding-left:22px;display:flex;flex-direction:column;gap:10px;justify-content:center}.brush-group{width:156px;flex-shrink:0}.brush-group select{padding:0;border:0;color:#566a5c;background:transparent;font-size:calc(14px * var(--text-scale,1));width:135px;cursor:pointer}.shape-tools{display:flex;gap:2px;margin-top:-2px}.tool-button{width:32px;height:32px;border-radius:6px;color:#78877d;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;transition:background .12s,color .12s}.tool-button:hover{background:#edf3eb;color:var(--green)}.tool-button.active{background:var(--mint);color:var(--green);box-shadow:inset 0 0 0 1px #cce2ce}.shape-tools .tool-button{height:26px;width:26px}.shape-tools .tool-button svg{height:18px;width:18px}.colors-group{min-width:250px;flex:1;gap:8px}.palette{display:grid;grid-template-columns:repeat(12,18px);gap:5px 5px}.palette button,.recent-colors button{width:18px;height:18px;border-radius:50%;border:1px solid #00000008;position:relative;padding:0}.palette button:hover,.recent-colors button:hover{transform:scale(1.15)}.palette button.active:after,.recent-colors button.active:after{content:'';position:absolute;inset:-4px;border:1px solid #99b4a2;border-radius:50%}.properties-toggle{display:none;margin-left:auto}
.editor-layout{display:grid;grid-template-columns:64px minmax(0,1fr) 257px;flex:1;min-height:0}.tool-rail{display:flex;align-items:center;flex-direction:column;justify-content:space-between;padding:21px 0 20px;background:#fff;border-right:1px solid var(--line);position:relative;z-index:15}.rail-tools{display:flex;flex-direction:column;gap:8px}.rail-tools .tool-button{width:37px;height:37px;border-radius:9px}.rail-tools .tool-button.active{background:var(--green);color:#fff;box-shadow:0 3px 7px #19765719}.rail-tools .tool-button svg{width:20px;height:20px}.rail-divider{height:1px;margin:6px 6px;background:var(--line)}.rail-bottom{padding-top:12px}.color-stack{position:relative;height:37px;width:37px}.color-stack span{position:absolute;display:block;width:23px;height:23px;border:2px solid #fff;border-radius:4px;box-shadow:0 0 0 1px #dfe5df}.color-stack .secondary-chip{bottom:0;right:0;background:var(--secondary)}.color-stack .primary-chip{top:2px;left:0;background:var(--primary)}
.workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:#edf0ec;position:relative}.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:49px;padding:0 24px;border-bottom:1px solid #e1e7df;background:#f5f7f3;gap:10px;z-index:4}.document-info{display:flex;align-items:center;min-width:0;gap:8px}.document-mark{display:flex;align-items:center;color:#8d9c90}.document-mark svg{width:15px;height:15px}.document-info input{width:105px;min-width:30px;max-width:250px;border:0;background:transparent;font-size:calc(14px * var(--text-scale,1));font-weight:550;color:#5c6a60;padding:4px 0;border-bottom:1px solid transparent}.document-info input:focus{border-bottom-color:#a2b3a6}.file-type{font-size:calc(13px * var(--text-scale,1));color:#a8afa7;letter-spacing:.5px;margin-left:-6px}.workspace-actions{display:flex;align-items:center;gap:10px}.workspace-actions>.icon-button{width:25px;height:25px}.viewport{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background-image:radial-gradient(#bec8bd80 .7px,transparent .7px);background-size:18px 18px;scrollbar-width:thin;scrollbar-color:#bdc7bb transparent;outline:none!important}.viewport.panning{cursor:grabbing}.stage{min-width:100%;min-height:100%;width:max-content;height:max-content;display:grid;place-items:center;padding:45px;position:relative}.artboard{width:900px;height:600px;position:relative;isolation:isolate;flex-shrink:0;box-shadow:0 0 0 1px #2639270a,0 8px 24px #2837260b,0 1px 5px #28372608;background-color:#fff;background-image:linear-gradient(45deg,#e4e7e2 25%,transparent 25%),linear-gradient(-45deg,#e4e7e2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e4e7e2 75%),linear-gradient(-45deg,transparent 75%,#e4e7e2 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.artboard>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;display:block}#surface{z-index:1;pointer-events:none}#overlay{z-index:2;cursor:crosshair}#overlay[data-tool=hand]{cursor:grab}#overlay[data-tool=text]{cursor:text}#overlay[data-tool=select]{cursor:crosshair}#overlay[data-tool=picker]{cursor:crosshair}.brush-cursor{position:absolute;border:1px solid #24352d90;border-radius:50%;box-shadow:0 0 0 1px #fff8;pointer-events:none;transform:translate(-50%,-50%);z-index:5}.canvas-grid{position:absolute;inset:0;pointer-events:none;z-index:4;background-image:linear-gradient(#22442c22 1px,transparent 1px),linear-gradient(90deg,#22442c22 1px,transparent 1px);background-size:20px 20px}.workspace-hint{height:33px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:7px;font-size:calc(13px * var(--text-scale,1));color:#99a296;background:#f0f3ed;border-top:1px solid #e5eae1;letter-spacing:.1px}.hint-dot{width:4px;height:4px;background:#a9bda5;border-radius:50%}.hint-shortcut{color:#b3bbaf;padding-left:5px}.drop-overlay{position:absolute;inset:15px;z-index:10;border:2px dashed #80af8e;border-radius:15px;background:#f1f8efed;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:var(--green);pointer-events:none}.drop-overlay svg{width:45px;height:45px}.drop-overlay strong{font-size:calc(22px * var(--text-scale,1));font-family:Georgia,serif}.drop-overlay span{color:#79947d}
.inspector{background:white;border-left:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden;z-index:25;min-height:0}.inspector-heading{height:49px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);font-weight:600;font-size:calc(14px * var(--text-scale,1));flex-shrink:0}.close-inspector{display:none}.property-content{padding:20px 20px 16px;overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#d2d9d0 transparent;flex-shrink:1}.tool-heading{display:flex;gap:9px;align-items:center;margin-bottom:17px}.selected-tool-icon{width:32px;height:32px;background:#f0f6ed;display:flex;align-items:center;justify-content:center;border-radius:8px;color:var(--green)}.selected-tool-icon svg{width:17px;height:17px}.tool-heading>div{display:flex;flex-direction:column;gap:4px;flex:1}.tool-heading strong{font-weight:600;font-size:calc(14px * var(--text-scale,1))}.tool-heading span:not(.selected-tool-icon){font-size:calc(12px * var(--text-scale,1));color:#9ba59c}.tool-heading>kbd{background:#f5f7f3;border:1px solid #e9ede5;border-radius:4px;font:calc(12px * var(--text-scale,1)) var(--ui-font);padding:3px 5px;color:#a3ad9e}.stroke-preview{height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;border:1px solid #e6eedd;background:#f8faf3;position:relative;margin-bottom:21px}.stroke-preview svg{width:190px;height:57px;stroke-width:8}.stroke-preview>span{font-size:calc(12px * var(--text-scale,1));color:#a5b09b;position:absolute;bottom:8px;right:10px;letter-spacing:.2px}.property-row{display:flex;justify-content:space-between;align-items:center;font-size:calc(14px * var(--text-scale,1));color:#71816e;min-height:19px}.property-row output{font-size:calc(14px * var(--text-scale,1));color:#465943}.property-row output>span{font-size:calc(12px * var(--text-scale,1));color:#a5afa1}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:14px;background:transparent;margin:7px 0 0;cursor:pointer;accent-color:var(--green)}input[type=range]::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--green) var(--range,50%),#e5eadf var(--range,50%));border-radius:3px}input[type=range]::-moz-range-track{height:3px;background:#e5eadf;border-radius:3px}input[type=range]::-webkit-slider-thumb{appearance:none;height:11px;width:11px;border-radius:50%;background:#fff;border:2.5px solid var(--green);margin-top:-4px;box-shadow:0 0 0 2px #fff}input[type=range]::-moz-range-thumb{height:8px;width:8px;border-radius:50%;background:white;border:2px solid var(--green)}.opacity-row{margin-top:19px}.conditional-settings{margin-top:17px;border-top:1px solid var(--line);padding-top:15px}.field-label{font-size:calc(14px * var(--text-scale,1));color:#7b887b;display:flex;flex-direction:column;gap:8px}select{background:#fafbf8;border:1px solid #e4e9df;border-radius:6px;min-height:33px;padding:5px 9px;font-size:calc(14px * var(--text-scale,1));max-width:100%;cursor:pointer}.conditional-settings>select{width:100%}.property-note{font-size:calc(12px * var(--text-scale,1));line-height:1.65;color:#a1aa9d;margin:9px 0 0}.font-options{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:calc(13px * var(--text-scale,1));color:#8a9685}.font-options input{width:60px;border:1px solid var(--line);border-radius:5px;height:30px;padding:0 6px}.font-options button{border:1px solid var(--line);width:28px;height:28px;border-radius:5px}.font-options button[aria-pressed=true]{background:var(--mint);color:var(--green);border-color:#b6d0b7}#font-bold{font-weight:bold}#font-italic{font-style:italic}.selection-actions{display:flex;gap:5px;margin-top:10px}.selection-actions .small-button{font-size:calc(13px * var(--text-scale,1));padding:5px 8px}.color-properties{margin-top:21px;padding-top:17px;border-top:1px solid var(--line)}.swap-colors-button{height:22px;width:25px}.swap-colors-button svg{width:14px;height:14px}.color-input-row{display:flex;align-items:center;gap:8px;margin-top:8px}.color-picker-label,.secondary-picker{display:block;position:relative;flex-shrink:0;overflow:hidden;border-radius:7px;border:1px solid #dce3d7}.color-picker-label{width:32px;height:32px}.color-picker-label .primary-chip,.secondary-picker .secondary-chip{position:absolute;inset:0;pointer-events:none;background:var(--primary)}.secondary-picker .secondary-chip{background:var(--secondary)}input[type=color]{position:absolute;inset:-5px;opacity:0;width:calc(100% + 10px);height:calc(100% + 10px);cursor:pointer}.secondary-picker{width:23px;height:23px;margin-left:4px;border-radius:5px}.hex-label{display:flex;align-items:center;border:1px solid #e0e6da;border-radius:6px;height:32px;padding:0 7px;gap:4px;flex:1;min-width:0;color:#a9b19f;font-size:calc(14px * var(--text-scale,1))}.hex-label input{width:100%;border:0;color:#63745b;text-transform:uppercase;background:transparent;font-family:ui-monospace,monospace;font-size:calc(13px * var(--text-scale,1));letter-spacing:.5px}.recent-label{font-size:calc(12px * var(--text-scale,1));letter-spacing:1.2px;color:#a9b3a1;margin:17px 0 9px}.recent-colors{display:flex;gap:7px;min-height:18px}.recent-colors button{width:18px;height:18px}
.layers-panel{border-top:1px solid var(--line);min-height:200px;display:flex;flex-direction:column;flex:1}.layers-heading{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 15px 0 20px;flex-shrink:0}.layers-heading h2{font-size:calc(14px * var(--text-scale,1));font-weight:600;margin:0;display:flex;align-items:center;gap:7px}.layers-heading h2 span{font-size:calc(12px * var(--text-scale,1));color:#a8b39f;background:#f4f6f0;padding:2px 5px;border-radius:4px}.layer-list{padding:0 11px;overflow-y:auto;flex:1;min-height:56px;scrollbar-width:thin}.layer-row{display:flex;align-items:center;gap:9px;min-height:51px;padding:7px;border:1px solid transparent;border-radius:7px;margin-bottom:3px;cursor:pointer}.layer-row:hover{background:#f7f9f3}.layer-row.active{background:#eef5e8;border-color:#e0ecda}.layer-row .layer-eye{width:20px;height:25px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#92a086}.layer-eye svg{width:14px;height:14px}.layer-thumb{width:35px;height:29px;border:1px solid #d7e0ce;border-radius:3px;display:block;object-fit:contain;background-color:#fff;background-image:linear-gradient(45deg,#e9ede5 25%,transparent 25%),linear-gradient(-45deg,#e9ede5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9ede5 75%),linear-gradient(-45deg,transparent 75%,#e9ede5 75%);background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0;flex-shrink:0}.layer-row input{min-width:0;width:100%;background:transparent;border:0;border-bottom:1px solid transparent;font-size:calc(13px * var(--text-scale,1));padding:4px 0;color:#667658}.layer-row input:focus{border-bottom-color:#a6bb98}.layer-row>.layer-name{flex:1;min-width:0;font-size:calc(13px * var(--text-scale,1))}.layer-row .lock-icon{width:12px;height:12px;color:#b8c2ae;margin-left:auto}.background-layer{opacity:.8;cursor:default}.layer-opacity{padding:8px 20px 4px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:calc(12px * var(--text-scale,1));color:#a0ac94;flex-shrink:0}.layer-opacity span{font-size:calc(12px * var(--text-scale,1));color:#839278}.layer-opacity input{flex-basis:100%;margin-top:3px;height:12px}.layer-actions{display:flex;align-items:center;gap:1px;padding:5px 12px;border-top:1px solid #f0f3ec;flex-shrink:0}.layer-actions>.icon-button{width:28px;height:28px}.layer-actions .icon-button svg{width:14px;height:14px}.layer-actions>span{flex:1}.inspector-foot{border-top:1px solid var(--line);font-size:calc(12px * var(--text-scale,1));color:#a8b19e;display:flex;gap:6px;align-items:center;padding:13px 15px;flex-shrink:0;white-space:nowrap}.local-dot{width:4px;height:4px}
.statusbar{height:35px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);background:#fff;padding:0 15px 0 20px;gap:10px;z-index:20;flex-shrink:0;color:#9aa591;font-size:calc(13px * var(--text-scale,1))}.status-left{display:flex;align-items:center;gap:15px;min-width:0}.status-left>#cursor-position{min-width:83px;font-size:calc(12px * var(--text-scale,1))}.status-divider{display:inline-block;width:1px;height:13px;background:#e6eae2;flex-shrink:0}.dimensions{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:calc(12px * var(--text-scale,1))}.dimensions svg{width:12px;height:12px;color:#a4af9b}.zoom-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.zoom-controls input{width:105px;margin:0 2px;height:18px}.zoom-controls .icon-button{width:25px;height:25px}.zoom-controls .icon-button svg{width:14px;height:14px}.zoom-label{width:47px;font-size:calc(13px * var(--text-scale,1));color:#72826b}.grid-button[aria-pressed=true]{background:var(--mint);color:var(--green)}.text-editor{position:absolute;z-index:7;min-width:160px;width:280px;max-width:80vw}.text-editor textarea{display:block;resize:both;width:100%;min-height:80px;padding:6px;border:1px dashed var(--green);background:#ffffffd9;box-shadow:0 0 0 3px #fff9;color:var(--primary);overflow:auto}.text-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px;background:white;border:1px solid var(--line);box-shadow:0 3px 10px #233b2111;border-radius:0 0 5px 5px;height:30px;padding-right:3px}.text-editor-actions>span{font-size:calc(12px * var(--text-scale,1));color:#acb3a4;padding:0 7px;flex:1;white-space:nowrap}.text-editor-actions .icon-button{width:23px;height:23px}.text-editor-actions .icon-button svg{width:13px;height:13px}
dialog{width:490px;max-width:calc(100vw - 30px);max-height:90dvh;overflow:auto;padding:27px 29px 25px;border:1px solid #e6eae0;border-radius:17px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #132d1c40}dialog::backdrop{background:#13291b61;backdrop-filter:blur(4px)}dialog[open]{animation:dialog-in .2s ease-out}dialog h1{font-family:Georgia,"Times New Roman",serif;font-weight:normal;letter-spacing:-.7px;font-size:calc(28px * var(--text-scale,1));line-height:1.2;margin:10px 0 12px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:24px}.dialog-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#edf6e7;color:var(--green);border-radius:12px}.dialog-icon svg{width:21px;height:21px}.dialog-intro{font-size:calc(14px * var(--text-scale,1));line-height:1.7;color:#9aa68f;margin:0 0 23px}.format-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.format-presets button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;border:1px solid #e5ebdf;border-radius:8px;height:110px;font-size:calc(14px * var(--text-scale,1));color:#809173;background:#fafcf8}.format-presets button.active{border-color:#72a282;background:#f0f7eb;color:var(--green)}.format-presets small{font-size:calc(12px * var(--text-scale,1));color:#a2ad96;margin-top:-4px}.format-icon{display:block;border:1.5px solid #a7bd9a;border-radius:2px;height:24px;width:34px}.format-icon.square{height:26px;width:26px}.format-icon.portrait{height:30px;width:21px}.size-fields{display:flex;align-items:flex-end;gap:10px;margin:20px 0}.size-fields>label{flex:1;font-size:calc(13px * var(--text-scale,1));color:#8c9a80;min-width:0}.number-field{display:flex;align-items:center;height:39px;border:1px solid #e2e8db;border-radius:6px;margin-top:8px;padding:0 11px;color:#a4af97;font-size:calc(13px * var(--text-scale,1))}.number-field input{border:0;width:100%;font-size:calc(14px * var(--text-scale,1));padding:4px 0;background:transparent;color:#657759}.size-fields>.icon-button{margin-bottom:4px}.size-fields>.icon-button[aria-pressed=true]{color:var(--green);background:var(--mint)}#background-option{margin-top:20px}#background-option>select{height:37px}#resample-option{margin-top:15px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:28px;padding-top:20px;border-top:1px solid #edf0e6}.dialog-actions .button{height:39px;font-size:calc(14px * var(--text-scale,1))}.export-preview{height:145px;background:#f2f5ed;border:1px solid #e8eddf;border-radius:8px;display:flex;align-items:center;justify-content:center;margin:23px 0}.export-preview img{max-width:92%;max-height:125px;object-fit:contain;box-shadow:0 2px 8px #3043231a}.field-label>input{border:1px solid #e1e8d7;border-radius:6px;padding:10px;font-size:calc(14px * var(--text-scale,1));height:38px}.export-options{display:flex;align-items:center;gap:18px;margin-top:18px}.export-options>label:first-child{flex:1}.checkbox-label{display:flex;align-items:center;gap:7px;font-size:calc(13px * var(--text-scale,1));color:#8b9b7c;cursor:pointer}.checkbox-label input{accent-color:var(--green)}.export-options .checkbox-label{margin-top:21px}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;padding:22px 0;border-top:1px solid var(--line)}.shortcut-grid>div{display:flex;align-items:center;gap:8px;font-size:calc(13px * var(--text-scale,1));color:#809172}.shortcut-grid kbd{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8d9;border-radius:4px;min-width:25px;min-height:23px;padding:3px 5px;font:calc(12px * var(--text-scale,1)) var(--ui-font);color:#698455;background:#fafcf7}.help-note{background:#f4f8ee;padding:16px 18px;border-radius:8px;color:#879c74;font-size:calc(13px * var(--text-scale,1));line-height:1.7}.help-note strong{font-size:calc(14px * var(--text-scale,1));color:#627f4e}.help-note p{margin:7px 0 0}.toast{position:fixed;bottom:57px;left:50%;transform:translate(-50%,15px);padding:12px 20px;max-width:calc(100vw - 40px);text-align:center;border-radius:8px;background:#253b2deb;color:#f5f9ed;z-index:150;font-size:calc(14px * var(--text-scale,1));opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;box-shadow:0 6px 20px #21382619;backdrop-filter:blur(8px)}.toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:1180px){.app-header{gap:21px;padding:0 17px}.header-document{font-size:calc(12px * var(--text-scale,1))}.ribbon{gap:15px;padding-right:16px}.ribbon-group{padding-left:15px}.brush-group{width:142px}.editor-layout{grid-template-columns:58px minmax(0,1fr) 234px}.property-content{padding:17px 17px 13px}.inspector-heading{padding:0 17px}.tool-heading{gap:8px}.shape-tools .tool-button{width:24px}.palette{grid-template-columns:repeat(12,16px);gap:5px}.palette button{width:16px;height:16px}.colors-group{min-width:245px}.inspector-foot{font-size:calc(12px * var(--text-scale,1));padding:12px}.stroke-preview svg{width:180px}.hint-shortcut{display:none}}
@media(max-height:800px) and (min-width:901px){.app-header{height:59px}.ribbon{height:85px}.property-content{max-height:365px}.stroke-preview{height:65px;margin-bottom:14px}.tool-heading{margin-bottom:13px}.opacity-row{margin-top:12px}.color-properties{margin-top:13px;padding-top:9px}.recent-label{margin-top:12px}.inspector-foot{display:none}.tool-rail{padding-top:16px}.rail-tools{gap:4px}.rail-tools .tool-button{height:33px}.rail-divider{margin-top:3px;margin-bottom:3px}}
@media(max-width:1000px){.header-document{display:none}.header-actions{margin-left:auto}.menubar{gap:0}.menu-button{padding:8px}.colors-group{min-width:225px}.ribbon{gap:12px}.ribbon-group{padding-left:12px}.brush-group{width:125px}.brush-group select{width:116px;font-size:calc(14px * var(--text-scale,1))}.shape-tools .tool-button{width:22px}.shape-tools .tool-button svg{width:17px}.palette{grid-template-columns:repeat(12,14px);gap:5px}.palette button{width:14px;height:14px}}
@media(max-width:900px){.editor-layout{grid-template-columns:57px minmax(0,1fr)}.inspector{display:none;position:fixed;right:0;bottom:35px;top:167px;width:257px;box-shadow:-15px 0 40px #20331c18;border-left:1px solid #dde5d6}.inspector.open{display:flex}.properties-toggle,.close-inspector{display:inline-flex}.ribbon{gap:17px;padding-right:15px}.ribbon-history{margin-right:0}.colors-group{min-width:0;flex:1}.shape-group{flex-shrink:0}.palette{grid-template-columns:repeat(8,16px);gap:5px}.palette button{width:16px;height:16px}.brush-group{display:none}.properties-toggle{margin-left:0}.app-header{gap:24px}.app-header .brand{font-size:calc(26px * var(--text-scale,1))}.workspace-toolbar{padding-left:17px;padding-right:16px}.stage{padding:25px}.hint-shortcut{display:none}.header-actions{gap:8px}}
@media(max-width:640px){.app-header{height:59px;padding:0 13px;gap:17px}.brand{font-size:calc(24px * var(--text-scale,1))!important;gap:6px}.brand-icon{width:28px;height:28px;border-radius:9px}.brand-icon svg{width:19px;height:19px}.menubar{gap:0}.menu-button{font-size:calc(14px * var(--text-scale,1));padding:7px 6px}.menu-wrap:nth-child(3),.menu-wrap:nth-child(4){display:none}.header-actions{gap:5px}.header-actions>.icon-button{display:none}.export-top{height:32px;padding:0 10px;font-size:calc(13px * var(--text-scale,1));gap:5px}.export-top svg{width:13px}.ribbon{height:77px;gap:13px;padding:0 10px}.ribbon-history{gap:0}.ribbon-history .icon-button{width:24px}.ribbon-history .icon-button svg{width:15px}.ribbon-group{height:51px;gap:8px;padding-left:12px}.shape-tools{display:grid;grid-template-columns:repeat(4,23px);gap:0}.shape-tools .tool-button{height:23px;width:23px}.shape-group .eyebrow{display:none}.colors-group .eyebrow{display:none}.palette{grid-template-columns:repeat(6,13px);gap:5px}.palette button{width:13px;height:13px}.palette button:nth-child(n+13){display:none}.colors-group{padding-left:13px;max-width:122px}.properties-toggle{width:27px;height:28px;margin-left:auto}.ribbon .properties-toggle svg{width:17px;height:17px}.editor-layout{grid-template-columns:47px minmax(0,1fr)}.tool-rail{padding-top:13px;padding-bottom:16px}.rail-tools{gap:7px}.rail-tools .tool-button{width:33px;height:33px;border-radius:8px}.rail-tools .tool-button svg{height:18px;width:18px}.rail-divider{margin:3px 5px}.color-stack{width:30px;height:32px}.color-stack span{height:20px;width:20px}.workspace-toolbar{min-height:43px;padding:0 12px}.document-info{gap:6px}.document-info input{width:85px;font-size:calc(13px * var(--text-scale,1))}.file-type{font-size:calc(12px * var(--text-scale,1))}.workspace-actions{gap:2px}.workspace-actions .text-button{font-size:0;gap:0}.workspace-actions .text-button svg{width:16px;height:16px}.workspace-actions>.icon-button svg{height:14px;width:14px}.stage{padding:20px}.workspace-hint{font-size:calc(12px * var(--text-scale,1));height:28px;gap:5px}.statusbar{height:34px;padding:0 8px;gap:8px}.status-left{gap:0}.status-left #cursor-position,.status-left>.status-divider,#selection-dimensions{display:none}.dimensions{font-size:calc(12px * var(--text-scale,1));gap:4px}.dimensions svg{width:10px;height:10px}.zoom-controls{gap:3px}.zoom-controls input{width:50px}.zoom-controls .icon-button{width:22px}.zoom-label{width:38px;font-size:calc(12px * var(--text-scale,1))}.zoom-controls>.status-divider,.grid-button{display:none}.inspector{top:136px;bottom:34px;max-height:calc(100dvh - 170px)}.property-content{padding-top:15px}.layers-panel{min-height:170px}.stroke-preview{height:65px;margin-bottom:14px}.dropdown{position:fixed;left:12px;top:54px;min-width:280px}.dropdown kbd{font-size:calc(12px * var(--text-scale,1))}.export-options{align-items:stretch;flex-direction:column;gap:0}.export-options .checkbox-label{margin-top:14px}.shortcut-grid{gap:15px 8px}.shortcut-grid>div{font-size:calc(12px * var(--text-scale,1));gap:5px}dialog{padding:22px}dialog h1{font-size:calc(26px * var(--text-scale,1))}.dialog-heading{margin-bottom:20px}.dialog-actions .button{padding:0 12px;font-size:calc(13px * var(--text-scale,1))}.inspector-foot{display:none}.format-presets{gap:7px}.format-presets button{height:99px}.text-editor{width:210px}.header-actions .button svg{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.layers-panel{min-height:245px}.tool-heading span:not(.selected-tool-icon){color:#899783}.property-note{color:#87967c}.header-document{color:#87927f}.statusbar{color:#849177}
@media(max-width:640px){.layers-panel{min-height:200px}}
.property-content{padding-top:16px}.stroke-preview{height:76px;margin-bottom:17px}.tool-heading{margin-bottom:14px}.opacity-row{margin-top:16px}.color-properties{margin-top:17px;padding-top:13px}
/* Language control fits in the existing header; the inspector keeps its layout. */
.language-select{height:32px;width:96px;padding:0 7px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:calc(14px * var(--text-scale,1));cursor:pointer}
@media(max-width:1180px) and (min-width:1001px){.header-document{max-width:180px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:640px){.app-header{gap:9px;padding:0 10px}.language-select{width:79px;padding:0 3px;font-size:calc(13px * var(--text-scale,1))}.header-actions{gap:5px}.menubar .menu-button{padding:7px 4px}}
@media(max-width:380px){.app-header{gap:6px;padding:0 8px}.app-header .brand{font-size:calc(22px * var(--text-scale,1))!important;gap:5px}.app-header .brand-icon{width:25px;height:25px}.export-top{padding:0 7px}.language-select{width:75px}}
