:root{color-scheme:dark;--copper:#e88b4e}*{box-sizing:border-box}body{margin:0;background:#121517;color:#f4f3ef;font:15px system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,select,input{touch-action:manipulation}button,.account-link{background:#252c32;color:#f4f3ef;border:1px solid #58616a;border-radius:6px;padding:9px 13px;cursor:pointer;text-decoration:none}button:hover,.account-link:hover{border-color:var(--copper)}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ffb47b;outline-offset:3px}header{padding:16px 3%;border-bottom:1px solid #393f44;display:flex;align-items:center;justify-content:space-between;gap:15px}header a{color:#f4f3ef;text-decoration:none;font-size:22px}header small{display:block;color:#c7c9cc;font-size:13px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:14px 3%}.primary{background:linear-gradient(#dc8145,#b75017);border-color:#eaa16b}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:15px;padding:0 3% 24px}.preview-wrap{min-width:0;position:relative;border:1px solid #393f44;border-radius:8px;overflow:hidden}#editor-canvas{display:block;width:100%;height:65vh;min-height:320px;max-height:900px}aside{max-height:75vh;overflow:auto;background:#1b1f23;border:1px solid #393f44;border-radius:8px;padding:15px}label{display:block;margin:10px 0;font-size:13px}input[type=range]{width:100%;accent-color:var(--copper)}select,input[type=text],input[type=number],textarea{max-width:100%;background:#121517;color:#f4f3ef;border:1px solid #58616a;padding:7px;border-radius:4px}input[type=number]{width:85px}textarea{width:100%;min-height:65px}fieldset{border:1px solid #393f44;margin:12px 0;padding:10px}legend{color:var(--copper)}summary{cursor:pointer;padding:6px 0;color:var(--copper)}#editor-status{padding:0 3%;min-height:1.5em;color:#f6d1ad}#image-info{color:#bfc4c9}.note{font-size:12px;line-height:1.5;color:#c4c8cd}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#layers{padding:0;list-style:none}#layers li{padding:7px;border-bottom:1px solid #393f44}#layers button{padding:4px 7px;font-size:12px}dialog{background:#1b1f23;color:#f4f3ef;border:1px solid #e88b4e;border-radius:9px;max-width:470px;padding:24px}dialog::backdrop{background:#0009}.account-link{display:inline-flex;margin:6px 4px 10px 0}footer{padding:15px 3%;font-size:13px;border-top:1px solid #393f44}footer a{color:var(--copper)}@media(max-width:800px){.editor-layout{grid-template-columns:1fr}aside{max-height:none}#editor-canvas{height:48vh;min-height:280px}header small{max-width:190px}.toolbar{gap:6px}.toolbar button{padding:8px;font-size:13px}}
/* Desktop workspace chrome: compact graphite panels, copper selection, square controls. */
body{font-family:'Segoe UI',system-ui,sans-serif;background:#17191c;font-size:13px}header{padding:12px 18px;background:linear-gradient(#262a30,#191b1e);border-bottom:1px solid #42474e}.editor-brand{display:flex;gap:10px;align-items:center;font-size:23px;font-weight:500}.editor-brand img{object-fit:contain}.editor-brand small{font-size:11px;margin-top:2px;color:#aeb4bc}.header-note{text-align:right;font-size:10px;letter-spacing:1px}.header-note span{display:block;letter-spacing:0;margin-top:4px;color:#c4c8cf}.toolbar{padding:10px 18px;background:#20242a;border-bottom:1px solid #373d46;gap:7px}.toolbar label{margin:0}.toolbar select{font-size:12px}.toolbar #split{width:90px}.toolbar #export{margin-left:auto}.toolbar #image-info{font-size:11px}button,.account-link{background:linear-gradient(#414b58,#232b34);border:1px solid #59616c;border-radius:4px;font-size:12px;padding:8px 12px;box-shadow:inset 0 1px #ffffff0b}button:hover,.account-link:hover{background:linear-gradient(#4b5664,#2e3742);border-color:#9199a3}.primary{background:linear-gradient(#c8743e,#823914);border-color:#ce783c}.primary:hover{background:linear-gradient(#df8a4a,#a64b1e)}#editor-status{padding:0 18px;margin:9px 0;font-size:12px;color:#c8cbd0}.editor-layout{grid-template-columns:minmax(0,1fr) 44px 330px;gap:7px;padding:0 12px 12px}.preview-wrap,aside{background:linear-gradient(#30353d,#23272d);border:1px solid #454b54;border-radius:5px}.preview-wrap{display:flex;flex-direction:column;padding:0 10px 10px;min-height:560px}.panel-heading{height:44px;display:flex;align-items:center;gap:18px;flex-shrink:0;color:#c8cbd0;font-size:10px;font-weight:500;letter-spacing:.3px}.panel-heading span{font-size:11px;color:#979fa9;letter-spacing:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.canvas-stage{position:relative;flex:1;background:#16181c;border:1px solid #202329;overflow:hidden}#editor-canvas{height:calc(100vh - 255px);min-height:440px;max-height:1000px;width:100%}#empty-preview{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;pointer-events:none;background:radial-gradient(ellipse at center,#23272d,#16181c 70%);padding:22px}#empty-preview[hidden]{display:none}#empty-preview h1{font-size:clamp(19px,2.2vw,29px);font-weight:400;margin:18px 0 2px}#empty-preview p{line-height:1.8;color:#aeb6bf;font-size:13px}.preview-caption{display:flex;justify-content:space-between;padding:12px 2px 0;color:#adb4bc;font-size:10px}.preview-caption span:last-child{color:#a76b45;letter-spacing:1px}.tool-rail{display:flex;flex-direction:column;gap:5px;padding:5px 0;max-height:calc(100vh - 170px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#52575f #22262c}.tool-rail button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:39px;padding:9px;color:#c5c6c4}.tool-rail svg{width:20px;height:20px}.tool-rail button[aria-pressed=true]{background:linear-gradient(#5c3c25,#392b21);border-color:#d9762c;color:#f1d4bd}aside{padding:0 14px 10px;max-height:calc(100vh - 170px);overflow:hidden;display:flex;flex-direction:column;min-height:560px}aside>.panel-heading{min-height:44px}.options-scroll{overflow-y:auto;padding-right:10px;scrollbar-width:thin;scrollbar-color:#73777e #1a1d21}.options-scroll details{background:#181b1f;border-top:1px solid #4a4e55;padding:8px 10px 13px}.options-scroll summary{font-size:12px;font-weight:500;color:#d5d1cb;padding:8px 0;line-height:1.5}.options-scroll details[open]>summary{color:#ec9c60}.options-scroll .row{gap:6px}.options-scroll .row button{padding:7px 9px;font-size:11px}.options-scroll label{font-size:12px;margin:12px 0}.options-scroll select{width:100%;margin-top:6px}.options-scroll input[type=number],.options-scroll input[type=text],.options-scroll textarea,.options-scroll select{background:linear-gradient(#15191e,#22272e);border:1px solid #414a56;border-radius:3px;color:#efefed;padding:8px;font-size:12px}.adjustment-row{display:grid;grid-template-columns:22px minmax(70px,1fr) 55px;align-items:center;column-gap:9px;row-gap:8px;margin:16px 0 20px}.adjustment-row>label{grid-column:1/-1;margin:0;color:#f0efeb;font-size:12px}.adjustment-row input[type=checkbox]{appearance:none;margin:0;width:16px;height:16px;border:1px solid #a8adb2;border-radius:0;background:#171b20;cursor:pointer}.adjustment-row input[type=checkbox]:checked{background:#a95120;box-shadow:inset 0 0 0 1px #cb8f62}.adjustment-row input[type=range]{margin:0;height:20px;appearance:none;background:transparent;cursor:pointer}.adjustment-row input[type=range]::-webkit-slider-runnable-track{height:4px;background:#555960;border-radius:0}.adjustment-row input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:15px;border-radius:2px;margin-top:-5px;background:#bebcb4;border:1px solid #9b9a92}.adjustment-row input[type=range]::-moz-range-track{height:4px;background:#555960}.adjustment-row input[type=range]::-moz-range-thumb{width:11px;height:14px;background:#bebcb4;border:1px solid #9b9a92;border-radius:2px}.adjustment-row .adjustment-value{width:55px;text-align:center;padding:9px 2px;font-variant-numeric:tabular-nums;appearance:textfield}.adjustment-value::-webkit-inner-spin-button{appearance:none}.adjustment-value::-webkit-outer-spin-button{appearance:none}footer{background:#171a1e;padding:14px 18px;font-size:11px;color:#b2b8bf}dialog{box-shadow:0 20px 80px #000b}dialog h2{font-size:22px;font-weight:500}dialog p{line-height:1.7}.options-scroll .note{font-size:11px;line-height:1.7}#reset-tone{width:100%;font-size:11px;margin:2px 0 0}.note{color:#abb3bd}
@media(min-width:1500px){.editor-layout{grid-template-columns:minmax(0,1fr) 48px 355px}.tool-rail button{width:44px;height:41px}}
@media(max-width:1000px){.editor-layout{grid-template-columns:minmax(0,1fr) 40px 290px}.tool-rail button{width:36px;height:36px}aside{padding:0 10px 10px}.toolbar #image-info{display:none}.toolbar{padding:10px 12px}}
@media(max-width:740px){header{padding:12px}.editor-brand{font-size:20px}.header-note{font-size:9px}.header-note span{max-width:105px;line-height:1.5}.editor-layout{grid-template-columns:minmax(0,1fr);gap:9px;padding:0 8px 12px}.preview-wrap{min-height:320px;grid-row:1}.panel-heading{height:34px}#editor-canvas{height:42vh;min-height:260px}.tool-rail{grid-row:2;flex-direction:row;max-height:none;overflow-x:auto;padding:1px}.tool-rail button{width:38px;height:37px}.options-scroll{max-height:440px}.options-scroll details{padding:8px 14px}aside{grid-row:3;max-height:none;min-height:0}.adjustment-row{grid-template-columns:22px minmax(70px,1fr) 60px}.adjustment-row .adjustment-value{width:60px}.toolbar{gap:6px}.toolbar #export{margin-left:0}.toolbar label{font-size:11px}.toolbar #split{width:65px}.toolbar button,.toolbar .account-link{font-size:11px;padding:8px}.preview-caption{font-size:9px}.toolbar #image-info{display:none}#editor-status{font-size:11px;padding:0 12px;line-height:1.5}.editor-brand small{font-size:10px}}

.adjustment-row input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#b05b2d 0 var(--range-fill,50%),#444951 var(--range-fill,50%) 100%)}.adjustment-row input[type=range]::-moz-range-progress{height:4px;background:#b05b2d}
.editor-site-header{background:#101416;padding:0 24px;border-bottom:1px solid #353b42}.editor-nav-wrap{width:100%;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:85px;max-width:1800px;margin:auto}.editor-site-header .editor-brand{font-size:25px;flex-shrink:0;gap:10px}.editor-site-header .editor-brand small{font-size:10px;font-weight:400}.editor-site-header .editor-desktop-nav{display:flex;align-items:center;gap:25px}.editor-site-header nav a,.editor-nav-actions>a{font-size:13px;font-weight:400}.editor-site-header nav a:hover,.editor-site-header nav a[aria-current]{color:#eb9b62}.editor-nav-actions{display:flex;align-items:center;gap:22px}.editor-nav-actions .account-link{margin:0;padding:11px 16px;font-weight:600;font-size:12px}.editor-mobile-menu{display:none}.workspace-titlebar{display:flex;justify-content:space-between;gap:12px;padding:9px 18px;background:#181c20;color:#9fa7b1;font-size:10px;letter-spacing:.5px}.workspace-titlebar>span:first-child{color:#d2b59c}.workspace-titlebar>span:last-child{letter-spacing:0}.editor-site-footer{padding:25px 24px;background:#101416;border-top:1px solid #353b42}.editor-site-footer .footer-wrap{max-width:1800px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.editor-site-footer .footer-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:#f5f2ee;font-size:20px;font-weight:500}.footer-brand img{object-fit:contain}.editor-site-footer .footer-policies{display:flex;align-items:center;gap:17px;flex-wrap:wrap;font-size:12px}.editor-site-footer .footer-policies span{color:#969da5}.editor-site-footer .footer-policies a{color:#c3c8ce;text-decoration:none}.editor-site-footer .footer-policies a:hover{color:#eaa16e}.editor-site-footer .social-links{display:flex;gap:10px}.editor-site-footer .social-link{width:33px;height:33px;display:flex;align-items:center;justify-content:center;border:1px solid #46413c;border-radius:5px;color:#cc8451}.editor-site-footer .social-link:hover{color:#efb07e;border-color:#dc8d53}.editor-site-footer .social-link svg{width:19px;height:19px}.editor-site-footer .muted{width:100%;margin:0;color:#9099a4;font-size:11px}.editor-site-footer .footer-wrap a:focus-visible{outline:2px solid #efa16a;outline-offset:4px}
@media(max-width:1100px){.editor-site-header .editor-desktop-nav{gap:15px}.editor-nav-actions{gap:12px}.editor-site-header .editor-brand{font-size:22px}.editor-nav-wrap{gap:15px}.editor-nav-actions .account-link{padding:10px;font-size:11px}}
@media(max-width:860px){.editor-site-header{display:block;padding:0 16px}.editor-nav-wrap{min-height:72px;gap:12px}.editor-site-header .editor-brand{font-size:22px}.editor-site-header .editor-brand img{width:36px;height:36px}.editor-site-header .editor-desktop-nav,.editor-nav-actions{display:none}.editor-mobile-menu{display:block;position:relative;margin:0}.editor-mobile-menu summary{list-style:none;display:flex;gap:9px;align-items:center;padding:10px 11px;border:1px solid #4a5059;border-radius:5px;background:#252c34;color:#e6e4df;font-size:12px;cursor:pointer}.editor-mobile-menu summary::-webkit-details-marker{display:none}.editor-mobile-menu>nav{position:absolute;z-index:20;right:0;top:calc(100% + 10px);width:220px;background:#1c2229;border:1px solid #48515b;border-radius:6px;box-shadow:0 12px 35px #0009;padding:7px}.editor-mobile-menu nav a{display:block;padding:12px;border-bottom:1px solid #343b44;color:#e7e8ea;text-decoration:none}.editor-mobile-menu nav a:last-child{border:0;color:#efa26d}.workspace-titlebar{font-size:9px;gap:7px;padding:8px 12px}.workspace-titlebar>span:last-child{max-width:180px;text-align:right}.editor-site-footer{padding:22px 18px}.editor-site-footer .footer-wrap{gap:20px;align-items:flex-start}.editor-site-footer .footer-policies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:14px;font-size:12px}.editor-site-footer .footer-policies span{grid-column:1/-1}.editor-site-footer .social-links{order:0}.editor-site-footer .footer-policies{order:1}.editor-site-footer .muted{order:2;line-height:1.7}.editor-site-footer .footer-brand{font-size:20px}.editor-site-footer .footer-brand img{width:32px;height:32px}}
@media(max-width:360px){.editor-site-header{padding:0 10px}.editor-site-header .editor-brand{font-size:19px;gap:6px}.editor-site-header .editor-brand small{font-size:9px}.editor-mobile-menu summary{padding:9px;font-size:11px}.workspace-titlebar>span:last-child{max-width:140px}}

.options-scroll [hidden],.options-scroll details[hidden]{display:none!important}.options-scroll details>summary{cursor:default;pointer-events:none;list-style:none}.options-scroll details>summary::-webkit-details-marker{display:none}
/* Reserve room for full-width icons and the vertical overflow gutter. */
.editor-layout{grid-template-columns:minmax(0,1fr) 58px 330px}.tool-rail{overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;padding-right:4px;align-items:center}.tool-rail button{max-width:100%;box-sizing:border-box}
@media(min-width:1500px){.editor-layout{grid-template-columns:minmax(0,1fr) 62px 355px}}
@media(min-width:741px) and (max-width:1000px){.editor-layout{grid-template-columns:minmax(0,1fr) 54px 290px}}
@media(max-width:740px){.editor-layout{grid-template-columns:minmax(0,1fr)}.tool-rail{flex-wrap:wrap;overflow:visible;max-height:none;scrollbar-gutter:auto;padding:2px;gap:5px;align-items:center}.tool-rail button{flex:0 0 38px}}
.tool-rail{overflow:visible;max-height:none;scrollbar-gutter:auto}
.tool-strip{min-width:0}.tool-scroll-track{display:none}
@media(max-width:740px){.tool-strip{grid-row:2;min-width:0}.tool-strip .tool-rail{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;max-width:100%;gap:5px;padding:2px;touch-action:pan-x pan-y}.tool-strip .tool-rail::-webkit-scrollbar{display:none}.tool-strip .tool-rail button{flex:0 0 38px}.tool-scroll-track{display:block;position:relative;height:8px;margin:8px 3px 5px;background:#4c392d;border:1px solid #7a5234;border-radius:5px;touch-action:none;cursor:pointer}.tool-scroll-track[hidden]{display:none}#tool-scroll-thumb{position:absolute;top:-1px;height:8px;min-width:14px;background:#e68b48;border:1px solid #ffbb80;border-radius:5px;box-shadow:0 0 5px #ed984533}.tool-scroll-track:focus-visible{outline:2px solid #efb17e;outline-offset:3px}}
#account-dialog{position:relative;padding:24px 28px 26px;max-width:430px}#account-dialog .dialog-close{position:absolute;right:10px;top:8px;border:0;background:transparent;box-shadow:none;font-size:23px;padding:0 6px;color:#c4c8cc}#account-dialog h2{margin:8px 0 12px}#account-dialog .account-link[hidden]{display:none}#account-dialog .account-link{margin-bottom:0}
@media(max-width:740px){input.tool-scroll-track{appearance:none;width:calc(100% - 6px);height:12px;padding:0;border:0;background:transparent;border-radius:4px;margin:6px 3px 4px;touch-action:pan-y;accent-color:#e68b48}input.tool-scroll-track::-webkit-slider-runnable-track{height:7px;background:#513a29;border:1px solid #7d5233;border-radius:5px}input.tool-scroll-track::-webkit-slider-thumb{appearance:none;width:var(--scroll-thumb-size,40%);height:9px;margin-top:-2px;border:1px solid #ffc28c;border-radius:5px;background:#e88b45;box-shadow:0 0 4px #ed984533}input.tool-scroll-track::-moz-range-track{height:7px;background:#513a29;border:1px solid #7d5233;border-radius:5px}input.tool-scroll-track::-moz-range-thumb{width:var(--scroll-thumb-size,40%);height:9px;border:1px solid #ffc28c;border-radius:5px;background:#e88b45}}
