@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;font-synthesis:none;color:#30372b;background:#f6f6f2;--green:#c5ee89;--muted:#8b9581;--line:#e4e8de;--panel:#fafbf7;--ink:#344528}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;transition:background .15s,border-color .15s}button:disabled{opacity:.35;cursor:not-allowed}button:hover:not(:disabled){background:#eaf1e1}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #82a95c;outline-offset:3px}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:transparent}a{color:inherit;text-decoration:none}svg{width:18px;height:18px;display:block;flex-shrink:0;pointer-events:none}[data-icon]{display:inline-flex;align-items:center;justify-content:center}[hidden]{display:none!important}input,select,textarea{min-width:0}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-inner-spin-button{display:none}input[type=range]{accent-color:#95bb6b;cursor:pointer}fieldset{margin:0;padding:0;border:0;min-width:0}fieldset:disabled{opacity:.4}h2{font-size:13px;font-weight:650;margin:0}label{font-size:11px;color:#829171}input:not([type=color]):not([type=range]),select,textarea{background:#fcfdf9;border:1px solid #dfe5d7;border-radius:5px;padding:8px;color:#526544;font-size:12px}textarea{resize:vertical;width:100%;min-height:65px}input[type=color]{border:0;padding:0;cursor:pointer;background:none;width:28px;height:28px}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:1px solid #0001;border-radius:5px}input[type=color]::-moz-color-swatch{border:0;border-radius:5px}.editor{height:100dvh;width:100%;display:flex;flex-direction:column}.editor-top{flex:0 0 64px;display:flex;align-items:center;padding:0 22px;gap:24px;background:var(--panel);border-bottom:1px solid var(--line)}.brand{font-family:Manrope,Arial,sans-serif;font-size:26px;letter-spacing:-1.8px;font-weight:800;display:flex;align-items:center;flex-shrink:0}.brand-icon{height:30px;width:30px;border-radius:9px;background:var(--green);margin-right:10px;color:#344528}.brand-icon svg{width:21px;height:21px}.brand-dot{color:#78a247}.project-info{min-width:0;display:flex;align-items:center;gap:10px;margin-right:auto;padding-left:24px;border-left:1px solid var(--line)}.project-info input{width:180px;background:transparent!important;border-color:transparent!important;font-size:13px!important;padding:6px 3px!important;font-weight:550;color:#3a4035!important}.project-info input:hover{border-color:#dfe5d7!important}.live-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#83ad59}.local-label{font-size:9px;color:#929d87;letter-spacing:.5px;white-space:nowrap}.header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:white;white-space:nowrap;font-size:12px;font-weight:600}.button svg{width:15px;height:15px}.button.primary{background:var(--green);border-color:var(--green);color:#304222}.button.primary:hover:not(:disabled){background:#b4df7c}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:5px;border-radius:5px;color:#839273}.icon-button svg{width:16px;height:16px}.help-button{border:1px solid #d0d9c6;border-radius:50%;min-width:21px;width:21px;height:21px;padding:0;font-size:12px;margin:0 5px}.options-bar{flex:0 0 47px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:20px;padding:0 18px}.tool-name{display:flex;gap:9px;align-items:center;min-width:146px;font-size:11px;color:#586e47}.tool-name strong{font-weight:550}.tool-options{display:flex;gap:18px;align-items:center;flex:1;min-width:0;font-size:11px;color:#8e9985}.tool-options>label{display:flex;align-items:center;gap:7px;white-space:nowrap}.tool-options input[type=number]{width:49px;padding:5px}.tool-options input[type=range]{width:80px;height:3px}.tool-options select{padding:5px;font-size:11px}.tool-options output{font-size:10px;min-width:32px}.history-actions{display:flex;gap:5px;align-items:center}.separator{display:inline-block;height:18px;width:1px;background:var(--line);margin:0 8px}.text-button{padding:4px 0;display:inline-flex;gap:7px;align-items:center;font-size:11px;color:#7f906c}.text-button:hover:not(:disabled){background:transparent;color:#435f2b}.text-button svg{width:14px;height:14px}.history-actions>.text-button{margin-left:8px}.workspace{display:flex;flex:1;min-height:0;position:relative}.tools-panel{width:59px;flex-shrink:0;border-right:1px solid var(--line);background:var(--panel);padding:11px 9px;display:flex;flex-direction:column;align-items:center;gap:9px;overflow:auto;scrollbar-width:none}.tools{display:flex;flex-direction:column;gap:4px}.tool-button{width:38px;height:36px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:6px;color:#839075;border:1px solid transparent;flex-shrink:0}.tool-button svg{height:19px;width:19px}.tool-button[aria-pressed=true]{background:#e8f3da;color:#506e35;border-color:#cdddba}.tool-divider{height:1px;margin:5px 2px;background:var(--line)}.color-tools{width:38px;height:52px;position:relative;border-top:1px solid var(--line);padding-top:12px;margin-top:1px;flex-shrink:0}.color-tools label{position:absolute;top:13px;left:0;z-index:2;line-height:0;border-radius:5px;box-shadow:0 0 0 2px var(--panel)}.color-tools .background-color{top:25px;left:12px;z-index:1}.color-tools .icon-button{position:absolute;top:6px;right:-3px;min-width:17px;width:17px;height:17px;padding:2px;z-index:3}.color-tools .icon-button svg{width:12px;height:12px}.reset-colors{height:14px;width:38px;display:flex;padding:2px;position:relative;flex-shrink:0}.reset-colors i{width:8px;height:8px;background:#344528;border:1px solid #344528;z-index:1}.reset-colors i+i{background:white;position:absolute;left:6px;top:6px;z-index:0}.tools-bottom{margin-top:auto;padding-top:14px;color:#b1bf9e;font-size:23px}.canvas-panel{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:#f0f1ed}.document-tab{display:flex;align-items:center;gap:9px;min-height:39px;padding:0 20px;border-bottom:1px solid #e0e3da;font-size:11px;color:#78896a;background:#f6f7f2;flex-shrink:0}.document-tab>span[data-icon] svg{width:14px;height:14px}.document-tab #documentMeta{color:#a0aa96;font-size:10px}.document-tab #fitButton{margin-left:auto;font-size:10px;gap:8px}.tab-dot{height:5px;width:5px;border-radius:50%;background:#9eaf87}.viewport{flex:1;min-height:0;position:relative;overflow:hidden;background-color:#eceee7;background-image:radial-gradient(#cdd3c4 0.6px,transparent 0.6px);background-size:16px 16px;touch-action:none}.document-wrap{position:absolute;left:0;top:0;transform-origin:0 0;box-shadow:0 8px 38px #283c1e1a,0 0 0 1px #34452810;background-color:#fff;background-image:conic-gradient(#e5e8df 25%,transparent 0 50%,#e5e8df 0 75%,transparent 0);background-size:20px 20px}.document-wrap canvas{display:block;position:absolute;inset:0;width:100%;height:100%}#interaction{touch-action:none;outline:none}.ruler{position:absolute;z-index:2;pointer-events:none;font-size:8px;color:#a0aa95;background:#f4f5efe8}.top-ruler{left:18px;right:0;top:0;height:18px;border-bottom:1px solid #dfe3d7}.left-ruler{left:0;top:18px;bottom:0;width:18px;border-right:1px solid #dfe3d7}.ruler span{position:absolute}.top-ruler span{top:3px;border-left:1px solid #cdd5c3;height:14px;padding-left:4px}.left-ruler span{left:3px;writing-mode:vertical-rl;border-top:1px solid #cdd5c3;width:14px;padding-top:4px}.canvas-footer{height:35px;flex-shrink:0;display:flex;align-items:center;padding:0 15px;font-size:10px;color:#8d9a80;border-top:1px solid #dfe3d8;background:#f6f7f2;gap:20px}.zoom-controls{margin-left:auto;display:flex;align-items:center;gap:5px}.zoom-controls button{color:#7c8c6a;font-size:10px;min-width:26px;height:26px;border-radius:4px}#zoomLabel{min-width:48px;font-variant-numeric:tabular-nums}#cursorInfo{font-variant-numeric:tabular-nums}.right-panel{width:284px;flex-shrink:0;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.panel-tabs{display:flex;align-items:stretch;border-bottom:1px solid var(--line);height:40px;flex-shrink:0;padding:0 17px;gap:22px}.panel-tabs>button:not(.icon-button){font-size:11px;color:#99a28e;border-bottom:2px solid transparent;padding:0}.panel-tabs>button.active{border-bottom-color:#98bb74;color:#5f764d}.panel-tabs .icon-button{display:none;margin-left:auto;align-self:center}.properties-scroll{overflow:auto;flex:1;min-height:100px;scrollbar-width:thin;scrollbar-color:#d5decb transparent}.panel-section{padding:19px 18px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.section-heading>span{color:#a2af95}.section-heading>span svg{width:15px;height:15px}.section-heading>div{display:flex;gap:2px}.section-heading h2{color:#485a3b;font-size:12px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px}.two-col label,.full-field{display:flex;flex-direction:column;gap:7px}.two-col input,.two-col select{width:100%}.full-field{margin-bottom:14px}.full-field>input,.full-field>select{width:100%}.input-unit{display:flex;align-items:center;background:#fcfdf9;border:1px solid #dfe5d7;border-radius:5px;padding-right:8px;font-size:10px;color:#a4ae9a}.input-unit input{border:0!important;width:100%;background:transparent!important}.document-badges{display:flex;gap:5px;margin-top:13px}.document-badges span{font-size:9px;padding:3px 7px;border-radius:4px;background:#f0f3eb;color:#929f84}.small-action{font-size:10px;margin-top:9px}.hint{font-size:11px;color:#9ba58f;line-height:1.75;margin:0 0 15px}.transform-row{margin-top:14px;align-items:end}.flip-buttons{display:flex;gap:9px;padding-bottom:3px}.flip-buttons .icon-button{border:1px solid var(--line);width:39px}.align-actions{display:flex;justify-content:space-between;margin:14px 0 0;border:1px solid var(--line);border-radius:5px;overflow:hidden}.align-actions button{height:29px;flex:1;display:flex;align-items:center;justify-content:center;color:#9aa98b}.align-actions button svg{width:15px;height:15px}.subheading{font-size:11px;font-weight:550;margin:19px 0 12px;color:#697d58}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#87987a;margin-bottom:8px}.range-label output{color:#a0ad94;font-size:10px}.full-range{display:block;width:100%;height:3px;margin:0 0 17px}.preset-row{display:flex;gap:5px;margin-top:15px}.preset-row button{font-size:9px;border:1px solid var(--line);border-radius:4px;padding:6px 5px;flex:1;color:#7b8f68}.color-field{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.color-field input{height:25px;width:60px}#textProperties .full-field{margin-top:10px}.layers-panel{flex:0 0 36%;min-height:200px;max-height:50%;display:flex;flex-direction:column;border-top:1px solid var(--line);background:#fafbf7;padding:12px 0 0}.layers-panel>.section-heading{padding:0 16px;margin-bottom:8px}.count{font-size:9px;font-weight:400;background:#eaf0e2;color:#8b9b7b;padding:2px 5px;border-radius:3px;margin-left:5px}.layer-blend{display:flex;align-items:center;gap:10px;padding:0 15px 12px}.layer-blend select{width:126px;padding:5px;font-size:10px}.layer-blend label{display:flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap}.layer-blend input{width:33px;font-size:10px!important;padding:5px 2px!important;text-align:center}.layers-list{flex:1;min-height:0;overflow:auto;border-top:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#d5decb transparent}.layer-row{display:flex;align-items:center;padding:8px 10px;gap:7px;border-bottom:1px solid #e9ede2;min-height:54px;cursor:pointer;position:relative;outline-offset:-2px}.layer-row:hover{background:#f0f5e9}.layer-row.selected{background:#eaf3df;box-shadow:inset 3px 0 #9fbf7a}.layer-row.drag-target{border-top:2px solid #91b95d}.layer-row.invisible .layer-thumb,.layer-row.invisible .layer-label{opacity:.4}.layer-thumb{width:39px;height:31px;object-fit:contain;border:1px solid #dbe4d0;border-radius:4px;background-color:#fff;background-image:conic-gradient(#e8ece1 25%,transparent 0 50%,#e8ece1 0 75%,transparent 0);background-size:10px 10px;flex-shrink:0}.layer-label{flex:1;min-width:0}.layer-label strong{font-size:10px;font-weight:500;color:#63794f;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layer-label small{display:block;font-size:9px;color:#a0ad93;margin-top:3px}.layer-row .icon-button{min-width:22px;width:22px;height:24px;padding:3px;flex-shrink:0}.layer-row .icon-button svg{width:13px;height:13px}.layer-row .lock-button:not(.locked){opacity:.25}.layer-row:hover .lock-button{opacity:1}.layer-row .locked{color:#749354}.layer-actions{flex-shrink:0;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:6px 14px}.layer-actions .danger{margin-left:auto}.danger:hover:not(:disabled){color:#ad796c;background:#f9ece6}.layer-actions .separator{margin:0}.empty-layers{display:flex;align-items:center;flex-direction:column;justify-content:center;height:100%;min-height:90px;color:#b0bda3;gap:6px}.empty-layers svg{width:26px;height:26px}.empty-layers p{font-size:10px;margin:6px}.panel-footer{font-size:9px;color:#a1ad96;display:flex;align-items:center;gap:6px;padding:10px 18px;background:#fafbf7;border-top:1px solid var(--line);flex-shrink:0}.panel-footer .live-dot{width:4px;height:4px}.history-panel{padding:18px;overflow:auto;flex:1;min-height:100px}.history-entry{display:flex;align-items:center;gap:9px;font-size:11px;padding:10px 8px;border-radius:5px;width:100%;text-align:left;color:#8c9b7e;margin-bottom:3px}.history-entry.current{background:#eaf3df;color:#526c3a}.history-entry.future{opacity:.4}.history-entry span{font-size:9px;width:20px;color:#afba9f}.show-panel{position:absolute;right:12px;top:48px;background:var(--green);box-shadow:0 2px 7px #0001;z-index:5}.workspace.panel-hidden .right-panel{display:none}.workspace.panel-hidden .show-panel{display:flex!important}.welcome{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;overflow:auto;background:#f0f1ed}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#919e83}.welcome>.eyebrow{margin-bottom:30px}.welcome-art{width:175px;height:126px;position:relative;margin-bottom:24px;flex-shrink:0}.art-card{width:128px;height:94px;position:absolute;top:17px;left:22px;border-radius:9px;overflow:hidden}.art-card.back{background:#dde6d1;border:1px solid #cbd8bb;transform:rotate(10deg);top:7px;left:31px}.art-card.front{background:#c6e79b;transform:rotate(-8deg);box-shadow:0 7px 15px #3b592319;display:flex;align-items:end}.art-card svg{width:100%;height:94px}.spark{position:absolute;color:#a2b788}.spark.one{left:-7px;top:3px;font-size:26px}.spark.two{right:-2px;bottom:15px;font-size:21px}.art-pencil{background:#f9fbf4;position:absolute;right:8px;bottom:5px;width:38px;height:38px;border:1px solid #d8e1cc;border-radius:10px;transform:rotate(10deg);color:#829e67;box-shadow:0 2px 6px #31451e0a}.welcome h1{font-family:Manrope,Arial,sans-serif;font-size:29px;line-height:1.38;letter-spacing:-1.2px;margin:0 0 14px;font-weight:750;color:#3e5130}.welcome h1 span{color:#909e82;font-weight:500}.welcome>p{font-size:12px;line-height:1.9;color:#9aa58f;margin:0 0 25px}.welcome-actions{display:flex;gap:10px}.welcome-actions .button{padding:12px 17px;font-size:11px}.demo-button{font-size:10px;color:#94a286;margin-top:21px}.demo-button span{margin-left:7px}.privacy-note{display:flex;align-items:center;gap:7px;font-size:9px;color:#a3ad98;margin-top:45px}.privacy-note .live-dot{width:4px;height:4px}.drop-overlay{position:absolute;inset:15px;border:2px dashed #8db465;border-radius:10px;background:#eff7e5ee;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#6d8954;font-size:12px;pointer-events:none}.drop-overlay svg{width:38px;height:38px}.drop-overlay strong{font-size:22px}.drop-overlay>span:last-child{color:#94a783}dialog{border:1px solid #d5dfc6;border-radius:14px;padding:30px;background:#f9fbf5;color:#3d5030;width:520px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 25px 100px #26331a33}dialog::backdrop{background:#26301de0;backdrop-filter:blur(5px)}dialog h2{font-family:Manrope,Arial,sans-serif;font-size:23px;font-weight:650;letter-spacing:-.8px;line-height:1.3}dialog p{font-size:12px;color:#93a182;line-height:1.8;margin:15px 0 23px}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.dialog-heading .eyebrow{display:block;margin-bottom:11px}.dialog-heading .icon-button{margin:-8px -10px 0 0;flex-shrink:0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:27px}.dialog-actions .button{font-size:11px}.format-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0}.format-presets button{border:1px solid #dce5d2;border-radius:7px;background:#fff;padding:15px 5px 11px;display:flex;align-items:center;flex-direction:column;font-size:10px;gap:9px;color:#82966f}.format-presets button.selected{border-color:#9cbb7d;background:#eef6e4;color:#5d7846}.format-presets small{font-size:8px;color:#a0ad93}.format-presets svg{width:24px;height:24px}.format-presets [data-icon=portrait] svg{width:16px;height:24px}.format-presets [data-icon=landscape] svg{width:28px;height:24px}dialog .two-col{margin-bottom:16px}dialog .full-field{margin:16px 0}dialog input:not([type=range]):not([type=color]),dialog select{background:white;padding:10px}#helpDialog{width:620px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}.help-grid strong{font-size:12px;color:#617b4b}.help-grid p{font-size:11px;margin:8px 0 10px}.shortcut-list{display:grid;grid-template-columns:1fr 1fr;gap:13px 25px;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.shortcut-list>span{font-size:10px;color:#92a080;display:flex;align-items:center;justify-content:space-between;gap:6px}kbd{font-family:inherit;font-size:9px;background:#f0f4e9;border:1px solid #dfe5d6;border-radius:3px;padding:3px 5px;color:#7b9168;white-space:nowrap}.toast{position:fixed;bottom:45px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#344528;color:#f1f8e8;border:1px solid #556b42;border-radius:8px;font-size:12px;z-index:30;box-shadow:0 5px 25px #0002;max-width:90vw;pointer-events:none;line-height:1.6}.recovery-icon{width:48px;height:48px;background:#e3f1d2;border-radius:12px;margin-bottom:20px;color:#7b9c5d}.recovery-icon svg{width:26px;height:26px}
@media(min-width:1600px){.right-panel{width:310px}.panel-section{padding:22px}.welcome h1{font-size:34px}}
@media(max-width:1200px){.editor-top{gap:18px;padding:0 16px}.project-info{padding-left:18px}.project-info input{width:155px}.local-label{display:none}.header-actions{gap:7px}.header-actions .button{padding:9px 10px}.right-panel{width:260px}.tool-options{gap:10px}.tool-name{min-width:125px}.tool-options input[type=range]{width:55px}.options-bar{gap:12px}.export-detail{display:none}.layer-blend{gap:6px;padding-left:12px;padding-right:12px}.layer-blend select{width:112px}.welcome h1{font-size:26px}}
@media(max-width:1000px){.action-label{display:none}.editor-top{gap:15px}.project-info{flex:1}.project-info input{width:100%;max-width:190px}.header-actions .button:not(.primary){width:34px;padding:9px 0}.tool-name{min-width:auto}.tool-name strong{display:none}.tool-options #toolHint{font-size:10px}.history-actions .text-button span:not([data-icon]){display:none}.history-actions .separator{margin:0 4px}.welcome{padding:18px}.welcome-actions{gap:7px;flex-direction:column}.welcome h1{font-size:23px}.privacy-note{font-size:8px;margin-top:30px}.welcome>.eyebrow{font-size:8px}}
@media(max-width:760px){.right-panel{display:none;position:absolute;right:0;top:0;bottom:0;width:275px;z-index:8;box-shadow:-12px 0 35px #25311a18}.workspace.mobile-panel .right-panel{display:flex}.panel-tabs .icon-button{display:flex}.show-panel{display:flex!important}.editor-top{flex-basis:60px;padding:0 12px;gap:12px}.brand{font-size:23px}.brand-icon{width:26px;height:26px;margin-right:6px}.brand-icon svg{width:18px;height:18px}.project-info{padding-left:12px}.header-actions{gap:5px}.header-actions .button{font-size:10px;padding:9px}.header-actions #newButton,.header-actions #openButton,.help-button{display:none}.options-bar{padding:0 10px;gap:10px;flex-basis:45px}.tool-options #toolHint{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}.tool-options{gap:8px;overflow:auto;scrollbar-width:none}.tool-options label{font-size:10px}.tool-options #opacityOption{display:none}.history-actions .text-button{margin:0}.tool-name{display:none}.tools-panel{width:49px;padding:10px 5px}.tool-button{width:35px;height:34px}.tools{gap:3px}.document-tab{padding:0 12px;font-size:10px;gap:6px}.document-tab #fitButton{font-size:0}.document-tab #fitButton svg{width:16px;height:16px}.document-tab #documentMeta{font-size:9px}.canvas-footer{padding:0 8px;font-size:9px;gap:5px}#cursorInfo{display:none}.welcome h1{font-size:25px}.welcome-actions{flex-direction:row}.welcome>.eyebrow{font-size:9px}.welcome-art{transform:scale(.9);margin-bottom:15px}.welcome>p{font-size:11px}.privacy-note{font-size:8px;max-width:230px;line-height:1.7}.workspace.panel-hidden .right-panel{display:none}}
@media(max-width:480px){.editor-top{flex-wrap:wrap;flex-basis:90px;gap:4px 10px;padding:10px 12px}.brand{margin-right:auto}.project-info{order:3;flex-basis:100%;padding:0;border:0;gap:8px}.project-info input{max-width:none;padding:2px 0!important;font-size:11px!important}.project-info .live-dot{width:4px;height:4px}.local-label{display:inline;font-size:8px}.header-actions .button.primary{padding:8px 10px}.welcome{padding:20px 12px}.welcome h1{font-size:22px}.welcome-actions{flex-direction:column}.welcome-actions .button{padding:10px 14px;font-size:10px}.welcome>.eyebrow{margin-bottom:13px;font-size:7px}.welcome-art{margin-bottom:5px;height:115px}.welcome>p{font-size:10px;margin-bottom:20px}.privacy-note{margin-top:24px}.demo-button{margin-top:15px;font-size:9px}.options-bar .tool-options #toolHint{max-width:190px}.canvas-footer #documentInfo{max-width:130px;overflow:hidden;white-space:nowrap}.help-grid{grid-template-columns:1fr}.shortcut-list{gap:12px}dialog{padding:24px}dialog h2{font-size:21px}.dialog-actions{flex-wrap:wrap}.format-presets{gap:5px}.format-presets small{font-size:7px}}
@media(max-height:760px){.tools-panel{gap:5px;padding-top:8px}.tools{gap:1px}.tool-button{height:31px}.tools-bottom{display:none}.welcome>.eyebrow{margin-bottom:17px}.welcome-art{margin-bottom:12px}.privacy-note{margin-top:25px}.layers-panel{min-height:185px}.panel-section{padding-top:16px;padding-bottom:16px}}
@media(max-height:600px){.tools{gap:0}.tool-button{height:28px}.tools-panel{padding-top:5px}.tool-divider{margin:2px}.color-tools{margin-top:0}.welcome-art{display:none}.welcome>.eyebrow{margin-bottom:16px}.welcome h1{font-size:24px}.welcome>p{margin-bottom:16px}.privacy-note{margin-top:20px}.demo-button{margin-top:16px}.layers-panel{min-height:180px;flex-basis:45%}}
/* Lucide: same local SVG symbols and 1.8 stroke as Tinycut. */
.app-icon{flex:0 0 auto;vertical-align:middle;pointer-events:none}
.help-button{border:0;min-width:26px;width:26px;height:26px;padding:3px}
.help-button .app-icon{width:18px;height:18px}
.tools-bottom .app-icon{width:23px;height:23px}
.spark.one .app-icon{width:26px;height:26px}
.spark.two .app-icon{width:20px;height:20px}
.demo-button{display:inline-flex;align-items:center;gap:7px}
.demo-button span{margin-left:0}
.demo-button .app-icon{width:12px;height:12px}

/* The transformation overlay covers the viewport so edge handles stay visible outside the document. */
#interaction{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline:none}

.selection-toolbar{display:flex;align-items:center;gap:8px;padding:0 15px 10px;min-width:0;flex-shrink:0}
.selection-toolbar .text-button{font-size:9px;white-space:nowrap;padding:4px 5px;border:1px solid transparent;border-radius:4px}
.selection-toolbar .text-button[aria-pressed=true]{background:#e8f3da;border-color:#cdddba;color:#506e35}
.selection-toolbar .app-icon{width:12px;height:12px}
#selectionSummary{font-size:9px;color:#8c9e7d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:auto}
.group-transform-hint{margin-top:18px;margin-bottom:0;font-size:10px}
/* Contextual properties stay in the top options bar, with horizontal scrolling
   on narrow screens rather than reducing the workspace height. */
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.options-bar{flex-basis:52px;min-width:0}
.tool-options{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#d6e2ca transparent;min-height:42px;padding:3px 0}
.context-controls{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:max-content}
.context-group{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.context-group label{display:inline-flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap}
.context-group label>span:not(.sr-only):not(.mixed-marker){font-size:9px;color:#9daa91}
.context-group input[type=number]{width:49px;padding:6px 5px;font-size:11px;height:28px}
.context-group select{font-size:11px;height:28px;padding:4px 6px}
.context-controls .context-font{width:117px}
.context-controls .context-weight{width:87px}
.context-controls .context-color input{width:25px;height:25px}
.context-color{position:relative}
.context-color .mixed-marker{position:absolute;top:25px;right:0;font-size:7px;color:#9baa8c;background:#fff;line-height:8px}
.context-geometry{gap:7px}
.context-geometry input[type=number]{width:53px}
#contextRotation{width:43px}
#contextOpacity{width:38px}
.context-separator{width:1px;height:22px;background:var(--line);flex:0 0 auto}
.context-layout{gap:6px}
#alignmentReference{width:91px}
.layout-buttons{display:flex;align-items:center;gap:1px}
.layout-buttons .icon-button{width:26px;min-width:26px;height:28px;padding:5px}
.layout-buttons .app-icon{width:15px;height:15px}
.distribution-buttons{border-left:1px solid var(--line);padding-left:5px}
.options-bar.has-context .tool-name{min-width:110px}
.options-bar.has-context .history-actions .text-button>span:not([data-icon]){display:none}
.options-bar.has-context .history-actions .text-button{padding:5px;margin-left:0}
.options-bar.has-context .tool-options{flex-wrap:nowrap}
.context-controls:disabled{opacity:.5}
@media(max-width:1200px){.options-bar.has-context .tool-name{min-width:85px}.options-bar.has-context .context-controls{gap:8px}.options-bar.has-context .context-group{gap:6px}}
@media(max-width:1000px){.options-bar.has-context .tool-name{min-width:auto}.options-bar.has-context .tool-name strong{display:none}}
@media(max-width:760px){.options-bar{flex-basis:49px}.tool-options{min-height:40px}.context-controls{gap:9px}.context-group label{font-size:10px}.tool-options .context-group select{font-size:11px;padding:4px 6px}.context-controls .context-font{width:112px}.history-actions .separator{display:none}.history-actions{gap:1px}}
.context-controls{position:relative}
.sr-only{left:0;top:0}
/* Independent paints and the gradient editor share the editor's local palette. */
.paint-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe5d7;border-radius:5px;background:#fcfdf9;height:28px;padding:4px 7px;font-size:10px;color:#7b8f69;white-space:nowrap}
.paint-swatch{display:inline-block;position:relative;width:31px;height:18px;border:1px solid #9cae8b55;border-radius:3px;background-color:#fff;background-image:conic-gradient(#e2e7da 25%,transparent 0 50%,#e2e7da 0 75%,transparent 0);background-size:8px 8px;overflow:hidden;flex-shrink:0}
.paint-swatch::after{content:'';position:absolute;inset:0;background:var(--paint-preview,transparent)}
.paint-swatch.mixed::before{content:'≠';position:absolute;inset:0;display:grid;place-items:center;color:#344528;background:#ffffffb0;font-size:14px;z-index:1}
#contextStrokePattern{width:100px}
.shape-paint-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0;color:#869779;font-size:11px}
.shape-paint-row .paint-button{min-width:115px;justify-content:flex-start}
#shapeProperties .two-col{margin-top:14px}


.paint-modes{display:flex;gap:5px;padding:4px;background:#edf2e6;border-radius:7px;margin-bottom:17px}
.paint-modes button{flex:1;padding:8px 10px;border-radius:5px;color:#899a79;font-size:11px}
.paint-modes button[aria-pressed=true]{background:white;color:#536e3d;box-shadow:0 1px 4px #27391a12}
.checker{background-color:#fff;background-image:conic-gradient(#e6ebdf 25%,transparent 0 50%,#e6ebdf 0 75%,transparent 0);background-size:12px 12px}
.paint-preview{border:1px solid #dbe3d2;border-radius:7px;overflow:hidden;margin:0 0 17px;line-height:0}
.paint-preview canvas{display:block;width:100%;height:140px}
.solid-paint-fields{display:flex;align-items:end;gap:14px;margin-top:20px}
.solid-paint-fields label{display:flex;flex-direction:column;gap:7px}

.solid-paint-fields input[type=text]{width:140px}
.gradient-presets{display:flex;gap:8px;margin:14px 0 17px}
.gradient-preset{flex:1;height:24px;border:1px solid #8fa67855;border-radius:4px;box-shadow:inset 0 0 0 1px #fff4}
.gradient-preset:focus-visible{outline-offset:3px}
.gradient-settings{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:9px;margin:17px 0 19px}
.gradient-settings label,.gradient-stop-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:10px}

.gradient-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.gradient-heading strong{font-size:11px;font-weight:550;color:#70865d}
.gradient-heading .text-button{font-size:10px}
.gradient-ramp{height:54px;position:relative;margin:0 8px;touch-action:none;user-select:none}
.gradient-track{height:30px;border:1px solid #cdd9c0;border-radius:4px;cursor:copy;overflow:hidden;position:relative}
#gradientTrackPaint{position:absolute;inset:0;pointer-events:none}
.gradient-stops{position:absolute;left:0;right:0;top:34px;height:20px}
.gradient-stop{position:absolute;top:0;transform:translateX(-50%);height:18px;width:14px;background-color:#fff;background-image:conic-gradient(#dce4d3 25%,transparent 0 50%,#dce4d3 0 75%,transparent 0);background-size:6px 6px;border:1px solid #9bab8d;border-radius:2px;padding:2px;cursor:ew-resize;z-index:1;transition:none}
.gradient-stop::before{content:'';position:absolute;left:3px;top:-5px;width:6px;height:6px;background:#9bab8d;transform:rotate(45deg);z-index:-1}
.gradient-stop::after{content:'';position:absolute;inset:2px;background:var(--stop-color);border-radius:1px}
.gradient-stop.selected{border-color:#638643;box-shadow:0 0 0 2px #badb98;z-index:2}
.gradient-stop.selected::before{background:#638643}
.gradient-stop:hover:not(:disabled){background-color:#fff}

.gradient-stop-fields{display:grid;grid-template-columns:60px 1.2fr 1fr 1fr;gap:12px;align-items:end;padding-top:13px;border-top:1px solid var(--line)}

.gradient-stop-actions{display:flex;align-items:center;gap:8px;margin-top:17px}
.gradient-stop-actions .button{font-size:10px;padding:7px 9px}
#gradientStopCount{margin-left:auto;color:#a1af93;font-size:9px;white-space:nowrap}

@media(max-width:600px){.gradient-settings{grid-template-columns:repeat(3,1fr);gap:10px}.gradient-stop-fields{gap:8px;grid-template-columns:43px 1.2fr 1fr 1fr}.gradient-stop-actions{flex-wrap:wrap}.gradient-stop-actions .button{font-size:9px;padding:7px}.paint-preview canvas{height:110px}.gradient-presets{gap:6px}.gradient-stop{width:17px;height:20px}.gradient-stop::before{left:5px}}
/* Paints are edited directly in the toolbar; advanced controls are docked. */
.context-paint{display:flex;align-items:center;gap:5px;font-size:10px;color:#7d906b;flex:0 0 auto}
.context-paint select{width:74px}
.context-paint input[type=color]{width:25px;height:25px}
.tool-options .context-paint input[type=text]{width:65px;padding:5px;font-size:10px;height:28px}
.paint-details-button{display:flex;gap:5px;width:auto;min-width:25px;padding:3px}
.paint-details-button .paint-swatch{display:none}
.gradient-paint .paint-details-button .paint-swatch{display:block}
.paint-panel{flex:0 0 auto;max-height:270px;overflow:auto;background:#f8faf4;border-bottom:1px solid #d9e3cf;padding:11px 20px 13px;scrollbar-width:thin;scrollbar-color:#cddabb transparent}
.paint-panel-header{display:flex;align-items:center;gap:17px;margin-bottom:9px}
.paint-panel-header h2{font-size:12px;color:#5e764a;flex-shrink:0}
.paint-targets{display:flex;gap:3px;background:#eaf0e2;border-radius:5px;padding:3px}
.paint-targets button{padding:5px 10px;border-radius:3px;color:#8b9c7b;font-size:10px}
.paint-targets button[aria-pressed=true]{background:#fff;color:#4f6b38;box-shadow:0 1px 3px #3445280c}
.paint-immediate-note{font-size:9px;color:#9aa98c}
.paint-panel-header>.icon-button{margin-left:auto}
.paint-editor-fields{min-width:0}
.paint-panel .paint-modes{width:290px;margin:0 0 10px;padding:2px}
.paint-panel .paint-modes button{font-size:10px;padding:5px}
.paint-panel-body{display:grid;grid-template-columns:165px minmax(0,1fr);gap:19px;align-items:start}
.paint-panel .paint-preview{margin:0;grid-column:1;grid-row:1;align-self:stretch;max-height:135px}
.paint-panel .paint-preview canvas{width:100%;height:100%;min-height:75px;max-height:130px}
.paint-panel #solidPaintControls{grid-column:2}
.paint-panel .solid-paint-fields{margin:0;align-items:end}
.paint-panel .solid-paint-fields label{font-size:10px}
.paint-panel input[type=color]{height:30px;width:40px}
.paint-panel input:not([type=color]),.paint-panel select{padding:6px;font-size:11px}
.paint-panel .solid-paint-fields input[type=text]{width:110px;height:30px}
.paint-panel #gradientControls{display:grid;grid-template-columns:minmax(200px,1fr) minmax(300px,1.3fr);gap:9px 22px;grid-column:2;min-width:0}
.paint-panel .gradient-presets{margin:0;gap:6px;align-self:center}
.paint-panel .gradient-preset{height:22px}
.paint-panel .gradient-settings{margin:0;gap:7px;grid-template-columns:1.25fr repeat(4,1fr)}
.paint-panel .gradient-settings label,.paint-panel .gradient-stop-fields label{font-size:9px;gap:4px}
.paint-panel .gradient-settings input,.paint-panel .gradient-settings select{width:100%;height:27px}
.paint-panel .gradient-heading{margin:0 0 5px}
.paint-panel .gradient-heading strong{font-size:10px}
.paint-panel .gradient-ramp{height:43px;margin:0 8px}
.paint-panel .gradient-track{height:22px}
.paint-panel .gradient-stops{top:26px}
.paint-panel .gradient-stop{height:15px;width:13px}
.paint-panel .gradient-tip{font-size:8px;margin:4px 0 0;color:#98a78a}
.paint-panel .gradient-stop-fields{padding:0;border:0;grid-template-columns:42px 1.3fr 1fr 1fr;gap:8px}
.paint-panel .gradient-stop-fields input:not([type=color]){width:100%;height:29px}
.paint-panel .gradient-stop-fields input[type=color]{height:29px;width:39px}
.paint-panel .gradient-stop-actions{margin-top:8px;gap:6px}
.paint-panel .gradient-stop-actions .button{font-size:9px;padding:5px 7px}
.paint-panel .gradient-heading .text-button{font-size:9px}
@media(max-width:1100px){.paint-panel-body{grid-template-columns:120px minmax(0,1fr);gap:14px}.paint-panel #gradientControls{grid-template-columns:minmax(180px,1fr) minmax(270px,1.1fr);gap:9px 14px}.paint-immediate-note{display:none}}
@media(max-width:760px){.paint-panel{padding:10px 12px;max-height:35dvh}.paint-panel-header{gap:9px}.paint-panel-body{display:block}.paint-panel .paint-preview{display:none}.paint-panel #gradientControls{grid-template-columns:minmax(0,1fr);gap:12px}.paint-panel .gradient-settings{grid-template-columns:1.25fr repeat(4,1fr)}.paint-panel .gradient-rail{grid-row:3}.paint-panel .gradient-stop{width:17px;height:18px}.paint-panel .paint-modes{width:100%;max-width:340px}.paint-panel .gradient-stop-actions{flex-wrap:wrap}.paint-panel .solid-paint-fields{margin:3px 0 2px}}
/* Compact paint popover, anchored to its fill/stroke swatch. */
.paint-trigger{height:29px;padding:4px 7px}
.paint-trigger[aria-expanded=true]{background:#e8f3da;border-color:#b7ce9f;color:#516f39}
.paint-trigger .paint-swatch{width:31px;height:19px}
.paint-panel.paint-popover{position:fixed;z-index:25;width:304px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;background:#fafcf6;border:1px solid #d6e0ca;border-radius:9px;box-shadow:0 8px 32px #283c1e26;overflow:auto;overscroll-behavior:contain;outline:none}
.paint-popover .paint-panel-header{gap:7px;margin:0 0 10px}
.paint-popover .paint-panel-header h2{font-size:12px;flex:1}
.paint-popover .paint-targets,.paint-popover .paint-immediate-note{display:none}
.paint-popover .paint-panel-header>.icon-button{width:23px;height:23px;min-width:23px;margin:0;padding:4px}
.paint-popover .paint-modes{width:100%;margin:0 0 11px;max-width:none}
.paint-popover .paint-modes button{font-size:10px;padding:6px 4px}
.paint-popover .paint-panel-body{display:block}
.paint-popover .paint-preview{display:none}
.paint-popover #gradientControls{display:flex;flex-direction:column;gap:10px;min-width:0}
.paint-popover .gradient-presets{width:100%;gap:5px;margin:0}
.paint-popover .gradient-preset{height:18px}
.paint-popover .gradient-settings{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:7px;margin:0}
.paint-popover .gradient-settings input,.paint-popover .gradient-settings select{width:100%;height:28px}
.paint-popover .gradient-more{font-size:10px;color:#8a9a79}
.paint-popover .gradient-more summary{cursor:pointer;font-size:9px;user-select:none}
.paint-popover .gradient-more>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.paint-popover .gradient-more label{display:flex;flex-direction:column;gap:5px;font-size:9px}
.paint-popover .gradient-more input{width:100%;height:27px}
.paint-popover .gradient-rail{grid-row:auto}
.paint-popover .gradient-ramp{margin:0 7px;height:45px}
.paint-popover .gradient-heading{margin-bottom:7px}
.paint-popover .gradient-tip{display:none}
.paint-popover .gradient-stop-fields{grid-template-columns:31px 1.3fr .9fr .9fr;gap:6px}
.paint-popover .gradient-stop-fields label{font-size:8px}
.paint-popover .gradient-stop-fields input:not([type=color]){font-size:10px;height:28px;padding:4px;width:100%}
.paint-popover .gradient-stop-fields input[type=color]{height:28px;width:30px}
.paint-popover .gradient-stop-actions{gap:5px;flex-wrap:wrap;margin-top:10px}
.paint-popover .gradient-stop-actions .button{font-size:8px;padding:5px 6px;gap:4px}
.paint-popover .gradient-stop-actions .app-icon{width:11px;height:11px}
.paint-popover #gradientStopCount{font-size:8px;flex:1;text-align:right}
.paint-popover .solid-paint-fields{margin:11px 0 0;gap:10px}
.paint-popover .solid-paint-fields input[type=text]{width:128px}
.paint-popover .solid-paint-fields input[type=color]{width:42px;height:30px}
.solid-color-presets{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;padding:2px}
.solid-color-preset{height:23px;border:1px solid #85957250;border-radius:4px;box-shadow:inset 0 0 0 1px #fff2}
.solid-color-preset:hover:not(:disabled){outline:2px solid #9fbe7f;outline-offset:1px}
@media(max-width:600px){.paint-panel.paint-popover{width:296px;padding:11px}.paint-popover .gradient-stop{width:16px;height:18px}}
.context-menu{position:fixed;z-index:45;width:263px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;background:#fbfdf8;border:1px solid #d6e0cd;border-radius:8px;padding:5px;box-shadow:0 8px 30px #293d2029;scrollbar-width:thin;scrollbar-color:#d1ddc7 transparent;outline:none}
.context-menu-title{padding:7px 9px 8px;color:#99a98b;font-size:9px;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;user-select:none}
.context-menu-item{display:flex;align-items:center;gap:9px;width:100%;min-height:30px;padding:6px 8px;border-radius:4px;color:#687f55;text-align:left;font-size:11px;white-space:nowrap}
.context-menu-item:hover:not(:disabled),.context-menu-item:focus-visible{background:#e9f3dd;color:#496732;outline:none}
.context-menu-item:disabled{opacity:.35;cursor:default}
.context-menu-item.danger{color:#aa776c}
.context-menu-item.danger:hover:not(:disabled){background:#f6eae4;color:#a15c4e}
.context-menu-icon{display:flex;align-items:center;justify-content:center;width:17px;flex:0 0 17px;color:#94a681}
.context-menu-icon .app-icon{width:15px;height:15px}
.context-menu-label{overflow:hidden;text-overflow:ellipsis;flex:1}
.context-menu-shortcut{font-size:9px;color:#a3b197;margin-left:9px}
.context-menu-arrow{font-size:17px;line-height:12px;color:#9bac8e;margin-left:5px}
.context-menu-check{font-size:11px;color:#719951}
.context-menu-divider{height:1px;background:#e4eadb;margin:4px 6px}
.context-submenu{width:247px}
@media(max-width:600px){.context-menu-item{min-height:34px;font-size:11px}.context-menu{width:256px}.context-submenu{width:238px}}
/* Object list: each drawing gesture, shape, text and image is independent. */
.object-row{min-height:54px}
.object-row .layer-label strong{font-size:11px;font-weight:550}
.object-row .layer-label small{font-size:9px;color:#92a180}
.empty-layers p{line-height:1.8;text-align:center}
.object-kind{display:flex!important;align-items:center;gap:4px}
.object-kind>span{display:inline-flex;color:#96a687}
.object-kind .app-icon{width:11px;height:11px}
.layers-panel{flex-basis:45%;min-height:230px;max-height:60%}
@media(max-height:650px){.layers-panel{min-height:190px;flex-basis:48%}}

.document-background{display:flex;align-items:flex-end;gap:8px;margin:12px 0}.document-background label{flex:1;min-width:0}.document-background select{width:100%;margin-top:6px}.document-background .paint-button{height:34px;display:flex;align-items:center;gap:8px;padding:6px 9px}

.pen-options{display:flex;gap:12px;align-items:center;flex-shrink:0}.pen-options .text-button{font-size:11px}.tools-panel .tools{overflow-y:auto;min-height:0;scrollbar-width:thin}
/* Searchable Google Fonts picker, shared by the toolbar and text properties. */
.font-picker-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;height:29px;padding:5px 7px;border:1px solid #dfe5d7;border-radius:5px;background:#fcfdf9;color:#526544;font-size:11px;text-align:left}
.font-picker-trigger .font-picker-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.font-picker-trigger .app-icon{width:12px;height:12px}.full-field>.font-picker-trigger{width:100%;height:34px}
.font-picker{position:fixed;z-index:40;display:flex;flex-direction:column;width:360px;max-width:calc(100vw - 16px);max-height:470px;background:#fafcf6;border:1px solid #d6e0ca;border-radius:9px;padding:12px;box-shadow:0 8px 32px #283c1e26;overflow:hidden;color:#526544}
.font-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.font-picker-heading h2{font-size:12px}.font-picker #fontSearch{width:100%;font-size:12px;flex-shrink:0}.font-picker-filters{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:9px 0}.font-picker-filters select{font-size:10px;max-width:170px;padding:5px}.font-picker-filters>span{font-size:9px;color:#8b9b7b;text-align:right}
.font-picker-results{overflow-y:auto;min-height:50px;max-height:300px;flex:1;scrollbar-width:thin;scrollbar-color:#d5decb transparent;overscroll-behavior:contain}.font-result{width:100%;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border-radius:5px;padding:8px;color:#3e5130}.font-result-name{font-size:18px;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.font-result-category{font-size:8px;color:#8b9b7b;flex-shrink:0}.font-result[aria-selected=true]{background:#eaf3df;box-shadow:inset 3px 0 #9fbf7a}.font-result:focus-visible{outline-offset:-2px}.font-picker #fontMore{justify-content:center;margin-top:7px;font-size:10px;flex-shrink:0}.font-picker #fontEmpty{margin:12px 0;text-align:center}.font-picker #fontPickerStatus{font-size:10px;line-height:1.6;margin:7px 0 0;flex-shrink:0}.font-picker #fontPickerStatus:empty{display:none}
.layer-actions{gap:5px;padding:6px 9px}
.layer-row.grouped .layer-label strong::before{content:'•';color:#80a65b;margin-right:5px}
.snap-toggle{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;color:#70845e}.snap-toggle input{accent-color:#91b766}
.group-row{display:flex;align-items:center;gap:3px;min-height:31px;padding:3px 9px;border-bottom:1px solid #dce6d4;background:#edf4e7;color:#5c7749}.group-row.editing{background:#dceecb}.group-row .icon-button{min-width:22px;width:22px;height:22px;padding:3px}.group-row .icon-button svg{width:13px;height:13px}.group-title{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650}.group-row+.layer-row.grouped,.group-row~.layer-row.grouped{padding-left:18px}
.group-row.selected{background:#eaf3df;box-shadow:inset 3px 0 #9fbf7a}.group-row.editing{background:#dceecb}.group-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;flex-shrink:0;color:#739650}.group-icon svg{width:15px;height:15px}.group-title{min-height:27px;padding:5px 2px}
.layers-panel{flex-basis:55%;min-height:280px;max-height:72%}@media(max-height:650px){.layers-panel{flex-basis:60%;min-height:230px}}

/* Secondary panels open next to the rail, leaving Properties and Objects visible. */
.utility-rail{width:42px;flex:0 0 42px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 4px;background:#f8faf4;border-left:1px solid var(--line);border-right:1px solid var(--line)}.utility-rail .icon-button{width:33px;height:33px;color:#849775}.utility-rail .icon-button svg{width:18px;height:18px}.utility-rail .icon-button.active{background:#e6f1d9;color:#52763b;box-shadow:inset 3px 0 #9fc27b}
.sidebar-heading{height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 17px;border-bottom:1px solid var(--line);color:#536c40}.sidebar-heading h2{font-size:11px;font-weight:650}.sidebar-heading .icon-button{display:none}
.utility-popover{position:absolute;right:326px;top:12px;z-index:11;width:300px;height:min(430px,calc(100% - 24px));display:flex;flex-direction:column;overflow:hidden;background:#fbfcf8;border:1px solid #d9e3ce;border-radius:9px;box-shadow:0 12px 38px #263a1e29}.utility-popover-heading{height:43px;flex:0 0 43px;display:flex;align-items:center;justify-content:space-between;padding:0 13px 0 17px;border-bottom:1px solid var(--line)}.utility-popover-heading h2{font-size:12px;color:#526d3e}.utility-popover .history-panel{flex:1;min-height:0;padding:13px;overflow:auto}
.layers-panel{flex-basis:46%;min-height:220px;max-height:65%}@media(max-height:650px){.layers-panel{flex-basis:50%;min-height:185px}}
@media(max-width:760px){.utility-rail{position:absolute;top:0;right:0;bottom:0;z-index:9}.workspace.mobile-panel .utility-rail{display:none}.sidebar-heading .icon-button{display:inline-flex}.utility-popover{right:48px;top:8px;width:min(300px,calc(100vw - 100px));height:min(430px,calc(100% - 16px))}}

.snap-toggle{order:2;flex:0 0 auto;margin-left:auto}
.drawing-color{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-size:10px;color:#70845e}.drawing-color input[type=color]{width:27px;height:25px;border:1px solid #cfdcc3;border-radius:5px;background:#fcfdf9;padding:2px}
.rectangle-properties{margin-top:12px}.rectangle-properties label{display:flex;flex-direction:column;gap:7px}.rectangle-properties .input-unit{max-width:112px}
