@font-face {
  font-family: CoastalSerif;
  src: local("Georgia");
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #253f37;
  background: #f2f0e9;
  font-size: 13px;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: transparent;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #628278;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
}
#studio {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 304px;
  height: 100dvh;
  min-height: 450px;
}
.sidebar {
  padding: 28px 25px 20px;
  background: #234239;
  color: #f6f3e9;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.brand {
  display: block;
  width: max-content;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1;
}
.brand span {
  font-size: 20px;
  margin-left: -3px;
}
.brand small {
  display: block;
  font: 9px Arial;
  letter-spacing: 2.2px;
  margin-top: 9px;
}
.intro {
  margin: 44px 0 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  line-height: 1.7;
  margin: 0;
  color: #758077;
  font-weight: 600;
}
.intro .eyebrow {
  color: #b9c6ba;
  font-size: 8px;
  letter-spacing: 1.2px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    46px/1.03 Georgia,
    serif;
  letter-spacing: -1.3px;
  margin: 16px 0 18px;
}
h1 i {
  font-weight: normal;
}
#intro-copy {
  font-size: 11px;
  line-height: 1.8;
  color: #ced7cc;
  margin-bottom: 20px;
}
.concept {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #d4d8c7;
  border-top: 1px solid #547064;
  padding-top: 18px;
  display: block;
}
.room-heading {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #b7c4b9;
  margin-bottom: 12px;
}
#rooms {
  display: grid;
  gap: 3px;
}
#rooms button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 10px;
  border-radius: 4px;
  font-size: 11px;
  transition: background 0.15s;
}
#rooms button span {
  font: 15px Georgia;
  color: #afc0b3;
  min-width: 19px;
}
#rooms button em {
  margin-left: auto;
  font-style: normal;
  color: #afc0b3;
}
#rooms button[aria-pressed="true"] {
  background: #e4e8d7;
  color: #244338;
}
#rooms button[aria-pressed="true"] span,
#rooms button[aria-pressed="true"] em {
  color: #244338;
}
#rooms button:hover {
  background: #ffffff12;
}
#rooms button[aria-pressed="true"]:hover {
  background: #e4e8d7;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 28px;
  font-size: 9px;
  line-height: 1.8;
  color: #b6c4b9;
}
.sidebar-foot p {
  margin-bottom: 14px;
}
.sidebar-foot a {
  text-decoration: none;
}
.stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #eae7df;
}
#canvas-host {
  position: absolute;
  inset: 0;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.stage-header {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 25px;
  top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.stage-header h2 {
  font:
    32px/1.2 Georgia,
    serif;
  margin-top: 8px;
  text-shadow: 0 1px 20px #fff9;
  letter-spacing: -0.4px;
}
.stage-header .eyebrow {
  color: #58675d;
  text-shadow: 0 1px 8px white;
}
.icon-button {
  width: 35px;
  height: 35px;
  border: 1px solid #c9cdbf;
  border-radius: 5px;
  background: #f7f7eecc;
  pointer-events: auto;
  font-size: 19px;
}
.floor-caption {
  position: absolute;
  bottom: 108px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 1.1px;
  text-shadow: 0 1px 5px white;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #617c59;
}
.toolbar {
  position: absolute;
  z-index: 3;
  bottom: 39px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  align-items: center;
  background: #faf9f2ed;
  box-shadow: 0 8px 35px #222c2214;
  border: 1px solid #d5d6c7;
  border-radius: 7px;
  padding: 8px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  backdrop-filter: blur(14px);
}
.toolbar button {
  font-size: 10px;
  min-height: 35px;
  padding: 8px 10px;
  border-radius: 4px;
}
.views {
  display: flex;
  background: #e9ebdf;
  border-radius: 4px;
  padding: 2px;
}
.views button[aria-pressed="true"] {
  background: #2b4a3e;
  color: #fff;
}
.divider {
  height: 24px;
  width: 1px;
  background: #d6d9cc;
  margin: 0 5px;
}
#materials-toggle {
  background: #e3e7d8;
}
#materials-toggle span {
  font-size: 9px;
  margin-left: 3px;
}
#materials-toggle[aria-expanded="true"] {
  display: none;
}
.render-note {
  position: absolute;
  bottom: 9px;
  left: 18px;
  right: 18px;
  margin: 0;
  font-size: 8px;
  text-align: center;
  color: #536858;
  text-shadow: 0 1px 5px white;
  line-height: 1.5;
}
#walk-pad {
  position: absolute;
  right: 18px;
  bottom: 130px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 37px);
  gap: 4px;
}
#walk-pad button {
  border: 1px solid #d3d6c9;
  box-shadow: 0 2px 12px #0001;
  border-radius: 5px;
  background: #f8f8eecc;
  height: 37px;
  font-size: 22px;
  touch-action: none;
}
#walk-pad button:first-child {
  grid-column: 2;
}
#walk-pad button:nth-child(2) {
  grid-row: 2;
  grid-column: 1;
}
#walk-pad button:nth-child(3) {
  grid-row: 2;
  grid-column: 2;
}
#walk-pad button:nth-child(4) {
  grid-row: 2;
  grid-column: 3;
}
#walk-pad button:active {
  background: #d4decb;
}
#walk-pad[hidden] {
  display: none;
}
#materials {
  z-index: 5;
  background: #f9f8f1;
  border-left: 1px solid #daddcf;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.materials-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 21px 19px;
}
.materials-heading .eyebrow {
  font-size: 8px;
}
.materials-heading h2 {
  font: 28px Georgia;
  margin: 8px 0 0;
  letter-spacing: -0.5px;
}
#close-materials {
  width: 28px;
  height: 28px;
  font-size: 21px;
  background: none;
  border: 0;
}
.scope {
  margin: 0 20px 16px;
  display: grid;
  gap: 7px;
}
.scope label {
  font-size: 10px;
  color: #788174;
}
.scope select {
  padding: 9px 7px;
  width: 100%;
  border: 1px solid #d6dacd;
  border-radius: 4px;
  color: #2d473c;
  background: #fff;
}
.filters {
  display: flex;
  gap: 4px;
  padding: 0 18px 14px;
}
.filters button {
  font-size: 10px;
  padding: 7px 8px;
  background: #edeee4;
  border-radius: 20px;
}
.filters button[aria-pressed="true"] {
  background: #2b4a3e;
  color: white;
}
.filters small {
  font-size: 8px;
  margin-left: 2px;
}
#floor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 10px;
  padding: 1px 20px 20px;
  overflow: auto;
  min-height: 100px;
  flex: 1;
  align-content: start;
}
.floor-card {
  padding: 0;
  text-align: left;
  border-radius: 4px;
  position: relative;
}
.floor-card .swatch {
  height: 75px;
  background-size: 700% auto;
  background-position: 79% 88%;
  border: 2px solid transparent;
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 0 0 1px #00000006;
}
.floor-card[aria-pressed="true"] .swatch {
  border-color: #345346;
}
.floor-card[aria-pressed="true"] .swatch:after {
  content: "✓";
  position: absolute;
  bottom: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  background: #2d4b3d;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
}
.floor-card strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  padding: 7px 1px 3px;
  line-height: 1.3;
}
.floor-card small {
  display: block;
  font-size: 8px;
  color: #727e71;
  line-height: 1.4;
}
.floor-card:hover .swatch {
  box-shadow: 0 3px 12px #0002;
}
.floor-card[hidden] {
  display: none;
}
.selected-product {
  border-top: 1px solid #dfe0d4;
  padding: 17px 20px 12px;
}
.selected-product .eyebrow {
  font-size: 8px;
  letter-spacing: 1.1px;
}
.selected-product h3 {
  font: 22px Georgia;
  margin: 5px 0 7px;
}
.selected-product p {
  font-size: 10px;
  line-height: 1.5;
  color: #71806d;
  margin-bottom: 9px;
}
.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.product-actions a {
  font-size: 9px;
  text-underline-offset: 3px;
  text-decoration-color: #9faa91;
}
.compare {
  border-top: 1px solid #dfe0d4;
  padding: 13px 20px 15px;
}
.compare > span {
  font-size: 7px;
  letter-spacing: 1.2px;
}
.compare > div {
  display: flex;
  gap: 6px;
  margin-top: 9px;
}
.compare button {
  border: 1px solid #cbd2bf;
  padding: 7px 12px;
  border-radius: 3px;
  font-size: 10px;
}
.compare button.active {
  background: #2c4a3d;
  color: #fff;
}
.compare p {
  font-size: 9px;
  color: #74806e;
  margin: 9px 0 0;
  line-height: 1.5;
}
.materials-closed #studio {
  grid-template-columns: 248px minmax(0, 1fr);
}
.materials-closed #materials {
  display: none;
}
#loading {
  position: absolute;
  z-index: 8;
  inset: 0;
  background: #eeece5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
}
#loading strong {
  font: 25px Georgia;
}
#loading p {
  font-size: 11px;
  color: #748170;
}
.spinner {
  width: 28px;
  height: 28px;
  border: 1px solid #c4cebc;
  border-top-color: #365642;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: absolute;
  bottom: 162px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b473fed;
  color: white;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 11px;
  z-index: 8;
  text-align: center;
  max-width: 85%;
}
#toast[hidden] {
  display: none;
}
dialog {
  border: 1px solid #cfd5c5;
  border-radius: 8px;
  padding: 28px;
  background: #f6f5ed;
  color: #2b453a;
  max-width: 440px;
  width: 90%;
}
dialog::backdrop {
  background: #17291d77;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font: 27px Georgia;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
}
dialog textarea {
  width: 100%;
  height: 100px;
  font: 11px Arial;
  padding: 12px;
  border: 1px solid #cbd2c1;
  background: white;
  color: #3b5445;
  border-radius: 4px;
}
#share-close {
  float: right;
  font-size: 23px;
}
#copy-link {
  background: #2e4a3f;
  color: white;
  border-radius: 4px;
  padding: 12px 17px;
  margin-top: 12px;
}
@media (min-width: 1700px) {
  #studio {
    grid-template-columns: 285px minmax(0, 1fr) 330px;
  }
  .sidebar {
    padding: 35px;
  }
  .intro {
    margin-top: 55px;
  }
  h1 {
    font-size: 57px;
  }
  #rooms button {
    padding: 14px 10px;
  }
  .materials-closed #studio {
    grid-template-columns: 285px minmax(0, 1fr);
  }
}
@media (max-width: 1100px) {
  #studio {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding: 23px 19px;
  }
  .intro {
    margin: 30px 0 22px;
  }
  h1 {
    font-size: 40px;
  }
  #materials {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 285px;
    box-shadow: -10px 0 45px #152e2714;
  }
  .materials-closed #studio {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .toolbar button {
    padding: 8px;
    font-size: 9px;
  }
  .stage-header {
    left: 24px;
  }
  .stage-header h2 {
    font-size: 29px;
  }
  #materials-toggle[aria-expanded="true"] {
    display: block;
  }
}
@media (max-width: 700px) {
  #studio,
  .materials-closed #studio {
    display: block;
    height: 100dvh;
    min-height: 450px;
  }
  .sidebar {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 0;
    background: #234239;
    display: block;
    height: 105px;
    padding: 12px 15px;
    overflow: hidden;
  }
  .brand {
    font-size: 17px;
    line-height: 1;
  }
  .brand span {
    font-size: 14px;
  }
  .brand small {
    display: inline;
    margin: 0 0 0 9px;
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .intro,
  .room-heading,
  .sidebar-foot {
    display: none;
  }
  #rooms {
    display: flex;
    gap: 5px;
    overflow: auto;
    position: absolute;
    bottom: 9px;
    left: 10px;
    right: 10px;
    padding: 4px;
  }
  #rooms button {
    width: auto;
    flex-shrink: 0;
    padding: 9px 10px;
    font-size: 10px;
    gap: 6px;
    white-space: nowrap;
    background: #ffffff0a;
  }
  #rooms button span {
    font-size: 12px;
    min-width: auto;
  }
  #rooms button em {
    display: none;
  }
  .stage {
    position: absolute;
    left: 0;
    right: 0;
    top: 105px;
    bottom: 0;
  }
  .stage-header {
    top: 18px;
    left: 18px;
    right: 15px;
  }
  .stage-header h2 {
    font-size: 26px;
    margin-top: 5px;
  }
  .stage-header .eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  #materials {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: min(69dvh, 570px);
    border-radius: 13px 13px 0 0;
    box-shadow: 0 -10px 50px #1733262a;
  }
  .materials-heading {
    padding: 17px 18px 12px;
  }
  .materials-heading h2 {
    font-size: 25px;
  }
  .scope {
    display: flex;
    align-items: center;
    margin: 0 18px 10px;
    gap: 12px;
  }
  .scope label {
    white-space: nowrap;
  }
  .filters {
    padding-bottom: 10px;
  }
  #floor-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 0 18px 15px;
  }
  .floor-card .swatch {
    height: 62px;
  }
  .floor-card strong {
    font-size: 9px;
  }
  .floor-card small {
    font-size: 7px;
  }
  .selected-product {
    padding: 11px 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    align-items: center;
  }
  .selected-product .eyebrow {
    grid-column: 1;
  }
  .selected-product h3 {
    grid-column: 1;
    font-size: 20px;
  }
  .selected-product #selected-specs {
    grid-column: 1;
    font-size: 8px;
    margin: 0;
  }
  .product-actions {
    grid-column: 2;
    grid-row: 1/4;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
  }
  .compare {
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .compare > span {
    max-width: 100px;
    line-height: 1.6;
  }
  .compare > div {
    margin: 0;
  }
  .compare p {
    display: none;
  }
  .toolbar {
    bottom: 38px;
    max-width: calc(100% - 18px);
    gap: 1px;
    padding: 5px;
  }
  .toolbar button {
    font-size: 9px;
    padding: 8px;
    min-height: 34px;
  }
  .divider {
    margin: 0 2px;
  }
  #reset-view {
    display: none;
  }
  #save-image {
    display: none;
  }
  .floor-caption {
    bottom: 100px;
    font-size: 7px;
    left: 15px;
    right: 15px;
  }
  .render-note {
    bottom: 8px;
    font-size: 7px;
    left: 15px;
    right: 15px;
  }
  #walk-pad {
    right: 13px;
    bottom: 132px;
    grid-template-columns: repeat(3, 38px);
  }
  #walk-pad button {
    height: 38px;
  }
  #toast {
    bottom: 220px;
  }
  .materials-open #walk-pad {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .spinner {
    animation-duration: 2s;
  }
}

