/* Jiajia Pindou — cream studio, with locally bundled daisyUI components. */
:root,[data-theme="jiajia"]{color-scheme:light;--color-base-100:#ffffff;--color-base-200:#fffcf5;--color-base-300:#eee8db;--color-base-content:#514b42;--color-primary:#f5d77c;--color-primary-content:#514024;--color-secondary:#f7ddd8;--color-secondary-content:#774d48;--color-accent:#dcebdc;--color-accent-content:#3d6347;--color-neutral:#605749;--color-neutral-content:#fffdf7;--color-info:#e1edf5;--color-info-content:#375c77;--color-success:#dcebdc;--color-success-content:#3d6347;--color-warning:#f5d77c;--color-warning-content:#514024;--color-error:#f8dddd;--color-error-content:#913f3f;--radius-selector:.8rem;--radius-field:.8rem;--radius-box:1.3rem;--size-selector:.25rem;--size-field:.25rem;--border:1px;--depth:0;--noise:0;--muted:#817b70;--line:#eee9df;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.55;color:var(--color-base-content);background:#fffcf5}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,summary{cursor:pointer;-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#625a4b;font-size:13px;font-weight:550;box-shadow:none;transition:background .16s,transform .12s,border-color .16s}button:hover{background:#fff8e5;border-color:#e4d6b5}button:active:not(:disabled){transform:scale(.97)}button:disabled{opacity:.42;cursor:not-allowed}button.primary,.btn-primary{background:#f5d77c;border-color:#f5d77c;color:#514024;font-weight:650}button.primary:hover{background:#edcd6d;border-color:#edcd6d}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #b6923f;outline-offset:3px}input,select{border:1px solid #e8e1d5;background:#fff;border-radius:11px;color:#514b42;padding:9px 10px;font-size:13px;min-height:40px;min-width:0}input:focus,select:focus{outline:2px solid #e6c45b88;border-color:#c7a749}input[type=range]{padding:0;width:100%;accent-color:#bb9639;min-height:30px}input[type=checkbox]{width:36px;height:22px;min-height:22px;padding:0;flex-shrink:0}input[type=number]{max-width:100%}[hidden]{display:none!important}.wide{width:100%}.ph-icon{width:20px;height:20px;display:inline-block;flex-shrink:0;vertical-align:middle;fill:currentColor}.muted,.field-note{font-size:12px;color:#817b70;line-height:1.75}.field-note{margin:9px 0}.full{margin-top:13px}
header{height:88px;display:flex;justify-content:space-between;align-items:center;padding:0 max(28px,calc((100vw - 1400px)/2));border-bottom:1px solid #eee9df;background:#fffdf9}.brand{display:flex;align-items:center;gap:12px;color:#514b42;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:1px}.brand-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:15px;background:#f5d77c;color:#6b5424;font-size:27px;font-weight:650;transform:rotate(-5deg)}.brand small{font-size:9px;display:block;letter-spacing:2.7px;margin-top:1px;color:#9a907d;font-weight:550}.header-right{display:flex;align-items:center;gap:12px;font-size:13px}.header-right button{background:transparent;border:0;color:#817b70}main{max-width:1456px;margin:auto;padding:0 28px}.hero{display:flex;align-items:center;justify-content:space-between;padding:30px 0 24px;gap:20px}.hero h1{margin:0;font-size:23px;letter-spacing:1px;font-weight:700}.hero p{font-size:13px;color:#8b8170;margin:5px 0 0}.project-actions{display:flex;gap:8px}.project-actions button{background:transparent;border-color:transparent;font-size:12px}.project-actions button:hover{background:#f5eedf}
.workflow-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:920px;margin:0 auto 28px}.workflow-nav button{display:flex;text-align:left;justify-content:flex-start;gap:13px;padding:15px 20px;min-height:80px;border:1px solid #eee8dc;border-radius:17px;background:#fffefb}.workflow-nav button b{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#f1eee7;color:#8b8274;font-size:16px}.workflow-nav button span{font-size:14px;font-weight:600}.workflow-nav small{display:block;color:#928777;font-size:11px;font-weight:400;margin-top:3px}.workflow-nav .active{background:#fff4d4;border-color:#efd58e}.workflow-nav .active b{background:#f5d77c;color:#6f551f}.workflow-nav .complete b{background:#e0eddf;color:#42694e}.workflow-nav button:disabled{opacity:.6}.workflow-title{font-size:20px;font-weight:650;margin:0 0 18px;outline:none}.workspace{display:grid;grid-template-columns:304px minmax(0,1fr);gap:22px;align-items:start}.panel{background:white;border:1px solid #eee7da;border-radius:20px;box-shadow:0 7px 24px #6d562604;min-width:0;overflow:clip}.panel-title{display:flex;align-items:center;gap:9px;min-height:65px;padding:16px 21px;border-bottom:1px solid #f2eee5;background:#fff}.panel-title h2{font-size:15px;font-weight:650;margin:0;display:flex;align-items:center;gap:9px}.panel-title h2 .ph-icon{color:#a18d63}.panel-content{padding:22px}.step{margin-left:auto;font-size:10px;letter-spacing:1.5px;color:#a69b87;background:#f8f5ed;border-radius:7px;padding:3px 7px}.workspace[data-step="1"]{display:block;max-width:720px;margin:0 auto 28px}.workspace[data-step="1"] .panel-title{display:none}.workspace[data-step="1"] .panel-content{padding:28px}.upload .drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:295px;padding:26px;border:1.5px dashed #e2d4b6;border-radius:17px;background:#fffdf7;transition:background .16s,border-color .16s}.drop.drag{border-color:#b89743;background:#fff1c9}#uploadHint{position:relative;padding:14px;text-align:center}.upload-icon{display:grid;place-items:center;width:98px;height:92px;border-radius:25px;background:#fff0c3;color:#b69643;transform:rotate(-6deg);position:relative}.upload-icon>.ph-icon{width:58px;height:58px;transform:rotate(6deg)}.upload-icon:before,.upload-icon:after{content:"";position:absolute;width:16px;height:16px;border-radius:5px;background:#e0eddf;right:-24px;top:9px;transform:rotate(17deg)}.upload-icon:after{width:12px;height:12px;background:#f4d9d5;right:auto;left:-23px;top:auto;bottom:7px}.upload-caption{display:block;font-size:15px;color:#76664c;margin-top:20px;font-weight:550}#chooseImage{width:210px;min-height:46px}#source{max-width:100%;max-height:330px;object-fit:contain;border-radius:12px;cursor:pointer}.upload-message{font-size:12px;color:#908574;line-height:1.7;text-align:center;margin:18px 0 0}.upload-message.error{color:#a34f45;background:#fff0ec;border-radius:10px;padding:10px}#fileInfo{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:15px;padding:9px 12px;background:#f7f8f1;border-radius:12px}#filename{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#clear{min-height:30px;padding:4px;border:0;background:transparent}#clear .ph-icon{width:18px;height:18px}
.controls{grid-column:1}.preview{grid-column:2;position:sticky;top:18px}.workspace[data-step="3"]{grid-template-columns:minmax(0,1fr) 290px}.workspace[data-step="3"] .preview{grid-column:1}.materials{grid-column:2}.group{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #f0ece3}.label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:600;margin-bottom:11px}.label-row small{font-size:11px;font-weight:400;color:#938773}.segments{display:flex;gap:5px;flex-wrap:wrap}.segments button{flex:1;white-space:nowrap;padding:8px 7px;font-size:12px;min-height:38px;background:#f9f7f1;border-color:transparent}.segments button.active,.segments button.selected{background:#fff0c3;color:#755b21;border-color:#ead398}.presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.presets button{font-size:11px;min-height:43px}#brands{display:grid;grid-template-columns:repeat(3,1fr)}#brands button{font-size:12px}.custom{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0}.custom select{margin-left:auto;width:102px}.custom input{width:80px}#physical{color:#877349}.source-simplify{background:#fffaf0;padding:15px;border-radius:14px;margin:0 0 20px}.source-simplify .toggle-row strong{font-size:13px;font-weight:600}.source-simplify .label-row{font-size:12px;flex-wrap:wrap}.source-simplify select{max-width:140px;font-size:12px}.source-simplify .field-note{font-size:11px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;min-height:36px}.source-simplify>.toggle-row{margin-bottom:12px}#sourceCompare{display:grid;grid-template-columns:1fr 1fr;gap:4px}#sourceCompare button{font-size:11px;padding:6px 3px;min-height:36px}#simplifyPreview{width:100%;height:130px;object-fit:contain;margin:12px 0 0;background:#f5f5f5;border-radius:12px}.advanced{padding:14px 0;border-top:1px solid #f0ece3}.advanced summary{font-size:12px;font-weight:550;color:#807461;line-height:1.6;list-style-position:inside}.advanced-content{padding-top:16px}.advanced-content>.label-row{margin-top:15px}#sizes{display:grid;grid-template-columns:repeat(5,1fr)}#sizes button{font-size:11px;padding:5px 2px;min-height:32px}#limitValue{font-size:11px;font-weight:500;background:#fff0c3;padding:3px 8px;border-radius:8px;color:#785e24}#algorithm{margin-top:8px}.effect-panel{margin-top:14px;padding:12px;background:#f8f6f0;border-radius:12px}.effect-cards{display:grid;gap:6px}.effect-card{display:grid;grid-template-columns:54px 1fr;column-gap:10px;text-align:left;padding:8px}.effect-card canvas{grid-row:1/3;width:54px;height:54px;object-fit:contain;image-rendering:pixelated}.effect-card strong{font-size:12px}.effect-card small{font-size:10px;font-weight:400;color:#8c8170}.effect-card.selected{border-color:#d7b95c;background:#fff5d8}.switch-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.pick-row{display:flex;gap:7px;margin:6px 0}.pick-row select{width:50%;font-size:11px}#signature{margin-top:8px}
.preview>.panel-title{position:sticky;top:0;z-index:3;flex-wrap:wrap}.dimension{font-size:11px;color:#8c8271;background:#f7f5ee;border-radius:7px;padding:4px 7px}.history{margin-left:auto;display:flex;align-items:center;gap:5px}.history button{min-height:36px;padding:7px 10px;font-size:12px;border:0;background:#f8f6f0}.history .ph-icon{width:17px;height:17px}#historyStatus{font-size:11px;color:#8a7d64}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 20px;border-bottom:1px solid #f0ece3;font-size:12px;color:#8b806d}.preview-toolbar #edit{background:#edf3e8;border-color:#e0e9d9;color:#55704c}#previewActivity{font-size:11px;padding:8px 20px;background:#fff9e9;color:#8b763d}#shell{display:flex;align-items:center;justify-content:center;height:59vh;min-height:390px;overflow:auto;padding:26px;background:#f2f3f2;background-image:radial-gradient(#dfe2df 1px,transparent 1px);background-size:16px 16px}#canvas{image-rendering:pixelated;background:white;box-shadow:0 3px 14px #0000000d;flex-shrink:0}#empty{text-align:center;color:#999;font-size:13px}#empty .empty-mark>.ph-icon{width:40px;height:40px;color:#9ba399}#empty h3{font-size:16px;color:#7f867d}#empty small{display:block;margin-top:10px;font-size:11px}#chooseImageEmpty{margin:12px auto}.save-state{margin:0;padding:10px 20px 0;font-size:10px;color:#948b7a}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px 15px;font-size:11px;color:#8b806c}.zoom-control{display:flex;align-items:center;gap:6px;white-space:nowrap}.zoom-control button{min-height:30px;padding:4px 7px;border:0;background:#f9f7f2;font-size:11px}.zoom-control .ph-icon{width:16px;height:16px}#zoomText{min-width:40px;text-align:center}.actionbar{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-top:1px solid #f0ece3;gap:10px}.export-info strong{display:block;color:#6d795f;font-size:12px}.export-info small{display:block;font-size:10px;color:#988f7f;margin-top:3px}#download{display:none}.exports{position:relative}.exports summary{font-size:12px;color:#877450;list-style-position:inside}.export-menu{display:flex;flex-direction:column;gap:5px;margin-top:8px}.export-menu button{font-size:11px;min-height:33px;text-align:left}.stats-head{display:flex;align-items:center;justify-content:space-between;margin:16px 0 12px;font-size:13px;font-weight:600}.stats-head small{font-weight:400;color:#a19680;font-size:10px}#stats{display:grid;gap:6px;max-height:380px;overflow:auto;padding:3px}.stat{display:flex;align-items:center;gap:9px;text-align:left;border-color:transparent;background:#faf9f5;min-height:40px;font-size:12px}.stat b{margin-left:auto;font-size:11px;font-weight:500;color:#8f8271}.stat.selected{border-color:#c8aa59;background:#fff3ce}.swatch{width:23px;height:23px;border-radius:8px;box-shadow:inset 0 0 0 1px #0000000d;flex-shrink:0;display:inline-block}.material-note{font-size:10px;color:#9d9281;text-align:center;margin-top:16px;line-height:1.7}.materials #csv{background:#edf3e8;border-color:transparent;color:#526d4a;font-size:12px}
.workflow-actions{position:sticky;bottom:12px;z-index:12;display:flex;align-items:center;gap:14px;padding:14px 18px;margin:24px 0 0;background:#fffef9f2;backdrop-filter:blur(12px);border:1px solid #eae1ce;border-radius:17px;box-shadow:0 5px 25px #6e531310;min-height:76px}#workflowHint{flex:1;font-size:12px;color:#8d7e66}#workflowNext{min-width:205px;min-height:46px;margin-left:auto}#workflowNext:after{content:"→";margin-left:9px}#workflowBack{background:transparent;border:0}footer{display:flex;align-items:center;justify-content:space-between;padding:24px 3px 30px;font-size:11px;color:#a79c87}footer span:first-child{letter-spacing:2px;font-size:9px}.recovery-banner{display:flex;align-items:center;gap:10px;margin-bottom:18px;padding:13px 17px;background:#edf3e8;border:1px solid #dfe8d8;border-radius:14px;font-size:12px}.recovery-banner span{flex:1}.recovery-banner button{background:transparent;border-color:#cfdcc5;font-size:11px}
dialog{padding:0;width:calc(100% - 32px);max-width:450px;border:1px solid #e9dfcc;border-radius:21px;color:#514b42;background:#fffdf8;box-shadow:0 24px 80px #53402025}dialog::backdrop{background:#453f3455;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;min-height:65px;background:#fffaf0;border-bottom:1px solid #eee6d7}.dialog-head h2{margin:0;font-size:17px}.dialog-head button{border:0;background:transparent;padding:6px;min-height:34px}.blank-inputs{display:flex;gap:14px;padding:25px 24px 0}.blank-inputs label{flex:1;font-size:13px}.blank-inputs input{display:block;width:100%;margin-top:8px}#blankDialog>p{margin:16px 24px}#createBlank{width:calc(100% - 48px);margin:5px 24px 24px}#editor{max-width:1450px;width:96vw;height:94dvh;max-height:96dvh}#editor[open]{display:grid;grid-template-columns:148px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto}#editor>.dialog-head,#editor>.dialog-foot{grid-column:1/-1}.editor-tools{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:10px;padding:14px;border-right:1px solid #eee6d7;overflow:auto;background:#fffcf6}.editor-tools #tools{display:flex;flex-direction:column;gap:6px}.editor-tools #tools button{justify-content:flex-start;min-height:42px;font-size:12px}.editor-tools label{font-size:11px}.editor-tools input{width:100%;display:block}.editor-tools>button{font-size:12px}.editor-body{grid-column:2;grid-row:2;display:flex;min-height:0;min-width:0}#editViewport{flex:1;min-width:0;overflow:auto;padding:24px;background:#f0f2f0}#editCanvas{image-rendering:pixelated;touch-action:none;cursor:crosshair;background:white;box-shadow:0 2px 12px #0001}.palette-panel{width:225px;display:flex;flex-direction:column;gap:9px;padding:14px;border-left:1px solid #eee6d7;background:#fffdf7}#colorSearch{width:100%}#swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:5px;overflow:auto;flex:1;min-height:70px;padding:3px}#swatches button{display:flex;flex-direction:column;gap:5px;padding:7px 2px;min-height:56px;font-size:10px;background:#fff;border-color:#f0e9dc;border-radius:11px}#swatches button.selected{outline:2px solid #d2b352;outline-offset:-2px;background:#fff3cd}.palette-panel>button{font-size:11px}.palette-panel p{font-size:10px;margin:0}.dialog-foot{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:15px 20px;border-top:1px solid #eee6d7;background:#fffdf7}.dialog-foot>span{margin-right:auto;font-size:11px;color:#8a7b61}.dialog-foot button{min-width:100px}#activeColor{display:flex;align-items:center;gap:7px;font-size:12px}#toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);background:#5e5647;color:#fffdf6;border-radius:15px;padding:12px 20px;font-size:13px;max-width:90%;z-index:100;display:none;pointer-events:none}#taskStatus{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#fff3ce;padding:13px 20px;border:1px solid #e6cf8a;border-radius:14px;z-index:100;font-size:13px}.modal-open{overflow:hidden}button[aria-busy=true]{cursor:wait}
@media(max-width:1050px){.workspace{grid-template-columns:275px minmax(0,1fr);gap:16px}.panel-content{padding:17px}.workspace[data-step="3"]{grid-template-columns:minmax(0,1fr) 255px}.history{flex-basis:100%;justify-content:flex-end}.preview>.panel-title{padding:13px 17px}#historyStatus{margin-right:auto}.hero h1{font-size:21px}}
@media(max-width:760px){header{height:72px;padding:0 17px}.brand{font-size:19px;gap:10px}.brand-icon{width:37px;height:37px;font-size:24px;border-radius:12px}.brand small{font-size:8px;letter-spacing:1.7px}.header-right{gap:4px;font-size:11px}.header-right button{font-size:11px;padding:5px}main{padding:0 14px}.hero{padding:21px 0 18px;gap:10px;align-items:flex-start;flex-wrap:wrap}.hero h1{font-size:21px}.hero p{font-size:11px;margin-top:4px}.project-actions{gap:3px;flex-wrap:wrap}.project-actions button{font-size:11px;padding:5px 7px;min-height:33px}.project-actions .ph-icon{width:16px;height:16px}.workflow-nav{gap:6px;margin-bottom:22px}.workflow-nav button{padding:11px 8px;gap:7px;min-height:72px;border-radius:13px}.workflow-nav button b{width:25px;height:25px;border-radius:9px;font-size:12px}.workflow-nav button span{font-size:11px}.workflow-nav small{font-size:9px}.workflow-title{font-size:17px;margin-bottom:14px}.workspace,.workspace[data-step="3"]{display:flex;flex-direction:column;gap:15px}.workspace>.panel{width:100%;position:static}.workspace[data-step="2"] .preview{order:0}.workspace[data-step="2"] .controls{order:1}.panel{border-radius:17px}.workspace[data-step="1"]{margin-bottom:20px}.workspace[data-step="1"] .panel-content{padding:17px}.upload .drop{min-height:260px;padding:20px}.upload-icon{width:85px;height:80px}#chooseImage{min-height:46px}#source{max-height:280px}.panel-title{padding:13px 17px;min-height:57px}.panel-content{padding:18px}.history button{min-height:39px}#shell{height:42dvh;min-height:270px;padding:17px}.preview-bottom{flex-wrap:wrap;padding:10px 14px;font-size:10px}.zoom-control{margin-left:auto}.save-state{padding:10px 14px 0;font-size:9px}.preview-toolbar{padding:10px 14px;font-size:11px}.preview-toolbar button{font-size:11px}.controls input[type=number],.controls select,.materials select{font-size:16px}.controls .presets button{font-size:12px;min-height:44px}.label-row{font-size:14px}.toggle-row{min-height:40px;font-size:13px}.source-simplify{padding:15px}.source-simplify select{font-size:14px}.source-simplify .toggle-row strong{font-size:14px}#sourceCompare button{min-height:42px;font-size:12px}#simplifyPreview{height:160px}.workflow-actions{bottom:0;padding:12px 12px calc(12px + env(safe-area-inset-bottom));margin-top:18px;gap:7px;flex-wrap:wrap;border-radius:15px 15px 0 0}#workflowHint{flex-basis:100%;order:-1;font-size:11px}#workflowNext{min-width:0;flex:1;font-size:13px}#workflowBack{font-size:12px}footer{padding:20px 0;font-size:10px}footer span:first-child{font-size:8px;letter-spacing:1px}#stats{grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px}.stat{padding:8px 6px;font-size:11px;gap:5px}.stat .swatch{width:19px;height:19px;border-radius:6px}.stat b{font-size:10px}.recovery-banner{flex-wrap:wrap}.recovery-banner span{flex-basis:100%}#editor{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}#editor[open]{display:flex;flex-direction:column}.dialog-head{padding:10px 15px;min-height:53px;flex-shrink:0}.dialog-head h2{font-size:16px}.editor-body{order:1;flex:1;flex-direction:column}.editor-tools{order:2;display:flex;flex-direction:row;flex-wrap:wrap;flex-shrink:0;padding:8px;gap:6px;border-right:0;border-top:1px solid #eee6d7}.editor-tools #tools{flex-direction:row;flex-wrap:nowrap;width:100%;overflow:auto;gap:5px}.editor-tools #tools button{flex:1;flex-shrink:0;padding:6px;min-height:37px;font-size:11px}.editor-tools .ph-icon{width:16px;height:16px}.editor-tools>button{min-height:31px;padding:4px 7px}.editor-tools label{display:flex;align-items:center;gap:6px}.editor-tools input{width:90px}.editor-tools #activeColor{margin-left:auto;font-size:11px}.dialog-foot{order:3;padding:9px 13px calc(9px + env(safe-area-inset-bottom));flex-shrink:0}.dialog-foot>span{display:none}.dialog-foot button{flex:1}.palette-panel{width:100%;height:170px;flex-shrink:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:34px 78px 31px;padding:7px 10px;gap:5px;border-left:0;border-top:1px solid #eee6d7}#colorSearch{grid-column:1/-1;font-size:16px;min-height:34px;height:34px}#swatches{grid-column:1/-1;grid-template-columns:repeat(auto-fill,minmax(43px,1fr));min-height:0}#swatches button{min-height:49px;padding:4px}.palette-panel>button{min-height:31px;font-size:10px;padding:4px}.palette-panel p{display:none}#editViewport{min-height:100px;padding:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Original Phosphor SVGs, MIT; bundled locally. */
#restore::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M136%2C80v43.47l36.12%2C21.67a8%2C8%2C0%2C0%2C1-8.24%2C13.72l-40-24A8%2C8%2C0%2C0%2C1%2C120%2C128V80a8%2C8%2C0%2C0%2C1%2C16%2C0Zm-8-48A95.44%2C95.44%2C0%2C0%2C0%2C60.08%2C60.15C52.81%2C67.51%2C46.35%2C74.59%2C40%2C82V64a8%2C8%2C0%2C0%2C0-16%2C0v40a8%2C8%2C0%2C0%2C0%2C8%2C8H72a8%2C8%2C0%2C0%2C0%2C0-16H49c7.15-8.42%2C14.27-16.35%2C22.39-24.57a80%2C80%2C0%2C1%2C1%2C1.66%2C114.75%2C8%2C8%2C0%2C1%2C0-11%2C11.64A96%2C96%2C0%2C1%2C0%2C128%2C32Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M136%2C80v43.47l36.12%2C21.67a8%2C8%2C0%2C0%2C1-8.24%2C13.72l-40-24A8%2C8%2C0%2C0%2C1%2C120%2C128V80a8%2C8%2C0%2C0%2C1%2C16%2C0Zm-8-48A95.44%2C95.44%2C0%2C0%2C0%2C60.08%2C60.15C52.81%2C67.51%2C46.35%2C74.59%2C40%2C82V64a8%2C8%2C0%2C0%2C0-16%2C0v40a8%2C8%2C0%2C0%2C0%2C8%2C8H72a8%2C8%2C0%2C0%2C0%2C0-16H49c7.15-8.42%2C14.27-16.35%2C22.39-24.57a80%2C80%2C0%2C1%2C1%2C1.66%2C114.75%2C8%2C8%2C0%2C1%2C0-11%2C11.64A96%2C96%2C0%2C1%2C0%2C128%2C32Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#newBlank::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M208%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V208a16%2C16%2C0%2C0%2C0%2C16%2C16H208a16%2C16%2C0%2C0%2C0%2C16-16V48A16%2C16%2C0%2C0%2C0%2C208%2C32Zm0%2C176H48V48H208V208Zm-32-80a8%2C8%2C0%2C0%2C1-8%2C8H136v32a8%2C8%2C0%2C0%2C1-16%2C0V136H88a8%2C8%2C0%2C0%2C1%2C0-16h32V88a8%2C8%2C0%2C0%2C1%2C16%2C0v32h32A8%2C8%2C0%2C0%2C1%2C176%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M208%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V208a16%2C16%2C0%2C0%2C0%2C16%2C16H208a16%2C16%2C0%2C0%2C0%2C16-16V48A16%2C16%2C0%2C0%2C0%2C208%2C32Zm0%2C176H48V48H208V208Zm-32-80a8%2C8%2C0%2C0%2C1-8%2C8H136v32a8%2C8%2C0%2C0%2C1-16%2C0V136H88a8%2C8%2C0%2C0%2C1%2C0-16h32V88a8%2C8%2C0%2C0%2C1%2C16%2C0v32h32A8%2C8%2C0%2C0%2C1%2C176%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#import::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M245%2C110.64A16%2C16%2C0%2C0%2C0%2C232%2C104H216V88a16%2C16%2C0%2C0%2C0-16-16H130.67L102.94%2C51.2a16.14%2C16.14%2C0%2C0%2C0-9.6-3.2H40A16%2C16%2C0%2C0%2C0%2C24%2C64V208h0a8%2C8%2C0%2C0%2C0%2C8%2C8H211.1a8%2C8%2C0%2C0%2C0%2C7.59-5.47l28.49-85.47A16.05%2C16.05%2C0%2C0%2C0%2C245%2C110.64ZM93.34%2C64%2C123.2%2C86.4A8%2C8%2C0%2C0%2C0%2C128%2C88h72v16H69.77a16%2C16%2C0%2C0%2C0-15.18%2C10.94L40%2C158.7V64Zm112%2C136H43.1l26.67-80H232Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M245%2C110.64A16%2C16%2C0%2C0%2C0%2C232%2C104H216V88a16%2C16%2C0%2C0%2C0-16-16H130.67L102.94%2C51.2a16.14%2C16.14%2C0%2C0%2C0-9.6-3.2H40A16%2C16%2C0%2C0%2C0%2C24%2C64V208h0a8%2C8%2C0%2C0%2C0%2C8%2C8H211.1a8%2C8%2C0%2C0%2C0%2C7.59-5.47l28.49-85.47A16.05%2C16.05%2C0%2C0%2C0%2C245%2C110.64ZM93.34%2C64%2C123.2%2C86.4A8%2C8%2C0%2C0%2C0%2C128%2C88h72v16H69.77a16%2C16%2C0%2C0%2C0-15.18%2C10.94L40%2C158.7V64Zm112%2C136H43.1l26.67-80H232Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#undo::before,#editUndo::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a96%2C96%2C0%2C0%2C1-94.71%2C96H128A95.38%2C95.38%2C0%2C0%2C1%2C62.1%2C197.8a8%2C8%2C0%2C0%2C1%2C11-11.63A80%2C80%2C0%2C1%2C0%2C71.43%2C71.39a3.07%2C3.07%2C0%2C0%2C1-.26.25L44.59%2C96H72a8%2C8%2C0%2C0%2C1%2C0%2C16H24a8%2C8%2C0%2C0%2C1-8-8V56a8%2C8%2C0%2C0%2C1%2C16%2C0V85.8L60.25%2C60A96%2C96%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a96%2C96%2C0%2C0%2C1-94.71%2C96H128A95.38%2C95.38%2C0%2C0%2C1%2C62.1%2C197.8a8%2C8%2C0%2C0%2C1%2C11-11.63A80%2C80%2C0%2C1%2C0%2C71.43%2C71.39a3.07%2C3.07%2C0%2C0%2C1-.26.25L44.59%2C96H72a8%2C8%2C0%2C0%2C1%2C0%2C16H24a8%2C8%2C0%2C0%2C1-8-8V56a8%2C8%2C0%2C0%2C1%2C16%2C0V85.8L60.25%2C60A96%2C96%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#redo::before,#editRedo::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M240%2C56v48a8%2C8%2C0%2C0%2C1-8%2C8H184a8%2C8%2C0%2C0%2C1%2C0-16H211.4L184.81%2C71.64l-.25-.24a80%2C80%2C0%2C1%2C0-1.67%2C114.78%2C8%2C8%2C0%2C0%2C1%2C11%2C11.63A95.44%2C95.44%2C0%2C0%2C1%2C128%2C224h-1.32A96%2C96%2C0%2C1%2C1%2C195.75%2C60L224%2C85.8V56a8%2C8%2C0%2C1%2C1%2C16%2C0Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M240%2C56v48a8%2C8%2C0%2C0%2C1-8%2C8H184a8%2C8%2C0%2C0%2C1%2C0-16H211.4L184.81%2C71.64l-.25-.24a80%2C80%2C0%2C1%2C0-1.67%2C114.78%2C8%2C8%2C0%2C0%2C1%2C11%2C11.63A95.44%2C95.44%2C0%2C0%2C1%2C128%2C224h-1.32A96%2C96%2C0%2C1%2C1%2C195.75%2C60L224%2C85.8V56a8%2C8%2C0%2C1%2C1%2C16%2C0Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#save::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M219.31%2C72%2C184%2C36.69A15.86%2C15.86%2C0%2C0%2C0%2C172.69%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V208a16%2C16%2C0%2C0%2C0%2C16%2C16H208a16%2C16%2C0%2C0%2C0%2C16-16V83.31A15.86%2C15.86%2C0%2C0%2C0%2C219.31%2C72ZM168%2C208H88V152h80Zm40%2C0H184V152a16%2C16%2C0%2C0%2C0-16-16H88a16%2C16%2C0%2C0%2C0-16%2C16v56H48V48H172.69L208%2C83.31ZM160%2C72a8%2C8%2C0%2C0%2C1-8%2C8H96a8%2C8%2C0%2C0%2C1%2C0-16h56A8%2C8%2C0%2C0%2C1%2C160%2C72Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M219.31%2C72%2C184%2C36.69A15.86%2C15.86%2C0%2C0%2C0%2C172.69%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V208a16%2C16%2C0%2C0%2C0%2C16%2C16H208a16%2C16%2C0%2C0%2C0%2C16-16V83.31A15.86%2C15.86%2C0%2C0%2C0%2C219.31%2C72ZM168%2C208H88V152h80Zm40%2C0H184V152a16%2C16%2C0%2C0%2C0-16-16H88a16%2C16%2C0%2C0%2C0-16%2C16v56H48V48H172.69L208%2C83.31ZM160%2C72a8%2C8%2C0%2C0%2C1-8%2C8H96a8%2C8%2C0%2C0%2C1%2C0-16h56A8%2C8%2C0%2C0%2C1%2C160%2C72Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#edit::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M227.31%2C73.37%2C182.63%2C28.68a16%2C16%2C0%2C0%2C0-22.63%2C0L36.69%2C152A15.86%2C15.86%2C0%2C0%2C0%2C32%2C163.31V208a16%2C16%2C0%2C0%2C0%2C16%2C16H92.69A15.86%2C15.86%2C0%2C0%2C0%2C104%2C219.31L227.31%2C96a16%2C16%2C0%2C0%2C0%2C0-22.63ZM92.69%2C208H48V163.31l88-88L180.69%2C120ZM192%2C108.68%2C147.31%2C64l24-24L216%2C84.68Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M227.31%2C73.37%2C182.63%2C28.68a16%2C16%2C0%2C0%2C0-22.63%2C0L36.69%2C152A15.86%2C15.86%2C0%2C0%2C0%2C32%2C163.31V208a16%2C16%2C0%2C0%2C0%2C16%2C16H92.69A15.86%2C15.86%2C0%2C0%2C0%2C104%2C219.31L227.31%2C96a16%2C16%2C0%2C0%2C0%2C0-22.63ZM92.69%2C208H48V163.31l88-88L180.69%2C120ZM192%2C108.68%2C147.31%2C64l24-24L216%2C84.68Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#csv::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M80%2C64a8%2C8%2C0%2C0%2C1%2C8-8H216a8%2C8%2C0%2C0%2C1%2C0%2C16H88A8%2C8%2C0%2C0%2C1%2C80%2C64Zm136%2C56H88a8%2C8%2C0%2C0%2C0%2C0%2C16H216a8%2C8%2C0%2C0%2C0%2C0-16Zm0%2C64H88a8%2C8%2C0%2C0%2C0%2C0%2C16H216a8%2C8%2C0%2C0%2C0%2C0-16ZM44%2C52A12%2C12%2C0%2C1%2C0%2C56%2C64%2C12%2C12%2C0%2C0%2C0%2C44%2C52Zm0%2C64a12%2C12%2C0%2C1%2C0%2C12%2C12A12%2C12%2C0%2C0%2C0%2C44%2C116Zm0%2C64a12%2C12%2C0%2C1%2C0%2C12%2C12A12%2C12%2C0%2C0%2C0%2C44%2C180Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M80%2C64a8%2C8%2C0%2C0%2C1%2C8-8H216a8%2C8%2C0%2C0%2C1%2C0%2C16H88A8%2C8%2C0%2C0%2C1%2C80%2C64Zm136%2C56H88a8%2C8%2C0%2C0%2C0%2C0%2C16H216a8%2C8%2C0%2C0%2C0%2C0-16Zm0%2C64H88a8%2C8%2C0%2C0%2C0%2C0%2C16H216a8%2C8%2C0%2C0%2C0%2C0-16ZM44%2C52A12%2C12%2C0%2C1%2C0%2C56%2C64%2C12%2C12%2C0%2C0%2C0%2C44%2C52Zm0%2C64a12%2C12%2C0%2C1%2C0%2C12%2C12A12%2C12%2C0%2C0%2C0%2C44%2C116Zm0%2C64a12%2C12%2C0%2C1%2C0%2C12%2C12A12%2C12%2C0%2C0%2C0%2C44%2C180Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#zoomOut::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a8%2C8%2C0%2C0%2C1-8%2C8H40a8%2C8%2C0%2C0%2C1%2C0-16H216A8%2C8%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a8%2C8%2C0%2C0%2C1-8%2C8H40a8%2C8%2C0%2C0%2C1%2C0-16H216A8%2C8%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#zoomIn::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a8%2C8%2C0%2C0%2C1-8%2C8H136v80a8%2C8%2C0%2C0%2C1-16%2C0V136H40a8%2C8%2C0%2C0%2C1%2C0-16h80V40a8%2C8%2C0%2C0%2C1%2C16%2C0v80h80A8%2C8%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C128a8%2C8%2C0%2C0%2C1-8%2C8H136v80a8%2C8%2C0%2C0%2C1-16%2C0V136H40a8%2C8%2C0%2C0%2C1%2C0-16h80V40a8%2C8%2C0%2C0%2C1%2C16%2C0v80h80A8%2C8%2C0%2C0%2C1%2C224%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#fit::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C48V88a8%2C8%2C0%2C0%2C1-16%2C0V56H168a8%2C8%2C0%2C0%2C1%2C0-16h40A8%2C8%2C0%2C0%2C1%2C216%2C48ZM88%2C200H56V168a8%2C8%2C0%2C0%2C0-16%2C0v40a8%2C8%2C0%2C0%2C0%2C8%2C8H88a8%2C8%2C0%2C0%2C0%2C0-16Zm120-40a8%2C8%2C0%2C0%2C0-8%2C8v32H168a8%2C8%2C0%2C0%2C0%2C0%2C16h40a8%2C8%2C0%2C0%2C0%2C8-8V168A8%2C8%2C0%2C0%2C0%2C208%2C160ZM88%2C40H48a8%2C8%2C0%2C0%2C0-8%2C8V88a8%2C8%2C0%2C0%2C0%2C16%2C0V56H88a8%2C8%2C0%2C0%2C0%2C0-16Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M216%2C48V88a8%2C8%2C0%2C0%2C1-16%2C0V56H168a8%2C8%2C0%2C0%2C1%2C0-16h40A8%2C8%2C0%2C0%2C1%2C216%2C48ZM88%2C200H56V168a8%2C8%2C0%2C0%2C0-16%2C0v40a8%2C8%2C0%2C0%2C0%2C8%2C8H88a8%2C8%2C0%2C0%2C0%2C0-16Zm120-40a8%2C8%2C0%2C0%2C0-8%2C8v32H168a8%2C8%2C0%2C0%2C0%2C0%2C16h40a8%2C8%2C0%2C0%2C0%2C8-8V168A8%2C8%2C0%2C0%2C0%2C208%2C160ZM88%2C40H48a8%2C8%2C0%2C0%2C0-8%2C8V88a8%2C8%2C0%2C0%2C0%2C16%2C0V56H88a8%2C8%2C0%2C0%2C0%2C0-16Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#clear::before,#closeEditor::before,#closeBlank::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M205.66%2C194.34a8%2C8%2C0%2C0%2C1-11.32%2C11.32L128%2C139.31%2C61.66%2C205.66a8%2C8%2C0%2C0%2C1-11.32-11.32L116.69%2C128%2C50.34%2C61.66A8%2C8%2C0%2C0%2C1%2C61.66%2C50.34L128%2C116.69l66.34-66.35a8%2C8%2C0%2C0%2C1%2C11.32%2C11.32L139.31%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M205.66%2C194.34a8%2C8%2C0%2C0%2C1-11.32%2C11.32L128%2C139.31%2C61.66%2C205.66a8%2C8%2C0%2C0%2C1-11.32-11.32L116.69%2C128%2C50.34%2C61.66A8%2C8%2C0%2C0%2C1%2C61.66%2C50.34L128%2C116.69l66.34-66.35a8%2C8%2C0%2C0%2C1%2C11.32%2C11.32L139.31%2C128Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
#chooseImage::before,#chooseImageEmpty::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C144v64a8%2C8%2C0%2C0%2C1-8%2C8H40a8%2C8%2C0%2C0%2C1-8-8V144a8%2C8%2C0%2C0%2C1%2C16%2C0v56H208V144a8%2C8%2C0%2C0%2C1%2C16%2C0ZM93.66%2C77.66%2C120%2C51.31V144a8%2C8%2C0%2C0%2C0%2C16%2C0V51.31l26.34%2C26.35a8%2C8%2C0%2C0%2C0%2C11.32-11.32l-40-40a8%2C8%2C0%2C0%2C0-11.32%2C0l-40%2C40A8%2C8%2C0%2C0%2C0%2C93.66%2C77.66Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C144v64a8%2C8%2C0%2C0%2C1-8%2C8H40a8%2C8%2C0%2C0%2C1-8-8V144a8%2C8%2C0%2C0%2C1%2C16%2C0v56H208V144a8%2C8%2C0%2C0%2C1%2C16%2C0ZM93.66%2C77.66%2C120%2C51.31V144a8%2C8%2C0%2C0%2C0%2C16%2C0V51.31l26.34%2C26.35a8%2C8%2C0%2C0%2C0%2C11.32-11.32l-40-40a8%2C8%2C0%2C0%2C0-11.32%2C0l-40%2C40A8%2C8%2C0%2C0%2C0%2C93.66%2C77.66Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.controls .panel-title h2::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M40%2C88H73a32%2C32%2C0%2C0%2C0%2C62%2C0h81a8%2C8%2C0%2C0%2C0%2C0-16H135a32%2C32%2C0%2C0%2C0-62%2C0H40a8%2C8%2C0%2C0%2C0%2C0%2C16Zm64-24A16%2C16%2C0%2C1%2C1%2C88%2C80%2C16%2C16%2C0%2C0%2C1%2C104%2C64ZM216%2C168H199a32%2C32%2C0%2C0%2C0-62%2C0H40a8%2C8%2C0%2C0%2C0%2C0%2C16h97a32%2C32%2C0%2C0%2C0%2C62%2C0h17a8%2C8%2C0%2C0%2C0%2C0-16Zm-48%2C24a16%2C16%2C0%2C1%2C1%2C16-16A16%2C16%2C0%2C0%2C1%2C168%2C192Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M40%2C88H73a32%2C32%2C0%2C0%2C0%2C62%2C0h81a8%2C8%2C0%2C0%2C0%2C0-16H135a32%2C32%2C0%2C0%2C0-62%2C0H40a8%2C8%2C0%2C0%2C0%2C0%2C16Zm64-24A16%2C16%2C0%2C1%2C1%2C88%2C80%2C16%2C16%2C0%2C0%2C1%2C104%2C64ZM216%2C168H199a32%2C32%2C0%2C0%2C0-62%2C0H40a8%2C8%2C0%2C0%2C0%2C0%2C16h97a32%2C32%2C0%2C0%2C0%2C62%2C0h17a8%2C8%2C0%2C0%2C0%2C0-16Zm-48%2C24a16%2C16%2C0%2C1%2C1%2C16-16A16%2C16%2C0%2C0%2C1%2C168%2C192Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.preview .panel-title h2::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M104%2C40H56A16%2C16%2C0%2C0%2C0%2C40%2C56v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C104%2C40Zm0%2C64H56V56h48v48Zm96-64H152a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C200%2C40Zm0%2C64H152V56h48v48Zm-96%2C32H56a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V152A16%2C16%2C0%2C0%2C0%2C104%2C136Zm0%2C64H56V152h48v48Zm96-64H152a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V152A16%2C16%2C0%2C0%2C0%2C200%2C136Zm0%2C64H152V152h48v48Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M104%2C40H56A16%2C16%2C0%2C0%2C0%2C40%2C56v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C104%2C40Zm0%2C64H56V56h48v48Zm96-64H152a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C200%2C40Zm0%2C64H152V56h48v48Zm-96%2C32H56a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V152A16%2C16%2C0%2C0%2C0%2C104%2C136Zm0%2C64H56V152h48v48Zm96-64H152a16%2C16%2C0%2C0%2C0-16%2C16v48a16%2C16%2C0%2C0%2C0%2C16%2C16h48a16%2C16%2C0%2C0%2C0%2C16-16V152A16%2C16%2C0%2C0%2C0%2C200%2C136Zm0%2C64H152V152h48v48Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.materials .panel-title h2::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M200.77%2C53.89A103.27%2C103.27%2C0%2C0%2C0%2C128%2C24h-1.07A104%2C104%2C0%2C0%2C0%2C24%2C128c0%2C43%2C26.58%2C79.06%2C69.36%2C94.17A32%2C32%2C0%2C0%2C0%2C136%2C192a16%2C16%2C0%2C0%2C1%2C16-16h46.21a31.81%2C31.81%2C0%2C0%2C0%2C31.2-24.88%2C104.43%2C104.43%2C0%2C0%2C0%2C2.59-24A103.28%2C103.28%2C0%2C0%2C0%2C200.77%2C53.89Zm13%2C93.71A15.89%2C15.89%2C0%2C0%2C1%2C198.21%2C160H152a32%2C32%2C0%2C0%2C0-32%2C32%2C16%2C16%2C0%2C0%2C1-21.31%2C15.07C62.49%2C194.3%2C40%2C164%2C40%2C128a88%2C88%2C0%2C0%2C1%2C87.09-88h.9a88.35%2C88.35%2C0%2C0%2C1%2C88%2C87.25A88.86%2C88.86%2C0%2C0%2C1%2C213.81%2C147.6ZM140%2C76a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C140%2C76ZM96%2C100A12%2C12%2C0%2C1%2C1%2C84%2C88%2C12%2C12%2C0%2C0%2C1%2C96%2C100Zm0%2C56a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C96%2C156Zm88-56a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C184%2C100Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M200.77%2C53.89A103.27%2C103.27%2C0%2C0%2C0%2C128%2C24h-1.07A104%2C104%2C0%2C0%2C0%2C24%2C128c0%2C43%2C26.58%2C79.06%2C69.36%2C94.17A32%2C32%2C0%2C0%2C0%2C136%2C192a16%2C16%2C0%2C0%2C1%2C16-16h46.21a31.81%2C31.81%2C0%2C0%2C0%2C31.2-24.88%2C104.43%2C104.43%2C0%2C0%2C0%2C2.59-24A103.28%2C103.28%2C0%2C0%2C0%2C200.77%2C53.89Zm13%2C93.71A15.89%2C15.89%2C0%2C0%2C1%2C198.21%2C160H152a32%2C32%2C0%2C0%2C0-32%2C32%2C16%2C16%2C0%2C0%2C1-21.31%2C15.07C62.49%2C194.3%2C40%2C164%2C40%2C128a88%2C88%2C0%2C0%2C1%2C87.09-88h.9a88.35%2C88.35%2C0%2C0%2C1%2C88%2C87.25A88.86%2C88.86%2C0%2C0%2C1%2C213.81%2C147.6ZM140%2C76a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C140%2C76ZM96%2C100A12%2C12%2C0%2C1%2C1%2C84%2C88%2C12%2C12%2C0%2C0%2C1%2C96%2C100Zm0%2C56a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C96%2C156Zm88-56a12%2C12%2C0%2C1%2C1-12-12A12%2C12%2C0%2C0%2C1%2C184%2C100Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="brush"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M232%2C32a8%2C8%2C0%2C0%2C0-8-8c-44.08%2C0-89.31%2C49.71-114.43%2C82.63A60%2C60%2C0%2C0%2C0%2C32%2C164c0%2C30.88-19.54%2C44.73-20.47%2C45.37A8%2C8%2C0%2C0%2C0%2C16%2C224H92a60%2C60%2C0%2C0%2C0%2C57.37-77.57C182.3%2C121.31%2C232%2C76.08%2C232%2C32ZM92%2C208H34.63C41.38%2C198.41%2C48%2C183.92%2C48%2C164a44%2C44%2C0%2C1%2C1%2C44%2C44Zm32.42-94.45q5.14-6.66%2C10.09-12.55A76.23%2C76.23%2C0%2C0%2C1%2C155%2C121.49q-5.9%2C4.94-12.55%2C10.09A60.54%2C60.54%2C0%2C0%2C0%2C124.42%2C113.55Zm42.7-2.68a92.57%2C92.57%2C0%2C0%2C0-22-22c31.78-34.53%2C55.75-45%2C69.9-47.91C212.17%2C55.12%2C201.65%2C79.09%2C167.12%2C110.87Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M232%2C32a8%2C8%2C0%2C0%2C0-8-8c-44.08%2C0-89.31%2C49.71-114.43%2C82.63A60%2C60%2C0%2C0%2C0%2C32%2C164c0%2C30.88-19.54%2C44.73-20.47%2C45.37A8%2C8%2C0%2C0%2C0%2C16%2C224H92a60%2C60%2C0%2C0%2C0%2C57.37-77.57C182.3%2C121.31%2C232%2C76.08%2C232%2C32ZM92%2C208H34.63C41.38%2C198.41%2C48%2C183.92%2C48%2C164a44%2C44%2C0%2C1%2C1%2C44%2C44Zm32.42-94.45q5.14-6.66%2C10.09-12.55A76.23%2C76.23%2C0%2C0%2C1%2C155%2C121.49q-5.9%2C4.94-12.55%2C10.09A60.54%2C60.54%2C0%2C0%2C0%2C124.42%2C113.55Zm42.7-2.68a92.57%2C92.57%2C0%2C0%2C0-22-22c31.78-34.53%2C55.75-45%2C69.9-47.91C212.17%2C55.12%2C201.65%2C79.09%2C167.12%2C110.87Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="erase"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M225%2C80.4%2C183.6%2C39a24%2C24%2C0%2C0%2C0-33.94%2C0L31%2C157.66a24%2C24%2C0%2C0%2C0%2C0%2C33.94l30.06%2C30.06A8%2C8%2C0%2C0%2C0%2C66.74%2C224H216a8%2C8%2C0%2C0%2C0%2C0-16h-84.7L225%2C114.34A24%2C24%2C0%2C0%2C0%2C225%2C80.4ZM108.68%2C208H70.05L42.33%2C180.28a8%2C8%2C0%2C0%2C1%2C0-11.31L96%2C115.31%2C148.69%2C168Zm105-105L160%2C156.69%2C107.31%2C104%2C161%2C50.34a8%2C8%2C0%2C0%2C1%2C11.32%2C0l41.38%2C41.38a8%2C8%2C0%2C0%2C1%2C0%2C11.31Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M225%2C80.4%2C183.6%2C39a24%2C24%2C0%2C0%2C0-33.94%2C0L31%2C157.66a24%2C24%2C0%2C0%2C0%2C0%2C33.94l30.06%2C30.06A8%2C8%2C0%2C0%2C0%2C66.74%2C224H216a8%2C8%2C0%2C0%2C0%2C0-16h-84.7L225%2C114.34A24%2C24%2C0%2C0%2C0%2C225%2C80.4ZM108.68%2C208H70.05L42.33%2C180.28a8%2C8%2C0%2C0%2C1%2C0-11.31L96%2C115.31%2C148.69%2C168Zm105-105L160%2C156.69%2C107.31%2C104%2C161%2C50.34a8%2C8%2C0%2C0%2C1%2C11.32%2C0l41.38%2C41.38a8%2C8%2C0%2C0%2C1%2C0%2C11.31Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="fill"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M234.53%2C139.07a8%2C8%2C0%2C0%2C0%2C3.13-13.24L122.17%2C10.34a8%2C8%2C0%2C0%2C0-11.31%2C0L70.25%2C51%2C45.65%2C26.34A8%2C8%2C0%2C0%2C0%2C34.34%2C37.66l24.6%2C24.6L15%2C106.17a24%2C24%2C0%2C0%2C0%2C0%2C33.94L99.89%2C225a24%2C24%2C0%2C0%2C0%2C33.94%2C0l78.49-78.49Zm-32.19-5.24-79.83%2C79.83a8%2C8%2C0%2C0%2C1-11.31%2C0L26.34%2C128.8a8%2C8%2C0%2C0%2C1%2C0-11.31L70.25%2C73.57l29.12%2C29.12a28%2C28%2C0%2C1%2C0%2C11.31-11.32L81.57%2C62.26l35-34.95L217.19%2C128l-11.72%2C3.9A8.09%2C8.09%2C0%2C0%2C0%2C202.34%2C133.83Zm-86.83-26.31%2C0%2C0a13.26%2C13.26%2C0%2C1%2C1-.05.06S115.51%2C107.53%2C115.51%2C107.52Zm123.15%2C56a8%2C8%2C0%2C0%2C0-13.32%2C0C223.57%2C166.23%2C208%2C190.09%2C208%2C208a24%2C24%2C0%2C0%2C0%2C48%2C0C256%2C190.09%2C240.43%2C166.23%2C238.66%2C163.56ZM232%2C216a8%2C8%2C0%2C0%2C1-8-8c0-6.8%2C4-16.32%2C8-24.08%2C4%2C7.76%2C8%2C17.34%2C8%2C24.08A8%2C8%2C0%2C0%2C1%2C232%2C216Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M234.53%2C139.07a8%2C8%2C0%2C0%2C0%2C3.13-13.24L122.17%2C10.34a8%2C8%2C0%2C0%2C0-11.31%2C0L70.25%2C51%2C45.65%2C26.34A8%2C8%2C0%2C0%2C0%2C34.34%2C37.66l24.6%2C24.6L15%2C106.17a24%2C24%2C0%2C0%2C0%2C0%2C33.94L99.89%2C225a24%2C24%2C0%2C0%2C0%2C33.94%2C0l78.49-78.49Zm-32.19-5.24-79.83%2C79.83a8%2C8%2C0%2C0%2C1-11.31%2C0L26.34%2C128.8a8%2C8%2C0%2C0%2C1%2C0-11.31L70.25%2C73.57l29.12%2C29.12a28%2C28%2C0%2C1%2C0%2C11.31-11.32L81.57%2C62.26l35-34.95L217.19%2C128l-11.72%2C3.9A8.09%2C8.09%2C0%2C0%2C0%2C202.34%2C133.83Zm-86.83-26.31%2C0%2C0a13.26%2C13.26%2C0%2C1%2C1-.05.06S115.51%2C107.53%2C115.51%2C107.52Zm123.15%2C56a8%2C8%2C0%2C0%2C0-13.32%2C0C223.57%2C166.23%2C208%2C190.09%2C208%2C208a24%2C24%2C0%2C0%2C0%2C48%2C0C256%2C190.09%2C240.43%2C166.23%2C238.66%2C163.56ZM232%2C216a8%2C8%2C0%2C0%2C1-8-8c0-6.8%2C4-16.32%2C8-24.08%2C4%2C7.76%2C8%2C17.34%2C8%2C24.08A8%2C8%2C0%2C0%2C1%2C232%2C216Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="regionErase"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M152%2C40a8%2C8%2C0%2C0%2C1-8%2C8H112a8%2C8%2C0%2C0%2C1%2C0-16h32A8%2C8%2C0%2C0%2C1%2C152%2C40Zm-8%2C168H112a8%2C8%2C0%2C0%2C0%2C0%2C16h32a8%2C8%2C0%2C0%2C0%2C0-16ZM208%2C32H184a8%2C8%2C0%2C0%2C0%2C0%2C16h24V72a8%2C8%2C0%2C0%2C0%2C16%2C0V48A16%2C16%2C0%2C0%2C0%2C208%2C32Zm8%2C72a8%2C8%2C0%2C0%2C0-8%2C8v32a8%2C8%2C0%2C0%2C0%2C16%2C0V112A8%2C8%2C0%2C0%2C0%2C216%2C104Zm0%2C72a8%2C8%2C0%2C0%2C0-8%2C8v24H184a8%2C8%2C0%2C0%2C0%2C0%2C16h24a16%2C16%2C0%2C0%2C0%2C16-16V184A8%2C8%2C0%2C0%2C0%2C216%2C176ZM40%2C152a8%2C8%2C0%2C0%2C0%2C8-8V112a8%2C8%2C0%2C0%2C0-16%2C0v32A8%2C8%2C0%2C0%2C0%2C40%2C152Zm32%2C56H48V184a8%2C8%2C0%2C0%2C0-16%2C0v24a16%2C16%2C0%2C0%2C0%2C16%2C16H72a8%2C8%2C0%2C0%2C0%2C0-16ZM72%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V72a8%2C8%2C0%2C0%2C0%2C16%2C0V48H72a8%2C8%2C0%2C0%2C0%2C0-16Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M152%2C40a8%2C8%2C0%2C0%2C1-8%2C8H112a8%2C8%2C0%2C0%2C1%2C0-16h32A8%2C8%2C0%2C0%2C1%2C152%2C40Zm-8%2C168H112a8%2C8%2C0%2C0%2C0%2C0%2C16h32a8%2C8%2C0%2C0%2C0%2C0-16ZM208%2C32H184a8%2C8%2C0%2C0%2C0%2C0%2C16h24V72a8%2C8%2C0%2C0%2C0%2C16%2C0V48A16%2C16%2C0%2C0%2C0%2C208%2C32Zm8%2C72a8%2C8%2C0%2C0%2C0-8%2C8v32a8%2C8%2C0%2C0%2C0%2C16%2C0V112A8%2C8%2C0%2C0%2C0%2C216%2C104Zm0%2C72a8%2C8%2C0%2C0%2C0-8%2C8v24H184a8%2C8%2C0%2C0%2C0%2C0%2C16h24a16%2C16%2C0%2C0%2C0%2C16-16V184A8%2C8%2C0%2C0%2C0%2C216%2C176ZM40%2C152a8%2C8%2C0%2C0%2C0%2C8-8V112a8%2C8%2C0%2C0%2C0-16%2C0v32A8%2C8%2C0%2C0%2C0%2C40%2C152Zm32%2C56H48V184a8%2C8%2C0%2C0%2C0-16%2C0v24a16%2C16%2C0%2C0%2C0%2C16%2C16H72a8%2C8%2C0%2C0%2C0%2C0-16ZM72%2C32H48A16%2C16%2C0%2C0%2C0%2C32%2C48V72a8%2C8%2C0%2C0%2C0%2C16%2C0V48H72a8%2C8%2C0%2C0%2C0%2C0-16Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="pick"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C67.3a35.79%2C35.79%2C0%2C0%2C0-11.26-25.66c-14-13.28-36.72-12.78-50.62%2C1.13L142.8%2C62.2a24%2C24%2C0%2C0%2C0-33.14.77l-9%2C9a16%2C16%2C0%2C0%2C0%2C0%2C22.64l2%2C2.06-51%2C51a39.75%2C39.75%2C0%2C0%2C0-10.53%2C38l-8%2C18.41A13.68%2C13.68%2C0%2C0%2C0%2C36%2C219.3a15.92%2C15.92%2C0%2C0%2C0%2C17.71%2C3.35L71.23%2C215a39.89%2C39.89%2C0%2C0%2C0%2C37.06-10.75l51-51%2C2.06%2C2.06a16%2C16%2C0%2C0%2C0%2C22.62%2C0l9-9a24%2C24%2C0%2C0%2C0%2C.74-33.18l19.75-19.87A35.75%2C35.75%2C0%2C0%2C0%2C224%2C67.3ZM97%2C193a24%2C24%2C0%2C0%2C1-24%2C6%2C8%2C8%2C0%2C0%2C0-5.55.31l-18.1%2C7.91L57%2C189.41a8%2C8%2C0%2C0%2C0%2C.25-5.75A23.88%2C23.88%2C0%2C0%2C1%2C63%2C159l51-51%2C33.94%2C34ZM202.13%2C82l-25.37%2C25.52a8%2C8%2C0%2C0%2C0%2C0%2C11.3l4.89%2C4.89a8%2C8%2C0%2C0%2C1%2C0%2C11.32l-9%2C9L112%2C83.26l9-9a8%2C8%2C0%2C0%2C1%2C11.31%2C0l4.89%2C4.89a8%2C8%2C0%2C0%2C0%2C11.33%2C0l24.94-25.09c7.81-7.82%2C20.5-8.18%2C28.29-.81a20%2C20%2C0%2C0%2C1%2C.39%2C28.7Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M224%2C67.3a35.79%2C35.79%2C0%2C0%2C0-11.26-25.66c-14-13.28-36.72-12.78-50.62%2C1.13L142.8%2C62.2a24%2C24%2C0%2C0%2C0-33.14.77l-9%2C9a16%2C16%2C0%2C0%2C0%2C0%2C22.64l2%2C2.06-51%2C51a39.75%2C39.75%2C0%2C0%2C0-10.53%2C38l-8%2C18.41A13.68%2C13.68%2C0%2C0%2C0%2C36%2C219.3a15.92%2C15.92%2C0%2C0%2C0%2C17.71%2C3.35L71.23%2C215a39.89%2C39.89%2C0%2C0%2C0%2C37.06-10.75l51-51%2C2.06%2C2.06a16%2C16%2C0%2C0%2C0%2C22.62%2C0l9-9a24%2C24%2C0%2C0%2C0%2C.74-33.18l19.75-19.87A35.75%2C35.75%2C0%2C0%2C0%2C224%2C67.3ZM97%2C193a24%2C24%2C0%2C0%2C1-24%2C6%2C8%2C8%2C0%2C0%2C0-5.55.31l-18.1%2C7.91L57%2C189.41a8%2C8%2C0%2C0%2C0%2C.25-5.75A23.88%2C23.88%2C0%2C0%2C1%2C63%2C159l51-51%2C33.94%2C34ZM202.13%2C82l-25.37%2C25.52a8%2C8%2C0%2C0%2C0%2C0%2C11.3l4.89%2C4.89a8%2C8%2C0%2C0%2C1%2C0%2C11.32l-9%2C9L112%2C83.26l9-9a8%2C8%2C0%2C0%2C1%2C11.31%2C0l4.89%2C4.89a8%2C8%2C0%2C0%2C0%2C11.33%2C0l24.94-25.09c7.81-7.82%2C20.5-8.18%2C28.29-.81a20%2C20%2C0%2C0%2C1%2C.39%2C28.7Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
[data-tool="pan"]::before{content:"";display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M188%2C48a27.75%2C27.75%2C0%2C0%2C0-12%2C2.71V44a28%2C28%2C0%2C0%2C0-54.65-8.6A28%2C28%2C0%2C0%2C0%2C80%2C60v64l-3.82-6.13a28%2C28%2C0%2C0%2C0-48.6%2C27.82c16%2C33.77%2C28.93%2C57.72%2C43.72%2C72.69C86.24%2C233.54%2C103.2%2C240%2C128%2C240a88.1%2C88.1%2C0%2C0%2C0%2C88-88V76A28%2C28%2C0%2C0%2C0%2C188%2C48Zm12%2C104a72.08%2C72.08%2C0%2C0%2C1-72%2C72c-20.38%2C0-33.51-4.88-45.33-16.85C69.44%2C193.74%2C57.26%2C171%2C41.9%2C138.58a6.36%2C6.36%2C0%2C0%2C0-.3-.58%2C12%2C12%2C0%2C0%2C1%2C20.79-12%2C1.76%2C1.76%2C0%2C0%2C0%2C.14.23l18.67%2C30A8%2C8%2C0%2C0%2C0%2C96%2C152V60a12%2C12%2C0%2C0%2C1%2C24%2C0v60a8%2C8%2C0%2C0%2C0%2C16%2C0V44a12%2C12%2C0%2C0%2C1%2C24%2C0v76a8%2C8%2C0%2C0%2C0%2C16%2C0V76a12%2C12%2C0%2C0%2C1%2C24%2C0Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M188%2C48a27.75%2C27.75%2C0%2C0%2C0-12%2C2.71V44a28%2C28%2C0%2C0%2C0-54.65-8.6A28%2C28%2C0%2C0%2C0%2C80%2C60v64l-3.82-6.13a28%2C28%2C0%2C0%2C0-48.6%2C27.82c16%2C33.77%2C28.93%2C57.72%2C43.72%2C72.69C86.24%2C233.54%2C103.2%2C240%2C128%2C240a88.1%2C88.1%2C0%2C0%2C0%2C88-88V76A28%2C28%2C0%2C0%2C0%2C188%2C48Zm12%2C104a72.08%2C72.08%2C0%2C0%2C1-72%2C72c-20.38%2C0-33.51-4.88-45.33-16.85C69.44%2C193.74%2C57.26%2C171%2C41.9%2C138.58a6.36%2C6.36%2C0%2C0%2C0-.3-.58%2C12%2C12%2C0%2C0%2C1%2C20.79-12%2C1.76%2C1.76%2C0%2C0%2C0%2C.14.23l18.67%2C30A8%2C8%2C0%2C0%2C0%2C96%2C152V60a12%2C12%2C0%2C0%2C1%2C24%2C0v60a8%2C8%2C0%2C0%2C0%2C16%2C0V44a12%2C12%2C0%2C0%2C1%2C24%2C0v76a8%2C8%2C0%2C0%2C0%2C16%2C0V76a12%2C12%2C0%2C0%2C1%2C24%2C0Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
.upload-icon{background:#fff0c3 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22%23b69643%22%3E%3Cpath%20d%3D%22M224%2C56V178.06l-39.72-39.72a8%2C8%2C0%2C0%2C0-11.31%2C0L147.31%2C164%2C97.66%2C114.34a8%2C8%2C0%2C0%2C0-11.32%2C0L32%2C168.69V56a8%2C8%2C0%2C0%2C1%2C8-8H216A8%2C8%2C0%2C0%2C1%2C224%2C56Z%22%20opacity%3D%220.2%22%2F%3E%3Cpath%20d%3D%22M216%2C40H40A16%2C16%2C0%2C0%2C0%2C24%2C56V200a16%2C16%2C0%2C0%2C0%2C16%2C16H216a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C216%2C40Zm0%2C16V158.75l-26.07-26.06a16%2C16%2C0%2C0%2C0-22.63%2C0l-20%2C20-44-44a16%2C16%2C0%2C0%2C0-22.62%2C0L40%2C149.37V56ZM40%2C172l52-52%2C80%2C80H40Zm176%2C28H194.63l-36-36%2C20-20L216%2C181.38V200ZM144%2C100a12%2C12%2C0%2C1%2C1%2C12%2C12A12%2C12%2C0%2C0%2C1%2C144%2C100Z%22%2F%3E%3C%2Fsvg%3E") center/58px no-repeat}.empty-mark{display:block;width:52px;height:52px;margin:auto;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22%23b69643%22%3E%3Cpath%20d%3D%22M224%2C56V178.06l-39.72-39.72a8%2C8%2C0%2C0%2C0-11.31%2C0L147.31%2C164%2C97.66%2C114.34a8%2C8%2C0%2C0%2C0-11.32%2C0L32%2C168.69V56a8%2C8%2C0%2C0%2C1%2C8-8H216A8%2C8%2C0%2C0%2C1%2C224%2C56Z%22%20opacity%3D%220.2%22%2F%3E%3Cpath%20d%3D%22M216%2C40H40A16%2C16%2C0%2C0%2C0%2C24%2C56V200a16%2C16%2C0%2C0%2C0%2C16%2C16H216a16%2C16%2C0%2C0%2C0%2C16-16V56A16%2C16%2C0%2C0%2C0%2C216%2C40Zm0%2C16V158.75l-26.07-26.06a16%2C16%2C0%2C0%2C0-22.63%2C0l-20%2C20-44-44a16%2C16%2C0%2C0%2C0-22.62%2C0L40%2C149.37V56ZM40%2C172l52-52%2C80%2C80H40Zm176%2C28H194.63l-36-36%2C20-20L216%2C181.38V200ZM144%2C100a12%2C12%2C0%2C1%2C1%2C12%2C12A12%2C12%2C0%2C0%2C1%2C144%2C100Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
#zoomOut,#zoomIn,#clear,#closeEditor,#closeBlank{font-size:0}#editUndo,#editRedo{font-size:0}.btn:disabled{pointer-events:auto}label.toggle-row{width:auto;height:auto;border:0;background:none;box-shadow:none;appearance:auto}.workflow-nav .complete b{background:#e0eddf;color:#42694e}.workflow-nav .complete b{font-size:0}.workflow-nav .complete b:after{content:"✓";font-size:16px}.range{color:#c3a34d}.toggle:checked{color:#bea04c}
@media(max-width:760px){.editor-tools #tools button{flex:1 1 0;min-width:0;flex-direction:column;gap:3px;white-space:nowrap;font-size:10px;padding:6px 2px}.editor-tools #tools{overflow:visible}}

#exportDialog{max-width:460px}.export-options{display:grid;gap:10px;padding:22px}.export-options button,#exportDialog #download{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;height:auto;min-height:72px;text-align:left;padding:14px 17px;white-space:normal}.export-options strong{font-size:14px}.export-options small{font-size:12px;font-weight:400;color:#81755e}#closeExport{font-size:23px}.export-options button:hover{border-color:#c6a851}

.project-actions button{background:#eee4ce;border-color:#dfd0af;color:#635132}.project-actions button:hover{background:#e4d6b7;border-color:#cbb780;color:#4e3e24}.project-actions button:active{background:#dccba5}

/* Lightweight, non-modal export menu anchored above the final action. */
#exportDialog{position:fixed;inset:auto;margin:0;width:290px;max-width:calc(100vw - 16px);padding:7px;border:1px solid #e6dcc7;border-radius:15px;background:#fffef9;color:#514b42;box-shadow:0 8px 28px #59451c20;overflow:auto}#exportDialog::backdrop{background:transparent;backdrop-filter:none}.export-menu-title{font-size:11px;color:#96876b;padding:5px 10px 8px}.export-options{padding:0;gap:3px}.export-options button,#exportDialog #download{min-height:56px;padding:9px 11px;gap:2px;border:0;border-radius:9px;background:transparent;box-shadow:none}.export-options button:hover,#exportDialog #download:hover{background:#fff0c9}.export-options strong{font-size:12px;font-weight:600}.export-options small{font-size:10px;color:#948671}

/* Step three: separate material and display cards. */
.materials-sidebar{grid-column:2;display:flex;flex-direction:column;gap:16px;min-width:0}.materials-sidebar .panel{width:100%}.display-settings .advanced{border:0;padding:0}.display-settings summary{font-size:13px;font-weight:600;color:#655b49}.materials .stats-head{margin-top:0}
#editor::backdrop{backdrop-filter:none;background:#453f3455}#editViewport{overscroll-behavior:contain}#swatches button{content-visibility:auto;contain-intrinsic-size:auto 56px}
@media(max-width:760px){.materials-sidebar{width:100%;gap:15px}.display-settings select{font-size:16px}}

.inline-blank{max-width:540px;margin:0 0 22px}.inline-blank .dialog-head{min-height:50px}.inline-blank .blank-inputs{padding-top:16px}.inline-blank>p{font-size:12px}.replace-hint{font-size:12px;background:#fff0c3;border-radius:10px;padding:10px;line-height:1.6}.replace-hint button{min-height:28px;font-size:11px;margin-top:6px}.discard-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px;background:#fff0d9;padding:10px 18px;font-size:12px}.discard-bar span{margin-right:auto}.discard-bar button{font-size:12px;min-height:34px}#editor:has(.discard-bar:not([hidden])){grid-template-rows:auto minmax(0,1fr) auto auto}
@media(max-width:760px){.discard-bar{order:3;flex-shrink:0;padding:8px 10px;flex-wrap:wrap}.palette-panel:has(.replace-hint:not([hidden])){height:222px;grid-template-rows:34px auto 78px 31px}.palette-panel .replace-hint{grid-column:1/-1;grid-row:2;padding:6px 10px;display:flex;align-items:center;gap:8px}.replace-hint button{margin:0;flex-shrink:0}}

.account-form{padding:20px;display:flex;flex-direction:column;gap:16px}.account-form label{display:flex;flex-direction:column;gap:8px;font-size:13px}.account-form input{width:100%}#accountMessage{font-size:12px;color:#a14e39;margin:0;min-height:16px}.cloud-panel{margin-bottom:20px}.cloud-panel .panel-title{justify-content:space-between}.cloud-row{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #eee7db}.cloud-row span{flex:1;min-width:0;overflow-wrap:anywhere}.cloud-row small{display:block;font-size:11px;color:#8d816c;margin-top:5px}.cloud-row button{font-size:12px;flex-shrink:0}#cloudState{color:#6c7e56}#cloudSave{background:#edf3e8;color:#55704c}.preview .history{flex-wrap:wrap}.header-right{flex-wrap:wrap}#accountDialog::backdrop{backdrop-filter:none}
@media(max-width:760px){#accountName{max-width:70px;overflow:hidden;text-overflow:ellipsis}.header-right{max-width:53%}.preview .history{gap:3px}.preview .history button{padding:6px;font-size:11px}.cloud-row{flex-wrap:wrap}.cloud-row span{flex-basis:100%}}

.preview-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}#onlineMode{background:#fff0c3;border-color:#e7d399;color:#785e24}#onlineMode[aria-pressed=true]{background:#e4eddd;border-color:#c5d7b8;color:#48623b}.online-tools{padding:12px 18px;background:#fffdf5;border-bottom:1px solid #eee6d7}.online-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:12px;color:#77633c}.online-heading button{min-height:30px;padding:4px 9px;font-size:11px}.online-colors{display:flex;gap:7px;overflow-x:auto;padding:3px 2px 8px;overscroll-behavior-x:contain}.online-colors button{display:flex;align-items:center;gap:7px;flex-shrink:0;min-height:40px;font-size:12px;background:#fff;border-color:#e8e1d4}.online-colors button.selected{background:#fff0bd;border-color:#b99337;box-shadow:0 0 0 1px #b99337}.online-colors .swatch{width:22px;height:22px}
@media(max-width:760px){.preview-toolbar{flex-wrap:wrap}.preview-actions{margin-left:auto}.online-tools{padding:10px 12px}.online-colors button{min-height:44px}}

.palette-panel{position:relative;width:var(--palette-width,260px);flex-shrink:0;min-height:0}.palette-panel.expanded{width:var(--palette-width,440px)}.palette-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.palette-head button{font-size:11px;min-height:30px;padding:4px 8px}.palette-resize{position:absolute;left:-5px;top:0;bottom:0;width:10px;cursor:col-resize;touch-action:none;z-index:5}.palette-resize:hover,.palette-resize:focus{background:#dcc57a66;outline:0}#colorSort{width:100%;font-size:12px;min-height:34px}#swatches{grid-template-columns:repeat(auto-fill,minmax(46px,1fr));overflow-y:auto;overscroll-behavior:contain}.online-heading{flex-wrap:wrap}.online-heading #onlineStatus{margin-right:auto}
@media(max-width:760px){.editor-body{position:relative;flex-direction:row;overflow:hidden}#editViewport{padding:10px}.palette-panel,.palette-panel:has(.replace-hint:not([hidden])){display:flex;flex-direction:column;width:var(--palette-width,155px);height:auto;padding:8px;gap:7px;border-left:1px solid #eee6d7;border-top:0}.palette-panel.expanded{position:absolute;right:0;top:0;bottom:0;z-index:6;width:var(--palette-width,min(88vw,440px));box-shadow:-8px 0 24px #51402522}.palette-panel #swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));flex:1;min-height:0;align-content:start}.palette-panel #swatches button{min-height:49px;font-size:10px}.palette-panel #colorSearch,.palette-panel #colorSort{font-size:16px;height:34px;min-height:34px;flex-shrink:0}.palette-panel .replace-hint{display:block;flex-shrink:0;font-size:11px}.palette-panel>button{white-space:normal;height:auto;flex-shrink:0;min-height:34px;font-size:10px}.palette-head{flex-shrink:0}}

#patternStage{position:relative;flex-shrink:0}#patternStage #canvas{display:block}.pattern-ruler{position:absolute;pointer-events:none}.ruler-top{left:0;top:-24px}.ruler-bottom{left:0;bottom:-24px}.ruler-left{top:0;left:-24px}.ruler-right{top:0;right:-24px}#gridCursor{position:absolute;border:2px solid #ed632e;box-shadow:0 0 0 1px #fff,inset 0 0 0 1px #fff;pointer-events:none;box-sizing:border-box}.online-progress{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:12px;color:#6e765e}.online-progress button{font-size:12px;min-height:36px;background:#e5efde;border-color:#cbdabc}.online-progress #beadProgress{margin-right:auto}#onlinePosition{flex-basis:100%;font-size:11px;color:#847763}.online-colors button.bead-done:not(.selected){background:#edf2e9;color:#68775e;border-style:dashed}#stats .bead-done::after{content:'✓';color:#65804f}#shell:has(.online-stage){padding:30px}
/* Optional preparation tools: progressively disclosed, touch-friendly. */
#cropActions{margin-top:14px}#cropActions button{margin:0 8px 6px 0}.owned-details{margin:14px 0}.owned-details summary small{display:block;margin-top:4px;color:var(--muted,#786b59);font-weight:400}.wake-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.wake-controls label{display:flex;align-items:center;gap:7px}.wake-controls small{color:#75684e}
#cropDialog,#ownedDialog{width:min(880px,94vw);max-height:92dvh;padding:0;overflow:auto;border:1px solid #ded4bf;border-radius:18px;background:#fffdf7}#ownedDialog{width:min(720px,94vw)}.feature-content{padding:16px 22px}.feature-content p{margin:8px 0 14px}#cropStage{text-align:center;background:#e9e5dc;border-radius:10px;padding:8px}#cropCanvas{display:block;max-width:100%;height:auto;margin:auto;touch-action:none;cursor:crosshair}.crop-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.crop-fields label{font-size:12px;display:grid;gap:5px}.crop-fields input{width:100%;min-width:0}.owned-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}#ownedGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:7px;max-height:45dvh;overflow:auto;padding:3px}#ownedGrid label{display:flex;align-items:center;gap:6px;min-height:42px;border:1px solid #e9e1d3;border-radius:8px;padding:7px;cursor:pointer}#ownedGrid label:has(input:checked){background:#fff1b9;border-color:#b38e37}#ownedGrid .swatch{flex-shrink:0;width:20px;height:20px}.cleanup-panel{padding:12px 20px;background:#fff9e9;border-bottom:1px solid #e7dfcb;max-height:45dvh;overflow:auto;flex-shrink:0}.cleanup-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cleanup-previews{display:flex;gap:16px;justify-content:center}.cleanup-previews figure{margin:0;min-width:0;max-width:45%;text-align:center}.cleanup-previews canvas{max-width:100%;max-height:140px;object-fit:contain;image-rendering:pixelated;background:#eee}.cleanup-previews figcaption{font-size:12px;margin-bottom:4px}#cleanupStatus{font-size:13px;margin:7px 0}#editor:has(.cleanup-panel:not([hidden])) .editor-body{min-height:100px}.feature-content input:focus-visible,#ownedGrid label:focus-within{outline:2px solid #9a7332;outline-offset:2px}
@media(max-width:600px){.feature-content{padding:12px}.crop-fields{grid-template-columns:repeat(2,1fr)}.cleanup-panel{padding:10px;max-height:38dvh}.cleanup-previews canvas{max-height:85px}.wake-controls{gap:5px}.wake-controls small{width:100%}.cleanup-options{gap:6px}#cropDialog .dialog-foot{flex-wrap:wrap}}
@media(min-width:761px){#editor[open]:has(.cleanup-panel:not([hidden])){grid-template-rows:auto auto minmax(0,1fr) auto}#editor:has(.cleanup-panel:not([hidden])) .cleanup-panel{grid-column:2;grid-row:2}#editor:has(.cleanup-panel:not([hidden])) .editor-body{grid-row:3}#editor:has(.cleanup-panel:not([hidden])) .editor-tools{grid-row:2/4}#editor:has(.cleanup-panel:not([hidden]))>.dialog-foot{grid-row:4}#editor:has(.cleanup-panel:not([hidden])):has(.discard-bar:not([hidden])){grid-template-rows:auto auto minmax(0,1fr) auto auto}#editor:has(.cleanup-panel:not([hidden])) .discard-bar{grid-row:4}#editor:has(.cleanup-panel:not([hidden])):has(.discard-bar:not([hidden]))>.dialog-foot{grid-row:5}}
/* Finished-object viewer stays separate from the editable pattern. */
#finishedDialog{width:min(1060px,96vw);max-width:1060px;max-height:94dvh;overflow:auto}#finishedDialog .dialog-head{position:sticky;top:0;z-index:2}.finished-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 22px}.finished-controls .segments{flex:0 0 auto}.finished-controls label{display:flex;align-items:center;gap:8px;font-size:12px}.finished-backdrop-label{margin-left:auto}.finished-controls select{min-width:92px}#finishedStage{margin:0 22px;border-radius:14px;min-height:220px;height:49dvh;display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px;background:#f5f0e6}#finishedStage[data-background=dark]{background:#30343b}#finishedStage[data-background=transparent]{background-color:#fff;background-image:linear-gradient(45deg,#e6e6e6 25%,transparent 25%),linear-gradient(-45deg,#e6e6e6 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6e6e6 75%),linear-gradient(-45deg,transparent 75%,#e6e6e6 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}#finishedCanvas{max-width:100%;max-height:100%;object-fit:contain;display:block;flex-shrink:0}#finishedStage.zoomed{display:block}#finishedStage.zoomed #finishedCanvas{max-width:none;max-height:none;margin:auto}.finished-caption{padding:10px 22px}.finished-caption>p{font-size:12px;margin:5px 0;color:#817b70}#finishedAdvanced{margin-top:8px;font-size:12px}#finishedAdvanced .advanced-content{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#finishedAdvanced select{max-width:100%}#finishedDialog>.dialog-foot{position:sticky;bottom:0;background:#fffdf8;z-index:2}#finishedEmpty{color:#817b70;font-size:13px;text-align:center}
@media(max-width:760px){.preview-toolbar{flex-wrap:wrap;gap:8px}.preview-actions{flex-wrap:wrap;gap:6px}#finishedDialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}.finished-controls{padding:10px 12px;gap:8px}.finished-controls .segments button{font-size:12px;padding:8px 12px}.finished-backdrop-label{margin-left:0}.finished-controls label{flex:1}.finished-controls button{min-height:40px}#finishedStage{margin:0 12px;padding:12px;height:43dvh;min-height:180px}.finished-caption{padding:10px 12px}#finishedDialog .dialog-foot{gap:8px}#finishedDialog .dialog-foot button{font-size:12px}#finishedInfo{line-height:1.7}}
.finished-backdrop-label{white-space:nowrap}@media(max-width:760px){.finished-controls #finishedModes{flex-basis:100%}.finished-controls .finished-backdrop-label{min-width:160px}}
