.objects-page{--panel:#fafaf8;--accent:#865438}.objects-page .inspector-head{padding-top:25px}.objects-page .inspector-head h2{font-size:25px;letter-spacing:-.7px}.objects-page .intro{font-size:14px;line-height:1.6;margin-bottom:15px;color:#5e605a}.collection-filters{display:flex;flex-wrap:wrap;gap:6px 17px;margin:0 0 24px}.collection-filters button{font-size:13px;min-height:34px;padding:5px 0;color:#77796f;border-bottom:1px solid transparent}.collection-filters button.active{color:#252622;border-color:#252622}.objects-page .catalogue{gap:26px 14px}.objects-page .product-image{background:#ecebe7}.objects-page .product-card strong{font-size:16px}.objects-page .product-card-copy>span{line-height:1.4}.objects-page .stage-title{padding:10px 13px;margin:-10px -13px;background:#f6f4efbd;backdrop-filter:blur(6px)}.objects-page .modes{padding:3px 9px;background:#f6f4efbd;backdrop-filter:blur(6px)}.scene-toggle{position:absolute;left:25px;bottom:62px;transform:translateY(-128px);border-bottom:1px solid #8d8b83;background:#f6f4efc9;padding:7px 9px;font-size:12px;min-height:34px}.objects-page .stage-foot{background:#f6f4efc9;padding:0 8px;margin-left:-8px;margin-right:-8px}.objects-page .sheen-options button{border-radius:0}.objects-page .pattern-choices{gap:7px}.objects-page .studio-settings{margin-top:25px}.objects-page .product-image img{transition:opacity .2s}.objects-page .product-card:hover .product-image{background:#e1dfd8}
@media(max-width:700px){.objects-page .intro{margin-top:15px}.collection-filters{margin-bottom:18px;gap:5px 14px}.collection-filters button{font-size:13px}.objects-page .catalogue{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px}.objects-page .product-image{aspect-ratio:1/1.06}.objects-page .product-card strong{font-size:13px}.objects-page .product-card-copy>span{font-size:11px}.scene-toggle{left:16px;bottom:172px;transform:none}.objects-page .stage-title{padding:7px 9px;margin:-7px -9px}.objects-page .modes{right:12px;gap:9px}.objects-page .stage-foot{bottom:8px}.objects-page .stage-tools{bottom:49px}}
@media(prefers-reduced-motion:reduce){.objects-page .product-image img{transition:none}}

/* Cream photographic setting, with quiet controls and generous breathing room. */
.objects-page #stage{background:radial-gradient(ellipse at 45% 35%,#f2eee8 0%,#e2ded6 100%)}
.objects-page .product-image{background:#eae6df}.objects-page .product-card:hover .product-image{background:#e1dcd3}
.objects-page .stage-title,.objects-page .modes,.objects-page .stage-foot,.objects-page .scene-toggle{background:#f5eddfb3}
.objects-page input:disabled{opacity:.5;cursor:default}

/* Quiet, transparent viewport typography. */
.objects-page .stage-title{padding:0;margin:0;background:transparent;backdrop-filter:none}
.objects-page .stage-title h1{font-size:15px;letter-spacing:-.15px;margin-bottom:5px}
.objects-page .stage-title #dimensions{font-size:12px;color:#55534d}
.objects-page .modes,.objects-page .stage-foot,.objects-page .scene-toggle{background:transparent;backdrop-filter:none}
@media(max-width:700px){.objects-page .stage-title h1{font-size:14px}.objects-page .stage-title{padding:0;margin:0}.objects-page .stage-title #dimensions{font-size:12px}}

/* Keep the product visible while the mobile options scroll independently. */
@media(max-width:700px) and (orientation:portrait){.objects-page .atelier-grid{grid-template-rows:minmax(0,55fr) minmax(0,45fr)}}

.header-expand{display:none}
@media(max-width:700px){
 .objects-page .inspector-foot,.objects-page #reset,.objects-page .stage-tools,.objects-page .stage-foot,.objects-page .modes,.objects-page .stage-title{display:none}
 .objects-page .product-card i{display:none}
 .objects-page .scene-toggle{left:16px;bottom:12px;transform:none}
 .objects-page .topbar{transition:transform .52s cubic-bezier(.22,1,.36,1);position:relative;z-index:3;will-change:transform}
 .objects-page .atelier-grid{transition:height .52s cubic-bezier(.22,1,.36,1),transform .52s cubic-bezier(.22,1,.36,1)}
 .objects-page.header-retracted .topbar{transform:translateY(-100%);pointer-events:none}
 .objects-page.header-retracted .atelier-grid{height:100dvh;transform:translateY(-56px)}
 .objects-page.header-retracted .header-expand{display:grid;place-items:center;position:fixed;right:12px;top:max(6px,env(safe-area-inset-top));width:44px;height:32px;z-index:4;background:transparent;padding:0}
}
@media(max-width:700px) and (max-height:500px) and (orientation:landscape){.objects-page.header-retracted .atelier-grid{transform:translateY(-48px)}}
@media(prefers-reduced-motion:reduce){.objects-page .topbar,.objects-page .atelier-grid{transition:none}}

.purchase-summary{padding:15px 20px 13px;border-bottom:1px solid var(--line);flex-shrink:0}
.purchase-line,.purchase-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.purchase-line{font-size:16px}.purchase-line strong{font-size:22px;font-weight:400;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.purchase-meta{margin-top:7px;font-size:12px;color:#64645e}.estimate-note{display:block;font-size:12px;color:#72726a;margin-top:7px;line-height:1.35}
.purchase-summary[aria-busy=true] #estimate-price,.purchase-summary[aria-busy=true] #estimate-weight{opacity:.45}
@media(max-width:700px){.purchase-summary{padding:10px 18px}.purchase-line strong{font-size:20px}.purchase-meta{margin-top:4px}.estimate-note{margin-top:4px}}

html{background:#eeeae4}
.fullscreen-button{position:absolute;right:16px;bottom:56px;width:44px;height:44px;display:grid;place-items:center;background:transparent}
#fullscreen-help p{font-size:16px;line-height:1.6}
@media(max-width:700px){
 .objects-page{--mobile-header-height:calc(56px + env(safe-area-inset-top,0px))}
 .objects-page .topbar{height:var(--mobile-header-height);padding-top:env(safe-area-inset-top,0px);padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
 .objects-page .atelier-grid{height:calc(100dvh - var(--mobile-header-height))}
 .objects-page.header-retracted .atelier-grid{height:100dvh;transform:translateY(calc(-1 * var(--mobile-header-height)))}
 .objects-page .settings-scroll{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
 .objects-page .fullscreen-button{bottom:8px;right:max(12px,env(safe-area-inset-right,0px))}
 .objects-page .scene-toggle{left:max(16px,env(safe-area-inset-left,0px))}
}
@media(max-width:700px) and (max-height:500px) and (orientation:landscape){.objects-page{--mobile-header-height:calc(48px + env(safe-area-inset-top,0px))}}

#scale-caption{position:absolute;left:24px;bottom:108px;font-size:12px;color:#66655f;pointer-events:none}@media(max-width:700px){#scale-caption{left:16px;bottom:54px;font-size:12px}}

.buy-object{display:block;width:100%;min-height:46px;padding:12px 18px;margin-top:14px;background:#292a25;color:#fff;border:0;border-radius:0;font:inherit;font-size:14px;cursor:pointer}.buy-object:disabled{opacity:.45;cursor:wait}.delivery-note{display:block;margin-top:7px;font-size:12px;color:#6b6a64}#purchase-dialog{width:min(440px,calc(100vw - 48px));box-sizing:border-box;border:0;padding:30px;background:#f4f3ef;color:#292a25}#purchase-dialog::backdrop{background:#0005}#purchase-dialog .close{float:right;border:0;background:none;font-size:24px}#purchase-dialog h2{font-size:24px;font-weight:500}#purchase-dialog select{display:block;width:100%;padding:12px;margin-top:8px;font:inherit}#purchase-status{font-size:14px;line-height:1.5}#purchase-signin{color:inherit;text-decoration:underline;font-size:14px}@media(max-width:700px){.purchase-summary .buy-object{margin-top:9px;min-height:42px}.delivery-note{font-size:12px;margin-top:5px}}
.theme-toggle{width:40px;height:40px;display:grid;place-items:center;color:#55554f}.theme-toggle svg{width:20px;height:20px;overflow:visible}.theme-toggle svg *{fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .day-icon{display:none}.dark-mode .theme-toggle .moon-icon{display:none}.dark-mode .theme-toggle .day-icon{display:block}.purchase-meta{justify-content:flex-start;gap:6px 12px;flex-wrap:wrap}.purchase-summary .buy-object{width:100%}
.objects-page #stage{filter:contrast(1.07)}
.objects-page.dark-mode{--panel:#191816;--line:#393630;color:#eee8dc;background:#151412}
.objects-page.dark-mode .topbar,.objects-page.dark-mode .inspector{background:#191816;color:#eee8dc}
.objects-page.dark-mode #stage{background:radial-gradient(ellipse at 42% 30%,#514131 0%,#211b17 76%);filter:contrast(1.1)}
.objects-page.dark-mode .product-image{background:#292521}.objects-page.dark-mode .product-card:hover .product-image{background:#332d27}
.objects-page.dark-mode .purchase-meta,.objects-page.dark-mode .product-card-copy>span,.objects-page.dark-mode .intro,.objects-page.dark-mode .note,.objects-page.dark-mode #dimensions,.objects-page.dark-mode #render-status,.objects-page.dark-mode .eyebrow{color:#aaa296}
.objects-page.dark-mode input,.objects-page.dark-mode select,.objects-page.dark-mode dialog{background:#211f1c;color:#eee8dc;border-color:#49443d}
.objects-page.dark-mode .theme-toggle{color:#f0c798}
@media(max-width:700px){.theme-toggle{width:34px;height:34px}.purchase-summary .buy-object{width:100%;margin-top:9px}.purchase-meta{gap:9px}}

/* Native inertial scrolling settles each editing group in the usable centre. */
.objects-page .settings-scroll{scroll-snap-type:y proximity;scroll-padding-block:28%}
.objects-page .settings-scroll[data-active="form"],.objects-page .settings-scroll[data-active="finish"]{scroll-snap-type:y mandatory}
.objects-page #form-panel>.product-copy,.objects-page #form-panel>.size-options,.objects-page .settings-scroll .control,.objects-page #form-panel>details,.objects-page #finish-panel>.custom-color,.objects-page #finish-panel>.pattern-choices,.objects-page #finish-panel>.sheen-options,.objects-page #finish-panel>details{scroll-snap-align:center;scroll-snap-stop:normal}
.objects-page #form-panel>.size-options{margin-top:26px;margin-bottom:14px}.objects-page #form-panel>.product-copy{padding-top:4px}
.objects-page.dark-mode .scene-toggle,.objects-page.dark-mode #scale-caption{color:#e8d8c4;border-color:#8d735c}

/* Mobile navigation floats above a fixed viewport. Its motion never resizes WebGL. */
@media(max-width:700px){
 .objects-page .topbar{position:fixed!important;inset:0 0 auto 0;z-index:10;background:color-mix(in srgb,var(--panel) 91%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform 1.18s cubic-bezier(.22,.61,.36,1)!important}
 .objects-page .atelier-grid,.objects-page.header-retracted .atelier-grid{height:100dvh!important;transform:none!important;transition:none!important}
 .objects-page.header-retracted .topbar{transform:translate3d(0,-100%,0)}
 .objects-page.header-retracted .header-expand{z-index:11}
}
/* Native-resolution photographic plate beneath the live object and shadows. */
.in-situ-plate{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 78%;pointer-events:none;opacity:0}
.objects-page #canvas{position:relative}
.objects-page #stage,.objects-page.dark-mode #stage{filter:none}
.dimension-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:#3b342c;z-index:2}
.dimension-overlay path{stroke:currentColor;stroke-width:1;fill:none;opacity:.6}
.dimension-overlay text{fill:currentColor;font:12px Arial,sans-serif;font-weight:400;stroke:none;letter-spacing:.15px}
.finished-width{font-size:12px;color:var(--muted);margin:5px 0 0}
#collection-dialog{width:min(860px,calc(100vw - 24px));max-height:90dvh;padding:28px 20px;background:var(--panel)}
#collection-dialog h2{font-size:24px;font-weight:400}
#collection-dialog #collection-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;margin-top:24px}
#collection-dialog #collection-list button{border:0;padding:0;min-width:0;align-self:start;font-weight:400}
.collection-thumb{position:relative;aspect-ratio:6/7;overflow:hidden;background:#eae6df;border:1px solid transparent}
.collection-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.collection-thumb img:not([src]){visibility:hidden}
.thumb-loading{position:absolute;inset:45% 8% auto;text-align:center;font-size:12px;color:var(--muted)}
.thumb-ready .thumb-loading{display:none}
.collection-name{display:block;padding-top:10px;font-size:14px;line-height:1.3}
#collection-list button[aria-pressed=true] .collection-thumb{border-color:currentColor}
.dark-mode .collection-thumb{background:#292521}
@media(min-width:701px){#collection-dialog #collection-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
.objects-page #canvas{transition:filter .9s ease,opacity .32s ease;filter:blur(var(--load-blur,0px))}
.objects-page.studio-loading{--load-blur:18px}
.objects-page #stage .route-loading{position:absolute;inset:0;background:transparent;z-index:8;transition:opacity .65s ease;pointer-events:auto}
.objects-page #stage .route-loading.done{pointer-events:none}
.objects-page .loading-line:after{animation:none;width:var(--load-progress,8%);transition:width .65s ease}
.objects-page.dark-mode .route-loading p{color:#e8d8c4}
.objects-page #stage.piece-changing #canvas{opacity:.5}
#collection-list{display:grid;margin-top:24px}
#collection-list button{min-height:48px;text-align:left;padding:12px 0;border-bottom:1px solid var(--line);font-size:16px}
#collection-list button[aria-pressed=true]{font-weight:600}
@media(max-width:700px){
 .objects-page #collection-panel>.intro,.objects-page #collection-filters,.objects-page #catalogue,.objects-page #collection-panel>.collection-note{display:none}
}
@media(prefers-reduced-motion:reduce){.objects-page #canvas,.objects-page #stage .route-loading,.objects-page .loading-line:after{transition:none}}

/* One shared entry to shape editing; buying remains the primary action. */
.objects-page .customise-toggle{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 20px;border-bottom:1px solid var(--line);font-size:14px;text-align:left;background:var(--panel)}
.objects-page .customise-toggle span{font-size:20px;transition:transform .2s}
.objects-page .customise-toggle[aria-expanded=true] span{transform:rotate(45deg)}
.objects-page .shared-shape{border:0;margin:0;padding:0}
.objects-page .shared-shape>summary{display:none}
.objects-page .settings-scroll{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:48px}
.objects-page .settings-scroll[data-active=customise]{scroll-snap-type:y proximity}
.objects-page .product-card{align-self:start}
.objects-page .product-image{padding-bottom:32px}
.objects-page .product-card-copy{position:absolute;inset:auto 1px 1px;padding:24px 9px 8px;background:linear-gradient(transparent,rgba(245,243,237,.94));pointer-events:none}
.objects-page .product-card-copy strong{font-size:14px;line-height:1.25;color:#292a25;overflow-wrap:anywhere}
.objects-page .product-card-copy>span,.objects-page .product-card-copy>i{display:none}
.objects-page.dark-mode .product-card-copy{background:linear-gradient(transparent,rgba(25,24,22,.95))}
.objects-page.dark-mode .product-card-copy strong{color:#f2ece2}
@media(max-width:700px){.objects-page .customise-toggle{padding-inline:18px}.objects-page .catalogue{gap:12px 8px}.objects-page .product-card-copy{padding:20px 6px 7px}.objects-page .settings-scroll{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.objects-page .customise-toggle span{transition:none}}

/* Mobile shopping: browse in the gallery, adjust in a freely scrolling panel. */
.collection-open{display:none}
.objects-page .topbar .collection-open{display:block;position:static;min-height:44px;padding:8px 10px;font-size:14px;background:transparent;border:0;margin-left:auto}
.objects-page #swatches{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}
.objects-page #swatches .swatch{width:100%;min-width:24px;height:36px}
.objects-page #stock-color-name{margin:8px 0 18px;font-size:14px}
@media(max-width:700px){
 .objects-page .collection-open{display:block;position:absolute;right:64px;bottom:8px;z-index:4;min-height:44px;padding:8px 12px;font-size:14px;background:color-mix(in srgb,var(--panel) 85%,transparent);border:1px solid var(--line)}
 .objects-page .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .objects-page .tabs [data-tab=collection]{display:none}
 .objects-page .settings-scroll,.objects-page .settings-scroll[data-active]{scroll-snap-type:none;scroll-padding:0;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));touch-action:pan-y}
 .objects-page .settings-scroll .control{scroll-snap-align:none;margin:16px 0 22px}
 .objects-page .control input[type=range]{height:44px;touch-action:pan-y}
 .objects-page .control-head{margin-bottom:2px}
 .objects-page .value-box input{min-height:40px}
 .objects-page .purchase-summary{touch-action:auto}
 .objects-page .topbar .collection-open{position:static;display:block;margin-left:auto;padding:8px;font-size:14px;background:transparent;border:0}
 .objects-page .topbar nav{margin-left:auto;gap:10px}
 .objects-page .topbar nav .selected{display:flex}
 .objects-page .topbar{gap:6px}
 .objects-page #swatches{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
}
@media(max-width:700px) and (orientation:portrait){
 .objects-page .atelier-grid{grid-template-rows:minmax(0,48fr) minmax(0,52fr)}
}