#rooms {
  scrollbar-width: none;
}
#rooms::-webkit-scrollbar {
  display: none;
}

.capture .sidebar,
.capture #materials,
.capture .stage-header,
.capture .toolbar,
.capture #walk-pad,
.capture .floor-caption,
.capture .render-note,
.capture #toast {
  display: none !important;
}
.capture #studio {
  display: block;
}
.capture .stage {
  position: absolute;
  inset: 0;
}

.intro h1 {
  font-size: 30px;
  letter-spacing: -0.7px;
}
.intro h1 i {
  font-size: 41px;
}
.sidebar {
  background: #293330;
}
.intro {
  margin-top: 30px;
  margin-bottom: 23px;
}
.level-switch {
  display: flex;
  gap: 4px;
  background: #1d2926;
  padding: 4px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.level-switch button {
  padding: 9px 7px;
  flex: 1;
  font-size: 10px;
  white-space: nowrap;
  border-radius: 3px;
  color: #d7ddd1;
}
.level-switch button[aria-pressed="true"] {
  background: #e7e4d6;
  color: #293e34;
}
#stair-travel {
  position: absolute;
  right: 18px;
  bottom: 220px;
  z-index: 2;
  border: 1px solid #ccd0c3;
  border-radius: 5px;
  background: #f6f5eced;
  padding: 10px 13px;
  font-size: 10px;
  box-shadow: 0 3px 18px #0001;
}
#stair-travel[hidden] {
  display: none;
}
#rooms button[hidden] {
  display: none;
}
@media (max-width: 700px) {
  .sidebar {
    height: 145px;
  }
  .stage {
    top: 145px;
  }
  .level-switch {
    position: absolute;
    right: 12px;
    top: 8px;
    margin: 0;
    max-width: 226px;
    padding: 3px;
  }
  .level-switch button {
    padding: 7px 8px;
    font-size: 9px;
  }
  .brand {
    max-width: 124px;
  }
  .brand small {
    display: block;
    margin: 4px 0 0;
    font-size: 6px;
  }
  #rooms {
    bottom: 12px;
  }
  .room-heading {
    display: block;
    position: absolute;
    top: 59px;
    left: 16px;
    font-size: 7px;
  }
  .room-heading > span:last-child {
    display: none;
  }
  #stair-travel {
    right: 13px;
    bottom: 221px;
    font-size: 10px;
  }
  .materials-open #stair-travel {
    visibility: hidden;
  }
}
.capture #stair-travel,
.capture .level-switch {
  display: none !important;
}

.quality-control {
  position: absolute;
  top: 28px;
  right: 72px;
  z-index: 3;
}
.quality-control select {
  max-width: 138px;
  background: #f6f5eeeb;
  color: #29483d;
  border: 1px solid #c9cdbf;
  border-radius: 5px;
  padding: 9px 8px;
  font-size: 11px;
  cursor: pointer;
}
.render-note a {
  pointer-events: auto;
  text-decoration: underline;
}
.capture .quality-control,
.capture .render-stats {
  display: none !important;
}
@media (max-width: 700px) {
  .quality-control {
    top: 85px;
    right: 15px;
  }
  .quality-control select {
    padding: 7px;
    font-size: 10px;
    max-width: 116px;
  }
}

.quality-control .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#loading a:not([hidden]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 700px) {
  .product-actions {
    gap: 4px;
  }
  .product-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
