.showroom {
  --pad: clamp(12px,1.7vw,46px);
  --tile: clamp(55px,5.8vw,152px);
  --heading: clamp(22px,1.9vw,50px);
}
.showroom::before {
  background: linear-gradient(90deg,rgba(18,21,30,.95),rgba(22,25,32,.72) 12%,transparent 42%),
    linear-gradient(0deg,#10111794,transparent 19%);
}
.showroom .guide-heading {top:2.7%; max-width:76%}
.showroom .guide-heading h1 {font-size:var(--heading);margin:0 0 .45em}
.showroom .guide-heading :is(h1,.garage__class),.work-tabs button,.vehicle-id :is(strong,small),.showroom .option-name {
  font-family:var(--f-display); font-stretch:87%; font-weight:720; letter-spacing:-.03em; text-transform:uppercase;
}
.showroom .garage__class {font-size:clamp(16px,1.45vw,38px);color:#c6c7ca}
.work-tabs {display:flex;gap:3px;overflow-x:auto;scrollbar-width:none;padding:2px 4px}
.work-tabs button {transform:skewX(-6deg); flex:none;border:1px solid #ffffff47;background:#20212ac7;color:white;
  padding:.25em .7em;font-size:clamp(13px,1.12vw,30px);line-height:1.2}
.work-tabs button[aria-pressed=true] {background:white;color:#18181c}
.work-menu {position:absolute;z-index:2;left:var(--pad);top:14.5%;width:26%}
.work-list {max-height:47vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#ffffff60 transparent}
.work-list button {display:block;text-align:left;width:100%;min-height:5.8vh;padding:.4em .65em;color:white;background:transparent;
  font:500 clamp(16px,1.36vw,36px)/1.2 var(--f-text);text-shadow:0 1px 3px #111;border:0;border-bottom:1px solid #ffffff40}
.work-list button[aria-current=true] {background:linear-gradient(100deg,#fff 40%,#ffffff82);color:#15151a;text-shadow:none}
.work-position,.choice-count {font:500 clamp(15px,1.3vw,32px) var(--f-text);font-variant-numeric:tabular-nums}
.work-position {display:block;margin-top:1em}
.showroom .option-dock {width:min(43%,calc(6 * var(--tile) + 70px));left:var(--pad);bottom:5%;max-height:54%;scrollbar-width:thin}
.showroom .guide-content {padding:0;max-height:none;overflow:visible}
.showroom .fit-control,.showroom .paint-controls {display:flex;flex-direction:column;align-items:stretch;background:transparent;padding:4px;gap:.45em}
.showroom .option-price {order:-1;color:#e3e3e4;font-size:clamp(13px,.98vw,22px)}
.showroom .option-name {font-size:clamp(20px,1.65vw,42px)}
.showroom .fit-control:not([data-group=rims],[data-group=plate-design],[data-group=decals],[data-group=sunstrip],[data-group=tyres],[data-group^="bodywork/"]) .carousel:not(:has(.fit-image[src]:not([hidden]))) {display:none}
.choice-nav {display:flex;align-items:center;gap:12px}
.choice-nav button,.showroom .rail-arrow {border:0;background:#191b22a8;color:white;min-width:28px;min-height:38px;font-size:22px}
.showroom .fit-control .carousel {width:100%}
.showroom .carousel {grid-template-columns:20px minmax(0,1fr) 20px;gap:3px}
.showroom .paint-swatches button,.showroom .fit-control .fit-tile {
  box-sizing:border-box;flex:0 0 var(--tile);height:var(--tile);min-height:0;border:1px solid #ffffff65; border-radius:0;
}
.showroom .fit-tile:has(img:not([hidden])) > :is(span,small) {display:none}
.showroom .fit-tile img {height:100%;width:100%;object-fit:contain}
.showroom .fit-tile:has(.material-swatch) {position:relative;padding:0;gap:0;display:block}
.showroom .fit-tile:has(.material-swatch) > :is(span,small) {display:none}
.showroom .fit-tile .material-swatch {width:100%;height:100%;object-fit:cover}
.showroom .fit-tile[data-exclusive=true]::after {content:"";position:absolute;right:0;top:0;border-top:14px solid #65d8ef;border-left:14px solid transparent}
.showroom .fit-tile[aria-pressed=true],.showroom .paint-swatches button[aria-pressed=true] {outline:3px solid white;outline-offset:-3px}
.showroom .colour-caption {display:grid;gap:4px}
.showroom .colour-caption .option-price {order:0}
.showroom .paint-families .hud-chip {min-height:30px}
.showroom .hud-footer {display:flex;justify-content:flex-end;bottom:2.2%}
.showroom .vehicle-id {display:grid;width:clamp(170px,22vw,570px);background:#191c25e8;border:0;text-align:left;gap:2px}
.showroom .vehicle-id strong,.showroom .vehicle-id small {font-size:clamp(15px,1.15vw,32px)}
.showroom .vehicle-id section {border-top:1px solid #ffffff42;margin-top:6px;padding-top:6px}
.showroom .vehicle-id section h3 {font-size:.85em}
.showroom .bar button {color:white;background:#171921bb;border:0;border-radius:0}
.showroom .bar .btn--primary {background:white;color:#15151a}
.showroom .bar__sum .gpanel__total {display:none}
.showroom .topbar nav,.showroom .showroom-tools {background:#15171eaf}
.work-notice {border-top:1px solid #ffffff5c;padding:12px 0}
@media (max-width:760px) and (orientation:portrait) {
  .showroom {--tile:clamp(54px,14vw,88px)}
  .showroom .guide-heading {top:114px;max-width:calc(100% - 2 * var(--pad));width:100%}
  .showroom .work-tabs button {min-height:44px}
  .work-menu {top:auto;bottom:14%;width:72%}
  .work-list {max-height:24dvh}
  .work-list button {min-height:44px}
  .work-position {margin-top:4px}
  .showroom .option-dock {width:calc(100% - 2 * var(--pad));bottom:14%;max-height:36%}
  .showroom .vehicle-id {bottom:calc(100% + 2px);max-width:57vw;padding:4px 8px}
  .showroom .vehicle-id section {max-height:10vh;overflow:auto}
  .showroom::before {background:linear-gradient(0deg,#12151df0,rgba(18,21,29,.65) 29%,transparent 51%),linear-gradient(180deg,#12151dd9,transparent 29%)}
}
@media (max-height:520px) and (orientation:landscape) {
  .showroom .guide-heading {max-width:67%;top:8px}
  .work-menu {top:23%;width:35%}
  .work-list button {min-height:36px}
  .showroom .option-dock {width:48%;max-height:58%}
  .showroom .vehicle-id {display:grid}
}
.showroom .work-tools-toggle {
  position:absolute;z-index:3;top:var(--pad);right:var(--pad);
  background:#171921bd;color:white;border:1px solid #ffffff42;min-height:36px;padding:0 12px;
  font:700 .88rem var(--f-display);font-stretch:90%;text-transform:uppercase;
}
.showroom:not(.tools-open) :is(.topbar,.showroom-tools) {display:none}
.showroom.hud-hidden .showroom-tools {display:flex}
.showroom.tools-open .topbar {top:calc(var(--pad) + 40px)}
.showroom.tools-open .showroom-tools {top:calc(var(--pad) + 94px)}
.showroom.hud-hidden .showroom-tools {top:var(--pad)}
.showroom .colour-caption {display:grid;grid-template-columns:1fr auto;align-items:end}
.colour-caption .option-name {grid-column:1/-1}
.paint-position {font-variant-numeric:tabular-nums}
.context-adjust {align-self:center}
.context-adjust label {display:flex;align-items:center;gap:6px;color:white;font-size:.85rem}
.context-adjust select {width:auto;max-width:16ch;min-height:36px;border-radius:0;color:white;background:#20212a}
.showroom .fit-control[data-group=rims] .choice-nav {order:-1;align-self:flex-end}
.showroom .fit-control[data-group=rims] .choice-nav button {display:none}
.showroom :is(.work-tabs,.work-list) button:focus-visible {outline:2px solid white;outline-offset:-3px}
@media (max-width:760px) and (orientation:portrait) {
  .showroom .guide-heading {top:64px}
  .showroom .work-tools-toggle {min-height:44px}
  .showroom.tools-open :is(.topbar,.showroom-tools) {z-index:5}
  .showroom .hud-footer {left:var(--pad);right:var(--pad);width:auto}
  .showroom .bar {width:100%;justify-content:flex-end}
  .showroom .vehicle-id {position:absolute;right:0;left:auto;top:auto;bottom:calc(100% + 4px);text-align:left}
  .showroom .context-adjust:not([hidden]) {flex:1}
  .context-adjust label {display:grid;gap:0}
  .context-adjust select {max-width:118px}
  .showroom .rail-arrow,.showroom .choice-nav button {min-height:44px}
}
@media (max-height:520px) and (orientation:landscape) {
  .showroom .vehicle-id {position:absolute;left:auto;right:0;bottom:calc(100% + 4px)}
}
.recorded-styles {display:grid;gap:8px}
.showroom .context-adjust[hidden] {display:none}
.showroom .vehicle-id section:has(.stats__list li:only-child:not(.stat)) h3 {display:none}
@media (max-height:520px) and (orientation:landscape) {
  .showroom .hud-footer {left:52%}
  .showroom .bar {max-width:100%}
  .context-adjust label {display:grid;gap:0;font-size:.7rem}
  .context-adjust select {min-height:28px;max-width:14ch}
}

.fit-feedback {display:flex;align-items:center;gap:.5rem;min-height:2.5rem}
.fit-feedback .fit-state {flex:1}
.showroom .fit-control[data-group="rims"] .fit-tile:has(img:not([hidden])) {padding:0}
.showroom .fit-control .paint-families {display:flex;overflow-x:auto}

.observed-rating {display:flex;justify-content:space-between;gap:.5em}

.tire-materials { display:flex; flex-wrap:wrap; gap:.5rem; }
.tire-materials figure { margin:0; }
.tire-materials img { display:block; object-fit:contain; }
.tire-materials figcaption { font-size:.75rem; }
.tire-materials small { flex-basis:100%; }
