:root{--cs-paper:#fff;--cs-ink:#4f2148;--cs-coral:#d9ea68;--cs-blue:#4f2148;--cs-lilac:#bcdde7;--cs-lime:#d9ea68;--cs-pink:#f48eb5;--cs-line:#e8e8e8}
.cs-pc-swatch,.preset-color[data-material="pc-translucent"] .cs-swatch-disc{background:linear-gradient(125deg,#ffffffd6,#ffffffad 45%,#eef4f5cc),conic-gradient(#c3cfd2 25%,#f9fbfb 0 50%,#c3cfd2 0 75%,#f9fbfb 0) 0 0/12px 12px!important;box-shadow:inset 0 0 0 1px #aab8bc66}
.cs-pc-note{font-size:10px;line-height:1.5;color:#6c6c6c;margin:5px 0 10px}
.cs-webbing-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;border:0;padding:0;margin:0 0 16px}
.cs-webbing-picker legend{font-size:11px;color:#666;padding:0 0 9px}
.cs-webbing-option{display:grid;grid-template-columns:16px 25px minmax(0,1fr);gap:8px;align-items:center;min-height:62px;padding:8px;border:1px solid var(--cs-line);border-radius:4px;cursor:pointer}
.cs-webbing-option:has(input:checked){border-color:var(--cs-ink);box-shadow:inset 0 0 0 1px var(--cs-ink)}
.cs-webbing-option input{appearance:auto;width:14px;height:14px;margin:0;accent-color:var(--cs-ink);cursor:pointer}
.cs-webbing-name{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.cs-webbing-sample{display:block;width:25px;height:44px;overflow:hidden;border-radius:2px}
.cs-webbing-sample img{width:100%;height:100%;object-fit:fill;display:block}
.cs-webbing-solid{background:repeating-linear-gradient(0deg,transparent 0 2px,#ffffff26 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#00000010 2px 3px),var(--webbing-solid,#c6e91c)}
.cs-webbing-note{font-size:11px;color:#666;line-height:1.7;margin:0 0 18px}
.cs-ribbed-swatch{background-image:url('assets/webbing/ribbed-multicolor-thumb-v4.png')!important;background-size:100% 100%!important}
body.cs-pc-study .cs-header,body.cs-pc-study .sidebar,body.cs-pc-study .cs-footer,body.cs-pc-study .cs-stage-heading,body.cs-pc-study .cs-summary,body.cs-pc-study .cs-recipes,body.cs-pc-study .cs-material-note,body.cs-pc-study .cs-view-controls,body.cs-pc-study .cs-art{display:none!important}
body.cs-pc-study,body.cs-pc-study .cs-workspace{display:block!important;height:100vh!important;min-height:0!important;overflow:hidden!important;background:#fafafa}
body.cs-pc-study .stage{height:100vh!important;width:100%!important;padding:0!important;border:0;background:#fafafa}
body.cs-pc-study .cs-render-wrap{width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important}
body.cs-pc-study #cs-product{height:115%!important;max-height:none!important;width:auto!important;max-width:95%!important;transform:translateY(-20px)!important;filter:drop-shadow(5px 8px 6px #28203b18)}
*{box-sizing:border-box}
.cs-model-note{font-size:11px;line-height:1.6;color:#666;margin:10px 0 0}
body{margin:0;display:block;height:auto;min-height:100vh;overflow:auto;background:var(--cs-paper);color:var(--cs-ink);font-family:"Avenir Next","Helvetica Neue","PingFang SC",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}[hidden]{display:none!important}
.cs-header{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;gap:24px;background:white;border-bottom:1px solid var(--cs-line)}
.cs-wordmark{display:flex;align-items:center;gap:14px;min-width:0;flex-shrink:0}.cs-brand-logo{display:block;width:72px;height:48px;flex-shrink:0}.cs-brand-logo img,.cs-brand-logo canvas{width:100%;height:100%;object-fit:contain;display:block}.cs-brand-logo [hidden]{display:none}.cs-brand-name{display:grid;gap:5px}.cs-brand-name strong{font-weight:750;font-size:27px;letter-spacing:-1.3px;line-height:1}.cs-brand-name small{font-size:11px;line-height:1.3;font-weight:400;letter-spacing:.8px;color:#555}
.cs-header nav{display:flex;gap:32px;align-items:center}.cs-header button,.cs-header a{background:none;border:0;color:var(--cs-ink);font-size:13px;text-decoration:none;padding:10px 0}.cs-header .cs-preview-label{font-size:12px;color:#777}
.cs-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,430px);max-width:1600px;margin:auto;min-height:calc(100vh - 88px)}
.stage{background:white;min-width:0;max-height:none;position:relative;padding:24px 42px 22px;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;isolation:isolate}
.cs-stage-heading{position:absolute;left:42px;top:38px;z-index:3;pointer-events:none}.cs-stage-heading h1{font-size:clamp(34px,4.2vw,62px);font-weight:550;line-height:1.02;letter-spacing:-3px;margin:0}.cs-stage-heading p{font-size:13px;line-height:1.7;letter-spacing:.1px;margin:16px 0 0;color:#555}
.cs-art{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}.cs-art .cs-arch{position:absolute;top:182px;left:-102px;width:280px;height:400px;background:var(--cs-coral);border-radius:48% 48% 10% 10%;transform:rotate(-24deg)}
.cs-art .cs-orbit{position:absolute;top:155px;left:calc(50% - 138px);width:340px;height:405px;border-radius:47% 53% 59% 41%/47% 54% 46% 53%;background:var(--cs-lilac);transform:rotate(18deg)}
.cs-art .cs-line{position:absolute;width:132px;height:74px;border:2px solid var(--cs-blue);border-radius:50%;right:28px;bottom:164px;transform:rotate(-27deg)}
.cs-art .cs-line:after{content:"";position:absolute;inset:9px -7px -8px 7px;border:2px solid var(--cs-blue);border-radius:50%}
.cs-art .cs-line,.cs-art .cs-line:after{border-color:var(--cs-pink)}
.cs-render-wrap{height:570px;display:flex;align-items:center;justify-content:center;position:relative;margin-top:18px;margin-left:70px}
#cs-product{height:100%;max-width:75%;object-fit:contain;transform:rotate(-10deg);filter:drop-shadow(12px 20px 13px #28203b24);transition:none;position:relative;z-index:2;cursor:zoom-in}
.cs-render-wrap.is-zoomed #cs-product{transform:rotate(0) scale(1.25);cursor:zoom-out}
.cs-zoom-open{position:absolute;right:0;bottom:8px;z-index:4;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #e8e8e8;border-radius:50%;background:#ffffffd9;color:var(--cs-ink);cursor:zoom-in}
.cs-zoom-open:hover{background:#fff;border-color:#c4b8c2}
.cs-zoom-open svg{display:block;pointer-events:none}
body.cs-pc-study .cs-zoom-open{display:none}
/* Product-led lightbox: preserve the whole silhouette, not a clipped CSS scale. */
.cs-product-viewer{position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:calc(48px + env(safe-area-inset-top,0px)) 24px calc(38px + env(safe-area-inset-bottom,0px));background:transparent;color:var(--cs-ink);overflow:hidden}
.cs-product-viewer[open]{display:flex;align-items:center;justify-content:center}
.cs-product-viewer::backdrop{background:rgba(248,249,252,.42);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);animation:cs-zoom-backdrop-in .46s ease both}
.cs-product-viewer.is-closing::backdrop{animation:cs-zoom-backdrop-out .34s ease both}
@keyframes cs-zoom-backdrop-in{from{background:rgba(248,249,252,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}to{background:rgba(248,249,252,.42);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}}
@keyframes cs-zoom-backdrop-out{from{background:rgba(248,249,252,.42);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}to{background:rgba(248,249,252,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}}
.cs-zoom-surface{position:relative;width:100%;height:100%;min-width:0;min-height:0;overflow:clip}
.cs-product-viewer #cs-product{display:block;position:absolute;left:var(--zoom-left);top:var(--zoom-top);height:var(--zoom-height);width:var(--zoom-width);max-height:none;max-width:none;object-fit:contain;transform:none;cursor:zoom-out;filter:drop-shadow(5px 8px 6px #28203b20);transition:none}
.cs-zoom-close{position:absolute;right:max(20px,env(safe-area-inset-right,0px));top:calc(10px + env(safe-area-inset-top,0px));min-height:38px;padding:8px 14px;border:1px solid #ffffff80;border-radius:24px;background:#ffffffa6;color:var(--cs-ink);font-size:13px;z-index:2}
.cs-zoom-hint{position:absolute;bottom:calc(10px + env(safe-area-inset-bottom,0px));left:16px;right:16px;margin:0;text-align:center;font-size:11px;line-height:1.5;color:#4f4f4f;text-shadow:0 1px 6px white;pointer-events:none}
.cs-product-viewer[open] .cs-zoom-close,.cs-product-viewer[open] .cs-zoom-hint{animation:cs-zoom-utility-in .35s ease .12s both}
.cs-product-viewer.is-closing .cs-zoom-close,.cs-product-viewer.is-closing .cs-zoom-hint{animation:cs-zoom-utility-out .2s ease both}
@keyframes cs-zoom-utility-in{from{opacity:0}to{opacity:1}}
@keyframes cs-zoom-utility-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.cs-product-viewer::backdrop{animation:none!important}}
.cs-view-controls{position:absolute;right:0;top:0;display:flex;gap:3px;padding:3px;background:#f3f3f3;border-radius:18px;z-index:4}.cs-view-controls button{border:0;background:transparent;font-size:11px;padding:7px 12px;border-radius:14px;color:#555}.cs-view-controls button[aria-pressed=true]{background:white;color:var(--cs-ink);box-shadow:0 1px 3px #0001}
.cs-material-note{font-size:11px;color:#6c6c6c;margin:0 0 16px;text-align:center}.cs-load-status{position:absolute;top:50%;text-align:center;background:white;padding:12px;max-width:70%;font-size:13px;z-index:5}
.phone-wrapper{display:none!important}.color-info-panel{display:none!important}
.cs-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:20px 0 18px;border-top:1px solid var(--cs-line);position:relative;z-index:2}
.cs-summary button{background:none;border:0;padding:0;text-align:left;min-width:0;color:var(--cs-ink);display:grid;grid-template-columns:25px 1fr;gap:9px;align-items:center}.cs-summary .cs-chip{width:24px;height:34px;display:block;border-radius:5px;box-shadow:inset 0 0 0 1px #0001}.cs-summary small{font-size:10px;color:#777;display:block;margin-bottom:4px}.cs-summary strong{font-size:11px;font-weight:500;display:block;overflow-wrap:anywhere}
.cs-recipes{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cs-recipes>span{font-size:12px;color:#707070;margin-right:6px}.cs-recipes button{display:flex;align-items:center;gap:7px;font-size:11px;background:white;border:1px solid #e4e4e4;border-radius:24px;padding:7px 11px;color:#444}.cs-recipes button[aria-pressed=true]{border-color:#191919;color:#191919}.cs-recipe-colors{display:flex;gap:0}.cs-recipe-colors i{width:10px;height:15px;display:block}.cs-recipe-colors i:first-child{border-radius:3px 0 0 3px}.cs-recipe-colors i:last-child{border-radius:0 3px 3px 0}
.sidebar{width:auto!important;min-width:0!important;max-width:none!important;max-height:none!important;overflow:visible;background:white!important;padding:35px 34px 30px;border-left:1px solid var(--cs-line);box-shadow:none;z-index:4;display:block}
.sidebar>h2{font-size:23px;font-weight:550;color:var(--cs-ink);letter-spacing:-.7px;border:0;padding:0;margin:0 0 5px}.cs-panel-intro{font-size:12px;color:#757575;margin:0 0 27px}
.cs-model .group-title{font-size:11px;color:#777;background:none;margin:0 0 10px;padding:0;font-weight:400}.cs-model .control-row{display:block;margin:0}.cs-model .control-label{display:none}.cs-model select{font-size:13px!important;width:100%!important;border:1px solid #dedede;background:#fff;padding:12px 32px 12px 12px;border-radius:4px;min-height:43px;color:#191919}.cs-model>div:last-of-type{display:none}
.cs-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #ddd;margin:22px 0 17px}.cs-tabs button{border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;padding:10px 0 13px;font-size:13px;position:relative;color:#777}.cs-tabs button[aria-selected=true]{border-color:var(--cs-ink);color:var(--cs-ink);font-weight:600}.cs-tab-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px;box-shadow:inset 0 0 0 1px #0001}
.cs-part .group-title{display:none}.cs-part>.control-row{justify-content:space-between;margin:0 0 12px}.cs-part>.control-row .control-label{font-size:11px;font-weight:400;color:#777}.cs-part>.control-row input[type=color]{height:21px;width:28px;border-radius:4px}.cs-part .presets-container{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px 7px;margin:0;padding:4px 0 10px}
.cs-part .preset-color{width:auto;height:auto;min-height:51px;border:0!important;background:transparent!important;aspect-ratio:auto;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;outline:none!important;transform:none!important;border-radius:0}
.cs-swatch-disc{display:block;width:26px;height:26px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 0 0 1px #00000010;position:relative;flex-shrink:0;transition:transform .15s}.cs-part .preset-color:hover .cs-swatch-disc{transform:scale(1.12)}.cs-part .preset-color[aria-pressed=true] .cs-swatch-disc:after{content:"";position:absolute;inset:-4px;border:1px solid var(--cs-ink);border-radius:50%}
.cs-part .preset-color:focus-visible .cs-swatch-disc{outline:2px solid var(--cs-blue);outline-offset:4px}.cs-part .preset-name{display:block!important;position:static;transform:none;font-size:9px;line-height:1.2;color:#696969;white-space:normal;text-align:center;opacity:1;max-width:100%;pointer-events:none;overflow-wrap:anywhere}
.cs-part .preset-name b{display:block;font-weight:500;font-size:9px;margin-bottom:2px;color:#242424}.cs-part .preset-selection{min-height:0;padding:10px 0 0;margin:1px 0 18px;background:none;border-radius:0;font-size:12px;color:#444;line-height:1.5}
.cs-order{border-top:1px solid var(--cs-line);padding-top:16px;margin:10px 0 12px}.cs-order label{display:block;font-size:11px;margin:0 0 8px;color:#666}.cs-order #color-id-input{width:100%!important;border:1px solid #dedede!important;padding:11px 12px!important;border-radius:4px!important;font-size:12px;background:white;color:#191919}
.cs-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.cs-actions button{width:100%!important;margin:0!important;border-radius:4px!important;border:1px solid var(--cs-ink)!important;padding:13px 4px!important;background:white!important;color:var(--cs-ink)!important;font-size:12px!important;min-height:44px}.cs-actions #btn-export{background:var(--cs-ink)!important;color:white!important}.cs-actions #btn-random-combo:before{content:"↝";font-size:18px;margin-right:6px;vertical-align:-1px}
.cs-export-status{font-size:11px;color:#626262;min-height:16px;margin:9px 0}.cs-platforms{display:flex;align-items:center;gap:18px;font-size:11px;color:#888;padding:3px 0 18px}.cs-platforms button{background:none!important;border:0!important;width:auto!important;padding:0!important;margin:0!important;color:#3d3d3d!important;font-size:11px!important}
.cs-actions{grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr) minmax(0,1.2fr);gap:6px}
.cs-actions button{min-width:0;line-height:1.35;overflow-wrap:anywhere}
.cs-actions #cs-random-undo:before{content:"↶";margin-right:4px}
.cs-actions #cs-random-undo:disabled{color:#929292!important;border-color:#dedede!important;opacity:1!important;cursor:not-allowed}
.cs-actions button:focus-visible{outline:2px solid var(--cs-ink);outline-offset:3px}
.cs-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.cs-advanced{border-top:1px solid var(--cs-line);padding:14px 0}.cs-advanced>summary{display:flex;justify-content:space-between;font-size:12px;color:#555}.cs-advanced>summary:before{display:none}.cs-advanced>summary:after{content:"+";font-size:18px}.cs-advanced[open]>summary:after{content:"−"}.cs-advanced .group-title{background:none;padding:0;font-size:12px}.cs-advanced .presets-container{margin:14px 0}.cs-advanced .preset-name{display:none!important}.cs-advanced .preset-selection{background:#f7f7f7;padding:8px;font-size:11px;min-height:0}.cs-advanced .control-label{font-size:12px}.cs-advanced details summary{font-size:12px}.sidebar>.note{font-size:10px;color:#888;line-height:1.8;margin:2px 0 0}.cs-experimental{display:none}
.cs-help{border:0;border-radius:10px;padding:32px;max-width:450px;width:calc(100% - 32px);box-shadow:0 20px 100px #0002;color:#191919}.cs-help::backdrop{background:#0004}.cs-help h2{font-size:25px;font-weight:500;letter-spacing:-1px}.cs-help p,.cs-help li{font-size:14px;line-height:1.9}.cs-help ol{padding-left:20px}.cs-help button{background:#191919;color:white;border:0;padding:12px 20px;border-radius:4px}.cs-help .cs-disclaimer{font-size:12px;color:#777}
:focus-visible{outline:2px solid var(--cs-blue);outline-offset:4px}.cs-footer{display:flex;justify-content:space-between;font-size:10px;color:#777;padding:16px 5vw;border-top:1px solid var(--cs-line);gap:14px}
@media(min-width:1450px){.cs-workspace{grid-template-columns:minmax(0,1fr) 480px}.stage{padding:30px 70px}.cs-stage-heading{left:70px}.cs-render-wrap{height:650px}.sidebar{padding:40px 44px}.cs-part .presets-container{gap:15px 10px}.cs-part .preset-name,.cs-part .preset-name b{font-size:10px}}
@media(max-width:1100px) and (min-width:761px){.cs-workspace{grid-template-columns:minmax(0,1fr) 390px}.stage{padding:25px}.cs-stage-heading{left:25px}.cs-stage-heading h1{font-size:39px;letter-spacing:-2px}.cs-render-wrap{height:540px;margin-left:40px;margin-top:80px}.cs-art .cs-orbit{width:280px;height:340px;left:calc(50% - 100px);top:200px}.sidebar{padding:30px 24px}.cs-summary{gap:9px}.cs-summary button{grid-template-columns:17px 1fr;gap:6px}.cs-summary .cs-chip{width:17px;height:30px}.cs-recipes>span{width:100%;margin-bottom:2px}}
@media(max-width:760px){.cs-header{height:70px;padding:0 20px}.cs-wordmark{font-size:22px}.cs-wordmark i{height:29px;width:20px;border-width:6px}.cs-header nav{gap:18px}.cs-header nav a,.cs-preview-label{display:none}.cs-header button{font-size:12px}.cs-workspace{display:flex;flex-direction:column}.stage{width:auto!important;max-height:none;min-height:0;padding:22px 22px 20px;overflow:hidden}.cs-stage-heading{top:28px;left:22px}.cs-stage-heading h1{font-size:34px;letter-spacing:-1.8px}.cs-stage-heading p{font-size:11px;margin-top:12px;max-width:140px}.cs-render-wrap{height:390px;margin:54px 0 0 52px}.cs-view-controls{top:-55px;right:0}.cs-view-controls button{font-size:10px;padding:6px 10px}.cs-art .cs-arch{width:180px;height:240px;left:-125px;top:195px}.cs-art .cs-orbit{width:238px;height:276px;top:125px;left:calc(50% - 80px)}.cs-art .cs-line{display:none}.cs-material-note{margin-top:5px;font-size:10px}.cs-summary{padding:16px 0;gap:8px}.cs-summary button{grid-template-columns:18px 1fr;gap:6px}.cs-summary .cs-chip{width:18px;height:29px}.cs-summary small{font-size:9px}.cs-summary strong{font-size:10px}.cs-recipes{gap:6px}.cs-recipes>span{display:none}.cs-recipes button{font-size:10px;padding:7px 9px}.sidebar{padding:26px 22px 24px;border-left:0;border-top:1px solid var(--cs-line)}.sidebar>h2{font-size:24px}.cs-panel-intro{margin-bottom:23px}.cs-tabs{position:sticky;top:0;background:white;z-index:8;padding-top:8px;margin-top:14px}.cs-part .presets-container{grid-template-columns:repeat(7,minmax(0,1fr));gap:14px 8px}.cs-part .preset-color{min-height:60px}.cs-swatch-disc{height:30px;width:30px}.cs-part .preset-name,.cs-part .preset-name b{font-size:10px}.cs-part .preset-selection{margin-bottom:22px}.cs-actions button{font-size:13px!important}.cs-order #color-id-input{font-size:16px}.cs-model select{font-size:16px!important}.cs-footer{padding:15px 22px;font-size:9px;flex-wrap:wrap}}
.cs-stage-heading p{color:#333}.cs-part .preset-name,.cs-part .preset-name b{font-size:11px}.cs-part .preset-color{min-height:63px}.cs-part .presets-container{max-height:286px;overflow-y:auto;overscroll-behavior:contain;padding:7px 4px 10px;scrollbar-width:thin;scrollbar-color:#c8c8c8 transparent}.cs-part .preset-selection{border-top:1px solid var(--cs-line);padding-top:12px;margin-top:10px}
@media(min-width:761px){body{height:100vh;overflow:hidden}.cs-workspace{height:calc(100vh - 88px);min-height:0}.sidebar{height:100%;overflow-y:auto;scrollbar-width:thin}.stage{height:100%;padding-top:20px}.cs-render-wrap{height:auto;min-height:0;flex:1;margin-top:0;margin-left:80px}.cs-stage-heading h1{font-size:clamp(34px,4vw,55px)}.cs-art .cs-arch{top:280px;height:330px;left:-140px}.cs-art .cs-orbit{top:115px;height:340px;width:300px}.cs-art .cs-line{bottom:132px}.cs-material-note{margin:0 0 10px}.cs-summary{padding:14px 0}.cs-footer{display:none}.cs-recipes button{padding:6px 10px}.cs-tabs{position:sticky;top:-35px;background:white;z-index:8;padding-top:10px}}
@media(max-width:1100px) and (min-width:761px){.cs-render-wrap{margin-top:55px;margin-left:50px}.cs-stage-heading h1{font-size:36px}.cs-art .cs-orbit{top:160px;width:240px;height:300px}.cs-summary{grid-template-columns:repeat(2,1fr);gap:9px 16px}.cs-recipes>span{display:none}.cs-art .cs-line{display:none}}
@media(max-width:760px){.cs-part .presets-container{max-height:370px;padding:7px 4px 12px}.cs-part .preset-name,.cs-part .preset-name b{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.cs-summary small,.cs-recipes>span{color:#333}
@media(max-width:760px){.cs-part .presets-container{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Mobile workbench: only the controls scroll; the live canvas never leaves view. */
@media (max-width:760px), (max-width:1000px) and (max-height:500px) {
  body{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden;overscroll-behavior:none}
  .cs-header{height:calc(56px + env(safe-area-inset-top,0px));flex:0 0 auto;padding:env(safe-area-inset-top,0px) 20px 0}
  .cs-wordmark{gap:10px}.cs-brand-logo{width:56px;height:37px}.cs-brand-name{gap:3px}.cs-brand-name strong{font-size:20px;letter-spacing:-.8px}.cs-brand-name small{font-size:9px;letter-spacing:.5px}
  .cs-header nav{gap:18px}.cs-header nav a,.cs-preview-label{display:none}.cs-header button{font-size:12px}
  .cs-workspace{display:flex;flex-direction:column;flex:1;min-height:0;height:auto;width:100%;max-width:none;margin:0}
  .stage{flex:0 0 auto;width:100%!important;height:clamp(228px,40vh,350px);height:clamp(228px,40dvh,350px);min-height:0;max-height:none;padding:10px 20px 0;overflow:hidden}
  .cs-stage-heading{left:20px;top:18px}.cs-stage-heading h1{font-size:28px;line-height:1.03;letter-spacing:-1.5px}.cs-stage-heading p{font-size:10px;line-height:1.6;margin-top:12px;max-width:105px}
  .cs-render-wrap{flex:1;min-height:0;height:auto;margin:0 0 0 64px}
  #cs-product{max-width:90%}
  .cs-view-controls{top:0;right:0}.cs-view-controls button{font-size:10px;padding:6px 9px}
  .cs-art .cs-arch{top:115px;left:-128px;width:175px;height:210px}
  .cs-art .cs-orbit{top:30px;left:calc(50% - 66px);width:195px;height:225px}.cs-art .cs-line{display:none}
  .cs-material-note{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .cs-summary{flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-height:50px;padding:10px 0}
  .cs-summary button{grid-template-columns:17px minmax(0,1fr);gap:6px}.cs-summary .cs-chip{width:17px;height:28px}
  .cs-summary small{font-size:9px;margin-bottom:3px}.cs-summary strong{font-size:10px}
  .sidebar{position:relative;flex:1;min-height:0;height:auto;overflow-x:hidden;overflow-y:auto;padding:18px 20px calc(22px + env(safe-area-inset-bottom,0px));border-left:0;border-top:1px solid var(--cs-line);overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:62px;scrollbar-width:thin}
  .sidebar>h2,.sidebar>.cs-panel-intro{display:none}
  .sidebar>.cs-recipes{display:flex;flex-wrap:nowrap;gap:6px;margin:0 0 18px;padding:0;overflow-x:auto;scrollbar-width:none}.cs-recipes>span{display:none}.cs-recipes button{flex-shrink:0;font-size:10px;padding:7px 9px}
  .cs-model select{font-size:16px!important}
  .cs-tabs{position:sticky;top:-18px;z-index:8;background:white;margin:14px 0 12px;padding-top:10px}
  .cs-part .presets-container{grid-template-columns:repeat(6,minmax(0,1fr));max-height:none;overflow:visible;gap:14px 8px;padding:7px 4px 12px}
  .cs-swatch-disc{width:30px;height:30px}.cs-part .preset-color{min-height:63px}
  .cs-order #color-id-input{font-size:16px!important}.cs-footer{display:none}
}
@media (max-width:760px) and (max-height:700px) and (orientation:portrait) {
  .cs-header{height:calc(48px + env(safe-area-inset-top,0px))}
  .cs-brand-logo{width:48px;height:32px}
  .cs-stage-heading h1{font-size:23px}.cs-stage-heading p{display:none}
  .cs-render-wrap{margin-left:50px}
  .cs-summary{gap:5px}.cs-summary button{grid-template-columns:13px minmax(0,1fr);gap:5px}.cs-summary .cs-chip{width:13px;height:26px}.cs-summary strong{font-size:9px}
}
@media (max-width:1000px) and (max-height:500px) and (orientation:landscape) {
  .cs-header{height:calc(48px + env(safe-area-inset-top,0px))}
  .cs-brand-logo{width:48px;height:32px}
  .cs-workspace{flex-direction:row}
  .stage{flex:0 0 44%;width:44%!important;height:100%;padding:10px 16px 0}
  .cs-stage-heading{top:14px;left:16px}.cs-stage-heading h1{font-size:23px}.cs-stage-heading p{display:none}
  .cs-render-wrap{margin-left:64px}
  .cs-art .cs-arch{top:100px}.cs-art .cs-orbit{top:25px;left:calc(50% - 55px);width:175px;height:205px}
  .cs-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;min-height:70px}
  .sidebar{border-top:0;border-left:1px solid var(--cs-line)}
}
/* C: allow the taller cut-paper silhouette without increasing the header. */
.cs-brand-logo{height:62px}
@media(max-width:760px){.cs-brand-logo{height:48px}}
@media(max-width:760px) and (max-height:700px), (max-width:1000px) and (max-height:500px) and (orientation:landscape){.cs-brand-logo{height:40px}}

/* Desktop: reserve space for every action; only the colour library scrolls.
   Keep the existing paper/ink palette, type and product-led composition. */
@media (min-width:1001px), (min-width:761px) and (min-height:501px) {
  .cs-header{height:72px}
  .cs-brand-logo{width:62px;height:54px}
  .cs-workspace{height:calc(100vh - 72px);height:calc(100dvh - 72px)}
  .sidebar{position:relative;display:flex;flex-direction:column;min-height:0;padding:20px 28px 12px;overflow:hidden}
  .sidebar>h2{flex:none;font-size:21px;margin-bottom:3px}
  .cs-panel-intro{flex:none;margin-bottom:14px}
  #dynamic-controls{display:flex;flex-direction:column;flex:1;min-height:0;position:relative}
  .cs-model{flex:none}
  .cs-model .group-title{margin-bottom:6px}
  .cs-model select{min-height:38px;padding:9px 30px 9px 10px}
  .cs-model-note{font-size:10px;line-height:1.4;margin-top:5px}
  .cs-tabs{position:static;flex:none;padding:0;margin:12px 0 8px}
  .cs-tabs button{padding:8px 0 10px}
  .cs-part{display:flex;flex-direction:column;flex:1;min-height:75px}
  .cs-part>.control-row{flex:none;margin-bottom:5px}
  .cs-part>[id^="presets-"]{display:flex;flex-direction:column;flex:1;min-height:0}
  .cs-part .presets-container{flex:1;min-height:0;max-height:none;overflow-y:auto;align-content:start;gap:9px 7px;padding:7px 5px 10px;scrollbar-gutter:stable}
  .cs-part .preset-color{min-height:61px}
  .cs-part .preset-selection{flex:none;margin:4px 0 8px;padding-top:6px;font-size:11px}
  .cs-order{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin:0 0 8px;padding-top:10px}
  .cs-order label{font-size:10px;margin:0}
  .cs-order #color-id-input{min-width:0;padding:8px 10px!important}
  .cs-actions{flex:none}
  .cs-actions button{padding:10px 4px!important}
  .cs-export-status{flex:none;margin:6px 0;font-size:10px;line-height:1.4}
  .cs-platforms{flex:none;justify-content:space-between;gap:12px;padding:0 0 8px}
  .cs-advanced{flex:none;padding:7px 0}
  .cs-advanced>summary{cursor:pointer;align-items:center;min-height:22px;padding:0;line-height:22px}
  .cs-advanced[open]{position:absolute;bottom:0;left:-12px;right:-12px;z-index:12;max-height:min(80%,480px);overflow-y:auto;padding:12px;background:white;border:1px solid var(--cs-line);border-radius:6px;box-shadow:0 -8px 28px #19191914}
  .cs-advanced[open]>summary{position:sticky;top:-12px;background:white;padding:8px 0;border-bottom:1px solid var(--cs-line);z-index:1}
  .sidebar>.note{flex:none;font-size:9px;line-height:1.45;margin-top:4px}
}
@media (min-width:761px) and (min-height:501px) and (max-height:700px), (min-width:1001px) and (max-height:700px) {
  .sidebar{padding-top:12px;padding-bottom:8px}
  .sidebar>h2{font-size:18px}
  .cs-panel-intro{margin-bottom:8px;font-size:11px}
  .cs-tabs{margin-top:8px;margin-bottom:5px}
  .cs-tabs button{padding:6px 0 8px}
  .cs-order{padding-top:7px;margin-bottom:6px}
  .cs-part .preset-selection{margin-bottom:5px}
}
@media (min-width:761px) and (min-height:501px) and (max-height:620px), (min-width:1001px) and (max-height:620px) {
  .cs-panel-intro{display:none}
  .sidebar>h2{margin-bottom:10px}
}

/* Keep the established cloud + daydream identity until the new brand launches.
   The four-language workbench palette and 72/56/48px header heights stay intact. */
.cs-brand-name strong{color:#191919}
.cs-help{color:var(--cs-ink)}.cs-help button{background:var(--cs-ink)}

/* Language is a quiet utility, never a new row above the live mobile preview. */
body{font-family:"Avenir Next","Helvetica Neue","PingFang SC","Hiragino Sans","Apple SD Gothic Neo","Yu Gothic","Malgun Gothic",sans-serif}
.cs-header nav{gap:20px;flex-shrink:0}
.cs-language{width:100px;min-height:34px;padding:5px 20px 5px 9px;border:1px solid #e8e8e8;border-radius:5px;background-color:white;color:var(--cs-ink);font-size:12px;cursor:pointer}
.cs-stage-heading h1,.cs-stage-heading p{white-space:pre-line}
.cs-tabs button{line-height:1.3;overflow-wrap:normal}
.cs-summary button>span{min-width:0}
html[data-locale="en"] .cs-part .preset-name{overflow-wrap:normal;hyphens:auto}
html[data-locale="en"] .cs-part .preset-color{min-height:74px}
html[data-locale="en"] .cs-tabs button{font-size:11px}
html[data-locale="ja"] .cs-tabs button,html[data-locale="ko"] .cs-tabs button{font-size:11px}
html[data-locale="ja"] .cs-stage-heading h1,html[data-locale="ko"] .cs-stage-heading h1{font-size:clamp(30px,3.3vw,48px);line-height:1.2;letter-spacing:-1.5px}
html[data-locale="ja"] .cs-part .preset-name,html[data-locale="ko"] .cs-part .preset-name{font-size:10px}
@media(max-width:1100px){.cs-header .cs-preview-label{display:none}}
@media (max-width:760px), (max-width:1000px) and (max-height:500px){
  .cs-header{padding-left:16px;padding-right:16px;gap:10px}
  .cs-header nav{gap:10px}.cs-header button{font-size:11px;white-space:nowrap}
  .cs-language{width:83px;min-height:32px;font-size:11px;padding-left:7px;padding-right:13px}
  html[data-locale="ja"] .cs-stage-heading h1,html[data-locale="ko"] .cs-stage-heading h1{font-size:25px;line-height:1.24;letter-spacing:-1px}
  html[data-locale="en"] .cs-summary strong{font-size:9px;line-height:1.2}
  html[data-locale="en"] .cs-summary small{font-size:8px}
  .cs-platforms{flex-wrap:wrap;gap:10px}
}
@media(max-width:360px){
  .cs-header{padding-left:12px;padding-right:12px;gap:8px}.cs-header nav{gap:8px}
  .cs-wordmark{gap:6px}.cs-brand-logo{width:40px;height:34px}.cs-brand-name strong{font-size:18px}.cs-brand-name small{font-size:8px;letter-spacing:0}.cs-language{width:73px}
  .cs-tabs button{font-size:12px}html[data-locale="en"] .cs-tabs button{font-size:10px}
  html[data-locale="ja"] .cs-stage-heading h1,html[data-locale="ko"] .cs-stage-heading h1{font-size:21px}
}
@media (min-width:761px) and (min-height:501px) and (max-height:650px), (min-width:1001px) and (max-height:650px){
  .sidebar>h2{margin-bottom:6px}
  .cs-model select{min-height:34px;padding-top:6px;padding-bottom:6px}
  .cs-order #color-id-input{padding-top:6px!important;padding-bottom:6px!important}
  .cs-export-status{margin-top:4px;margin-bottom:4px}
  .cs-platforms{font-size:10px;gap:8px}
}
