:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#252833;background:#f6f7f9;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dcdfe7;background:white;border-radius:7px;padding:9px 13px;color:#373b49;font-size:14px;font-weight:550}button:hover{background:#f0efff;border-color:#aaa2ed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a79bf6;outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:#6650db;color:white;border-color:#6650db}button.primary:hover{background:#503bbd}header{height:85px;background:#fff;border-bottom:1px solid #e3e5ea;display:flex;align-items:center;justify-content:space-between;padding:0 4.5%}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;font-size:21px;font-weight:700}.brandmark{background:#6650db;color:white;border-radius:10px;padding:2px 9px;font-size:28px}.pill{font-size:11px;letter-spacing:1px;background:#efecfc;color:#6b58b5;padding:6px 9px;border-radius:5px;margin-left:8px}.local{color:#747887;font-size:13px}main{max-width:1550px;margin:auto;padding:43px 4.5% 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px}.eyebrow{font-size:11px;color:#80709f;letter-spacing:1.7px;font-weight:700}h1{font-size:34px;letter-spacing:-1.2px;margin:10px 0}p{color:#7a7f8b;font-size:15px;margin:0;line-height:1.6}.intro>button{padding:12px 19px}.workspace{display:grid;grid-template-columns:1.2fr 1fr .88fr;gap:18px;align-items:start}.panel{background:#fff;border:1px solid #e1e3eb;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #23284a03}.panelhead{min-height:63px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edeef2;gap:8px}h2{font-size:16px;letter-spacing:-.25px;margin:0}.panelhead>span{font-size:12px;color:#8d91a0}.tabs{display:flex;gap:20px;padding:0 20px;border-bottom:1px solid #eceef3}.tabs button{border:0;border-radius:0;padding:15px 0;background:none;color:#858997}.tabs [aria-selected=true]{color:#6650db;border-bottom:2px solid #6650db}textarea{display:block;width:100%;height:297px;padding:22px;border:0;resize:vertical;background:#fbfbfd;color:#4f5671;font:13px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}#pathData{height:213px}#pathPane .hint{padding:0 18px;min-height:52px}.fieldrow{display:flex;gap:8px;padding:10px;align-items:center;font-size:14px}.fieldrow select{min-width:75px;max-width:120px}.fieldrow button{margin-left:auto;padding:6px}.editorfoot{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eeeff3}.editorfoot span{font:11px monospace;color:#979aa8}#message{padding:0 18px;font-size:13px;color:#39744f;line-height:1.5}#message:not(:empty){padding:10px 18px;border-top:1px solid #eee}#message.error{color:#ad344b;background:#fff5f6}.samples{padding:15px 18px;background:#fcfcfe;display:flex;gap:7px;align-items:center;border-top:1px solid #eeeff4}.samples span{font-size:12px;color:#8a8e9b;flex:1}.samples button{font-size:12px;padding:6px 8px}.segmented{display:flex;background:#f3f4f7;padding:3px;border-radius:6px}.segmented button{font-size:11px;border:0;background:none;padding:5px 8px}.segmented [aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #0001}.stage{height:296px;display:flex;align-items:center;justify-content:center;overflow:hidden}.stage.light{background:#fff}.stage.dark{background:#222531}.stage.grid{background-color:#fff;background-image:linear-gradient(45deg,#e8eaf0 25%,transparent 25%),linear-gradient(-45deg,#e8eaf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e8eaf0 75%),linear-gradient(-45deg,transparent 75%,#e8eaf0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}#preview{width:120px;height:120px;object-fit:contain}.previewfoot{display:flex;padding:16px 18px;border-block:1px solid #eeeff3;align-items:center;justify-content:space-between;color:#8b8f9c;font-size:12px}.previewfoot label{display:flex;align-items:center;gap:8px}.previewfoot input{width:65px;accent-color:#6650db}.settings{padding:16px;display:flex;gap:10px;align-items:end}.settings label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#767c89}.settings label:first-child{flex:1;min-width:60px}.settings input{width:100%;min-width:0;border:1px solid #dfe1e9;border-radius:5px;padding:7px;font-size:13px;height:34px}.settings input[type=color]{width:38px;padding:3px}.settings button{font-size:12px;padding:8px}.hint{font-size:12px;line-height:1.65}.canvasHint{padding:0 16px 15px}.cleanup>.hint{padding:15px 18px}.tree{height:143px;overflow:auto;margin:0 12px;padding:4px;background:#fafafd;border:1px solid #eeeef5;border-radius:6px}.tree button{display:block;width:100%;border:0;text-align:left;background:none;font:12px monospace;padding:7px}.tree button.active{background:#eeeafa;color:#6650db}.attrhead{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px}h3{font-size:13px;margin:0;font-weight:600}.danger{color:#ac4c61;font-size:11px;padding:5px 7px}#attributes{height:152px;overflow:auto;padding:0 16px}.attr{display:flex;align-items:center;border-bottom:1px solid #f0f0f4;gap:8px;padding:7px 0;font-size:12px}.attr code{color:#675d9f;flex-shrink:0}.attr span{color:#999dab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.attr button{padding:0 6px;border:0;font-size:16px}.cleanupfoot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eeeff4;padding:14px}.cleanupfoot span{font-size:11px;color:#959aa6}.cleanupfoot button{font-size:12px;padding:5px 8px}.output{margin-top:22px}.output .panelhead{padding:18px 22px}.output .panelhead>div:first-child{display:flex;align-items:center;gap:14px}#stats{font-size:12px;color:#9095a3}.actions{display:flex;gap:8px}.actions button{font-size:12px}pre{font:12px/1.8 ui-monospace,monospace;color:#646b83;background:#fbfbfd;margin:0;padding:22px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:230px;overflow:auto}footer{display:flex;gap:18px;padding-top:26px;color:#a0a4af;font-size:10px;letter-spacing:1px}footer span{letter-spacing:0}footer span:last-child{margin-left:auto}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}[hidden]{display:none!important}select{padding:6px;border:1px solid #ddd;border-radius:5px;background:#fff} @media(min-width:1500px){textarea{font-size:14px}}@media(max-width:1100px){.workspace{grid-template-columns:1fr 1fr}.cleanup{grid-column:1/-1}.tree{height:110px}#attributes{height:130px}.local{display:none}}@media(max-width:680px){header{height:70px}.pill{display:none}main{padding:28px 16px}.intro{align-items:start;gap:15px;flex-direction:column}h1{font-size:28px}.workspace{display:flex;flex-direction:column}.workspace>section{width:100%}.output .panelhead{align-items:start;flex-direction:column}.actions{flex-wrap:wrap}.samples{flex-wrap:wrap}.settings button{white-space:nowrap}footer{flex-wrap:wrap}footer span:last-child{margin-left:0}}

