:root{color-scheme:light;--paper:#e7e3dc;--surface:#f3f0ea;--ink:#292824;--muted:#706f69;--line:#cec9c0;--accent:#4b2222;--serif:"Noto Serif SC","Songti SC","STSong",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--header:70px;--nav:56px}
*{box-sizing:border-box}html{scroll-padding-top:125px}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button,input,select{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none;cursor:pointer;padding:0}a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}.icon{width:22px;height:22px;flex-shrink:0}.icon-button{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.icon-button img{width:24px;height:24px}.white-icon{filter:invert(1)}
.site-header{position:sticky;top:0;z-index:20;background:var(--paper)}.header-inner{max-width:1200px;height:var(--header);margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;gap:12px;align-items:center;min-width:0}.catalog-logo{width:36px;height:40px;object-fit:contain;flex-shrink:0}.brand-copy{display:flex;flex-direction:column}.brand-name{font:600 25px/1.45 var(--serif);letter-spacing:1.4px;white-space:nowrap}.brand-subtitle{font-size:11px;color:var(--muted);white-space:nowrap;letter-spacing:.2px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:25;display:flex;justify-content:center;height:calc(var(--nav) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid #d4cfc680}.bottom-nav a{width:min(50%,280px);display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:17px;font-weight:500}.bottom-nav span{display:flex;align-items:center;height:48px;border-bottom:2px solid transparent;line-height:1.4}.bottom-nav a[aria-current="page"]{color:var(--ink);font-weight:600}.bottom-nav a[aria-current="page"] span{border-bottom-color:var(--ink)}
#app{max-width:1200px;margin:auto;min-height:70vh;padding-bottom:calc(var(--nav) + env(safe-area-inset-bottom) + 24px)}.group-tabs{position:sticky;top:var(--header);z-index:19;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:5px 20px 5px;background:var(--paper)}.group-tabs a{display:flex;align-items:center;justify-content:center;gap:4px;min-height:38px;flex:1;border-radius:26px;font-size:15px;color:var(--muted);white-space:nowrap}.group-tabs a.active{background:var(--ink);color:#fff}.group-tabs .icon{width:12px;height:12px}.filter-indicator{display:flex;align-items:center;justify-content:space-between;padding:8px 20px 13px;color:var(--muted);font-size:12px}.filter-indicator button{min-height:32px;text-decoration:underline;text-underline-offset:4px}
.scene-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.scene-poster{position:relative;aspect-ratio:1.17;overflow:hidden;isolation:isolate;background:#b7ac9c}.poster-photo{position:absolute;inset:0;width:100%;height:100%;display:block}.poster-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}.poster-title{position:absolute;bottom:20px;left:22px;right:70px;color:white;pointer-events:none;text-shadow:0 1px 8px #16120e90,0 1px 2px #16120e80}.poster-title h2{font:500 28px/1.35 var(--serif);letter-spacing:.5px}.poster-title p{font-size:13px;line-height:1.6;margin-top:4px}.poster-expand{position:absolute;bottom:20px;right:20px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#28231eb3}.poster-expand .icon{width:23px;height:23px;filter:invert(1)}
.hotspot{position:absolute;z-index:3;min-height:36px;display:flex;align-items:center;white-space:nowrap;max-width:calc(100% - 24px)}.hotspot .label{font-size:12px;line-height:1.4;color:white;background:#272420d9;padding:7px 11px;border-radius:24px;backdrop-filter:blur(6px);overflow:hidden;text-overflow:ellipsis}.hotspot .marker{position:absolute;bottom:-10px;left:-12px;width:6px;height:6px;background:white;border-radius:50%}.hotspot .leader{position:absolute;width:18px;height:1px;background:#fff;left:-12px;bottom:0;transform:rotate(-50deg);transform-origin:left}.hotspot.flip .marker{left:auto;right:-12px}.hotspot.flip .leader{left:auto;right:-12px;transform:rotate(50deg);transform-origin:right}.hotspot:focus-visible{outline-color:#fff}
.page-wrap{padding:0 24px}.page-heading{padding:22px 0 20px;display:flex;justify-content:space-between;align-items:baseline;gap:12px}.page-heading h1,.detail-title{font:500 28px/1.4 var(--serif)}.page-heading p{font-size:12px;color:var(--muted)}.search-box{display:flex;align-items:center;gap:10px;min-height:46px;border:1px solid var(--line);background:var(--surface);border-radius:5px;padding:0 13px}.search-box .icon{width:20px;height:20px;opacity:.65}.search-box input{height:44px;width:100%;min-width:0;border:0;outline:none;background:none;font-size:14px}.search-box input:focus-visible{outline:none}.search-box:focus-within{border-color:var(--ink)}.filter-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;padding:14px 0 12px}.chip{min-height:36px;padding:6px 16px;border-radius:22px;color:var(--muted);flex-shrink:0}.chip[aria-pressed="true"]{background:var(--ink);color:white}.results-line{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:4px 0 14px}.material-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 14px}.material-card{min-width:0;position:relative}.material-card>a:first-child{display:block}.material-card>a>img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:3px}.material-card h2{font-size:13px;font-weight:500;margin-top:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.material-card p{font-size:11px;color:var(--muted)}.effect-link{display:flex;gap:5px;align-items:center;min-height:32px;font-size:11px}.material-card .effect-link img{width:13px;height:13px;aspect-ratio:1}.wall-entry{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin:0 0 10px;padding:12px 0;gap:10px}.wall-entry strong{display:block;font-size:14px;font-weight:500}.wall-entry p{color:var(--muted);font-size:11px;margin-top:3px}.wall-entry .icon{width:18px}
.back-row{display:flex;justify-content:space-between;align-items:center;min-height:50px;color:var(--muted);font-size:12px;gap:12px}.back-row a{display:flex;align-items:center;gap:8px;min-height:44px}.back-row .icon{width:17px;height:17px}.material-topline{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:10px 0 18px}.material-topline .meta{font-size:12px;color:var(--muted)}.mode-tabs{display:flex;gap:24px;margin-bottom:20px;border-bottom:1px solid var(--line)}.mode-tabs a{padding:8px 1px 10px;min-height:44px;font-size:14px;border-bottom:2px solid transparent;color:var(--muted)}.mode-tabs a.active{color:var(--ink);border-bottom-color:var(--ink)}.detail-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:36px}.detail-photo{width:100%;display:block;position:relative;background:#ddd7cc}.detail-photo>img{width:100%;height:auto}.photo-hint{position:absolute;right:12px;bottom:12px;background:#2a251fba;color:white;border-radius:24px;padding:7px 10px;font-size:11px;display:flex;gap:6px;align-items:center}.photo-hint img{width:15px;height:15px;filter:invert(1)}.texture-stage{max-height:580px;overflow:hidden}.texture-stage>img{height:540px;object-fit:cover}.detail-copy{padding-top:12px}.eyebrow{color:var(--muted);font-size:12px;margin-bottom:10px}.detail-description{line-height:1.9;color:var(--muted);margin:15px 0;font-size:14px}.detail-footnote{color:var(--muted);font-size:11px;line-height:1.8;margin-top:18px}.section-label{font-size:14px;font-weight:500;margin:22px 0 12px}.palette-list{border-top:1px solid var(--line)}.palette-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.palette-item>img{width:42px;height:50px;object-fit:cover;border-radius:2px}.palette-item strong{font-size:14px;font-weight:500}.palette-item small{color:var(--muted);font-size:11px;font-weight:400;margin-left:8px}.palette-item p{color:var(--muted);font-size:12px;margin-top:3px}.palette-item>.icon{width:18px;height:18px;margin-left:auto;object-fit:contain}.spec-list{margin:12px 0 16px}.spec-list>div{display:flex;padding:10px 0;border-bottom:1px solid var(--line);gap:18px;font-size:13px}.spec-list dt{min-width:70px;color:var(--muted)}.spec-list dd{margin:0}.text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px}.text-link .icon{width:16px;height:16px}.wall-empty{padding:40px 20px;text-align:center;background:var(--surface)}.wall-empty h2{font:500 23px/1.5 var(--serif)}.wall-empty p{font-size:13px;margin-top:10px;color:var(--muted)}.single-wall-view{max-width:1000px;margin:auto}.single-wall-view>.detail-photo>img{max-height:70vh;object-fit:contain}.single-wall-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px}.single-wall-caption h2{font:500 21px var(--serif)}.single-wall-caption p{font-size:12px;color:var(--muted)}
.template-tabs{display:flex;gap:10px;margin-bottom:18px;overflow-x:auto}.template-tabs a{flex:1;min-width:100px;padding:10px 12px;border-bottom:2px solid transparent;color:var(--muted);font-size:13px;white-space:nowrap}.template-tabs a.active{border-bottom-color:var(--ink);color:var(--ink)}.template-hero{position:relative}.template-hero>img{width:100%;max-height:68vh;object-fit:contain}.template-caption{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:12px}.template-caption h1{font:500 25px var(--serif)}.template-caption p{font-size:12px;color:var(--muted);margin-top:7px}.template-material{display:flex;align-items:center;gap:10px;font-size:13px}.template-material>img{width:36px;height:42px;object-fit:cover;border-radius:2px}.template-material small{display:block;color:var(--muted);font-size:11px}.template-material .icon{width:16px;height:16px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:26px 0 12px}.template-card{display:block;overflow:hidden;border-radius:3px}.template-card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.template-card span{display:block;font-size:12px;padding:8px 0}.empty-state{grid-column:1/-1;padding:50px 16px;text-align:center}.empty-state h2{font:500 22px var(--serif);margin-bottom:12px}.empty-state p{color:var(--muted);font-size:13px}.loading{padding:80px 20px;text-align:center;color:var(--muted)}.page-end{font-size:11px;color:var(--muted);text-align:center;padding:30px 12px 6px}
#photo-viewer{border:0;padding:54px 0 0;background:#1e1d1b;color:white;width:min(1300px,100vw);max-width:100vw;max-height:100dvh;margin:auto}#photo-viewer::backdrop{background:#141310ed}.viewer-close{position:absolute;right:10px;top:7px;border-radius:50%;background:#36332ebd;z-index:2}.viewer-close img{filter:invert(1)}.viewer-content>img{max-height:calc(100dvh - 112px);width:100%;object-fit:contain}.viewer-content p{text-align:center;font-size:12px;padding:14px 20px}.sheet{border:0;padding:18px 20px 26px;border-radius:18px 18px 0 0;background:var(--surface);color:var(--ink);width:min(480px,100vw);max-width:100vw;margin:auto auto 0}.sheet::backdrop{background:#201d185c}.sheet-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.sheet-heading h2{font:500 24px var(--serif)}.space-options{display:flex;flex-wrap:wrap;gap:10px}.space-options button{min-height:44px;padding:9px 18px;border:1px solid var(--line);border-radius:24px}.space-options button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
@media(min-width:900px){:root{--header:88px}.group-tabs{justify-content:flex-start;gap:20px}.group-tabs a{flex:0 1 120px}.scene-feed{gap:10px;padding:0 24px}.scene-poster{aspect-ratio:1.3}.poster-title h2{font-size:32px}.brand-name{font-size:27px}.page-heading{padding-top:28px}}
@media(max-width:760px){.scene-feed{display:block}.scene-poster{margin-bottom:4px}.page-wrap{padding:0 20px}.header-inner{padding:0 20px}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 10px}.detail-layout{display:block}.detail-copy{padding-top:22px}.detail-title{font-size:26px}.material-topline .meta{font-size:11px}.scene-detail .detail-photo,.single-wall-view>.detail-photo{margin-left:-20px;width:calc(100% + 40px)}.texture-stage>img{height:390px}.template-tabs{gap:4px;margin-top:6px}.template-tabs a{padding:9px 6px;text-align:center;min-width:0;font-size:12px}.template-hero{margin-left:-20px;width:calc(100% + 40px)}.template-caption{display:block;padding:20px 0 8px}.template-material{margin-top:16px;min-height:44px}.template-grid{gap:8px}.template-card span{font-size:11px}.template-caption h1{font-size:24px}.spec-list>div{font-size:12px}.single-wall-caption h2{font-size:20px}.bottom-nav a{width:50%}.poster-title{left:20px}.poster-title h2{font-size:27px}.poster-title p{font-size:13px}}
@media(max-width:360px){.header-inner{padding:0 14px}.brand{gap:8px}.catalog-logo{width:30px;height:35px}.brand-name{font-size:23px}.brand-subtitle{font-size:10px}.group-tabs{padding-left:14px;padding-right:14px}.hotspot .label{font-size:11px;padding:7px 8px}.page-wrap{padding:0 14px}.scene-detail .detail-photo,.single-wall-view>.detail-photo,.template-hero{margin-left:-14px;width:calc(100% + 28px)}.material-topline{align-items:flex-start}.material-topline .meta{text-align:right;max-width:120px}.poster-title h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* R006: carry the selected large-image design across the catalogue. */
.catalog-page{padding:0 20px}.catalog-tools{position:sticky;top:var(--header);z-index:18;background:var(--paper);padding-top:10px}.catalog-tools .search-box{min-height:42px;background:#ded9d0;border:0;border-radius:3px}.catalog-tools .search-box input{height:42px}.catalog-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:9px 0 2px;border-bottom:1px solid var(--line)}.catalog-tabs button{min-height:44px;color:var(--muted);font-size:14px;border-bottom:2px solid transparent}.catalog-tabs button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.catalog-summary{display:flex;align-items:center;justify-content:space-between;min-height:46px;font-size:12px;color:var(--muted)}.catalog-summary a{display:flex;align-items:center;gap:7px;min-height:44px;color:var(--ink)}.catalog-summary .icon{width:15px;height:15px}.catalog-page .material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px}.catalog-page .material-card{min-width:0}.swatch-image{position:relative;overflow:hidden;background:var(--surface)}.swatch-image>img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:0}.wall-ready{position:absolute;right:8px;bottom:8px;background:#f0ede6e8;color:var(--ink);font-size:10px;line-height:1.4;padding:4px 6px;border-radius:2px}.swatch-caption{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:10px 0 0}.catalog-page .material-card h2{font:500 17px/1.5 var(--serif);margin:0;white-space:normal;overflow:visible}.swatch-caption>span{font:11px/1.5 var(--sans);letter-spacing:.3px;color:var(--muted);flex-shrink:0}.material-detail .back-row{min-height:42px}.material-detail .material-topline{margin:3px 0 12px}.material-detail .mode-tabs{justify-content:center;gap:0;margin:0 -20px 0;border-top:1px solid var(--line);background:var(--paper)}.material-detail .mode-tabs a{width:50%;text-align:center;min-height:46px}.material-detail .texture-stage{max-height:none;background:none}.material-detail .texture-stage>img{height:auto;max-height:70vh;aspect-ratio:4/5;object-fit:cover}.material-detail .detail-layout{margin-top:0}.material-detail .detail-copy{padding-top:18px}.material-detail .eyebrow{margin-bottom:8px}.material-detail .spec-list{margin-top:0}.material-detail .spec-list>div{font-size:13px}.material-detail .detail-footnote{line-height:1.8}.material-detail .spec-list>div:first-child{display:none}
@media(min-width:900px){.catalog-page{padding:0 24px}.catalog-tools{display:flex;align-items:center;gap:36px;padding:12px 0 10px;border-bottom:1px solid var(--line)}.catalog-tools .search-box{flex:0 1 350px}.catalog-tabs{flex:1;padding:0;border:0;max-width:530px}.catalog-page .material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.material-detail .mode-tabs{margin:0 0 24px;justify-content:flex-start}.material-detail .mode-tabs a{width:140px}}
@media(max-width:760px){.catalog-page .material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.material-detail .texture-stage{margin-left:-20px;width:calc(100% + 40px)}.swatch-caption{display:block;padding:8px 0 0}.swatch-caption>span{display:block;margin-top:2px}.catalog-page .material-card h2{font-size:16px}.material-detail .detail-title{font-size:28px}.material-detail .detail-copy{padding-top:14px}}
@media(max-width:360px){.catalog-page{padding:0 14px}.catalog-tabs{gap:2px}.catalog-tabs button{font-size:13px}.material-detail .texture-stage{margin-left:-14px;width:calc(100% + 28px)}.material-detail .mode-tabs{margin-left:-14px;margin-right:-14px}}
@media(max-width:760px){html{scrollbar-width:none}html::-webkit-scrollbar{display:none}}

/* R007: neutral viewing surrounds and separate overview/detail sizes. */
body[data-section="catalog"]{--paper:#ededed;--surface:#e4e4e4;--ink:#242424;--muted:#626262;--line:#cbcbcb}
body[data-surface="catalog"]{background:#707070}
.catalog-page{background:#707070;color:#fff}
.catalog-tools{margin:0 -20px;padding:10px 20px 0;color:var(--ink)}
.catalog-tools .search-box{background:#dedede}
.catalog-summary{color:#fff;min-height:60px;gap:12px}
.catalog-view-switch{display:flex;align-items:center;gap:3px;border:1px solid #a9a9a9;border-radius:6px;padding:3px}
.catalog-view-switch button{min-height:36px;min-width:55px;border-radius:3px;font-size:12px;color:#fff}
.catalog-view-switch button[aria-pressed="true"]{background:#eee;color:#252525}
.catalog-page .swatch-caption>span,.catalog-page .page-end,.catalog-page .empty-state p{color:#fff}
.catalog-page button:focus-visible,.catalog-page a:focus-visible{outline-color:white}
.catalog-tools button:focus-visible{outline-color:#242424}
.catalog-page .material-grid[data-view="large"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
.catalog-page .material-grid[data-view="large"] .swatch-image>img{aspect-ratio:auto}
.catalog-page .material-grid[data-view="large"] .swatch-caption{display:flex;align-items:baseline;justify-content:space-between}
.catalog-page .material-grid[data-view="large"] .material-card h2{font-size:21px}
.material-detail .texture-stage{background:#707070;padding:16px}
.material-detail .texture-stage>img{max-height:none;aspect-ratio:auto;object-fit:contain}
body.viewer-open{overflow:hidden}
#photo-viewer{padding:0;background:#707070;color:white;width:min(1300px,100vw);height:100dvh;max-height:100dvh;overflow:hidden;border-radius:0}
#photo-viewer[open]{display:grid;grid-template-rows:56px minmax(0,1fr) 54px 30px}
#photo-viewer::backdrop{background:#444e}
.viewer-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 20px;background:#303030;gap:12px}
.viewer-heading p{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.viewer-heading img{filter:invert(1)}
.viewer-stage{overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;touch-action:pan-x pan-y}
.viewer-plane{display:flex;align-items:center;justify-content:center;width:max-content;height:max-content;min-width:100%;min-height:100%}
#viewer-image{max-width:none;max-height:none;object-fit:contain;flex-shrink:0;user-select:none;-webkit-user-drag:none}
.viewer-stage.is-zoomed{cursor:grab}.viewer-stage.is-zoomed:active{cursor:grabbing}
.viewer-toolbar{display:flex;align-items:center;justify-content:center;gap:12px;background:#303030}
.viewer-toolbar button{min-width:44px;min-height:44px;border-radius:4px;font-size:24px}
.viewer-toolbar [data-viewer-fit]{font-size:13px;padding:0 12px;border-left:1px solid #666;border-radius:0}
.viewer-toolbar output{min-width:45px;text-align:center;font-size:13px}
.viewer-toolbar button:focus-visible,.viewer-heading button:focus-visible{outline-color:white}
.viewer-help{background:#303030;text-align:center;font-size:11px;color:#ddd;padding-bottom:8px}
@media(min-width:900px){.catalog-tools{margin:0 -24px;padding:12px 24px 10px}.catalog-page .material-grid[data-view="large"]{max-width:1050px;margin:auto}}
@media(max-width:760px){.catalog-page .material-grid[data-view="large"]{grid-template-columns:minmax(0,1fr);gap:30px}.material-detail .texture-stage{margin-left:0;width:100%}.material-detail .texture-stage .photo-hint{right:24px;bottom:24px}}
@media(max-width:360px){.catalog-tools{margin:0 -14px;padding-left:14px;padding-right:14px}}

/* R008: one visual system, one image-viewing level. */
:root,body[data-section="catalog"]{--paper:#efefef;--surface:#e5e5e5;--ink:#262626;--muted:#656565;--line:#cecece}
body,body[data-surface="catalog"],.catalog-page{background:var(--paper);color:var(--ink)}
.catalog-summary{color:var(--muted);min-height:50px}
.catalog-view-hint{font-size:11px}
.catalog-page .swatch-caption>span,.catalog-page .page-end,.catalog-page .empty-state p{color:var(--muted)}
.catalog-page button:focus-visible,.catalog-page a:focus-visible{outline-color:var(--ink)}
.swatch-image{border:1px solid #d0d0d0}
.swatch-image>img{aspect-ratio:3/4}
.catalog-page .material-grid{row-gap:24px}
.material-detail .texture-stage{background:var(--paper);padding:0}
#photo-viewer{background:var(--paper);color:var(--ink);width:min(1300px,100vw);border:0}
#photo-viewer[open]{display:flex;flex-direction:column}
#photo-viewer::backdrop{background:#38383880}
.viewer-heading{background:var(--paper);min-height:64px;flex-shrink:0;border-bottom:1px solid var(--line)}
.viewer-heading p{font:500 22px/1.5 var(--serif)}
.viewer-heading img{filter:none}
.viewer-stage{flex:1;touch-action:pan-y;background:var(--paper)}
.viewer-stage.is-zoomed{touch-action:pan-x pan-y}
#viewer-image{outline:1px solid #cfcfcf;outline-offset:0}
.viewer-toolbar,.viewer-help{background:var(--paper);color:var(--muted);flex-shrink:0}
.viewer-toolbar{min-height:48px;border-top:1px solid var(--line)}
.viewer-toolbar button{color:var(--ink)}
.viewer-toolbar [data-viewer-fit]{border-color:var(--line)}
.viewer-toolbar button:focus-visible,.viewer-heading button:focus-visible{outline-color:var(--ink)}
.viewer-help{font-size:10px;padding:0 12px calc(8px + env(safe-area-inset-bottom));line-height:1.5}
.viewer-material-modes{display:flex;justify-content:center;flex-shrink:0;min-height:42px;border-bottom:1px solid var(--line)}
.viewer-material-modes button{min-height:42px;width:120px;font-size:13px;color:var(--muted);border-bottom:2px solid transparent}
.viewer-material-modes button[aria-pressed="true"]{border-bottom-color:var(--ink);color:var(--ink)}
.viewer-material-nav{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;min-height:44px;padding:0 20px}
.viewer-material-nav button{min-height:44px;min-width:86px;font-size:13px}
.viewer-material-nav span{font-size:11px;color:var(--muted)}
.viewer-material-info{flex-shrink:0;margin:0 20px;border-top:1px solid var(--line);font-size:12px}
.viewer-material-info summary{cursor:pointer;min-height:38px;display:flex;align-items:center;justify-content:space-between;list-style:none}
.viewer-material-info summary::-webkit-details-marker{display:none}
.viewer-material-info summary::after{content:'＋';font-size:16px;color:var(--muted)}
.viewer-material-info[open] summary::after{content:'−'}
#viewer-material-info-content{padding:0 0 12px;max-height:130px;overflow:auto}
#viewer-material-info-content dl{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:8px 20px}
#viewer-material-info-content dl>div{display:flex;gap:10px}
#viewer-material-info-content dt{color:var(--muted)}
#viewer-material-info-content dd{margin:0}
#viewer-material-info-content p{font-size:10px;color:var(--muted)}
@media(max-width:760px){.viewer-heading p{font-size:21px}.viewer-heading{min-height:60px}.viewer-material-modes button{min-height:42px}}

/* R009: approved U005 white design */
:root,body[data-section="catalog"]{--paper:#fff;--surface:#fafafa;--ink:#252625;--muted:#70716e;--line:#e7e7e3;--header:78px}
body,body[data-surface="catalog"],.catalog-page{background:#fff}
.header-inner{padding:0 20px}.brand{gap:10px}.catalog-logo{width:30px;height:36px}.brand-name{font-size:24px;font-weight:500;letter-spacing:2px;line-height:1.4}.brand-subtitle{font-size:10px;letter-spacing:.1px;margin-top:3px}.icon-button img{width:22px;height:22px}
.bottom-nav{background:#fff;border-top:1px solid var(--line)}.bottom-nav a{font-size:15px;font-weight:400}.bottom-nav a[aria-current="page"]{font-weight:500}.bottom-nav span{height:44px;border-bottom-width:1px}
.group-tabs{padding-bottom:10px}.group-tabs a{font-size:14px}.group-tabs a.active{background:#292c29}.scene-poster{margin-bottom:8px}.poster-title h2{font-size:26px;font-weight:500}.hotspot .label{font-size:11px}
.catalog-page{padding:0 20px}.catalog-tools{padding-top:0;background:#fff}.catalog-tools .search-box{background:#fff;border-radius:0;border-bottom:1px solid #e2e2df;padding:0 0 0 2px;min-height:42px}.catalog-tools .search-box input{font-size:12px}.catalog-tools .search-box .icon{width:18px;height:18px}.catalog-tabs{border:0;padding-top:6px;gap:8px}.catalog-tabs button{font-size:13px;min-height:44px;border-bottom-width:1px}.catalog-tabs button[aria-pressed="true"]{font-weight:500}
.catalog-summary{min-height:50px;font-size:11px}.catalog-detail-toggle{display:flex;gap:0;align-items:center}.catalog-detail-toggle button{font-size:11px;min-height:40px;min-width:44px;position:relative;color:var(--muted)}.catalog-detail-toggle button+button::before{content:'';position:absolute;left:0;top:15px;height:10px;width:1px;background:#ddd}.catalog-detail-toggle button[aria-pressed="true"]{color:var(--ink);font-weight:600}
.catalog-page .material-grid{gap:25px 18px}.swatch-image{background:transparent;border:1px solid #d6d6d1;box-shadow:0 3px 6px #2020200b;overflow:hidden;border-radius:0}.swatch-image>img{aspect-ratio:3/4;object-fit:cover;transition:transform .2s ease}.show-detail .swatch-image>img{transform:scale(3);transform-origin:50% 50%}.catalog-page .material-card h2{font-size:17px;font-weight:500}.swatch-caption{padding-top:9px;display:flex;align-items:center}.swatch-caption>span{font-size:10px;letter-spacing:.3px;margin:0}.catalog-page .page-end{color:#90918d}
#photo-viewer{background:#fff}.viewer-heading{background:#fff;min-height:74px;padding:0 14px 0 22px;border:0}.viewer-heading p{font:500 23px/1.25 var(--serif);letter-spacing:.6px}.viewer-heading p small{display:block;font:10px/1.5 var(--sans);letter-spacing:.4px;color:var(--muted);margin-top:5px}.viewer-material-modes{background:#fff;border:0;min-height:38px}.viewer-material-modes button{font-size:12px;min-height:38px;width:100px;border-bottom-width:1px}.viewer-stage{background:#fff;margin:7px 0 0;scrollbar-width:none}.viewer-stage::-webkit-scrollbar{display:none}.viewer-plane{background:#fff}#viewer-image{outline:1px solid #deded9;box-shadow:0 2px 5px #22222208}.viewer-stage.is-zoomed #viewer-image{outline:none;box-shadow:none}
.sample-detail-toggle{display:flex;justify-content:center;gap:28px;padding:2px 0;background:#fff;flex-shrink:0}.sample-detail-toggle button{font-size:12px;min-height:42px;color:var(--muted);position:relative}.sample-detail-toggle button[aria-pressed="true"]{color:var(--ink)}.sample-detail-toggle button[aria-pressed="true"]::after{content:'';position:absolute;bottom:5px;left:calc(50% - 9px);width:18px;height:1px;background:var(--ink)}
.viewer-toolbar{border:0;background:#fff;min-height:36px;gap:18px}.viewer-toolbar button{font-size:21px;min-height:36px}.viewer-toolbar #viewer-scale{font-size:11px}.viewer-toolbar [data-viewer-fit]{display:none}.viewer-material-nav{min-height:48px;background:#fff;border-top:1px solid #eeeeea;margin:0 22px;padding:0}.viewer-material-nav button{font-size:12px;min-height:44px;min-width:70px}.viewer-material-nav span{font-size:10px}.viewer-material-info{margin:0 22px;border-top:0;font-size:11px}.viewer-material-info summary{min-height:32px}.viewer-help{background:#fff;font-size:9px;color:#777870;padding-bottom:10px}.viewer-material-info summary::after{font-size:14px}
@media(min-width:900px){.catalog-page .material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}.catalog-tools{gap:36px}}
@media(max-width:380px){.brand-name{font-size:23px}.catalog-page .material-card h2{font-size:16px}.swatch-caption{display:block}.swatch-caption>span{display:block;margin-top:3px}.catalog-tabs{gap:4px}}
@media(prefers-reduced-motion:reduce){.swatch-image>img{transition:none}}
#viewer-title:focus{outline:none}

/* R009: make approved wall examples discoverable in the real website. */
.catalog-summary-actions{display:flex;align-items:center;gap:12px}.catalog-summary .catalog-wall-link{font-size:11px;gap:5px;min-height:44px;white-space:nowrap}.catalog-summary .catalog-wall-link .icon{width:14px;height:14px}.catalog-detail-toggle button{min-width:38px}
.wall-examples .back-row{margin-bottom:6px}.wall-examples .template-tabs{margin:0 -20px 12px;padding:0 20px;gap:18px}.wall-examples .template-tabs a{font-size:14px;text-align:center;padding:10px 0;min-height:44px;border-bottom-width:1px}.wall-examples .template-hero{background:#fff}.wall-examples .template-hero>img{max-height:65vh;object-fit:contain;width:100%;height:auto}.wall-examples .template-caption{padding-top:20px}.wall-examples .template-caption h1{font-size:23px}.wall-examples .template-material{border-top:1px solid var(--line);padding-top:14px;min-height:56px}.wall-examples .template-grid{margin-top:22px;gap:12px}.wall-examples .template-card{border-radius:0}.wall-examples .template-card>img{border-radius:0}.wall-examples .template-card span{font-size:11px}.wall-examples .detail-footnote{margin-top:12px;font-size:10px}
#photo-viewer:not(.showing-texture) .viewer-toolbar [data-viewer-fit]{display:block;border-left:1px solid var(--line);font-size:12px}
@media(min-width:900px){.wall-examples{max-width:1050px;margin:auto}.wall-examples .template-tabs{margin:0 0 18px;padding:0}.wall-examples .template-tabs a{max-width:160px}.wall-examples .template-material{border:0;padding-top:0}.wall-examples .template-grid{max-width:680px}.catalog-summary-actions{gap:24px}}
@media(max-width:380px){.catalog-summary-actions{gap:8px}.catalog-summary .catalog-wall-link{font-size:11px}.catalog-detail-toggle button{min-width:34px}.catalog-summary{font-size:10px}}

/* R011: a product detail is one page, with direct image gestures and visible specs. */
body[data-surface="material"] .site-header,body[data-surface="material"] .bottom-nav{display:none}
body[data-surface="material"] #app{padding-bottom:calc(28px + env(safe-area-inset-bottom));min-height:100dvh}
.sample-page{max-width:1000px;margin:auto;padding:0 20px}
.sample-header{display:flex;gap:12px;align-items:center;min-height:84px;background:#fff;position:relative}
.sample-back{display:grid;place-items:center;width:36px;height:48px;margin-left:-8px;flex-shrink:0}
.sample-back .icon{width:21px;height:21px}
.sample-header h1{font:500 26px/1.3 var(--serif);letter-spacing:.6px}
.sample-header span{display:block;color:var(--muted);font-size:11px;margin-top:4px;letter-spacing:.4px}
.sample-layout{display:block}
.sample-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:3/4;background:#fff;outline:1px solid #deded9;isolation:isolate}
.sample-stage>img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.sample-stage:focus-visible,.viewer-stage:focus-visible{outline:2px solid #777;outline-offset:2px}
.gesture-hint{display:flex;align-items:center;justify-content:center;gap:14px;min-height:34px;font-size:10px;line-height:1.6;color:var(--muted);flex-shrink:0}
.gesture-hint button{font-size:11px;min-height:40px;text-decoration:underline;text-underline-offset:4px}
.touch-gesture{display:none}
@media(pointer:coarse){.touch-gesture{display:inline}.mouse-gesture{display:none}}
.sample-specs{margin:8px 0 18px;display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px 0;border-top:1px solid var(--line)}
.sample-specs>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.sample-specs dt{font-size:11px;color:var(--muted)}
.sample-specs dd{font-size:14px;margin:0}
.sample-effect{display:flex;align-items:center;justify-content:space-between;border:1px solid #d9dad6;min-height:50px;padding:0 16px;font-size:14px}
.sample-effect .icon{width:18px;height:18px}
.sample-effect-pending{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding-top:6px;font-size:11px;color:var(--muted)}
.sample-effect-pending a{display:flex;align-items:center;gap:6px;min-height:44px;color:var(--ink)}
.sample-effect-pending .icon{width:15px;height:15px}
.room-stage{aspect-ratio:4/3;outline:0}
.wall-view-content{padding-top:6px}
.wall-context{font-size:13px;color:var(--muted);margin:0 0 16px}
.sample-return{display:flex;align-items:center;gap:10px;min-height:50px;margin-top:12px;border-top:1px solid var(--line);font-size:13px}
.sample-return .icon{width:17px;height:17px}
.scene-detail .detail-copy{padding-top:20px}
.scene-detail .detail-title{font-size:25px;line-height:1.45}
.scene-detail .section-label{font-size:13px;color:var(--muted);margin:22px 0 8px}
.scene-detail .palette-item{padding:14px 0}
.scene-detail .palette-item p{font-size:11px;line-height:1.65}
.wall-examples{max-width:1050px;margin:auto}
.wall-page-title{font:500 25px/1.5 var(--serif);margin:3px 0 14px}
.wall-origin-note{font-size:11px;color:var(--muted);margin:-5px 0 10px}
.wall-examples .template-tabs{margin:0 0 16px;padding:0;gap:20px}
.wall-examples .room-stage{margin-left:-20px;width:calc(100% + 40px)}
.wall-examples .palette-list{margin-top:10px}
#photo-viewer{max-width:1100px;height:100dvh;padding:0}
#photo-viewer[open]{display:flex;flex-direction:column}
#photo-viewer .viewer-heading{min-height:66px;gap:12px;padding:0 16px}
#photo-viewer .viewer-heading p{font:500 16px/1.5 var(--sans);white-space:normal}
#photo-viewer .viewer-stage{position:relative;flex:1;min-height:0;margin:0 12px;overflow:hidden;background:#fff}
#photo-viewer #viewer-image{outline:none;box-shadow:none}
#photo-viewer .gesture-hint{min-height:44px;padding-bottom:env(safe-area-inset-bottom)}
@media(min-width:800px){.sample-page{padding:0 28px}.sample-header{min-height:100px}.sample-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:44px}.sample-stage{max-height:calc(100dvh - 150px)}.sample-information{padding-top:6px}.sample-specs{margin-top:0}.sample-room{max-width:1100px}.sample-room .room-stage{max-height:none}.scene-detail .detail-copy{padding-top:0}.wall-examples .room-stage{margin-left:0;width:100%}.wall-examples .template-tabs a{max-width:160px}}
@media(max-width:360px){.sample-page{padding:0 16px}.sample-header h1{font-size:24px}.sample-effect-pending{font-size:10px}.wall-examples .room-stage{margin-left:-14px;width:calc(100% + 28px)}}

/* R012: sibling modes with a continuous three-space wall gallery. */
.sample-top{position:sticky;top:0;background:#fff;z-index:21;margin:0 -20px;padding:0 20px}
.sample-top .sample-header{min-height:78px}
.sample-modes{display:flex;justify-content:center;gap:22px;background:#fff;margin:0 0 20px;padding-bottom:0}
.sample-modes a{min-width:100px;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--muted);border-bottom:1px solid transparent}
.sample-modes a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ink)}
.sample-room .sample-top{margin-bottom:0}
.sample-room .wall-origin-note{margin:0 0 18px;font-size:11px;line-height:1.7}
.wall-gallery{display:flex;flex-direction:column;gap:25px}
.wall-sample{margin:0;min-width:0}
.wall-sample .room-stage{aspect-ratio:4/3;max-height:none;margin:0;width:100%}
.wall-sample-caption{display:flex;justify-content:space-between;align-items:center;padding:14px 0 0;gap:12px}
.wall-sample-caption h2{font:500 19px/1.4 var(--serif)}
.wall-sample-caption p{font-size:11px;color:var(--muted);margin-top:5px}
.wall-reset{font-size:12px;text-decoration:underline;min-width:44px;min-height:44px}
.sample-room .wall-gallery{padding-bottom:12px}
.wall-examples .wall-gallery{margin-top:20px}
.trial-board-picker{display:flex;gap:10px;margin:14px 0 4px;position:sticky;top:122px;z-index:20;background:#fff;padding:8px 0;border-bottom:1px solid var(--line)}
.trial-board-picker button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:3px;padding:8px 14px;font-size:12px;min-height:38px}
.trial-board-picker button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.trial-note{font-size:11px;color:var(--muted);margin:8px 0 18px;line-height:1.7}
.trial-wall-gallery{gap:30px;margin-top:18px}
body[data-surface="material"]{scroll-padding-top:138px}
@media(min-width:800px){.sample-top{margin:0 -28px;padding:0 28px}.sample-top .sample-header{min-height:90px}.sample-modes{justify-content:flex-start;gap:20px}.sample-modes a{min-width:140px;font-size:14px}.sample-room{max-width:850px}.wall-gallery{gap:32px}}
@media(max-width:360px){.sample-top{margin:0 -16px;padding:0 16px}.sample-modes{gap:16px}.sample-modes a{min-width:105px}}
@media(max-width:520px){.trial-board-picker{top:122px;gap:7px}.trial-board-picker button{flex:1;padding:7px 3px;font-size:11px}.trial-note{font-size:10px}}

/* C25: image save controls only; retain scrolling, pinch zoom and text selection. */
#app img,#viewer-image,.poster-photo,.detail-photo,.material-card>a,.palette-item,.sample-stage,.viewer-stage{-webkit-touch-callout:none}
#app img,#viewer-image{-webkit-user-drag:none;-webkit-user-select:none;user-select:none}

/* Long press lands on the parent instead of the picture, so no save menu opens. */
*{-webkit-touch-callout:none}
img{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
