*{box-sizing:border-box}[hidden]{display:none!important}
:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;color:#25334c;background:#f3f5fa;line-height:1.6;--accent:#4263eb;--border:#e1e6f0;--muted:#7c889f}
body{margin:0}button,input,select{font:inherit}button{cursor:pointer;min-height:40px;padding:9px 15px;border:1px solid #dce2ed;border-radius:10px;background:#fff;color:#43516b;line-height:1.4;transition:background .15s,border-color .15s}button:hover{background:#edf1ff;border-color:#b9c6f3}button:disabled{opacity:.45;cursor:default}button.active,.primary{background:var(--accent);border-color:var(--accent);color:white}.primary:hover{background:#3554d8}.subtle{background:#f5f7fc}input,select{min-width:0;min-height:44px;border:1px solid #dce2ed;border-radius:9px;padding:10px 12px;background:#fff;color:#33425c;width:100%;line-height:1.4}input[type=number]{width:100%}input[type=checkbox]{width:16px;min-height:16px;height:16px;accent-color:var(--accent);flex-shrink:0}input[type=range]{padding:0;accent-color:var(--accent)}:focus-visible{outline:3px solid #a9baff;outline-offset:3px}
header{height:84px;padding:0 3.5%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border);background:#fff}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:#263753;font-size:23px}.mark{background:#e8edff;color:#4263eb;padding:7px 13px;border-radius:13px;font-size:29px}.brand small{display:block;font-size:9px;letter-spacing:2.6px;margin-top:2px;color:#7b87a5}nav{display:flex;gap:10px}nav button{border-color:transparent}.local{font-size:11px;color:#8794ac;white-space:nowrap}main{max-width:1740px;margin:auto;padding:42px 36px 60px}.intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:34px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.1px;color:#8696c4}h1{font-size:34px;letter-spacing:-1px;line-height:1.3;margin:10px 0 12px}.intro p:not(.eyebrow){color:#8792a7;margin:0;font-size:13px}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.projectActions{align-items:flex-end}.projectNameLabel{margin:0!important;gap:6px!important;font-size:11px!important}.projectNameLabel input{width:190px;max-width:65vw}.projectActions button{min-height:44px}
.workspace{display:grid;grid-template-columns:270px minmax(0,1fr) 250px;gap:24px;align-items:start}.panel{border:1px solid var(--border);border-radius:18px;padding:24px;background:#fff;box-shadow:0 5px 22px #34466c04;min-width:0}h2{font-size:14px;line-height:1.5;margin:0 0 20px}h2:not(:first-child){margin-top:30px}h2 span{float:right;font-weight:400;font-size:12px;color:#8a96ad}label:not(.check):not(.upload){display:flex;flex-direction:column;gap:8px;margin:17px 0;font-size:12px;color:#71809a}.check{display:flex;align-items:center;gap:8px;font-size:12px;margin:15px 0;color:#65758f}.hint{font-size:11px;line-height:1.9;color:#8a96ac;overflow-wrap:anywhere}.wide{width:100%;margin:7px 0;min-height:42px}.upload{display:block;padding:25px 12px;text-align:center;border:1px dashed #b6c4ed;border-radius:12px;background:#f4f6ff;color:#5e76ba;cursor:pointer}.upload input{display:none}.conversionOptions{padding:13px;background:#f7f8fc;border:1px solid var(--border);border-radius:10px;margin:16px 0}.conversionOptions summary{font-size:12px;cursor:pointer;color:#627294}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}.toolbar small{display:block;font-size:11px;color:#8d98ad;margin-top:6px}.toolbar .actions{gap:7px}.toolbar .actions button{font-size:11px;padding:8px 11px;min-height:36px}.wrap{flex-wrap:wrap}.preview{padding:24px}.canvasWrap{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid #e7ebf2;border-radius:13px;background:#f5f7fb}.canvasWrap canvas{display:block;width:100%;height:100%;touch-action:pan-y;image-rendering:pixelated}#empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#929fb9}#empty span{font-size:64px;color:#b3c0e7}#empty h2{font-size:18px;margin:20px 0 0}#empty p{font-size:12px}.previewBottom{display:flex;gap:12px 16px;align-items:center;flex-wrap:wrap;margin-top:20px;padding-top:8px}.previewBottom label:not(.check){margin:0;gap:6px;font-size:11px;min-width:130px}.previewBottom .check{margin:0}.previewBottom select{min-height:38px;padding:8px}.previewBottom button{font-size:11px}.materials{max-height:940px;overflow:auto}#usage{margin-top:12px}.usageRow{display:flex;align-items:center;gap:10px;padding:13px 9px;border-bottom:1px solid #edf0f6;border-radius:9px;cursor:pointer}.usageRow:hover{background:#f7f8fd}.usageRow.selected{background:#edf1ff}.chip{width:29px;height:29px;border:1px solid #0001;border-radius:7px;flex-shrink:0}.usageRow strong{font-size:12px;flex:1}.usageRow small{display:block;font-size:10px;font-weight:400;color:#93a0b4;margin-top:4px}.qty{font-size:12px;color:#62718d}.shortage{color:#c06c45!important}.swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px}.swatch{padding:15px;border:1px solid var(--border);border-radius:12px}.swatchHead{display:flex;align-items:center;gap:9px}.swatch .chip{width:36px;height:36px}.swatch small{font-size:10px;color:#8995ab}.swatch label:not(.check){margin:12px 0 0}.inline{display:flex;align-items:center;gap:10px}.inline input{flex:1;min-width:0}.inline button{white-space:nowrap;flex-shrink:0}progress{width:100%;accent-color:var(--accent)}a{color:#506dc8}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:99;max-width:90vw;display:none;background:#26344e;color:#fff;padding:13px 22px;border-radius:11px;box-shadow:0 8px 30px #1c2a4330;font-size:13px}#toast.visible{display:block}
.sourcePreview{padding:16px;margin-bottom:22px;border:1px solid #dfe6f8;border-radius:12px;background:#f7f9ff}.sourcePreviewHead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.sourcePreviewHead strong{font-size:12px}.sourcePreviewHead p{font-size:10px;color:#8997b2;margin:4px 0 0;overflow-wrap:anywhere}.sourcePreviewHead button{white-space:nowrap;font-size:11px;min-height:34px;padding:7px 10px}#sourceImage{display:block;width:100%;height:190px;object-fit:contain;background:repeating-conic-gradient(#e7ebf3 0 25%,#f7f9fd 0 50%) 0/16px 16px;border-radius:8px}.sourcePreviewHead h2{margin:0}dialog{border:1px solid #dce3ef;border-radius:17px;background:#f8faff;color:#283a58;padding:24px;max-width:95vw;width:860px}dialog::backdrop{background:#14223ac2}#cropCanvas{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain;touch-action:none;cursor:crosshair;margin:15px 0}dialog .actions{justify-content:flex-end}#sourceDialogImage{display:block;max-width:100%;width:100%;height:70vh;object-fit:contain}
body:has(#guide:not([hidden])){overflow:hidden}#guide{position:fixed;inset:0;z-index:30;background:#000;color:#e3eafa;display:block;height:100vh;height:100dvh;overflow:hidden}#guideStage{position:absolute;inset:0;min-height:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}#guideCanvas{display:block;width:100%;height:100%;touch-action:none}.guideBar,.guideFooter{position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));z-index:35;display:flex;align-items:flex-start;gap:18px;padding:16px 18px;border:1px solid #2a3549;border-radius:16px;background:#141c2aee;box-shadow:0 10px 35px #0004;max-width:calc(100% - 36px);overflow:hidden}.guideBar{top:max(16px,env(safe-area-inset-top))}.guideFooter{bottom:max(16px,env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:16px}.guideBar button,.guideFooter button{background:#222e43;color:#d9e3f5;border-color:#34435d;border-radius:9px;font-size:12px;padding:10px 14px;min-height:40px}.guideBar button:hover,.guideFooter button:hover{background:#2c3b56;border-color:#526b9b}.guideBar #lockGuide,.guideFooter #complete{background:#5578ee;border-color:#5578ee;color:#fff}.guideBarBody{display:flex;align-items:center;gap:12px;flex:1;flex-wrap:wrap;max-height:35vh;max-height:35dvh;overflow:auto;overscroll-behavior:contain;min-width:0}.guideIdentity{display:flex;flex-direction:column;gap:4px;min-width:180px;margin-right:auto}.guideIdentity strong{font-size:14px}.guideIdentity #guideStatus{font-size:11px;color:#8ea3c9;overflow-wrap:anywhere}.barToggle{flex-shrink:0;align-self:flex-start;font-size:11px!important;min-height:36px!important;padding:8px 11px!important;white-space:nowrap}.barHandle{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}#compactGuideStatus{font-size:11px;color:#98aed4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.guideFooterBody{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:24px;width:100%;max-height:38vh;max-height:38dvh;overflow:auto;overscroll-behavior:contain;min-width:0}.footerGroup{display:flex;flex-direction:column;gap:13px;min-width:0;padding:0 20px 0 0;border-right:1px solid #2b374d}.footerGroup:last-child{padding-right:0;border-right:0}.footerGroup h3{font-size:10px;letter-spacing:1.2px;color:#8197bd;margin:0}.footerGroup p{margin:0;font-size:12px;line-height:1.65;color:#b3c2dd;min-height:40px;display:flex;align-items:center}.footerInline,.colorStepper{display:flex;align-items:center;gap:10px;min-width:0}.footerInline button{flex:1}.footerInline #pitchReadout{flex:1;font-size:10px;color:#8fa3c5;line-height:1.6}.quickLight{display:flex!important;flex-direction:row!important;align-items:center;gap:12px!important;margin:0!important;font-size:11px!important;color:#a3b4d1!important}.quickLight select,.guideFooter select{background:#1d293e;color:#dce7fb;border-color:#34445f;width:100%;max-width:100%;min-height:40px;padding:9px 11px;font-size:12px}.quickLight select{flex:1}#wakeStatus{color:#758aaa;font-size:10px;line-height:1.5}.colorStepper button{flex-shrink:0}.colorStepper select{min-width:0;flex:1}.guideFooter #complete{min-height:40px}
#guide.top-collapsed .guideBar{right:auto;padding:7px;max-width:calc(100% - 36px)}#guide.bottom-collapsed .guideFooter{padding:7px 12px}.guideSettings{position:absolute;z-index:50;right:max(20px,env(safe-area-inset-right));top:112px;bottom:max(25px,env(safe-area-inset-bottom));width:390px;max-width:calc(100% - 40px);padding:0 22px 24px;background:#f8faff;color:#2c3c57;border:1px solid #d8e1f0;border-radius:18px;overflow:auto;overscroll-behavior:contain;scroll-padding-top:85px;box-shadow:0 20px 60px #0004}.settingsHandle{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 18px;background:#f8faff;border-bottom:1px solid #dfe6f2;margin-bottom:24px}.settingsHandle h2{margin:0!important;font-size:16px;line-height:1.5}.settingsHandle button{white-space:nowrap;flex-shrink:0;min-width:72px;min-height:36px;font-size:12px;padding:8px 11px}.settingSection{min-width:0;margin:0 0 26px;padding:18px 16px 10px;border:1px solid #e0e6f2;border-radius:12px;background:#fff}.settingSection legend{padding:0 8px;font-size:11px;color:#8394b5;letter-spacing:.8px}.settingSection label:not(.check){margin:16px 0;color:#7284a2;font-size:11px}.settingSection .hint{font-size:10px;line-height:1.9;color:#8e9bb1}.screenInfo{white-space:pre-line;border-radius:8px;padding:13px;background:#edf2ff;color:#7589b3;font-size:10px;line-height:1.9}.settingPairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.settingPairs label{min-width:0}.settingPairs label:last-child{grid-column:1/-1}.settingSection button{font-size:11px;min-height:40px}.settingSection #resetScreenEstimate{background:transparent;color:#8d9bb3;border-color:transparent}#ruler{border-bottom:2px solid #5e7cb5;border-left:2px solid #5e7cb5;border-right:2px solid #5e7cb5;height:26px;max-width:100%;font-size:9px;color:#6d84ab;text-align:center;white-space:nowrap}.guideSettings>.hint{padding:0 4px;font-size:11px;line-height:1.9}.guideSettings #closeGuideSettings{margin-top:16px}
#touchShield{position:absolute;inset:0;z-index:70;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;background:transparent}#guide.locked .guideBar,#guide.locked .guideFooter{visibility:hidden;pointer-events:none}#guide.locked{user-select:none;-webkit-user-select:none}.lockNotice{position:absolute;top:16px;left:18px;color:#697b99;font-size:11px;pointer-events:none}#unlockGuide{position:absolute;bottom:16px;right:18px;background:#18243a;color:#a9bad8;border:1px solid #394e73;touch-action:none;overflow:hidden;min-width:180px}#unlockGuide span{position:relative;z-index:1}#unlockGuide:before{content:'';position:absolute;inset:0;background:#3452aa;transform:scaleX(0);transform-origin:left}#unlockGuide.holding:before{transform:scaleX(1);transition:transform 1.5s linear}#guide:fullscreen{width:100vw;height:100vh}
@media(max-width:1250px){.workspace{grid-template-columns:245px minmax(0,1fr)}.materials{grid-column:1/-1;max-height:370px}#usage{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));column-gap:16px}.local{display:none}.intro{align-items:flex-start}.projectActions{max-width:440px;justify-content:flex-end}.guideBarBody{gap:9px}.guideIdentity{min-width:140px}.guideBar button{padding:9px 11px}.guideFooterBody{gap:18px}}
@media(max-width:900px){.intro{flex-direction:column;gap:22px}.projectActions{max-width:none;justify-content:flex-start}.guideFooterBody{grid-template-columns:1fr 1fr;gap:20px}.footerGroup:last-child{grid-column:1/-1;padding:18px 0 0;border-top:1px solid #2b374d;display:grid;grid-template-columns:1fr 1fr}.footerGroup:last-child h3{grid-column:1/-1}.footerGroup:nth-child(2){border-right:0;padding-right:0}.guideBar{flex-direction:column;gap:12px}.guideBarBody{width:100%}.guideIdentity{flex-basis:100%}.guideBarBody button{flex:1 1 140px}.guideSettings{top:90px}.guideBarBody{max-height:34vh}.guideFooterBody{max-height:38vh}}
@media(max-width:650px){header{height:auto;min-height:76px;padding:16px;gap:16px;flex-wrap:wrap}.brand{font-size:19px}nav{gap:4px;margin-left:auto}nav button{font-size:11px;padding:8px}.mark{font-size:24px;padding:6px 10px}main{padding:28px 16px 40px}h1{font-size:28px}.workspace{display:flex;flex-direction:column;gap:20px}.workspace>*{width:100%}.panel,.preview{padding:20px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.settings h2,.settings .hint,.settings .upload,.settings .wide,.settings progress,.settings .conversionOptions{grid-column:1/-1}.projectActions{gap:8px}.projectNameLabel{width:100%}.projectNameLabel input{width:100%;max-width:none}.projectActions button{flex:1;font-size:11px;padding:9px}.toolbar{gap:14px}.toolbar .actions{gap:6px}.toolbar .actions button{font-size:10px;padding:7px 9px}.sourcePreviewHead{align-items:flex-start}.sourcePreviewHead p{max-width:180px}#sourceImage{height:160px}.previewBottom{gap:13px}.previewBottom label:not(.check){flex:1;min-width:110px}.guideBar,.guideFooter{left:10px;right:10px;max-width:calc(100% - 20px);padding:12px;border-radius:13px}.guideBar{top:max(10px,env(safe-area-inset-top))}.guideFooter{bottom:max(10px,env(safe-area-inset-bottom))}.guideBarBody{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guideIdentity{grid-column:1/-1;margin:0}.guideBarBody button{min-height:40px;white-space:normal}.guideFooterBody{gap:16px}.footerGroup{padding-right:14px;gap:11px}.footerGroup p{font-size:11px}.footerInline{flex-wrap:wrap;gap:8px}.footerInline button{font-size:11px;min-width:74px;padding:8px}.footerInline #pitchReadout{flex-basis:100%}.quickLight{flex-direction:column!important;align-items:stretch!important;gap:5px!important}.footerGroup:last-child{display:flex;gap:12px}#compactGuideStatus{max-width:52vw;font-size:10px}.guideSettings{left:10px;right:10px;top:auto;bottom:max(10px,env(safe-area-inset-bottom));width:auto;max-width:none;max-height:80vh;max-height:80dvh;padding:0 18px 22px;border-radius:17px}.settingsHandle{padding:18px 0 16px}.settingSection{padding:16px 14px 8px}.settingPairs{gap:0 12px}#guide.top-collapsed .guideBar{max-width:calc(100% - 20px)}#sourceDialogImage{height:65vh}}
@media(max-height:520px){.guideBarBody{max-height:30vh}.guideFooterBody{max-height:34vh}.guideSettings{top:10px;bottom:10px;max-height:calc(100vh - 20px)}.guideBar,.guideFooter{padding:8px 12px}.guideIdentity{gap:0}.guideFooter{gap:8px}}

.siteFooter{text-align:center;padding:28px 24px 36px;border-top:1px solid var(--border);color:#748098;font-size:12px;background:#fff}.siteFooter p{margin:10px 0}.siteFooter div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 22px}.siteFooter a{text-underline-offset:4px}.legalPage{max-width:900px;line-height:1.95}.legalPage h2{font-size:19px;margin-top:30px}.legalPage p{color:#526079}

.colorOptimizer{margin:20px 0;padding:16px;border:1px solid #d9e2fa;background:#f5f7ff;border-radius:12px}.colorOptimizer h2{margin:0 0 10px}.colorOptimizer [role=status]{color:#4d638e}

.colorStepper{min-width:0;width:100%;display:flex;gap:8px;align-items:center}.colorStepper>button{flex:0 0 38px}.guideColorStrip{position:relative;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;min-width:0;flex:1;max-width:100%;padding:4px 2px 9px;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#6682be #18243a}.guideColorItem{flex:0 0 auto;display:grid;grid-template-columns:22px auto;gap:2px 8px;align-items:center;min-width:102px;min-height:55px;padding:8px 10px!important;text-align:left;white-space:nowrap;background:#1d2b43!important;border:1px solid #3a4b68!important;color:#dce6fa!important}.guideColorItem small{grid-column:2;font-size:10px;color:#a5b5d0}.guideColorItem[aria-pressed=true]{border-color:#99b6ff!important;background:#304779!important;box-shadow:0 0 0 1px #99b6ff inset}.guideColorChip{width:22px;height:22px;border-radius:4px;border:1px solid #ffffff66;grid-row:1/3}.allColorsChip{background:conic-gradient(#f5b8bb,#f7dc9a,#9fdbc8,#a4beed,#d0b1e5,#f5b8bb)}.footerGroup:last-child{min-width:0}@media(max-width:900px){.footerGroup:last-child .colorStepper{grid-column:1/-1}}@media(max-width:650px){.colorStepper{width:100%}.guideColorItem{min-width:96px}.colorOptimizer{grid-column:1/-1}}

#refineDialog{width:min(1480px,96vw);max-width:96vw;padding:0;border:1px solid #d7dfef;border-radius:18px;background:#f5f7fc;color:#25334c;max-height:94vh}#refineDialog::backdrop{background:#101a32b8}.refineHeader,.refineActions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 26px;background:#fff}.refineHeader{border-bottom:1px solid #e1e6f0}.refineHeader h2{margin:0;font-size:20px}.refineHeader p{font-size:12px;margin:8px 0 0;color:#65758f}.refineBody{padding:18px 26px;overflow:auto;max-height:calc(94vh - 190px)}.refineComparisons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.refineComparisons figure{margin:0;min-width:0}.refineComparisons figcaption{font-size:12px;margin-bottom:8px}.refineComparisons canvas{width:100%;height:auto;aspect-ratio:1;display:block;background:#edf1f7;border-radius:8px;image-rendering:pixelated}#refineCanvas{touch-action:none;cursor:crosshair}.refineTools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.refineTools section{padding:18px;background:#fff;border:1px solid #e1e6f0;border-radius:12px;min-width:0}.refineTools h3{font-size:14px;margin:0 0 14px}.refineTools button{font-size:12px}.localAdjust{display:flex;gap:12px}.localAdjust label{flex:1;min-width:0}.localAdjust input{width:100%}.mergeList{max-height:280px;overflow:auto;margin-top:14px}.mergeRow{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:6px!important;font-size:11px!important;padding:10px 0;border-bottom:1px solid #edf0f6;margin:0!important}.mergeRow .chip{width:22px;height:22px}.mergeRow small{flex-basis:100%;padding-left:22px}.refineActions{border-top:1px solid #e1e6f0;position:sticky;bottom:0;flex-wrap:wrap}#refineActionStatus,#regionInfo{font-size:12px;color:#526990}@media(max-width:850px){.refineComparisons{grid-template-columns:1fr 1fr}.refineComparisons figure:last-child{grid-column:1/-1;max-width:520px;width:100%;margin:auto}.refineTools{grid-template-columns:1fr}.refineHeader,.refineActions{padding:14px 16px}.refineBody{padding:14px 16px;max-height:calc(94vh - 200px)}.refineActions button{font-size:11px;padding:9px}.refineHeader h2{font-size:17px}}

.siteFooter .filingLinks{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 22px}.filingLinks a{display:inline-flex;align-items:center;gap:6px;max-width:100%;line-height:1.6}.filingLinks img{width:20px;height:20px;flex-shrink:0;object-fit:contain}@media(max-width:480px){.siteFooter{padding-left:12px;padding-right:12px}.siteFooter .filingLinks{flex-direction:column;gap:8px}}