.optimizer,.guide{margin-top:22px}.optbody{display:grid;grid-template-columns:1.5fr 1fr;gap:28px;padding:22px}.optglobal{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:20px 0}.optglobal label,.pluginOptions label{font-size:14px;display:flex;gap:8px;align-items:center}.pluginOptions{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}input[type=checkbox]{accent-color:#6650db;width:16px;height:16px}.comparison{background:#fafafd;border:1px solid #ededf4;border-radius:8px;padding:18px}.comparison h3{font-size:16px}.compareimages{display:flex;gap:12px}.compareimages figure{margin:20px 0;flex:1;text-align:center;min-width:0}.compareimages img{display:block;width:100%;height:110px;object-fit:contain}.compareimages img:not([src]){visibility:hidden}figcaption{font-size:14px;color:#777e8b;padding-top:12px}#savings{font-size:16px;font-weight:600;margin-bottom:10px}#optimizationStatus{font-size:14px;margin-top:14px}summary{cursor:pointer;padding:22px;font-weight:600}.guidebody{padding:0 24px 24px;max-width:1000px}.guidebody p,.guidebody li{font-size:16px;line-height:1.8;color:#626a7c}.guidebody h3{font-size:18px;margin:22px 0 10px}.guidebody li{margin-bottom:10px}.guidebody a{color:#6650db}@media(max-width:800px){.optbody{grid-template-columns:1fr}.pluginOptions{grid-template-columns:1fr}}

header nav{display:flex;gap:24px}header nav a{font-size:14px;color:#757b89;text-decoration:none;padding:10px 0}header nav a[aria-current=page]{color:#6650db;font-weight:650;border-bottom:2px solid #6650db}.workspace{grid-template-columns:1.15fr 1fr}.cleanup{grid-column:1/-1}.cleanup summary{display:flex;justify-content:space-between}.cleanup summary span{font-size:14px;color:#8a8e9c;font-weight:400}.cleanup details>p{padding:0 20px 14px}.cleanup .tree{height:100px}.optbody{grid-template-columns:1fr}.optbody:has(.comparison:not([hidden])){grid-template-columns:1.5fr 1fr}.advanced{margin:14px 0 20px;border:1px solid #e7e8ef;border-radius:8px;padding:0 16px 14px}.advanced:not([open]){padding-bottom:0}.advanced summary{padding:14px 0;font-size:14px}.advanced .optglobal{margin-top:5px}.guidepage{max-width:1000px;padding-top:48px}.guidepage h1{font-size:36px}.guideintro{font-size:17px;margin:12px 0 25px}.guidelinks{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:26px}.guidelinks a,.guideback a{color:#6650db}.guidepage .guidebody{padding:12px 30px 28px}.guidebody h2{font-size:22px;margin:28px 0 16px;scroll-margin-top:24px}.guideback{margin:28px 0}.buttonlink{display:inline-block;background:#6650db;color:white!important;text-decoration:none;border-radius:7px;padding:12px 18px}@media(max-width:800px){.workspace{grid-template-columns:1fr}.optbody:has(.comparison:not([hidden])){grid-template-columns:1fr}.guidepage h1{font-size:28px}}

.pathExport{margin-top:22px}.pathExportBody{padding:18px 22px}.groupChoice{display:flex;align-items:center;gap:8px;font-size:14px;margin:16px 0 8px}.pathExportBody details{margin:16px 0;border:1px solid #e5e6ee;border-radius:7px;padding:0 14px}.pathExportBody summary{padding:12px 0;font-size:14px}.pathExportBody pre{border:1px solid #ececf3;border-radius:7px;margin:16px 0}.pathExportBody .pluginOptions{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}

.strokeConversion{margin-top:22px}.conversionBody{padding:18px 22px}.conversionBody p{margin-bottom:10px}.conversionBody a{font-size:14px;color:#6650db}#conversionStatus{font-size:14px;color:#525a70}@media(max-width:600px){.strokeConversion .panelhead{align-items:flex-start;flex-direction:column;gap:14px}}

/* Compact creation workspace */
body:has(.exportbar) header{height:64px}body:has(.exportbar) main{padding-top:18px}body:has(.exportbar) .intro{margin-bottom:14px}body:has(.exportbar) h1{font-size:25px;margin:0}.exportbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f6f7f9f5;backdrop-filter:blur(10px);padding:10px 0 14px}.exportbar .actions{flex-wrap:wrap;justify-content:flex-end}.workspace{gap:16px;align-items:stretch}.workspace .panelhead{min-height:52px;padding:14px 18px}.workspace textarea{height:240px;padding:16px}.workspace #pathData{height:194px}.workspace .stage{height:232px}.workspace .settings{padding:12px 16px}.workspace .previewfoot{padding:12px 16px}.workspace .samples{padding:10px 16px}.workspace .editorfoot{padding:10px 16px}.workspace .preview{display:flex;flex-direction:column}.workspace .preview .stage{flex:1;min-height:190px}.toolsgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;align-items:start}.toolsgrid>.panel{margin:0;grid-column:auto}.toolsgrid summary,.output summary{padding:16px 18px;font-size:14px}.toolsgrid .cleanup summary{display:list-item}.toolsgrid .cleanup summary span{float:right}.toolsgrid .optbody{padding:0 18px 18px;display:block}.toolsgrid .advanced{margin-top:0}.toolsgrid .conversionBody{padding:0}.toolcontent{padding:0 18px 18px}.toolcontent .conversionBody{padding-top:12px}.pathExportBody{padding:0 18px 18px}.pathExportBody .groupChoice{margin-top:0}.pathExportBody pre{max-height:130px;padding:12px;font-size:12px}.output{margin-top:12px}.output summary span{font-weight:400;margin-left:12px;color:#7f8593;font-size:12px}.output pre{max-height:150px}.cleanupfoot:empty{display:none}#message:empty,#optimizationStatus:empty,#conversionStatus:empty{display:none}#message{font-size:13px}#message:not(:empty){padding:8px 16px}.conversionBody a{font-size:13px}.comparison{margin-top:15px}.comparison .hint{display:none}@media(max-width:700px){.toolsgrid{grid-template-columns:1fr}.exportbar{align-items:start}.exportbar .actions{gap:5px}.exportbar button{font-size:12px;padding:8px}.workspace{display:flex}.workspace textarea{height:210px}.workspace .stage{min-height:200px}}

.sourceActions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.sourceActions #filename{font-size:12px;color:#8d91a0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.sourceActions button{font-size:12px;padding:7px 10px;white-space:nowrap}@media(max-width:480px){.sourceActions #filename{max-width:85px}.sourceActions{gap:7px}}

.sourceActions{flex-wrap:wrap}.sourceActions #filename{max-width:110px}@media(max-width:600px){.sourceActions #filename{display:none}.sourceActions{gap:5px}.sourceActions button{font-size:11px;padding:7px}.workspace .editor .panelhead{gap:6px}}

.secondaryactions{display:flex;gap:8px}.historyButton{display:inline-flex;align-items:center;gap:7px;padding:6px 10px}.historyButton svg{width:22px;height:22px;flex:none}.redoIcon{transform:scaleX(-1)}@media(max-width:700px){.historyButton span{display:none}.exportbar .historyButton{padding:6px}}

.compressionSummary{font-size:14px;color:#336846;background:#edf6f0;border:1px solid #d5e9dd;border-radius:7px;padding:9px 14px;margin:0 0 12px}.exportbar select{font-size:13px;border:1px solid #dcdfe7;border-radius:7px;background:white;padding:7px;max-width:90px}.exportbar{flex-wrap:wrap}.exportbar .actions{align-items:center}@media(max-width:700px){.exportbar .actions{flex:1}.exportbar select{max-width:80px}}

.samples{flex-wrap:wrap}.samples button{display:inline-flex;align-items:center;justify-content:center;gap:5px}.samples button img{display:block;width:18px;height:18px;border-radius:4px}

/* Shared native dropdown treatment: consistent space for labels and chevrons. */
select,.exportbar select,.fieldrow select{appearance:none;-webkit-appearance:none;box-sizing:border-box;min-height:36px;padding:8px 32px 8px 12px;border:1px solid #dcdfe7;border-radius:7px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23616a7d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;color:#373b49;font:inherit;font-size:14px;line-height:1.2;cursor:pointer;max-width:100%;}
select:hover{border-color:#a59acb}select:disabled{background-color:#f4f5f8;color:#858b98;cursor:not-allowed;opacity:.75}select option{color:#252833;background:#fff}.fieldrow{padding:10px 16px;flex-wrap:wrap}.fieldrow select{flex:1 1 140px;min-width:100px;max-width:none}.fieldrow label{flex:none}.fieldrow button{flex:none;margin-left:0}.exportbar #exportFormat{min-width:83px;max-width:none}.exportbar #pngSize{min-width:108px;max-width:none}.optglobal #precision{min-width:72px}.optglobal label{flex-wrap:wrap;line-height:1.5}@media(max-width:480px){.exportbar #exportFormat,.exportbar #pngSize{font-size:13px}.fieldrow select{flex-basis:100px}}

.exportbar .secondaryactions{align-items:center;flex:1;min-width:0}.exportbar #message{border:0;background:transparent;padding:0 8px;color:#39744f;font-size:13px;line-height:1.45;max-width:390px;overflow-wrap:anywhere}.exportbar #message.error{color:#ad344b}.exportbar #message:not(:empty){padding:0 8px}.exportbar .historyButton{flex:none}@media(max-width:950px){.exportbar .secondaryactions{flex-basis:100%}.exportbar #message{max-width:none}.exportbar .actions{margin-left:auto}}

.standaloneAbout{margin-top:12px;color:#626a7c;font-size:14px}.standaloneAbout summary{padding:12px 0;font-size:14px}.standaloneAbout p{font-size:14px;line-height:1.7;margin:8px 0}.standaloneAbout a{color:#6650db}
