@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Gowun+Dodum&display=swap');
:root{font-family:'DM Sans','Gowun Dodum',system-ui,sans-serif;color:#344e66;background:#f7fbff;font-synthesis:none;--ink:#344e66;--muted:#70889d;--blue:#4d87b4;--line:#deE9f1;--panel:#fff;--radius:24px}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button{cursor:pointer}button{border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.3}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,#viewport:focus-visible{outline:3px solid #518ebc;outline-offset:4px}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center}.topbar{height:100px;display:flex;align-items:center;padding:0 40px;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;flex-direction:column;align-items:center;min-width:190px}.brand-word{font-family:Georgia,serif;font-size:35px;letter-spacing:-1.8px;color:#5895c5;line-height:1.1;font-weight:bold}.brand-star{font-family:serif;font-size:26px;display:inline-block;margin-left:7px;vertical-align:top;line-height:.8;letter-spacing:0}.brand-caption{font-size:10px;letter-spacing:3.3px;margin-top:7px;color:#6286a2}.top-note{margin-left:24px;font-size:14px;color:var(--muted)}.header-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.quiet,.primary{height:44px;padding:0 18px;border-radius:13px;display:flex;gap:9px;align-items:center;font-size:14px}.quiet{background:white;border:1px solid var(--line)}.primary{background:#4b80aa;color:#fff;box-shadow:0 4px 12px #4679a019}.primary:hover{background:#3b709c}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;margin:26px 36px 0;min-height:610px;height:calc(100dvh - 185px)}.stage{min-width:0;position:relative;overflow:hidden;border-radius:var(--radius);background:radial-gradient(ellipse at 46% 37%,#fff 0%,#edf7ff 44%,#dcecfb 100%);border:1px solid #dce9f5;isolation:isolate}.stage-heading{position:absolute;z-index:2;left:30px;right:28px;top:28px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.eyebrow{font-size:10px;font-weight:600;letter-spacing:1.7px;color:#7593ab;line-height:1.6}.stage h1{font-family:'Gowun Dodum',sans-serif;font-size:24px;font-weight:400;letter-spacing:-.8px;margin:8px 0}.stage-heading p{font-size:14px;margin:7px 0;color:#7b96ad}.stage-tag{padding:7px 12px;border:1px solid #d6e5f2;background:#f8fcffb3;border-radius:20px;font-size:12px;color:#6d91ad;white-space:nowrap}.stage #viewport{position:absolute;inset:95px 0 25px;touch-action:none;outline-offset:-5px}canvas{display:block;width:100%;height:100%;touch-action:none}#loading{position:absolute;inset:0;display:grid;place-content:center;font-size:15px;color:#6d91ad;pointer-events:none}.view-controls{position:absolute;top:151px;left:25px;z-index:2;display:flex;flex-direction:column;gap:5px;padding:6px;background:#ffffffc9;border:1px solid #fff;border-radius:17px;box-shadow:0 5px 18px #739cb712;backdrop-filter:blur(10px)}.icon-button{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:10px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#e9f3fc}.icon-button[aria-pressed=true]{background:#d4e9fb;color:#3678ab}.divider{height:1px;margin:4px;background:var(--line)}.reference-peek{position:absolute;bottom:65px;left:25px;width:130px;transform:rotate(-4deg)}.reference-peek button{display:block;padding:7px 7px 9px;background:#fff;border-radius:11px;box-shadow:0 5px 20px #57799619;width:100%;transition:transform .2s}.reference-peek button:hover{transform:rotate(4deg) translateY(-3px)}.reference-peek img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;display:block}.reference-peek span{font-size:10px;display:flex;justify-content:space-between;margin-top:6px;align-items:center;color:#718ba0}.reference-peek span span{font-size:16px;margin:0}.stage-bottom{position:absolute;bottom:22px;left:28px;right:28px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#7e99ae;pointer-events:none}.gesture{display:flex;align-items:center;gap:6px}.gesture svg{width:16px;height:16px}.palette-panel{padding:9px 0 0;display:flex;flex-direction:column;min-height:0}.panel-title{display:flex;align-items:center;justify-content:space-between;margin:1px 0 23px}.panel-title .eyebrow{font-size:9px;letter-spacing:1.3px}.panel-title h2{font-family:'Gowun Dodum',sans-serif;font-size:23px;font-weight:400;margin:6px 0 0;letter-spacing:-.5px}.info-button{color:#9ab1c3}.palette-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:5px;background:#eaf1f7;border-radius:13px}.palette-tabs button{padding:10px 2px;font-size:13px;white-space:nowrap;border-radius:9px;color:#7c8f9f}.palette-tabs button[aria-pressed=true]{background:white;color:#426985;box-shadow:0 2px 6px #648db31c}.palette-label{display:flex;align-items:center;justify-content:space-between;margin:24px 0 16px;font-size:14px}.palette-label strong{font-weight:500}.palette-label span{font-size:11px;letter-spacing:.6px;color:#97aabc}.swatches{display:grid;grid-template-columns:repeat(4,1fr);row-gap:15px;column-gap:7px}.swatch{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px;color:#778d9f;padding:0 0 2px}.swatch-dot{width:46px;height:46px;display:grid;place-content:center;border-radius:50%;background:var(--swatch);border:1px solid #28496712;box-shadow:inset 0 2px 4px #ffffff60;position:relative;transition:transform .16s}.swatch[aria-pressed=true] .swatch-dot:after{content:'';position:absolute;inset:-5px;border:1.5px solid #73a0c4;border-radius:50%}.swatch-dot svg{width:16px;height:16px;stroke:#44657a;stroke-width:2}.swatch:hover .swatch-dot{transform:translateY(-2px)}.current-color{display:flex;align-items:center;gap:12px;padding:14px;background:white;border:1px solid var(--line);border-radius:14px;margin-top:23px}.color-input-wrap{width:35px;height:35px;overflow:hidden;border-radius:10px;border:1px solid #3c586d17;flex-shrink:0;cursor:pointer}input[type=color]{display:block;width:55px;height:55px;padding:0;margin:-10px;border:0;cursor:pointer}.current-color div{display:flex;flex-direction:column;gap:5px}.current-color div span{font-size:10px;color:#839aaa}.current-color strong{font-size:13px;font-weight:500}.current-color code{font-size:11px;color:#8aa0b1;margin-left:auto}.fill-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 10px;border:1px solid #d3e3f0;border-radius:12px;background:#edf5fc;font-size:13px;color:#5d84a2;margin-top:12px;transition:background .2s}.fill-button:hover{background:#ddecf8}.fill-button svg{width:17px}.part-tools{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.part-tools label{display:block;font-size:12px;color:#7a91a4;margin-bottom:9px}.part-input-row{display:flex;gap:8px}.part-input-row select{min-width:0;flex:1;border:1px solid var(--line);background:#fff;border-radius:10px;color:#4f6d84;padding:10px 9px;font-size:13px}.paint-part{background:#ddebf7;border-radius:10px;padding:0 14px;font-size:13px}.finish-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7a91a4;margin-top:20px;gap:8px}.segmented{display:flex;border:1px solid var(--line);border-radius:9px;padding:3px;background:#fff}.segmented button{font-size:11px;padding:7px;border-radius:6px}.segmented button[aria-pressed=true]{background:#e8f2fa;color:#4c7b9e}.panel-footer{margin-top:auto;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:8px}.text-button{padding:4px 0;display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#7994aa}.text-button svg{width:14px;height:14px}.text-button:hover{text-decoration:underline}.save-note{font-size:10px;color:#99aab8}.footer{display:flex;align-items:center;justify-content:space-between;margin:20px 40px;font-size:10px;color:#91a7b9;gap:20px}.footer>span:first-child{font-family:Georgia,serif;font-style:italic;font-size:13px}.toast{position:fixed;z-index:20;left:50%;bottom:32px;transform:translate(-50%,20px);padding:13px 22px;background:#3d6381;color:white;border-radius:13px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 6px 24px #3c618333;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dce8f2;border-radius:24px;padding:27px;max-width:490px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;color:var(--ink);background:#fbfdff;box-shadow:0 24px 100px #1c46652e}dialog::backdrop{background:#2d4f6970;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.dialog-header h2{font-family:'Gowun Dodum',sans-serif;font-size:21px;font-weight:400;margin:5px 0 0}.reference-large{width:100%;border-radius:16px;display:block}dialog p{font-size:14px;line-height:1.8;color:#738b9d}.download-reference{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:13px;background:#e8f2fa;border-radius:10px}.palette-story{display:flex;gap:16px;align-items:center}.palette-story img{width:104px;height:125px;object-fit:cover;border-radius:12px}.palette-story p{font-size:13px;line-height:1.7;margin:0}.story-row{margin-top:20px;display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px}.story-colors{display:flex;gap:4px}.story-colors span{display:block;width:23px;height:23px;border-radius:50%;border:1px solid #38516b12}.dialog-note{border-top:1px solid var(--line);padding-top:16px;margin-bottom:0;font-size:12px}#paint-pulse{position:absolute;width:32px;height:32px;border:2px solid #87b5d3;border-radius:50%;pointer-events:none;opacity:0;z-index:5}.paint-pulse.pop{animation:paint .45s ease-out}@keyframes paint{from{opacity:1;transform:translate(-50%,-50%) scale(.2)}to{opacity:0;transform:translate(-50%,-50%) scale(1.6)}}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 350px;gap:38px;margin-left:50px;margin-right:50px}.palette-panel{padding-top:16px}.swatch-dot{width:52px;height:52px}.palette-label{margin-top:30px}.swatches{row-gap:22px}.topbar{padding:0 50px}.stage-heading{left:38px;top:32px}.stage h1{font-size:28px}}
@media(max-height:850px) and (min-width:801px){.workspace{height:auto;min-height:620px}.panel-title{margin-bottom:16px}.palette-label{margin-top:18px}.swatches{row-gap:11px}.part-tools{margin-top:18px;padding-top:16px}.current-color{margin-top:17px}.finish-row{margin-top:15px}}
@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 288px;gap:20px;margin:20px 24px 0}.topbar{padding:0 24px}.top-note{display:none}.stage h1{font-size:21px}.stage-tag{display:none}.stage-heading{left:23px}.gesture{display:none}.reference-peek{width:100px;left:20px}.footer{margin-left:24px;margin-right:24px}.stage #viewport{inset:108px 0 25px}.swatch-dot{width:43px;height:43px}}
@media(max-width:800px){.topbar{height:78px;padding:0 18px;gap:12px}.brand{min-width:0;align-items:flex-start}.brand-word{font-size:28px}.brand-star{font-size:20px}.brand-caption{font-size:8px;letter-spacing:2.6px;margin-left:5px;margin-top:4px}.header-actions{gap:7px}.quiet,.primary{padding:0 12px;height:38px;border-radius:11px;font-size:12px}.quiet>span:last-child{display:none}.workspace{display:flex;flex-direction:column;gap:0;height:auto;min-height:0;margin:14px 14px 0}.stage{height:clamp(390px,54dvh,600px);border-radius:20px}.stage-heading{left:20px;top:19px;right:20px}.stage h1{font-size:20px;margin-top:5px}.eyebrow{font-size:9px;letter-spacing:1.2px}.stage-heading p{font-size:12px;margin-top:4px}.stage #viewport{inset:78px 0 15px}.view-controls{flex-direction:row;top:auto;left:auto;right:14px;bottom:15px;border-radius:13px;gap:1px;padding:4px}.view-controls .divider{width:1px;height:22px;margin:auto 3px}.icon-button{width:32px;height:32px}.icon-button svg{width:17px;height:17px}.reference-peek{width:69px;bottom:60px;left:15px}.reference-peek button{padding:4px;border-radius:8px}.reference-peek span{display:none}.stage-bottom{left:17px;bottom:27px;font-size:10px;right:auto}.palette-panel{padding:24px 9px 15px}.panel-title{margin-bottom:16px}.panel-title .eyebrow{display:none}.panel-title h2{font-size:21px;margin:0}.palette-tabs{gap:6px}.palette-tabs button{font-size:13px;padding:9px 2px}.palette-label{margin:20px 0 17px}.swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.swatch-dot{width:32px;height:32px}.swatch{font-size:9px;gap:9px;white-space:nowrap}.swatch[aria-pressed=true] .swatch-dot:after{inset:-4px}.current-color{margin-top:20px;padding:12px}.current-color div{flex-direction:row;gap:10px;align-items:center}.fill-button{padding:12px;font-size:13px}.part-tools{margin-top:20px;padding-top:18px}.part-tools label{font-size:13px}.part-input-row select{padding:11px}.finish-row{margin-top:18px}.panel-footer{padding-top:22px}.footer{padding:12px 0 20px;border-top:1px solid var(--line);margin:0 24px;flex-wrap:wrap;font-size:9px;gap:12px}.footer>span:first-child{display:none}.footer .text-button{font-size:10px}.toast{bottom:24px}.reference-large{max-height:58dvh;object-fit:contain}.dialog-header h2{font-size:19px}dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.eyebrow,.panel-title .eyebrow,.brand-caption,.stage-tag,.palette-label span,.swatch,.current-color div span,.current-color code,.save-note,.text-button,.footer,.reference-peek span,.stage-bottom,.dialog-note{font-size:12px}.palette-tabs button,.palette-label,.current-color strong,.fill-button,.part-tools label,.part-input-row select,.paint-part,.finish-row,.segmented button{font-size:14px}.stage-heading p,dialog p{font-size:16px}.palette-panel{overflow-y:auto;scrollbar-width:thin}.palette-story p{font-size:14px}.panel-title .eyebrow{letter-spacing:1px}.reference-peek{width:136px}.reference-peek span{font-size:12px}.brand-caption{letter-spacing:2.6px}.stage h1{line-height:1.5}
@media(max-width:1100px){.reference-peek{width:102px}.reference-peek span{font-size:10px}}
@media(max-width:800px){.brand-caption{font-size:10px}.swatches{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 12px}.swatch-dot{width:42px;height:42px}.swatch{font-size:12px}.reference-peek{width:69px}.stage-heading p{font-size:14px}.stage-heading .eyebrow{font-size:10px}.stage-bottom{font-size:12px}.panel-footer{flex-wrap:wrap}.palette-panel{overflow:visible}.footer,.footer .text-button{font-size:12px}.current-color div{flex-direction:column;align-items:flex-start;gap:4px}.palette-tabs button{font-size:13px}.stage #viewport{inset:93px 0 15px}}
.model-library{margin:20px 36px 0;display:flex;align-items:center;gap:20px}.library-label{font-size:14px;color:#68869e}.scene-tabs{display:flex;gap:10px}.scene-card{display:flex;align-items:center;gap:12px;padding:8px 16px 8px 8px;background:#fff;border:1px solid #dce8f2;border-radius:14px;min-width:176px;text-align:left}.scene-card[aria-pressed=true]{border-color:#8bb9dc;background:#eaf4fe;box-shadow:0 0 0 2px #dceaf7}.scene-card img{width:43px;height:43px;object-fit:cover;border-radius:8px;background:#fff}.scene-card span{display:flex;flex-direction:column;gap:4px}.scene-card small{font-size:12px;color:#86a1b6}.scene-card strong{font-size:14px;font-weight:500;color:#456c8a}.library-note{font-size:12px;color:#8ca3b4;margin-left:auto}.workspace{margin-top:18px;height:calc(100dvh - 267px)}.reference-credit{font-size:12px;color:#97a8b6}.reference-large{max-height:55dvh;object-fit:contain;background:white}.palette-story img{object-fit:contain;background:white}.reference-peek img{object-fit:contain;background:white}
@media(max-width:1100px){.model-library{margin-left:24px;margin-right:24px}.library-note{display:none}}
@media(max-width:800px){.model-library{margin:14px 14px 0;gap:8px}.library-label{display:none}.scene-tabs{width:100%;gap:10px}.scene-card{min-width:0;flex:1;gap:9px;padding:7px 9px}.scene-card img{width:36px;height:36px}.scene-card strong{font-size:13px}.scene-card small{font-size:11px}.workspace{height:auto;margin-top:14px}.reference-large{max-height:53dvh}.reference-credit{font-size:12px;overflow-wrap:anywhere}}
