:root{--paper:#f7f5f1;--ink:#302d31;--muted:#8a8076;--wine:#674453;--line:#e2dcd4;--gold:#a68b61;--serif:Georgia,'Times New Roman',serif}[hidden]{display:none!important}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--paper);color:var(--ink);font:13px/1.55 Arial,'Malgun Gothic','Noto Sans KR',sans-serif;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,#viewport:focus-visible{outline:2px solid var(--wine);outline-offset:4px}button{border:0;background:none}a{color:inherit;text-decoration:none}.header{height:83px;padding:0 32px;display:flex;align-items:center;border-bottom:1px solid var(--line);position:relative;z-index:10;background:var(--paper);gap:24px}.brand{display:flex;align-items:center;gap:13px;min-width:220px}.monogram{font:23px var(--serif);color:#947b58;border:1px solid #bba582;width:45px;height:45px;display:grid;place-items:center;letter-spacing:-2px;padding-right:2px}.brand strong{display:block;font-size:19px;font-weight:600;letter-spacing:.1em}.brand small{display:block;color:#9b8d7d;letter-spacing:.22em;font-size:8px;margin-top:2px}.edition{margin:auto;font-size:8px;color:#9a8b78;letter-spacing:.2em;display:flex;align-items:center;gap:10px}.edition i{width:5px;height:5px;border-radius:50%;background:#aa9472}.header-actions{display:flex;gap:22px;align-items:center;font-size:11px}.header-actions button{padding:8px 0;white-space:nowrap}.header-actions .save-button{border:1px solid #c9bba9;padding:10px 15px;font-size:11px}.save-button span{padding-left:18px;color:#9b8667}.layout{height:calc(100dvh - 83px);display:grid;grid-template-columns:minmax(0,1fr) 350px}.experience{min-width:0;min-height:0;display:flex;flex-direction:column;background:#e9e1d6}#viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;outline:0}#scene{display:block;width:100%;height:100%;cursor:grab;touch-action:none}#viewport.dragging #scene{cursor:grabbing}.scene-heading{position:absolute;left:36px;top:28px;pointer-events:none;transition:opacity .4s}.eyebrow{font-size:8px;font-weight:600;letter-spacing:.17em;color:#92785c}.scene-heading h1{font-size:34px;font-weight:400;line-height:1.35;letter-spacing:-.06em;margin:13px 0 12px;text-shadow:0 1px 12px #faf4e9}.scene-heading p{font-size:11px;color:#716358;margin:0}.focused .scene-heading{opacity:0}.camera-tools{position:absolute;right:22px;top:24px;display:flex;align-items:center;background:#fbf9f2df;backdrop-filter:blur(10px);padding:4px 6px;border:1px solid #dbd1c2;box-shadow:0 3px 16px #4c352214}.camera-tools button{font-size:20px;width:31px;height:31px;display:grid;place-items:center;line-height:1}.camera-tools span{height:18px;width:1px;background:#d8cec1;margin:0 5px}.camera-tools output{font-size:9px;color:#887560;min-width:38px;text-align:center}.scene-caption{position:absolute;bottom:20px;left:30px;right:30px;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.14em;color:#7d6b58;pointer-events:none}.scene-caption .camera-hint{letter-spacing:0;color:#827464;font-size:10px}.camera-hint b{padding:0 10px;font-weight:400}.object-dock{height:92px;background:#f8f6f1;display:flex;align-items:center;border-top:1px solid #d6cbbd;padding:0 22px;flex-shrink:0;gap:24px}.dock-intro{border-right:1px solid #d9d1c5;padding-right:25px;white-space:nowrap;display:flex;flex-direction:column;gap:3px}.dock-intro small{font-size:8px;color:#a58c6a;letter-spacing:.18em}.dock-intro span{font-size:11px}.targets{display:flex;justify-content:space-around;gap:6px;width:100%;height:76px;align-items:center;overflow-x:auto;scrollbar-width:none}.targets::-webkit-scrollbar{display:none}.target{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:65px;padding:10px 8px;border-bottom:2px solid transparent;font-size:10px;color:#776d62;transition:background .2s,color .2s}.target svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.15}.target[aria-pressed=true]{color:var(--wine);border-bottom-color:var(--wine);background:#eee7e7}.target:hover{background:#eeeae3}#hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;width:31px;height:31px;border-radius:50%;background:#f9f5eced;border:1px solid #ab9271;box-shadow:0 0 0 5px #f5eadb35,0 3px 10px #30221530;transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:auto;transition:background .2s,box-shadow .2s}.hotspot::before{content:'+';font-size:17px;font-weight:300;color:#8c7152;line-height:1}.hotspot[aria-pressed=true]{background:var(--wine);box-shadow:0 0 0 6px #faf5ea75}.hotspot[aria-pressed=true]::before{content:'✓';color:#fff;font-size:12px}.hotspot span{position:absolute;top:36px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#faf6efed;font-size:9px;color:#6b5946;padding:3px 7px;opacity:0;pointer-events:none;transition:opacity .2s}.hotspot:hover span,.hotspot:focus-visible span{opacity:1}.palette{background:var(--paper);border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;position:relative;z-index:8}.selection-head{padding:27px 27px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.selection-head .eyebrow{font-size:8px}.selection-head h2{font-size:23px;letter-spacing:-.06em;font-weight:500;margin:7px 0 0}.palette-content{padding:25px 27px 15px;overflow-y:auto;scrollbar-width:thin;flex:1}.step-label{display:flex;align-items:center;gap:7px;margin:0 0 13px}.step-label>span{font-size:9px;color:#a08761}.step-label h3{font-size:11px;font-weight:600;margin:0}.step-label>small{margin-left:auto;font-size:8px;letter-spacing:.07em;color:#9c8e7c}.fabric-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fabric-option{padding:12px 5px 11px;border:1px solid #dbd1c7;background:#fffdfa;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-height:65px}.fabric-option small{font-size:7px;letter-spacing:.09em;color:#a58f73}.fabric-option span{font-size:10px;white-space:nowrap;letter-spacing:-.05em}.fabric-option[aria-pressed=true]{background:var(--wine);color:#fff;border-color:var(--wine)}.fabric-option[aria-pressed=true] small{color:#ddc4cc}.fabric-description{font-size:10px;color:#795b6a;line-height:1.7;margin:13px 0 4px}.fabric-spec{font-size:9px;color:#a09485;margin:0}.color-step{margin-top:28px}.colors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 7px}.color{padding:0;min-width:0}.color i{display:block;width:100%;aspect-ratio:1.08;border:1px solid #00000018;box-shadow:inset 0 0 8px #ffffff15;border-radius:3px;position:relative;background:var(--swatch)}.color small{display:block;font-size:7px;color:#998d80;margin-top:4px;white-space:nowrap;letter-spacing:-.02em}.color[aria-pressed=true] i{outline:1.5px solid var(--wine);outline-offset:3px}.color[aria-pressed=true] i::after{content:'✓';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:15px;height:15px;border-radius:50%;background:#ffffffed;display:grid;place-items:center;font-size:9px;color:#6b495b}.selected-color{background:#eee9e2;border:1px solid #e5dcd2;margin-top:23px;padding:12px;display:flex;align-items:center;gap:11px}.selected-color>span{width:31px;height:37px;background:var(--wine);flex-shrink:0;border-radius:2px}.selected-color small{font-size:8px;color:#9d8c7a}.selected-color strong{display:block;font-size:10px;font-weight:400;margin-top:2px}.selected-color p{font-size:8px;color:#8e7b6c;margin:2px 0 0}.selected-color i{margin-left:auto;font-size:10px;font-style:normal;color:#95805e}.reference-card{display:flex;gap:12px;margin-top:24px;align-items:center}.reference-card>img{width:74px;height:57px;object-fit:cover;object-position:80% 50%;border:1px solid #e1d7ca}.reference-card small{font-size:7px;letter-spacing:.1em;color:#9e8c73}.reference-card p{font-size:9px;margin:4px 0;color:#857568}.reference-card button{font-size:9px;padding:0;color:#796071;border-bottom:1px solid #c8b4c0}.palette-actions{display:flex;gap:8px;margin-top:24px}.palette-actions button{padding:12px 5px;font-size:10px;background:var(--wine);color:#fff;flex:1}.palette-actions button:last-child{background:transparent;border:1px solid #cbbcae;color:#746351}.palette-actions span{margin-left:12px}.palette-note{font-size:8px;color:#ab9e90;line-height:1.8;margin:13px 0 0}.palette-footer{padding:15px 25px;border-top:1px solid var(--line);color:#9b8c7b;font-size:8px;display:flex;align-items:center;gap:7px}.status-dot{width:4px;height:4px;background:#998a6e;border-radius:50%}.palette-footer button{margin-left:auto;padding:0;border-bottom:1px solid #cebdac;color:#9b8c7b;font-size:8px}.mobile-palette-toggle{display:none}#loading{position:absolute;inset:0;background:#f1ece4;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:20;transition:opacity .5s}.loading-mark{font:36px var(--serif);color:#aa8e67;border:1px solid #bba582;width:80px;height:80px;display:grid;place-items:center}.loading-mark+p{color:#7b6a58;font-size:12px;margin-top:27px}#load-progress{font-size:9px;color:#b29f88}#notice{position:absolute;bottom:52px;left:50%;transform:translate(-50%,10px);background:#43383de8;color:#faf4e8;padding:11px 20px;max-width:90%;font-size:11px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none}#notice.show{opacity:1;transform:translate(-50%,0)}.touch-controls{display:none}dialog{border:1px solid #d0c0ae;background:#faf7f1;color:#3f3435;padding:43px;max-width:min(760px,calc(100vw - 30px));max-height:88dvh;overflow:auto;box-shadow:0 20px 100px #1f111348}dialog::backdrop{background:#2e222a80;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:18px;top:12px;font-size:25px;color:#8e796a;padding:5px}dialog h2{font-size:27px;font-weight:400;letter-spacing:-.05em;margin:10px 0}dialog>p{font-size:11px;color:#8b7b6c}dialog figure{margin:25px 0 0}dialog img{width:100%;display:block}dialog figcaption{font-size:10px;color:#8d7d6c;margin-top:10px}.help-row{padding:17px 0;border-bottom:1px solid #e4d8cb;display:grid;grid-template-columns:120px 1fr;gap:20px}.help-row b{font-size:12px;font-weight:500}.help-row p{margin:0;font-size:12px;color:#8d7b6b;line-height:1.9}.help-foot{line-height:1.9;margin-top:25px}body:has(dialog[open]) #viewport{pointer-events:none}@media(min-width:1600px){.layout{grid-template-columns:minmax(0,1fr) 370px}.palette-content{padding:31px}.selection-head{padding:30px 31px}.scene-heading{left:44px;top:37px}.scene-heading h1{font-size:39px}.object-dock{gap:30px;padding:0 30px}.target{min-width:75px}.colors{gap:13px 9px}.reference-card{margin-top:30px}}@media(max-width:1100px){.edition{display:none}.header{justify-content:space-between}.layout{grid-template-columns:minmax(0,1fr) 320px}.selection-head{padding:22px}.palette-content{padding:22px}.dock-intro{display:none}.object-dock{padding:0 12px}.targets{justify-content:flex-start;gap:3px}.target{min-width:62px}.scene-heading{left:22px;top:26px}.scene-heading h1{font-size:28px}.camera-tools{top:20px;right:16px}.scene-caption>span:last-child{display:none}}
@media(max-width:760px){.header{height:64px;padding:0 16px;gap:10px}.brand{min-width:0;gap:8px}.monogram{width:34px;height:34px;font-size:19px}.brand strong{font-size:15px;letter-spacing:.05em}.brand small{font-size:6px;letter-spacing:.15em}.header-actions{gap:14px;font-size:10px}.header-actions button{font-size:10px}.header-actions #help-open{display:none}.header-actions .save-button{padding:8px 10px;font-size:9px}.save-button span{padding-left:6px}.layout{height:calc(100dvh - 64px);grid-template-columns:1fr;grid-template-rows:minmax(240px,1fr) auto}.experience{position:relative;min-height:0}.object-dock{height:71px;padding:0 9px}.targets{height:64px;gap:3px;justify-content:flex-start}.target{padding:8px 8px 7px;min-width:62px;font-size:9px;gap:4px}.target svg{width:21px;height:21px}.palette{border-left:0;border-top:1px solid #cec0b0;max-height:39dvh}.selection-head{padding:12px 17px 10px;flex-shrink:0}.selection-head .eyebrow{font-size:6px;letter-spacing:.14em}.selection-head h2{font-size:18px;margin-top:3px}.mobile-palette-toggle{display:block;width:31px;height:31px;font-size:19px;color:#927960}.palette-content{padding:13px 17px 18px;display:grid;grid-template-columns:1fr;overflow:auto}.palette-footer{display:none}.step-label{margin:0 0 9px}.step-label h3{font-size:10px}.fabric-options{gap:7px}.fabric-option{min-height:48px;padding:7px 5px;gap:2px}.fabric-option span{font-size:10px}.fabric-option small{font-size:6px}.fabric-description{font-size:9px;margin:9px 0 2px}.fabric-spec{font-size:8px}.color-step{margin-top:17px}.colors{grid-template-columns:repeat(8,minmax(0,1fr));gap:10px 7px}.color i{aspect-ratio:1.1}.selected-color{margin-top:17px}.reference-card{margin-top:17px}.palette-actions{margin-top:18px}.palette-actions button{padding:11px 8px}.palette-note{margin-top:10px}.scene-heading{left:20px;top:20px}.scene-heading .eyebrow{font-size:6px}.scene-heading h1{font-size:27px;margin:8px 0}.scene-heading p{font-size:9px}.camera-tools{right:12px;top:15px;padding:2px}.camera-tools button{width:27px;height:27px;font-size:18px}.camera-tools output{min-width:30px;font-size:8px}.camera-tools #fullscreen,.camera-tools span{display:none}.scene-caption{bottom:11px;left:15px;right:15px;font-size:6px}.scene-caption .camera-hint{font-size:8px}.camera-hint b{padding:0 5px}.touch-controls{position:absolute;bottom:37px;left:15px;right:15px;display:flex;justify-content:space-between;pointer-events:none}.stick{width:57px;height:57px;background:#f6efe16b;border:1px solid #c9b89c99;border-radius:50%;position:relative;pointer-events:auto;touch-action:none;user-select:none}.stick i{display:block;width:25px;height:25px;position:absolute;left:15px;top:15px;background:#fff9e3a3;border:1px solid #b4a085;border-radius:50%;pointer-events:none}.stick>span{position:absolute;left:0;right:0;text-align:center;top:60px;font-size:7px;color:#7b654e}.hotspot{width:27px;height:27px;box-shadow:0 0 0 4px #f5eadb35,0 3px 10px #30221530}.hotspot::before{font-size:15px}.collapsed .palette-content{display:none}.collapsed .selection-head{padding:11px 17px}.collapsed .mobile-palette-toggle{transform:rotate(180deg)}.palette.collapsed{max-height:72px}.help-row{grid-template-columns:1fr;gap:5px;padding:14px 0}dialog{padding:32px 24px}dialog h2{font-size:25px}dialog figcaption{font-size:9px}#notice{font-size:10px;padding:9px 13px;bottom:30px}}
@media(max-height:650px) and (orientation:landscape){.header{height:55px}.layout{height:calc(100dvh - 55px);grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:1fr}.palette{max-height:none;border-left:1px solid #ddd0c0}.object-dock{height:65px}.palette-content{display:block}.selection-head{padding:14px 20px}.palette-note{display:none}.scene-heading h1{font-size:24px}.touch-controls{bottom:36px}.stick{width:48px;height:48px}.stick i{left:11px;top:11px}.stick span{top:50px}}
.curtain-control{position:absolute;left:28px;bottom:53px;background:#f8f2e7e8;border:1px solid #cbb79d;padding:9px 14px;font-size:10px;color:#7f654b;backdrop-filter:blur(8px)}@media(max-width:760px){.curtain-control{left:15px;bottom:115px;padding:7px 11px;font-size:9px}}
.scene-heading{left:29px;top:22px}.scene-heading h1{font:19px Georgia,'Times New Roman',serif;letter-spacing:.12em;margin:6px 0 0;text-shadow:none}.scene-heading p{display:none}.scene-heading .eyebrow{font-size:6px;letter-spacing:.18em}.camera-tools{box-shadow:none}.hotspot{width:22px;height:22px;border-color:#a98b65;background:#fbf7eeec;box-shadow:0 0 0 3px #f7f0e533,0 1px 5px #271b1326}.hotspot::before{font-size:14px}.hotspot[aria-pressed=true]{box-shadow:0 0 0 3px #faf5ea66}.hotspot[aria-pressed=true]::before{font-size:9px}.hotspot span{top:29px}.selection-head>div{min-width:0;flex:1}.focus-selected{border:1px solid #c9b7a3;color:#8e7357;font-size:9px;padding:8px 9px;margin-left:10px;white-space:nowrap;flex-shrink:0}.selection-head h2{font-size:21px}.object-dock{height:84px}.target[aria-pressed=true]{background:#eee8e6}.palette-actions button{transition:background .15s}.palette-actions button:hover{background:#795b69;color:#fff}.palette-actions button:last-child:hover{background:#e9e1d7;color:#6b5545}
@media(min-width:761px){.curtain-control{bottom:20px;background:transparent;backdrop-filter:none}.scene-caption{left:210px;bottom:28px;justify-content:flex-end}.scene-caption>span:first-child{display:none}.scene-caption .camera-hint{margin-right:auto}}
@media(max-width:760px){.scene-heading{left:16px;top:14px}.scene-heading h1{font-size:13px;letter-spacing:.09em}.scene-heading .eyebrow{font-size:5px}.camera-tools{top:12px}.object-dock{height:69px}.palette{max-height:49dvh}.selection-head h2{font-size:16px}.focus-selected{font-size:8px;padding:7px;margin-left:6px}.mobile-palette-toggle{margin-left:6px;flex-shrink:0}.hotspot{width:20px;height:20px}.hotspot::before{font-size:13px}.hotspot[data-object=teddy]{width:17px;height:17px}.hotspot[data-object=teddy]::before{font-size:11px}}
@media(max-height:650px) and (orientation:landscape){.palette{max-height:none}.object-dock{height:65px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.scene-heading{display:none}}
#sticks-toggle{display:none}@media(max-width:760px),(max-height:650px) and (orientation:landscape){#sticks-toggle{display:grid}body:not(.sticks-on) .touch-controls{display:none}#sticks-toggle[aria-pressed=true]{color:var(--wine)}.scene-caption>span:first-child{display:none}}
/* 2026-10-28 Claude: curtain switch sits with the camera tools (top right), actions on top of the palette */
.camera-tools .curtain-control{position:static;display:inline-flex;width:auto;height:auto;line-height:1.2;align-items:center;gap:6px;background:var(--wine);color:#fff;border:0;padding:7px 13px;margin-right:6px;font-size:11px;letter-spacing:.02em;white-space:nowrap;backdrop-filter:none;box-shadow:0 2px 10px #3a1c2a40}
.camera-tools .curtain-control::before{content:'';width:9px;height:11px;border:1.5px solid #f3dfe7;border-top-width:3px;border-radius:1px;opacity:.9}
.camera-tools .curtain-control:hover{background:#7b5566}.camera-tools .curtain-control[aria-pressed=true]{background:#fff;color:var(--wine);box-shadow:inset 0 0 0 1px var(--wine)}.camera-tools .curtain-control[aria-pressed=true]::before{border-color:var(--wine)}
.palette-actions.top{margin:0 0 6px}.palette-note.top{margin:0 0 22px}
@media(max-width:760px){.camera-tools .curtain-control{padding:6px 9px;font-size:10px;margin-right:2px;bottom:auto;left:auto}.palette-note.top{margin-bottom:14px}}
/* 2026-10-28 Claude: phone layout — the room gets most of the screen; the palette is a compact sheet with one row of colours */
@media(max-width:760px) and (orientation:portrait),(max-width:520px){
.header{height:52px;padding:0 14px}.monogram{width:30px;height:30px;font-size:16px}.brand strong{font-size:14px}.brand small{font-size:6px}
.header-actions{gap:12px}.header-actions button{font-size:11px}.header-actions .save-button{padding:7px 10px;font-size:10px}
.layout{height:calc(100dvh - 52px);grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
.experience{min-height:0}#viewport{min-height:240px}
.object-dock{height:58px;padding:0 6px}.targets{height:56px;gap:0}.target{min-width:56px;padding:6px 6px 5px;font-size:9.5px;gap:3px}.target svg{width:20px;height:20px}
.palette{max-height:min(270px,40dvh);border-top:1px solid #d9cdbf}
.selection-head{padding:8px 14px 6px}.selection-head .eyebrow{font-size:6.5px}.selection-head h2{font-size:15px;margin-top:1px}
.mobile-palette-toggle{width:28px;height:28px;font-size:17px}
.palette-content{padding:6px 14px 12px;display:block}
.palette-actions.top{margin:0 0 10px;gap:6px}.palette-actions.top button{padding:8px 4px;font-size:10.5px}.palette-note.top{display:none}
.step-label{margin:0 0 6px}.step-label h3{font-size:10px}.step-label>small{font-size:7px}
.fabric-options{gap:6px}.fabric-option{min-height:36px;padding:4px 3px;gap:1px}.fabric-option span{font-size:10px}.fabric-option small{font-size:6px}
.fabric-description{display:none}.fabric-spec{font-size:8.5px;margin:5px 0 0}
.color-step{margin-top:10px}
.colors{display:flex;overflow-x:auto;gap:8px;padding:2px 2px 6px;scrollbar-width:none;scroll-snap-type:x proximity}.colors::-webkit-scrollbar{display:none}
.color{flex:0 0 38px;scroll-snap-align:start}.color i{aspect-ratio:1;border-radius:4px}.color small{font-size:7px;text-align:center}
.selected-color,.reference-card{display:none}
.palette.collapsed{max-height:46px}
.camera-tools{top:8px;right:8px;padding:2px 3px}.camera-tools button{width:26px;height:26px;font-size:16px}.camera-tools output{display:none}
.camera-tools .curtain-control{padding:5px 8px;font-size:9.5px;margin-right:2px}.camera-tools .curtain-control::before{width:7px;height:9px}
.scene-caption{bottom:6px;left:10px;right:10px}.scene-caption .camera-hint{font-size:8px;color:#fffaf0;text-shadow:0 1px 4px #0008}
.hotspot{width:18px;height:18px}.hotspot::before{font-size:12px}
.touch-controls{bottom:22px}
#notice{bottom:16px}
}
@media(max-width:760px) and (orientation:portrait),(max-width:520px){.layout{grid-template-columns:minmax(0,1fr)}.palette,.palette-content,.experience{min-width:0;max-width:100vw}.palette{overflow:hidden}}
.target span{white-space:nowrap}@media(max-width:760px) and (orientation:portrait),(max-width:520px){.target{min-width:58px;padding-left:4px;padding-right:4px;letter-spacing:-.03em}}
.header-actions{margin-left:auto}
/* 2026-11-01 Claude: fabric swatches — each type shows the same wine colour in its own fabric, every colour is a real swatch tile */
.fabric-option{padding:6px 6px 9px;justify-content:flex-start}
.fabric-sample{display:block;width:100%;aspect-ratio:3/2;background:#5a0d1c url(./assets/swatches/types.webp) 0 0/300% 100%;border-radius:2px;box-shadow:inset 0 0 0 1px #0000001a;margin-bottom:3px}
.fabric-option[aria-pressed=true] .fabric-sample{box-shadow:0 0 0 1.5px #fff}
.fabric-compare{font-size:8.5px;color:#a09485;margin:7px 0 0;text-align:center;letter-spacing:-.01em}
.colors{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px 8px}
.color i{aspect-ratio:4/3;box-shadow:inset 0 0 0 1px #00000014}
.color small{text-align:center}
.swatch-note{font-size:8.5px;color:#a09485;line-height:1.7;margin:12px 0 0}
.selected-color>span{width:56px;height:42px}
@media(min-width:1600px){.colors{gap:13px 9px}}
@media(max-width:760px) and (orientation:portrait),(max-width:520px){
.fabric-option{min-height:0;padding:3px 3px 4px}.fabric-sample{aspect-ratio:3/1;margin-bottom:1px}
.fabric-compare{font-size:7.5px;margin-top:4px}
.color{flex:0 0 44px}.color i{aspect-ratio:4/3}
.swatch-note{font-size:7.5px;margin-top:4px;line-height:1.5}
}
/* 2026-11-01 Claude: embedded on the home page the salon can be shorter than a phone screen — keep the target menu whole */
@media(max-width:760px) and (orientation:portrait) and (max-height:640px){#viewport{min-height:170px}.palette{max-height:min(250px,38dvh)}}
