*{box-sizing:border-box}
:root{--ink:#26382f;--muted:#545d54;--line:#d4d4c8;--paper:#f9f8f2;--green:#344c3c;--serif:Georgia,"Yu Mincho","YuMincho","Hiragino Mincho ProN",serif;--sans:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,Arial,sans-serif}
html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 var(--sans)} button,input{font:inherit}button,a,input{touch-action:manipulation}button{color:inherit;cursor:pointer}button{border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ad5229;outline-offset:3px}button:disabled{cursor:default} .wrap{width:min(1376px,calc(100% - 100px));margin:auto}.masthead{border-bottom:1px solid #c8cec2}.header-row{display:flex;align-items:center;justify-content:space-between;min-height:66px}.wordmark,.header-row nav,.nav-compare,.selection-heading,.room-controls,.figure-controls,.material-row,.collection-heading,footer,.panel-header{display:flex;align-items:center}.wordmark{gap:11px}.wordmark span{font-family:var(--serif);font-size:1.75rem;letter-spacing:.12em}.wordmark small,.footer-brand small{font:600 .75rem/1 Arial,sans-serif;letter-spacing:.18em}.header-row nav{gap:26px;font-size:.94rem;font-weight:600}.nav-compare{gap:9px;padding:9px 16px;border:1px solid #8f9b8c;border-radius:24px}.nav-compare span{font:600 .8rem Arial,sans-serif}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:32px 0 23px}.intro h1{font:500 clamp(2.3rem,4.1vw,4rem)/1.22 var(--serif);letter-spacing:.015em;margin:0}.intro h1 span{color:#627857}.intro p{margin:8px 0 0;color:var(--muted)}.intro .demo-mark{margin-bottom:3px;border:1px solid #a8ae9e;border-radius:2px;padding:4px 10px;white-space:nowrap;font-size:.82rem;color:#475647}
.studio-grid{display:grid;grid-template-columns:minmax(0,2.34fr) minmax(285px,.93fr);gap:23px;align-items:start}.theater{min-width:0}.figure-wrap{position:relative;background:#d6c7af;overflow:hidden;border-radius:2px}.figure-wrap svg{width:100%;height:auto;display:block}.figure-label{position:absolute;left:15px;top:14px;background:#f6f3e9ed;color:#314136;display:flex;align-items:center;gap:8px;padding:3px 9px;font-size:.8rem;font-weight:600}.label-dash{width:16px;border-bottom:1px solid #445448}.figure-controls{justify-content:space-between;gap:12px;padding:10px 0 12px;border-bottom:1px solid var(--line)}.seg{display:inline-flex;border:1px solid #a9b1a3;padding:2px;border-radius:5px;background:#f0f0e8}.seg button,.room-controls button{font-size:.88rem;font-weight:600;min-height:34px}.seg button{padding:3px 17px;border-radius:3px}.seg button[aria-pressed=true]{background:#364c3e;color:white}.scale-label{display:flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600;cursor:pointer}.scale-label input{width:17px;height:17px;accent-color:var(--green)}.scale-label:has(input:disabled){opacity:.6}.room-controls{gap:16px;margin-top:12px;flex-wrap:wrap}.room-controls h2{font-size:.9rem;margin:0}.room-controls>div{display:flex;gap:6px;flex-wrap:wrap}.room-controls button{background:transparent;padding:3px 12px;border:1px solid #c8cec2;border-radius:20px}.room-controls button[aria-pressed=true]{background:#e1e7d9;border-color:#71816c}.figure-note{font-size:.82rem;margin:7px 0 0;color:var(--muted)}
.spec{background:#eeeee5;border:1px solid #d5d9cb;border-radius:2px}.spec-body{padding:clamp(17px,2vw,34px)}.selection-heading{justify-content:space-between;color:#52614f;font-size:.82rem;letter-spacing:.035em;font-weight:600}.spec h2{font:normal clamp(2.7rem,3.9vw,4.15rem)/1 var(--serif);margin:18px 0 9px}.spec h2 small{font:500 .94rem var(--serif);margin-left:13px;vertical-align:middle}.spec-body>p{font-size:.91rem;color:#475447;line-height:1.7;margin:0 0 19px}.measurements{display:grid;grid-template-columns:repeat(3,1fr);margin:0;padding:12px 0;border-block:1px solid #c6cbbf}.measurements>div+div{padding-left:9px;border-left:1px solid #c4cbbd}.measurements dt,.price span{color:var(--muted);font-size:.82rem}.measurements dd{margin:0;font:normal clamp(1.15rem,1.62vw,1.7rem) var(--serif);white-space:nowrap}.measurements dd small{font:normal .7rem Arial,sans-serif;margin-left:2px}.material-row{gap:9px;margin:15px 0;font-size:.88rem}.material-row svg{display:block;border-radius:50%}.price{display:flex;align-items:baseline;justify-content:space-between;margin:12px 0 15px}.price strong{font:normal clamp(1.5rem,2vw,2rem) var(--serif)}.primary,.secondary{display:block;width:100%;min-height:43px;font-weight:600;font-size:.95rem;border-radius:2px}.primary{background:var(--green);color:#fff}.primary:hover{background:#26392d}.primary[aria-pressed=true]{background:#55624a}.secondary{border:1px solid #97a18f;margin-top:7px}.secondary:hover,.room-controls button:hover,.card:hover{background-color:#e3e7db}
#collection{margin:34px 0;scroll-margin-top:18px}.collection-heading{gap:16px;margin:0 0 13px}.collection-heading h2{font:500 1.65rem var(--serif);margin:0}.collection-heading span{font-size:.86rem;color:var(--muted)}#catalog{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.card{position:relative;text-align:left;border:1px solid #d2d3c7;padding:0;background:#f5f4ec;border-radius:2px}.card[aria-pressed=true]{border:2px solid #476245}.card[aria-pressed=true] .thumb{height:calc(100% - 1px)}.thumb svg{display:block;width:100%;background:#e8e5d9}.card>span{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:8px 9px}.card b{font:500 1.35rem var(--serif)}.card small{color:var(--muted);font-size:.77rem}.card[aria-pressed=true] .thumb:after{content:"選択中";position:absolute;top:5px;right:5px;font-size:.72rem;font-weight:bold;background:#344c3c;color:white;padding:1px 6px}.thumb{position:relative}footer{gap:18px;justify-content:space-between;border-top:1px solid var(--line);padding:23px 0 32px;color:#536052;font-size:.85rem}.footer-brand{font:500 1.3rem var(--serif)}.footer-brand small{font-size:.6rem}
dialog{margin:auto;background:var(--paper);color:var(--ink);border:1px solid #a6b09d;border-radius:4px;padding:20px 24px;width:min(696px,92vw);max-height:88dvh;overflow:auto}dialog::backdrop{background:#1c2920aa}.panel-header{justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:10px}.panel-header h2{margin:0;font:500 1.55rem var(--serif)}.panel-header button,.panel-action{border:1px solid #9fa994;border-radius:3px;padding:5px 10px;font-size:.9rem}#panel-body>p{line-height:1.6}.table-scroll{overflow:auto}.table-scroll table{border-collapse:collapse;width:100%;text-align:left}.table-scroll th,.table-scroll td{white-space:nowrap;border-bottom:1px solid var(--line);padding:8px;vertical-align:top}.table-scroll th{font-size:.9rem}.detail-grid{display:grid;grid-template-columns:auto 1fr;gap:0 17px}.detail-grid>*{margin:0;padding:7px 0;border-bottom:1px solid var(--line)}.material-plate{display:flex;gap:15px;align-items:center;margin:15px 0}.material-plate svg{flex:none}.material-plate p{margin:0}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;top:6px;left:8px;z-index:3;padding:6px 10px;background:white}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.studio-grid{gap:15px;grid-template-columns:minmax(0,1.8fr) minmax(265px,.94fr)}.room-controls{gap:7px}.room-controls button{padding:3px 9px}.spec-body{padding:16px}.intro{margin:23px 0 18px}#catalog{gap:8px}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.header-row{min-height:55px}.wordmark{gap:6px}.wordmark svg{width:24px}.wordmark span{font-size:1.45rem}.wordmark small{font-size:.62rem}.header-row nav{gap:11px;font-size:.84rem}.nav-compare{padding:6px 10px}.intro{display:block;margin:22px 0 14px}.intro h1{font-size:clamp(2rem,7.2vw,2.9rem)}.intro p{font-size:.87rem}.intro .demo-mark{display:inline-block;margin:8px 0 0;padding:1px 6px;font-size:.75rem}.studio-grid{display:block}.figure-label{top:7px;left:7px;font-size:.72rem;padding:2px 6px}.room-controls h2{width:100%}.figure-controls{padding:7px 0}.room-controls{margin-top:7px;gap:5px}.room-controls button{font-size:.82rem}.seg button{min-height:36px}.scale-label{font-size:.83rem}.spec{margin-top:14px}.spec h2{margin:8px 0}.spec-body{padding:16px}.spec-body>p{margin-bottom:10px}.measurements{padding:8px 0}.measurements dd{font-size:1.35rem}.material-row{margin:9px 0}.price{margin:7px 0 10px}.main-controls{display:block}.primary,.secondary{min-height:44px}#collection{margin:24px 0}#catalog{grid-template-columns:repeat(2,minmax(0,1fr))}footer{display:grid;gap:6px}.figure-note{font-size:.78rem}dialog{padding:16px}}
.theater{position:relative}.model-step{display:flex;align-items:center;justify-content:center;gap:4px;background:#f0efe6;border-bottom:1px solid var(--line)}.model-step button{font:normal 1.55rem/1 Georgia,serif;padding:0 15px;min-height:35px}.model-step span{font-size:.87rem;min-width:100px;text-align:center;font-weight:600}.model-step button:hover{background:#dfe3d7}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Showroom. The separate wall-width guide uses the base typography above. */
.showroom {
  --paper: #f8f6f0;
  --ink: #28382e;
  --muted: #555e54;
  --line: #d2d0c3;
  --green: #304536;
  background: var(--paper);
  color: var(--ink);
}
.showroom .wrap { width: min(1500px, calc(100% - clamp(48px, 7vw, 128px))); }
.showroom .masthead { border-color: #c4c7b9; }
.showroom .header-row { min-height: 65px; }
.showroom .wordmark span { font-weight: 500; }
.showroom .nav-retail { text-decoration: underline; text-underline-offset: .28em; }
@media (max-width:540px) {
  .showroom .wordmark small { display:none; }
  .showroom .header-row { flex-wrap:wrap; gap:4px 8px; }
}
.showroom .wordmark small { font-size: .68rem; color: #545d50; }
.showroom .nav-compare { border-radius: 2px; border-color: #a5ae9f; padding: 7px 13px; gap: 7px; }
.collection-heading p { margin: .45rem 0 0; color: var(--muted); font-size: .94rem; }
.showroom footer a { text-decoration: underline; text-underline-offset: .28em; text-decoration-color: #849181; }
.showroom .studio-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(290px, .94fr); gap: clamp(20px, 2.2vw, 36px); }
.stage { position: relative; scroll-margin: 12px; isolation: isolate; overflow: hidden; background: #c6bdab; color: #fff; }
#drawing { aspect-ratio: 5 / 3; position: relative; overflow: hidden; }
#room-plate, #technical { width: 100%; height: 100%; display: block; }
#room-plate { object-fit: cover; object-position: center; }
#technical { background: #ede8dc; }
#technical > svg { display: block; width: 100%; height: 100%; }
.showroom [hidden] { display: none !important; }
.stage-label { position: absolute; top: 12px; left: 14px; line-height: 1.4; font-size: .75rem; font-weight: 600; background: #f7f4e9ef; border: 1px solid #ede6d3; color: #344135; padding: 4px 8px; }
.stage-caption { position: absolute; inset: auto 0 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 46px clamp(12px, 2vw, 26px) 14px; pointer-events: none; background: linear-gradient(transparent, rgb(24 27 21 / 68%)); }
.stage-caption > div:first-child { display: flex; align-items: baseline; gap: 12px; }
#caption-room { font: 500 clamp(1.12rem, 1.8vw, 1.75rem)/1.22 var(--serif); }
#current-model { font: .85rem/1.4 var(--sans); }
.stage-step { display: flex; gap: 5px; pointer-events: auto; }
.stage-step button { width: 39px; height: 39px; border: 1px solid #e3e2d6a3; background: #2f352ac4; color: white; font: 1.7rem/1 Georgia, serif; }
.stage-step button:hover { background: #2e4334; }
.technical-view .stage-caption { position: static; background: #e5e6da; padding: 5px 10px; color: var(--ink); }
.technical-view #caption-room, .technical-view #current-model { font: .84rem/1.4 var(--sans); }
.technical-view .stage-step button { width: 32px; height: 28px; }
#pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#pair button { display: flex; align-items: center; gap: clamp(7px, 1vw, 14px); text-align: left; color: var(--ink); background: #f8f7f0; border: 1px solid #a5ad9c; min-height: 62px; padding: 7px clamp(8px, 1vw, 14px); }
#pair button:hover, .showroom .card:hover { border-color: #58654f; }
#pair button[aria-pressed=true] { background: #324836; border-color: #324836; color: #fff; }
.pair-key { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; flex: none; font: .85rem/1 Georgia, serif; }
.pair-name { font: 500 clamp(1.3rem, 1.7vw, 1.9rem)/1.08 Georgia, serif; display: block; letter-spacing: -.035em; }
.pair-spec { display: block; font: .78rem/1.4 var(--sans); margin-top: 2px; }
.pair-radio { display: block; flex: none; width: 13px; height: 13px; border: 1px solid currentColor; border-radius: 50%; margin-left: auto; }
[aria-pressed=true] .pair-radio { background: #fbf7e9; box-shadow: inset 0 0 0 3px #324836; }
.showroom .room-controls { margin-top: 13px; }
.showroom .room-controls button { border-radius: 2px; padding: 3px 11px; font-size: .83rem; }
.showroom .room-controls button[aria-pressed=true] { color: #304531; background: #e2e7d9; border-color: #65755d; }
.showroom .figure-controls { padding: 10px 0 8px; border: 0; }
.showroom .seg { border-radius: 2px; background: #edeee5; }
.showroom .seg button { border-radius: 1px; min-height: 34px; }
.showroom .figure-note { margin: 0; color: var(--muted); font-size: .82rem; }
.showroom .spec { margin: 0; border: 0; border-top: 3px solid #586950; background: transparent; min-width: 0; }
.showroom .spec-body { padding: 15px 1px 5px; }
.showroom .selection-heading { font-size: .83rem; }
.showroom #seat-count { color: var(--muted); }
.showroom .spec h2 { font: normal clamp(3.1rem, 4.25vw, 4.7rem)/1 var(--serif); margin: 13px 0 8px; letter-spacing: -.065em; }
.showroom .spec h2 small { margin-left: .55em; color: #596450; font: .95rem/1.4 var(--serif); vertical-align: middle; }
.showroom .spec-body > p { margin: 9px 0 15px; }
.showroom .measurements { padding: 10px 0; margin: 0; }
.showroom .measurements dd { font: 500 clamp(1.35rem, 1.9vw, 2rem)/1.25 Georgia, serif; }
.showroom .measurements dd small { margin-left: .25em; font: .8rem var(--sans); }
.showroom .material-row { margin: 12px 0 7px; font-size: .88rem; }
.showroom #swatch { height: 28px; width: 28px; }
.showroom #swatch svg { display: block; }
.showroom .price { margin: 5px 0 12px; }
.delta-block { border-top: 1px solid var(--line); padding: 10px 0 12px; }
.delta-block h3 { font: 600 .85rem/1.4 var(--sans); margin: 0; }
.delta-block p { margin: 5px 0 0; font-size: .92rem; }
.showroom .primary, .showroom .secondary { border-radius: 2px; }
.showroom .primary { background: var(--green); }
.fit-section { display: grid; grid-template-columns: minmax(230px, .88fr) minmax(280px, 1.12fr); gap: clamp(18px, 5vw, 70px); background: #e5e7da; border-top: 1px solid #aab29d; border-bottom: 1px solid #bdc3b2; padding: clamp(20px, 3vw, 38px); margin: 28px 0 38px; }
.fit-copy h2, .showroom .collection-heading h2 { font: 500 clamp(1.7rem, 2.45vw, 2.7rem)/1.35 var(--serif); margin: 0; letter-spacing: -.045em; }
.fit-copy p { font-size: .94rem; margin: .4rem 0 .95rem; }
.fit-copy label { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: .94rem; }
.wall-control { display: inline-flex; align-items: center; gap: 6px; }
.wall-control input { width: 5.2rem; padding: .35rem .5rem; border: 1px solid #86917d; color: var(--ink); font-size: 1rem; background: #fbfaf5; border-radius: 1px; }
.wall-control input[aria-invalid=true] { border: 2px solid #974b3b; }
#wall-help, .fit-note { display: block; color: #485644; font-size: .82rem; margin: .5rem 0 0; }
#wall-fit { display: grid; gap: .65rem; }
.fit-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; }
.fit-row svg { width: 100%; display: block; height: 8px; margin-top: 4px; }
.fit-row span { font: 1.07rem/1.3 Georgia, serif; }
.fit-row strong { font-size: .92rem; }
.fit-row.is-active span { font-weight: bold; }
#save-note { display: inline-block; margin-top: .7rem; padding: .4rem .7rem; border: 1px solid #84917a; color: var(--ink); font-weight: 600; font-size: .85rem; background: transparent; }
.showroom .collection-heading { gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.showroom #catalog { gap: 14px; }
.showroom .card { padding: 0; text-align: left; border: 1px solid transparent; background: transparent; border-radius: 0; }
.showroom .card[aria-pressed=true] { border: 1px solid #51624b; }
.showroom .thumb { position: relative; aspect-ratio: 1.7; overflow: hidden; background: #cec6b7; }
.showroom .thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.72); transform-origin: center 68%; }
.showroom .card .thumb .card-slot { position: absolute; top: 6px; left: 6px; padding: 1px 5px; display: block; background: #f3f3e7; color: var(--ink); font: 600 .71rem var(--sans); }
.showroom .card > .card-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; padding: 7px; flex-wrap: wrap; }
.showroom .card-caption b { font: 500 1.36rem/1.3 var(--serif); }
.showroom .card-caption small { font-size: .76rem; color: var(--muted); }
.showroom footer { margin-top: 28px; }
@media (max-width: 1050px) {
  .showroom .wrap { width: calc(100% - 40px); }
  .showroom .studio-grid { grid-template-columns: minmax(0, 1.65fr) minmax(265px, .95fr); gap: 18px; }
}
@media (max-width: 760px) {
  .showroom .wrap { width: calc(100% - 28px); }
  .showroom .header-row { min-height: 51px; }
  .showroom .nav-compare { padding: 6px 8px; }
  .editorial-heading p { font-size: .82rem; line-height: 1.55; margin-top: .35rem; }
  .showroom .studio-grid { display: block; }
  #drawing { aspect-ratio: 5 / 3; }
  .technical-view #drawing { aspect-ratio: 5 / 3; }
  .stage-label { top: 8px; left: 8px; font-size: .7rem; }
  .stage-caption { padding: 26px 10px 8px; }
  .stage-step button { width: 33px; height: 33px; }
  .stage-caption > div:first-child { gap: 7px; }
  #current-model { font-size: .73rem; }
  #pair { gap: 6px; }
  #pair button { gap: 6px; padding: 7px; min-height: 55px; }
  .pair-key { width: 18px; height: 19px; font-size: .7rem; }
  .pair-spec { font-size: .72rem; }
  .pair-radio { width: 10px; height: 10px; }
  .showroom .room-controls { gap: 6px; margin-top: 10px; }
  .showroom .room-controls h2 { width: auto; font-size: .77rem; }
  .showroom .room-controls button { min-height: 34px; font-size: .75rem; padding: 3px 6px; }
  .showroom .figure-controls { gap: 5px; padding-bottom: 5px; }
  .showroom .seg button { padding: 3px 10px; font-size: .79rem; }
  .showroom .scale-label { font-size: .75rem; }
  .showroom .spec { margin-top: 18px; }
  .showroom .spec-body { padding: 12px 2px 0; }
  .showroom .spec h2 { font-size: 3.2rem; }
  .fit-section { grid-template-columns: 1fr; margin: 22px 0 28px; padding: 16px; gap: 16px; }
  .showroom .collection-heading { display: grid; gap: 9px; }
  .showroom #catalog { gap: 8px; }
  .showroom .card-caption b { font-size: 1.25rem; }
}
@media(max-width: 365px) {
  #pair button { gap: 4px; padding: 5px; }
  .pair-radio { display:none; }
  .showroom .nav-collection { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .showroom *, .showroom *::before, .showroom *::after { scroll-behavior: auto !important; }
}
.showroom .card[aria-pressed=true] .thumb { height: auto; }
.showroom .card[aria-pressed=true] .thumb::after { content: none; }
@media(max-width:760px) {
}
#wipe-toggle { position: absolute; top: 11px; right: 12px; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e6e5d6ca; color: #fff; background: #293c2fe8; font: 600 .8rem var(--sans); }
#wipe-toggle[aria-pressed=true] { background: #fcfaed; color: #2b4030; border-color: #40523d; }
.wipe-layer { --split: 50%; position: absolute; inset: 0; isolation: isolate; overflow: hidden; }
.wipe-layer > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
#wipe-left { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
#wipe-handle { pointer-events:none; position:absolute; left:var(--split); inset-block:0; width:2px; transform:translateX(-50%); background:white; box-shadow:0 0 3px #000c; }
#wipe-handle > span { position:absolute; top:53%; left:50%; transform:translate(-50%, -50%); display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#f8f7e8; border:1px solid #48553f; color:#304236; font: 1.45rem/1 Georgia,serif; box-shadow:0 1px 8px #1a25144d; }
.wipe-labels { position:absolute; inset:auto 12px 12px; display:flex; justify-content:space-between; pointer-events:none; }
.wipe-labels span { color:#fff; background:#233629df; border:1px solid #e6e6d4ab; padding:3px 8px; font:600 .84rem/1.4 var(--sans); }
#wipe-range { position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:ew-resize; touch-action:pan-y; }
.wipe-layer:has(input:focus-visible) { outline:3px solid #f7e6ac; outline-offset:-4px; }
.wipe-on .stage-caption { display:none; }
@media(max-width:760px) {
  #wipe-toggle { top:6px; right:6px; min-height:32px; padding:4px 6px; font-size:.74rem; }
  #wipe-handle > span { width:32px; height:32px; }
}
@media (min-width:761px) and (max-height:920px) {
  .showroom .header-row { min-height: 53px; }
  .stage #drawing { aspect-ratio: 5 / 3; }
}
.comparison-head {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center;
  gap: clamp(24px, 4vw, 65px); margin: 24px 0 17px; scroll-margin: 12px;
}
.comparison-head h1 {
  margin: 0; font: 500 clamp(2.05rem, 3.2vw, 3.35rem)/1.24 var(--serif);
  letter-spacing: -.05em; white-space: nowrap;
}
#showroom-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#showroom-controls #pair { width: min(375px, 47%); min-width: 320px; gap: 4px; }
#showroom-controls #pair button {
  min-height: 43px; padding: 4px 8px; gap: 7px; border-color: #b1b8a6; background: transparent;
}
#showroom-controls #pair button[aria-pressed=true] { background: #354b39; color: #fff; border-color: #354b39; }
#showroom-controls .pair-key { width: 18px; height: 18px; font-size: .72rem; }
#showroom-controls .pair-name { font-size: 1.24rem; }
#showroom-controls .pair-spec { white-space: nowrap; margin-top: 1px; font-size: .72rem; line-height: 1.28; }
#showroom-controls .pair-radio { width: 10px; height: 10px; }
#room-view, #apartment { min-width: 0; }
#room-view:focus-visible, #apartment:focus-visible, .showroom summary:focus-visible {
  outline: 2px solid #9f5834; outline-offset: 3px;
}
.showroom-export { display: flex; justify-content: flex-end; padding: 9px 0 0; }
.showroom-export #save-note {
  display: inline-flex; align-items: center; gap: 5px; color: #40553e;
  margin: 0; padding: 6px 9px; min-height: 36px; font: 600 .84rem/1.4 var(--sans);
}
#catalog-target { color: #485944; margin: 0; font-size: .89rem; }
.showroom #collection { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 20px; }
.showroom .collection-heading { flex-wrap: nowrap; justify-content: space-between; align-items: baseline; }
.showroom .collection-heading h2 { font-size: clamp(1.5rem, 2.1vw, 2.25rem); }
@media (min-width:761px) and (max-width:960px) {
  .comparison-head { gap: 20px; }
  #showroom-controls { gap: 12px; }
  #showroom-controls #pair { width: 220px; min-width: 192px; }
  #showroom-controls .pair-spec { display: none; }
}
@media (max-width:760px) {
  .comparison-head {
    grid-template-columns: minmax(0,1fr) auto; gap: 8px 7px;
    margin: 13px 0 10px; align-items: center;
  }
  .comparison-head h1 { font-size: clamp(1.38rem, 5.7vw, 2rem); }
  #showroom-controls { display: contents; }
  #showroom-controls #pair { grid-column: 1/-1; width: 100%; min-width: 0; }
  #showroom-controls #pair button { min-height: 39px; padding: 5px 9px; gap: 7px; }
  #showroom-controls #pair button > span:nth-child(2) { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; }
  #showroom-controls .pair-name { font-size: 1.14rem; }
  #showroom-controls .pair-spec { font-size: .67rem; }
  .showroom .nav-collection { display: inline; }
  .showroom .room-controls { margin-top: 8px; }
  .showroom .collection-heading { display: flex; }
}
@media (max-width:385px) {
  #showroom-controls .pair-spec { display: none; }
}

/* Room source, editor and projection share the main comparison stage. */
#showroom-controls { justify-content: flex-end; }
.room-line {
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding: 7px 0;
}
#rooms { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; min-width: 0; }
#rooms button {
  padding: 6px 7px; min-height: 38px; border: 0; border-bottom: 2px solid transparent;
  color: #596159; background: transparent; font: 500 .88rem/1.4 var(--sans);
}
#rooms button:hover { color: var(--ink); background: #efeee3; }
#rooms button[aria-pressed=true] { color: var(--ink); border-bottom-color: #4b6350; font-weight: 650; }
#open-apartment {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  border: 1px solid #697c66; background: #f1f2e8; color: #324b37;
  min-height: 39px; padding: 6px 13px; font: 600 .87rem/1.4 var(--sans);
}
#open-apartment:hover, #open-apartment[aria-expanded=true] { background: #e1e7d9; border-color: #3c5742; }
#scene-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 0; color: var(--ink);
}
.view-options { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.view-options button {
  min-height: 36px; padding: 5px 10px; font: 500 .84rem/1.3 var(--sans); color: #596159;
}
.view-options button[aria-pressed=true] { color: var(--ink); background: #e6e8dc; font-weight: 650; }
.view-options button:hover { background: #ebebe0; }
#scene-strip .scale-label {
  min-height: 36px; white-space: nowrap; flex: none; gap: 5px; font: 500 .84rem/1.4 var(--sans);
}
#scene-strip .scale-label input { margin: 0; accent-color: var(--green); }
#drawing-tools { background: #ede8dc; color: var(--ink); }
#technical { width: 100%; height: auto; aspect-ratio: 5/3; }
#technical svg { display: block; width: 100%; height: 100%; }
#drawing-tools .figure-note { padding: 4px 12px; }
.priority-choices { display: grid; grid-template-columns: 1fr 1fr 1fr; margin: 7px 0; border: 1px solid #a8b29e; }
.priority-choices button { padding: 4px 6px; min-height: 34px; font: 600 .85rem/1.4 var(--sans); color: #475a44; }
.priority-choices button + button { border-left: 1px solid #c4ccba; }
.priority-choices button[aria-pressed=true] { background: #e0e5d6; color: #2c442f; box-shadow: inset 0 -2px #52694b; }
#difference { margin: 6px 0 7px; }
#condition-tools { border-top: 1px solid var(--line); margin-top: 8px; }
#condition-tools > summary { padding: 7px 0 4px; min-height: 33px; color: #4a5c46; font: 600 .82rem/1.5 var(--sans); cursor: pointer; }
.condition-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 5px 0 8px; }
.condition-fields label { color: #394e38; font: 600 .79rem/1.45 var(--sans); }
.condition-fields label > span { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.condition-fields input { flex: 1 1 0; width: 0; min-width: 0; min-height: 34px; padding: 2px 4px; border: 1px solid #85927b; color: var(--ink); background: #fdfbf5; font: .95rem/1.4 var(--sans); }
.condition-fields input[aria-invalid=true] { outline: 1px solid #914b2f; border-color: #914b2f; }
#condition-result, #condition-result p { color: #41513c; font-size: .83rem; }
#condition-alternative { margin-top: 5px; border: 1px solid #84937c; min-height: 36px; padding: 4px 8px; font-size: .84rem; font-weight: 600; }
#condition-tools #wall-tools { border: 0; margin: 5px 0 0; }
#condition-tools .fit-row span { font-size: .9rem; }
#condition-tools .fit-row strong { font-size: .8rem; }
#condition-tools .fit-row svg { height: 6px; }
@media(max-width:760px) {
  .comparison-head { grid-template-columns: auto minmax(0,1fr); gap: 10px; }
  #showroom-controls { display: flex; }
  #showroom-controls #pair { gap: 3px; max-width: 245px; }
  #showroom-controls #pair button { min-width: 0; justify-content: center; min-height: 38px; padding: 5px 4px; gap: 6px; }
  #showroom-controls .pair-spec, #showroom-controls .pair-radio { display: none; }
  .room-line { gap: 4px; padding: 5px 0; }
  #rooms { gap: 1px 2px; }
  #rooms button { padding: 5px; font-size: .76rem; }
  #open-apartment { gap: 5px; padding: 6px 8px; font-size: .79rem; }
  #scene-strip { gap: 4px; padding: 4px 0; }
  .view-options button { min-height: 35px; padding: 5px 7px; font-size: .77rem; }
  #scene-strip .scale-label { font-size: .78rem; }
}
@media(max-width:345px) {
  .comparison-head { gap: 6px; }
  .comparison-head h1 { font-size: 1.22rem; }
  #rooms button { padding-inline: 3px; }
}

/* The photo, wipe and calibrated scale all share the uncropped camera aperture. */
#stage #drawing { width: 100%; height: auto; min-height: 0; aspect-ratio: 5 / 3; }
#stage #room-plate, #stage .wipe-layer > img { object-fit: contain; object-position: center; }
#stage .stage-caption {
  display: flex; position: static; background: #324339; color: #f8f7ee;
  padding: 8px 12px; min-height: 44px;
}
#stage .stage-step button { width: 30px; height: 28px; font-size: 1.3rem; }
#stage #caption-room { font: 500 1.03rem/1.3 var(--serif); }
#stage #current-model { font: .78rem/1.4 var(--sans); }
#stage.wipe-on #current-model { visibility: hidden; }

#real-room-product { margin: 12px 0; }
#real-room-market { color: var(--muted); font: .78rem/1.55 var(--sans); margin: -.4rem 0 .8rem; }
#real-room-difference { line-height: 1.55; }
#real-room-ad { margin: 0 0 4px; font: .8rem var(--sans); }
#retail-picker { margin: 0 0 12px; border-block: 1px solid var(--line); }
#retail-picker summary { width: fit-content; min-height: 36px; padding: 8px 2px; cursor: pointer; font: 600 .86rem/1.5 var(--sans); }
.retail-selectors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; padding: 0 0 12px; }
.retail-selectors label { min-width: 0; font: 600 .82rem/1.5 var(--sans); }
.retail-selectors select { display: block; margin-top: 3px; width: 100%; min-height: 42px; padding: 5px 8px; border: 1px solid #849181; background: #fffefa; color: var(--ink); font: inherit; }
@media(max-width:620px) { .retail-selectors { grid-template-columns: 1fr; } }
#real-room-shop { display: flex; justify-content: center; align-items: center; min-height: 44px; text-align: center; }
#real-room-sources { margin-top: 9px; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
#real-room-sources summary { cursor: pointer; }
#real-room-sources a { text-decoration: underline; text-underline-offset: .18em; }
.room-care-link {display:inline-block;margin:.6rem 0 .15rem;padding:.45rem 0;color:var(--ink);font-size:.88rem;font-weight:600;text-decoration:underline;text-underline-offset:.22em}
.room-functions {margin:1rem 0;border-block:1px solid var(--line);font-size:.87rem}
.room-functions summary {cursor:pointer;padding:.7rem 0;font-weight:600}
.room-functions table {width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.room-functions th,.room-functions td {padding:.55rem .3rem;border-top:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;line-height:1.5}
.room-functions thead th:first-child {width:20%}
.room-functions tbody th,.room-functions small {color:var(--muted);font-size:.77rem}
.room-functions small {display:block;margin-top:.3rem}
.room-function-sources {display:flex;flex-wrap:wrap;gap:.25rem .8rem;padding:.5rem 0;font-size:.77rem}
.room-function-sources a {text-decoration:underline;text-underline-offset:.2em}
.retail-room #showroom-controls #pair { width: min(530px,100%); }
.retail-room #showroom-controls .pair-name { font-size: 1rem; line-height: 1.23; overflow-wrap: anywhere; }
@media(max-width:760px) {
  .comparison-head.retail-room { grid-template-columns: 1fr; }
  .retail-room #showroom-controls #pair { max-width: none; }
}

@media(max-width:365px) {
  .showroom .wordmark, .showroom .header-row nav { white-space: nowrap; flex-shrink: 0; }
  .showroom .wordmark small { display: none; }
  .showroom .header-row nav { gap: 7px; }
  #open-apartment { padding-inline: 6px; }
  #open-apartment svg { display: none; }
}
