/* Gallery Walk studio. The 3D view is clean: nothing is drawn over it. Every control lives in the bar above it.
   Uses the site's own ivory, ink and cognac; hairline rules; large touch targets. */
.gw { --gw-paper: #f4f0e7; --gw-ivory: #fbf8f1; --gw-ink: #142a3a; --gw-ink2: #254357; --gw-cognac: #a8572a; --gw-brass: #b58a52; --gw-muted: #5b6770; --gw-line: rgba(20, 42, 58, .18);
  width: min(1320px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0 64px; color: var(--gw-ink); font-family: var(--font-primary, Inter, system-ui, sans-serif); }
.gw *, .gw *::before, .gw *::after { box-sizing: border-box; }
.gw-kicker { margin: 0 0 4px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gw-cognac); font-weight: 600; }
.gw h1 { margin: 0 0 4px; font-family: var(--font-display, Outfit, sans-serif); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -.03em; color: var(--gw-ink); }
.gw-lede { margin: 0 0 14px; max-width: 78ch; font-size: 1rem; line-height: 1.6; color: var(--gw-ink2); }

.gw-tool { display: flex; flex-direction: column; gap: 0; }
.gw-bar { background: var(--gw-ivory); border: 1px solid var(--gw-line); border-bottom: 0; }
.gw-bar-top { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 6px 12px; border-bottom: 1px solid var(--gw-line); min-width: 0; }
.gw-cameras { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.gw-cameras button { min-height: 44px; padding: 8px 14px; background: #fff; border: 1px solid var(--gw-line); color: var(--gw-ink); font: 500 .88rem/1.1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
.gw-cameras button[aria-pressed="true"] { background: var(--gw-ink); color: #fff; border-color: var(--gw-ink); }
.gw-cameras button:hover { border-color: var(--gw-ink); }
.gw-bar-actions { display: flex; gap: 8px; flex: none; }
.gw-explore { display: none; }
.gw-savetop { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; background: var(--gw-cognac); color: #fff; border: 0; font: 600 .9rem/1.1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
.gw-savetop:hover { text-decoration: underline; text-underline-offset: 4px; }
.gw-savetop:focus-visible { outline: 3px solid var(--gw-ink); outline-offset: 2px; }
.gw-fine-wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; flex-basis: 100%; }
.gw-fine-wrap[hidden] { display: none; }
.gw-finebtn { align-self: center; }

.gw-stage { position: relative; background: #e8e2d6; border: 1px solid var(--gw-line); aspect-ratio: 16 / 9; min-height: 460px; max-height: 80vh; overflow: hidden; }
.gw-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; outline-offset: -4px; }
.gw-stage canvas.dragging { cursor: grabbing; }
.gw-stage canvas:focus-visible { outline: 3px solid var(--gw-cognac); }
.gw-fallback { display: none; position: absolute; inset: 0; background: #e8e2d6; overflow: hidden; }
.gw-fallback img { width: 100%; height: calc(100% - 4.5rem); object-fit: cover; display: block; }
.gw-fallback p { margin: 0; padding: 14px 18px; background: var(--gw-ivory); font-size: .95rem; line-height: 1.55; }
.gw-nogl .gw-fallback, .no-webgl .gw-fallback { display: block; }
.gw-nogl canvas, .gw-nogl .gw-loading { display: none; }
.gw-loading { position: absolute; inset: auto 0 50% 0; text-align: center; margin: 0; color: var(--gw-muted); font-size: .95rem; pointer-events: none; }
.gw-ready .gw-loading { display: none; }
.gw-still { display: none; }
.gw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gw-story { padding: 14px 18px; background: var(--gw-ivory); border: 1px solid var(--gw-line); border-top: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: start; }
.gw-story[hidden] { display: none; }
.gw-story-tag { grid-column: 1; margin: 0; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gw-cognac); font-weight: 600; }
.gw-story-title { grid-column: 1; margin: 0; font-family: var(--font-display, Outfit, sans-serif); font-size: 1.2rem; font-weight: 600; color: var(--gw-ink); }
.gw-story-text { grid-column: 1; margin: 4px 0 0; font-size: .95rem; line-height: 1.55; color: var(--gw-ink2); max-width: 70ch; }
.gw-spec { grid-column: 1; margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .86rem; }
.gw-spec dt { color: var(--gw-muted); } .gw-spec dd { margin: 0; color: var(--gw-ink); }
.gw-story-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 14px; align-items: center; }
.gw-journey { display: none; }
.gw-caption { display: none; }

/* Controls */
.gw-panel { background: var(--gw-ivory); }
.gw-tabs { display: flex; border-bottom: 1px solid var(--gw-line); overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
.gw-tab { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border: 0; background: none; font: 600 .88rem/1 var(--font-primary, Inter, sans-serif); color: var(--gw-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.gw-tab[aria-selected="true"] { color: var(--gw-ink); border-bottom-color: var(--gw-cognac); }
.gw-tab:focus-visible, .gw-btn:focus-visible, .gw-segbtn:focus-visible, .gw-mini:focus-visible, .gw-link:focus-visible, .gw-cameras button:focus-visible, .gw-objects button:focus-visible, .gw-explore:focus-visible, .gw-panel select:focus-visible, .gw-panel input[type=range]:focus-visible { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-pane { padding: 8px 14px 2px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: flex-start; }
.gw-pane[hidden] { display: none; }
.gw-panel.gw-collapsed .gw-pane { display: none; }
.gw-field { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
.gw-field legend, .gw-legend { margin: 0 0 4px; padding: 0; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gw-muted); font-weight: 600; }
.gw-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-swatch { position: relative; display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 4px 12px 4px 4px; border: 1px solid var(--gw-line); background: #fff; cursor: pointer; font-size: .86rem; }
.gw-swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-chip { width: 34px; height: 34px; flex: none; border: 1px solid rgba(20, 42, 58, .25); }
.gw-chips { display: flex; flex: none; }
.gw-chips .gw-chip { width: 22px; height: 34px; border-radius: 0; margin-right: -1px; }
.gw-swatch:has(input:checked) { border-color: var(--gw-ink); box-shadow: inset 0 0 0 1px var(--gw-ink); }
.gw-swatch:has(input:focus-visible) { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-name { line-height: 1.2; }
.gw-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-segitem, .gw-segbtn { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--gw-line); background: #fff; font: 500 .86rem/1.15 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); cursor: pointer; }
.gw-segitem input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gw-segitem:has(input:checked), .gw-segbtn[aria-pressed="true"] { background: var(--gw-ink); color: #fff; border-color: var(--gw-ink); }
.gw-segitem:has(input:focus-visible) { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--gw-ink); background: #fff; color: var(--gw-ink); font: 600 .92rem/1.2 var(--font-primary, Inter, sans-serif); cursor: pointer; margin: 0 8px 8px 0; }
.gw-btn[aria-pressed="true"] { background: var(--gw-ink); color: #fff; }
.gw-primary { background: var(--gw-cognac); border-color: var(--gw-cognac); color: #fff; }
.gw-ghost { border-color: var(--gw-line); font-weight: 500; }
.gw-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.gw-link { background: none; border: 0; padding: 8px 2px; color: var(--gw-ink2); font: 500 .9rem/1.2 var(--font-primary, Inter, sans-serif); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gw-switch { display: flex; gap: 12px; align-items: center; min-height: 48px; position: relative; cursor: pointer; }
.gw-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gw-track { width: 42px; height: 24px; border-radius: 12px; background: #b9c0c4; position: relative; flex: none; transition: background .2s; }
.gw-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.gw-switch input:checked + .gw-track { background: var(--gw-ink); }
.gw-switch input:checked + .gw-track::after { transform: translateX(18px); }
.gw-switch:has(input:focus-visible) .gw-track { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-swtext { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; }
.gw-swtext small { color: var(--gw-muted); font-size: .78rem; }
.gw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.gw-sun { min-width: min(100%, 340px); }
.gw-panel select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--gw-line); background: #fff; font: 500 .9rem var(--font-primary, Inter, sans-serif); color: var(--gw-ink); margin-bottom: 8px; }
.gw-range, .gw-slider label { display: flex; justify-content: space-between; font-size: .88rem; margin: 8px 0 2px; }
.gw-panel input[type=range] { width: 100%; min-height: 36px; accent-color: var(--gw-cognac); }
.gw-slider { margin-bottom: 10px; min-width: 240px; } .gw-slider[hidden], .gw-sec[hidden] { display: none; }
.gw-note { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: var(--gw-ink2); }
.gw-order { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gw-order li { display: flex; align-items: center; border: 1px solid var(--gw-line); background: #fff; }
.gw-order .gw-link { text-decoration: none; font-size: .88rem; padding: 8px 6px; }
.gw-mini { width: 44px; height: 44px; border: 0; background: none; font-size: 1rem; cursor: pointer; color: var(--gw-ink); }
.gw-mini:disabled { opacity: .3; cursor: default; }
.gw-clear { list-style: none; margin: 0; padding: 0; font-size: .86rem; line-height: 1.5; color: var(--gw-ink2); max-width: 46rem; }
.gw-clear li { padding: 6px 0 6px 12px; border-left: 3px solid var(--gw-brass); margin-bottom: 6px; }
.gw-clear li.snug { border-left-color: var(--gw-cognac); }
.gw-words { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gw-line); }
.gw-words h2 { font-family: var(--font-display, Outfit, sans-serif); font-size: 1.4rem; margin: 0 0 8px; }
.gw-objects { list-style: none; margin: 12px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gw-objects button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--gw-line); background: #fff; font: 500 .9rem var(--font-primary, Inter, sans-serif); color: var(--gw-ink); cursor: pointer; }
.gw-objects button[aria-pressed="true"] { background: var(--gw-ink); color: #fff; border-color: var(--gw-ink); }

@media (max-width: 760px) {
  .gw { width: calc(100% - 32px); padding-top: 18px; }
  /* Phone: the views and the room stay in view while the walk-through scrolls; the controls sit below the room. */
  .gw { --gw-stage-h: max(250px, 38svh); }
  .gw-bar { display: contents; }
  .gw-bar > .gw-layouts { order: 0; padding: 0 0 8px; border: 0; }
  .gw-layouts button { flex: 1 1 auto; }
  .gw-bar-top { order: 1; position: sticky; top: var(--gw-hdr, 76px); z-index: 5; background: var(--gw-ivory); border: 1px solid var(--gw-line); margin: 0 -16px; padding: 6px 12px; flex-direction: column; align-items: stretch; gap: 6px; }
  .gw-cameras { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .gw-bar-actions > button { flex: 1; justify-content: center; }
  .gw-cameras button { flex: none; }
  .gw-explore { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--gw-ink); color: #fff; border: 0; font: 600 .86rem/1.1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
  .gw-stage { order: 2; position: sticky; top: calc(var(--gw-hdr, 76px) + var(--gw-bar, 118px)); z-index: 4; aspect-ratio: auto; height: var(--gw-stage-h); min-height: 0; max-height: none; margin: 0 -16px; border-left: 0; border-right: 0; }
  .gw-stage canvas { touch-action: pan-y; }
  .gw-exploring .gw-stage canvas { touch-action: none; }
  /* The walk-through's words sit in one caption under the room, so text never scrolls behind it. The steps are only the scroll distance. */
  .gw-caption { display: block; order: 3; position: sticky; top: calc(var(--gw-hdr, 76px) + var(--gw-bar, 124px) + var(--gw-stage-h)); z-index: 3; margin: 0 -16px; padding: 12px 16px 14px; background: var(--gw-ivory); border-bottom: 1px solid var(--gw-line); min-height: 9.5rem; }
  .gw-caption .gw-step-n { margin: 0 0 6px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gw-cognac); font-weight: 600; }
  .gw-caption-title { margin: 0 0 6px; font-family: var(--font-display, Outfit, sans-serif); font-size: 1.3rem; line-height: 1.15; color: var(--gw-ink); font-weight: 600; }
  .gw-caption-text { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--gw-ink2); }
  .gw-exploring .gw-caption, .gw-controls .gw-caption { display: none; }   /* the controls have the screen while they are in view */
  .gw-story { order: 3; margin: 0 -16px; grid-template-columns: 1fr; }
  .gw-story-actions { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .gw-journey { order: 4; display: block; list-style: none; margin: 0; padding: 0 0 6vh; }
  .gw-step { min-height: 56svh; padding: 0; border: 0; position: relative; }
  .gw-step > * { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
  .gw-step-n { margin: 0 0 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gw-cognac); font-weight: 600; }
  .gw-step h2 { margin: 0 0 8px; font-family: var(--font-display, Outfit, sans-serif); font-size: 1.55rem; line-height: 1.15; color: var(--gw-ink); }
  .gw-step p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--gw-ink2); }
  .gw-exploring .gw-journey { display: none; }
  .gw-panel { order: 5; border: 1px solid var(--gw-line); }
  .gw-pane { padding: 12px; gap: 6px; }
  .gw-tabs { flex-wrap: wrap; overflow-x: visible; }
  .gw-tab { flex: 1 1 30%; }
  .gw-stills-mode .gw-still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .gw-stills-mode canvas { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gw-track, .gw-track::after { transition: none; } }
/* The site sets overflow-x: hidden on body, which makes body a scroll container and stops position: sticky.
   clip keeps the sideways clipping without that side effect. */
body.closets-studio-page { overflow-x: clip; }

/* Pieces: browse every component, try it, heart it. */
.gw-pieces { flex: 1 1 280px; }
.gw-btn[hidden] { display: none; }
.gw-picgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 12px; margin-top: 8px; }
#gw-pane-pictures > *, #gw-pane-exact > *, #gw-pane-ask > * { flex: 1 1 100%; min-width: 0; }
.gw-pic { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0 0 12px; border: 2px solid var(--gw-line); background: #fff; text-align: left; cursor: pointer; font: 500 .86rem/1.3 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); min-height: 44px; }
.gw-pic[aria-pressed="true"] { border-color: var(--gw-ink); box-shadow: inset 0 0 0 1px var(--gw-ink); }
.gw-pic:focus-visible { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-picart { display: flex; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #efe9dc; }
.gw-picsoon { aspect-ratio: auto; height: 86px; }
.gw-picsoon .gw-chip { width: auto; height: 100%; flex: 1; border: 0; border-radius: 0; margin: 0; }
.gw-pictitle { padding: 0 10px; font-weight: 700; }
.gw-picline { padding: 0 10px; color: var(--gw-muted, #4b5a68); font-weight: 400; font-size: .8rem; }
.gw-picgo { padding: 2px 10px 0; color: var(--gw-cognac); font-weight: 600; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.gw-piecegrid { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-piece { display: flex; border: 1px solid var(--gw-line); background: #fff; }
.gw-piece-try { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 4px 12px 4px 4px; border: 0; background: none; font: 500 .86rem/1.2 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); cursor: pointer; text-align: left; }
.gw-piece-try:not(:has(.gw-chip)) { padding-left: 12px; }
.gw-film { padding: 10px 12px 12px; border-top: 1px solid var(--gw-line); background: #fff; }
.gw-film[hidden] { display: none; }
.gw-film-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gw-film-title { margin: 0; font: 700 1rem/1.3 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw-film-step { margin: 0; font: 500 .8rem/1.3 var(--font-primary, Inter, sans-serif); color: var(--gw-ink2); white-space: nowrap; }
.gw-film-bar { height: 4px; margin: 8px 0; background: var(--gw-line); }
.gw-film-bar span { display: block; height: 100%; width: 0; background: var(--gw-cognac); }
.gw-film-caption { margin: 0 0 10px; min-height: 3.9em; font: 500 1rem/1.45 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw-film-controls, .gw-film-end { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-film-end { margin-top: 8px; }
.gw-film-text { margin-top: 10px; font: 500 .9rem/1.4 var(--font-primary, Inter, sans-serif); }
.gw-film-text summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; }
.gw-film-text li[data-now] { font-weight: 700; }
.gw-pickwrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gw-pickwrap .gw-pic { flex: 1; }
.gw-pickwrap .gw-pickheart { position: absolute; top: 8px; right: 8px; width: 44px; min-height: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gw-line); border-radius: 50%; background: rgba(255, 255, 255, .94); font-size: 1.3rem; }
.gw-likes { margin-top: 12px; flex: 1 1 100%; }
.gw-like { display: flex; align-items: center; gap: 10px; min-height: 44px; font: 500 .92rem/1.3 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw-like input { width: 22px; height: 22px; accent-color: var(--gw-ink); }
.gw-heart { width: 48px; min-height: 44px; border: 0; border-left: 1px solid var(--gw-line); background: none; font-size: 1.25rem; line-height: 1; color: var(--gw-ink2); cursor: pointer; }
.gw-heart[aria-pressed="true"] { color: var(--gw-cognac); }
.gw-piece-try:focus-visible, .gw-heart:focus-visible { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw-ideas { flex-basis: 100%; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 4px 0 8px; font-size: .9rem; color: var(--gw-ink2); }
.gw-ideas .gw-btn { margin: 0; }
.gw-ideas [hidden] { display: none; }

/* A class that sets display must never keep a hidden element on screen. */
.gw [hidden] { display: none !important; }

/* Finishes and sizes: one question at a time, chips that read cleanly on a phone */
#gw-exact legend { margin: 0 0 6px; font: 700 1.05rem/1.3 var(--font-primary, Inter, sans-serif); letter-spacing: 0; text-transform: none; color: var(--gw-ink); }
#gw-exact .gw-note { margin: 0 0 8px; }
.gw-exactchip { gap: 0 10px; flex-wrap: wrap; justify-content: flex-start; text-align: left; }
.gw-exactchip .gw-chip { width: 26px; height: 26px; border-radius: 50%; }
.gw-exactchip .gw-note { margin: 0; flex-basis: 100%; padding-left: 36px; font-size: .78rem; }
.gw-exactnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gw-exactlist { margin: 8px 0 12px; padding-left: 20px; }
.gw-exactlist li { margin: 0 0 8px; line-height: 1.5; }

/* Design tips: a calm strip above the picture (never over it), and the Ask the designer tab */
.gw-tips { display: grid; gap: 8px; padding: 8px 14px 10px; border-top: 1px solid var(--gw-line); background: var(--gw-ivory); }
.gw-tips[hidden] { display: none; }
.gw-tip { background: #fff; border: 1px solid var(--gw-line); border-left: 4px solid var(--gw-cognac); padding: 10px 12px; font: 500 .9rem/1.45 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw-tip-title { margin: 0 0 2px; font-weight: 700; }
.gw-tip-text { margin: 0 0 6px; color: var(--gw-ink2); }
.gw-tip-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gw-tips-status { margin: 0; font-size: .88rem; color: var(--gw-ink2); }
.gw-ask-q { display: flex; flex-wrap: wrap; gap: 8px; }
.gw-ask-a { display: grid; gap: 8px; margin-top: 4px; }
.gw-ask-point { background: #fff; border: 1px solid var(--gw-line); padding: 10px 12px; font: 500 .92rem/1.5 var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw-ask-point p { margin: 0 0 4px; }
.gw-ask-lead { font-weight: 700; }
.gw-ask-sub { color: var(--gw-ink2); font-weight: 400; }

/* Room shapes, storage and doors */
/* The room-shape row sits above the views; the room adopts these buttons (they are on the page before it loads). */
.gw-bar > .gw-layouts { padding: 6px 12px; border-bottom: 1px solid var(--gw-line); }
.gw-layouts { flex-wrap: wrap; }
/* The still of the room shown while the 3D room has not loaded yet; gone once the first frame is drawn. */
.gw-poster { position: absolute; inset: 0; display: block; }
.gw-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gw-ready .gw-poster, .gw-nogl .gw-poster, .no-webgl .gw-poster { display: none; }
.gw-poster ~ .gw-loading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gw-storagelist { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.gw-storagelist li { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 2px 4px 2px 10px; border: 1px solid var(--gw-line); background: #fff; }
.gw-storagelist .gw-link { flex: 1 1 auto; min-height: 44px; text-align: left; text-decoration: none; font-weight: 600; }
.gw-storagelist li.gw-scard { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 96px; padding: 8px 8px 8px 8px; }
.gw-thumb { width: 60px; height: 80px; display: block; overflow: hidden; border: 1px solid var(--gw-line); border-radius: 6px; background: linear-gradient(180deg, #f6f1e8, #e9e1d2); }
.gw-thumb-img[hidden] { display: none; }
.gw-thumb-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gw-scard-body { display: grid; gap: 2px; min-width: 0; }
.gw-scard-body .gw-link { min-height: 30px; padding-left: 0; }
.gw-storage-size { font-size: .76rem; line-height: 1.25; color: var(--gw-ink2); }
.gw-storage-line { font-size: .8rem; line-height: 1.3; color: var(--gw-ink2); }
.gw-storage-status { font-size: .8rem; line-height: 1.25; color: var(--gw-ink2); }
.gw-storage-toggle { min-height: 44px; padding: 6px 14px; font-size: .86rem; }
.gw-storage-toggle:disabled { opacity: .45; cursor: default; }
.gw-summary { list-style: none; margin: 0 0 12px; padding: 0; max-width: 46rem; font-size: .88rem; line-height: 1.5; color: var(--gw-ink2); }
.gw-summary li { padding: 4px 0 4px 12px; margin-bottom: 4px; border-left: 3px solid var(--gw-brass); }
.gw-segbtn[hidden] { display: none; }
.gw-pane > .gw-lede { flex: 1 1 100%; max-width: none; margin-bottom: 4px; }

/* ===== Studio Shell v2 (S1): a full-height app, not a page. The viewport is always in sight; every control is docked around it. ===== */
.gw { --gw-hdr: 0px; --gw-title-h: 46px; }
.gw .gw-intro { display: flex; align-items: baseline; gap: 12px; padding: 8px 16px; min-height: var(--gw-title-h); background: var(--gw-paper); border-bottom: 1px solid var(--gw-line); }
.gw .gw-intro .gw-kicker { margin: 0; }
.gw .gw-intro h1 { margin: 0; font-size: 1.1rem; letter-spacing: -.01em; }
.gw .gw-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px; background: var(--gw-ivory); border-bottom: 1px solid var(--gw-line); min-width: 0; }
.gw .gw-topbar .gw-bar-top { padding: 0; border: 0; flex: none; }
.gw .gw-layouts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.gw .gw-layouts button { white-space: nowrap; }
.gw .gw-history { display: inline-flex; gap: 4px; }
.gw .gw-iconbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid var(--gw-line); color: var(--gw-ink); font: 500 .85rem/1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
.gw .gw-iconbtn:disabled { opacity: .45; cursor: default; }
.gw .gw-iconbtn[aria-pressed="true"] { background: var(--gw-ink); color: #fff; }
.gw .gw-iconbtn:focus-visible, .gw .gw-variant:focus-visible, .gw .gw-dock-save:focus-visible, .gw .gw-sheet-handle:focus-visible { outline: 3px solid var(--gw-cognac); outline-offset: 2px; }
.gw .gw-bar-actions { align-items: center; }
.gw .gw-viewbar { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 4; display: flex; gap: 4px; flex-wrap: nowrap; padding: 4px; background: rgba(251, 248, 241, .94); border: 1px solid var(--gw-line); border-radius: 8px; max-width: calc(100% - 16px); overflow-x: auto; scrollbar-width: none; }
.gw .gw-viewbar button { min-height: 40px; padding: 6px 10px; font-size: .8rem; white-space: nowrap; }
.gw .gw-sheet-handle { display: none; }
.gw .gw-dock { display: flex; align-items: center; gap: 12px 20px; padding: 8px 14px; background: var(--gw-ivory); border-top: 1px solid var(--gw-line); flex-wrap: wrap; min-width: 0; }
.gw .gw-variants { display: flex; align-items: center; gap: 6px; }
.gw .gw-dock-label, .gw .gw-price-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gw-muted); font-weight: 600; }
.gw .gw-variant { min-width: 44px; min-height: 44px; padding: 6px 10px; background: #fff; border: 1px solid var(--gw-line); color: var(--gw-ink); font: 600 .9rem/1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
.gw .gw-variant[aria-pressed="true"] { background: var(--gw-ink); color: #fff; border-color: var(--gw-ink); }
.gw .gw-variant-copy { font-weight: 500; font-size: .8rem; }
.gw .gw-price { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.gw .gw-price-text { font-size: .95rem; color: var(--gw-ink); font-weight: 500; }
.gw .gw-dock-save { min-height: 46px; padding: 10px 20px; background: var(--gw-cognac); color: #fff; border: 0; font: 600 .95rem/1 var(--font-primary, Inter, sans-serif); cursor: pointer; margin-left: auto; }
.gw .gw-dock-save:hover { text-decoration: underline; text-underline-offset: 4px; }
.gw .gw-inspector { background: var(--gw-ivory); overflow-y: auto; min-height: 0; padding: 12px; }
.gw .gw-inspector .gw-story { position: static; margin: 0 0 10px; border: 1px solid var(--gw-line); background: #fff; padding: 12px; }
.gw .gw-inspector .gw-story[hidden] { display: none; }
.gw .gw-inspector .gw-story:not([hidden]) ~ .gw-inspector-empty { display: none; }
.gw .gw-inspector-empty { margin: 0; padding: 14px; border: 1px dashed var(--gw-line); color: var(--gw-muted); font-size: .9rem; line-height: 1.5; }
.gw .gw-inspector .gw-tips { margin: 0 0 10px; padding: 0; border: 0; background: none; }
.gw .gw-below { width: min(1320px, calc(100% - 40px)); margin: 0 auto; }

/* Desktop and wide tablets: left rail and cards, centre viewport, right inspector, bottom strip. */
@media (min-width: 1024px) {
  .gw { width: 100%; max-width: none; padding: 0 0 32px; }
  .gw .gw-tool { display: grid; grid-template-columns: minmax(360px, 420px) minmax(0, 1fr) 290px; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top top top" "left stage right" "dock dock dock"; height: calc(100dvh - var(--gw-hdr) - var(--gw-title-h)); min-height: 560px; border-bottom: 1px solid var(--gw-line); }
  .gw .gw-bar { display: contents; }
  .gw .gw-topbar { grid-area: top; }
  .gw #gw-panel { grid-area: left; min-height: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr); border-right: 1px solid var(--gw-line); background: var(--gw-ivory); overflow: hidden; }
  .gw .gw-tabs { grid-column: 1; grid-row: 1; flex-direction: column; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--gw-line); padding: 6px 0; gap: 2px; background: var(--gw-paper); }
  .gw .gw-tab { white-space: normal; text-align: left; line-height: 1.2; min-height: 52px; padding: 8px 8px 8px 10px; font-size: .78rem; border-bottom: 0; border-left: 3px solid transparent; margin: 0; }
  .gw .gw-tab[aria-selected="true"] { background: #fff; border-left-color: var(--gw-cognac); }
  .gw .gw-pane { grid-column: 2; grid-row: 1; overflow-y: auto; min-height: 0; display: block; padding: 14px; }
  .gw .gw-pane[hidden] { display: none; }
  .gw .gw-panel.gw-collapsed .gw-pane { display: none; }
  .gw .gw-panel.gw-collapsed { grid-template-columns: 92px 0; }
  .gw .gw-pane > * { max-width: 100%; }
  .gw .gw-stage { grid-area: stage; aspect-ratio: auto; max-height: none; min-height: 0; height: 100%; border: 0; }
  .gw .gw-inspector { grid-area: right; border-left: 1px solid var(--gw-line); }
  .gw .gw-dock { grid-area: dock; }
  .gw .gw-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
  .gw .gw-swatch { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px; background: #fff; border: 1px solid var(--gw-line); cursor: pointer; min-height: 0; }
  .gw .gw-swatch .gw-chip { display: block; width: 100%; height: 52px; border-radius: 3px; border: 1px solid rgba(20, 42, 58, .18); }
  .gw .gw-swatch .gw-name { font-size: .78rem; line-height: 1.2; }
  .gw .gw-stylecard .gw-chips { display: flex; gap: 2px; }
  .gw .gw-stylecard .gw-chips .gw-chip { flex: 1; height: 40px; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .gw .gw-tool { grid-template-columns: 330px minmax(0, 1fr) 240px; } .gw .gw-iconbtn span { display: none; } .gw .gw-comparebtn span { display: inline; } }

/* Phone and small tablets: the viewport is pinned at the top; a bottom sheet holds the tabs and drags up. */
@media (max-width: 1023.98px) {
  .gw { width: 100%; padding: 0; }
  .gw .gw-tool { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto var(--gw-sheet, 36dvh); grid-template-areas: "top" "stage" "insp" "dock" "left"; height: calc(100dvh - var(--gw-hdr) - var(--gw-title-h)); min-height: 520px; overflow: hidden; border: 0; }
  .gw .gw-bar { display: contents; }
  .gw .gw-topbar { grid-area: top; flex-wrap: nowrap; padding: 4px 8px; }
  .gw .gw-topbar .gw-bar-top { flex: none; }
  .gw .gw-savetop { display: none; }
  .gw .gw-iconbtn span { display: none; }
  .gw .gw-iconbtn { min-width: 44px; justify-content: center; padding: 8px; }
  .gw .gw-comparebtn span { display: inline; font-size: .75rem; }
  .gw .gw-stage { grid-area: stage; aspect-ratio: auto; max-height: none; min-height: 0; height: 100%; border: 0; }
  .gw .gw-viewbar { bottom: 6px; }
  .gw .gw-viewbar button { min-height: 44px; }
  .gw .gw-dock { grid-area: dock; padding: 6px 10px; gap: 6px 12px; flex-wrap: nowrap; }
  .gw .gw-dock-label { display: none; }
  .gw .gw-variant-copy { display: none; }
  .gw .gw-price { flex: 1 1 0; }
  .gw .gw-price-kicker { display: none; }
  .gw .gw-price-text { font-size: .8rem; line-height: 1.25; }
  .gw .gw-dock-save { min-height: 44px; padding: 8px 12px; font-size: .85rem; flex: none; }
  .gw #gw-panel { grid-area: left; position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--gw-ivory); border-top: 1px solid var(--gw-line); border-radius: 14px 14px 0 0; box-shadow: 0 -6px 18px rgba(20, 42, 58, .12); overflow: hidden; z-index: 9; }
  .gw .gw-sheet-handle { display: flex; grid-area: left; align-self: start; justify-content: center; align-items: center; width: 100%; height: 22px; padding: 0; background: none; border: 0; cursor: ns-resize; position: relative; z-index: 10; touch-action: none; margin-bottom: -22px; }
  .gw .gw-sheet-handle span { width: 44px; height: 5px; border-radius: 3px; background: rgba(20, 42, 58, .35); }
  .gw .gw-tabs { flex: none; flex-wrap: nowrap; overflow-x: auto; border-bottom: 1px solid var(--gw-line); padding: 22px 6px 0; }
  .gw .gw-tab { flex: 0 0 auto; }
  .gw .gw-pane { flex: 1 1 auto; overflow-y: auto; min-height: 0; display: block; padding: 10px 12px 24px; }
  .gw .gw-pane[hidden] { display: none; }
  .gw .gw-swatches { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .gw .gw-swatch { flex: 0 0 92px; display: flex; flex-direction: column; gap: 4px; padding: 6px; background: #fff; border: 1px solid var(--gw-line); scroll-snap-align: start; min-height: 0; }
  .gw .gw-swatch .gw-chip { display: block; width: 100%; height: 48px; border-radius: 3px; border: 1px solid rgba(20, 42, 58, .18); }
  .gw .gw-swatch .gw-name { font-size: .78rem; line-height: 1.2; }
  .gw .gw-inspector { grid-area: insp; max-height: 32dvh; padding: 0 10px; overflow-y: auto; border-top: 0; }
  .gw .gw-inspector-empty { display: none; }
  .gw .gw-inspector .gw-story { max-height: 34dvh; overflow-y: auto; box-shadow: 0 6px 18px rgba(20, 42, 58, .18); }
  .gw .gw-inspector .gw-tips { max-height: 30dvh; overflow-y: auto; }
  .gw .gw-below { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) { .gw .gw-tool * { transition: none !important; } }

/* the finishes are always open in the docked panel; the fine-tune link is not needed */
.gw .gw-fine-wrap[hidden] { display: flex !important; }
.gw .gw-finebtn { display: none; }
.gw .gw-layouts { flex: 1 1 0; min-width: 0; }
@media (max-width: 1023.98px) { .gw .gw-wide { display: none; } .gw .gw-fine-wrap { flex-direction: column; } }

.gw .gw-chips { display: flex; gap: 2px; }
.gw .gw-chips .gw-chip { flex: 1; height: 40px; }
.gw .gw-fine-wrap { display: flex; flex-direction: column; gap: 6px; }
.gw .gw-fine-wrap > * { flex: 1 1 auto; width: 100%; }
.gw .gw-field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.gw .gw-field > legend, .gw .gw-legend { display: block; margin: 0 0 6px; padding: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gw-muted); font-weight: 600; }
@media (min-width: 1024px) { .gw .gw-fine-wrap .gw-swatches, .gw .gw-field .gw-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); } .gw .gw-swatch { width: auto; } }
@media (max-width: 1023.98px) {
  .gw .gw-comparebtn span { display: none; }
  .gw .gw-comparebtn::before { content: "A | B"; font-weight: 600; }
  .gw .gw-layouts button { padding: 8px 10px; font-size: .82rem; }
}

/* Kitchen kit pieces that sit on the shell */
.gw .ks-price { background: #fff; border: 1px solid var(--gw-line); padding: 12px 14px; margin: 0 0 10px; }
.gw .ks-price p { margin: 0 0 4px; }
.gw .ks-price-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gw-muted); font-weight: 600; }
.gw .ks-price-range { font: 600 1.6rem/1.1 var(--font-display, Outfit, sans-serif); color: var(--gw-ink); letter-spacing: -.02em; }
.gw .ks-price-none { font-size: 1.15rem; }
.gw .ks-price-name { font-weight: 600; color: var(--gw-cognac); }
.gw .ks-price-why, .gw .ks-price-note { font-size: .86rem; line-height: 1.45; color: var(--gw-ink2); }
.gw .ks-price-note { color: var(--gw-muted); }
.gw .ks-note { margin: 0; padding: 8px 2px; font-size: .86rem; color: var(--gw-muted); line-height: 1.45; }
.gw .gw-note { margin: 4px 0 10px; font-size: .86rem; color: var(--gw-ink2); line-height: 1.45; }
.gw .ks-stepper { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.gw .ks-step-label { flex: 1; font-weight: 500; }
.gw .ks-step-val { min-width: 64px; text-align: center; font-weight: 600; }
.gw .gw-mini { min-width: 44px; min-height: 44px; border: 1px solid var(--gw-line); background: #fff; color: var(--gw-ink); font: 600 1rem/1 var(--font-primary, Inter, sans-serif); cursor: pointer; }
.gw .gw-mini:disabled { opacity: .4; cursor: default; }
.gw .ks-pad { display: grid; grid-template-columns: repeat(4, 44px); gap: 6px; margin: 4px 0 10px; }
.gw .ks-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.gw .ks-check input { width: 22px; height: 22px; accent-color: var(--gw-cognac); }
.gw .ks-select { display: grid; gap: 4px; margin: 0 0 8px; font-size: .86rem; }
.gw .ks-select select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--gw-line); background: #fff; font: 500 .9rem var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw .ks-fallback-plan svg { display: block; width: 100%; max-height: calc(100% - 4.5rem); }
.gw .ks-words-list { display: block; }
.gw .ks-words-list li { list-style: disc; margin: 0 0 4px 18px; }
.gw .ks-sun-note { color: var(--gw-muted); font-size: .9rem; }
.gw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1023.98px) {
  .gw .ks-note { display: none; }
  .gw .ks .ks-price, .gw .ks-price { display: none; }
  .gw[data-price-open="1"] .ks-price { display: block; }
  .gw #gw-price[role="button"] { cursor: pointer; }
  .gw .gw-toast { position: absolute; left: 8px; right: 8px; bottom: 100%; margin: 0 0 6px; padding: 8px 10px; background: var(--gw-ink); color: #fff; font-size: .85rem; z-index: 12; }
  .gw .gw-toast:empty { display: none; }
}
.gw .gw-dock { position: relative; }
.gw .gw-toast { margin: 0; font-size: .85rem; color: var(--gw-ink2); flex: 1 1 100%; }
.gw .gw-toast:empty { display: none; }

.gw .gw-inspector .gw-film { position: static; margin: 0 0 10px; width: auto; }

.gw .gw-below .gw-journey, .gw .gw-below .gw-caption { display: none; }
.gw.gw-stills-mode .gw-explore { display: inline-flex !important; }

/* The view buttons sit under the picture, never over it. */
.gw .gw-viewbar { position: static; transform: none; grid-area: views; display: flex; justify-content: center; gap: 4px; flex-wrap: nowrap; padding: 4px 8px; background: var(--gw-ivory); border: 0; border-top: 1px solid var(--gw-line); border-radius: 0; max-width: none; overflow-x: auto; }
@media (min-width: 1024px) {
  .gw .gw-tool { grid-template-rows: auto minmax(0, 1fr) auto auto; grid-template-areas: "top top top" "left stage right" "left views right" "dock dock dock"; }
}
@media (max-width: 1023.98px) {
  .gw .gw-tool { grid-template-rows: auto minmax(0, 1fr) auto auto var(--gw-sheet, 32dvh); grid-template-areas: "top" "stage" "insp" "dock" "left"; }
  /* The old phone layout (max-width 760px above) made the stage sticky with a 230 px offset, which pushed the
     room down inside the app grid and left an empty band above it (lead live check 2026-11-10). In the app
     layout the stage simply fills its grid row. */
  .gw .gw-stage { position: relative; top: auto; margin: 0; height: 100%; }
  /* The view buttons float over the bottom of the room instead of taking a row of their own: more room for the room. */
  .gw .gw-viewbar { grid-area: stage; align-self: end; justify-self: center; z-index: 5; margin-bottom: 8px; justify-content: center; }
  /* Style cards on phones: the colour chips filled 2 px each (lead live check 2026-11-10); they share the card width. */
  .gw .gw-stylecard .gw-chips { display: flex; width: 100%; gap: 2px; }
  .gw .gw-stylecard .gw-chips .gw-chip { flex: 1 1 0; width: auto; height: 40px; }
}
/* In the app layout the page does not scroll under the room: a finger on the room turns the room. */
.gw .gw-stage canvas { touch-action: none; }

/* Kitchen: the piece you tapped. */
.gw .ks-inspect { display: block; padding: 12px; }
.gw .ks-inspect[hidden] { display: none; }
.gw .ks-pick-hint { margin: 0 0 8px; font-size: .88rem; line-height: 1.45; color: var(--gw-ink2); }
.gw .ks-inspect.has-selection .ks-pick-hint { display: none; }
.gw .ks-pick { display: grid; gap: 4px; margin: 0 0 8px; font-size: .84rem; color: var(--gw-muted); }
.gw .ks-pick select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--gw-line); background: #fff; font: 500 .9rem var(--font-primary, Inter, sans-serif); color: var(--gw-ink); }
.gw .ks-in-card[hidden] { display: none; }
.gw .ks-in-card { border-top: 1px solid var(--gw-line); padding-top: 10px; margin-top: 4px; }
.gw .ks-in-kicker { margin: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gw-cognac); font-weight: 600; }
.gw .ks-in-title { margin: 2px 0 4px; font: 600 1.15rem/1.2 var(--font-display, Outfit, sans-serif); color: var(--gw-ink); }
.gw .ks-in-line { margin: 0 0 8px; font-size: .88rem; line-height: 1.45; color: var(--gw-ink2); }
.gw .ks-in-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 12px; margin: 0 0 10px; }
.gw .ks-in-facts div { display: grid; gap: 0; }
.gw .ks-in-facts dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gw-muted); }
.gw .ks-in-facts dd { margin: 0; font-weight: 600; font-size: .9rem; color: var(--gw-ink); }
.gw .ks-in-group { margin: 0 0 10px; }
.gw .ks-in-actions { display: flex; gap: 8px; flex-wrap: wrap; }
/* Phone: until a piece is tapped, the kitchen's piece list is only for keyboards and screen readers; it takes no room from the picture. */
@media (max-width: 1023.98px) {
  .gw .ks-inspect:not(.has-selection):not(:focus-within) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* First-paint panel (shared/panel-skeleton.mjs): the tab bar and look-alike controls shown until the 3D studio opens and builds the real ones. */
.gw-skel-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.gw-skel-chip { width: 64px; height: 64px; border-radius: 10px; background: var(--gw-line, #e4dccb); animation: gw-skel-pulse 1.4s ease-in-out infinite; }
.gw-skel-pane [aria-disabled="true"] { opacity: .6; cursor: progress; }
@keyframes gw-skel-pulse { 0%, 100% { opacity: .45; } 50% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .gw-skel-chip { animation: none; opacity: .65; } }

/* While the 3D room loads behind the still, a small note sits on it (the loader unhides it; the room's start hides it again). */
.gw-loading-room .gw-poster ~ .gw-loading { position: absolute; inset: auto auto 12px 50%; transform: translateX(-50%); width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--gw-ink, #1a2a3a); font-size: .85rem; font-weight: 600; box-shadow: 0 1px 6px rgba(0,0,0,.18); z-index: 3; }
.gw-ready .gw-poster ~ .gw-loading, .gw-nogl .gw-poster ~ .gw-loading { display: none; }
