:root {
  --ink: #292923;
  --muted: #64645c;
  --rust: #a83c22;
  --rust-dark: #89321e;
  --line: #dcd9d1;
  --paper: #faf9f6;
  --sage: #55634f;
  --serif: 'Iowan Old Style', Baskerville, 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font: 16px/1.5 var(--sans);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
a {
  color: var(--rust);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #1b6289;
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(3rem, 5vw, 5.3rem);
}
h2 {
  font-size: clamp(2.2rem, 3.3vw, 3.5rem);
}
h3 {
  line-height: 1.23;
}
img {
  max-width: 100%;
  display: block;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
button svg,
span[data-icon] svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-wrap,
main,
footer {
  width: min(1520px, 100%);
  margin: auto;
}
.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4.5vw, 76px);
  gap: 22px;
}
.brand {
  padding: 0;
  margin-right: auto;
  width: clamp(180px, 18.8vw, 262px);
  text-align: left;
}
.brand img {
  width: 100%;
  object-fit: contain;
}
.nav-wrap nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 34px);
}
nav button {
  padding: 12px 3px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #5a5d55;
}
nav button.active {
  color: var(--rust);
}
nav .saved-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
#saved-count {
  font-size: 0.77rem;
  border-radius: 20px;
  background: #efede8;
  color: #48483f;
  min-width: 23px;
  padding: 1px 5px;
}
.round {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: #fff;
}
.full {
  margin-left: 10px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 10px;
  z-index: 12;
  background: #fff;
  padding: 8px;
}
main {
  padding: clamp(22px, 3vw, 46px) clamp(20px, 4.5vw, 76px) 56px;
  min-height: 70vh;
}
.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  background: #eeebe4;
  border-radius: 5px;
}
.hero-copy {
  padding: clamp(30px, 4.2vw, 80px);
  align-self: center;
}
.eyebrow,
.kicker {
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow:before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(3.4rem, 5.5vw, 6rem);
  line-height: 0.99;
  margin: 21px 0 20px;
}
.hero p {
  max-width: 34ch;
  font-size: clamp(1rem, 1.18vw, 1.15rem);
  color: #515248;
}
.hero-photo {
  position: relative;
  min-height: 365px;
  overflow: hidden;
}
.hero-photo picture,
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.photo-tag {
  position: absolute;
  bottom: 15px;
  right: 16px;
  padding: 6px 12px;
  border: 1px solid #ffffff65;
  border-radius: 3px;
  background: #292824b8;
  color: white;
  font-size: 0.81rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.btn,
.button,
.file-btn {
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
}
.btn {
  background: var(--rust);
  color: white;
}
.btn:hover,
.btn:active {
  background: var(--rust-dark);
}
.button,
.file-btn {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.button:hover,
.file-btn:hover {
  border-color: #928b80;
  background: #f4f1ea;
}
.hero-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-actions .secondary {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 650;
  min-height: 44px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin: 36px 0 17px;
}
.section-head h2 {
  font-size: clamp(2rem, 2.7vw, 2.85rem);
}
.text-btn {
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 9px 3px;
  color: var(--rust);
}
.materials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}
.material {
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  transition: transform 0.18s;
}
.material:hover,
.choice:hover,
.product:hover {
  transform: translateY(-2px);
  border-color: #9e9b8e;
}
.material .texture {
  height: clamp(68px, 7.1vw, 125px);
  position: relative;
  overflow: hidden;
  background: var(--shade, #d2c4ae);
}
.material .texture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  font-weight: 650;
}
.material .label span {
  font-size: 1.2rem;
  color: var(--rust);
}
.shower-banner {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
  background: #e3e6df;
  border-radius: 4px;
}
.shower-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 58%;
}
.shower-banner > div {
  padding: 24px clamp(24px, 4vw, 54px);
  align-self: center;
}
.shower-banner h2 {
  font-size: 2.25rem;
  margin: 6px 0;
}
.shower-banner p {
  color: var(--muted);
}
.shower-banner .text-btn {
  margin-top: 6px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin: 10px 0 25px;
}
.page-head h1,
.step-head h1 {
  font-size: clamp(2.75rem, 4.1vw, 4.5rem);
  margin: 10px 0 8px;
}
.page-head p,
.step-head p,
.muted {
  color: var(--muted);
}
.filters {
  border-block: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.search {
  border: 1px solid #c9c9c0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
  padding: 0 12px;
  background: white;
}
.search input {
  border: 0;
  width: 100%;
  min-height: 46px;
  background: transparent;
}
.filters select,
.form-row select {
  border: 1px solid #c9c9c0;
  background: white;
  padding: 10px 36px 10px 12px;
  border-radius: 4px;
  min-height: 46px;
}
.resultbar,
.paging,
.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.resultbar {
  color: var(--muted);
  margin: 14px 0;
}
.paging {
  justify-content: center;
  margin: 24px 0;
}
.grid,
.choice-grid,
.board-grid {
  display: grid;
  gap: 18px;
}
.grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.product,
.choice,
.board {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  position: relative;
}
.product {
  transition: transform 0.15s;
}
.product-main {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}
.swatch {
  background: #e8e5df;
  aspect-ratio: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  overflow: hidden;
}
.swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-copy {
  padding: 13px 16px 16px;
}
.meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.card-copy h3 {
  margin: 4px 0;
  font-size: 1.11rem;
}
.heart {
  position: absolute;
  right: 9px;
  top: 9px;
  background: #fff;
  border: 1px solid #ddd8ce;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.heart.on {
  color: var(--rust);
  background: #fff1e8;
}
.empty {
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
}
.empty h3 {
  margin-bottom: 5px;
}
.steps {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.steps button {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.9rem;
  padding: 4px 10px 4px 0;
  color: #6d7065;
}
.steps button:disabled {
  opacity: 1;
  cursor: default;
}
.steps i {
  font-style: normal;
  background: #e4e2dc;
  color: #55564f;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  text-align: center;
}
.steps .current {
  font-weight: 700;
  color: var(--rust);
}
.steps .current i {
  background: var(--rust);
  color: white;
}
.step-head {
  margin: 20px 0 22px;
}
.choice-grid {
  grid-template-columns: repeat(3, 1fr);
}
.choice {
  text-align: left;
  padding: 0;
}
.choice img {
  width: 100%;
  height: clamp(120px, 12vw, 200px);
  object-fit: cover;
}
.choice span.title,
.choice strong {
  display: block;
  padding: 14px 17px;
  font-weight: 650;
  font-size: 1.12rem;
}
.choice.active,
.board.active {
  border: 2px solid var(--rust);
}
.palette {
  display: flex;
  gap: 0;
  height: 10px;
}
.palette i {
  flex: 1;
}
.styles .choice {
  padding: 0 0 14px;
}
.styles .choice small {
  padding: 0 17px;
  display: block;
  color: var(--muted);
}
.styles .palette {
  height: 85px;
}
.board-grid {
  grid-template-columns: repeat(3, 1fr);
}
.board {
  padding: 0 0 17px;
}
.board .actions {
  margin: 12px 16px 0;
}
.board .sample-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(105px, 12vw, 185px);
}
.sample-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.board h3 {
  padding: 0 16px;
}
.board .meta {
  padding: 12px 16px 3px;
}
.back {
  padding: 7px 0;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.form-row label {
  display: grid;
  gap: 4px;
  font-weight: 650;
  flex: 1;
  min-width: 140px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 45px;
}
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--rust);
}
.review {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}
.scene {
  border-radius: 5px;
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
  background: #e6e3dc;
}
.review-panel {
  padding: 10px 0;
}
.review-panel h2 {
  margin: 6px 0 12px;
}
.line-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.line-item img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 3px;
}
.line-item strong {
  display: block;
}
.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 0;
}
.file-btn {
  cursor: pointer;
  position: relative;
}
.file-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.file-btn:focus-within {
  outline: 3px solid #1b6289;
}
.callout {
  padding: 13px 16px;
  border-left: 3px solid var(--sage);
  background: #eaf0e6;
  color: #354a37;
  margin: 14px 0;
}
.callout[role='alert'] {
  border-color: var(--rust);
  background: #f6e5dc;
  color: #742e1e;
}
.busy {
  padding: 18px;
  background: #eeeae0;
  border-radius: 4px;
}
.spin {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c8baab;
  border-top-color: var(--rust);
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.gallery-choices {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.gallery-choices button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 13px;
}
.gallery-choices button.selected {
  border-color: var(--rust);
  color: var(--rust);
}
.specs {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  text-align: left;
  font-size: 0.93rem;
}
.specs th,
.specs td {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.specs th {
  width: 38%;
  color: var(--muted);
  font-weight: 550;
}
dialog {
  width: min(680px, calc(100% - 30px));
  max-height: 87vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 25px;
  color: var(--ink);
}
dialog::backdrop {
  background: #17191687;
}
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.dialog-head h2 {
  font-size: 2.3rem;
}
.dialog-img {
  max-height: 290px;
  width: 100%;
  object-fit: contain;
  background: #edeae4;
}
.qr {
  width: min(220px, 85%);
  margin: 18px auto;
}
.share-url {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 3px;
}
.tile-path {
  width: 100%;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  margin: 6px 0;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tile-path span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}
.footnote {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 12px;
}
.top-gap {
  margin-top: 18px;
}
footer {
  padding: 19px clamp(20px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
footer span:first-child {
  font-weight: 650;
  color: var(--ink);
}
footer button {
  margin-left: auto;
  text-decoration: underline;
  padding: 10px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #2c332b;
  color: white;
  border-radius: 4px;
  padding: 10px 16px;
  z-index: 10;
  pointer-events: none;
}
#notice:empty {
  display: none;
}
@media (max-width: 900px) {
  .nav-wrap {
    height: 72px;
    gap: 10px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-photo {
    min-height: 340px;
  }
  .materials {
    gap: 9px;
  }
  .material .label {
    padding: 10px;
    font-size: 0.94rem;
  }
  .board-grid {
    gap: 10px;
  }
  .review {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  main {
    padding: 18px 16px 34px;
  }
  .nav-wrap {
    padding: 8px 16px;
    flex-wrap: wrap;
    height: auto;
    gap: 2px;
  }
  .brand {
    width: 165px;
  }
  .nav-wrap nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid #eee;
    margin-top: 7px;
  }
  .nav-wrap nav button {
    font-size: 0.89rem;
    padding: 9px 3px;
  }
  .full {
    width: 36px;
    height: 36px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero h1 {
    font-size: 3.65rem;
    margin: 12px 0;
  }
  .hero-photo {
    min-height: 215px;
  }
  .hero-actions {
    margin-top: 16px;
  }
  .materials {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials .texture {
    height: 76px;
  }
  .section-head {
    margin-top: 24px;
  }
  .shower-banner,
  .review {
    grid-template-columns: 1fr;
  }
  .shower-banner img {
    height: 155px;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card-copy {
    padding: 10px;
  }
  .product .heart {
    height: 34px;
    width: 34px;
  }
  .page-head {
    align-items: start;
    flex-direction: column;
  }
  .step-head h1,
  .page-head h1 {
    font-size: 2.7rem;
  }
  .filters select {
    width: 100%;
    flex: 1;
  }
  .steps {
    gap: 3px;
  }
  .steps button {
    font-size: 0.78rem;
  }
  .steps i {
    width: 18px;
    height: 18px;
    line-height: 18px;
  }
  .board .sample-pair {
    height: 170px;
  }
  footer {
    gap: 8px 18px;
  }
  .shower-banner > div {
    padding: 20px;
  }
  .material .label span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition: none !important;
  }
}

.material .label .cat-count {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.manual-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 14px 0;
  background: #dbd8d0;
  touch-action: manipulation;
  line-height: 0;
  cursor: crosshair;
}
.manual-stage > img {
  display: block;
  width: 100%;
  height: auto;
}
.manual-stage.kept {
  margin: 0;
  border-radius: 5px;
  cursor: default;
}
.manual-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 256px;
  transform-origin: 0 0;
  background-repeat: repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.corner {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 23px;
  height: 23px;
  border: 2px solid white;
  background: #9d331c;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 12px system-ui;
  pointer-events: none;
}
.manual-ranges {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
}
.manual-ranges label {
  display: grid;
  font-size: 0.9rem;
  gap: 3px;
}
.manual-ranges input {
  accent-color: var(--rust);
  height: 26px;
  min-width: 160px;
}

/* Guided showroom, shared layout of the DePalma and CRW kiosks. */
:root {
  --paper: #fff;
  --ink: #202a35;
  --muted: #596474;
  --line: #d9dee3;
  --rust: #a43425;
  --rust-dark: #84271d;
  --serif: Georgia, 'Iowan Old Style', serif;
}
body {
  background: #fff;
}
.studio-header .nav-wrap {
  max-width: 1520px;
  min-height: 88px;
  height: auto;
  padding: 14px clamp(20px, 4.2vw, 70px);
  gap: 20px;
}
.studio-header .brand {
  width: clamp(170px, 19vw, 256px);
  margin: 0;
  flex-shrink: 0;
}
.studio-wordmark {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  font-weight: 720;
  white-space: nowrap;
}
.studio-header nav {
  margin-left: auto;
  gap: clamp(10px, 2.1vw, 26px);
}
.studio-header nav button {
  min-height: 44px;
  color: var(--ink);
}
.store-band {
  background: #f2f3f3;
  border-bottom: 1px solid #e7e8e9;
  color: #4b5865;
  padding: 8px clamp(20px, 4.2vw, 70px);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.store-band span {
  color: var(--rust);
  margin: 0 8px;
}
.studio-tools {
  width: min(1380px, 100%);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px clamp(18px, 4vw, 60px) 6px;
}
.studio-tools button {
  border-radius: 999px;
  padding: 8px 17px;
  min-height: 41px;
  font-weight: 620;
}
.studio-tools button[data-action='shower'] {
  color: white;
  background: var(--rust);
  border-color: var(--rust);
}
main {
  width: min(1380px, 100%);
  padding: 12px clamp(18px, 4vw, 60px) 34px;
  min-height: 60vh;
  scroll-margin-top: 10px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 14px;
  margin: 0 0 23px;
  border-bottom: 1px solid var(--line);
}
.steps:has(> :last-child:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.steps button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 660;
  min-height: 44px;
  font-size: 0.92rem;
  color: #626c76;
  z-index: 0;
}
.steps button:not(:last-child):after {
  content: '';
  position: absolute;
  width: 15%;
  height: 1px;
  right: -7.5%;
  background: var(--line);
}
.steps i {
  border: 1px solid var(--line);
  background: white;
  color: #4c5763;
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  margin: 0;
}
.steps .current i {
  background: var(--rust);
  color: white;
  border-color: var(--rust);
}
.steps .current {
  color: var(--rust);
}
.step-head {
  margin: 0 0 18px;
}
.step-head h1 {
  font-size: clamp(2.15rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.042em;
  margin: 5px 0 8px;
}
.step-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 72ch;
}
.kicker {
  color: var(--rust);
}
.photo-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f6f5f1;
  border: 1px solid #e1dfda;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 20px;
}
.photo-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}
.photo-symbol {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #775942;
  border: 1px solid #ded3c6;
  border-radius: 9px;
  background: #fff;
}
.photo-symbol svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.photo-copy h3 {
  font-size: 1.04rem;
}
.photo-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 3px 0 0;
}
.photo-panel .upload {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.file-btn {
  cursor: pointer;
}
.room-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.segments {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  background: #f1f3f4;
  border: 1px solid #e5e8ea;
  border-radius: 12px;
  padding: 4px;
}
.segments button {
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 650;
  color: #49535e;
  font-size: 0.91rem;
}
.segments button[aria-pressed='true'] {
  color: white;
  background: #243142;
}
.studio-search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 12px;
  min-height: 45px;
}
.studio-search svg {
  width: 18px;
  fill: none;
  stroke: #63717f;
  stroke-width: 2;
}
.studio-search input {
  width: 155px;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  font-size: 0.95rem;
}
.studio-search:focus-within {
  outline: 2px solid #3974a5;
}
.space-grid,
.style-grid,
.surface-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.space-card,
.style-card,
.surface-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: white;
  text-align: left;
  min-width: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.space-card img,
.surface-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.9;
  object-fit: cover;
  background: #ececea;
}
.space-card span,
.surface-card strong {
  display: block;
  padding: 11px 13px;
  font-weight: 680;
  font-size: 1.02rem;
}
.space-card:hover,
.space-card[aria-pressed='true'],
.style-card:hover,
.surface-card:hover,
.board-product:hover {
  border-color: var(--rust);
  box-shadow: 0 2px 10px #26313d11;
}
.style-card {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.style-card .palette,
.board-top .palette {
  display: flex;
  gap: 4px;
  margin: 0;
}
.style-card .palette i,
.board-top .palette i {
  width: 24px;
  height: 16px;
  border-radius: 3px;
}
.style-card strong {
  font-size: 1.07rem;
}
.style-card small,
.board-product em {
  color: var(--muted);
  font-size: 0.89rem;
  font-style: normal;
}
.design-note {
  display: block;
  margin: 18px 0;
  font-weight: 620;
}
.design-note textarea {
  display: block;
  margin-top: 7px;
  width: min(100%, 660px);
  min-height: 65px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.surface-card img {
  aspect-ratio: 2.65;
}
.board-toggle {
  margin: 0 0 15px;
}
.board-grid {
  gap: 16px;
}
.board {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.board-top span {
  font-weight: 700;
}
.board-products {
  display: grid;
  gap: 7px;
}
.board-product {
  display: flex;
  gap: 9px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
}
.board-product img {
  width: 60px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}
.board-product span {
  display: grid;
  gap: 2px;
}
.board-product small,
.selection-role {
  font-size: 0.75rem;
  font-weight: 720;
  color: var(--rust);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.board-product strong {
  font-size: 0.94rem;
  line-height: 1.2;
}
.board .use-board {
  margin-top: auto;
}
.selection-role {
  margin-top: 10px;
}
.review {
  align-items: start;
}
#studio-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px max(4vw, calc((100vw - 1260px) / 2));
  background: #fffffff5;
  box-shadow: 0 -2px 10px #2835450a;
  border-top: 1px solid var(--line);
}
#studio-footer span {
  font-size: 0.9rem;
  color: var(--muted);
}
#studio-footer button {
  min-height: 44px;
  padding: 8px 20px;
}
#studio-footer button:disabled {
  cursor: default;
}
@media (max-width: 900px) {
  .studio-wordmark {
    display: none;
  }
  .space-grid,
  .style-grid,
  .surface-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .studio-header .nav-wrap {
    flex-wrap: wrap;
    gap: 4px 10px;
    min-height: 64px;
    padding: 9px 15px;
  }
  .studio-header .brand {
    width: 170px;
  }
  .studio-header nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    display: flex;
  }
  .studio-header nav button {
    font-size: 0.83rem;
    padding: 4px 2px;
  }
  .studio-header .full {
    display: inline-grid;
    margin-left: auto;
  }
  .store-band {
    font-size: 0.65rem;
  }
  .studio-tools {
    padding: 10px 14px 4px;
    gap: 5px;
  }
  .studio-tools button {
    padding: 6px 9px;
    font-size: 0.82rem;
    min-height: 38px;
  }
  .steps {
    margin: 0 0 16px;
    padding-bottom: 8px;
  }
  .steps button {
    flex-direction: column;
    gap: 4px;
    font-size: 0.72rem;
  }
  .steps i {
    width: 23px;
    height: 23px;
  }
  .steps button:not(:last-child):after {
    top: 12px;
    width: 28%;
    right: -14%;
  }
  .photo-panel {
    padding: 13px;
    gap: 9px;
  }
  .photo-symbol {
    display: none;
  }
  .room-filters {
    align-items: stretch;
    gap: 8px;
  }
  .segments button {
    padding: 7px 9px;
    font-size: 0.79rem;
  }
  .studio-search {
    width: 100%;
  }
  .studio-search input {
    width: 100%;
  }
  .space-grid,
  .style-grid,
  .surface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .space-card span,
  .surface-card strong {
    padding: 8px;
    font-size: 0.93rem;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  #studio-footer {
    padding: 8px 14px;
  }
  .studio-header nav .saved-nav {
    display: flex;
  }
}
.mask-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.mask-tools button[aria-pressed='true'] {
  background: #243142;
  color: white;
}
.mask-tools label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
}
#mask-editor {
  display: block;
  width: auto;
  max-height: 58vh;
  margin: auto;
  max-width: 100%;
  height: auto;
  touch-action: none;
  cursor: crosshair;
  background: #f1f2f3;
}
#mask-status {
  margin: 10px 0;
  color: var(--muted);
}
.guide-list li {
  margin: 9px 0;
}

.busy-scenes {
  display: block;
  margin: 16px 0;
}
.busy-scenes > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.waiting-scenes {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.6;
  isolation: isolate;
  border-radius: 6px;
}
.waiting-scenes img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: waiting-room 15s linear infinite;
}
.waiting-scenes img:first-child {
  opacity: 1;
}
.waiting-scenes img:only-child {
  animation: none;
}
@keyframes waiting-room {
  0%,
  30% {
    opacity: 1;
  }
  34%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .waiting-scenes img {
    animation: none;
  }
}
