@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Space+Mono:wght@400;700&display=swap");

:root {
  --room-paper: #f3eee4;
  --room-paper-light: #fbf8f1;
  --room-linen: #e8dece;
  --room-cocoa: #3d3028;
  --room-cocoa-soft: #635247;
  --room-russet: #985638;
  --room-russet-dark: #75402b;
  --room-clay: #c99b78;
  --room-line: #d9cdbd;
  --room-olive: #77745c;
  --room-shadow: 0 18px 54px rgba(66, 47, 33, .10);
  --room-display: "Instrument Serif", Georgia, serif;
  --room-body: "DM Sans", sans-serif;
  --room-mono: "Space Mono", monospace;
}

html:has(body.rooms-ready),
body.rooms-ready {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 4%, rgba(201, 155, 120, .15), transparent 28rem),
    var(--room-paper);
  color: var(--room-cocoa);
  font-family: var(--room-body);
  -webkit-font-smoothing: antialiased;
}

body.rooms-ready *,
body.rooms-welcome * {
  box-sizing: border-box;
}

body.rooms-ready button,
body.rooms-welcome button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

body.rooms-ready button:focus-visible,
body.rooms-welcome button:focus-visible,
body.rooms-ready a:focus-visible,
body.rooms-welcome a:focus-visible,
body.rooms-ready input:focus-visible,
body.rooms-ready select:focus-visible,
body.rooms-ready textarea:focus-visible {
  outline: 3px solid rgba(152, 86, 56, .55);
  outline-offset: 3px;
}

body.rooms-ready #roomShell {
  display: grid;
  grid-template-rows: 78px minmax(0, 1fr) 58px;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: 0 30px;
}

body.rooms-welcome #roomShell,
body.rooms-ready #welcomeScreen {
  display: none !important;
}

body.rooms-welcome #welcomeScreen {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 100dvh;
  overflow: auto;
  padding: clamp(18px, 5vw, 64px);
  background:
    radial-gradient(ellipse at 18% 12%, rgba(204, 163, 126, .25), transparent 36%),
    linear-gradient(145deg, #f7f1e7 0%, #e9dece 100%);
  color: var(--room-cocoa);
}

body.rooms-welcome #welcomeScreen::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

body.rooms-welcome #welcomeCard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: stretch;
  width: min(1080px, 100%);
  min-height: min(650px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid rgba(95, 72, 53, .16);
  border-radius: 8px;
  background: var(--room-paper-light);
  box-shadow: 0 30px 100px rgba(67, 48, 32, .18);
  animation: room-arrive .65s cubic-bezier(.2, .75, .25, 1) both;
}

body.rooms-welcome #welcomeClean {
  position: relative !important;
  inset: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(30px, 6vw, 76px);
  background: transparent;
  box-shadow: none;
}

body.rooms-welcome #welcomeClean::before {
  display: block;
  margin-bottom: 26px;
  color: var(--room-russet);
  content: var(--language-journey, "A PERSONAL STYLE JOURNEY");
  font: 700 10px/1.3 var(--room-mono);
  letter-spacing: .18em;
}

body.rooms-welcome #welcomeLogo {
  display: block;
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--room-russet-dark);
  font: 700 12px/1.2 var(--room-mono);
  letter-spacing: .24em;
}

body.rooms-welcome #welcomeQuote {
  max-width: 500px;
  margin: 0 0 20px;
  color: var(--room-cocoa);
  font: normal clamp(42px, 6vw, 74px)/.97 var(--room-display);
  letter-spacing: -.025em;
}

body.rooms-welcome #welcomeQuote::after {
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 24px;
  background: var(--room-russet);
  content: "";
}

body.rooms-welcome #welcomeClean p,
body.rooms-welcome #welcomeClean > div:not(#welcomeQuote):not(#welcomeLogo) {
  max-width: 370px;
  color: #77685a;
  font: 400 15px/1.75 var(--room-body);
}

body.rooms-welcome #welcomeSeat {
  position: absolute !important;
  inset: auto 0 0 auto !important;
  display: block !important;
  width: 46%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: #d8c5ae !important;
  color: transparent !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  cursor: default;
}

body.rooms-welcome #welcomeSeat img,
body.rooms-welcome #welcomeSeat picture,
body.rooms-welcome #welcomeSeat > * {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.rooms-welcome #welcomeSeat::before {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(180deg, rgba(47, 37, 29, .02), rgba(47, 37, 29, .26)),
    linear-gradient(135deg, rgba(186, 139, 99, .18), transparent 50%);
  content: "";
}

body.rooms-welcome #welcomeSeat::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 241, .7);
  background: rgba(248, 241, 230, .91);
  color: var(--room-cocoa);
  content: var(--language-chair, "A seat in the director's chair");
  font: 600 11px/1.35 var(--room-mono);
  letter-spacing: .05em;
  text-align: center;
}

body.rooms-welcome #welcomeCard .welcomeDemo,
body.rooms-welcome #welcomeCard .welcomeSecondary,
body.rooms-welcome #welcomeCard [data-demo-secondary] {
  position: relative;
  z-index: 3;
  margin: 14px 0 0 12px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--room-line);
  background: transparent;
  color: var(--room-cocoa-soft);
  font: 600 12px/1.2 var(--room-body);
  cursor: pointer;
}

/* Shell frame */
body.rooms-ready .roomTopbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(220px, 2fr) minmax(230px, 1.4fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  border-bottom: 1px solid rgba(109, 82, 60, .18);
}

body.rooms-ready .roomBrand,
body.rooms-ready .roomHome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--room-cocoa);
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, background-color .18s ease, border-color .18s ease;
}

body.rooms-ready .roomBrand {
  justify-self: start;
  padding: 9px 11px;
  color: var(--room-russet-dark);
  font: 700 11px/1.2 var(--room-mono);
  letter-spacing: .17em;
}

body.rooms-ready .roomBrand::before {
  width: 21px;
  height: 21px;
  margin-right: 10px;
  border: 1px solid currentColor;
  content: "P";
  font: 700 12px/19px var(--room-display);
  letter-spacing: 0;
  text-align: center;
}

body.rooms-ready .roomLocation {
  min-width: 0;
  text-align: center;
}

body.rooms-ready #roomTitle {
  margin: 0;
  color: var(--room-cocoa);
  font: normal clamp(19px, 2.2vw, 26px)/1 var(--room-display);
}

body.rooms-ready #roomHint {
  margin: 5px 0 0;
  color: #88796a;
  font: 9px/1.2 var(--room-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.rooms-ready .roomHome {
  justify-self: end;
  gap: 9px;
  padding: 8px 15px;
  border-color: rgba(110, 82, 59, .28);
  color: var(--room-russet-dark);
  font: 700 10px/1 var(--room-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.rooms-ready .roomUtility {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  min-width: 0;
}

body.rooms-ready .roomAccount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(110, 82, 59, .2);
  border-radius: 3px;
  background: rgba(251, 248, 241, .56);
  color: var(--room-cocoa-soft);
  cursor: pointer;
  font: 600 14px/1.2 var(--room-body);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

body.rooms-ready .roomAccount:hover,
body.rooms-ready .roomAccount:focus-visible {
  border-color: var(--room-russet);
  background: #f5eadb;
  color: var(--room-cocoa);
}

body.rooms-ready .roomAccountDot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 1px solid var(--room-olive);
  border-radius: 50%;
  background: #d9d2bd;
}

body.rooms-ready .roomAccount.is-signed-in .roomAccountDot {
  border-color: #66724f;
  background: #8b9871;
}

body.rooms-ready #roomAccountStatus {
  max-width: 195px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rooms-ready .roomAccountAction {
  flex: 0 0 auto;
  padding-left: 8px;
  border-left: 1px solid var(--room-line);
  color: var(--room-russet-dark);
  font: 700 14px/1 var(--room-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

body.rooms-ready .roomHome::before {
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-right: 0;
  border-bottom: 0;
  content: "";
  transform: translateY(2px) rotate(45deg);
}

body.rooms-ready .roomHome::after {
  position: absolute;
  content: "";
}

body.rooms-ready .roomBrand:hover,
body.rooms-ready .roomHome:hover {
  transform: translateY(-1px);
  border-color: var(--room-russet);
  background: rgba(255, 251, 242, .65);
}

body.rooms-ready .roomBrand:active,
body.rooms-ready .roomHome:active {
  transform: translateY(1px) scale(.98);
}

body.rooms-ready .roomLayout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 26px;
  min-width: 0;
  min-height: 0;
  padding: 22px 0 18px;
}

body.rooms-ready .roomNav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 12px 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--room-clay) transparent;
}

body.rooms-ready .roomNav::before {
  margin: 2px 12px 9px;
  color: #a18f7c;
  content: var(--language-rooms, "YOUR ROOMS");
  font: 700 9px/1.2 var(--room-mono);
  letter-spacing: .16em;
}

body.rooms-ready .roomNavItem {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #78695a;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

body.rooms-ready .roomNavItem::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: -1px;
  width: 3px;
  background: var(--room-russet);
  content: "";
  transform: scaleY(0);
  transition: transform .2s ease;
}

body.rooms-ready .roomNavItem:hover {
  transform: translateX(2px);
  border-color: rgba(128, 95, 66, .16);
  background: rgba(255, 251, 243, .7);
  color: var(--room-cocoa);
}

body.rooms-ready .roomNavItem[aria-current="page"] {
  border-color: rgba(143, 84, 54, .2);
  background: #e8d9c6;
  color: var(--room-russet-dark);
}

body.rooms-ready .roomNavItem--future {
  color: #958778;
}

body.rooms-ready .roomNavItem--future .roomIcon {
  border-style: dashed;
  color: #897d70;
}

body.rooms-ready .roomNavItem--future[aria-current="page"] {
  color: var(--room-russet-dark);
}

body.rooms-ready .roomNavItem[aria-current="page"]::before {
  transform: scaleY(1);
}

body.rooms-ready .roomNavItem:active {
  transform: scale(.975);
}

body.rooms-ready .roomIcon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(105, 80, 58, .2);
  border-radius: 50%;
  background: rgba(251, 247, 238, .72);
  color: var(--room-cocoa-soft);
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

body.rooms-ready .roomIcon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.rooms-ready .roomNavItem[aria-current="page"] .roomIcon {
  transform: rotate(-5deg);
  border-color: var(--room-russet);
  background: var(--room-russet);
  color: #fff7eb;
}

body.rooms-ready .roomNavItem > span:last-child {
  overflow: hidden;
  font: 600 12px/1.25 var(--room-body);
  text-overflow: ellipsis;
}

body.rooms-ready .roomViewport {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(114, 87, 63, .16);
  border-radius: 5px;
  background: rgba(251, 248, 241, .69);
  box-shadow: 0 10px 34px rgba(81, 58, 38, .045);
}

body.rooms-ready .roomView {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(18px, 3vw, 38px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c3a88d transparent;
  animation: room-view-in .28s ease both;
}

body.rooms-ready .roomView[hidden] {
  display: none !important;
}

body.rooms-ready .roomFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  border-top: 1px solid rgba(109, 82, 60, .18);
}

body.rooms-ready .roomAccountMessage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 5px 9px;
  border-left: 2px solid #8b9471;
  background: rgba(232, 231, 214, .52);
  color: #5f684d;
  font: 500 14px/1.3 var(--room-body);
}

body.rooms-ready .roomAccountMessage.is-error {
  border-color: var(--room-russet);
  background: #f2e4d7;
  color: var(--room-russet-dark);
}

body.rooms-ready #roomAccountMessageText {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rooms-ready .roomMessageAction {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(117, 64, 43, .35);
  border-radius: 2px;
  background: rgba(255, 250, 241, .72);
  color: var(--room-russet-dark);
  cursor: pointer;
  font: 700 14px/1.1 var(--room-mono);
  text-transform: uppercase;
}

body.rooms-ready .roomMessageAction:hover {
  background: #fff8ed;
}

body.rooms-ready #roomPosition {
  color: #958371;
  font: 9px/1.2 var(--room-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.rooms-ready #roomNext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  min-width: 116px;
  padding: 9px 18px;
  border: 1px solid var(--room-russet-dark);
  border-radius: 3px;
  background: var(--room-russet-dark);
  color: #fff8ed;
  font: 700 10px/1.1 var(--room-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.rooms-ready #roomNext::after {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

body.rooms-ready #roomNext:hover {
  transform: translateY(-2px);
  background: #603422;
  box-shadow: 0 6px 16px rgba(91, 52, 34, .17);
}

body.rooms-ready #roomNext:active {
  transform: translateY(1px) scale(.98);
}

body.rooms-ready #roomNext:disabled {
  opacity: .46;
  cursor: not-allowed;
  box-shadow: none;
}

body.rooms-ready .roomNotice {
  position: fixed;
  z-index: 100010;
  right: 24px;
  bottom: 82px;
  max-width: min(430px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid #d4b497;
  border-left: 4px solid var(--room-russet);
  border-radius: 3px;
  background: #fff9ef;
  color: var(--room-cocoa);
  box-shadow: var(--room-shadow);
  font: 500 13px/1.45 var(--room-body);
  opacity: 0;
  pointer-events: none;
  transform: translateY(9px);
  transition: transform .22s ease, opacity .22s ease;
}

body.rooms-ready .roomNotice.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Foyer: a personal welcome with a clear path into the rooms */
body.rooms-ready #homeRoom {
  padding-top: clamp(10px, 2vw, 24px);
}

body.rooms-ready .foyerHero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, 1.08fr);
  min-height: clamp(290px, 40vh, 420px);
  overflow: hidden;
  border: 1px solid rgba(109, 82, 60, .17);
  background: #e7d9c7;
}

body.rooms-ready .foyerCopy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(25px, 4.5vw, 58px);
}

body.rooms-ready .foyerCopy .eyebrow {
  margin: 0 0 17px;
  color: var(--room-russet-dark);
  font: 700 9px/1.3 var(--room-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.rooms-ready #homeGreeting {
  max-width: 550px;
  margin: 0;
  color: var(--room-cocoa);
  font: normal clamp(38px, 5.4vw, 68px)/.97 var(--room-display);
  letter-spacing: -.025em;
}

body.rooms-ready #homeIntro {
  max-width: 440px;
  margin: 17px 0 0;
  color: #716052;
  font: 400 14px/1.7 var(--room-body);
}

body.rooms-ready .foyerImage {
  position: relative;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  background: #c5a98b;
}

body.rooms-ready .foyerImage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(48, 36, 27, .24), transparent 48%), linear-gradient(90deg, rgba(68, 47, 31, .12), transparent 45%);
  content: "";
  pointer-events: none;
}

body.rooms-ready .foyerImage img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: contain;
  object-position: center;
  transition: transform .65s cubic-bezier(.2, .65, .3, 1);
}

body.rooms-ready .foyerHero:hover .foyerImage img {
  transform: none;
}

body.rooms-ready .foyerImage::before {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 248, 235, .7);
  background: rgba(247, 240, 227, .88);
  color: var(--room-cocoa);
  content: var(--language-story, "STEP INTO THE STORY");
  font: 700 9px/1.2 var(--room-mono);
  letter-spacing: .1em;
}

body.rooms-ready .journeyActions {
  gap: 10px;
  margin: 23px 0 0;
}

body.rooms-ready .journeyPrimary,
body.rooms-ready .journeySecondary {
  min-height: 46px;
  padding: 13px 19px;
  border-radius: 3px;
  font: 700 10px/1.2 var(--room-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.rooms-ready .journeyPrimary {
  border: 1px solid var(--room-russet-dark);
  background: var(--room-russet-dark);
  color: #fff8ed;
}

body.rooms-ready .journeySecondary {
  border: 1px solid rgba(106, 80, 59, .3);
  background: rgba(255, 251, 244, .5);
  color: var(--room-cocoa);
}

body.rooms-ready .journeyPrimary:hover,
body.rooms-ready .journeySecondary:hover,
body.rooms-ready .journeyMode button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(74, 51, 34, .12);
}

body.rooms-ready .journeyPrimary:hover {
  background: #603422;
}

body.rooms-ready .journeySecondary:hover {
  border-color: var(--room-russet);
  background: #f5eadb;
}

body.rooms-ready .journeyPrimary:active,
body.rooms-ready .journeySecondary:active {
  transform: translateY(1px) scale(.985);
}

body.rooms-ready .journeyPrimary:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

body.rooms-ready .homeProgress {
  display: grid;
  grid-template-columns: minmax(130px, .6fr) minmax(120px, 1fr) minmax(140px, auto);
  align-items: center;
  gap: 18px;
  margin: 18px 0 30px;
  padding: 13px 17px;
  border: 1px solid var(--room-line);
  background: #f8f3e9;
}

body.rooms-ready .homeProgress > :first-child {
  color: var(--room-cocoa-soft);
  font: 700 9px/1.35 var(--room-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.rooms-ready #homeProgressText,
body.rooms-ready #profileProgressText {
  color: #7b6c5c;
  font: 500 11px/1.3 var(--room-body);
}

body.rooms-ready .profileMeter {
  position: relative;
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfd2c1;
}

body.rooms-ready .profileMeter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--room-russet);
  transition: width .4s ease;
}

body.rooms-ready .homeProgress button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--room-line);
  background: transparent;
  color: var(--room-russet-dark);
  font: 700 9px/1.2 var(--room-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

body.rooms-ready .homeProgress button:hover {
  border-color: var(--room-russet);
  background: #efe2d1;
}

body.rooms-ready .foyerRooms {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  padding-bottom: 12px;
}

body.rooms-ready .foyerCard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 155px;
  padding: 17px;
  border: 1px solid var(--room-line);
  background: rgba(251, 248, 241, .74);
  color: var(--room-cocoa);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.rooms-ready .foyerCard:hover {
  transform: translateY(-3px);
  border-color: #b88b68;
  background: #fffaf1;
  box-shadow: 0 10px 24px rgba(75, 53, 35, .09);
}

body.rooms-ready .foyerCard:active {
  transform: translateY(0) scale(.985);
}

body.rooms-ready .foyerCard > span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid #d5c4ae;
  border-radius: 50%;
  background: #f1e7d8;
  color: var(--room-russet-dark);
}

body.rooms-ready .foyerCard > span:first-child svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.rooms-ready .foyerCard h3 {
  margin: 0 0 5px;
  font: normal 22px/1 var(--room-display);
}

body.rooms-ready .foyerCard p {
  margin: 0;
  color: #827363;
  font: 11px/1.45 var(--room-body);
}

body.rooms-ready .foyerCard small {
  margin-top: auto;
  padding-top: 12px;
  color: #9b866f;
  font: 9px/1.2 var(--room-mono);
  letter-spacing: .04em;
}

/* Shared room content keeps the original journey components at home */
body.rooms-ready .journeySection,
body.rooms-ready .journeyAccount {
  width: min(100%, 1080px);
  max-width: 1080px;
  margin: 0 auto 20px;
  border-radius: 3px;
  border-color: var(--room-line);
  background: #fffaf2;
  box-shadow: 0 5px 18px rgba(74, 54, 37, .035);
}

body.rooms-ready .journeySection {
  padding: clamp(19px, 3vw, 32px);
}

body.rooms-ready .journeySection h2,
body.rooms-ready .journeyIntro h1 {
  color: var(--room-cocoa);
  font-family: var(--room-display);
  letter-spacing: -.02em;
}

body.rooms-ready .journeySection h3 {
  color: var(--room-cocoa);
  font-family: var(--room-display);
}

body.rooms-ready .journeySection p,
body.rooms-ready .journeyAccount p {
  color: #76685b;
}

body.rooms-ready .journeyAccount {
  padding: clamp(19px, 3vw, 29px);
  background: #efe5d7;
}

body.rooms-ready .journeyAccount h2 {
  color: var(--room-cocoa);
  font-family: var(--room-display);
}

body.rooms-ready .journeyAccountHead a {
  color: var(--room-russet-dark);
}

body.rooms-ready .journeyField {
  color: var(--room-cocoa-soft);
  font-family: var(--room-body);
}

body.rooms-ready .journeyField input,
body.rooms-ready .journeyField select,
body.rooms-ready .journeyField textarea {
  min-height: 44px;
  border-color: #d7c9b7;
  border-radius: 3px;
  background: #fffcf6;
  color: var(--room-cocoa);
  font: 14px var(--room-body);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.rooms-ready .journeyField input:focus,
body.rooms-ready .journeyField select:focus,
body.rooms-ready .journeyField textarea:focus {
  border-color: var(--room-russet);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(152, 86, 56, .1);
  outline: 0;
}

body.rooms-ready .journeyStatus,
body.rooms-ready .journeyEmpty {
  border-color: #dfcfbc;
  border-radius: 3px;
  background: #f4ecdf;
  color: #6f5845;
}

body.rooms-ready .journeyPill {
  background: #ecdfcd;
  color: var(--room-russet-dark);
  font-family: var(--room-mono);
}

body.rooms-ready .journeyMode button {
  min-height: 42px;
  padding: 10px 15px;
  border-color: #d7c9b7;
  border-radius: 3px;
  background: #fffaf2;
  color: var(--room-cocoa);
  font-family: var(--room-body);
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

body.rooms-ready .journeyMode button.active {
  border-color: var(--room-cocoa);
  background: var(--room-cocoa);
  color: #fff8ed;
}

body.rooms-ready .journeyCard,
body.rooms-ready .fittingLinks,
body.rooms-ready .journeyPrivacy {
  border-color: var(--room-line);
  border-radius: 3px;
  background: #f8f2e8;
}

body.rooms-ready .journeyCard img,
body.rooms-ready .journeyPreview img {
  border-radius: 2px;
}

body.rooms-ready .journeyNav {
  margin: 0 auto 18px;
  padding: 0;
}

body.rooms-ready .journeyNav a,
body.rooms-ready .journeyNav button,
body.rooms-ready .journeyLink,
body.rooms-ready .journeyInline .journeySecondary {
  min-height: 42px;
  border-color: var(--room-line);
  border-radius: 3px;
  background: #f8f2e8;
  color: var(--room-cocoa);
  font-family: var(--room-body);
}

body.rooms-ready .profileDetails {
  margin: 18px 0;
  padding: 15px 17px;
  border: 1px solid var(--room-line);
  background: #f8f2e8;
}

body.rooms-ready .profileDetails summary {
  color: var(--room-cocoa);
  cursor: pointer;
}

body.rooms-ready .profilePhotoSlots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 12px;
}

body.rooms-ready .profilePhotoSlot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 190px;
  padding: 12px;
  border: 1px dashed #c6ac91;
  background: #f6efe3;
}

body.rooms-ready .profilePhotoSlot img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

body.rooms-ready .profilePhotoSlot label,
body.rooms-ready .profilePhotoSlot button {
  margin-top: 9px;
  color: var(--room-cocoa-soft);
  font: 600 11px/1.35 var(--room-body);
}

body.rooms-ready .profilePhotoSlot button {
  min-height: 40px;
  border: 1px solid var(--room-line);
  background: #fffaf2;
  cursor: pointer;
}

body.rooms-ready #profileProgress {
  display: grid;
  grid-template-columns: auto minmax(100px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 auto 20px;
  padding: 12px 15px;
  border: 1px solid var(--room-line);
  background: #f8f2e8;
}

body.rooms-ready #profileProgress .profileMeter {
  min-width: 80px;
}

body.rooms-ready #step1 .stephead .steptitle {
  color: var(--room-russet-dark);
  font-family: var(--room-display);
}

body.rooms-ready .roomView .wrap {
  max-width: 100%;
  min-width: 0;
}

body.rooms-ready .roomView .stage {
  min-width: 0;
}

body.rooms-ready .roomView .panel {
  max-width: 100%;
}

body.rooms-ready .realShootChoice input[type="checkbox"] {
  accent-color: var(--room-russet);
}

body.rooms-ready .fittingProduct {
  border-color: #e5d9c9;
  color: var(--room-cocoa-soft);
}

body.rooms-ready .productImage {
  border-radius: 2px;
}

body.rooms-ready .fieldFeedback {
  color: var(--room-russet-dark);
}

body.rooms-ready [aria-invalid="true"] {
  border-color: var(--room-russet) !important;
}

body.rooms-ready .journeySection[hidden],
body.rooms-ready .journeyInline[hidden],
body.rooms-ready .journeyAccount [hidden] {
  display: none !important;
}

/* Integration rules for the actual imported DOM, not a replacement mockup. */
body.rooms-ready [hidden] { display: none !important; }
body:not(.rooms-welcome) #welcomeScreen { display: none !important; }
body:not(.rooms-ready):not(.rooms-unavailable) > .top,
body:not(.rooms-ready):not(.rooms-unavailable) > .wrap { visibility: hidden; }
body:not(.rooms-ready):not(.rooms-unavailable)::after,
body.rooms-waiting::after {
  content: var(--language-preparing, "Preparing your PHOTO SHOOT…");
  position: fixed; inset: 0; display: grid; place-items: center;
  background: #f3eee4; color: #635247; z-index: 100002;
  font: 18px Georgia, serif;
}
body.rooms-welcome #welcomeCard { height: auto !important; min-height: 520px; }
body.rooms-welcome #welcomeClean { z-index: 2; grid-column: 1; grid-row: 1; }
body.rooms-welcome .welcomeVisual { grid-column: 2; grid-row: 1; min-width: 0; position: relative; overflow: hidden; }
body.rooms-welcome .welcomeVisual img {
  position: absolute !important; inset: 0 !important; width: 100% !important;
  height: 100% !important; object-fit: contain; object-position: center; transform: none !important;
}
body.rooms-welcome #welcomeLogo { position: static !important; width: 150px !important; height: auto !important; transform: none !important; }
body.rooms-welcome #welcomeSeat {
  position: static !important; inset: auto !important; width: 100% !important; height: auto !important;
  min-height: 52px; margin: 20px 0 0; padding: 14px 18px !important;
  border-radius: 5px !important; background: var(--room-russet-dark) !important;
  color: #fff8ed !important; font: 700 13px/1.3 var(--room-body) !important;
  letter-spacing: .03em !important; cursor: pointer; text-transform: none;
}
body.rooms-welcome #welcomeSeat::before,
body.rooms-welcome #welcomeSeat::after { display: none; }
body.rooms-ready .roomNotice.visible { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; pointer-events: auto; }
body.rooms-unavailable .wrap { display: none; }
body.rooms-unavailable > .journeyStatus { max-width: 720px; margin: 10vh auto; padding: 32px; }

@media (max-width: 680px) {
}

/* Responsive room map: thumb-ready icon tabs stay visible while the chosen room scrolls */
@media (max-width: 900px) {
  body.rooms-ready #roomShell {
    grid-template-rows: 69px minmax(0, 1fr) 56px;
    padding: 0 19px;
  }

  body.rooms-ready .roomLayout {
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 16px;
  }

  body.rooms-ready .roomTopbar {
    grid-template-columns: minmax(120px, .9fr) minmax(180px, 1.6fr) minmax(220px, 1.4fr);
    gap: 10px;
  }

  body.rooms-ready .roomNavItem {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    padding: 7px;
  }

  body.rooms-ready .roomIcon {
    width: 34px;
    height: 34px;
  }

  body.rooms-ready .foyerRooms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  html:has(body.rooms-ready),
  body.rooms-ready {
    overflow: hidden;
  }

  body.rooms-ready #roomShell {
    grid-template-rows: 62px minmax(0, 1fr) 55px;
    padding: 0 12px;
  }

  body.rooms-ready .roomTopbar {
    grid-template-columns: 44px minmax(0, 1fr) 102px;
    gap: 4px;
  }

  body.rooms-ready .roomBrand {
    width: 43px;
    min-width: 43px;
    padding: 8px;
    overflow: hidden;
    font-size: 0;
  }

  body.rooms-ready .roomBrand::before {
    flex: 0 0 auto;
    margin: 0;
  }

  body.rooms-ready #roomTitle {
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.rooms-ready #roomHint {
    max-width: 170px;
    margin-inline: auto;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.rooms-ready .roomHome {
    position: relative;
    min-width: 46px;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0;
  }

  body.rooms-ready .roomHome::before {
    width: 16px;
    height: 16px;
  }

  body.rooms-ready .roomHome::after {
    position: absolute;
    right: 0;
    width: 13px;
    height: 10px;
    margin-right: 17px;
    border: 1.5px solid currentColor;
    border-top: 0;
    content: "";
    transform: translateY(4px);
  }

  body.rooms-ready .roomUtility {
    gap: 2px;
    width: 102px;
  }

  body.rooms-ready .roomAccount {
    justify-content: center;
    gap: 5px;
    width: 54px;
    min-width: 42px;
    min-height: 42px;
    padding: 6px 5px;
    font-size: 9px;
  }

  body.rooms-ready #roomAccountStatus {
    max-width: 42px;
  }

  body.rooms-ready .roomAccountAction {
    display: none;
  }

  body.rooms-ready .roomLayout {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 0;
    padding: 9px 0 8px;
  }

  body.rooms-ready .roomNav {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(66px, 1fr);
    grid-template-columns: none;
    gap: 5px;
    width: 100%;
    padding: 0 0 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--room-clay) transparent;
    scroll-snap-type: x proximity;
  }

  body.rooms-ready .roomNav::-webkit-scrollbar {
    height: 4px;
  }

  body.rooms-ready .roomNav::-webkit-scrollbar-track {
    background: transparent;
  }

  body.rooms-ready .roomNav::-webkit-scrollbar-thumb {
    border-radius: 9px;
    background: var(--room-clay);
  }

  body.rooms-ready .roomNav::before {
    display: none;
  }

  body.rooms-ready .roomNavItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 66px;
    min-height: 58px;
    padding: 5px 3px;
    border: 1px solid #d9cbb9;
    border-radius: 4px;
    background: rgba(251, 248, 241, .7);
    text-align: center;
    scroll-snap-align: start;
  }

  body.rooms-ready .roomNavItem::before {
    top: auto;
    right: 7px;
    bottom: -1px;
    left: 7px;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  body.rooms-ready .roomNavItem[aria-current="page"]::before {
    transform: scaleX(1);
  }

  body.rooms-ready .roomNavItem[aria-current="page"] {
    background: #e8d9c6;
  }

  body.rooms-ready .roomNavItem:hover {
    transform: translateY(-1px);
  }

  body.rooms-ready .roomIcon {
    width: 26px;
    height: 26px;
  }

  body.rooms-ready .roomIcon svg {
    width: 15px;
    height: 15px;
  }

  body.rooms-ready .roomNavItem > span:last-child {
    width: 100%;
    color: inherit;
    font-size: 8px;
    line-height: 1;
    white-space: nowrap;
  }

  body.rooms-ready .roomViewport {
    flex: 1 1 auto;
    min-height: 0;
    border-radius: 4px;
  }

  body.rooms-ready .roomView {
    padding: 16px 13px 22px;
  }

  body.rooms-ready .roomFooter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "position next" "message next";
    align-content: center;
    column-gap: 8px;
    row-gap: 1px;
    min-height: 0;
  }

  body.rooms-ready #roomPosition {
    grid-area: position;
    max-width: none;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.rooms-ready .roomAccountMessage {
    grid-area: message;
    gap: 4px;
    padding: 1px 4px;
    font-size: 8px;
    line-height: 1.15;
  }

  body.rooms-ready .roomMessageAction {
    min-height: 23px;
    padding: 3px 5px;
    font-size: 8px;
  }

  body.rooms-ready #roomNext {
    grid-area: next;
    min-width: 105px;
    min-height: 42px;
    padding: 9px 13px;
    font-size: 9px;
  }

  body.rooms-ready .foyerHero {
    grid-template-columns: minmax(0, 1fr);
  }

  body.rooms-ready .foyerCopy {
    order: 1;
    padding: 25px 20px 24px;
  }

  body.rooms-ready .foyerImage {
    order: 0;
    min-height: 185px;
    max-height: 30vh;
  }

  body.rooms-ready .foyerImage img {
    min-height: 185px;
    max-height: 30vh;
    object-position: center 44%;
  }

  body.rooms-ready .foyerCopy .eyebrow {
    margin-bottom: 12px;
  }

  body.rooms-ready #homeGreeting {
    font-size: clamp(39px, 11vw, 58px);
  }

  body.rooms-ready #homeIntro {
    margin-top: 12px;
    font-size: 13px;
  }

  body.rooms-ready .journeyActions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
    margin-top: 17px;
  }

  body.rooms-ready .journeyActions button {
    width: 100%;
    min-height: 48px;
  }

  body.rooms-ready .homeProgress {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    margin: 12px 0 21px;
    padding: 12px;
  }

  body.rooms-ready .homeProgress .profileMeter,
  body.rooms-ready #homeProgressText {
    grid-column: 1 / -1;
  }

  body.rooms-ready .homeProgress button {
    grid-column: 2;
    grid-row: 1;
    min-height: 38px;
    padding-inline: 9px;
    font-size: 8px;
  }

  body.rooms-ready .foyerRooms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.rooms-ready .foyerCard {
    min-height: 142px;
    padding: 13px;
  }

  body.rooms-ready .foyerCard h3 {
    font-size: 20px;
  }

  body.rooms-ready .journeySection,
  body.rooms-ready .journeyAccount {
    margin: 0 auto 13px;
    padding: 18px 15px;
  }

  body.rooms-ready .journeyGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.rooms-ready .journeyField input,
  body.rooms-ready .journeyField select,
  body.rooms-ready .journeyField textarea {
    min-height: 46px;
    font-size: 16px;
  }

  body.rooms-ready .journeyAccountHead {
    display: block;
  }

  body.rooms-ready .journeyAccountForm {
    display: block;
  }

  body.rooms-ready .journeyAccountForm .journeyField {
    min-width: 0;
    margin-bottom: 10px;
  }

  body.rooms-ready .journeyAccountForm .journeyPrimary {
    width: 100%;
    min-height: 46px;
  }

  body.rooms-ready #profileProgress {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.rooms-ready #profileProgress .profileMeter {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.rooms-ready .profilePhotoSlots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.rooms-ready .profilePhotoSlot {
    min-height: 155px;
    padding: 8px;
  }

  body.rooms-ready .profilePhotoSlot img {
    height: 95px;
  }

  body.rooms-ready .journeyNav {
    gap: 7px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  body.rooms-ready .journeyNav a,
  body.rooms-ready .journeyNav button {
    flex: 0 0 auto;
  }

  body.rooms-ready .roomNotice {
    right: 12px;
    bottom: 66px;
    left: 12px;
    max-width: none;
  }

  body.rooms-welcome #welcomeScreen {
    align-items: start;
    padding: 14px;
  }

  body.rooms-welcome #welcomeCard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(205px, 32vh) auto;
    width: min(520px, 100%);
    min-height: auto;
    margin: auto 0;
  }

  body.rooms-welcome #welcomeSeat {
    position: relative !important;
    inset: auto !important;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 205px;
  }

  body.rooms-welcome #welcomeSeat::after {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  body.rooms-welcome #welcomeClean {
    grid-row: 2;
    padding: 24px 22px 26px;
  }

  body.rooms-welcome #welcomeClean::before {
    margin-bottom: 14px;
    font-size: 8px;
  }

  body.rooms-welcome #welcomeLogo {
    margin-bottom: 12px;
    font-size: 10px;
  }

  body.rooms-welcome #welcomeQuote {
    margin-bottom: 13px;
    font-size: clamp(40px, 12vw, 55px);
  }

  body.rooms-welcome #welcomeQuote::after {
    margin-top: 14px;
  }

  body.rooms-welcome #welcomeClean p,
  body.rooms-welcome #welcomeClean > div:not(#welcomeQuote):not(#welcomeLogo) {
    font-size: 13px;
    line-height: 1.55;
  }

  body.rooms-welcome #welcomeCard .welcomeDemo,
  body.rooms-welcome #welcomeCard .welcomeSecondary,
  body.rooms-welcome #welcomeCard [data-demo-secondary] {
    display: block;
    margin: 8px auto 0;
    min-height: 40px;
  }
}

@media (max-width: 390px) {
  body.rooms-ready #roomShell {
    padding-inline: 9px;
  }

  body.rooms-ready .roomLayout {
    gap: 7px;
  }

  body.rooms-ready .roomNav {
    grid-template-columns: none;
    grid-auto-columns: minmax(62px, 1fr);
    gap: 4px;
  }

  body.rooms-ready .roomNavItem {
    min-width: 62px;
    min-height: 58px;
  }

  body.rooms-ready .roomNavItem > span:last-child {
    font-size: 8px;
  }

  body.rooms-ready .roomView {
    padding-inline: 11px;
  }

  body.rooms-ready .foyerCard {
    min-height: 135px;
    padding: 11px;
  }
}

@keyframes room-arrive {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes room-view-in {
  from { opacity: .65; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes room-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* The real profile progress panel is a five-child vertical introduction. */
body.rooms-ready #profileProgress {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

body.rooms-ready #profileProgress > .eyebrow,
body.rooms-ready #profileProgress > #profileProgressText,
body.rooms-ready #profileProgress > .profileMeter,
body.rooms-ready #profileProgress > .journeyNote,
body.rooms-ready #profileProgress > button {
  width: 100%;
  min-width: 0;
  max-width: none;
}

body.rooms-ready #profileProgress > .eyebrow {
  display: block;
  color: var(--room-russet-dark);
  font: 700 9px/1.35 var(--room-mono);
  letter-spacing: .12em;
}

body.rooms-ready #profileProgress > #profileProgressText {
  margin: 0;
  color: var(--room-cocoa);
  font: 500 13px/1.55 var(--room-body);
  overflow-wrap: normal;
}

body.rooms-ready #profileProgress > .profileMeter {
  height: 6px;
}

body.rooms-ready #profileProgress > .journeyNote {
  margin: 0;
  color: #756557;
  font: 400 12px/1.55 var(--room-body);
}

body.rooms-ready #profileProgress > button {
  align-self: stretch;
  min-height: 48px;
  margin: 2px 0 0;
}

body.rooms-welcome #welcomeClean { height: auto !important; width: auto !important; }
body.rooms-welcome #welcomeScreen { padding: clamp(14px, 3vw, 32px); }
body.rooms-welcome #welcomeClean { padding: 34px 42px; }
body.rooms-welcome #welcomeClean::before { margin-bottom: 15px; }
body.rooms-welcome #welcomeLogo { width: 60px !important; margin-bottom: 15px; }
body.rooms-welcome #welcomeQuote { font-size: clamp(36px, 4vw, 54px); line-height: 1.04; text-align: left; margin-bottom: 12px; }
body.rooms-welcome #welcomeQuote::after { margin-top: 14px; }
body.rooms-welcome #welcomeClean p { margin: 0; font-size: 14px; line-height: 1.6; }
body.rooms-welcome #welcomeCard::before,
body.rooms-welcome #welcomeCard::after { display: none !important; }
body.rooms-ready .roomBrand { flex-direction: column; align-items: flex-start; gap: 3px; letter-spacing: .06em; padding: 4px 0; }
body.rooms-ready .roomBrand::before,
body.rooms-ready .roomHome::before,
body.rooms-ready .roomHome::after { display: none; }
body.rooms-ready .roomBrand span { font: 600 9px/1.2 var(--room-mono); white-space: nowrap; }
body.rooms-ready .roomBrand strong { font: 600 18px/1.1 var(--room-display); white-space: nowrap; }
body.rooms-ready .roomHome { font-size: 11px; gap: 6px; }
body.rooms-ready .roomHome .roomIcon { width: 23px; height: 23px; border: 0; background: transparent; }
body.rooms-ready .fittingActionbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 680px) {
  body.rooms-ready #roomShell { grid-template-rows: 62px minmax(0, 1fr) auto; }
  body.rooms-ready .roomTopbar { grid-template-columns: 44px minmax(0, 1fr) 178px; gap: 4px; }
  body.rooms-ready .roomBrand { width: 44px; min-width: 44px; flex-direction: row; align-items: center; justify-content: center; padding: 8px; }
  body.rooms-ready .roomBrand::before { display: block; flex: 0 0 21px; margin: 0; }
  body.rooms-ready .roomBrand span,
  body.rooms-ready .roomBrand strong { display: none; }
  body.rooms-ready .roomUtility { width: 178px; gap: 2px; }
  body.rooms-ready .roomAccount {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    width: 132px;
    min-width: 132px;
    min-height: 48px;
    gap: 2px 6px;
    padding: 4px 8px;
    font-size: 14px;
  }
  body.rooms-ready .roomAccountDot { grid-column: 1; grid-row: 1; align-self: center; }
  body.rooms-ready #roomAccountStatus { max-width: 82px; font-size: 14px; }
  body.rooms-ready .roomAccountAction {
    grid-column: 2;
    display: block;
    grid-row: 2;
    justify-self: start;
    padding: 0;
    border: 0;
    font: 600 14px/1.1 var(--room-body);
    letter-spacing: 0;
    text-transform: none;
  }
  body.rooms-ready .roomHome { width: 44px; min-width: 44px; min-height: 44px; padding: 6px 4px; font-size: 0; }
  body.rooms-ready .roomHome > span:not(.roomIcon) { display: none; }
  body.rooms-ready .roomNav {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--room-clay) transparent;
    scroll-snap-type: x proximity;
  }
  body.rooms-ready .roomNav::-webkit-scrollbar { height: 4px; }
  body.rooms-ready .roomNav::-webkit-scrollbar-track { background: transparent; }
  body.rooms-ready .roomNav::-webkit-scrollbar-thumb { border-radius: 9px; background: var(--room-clay); }
  body.rooms-ready .roomNavItem { min-width: 104px; min-height: 68px; padding: 5px 3px; }
  body.rooms-ready .roomNavItem > span:last-child {
    font-size: 14px; line-height: 1.15; white-space: normal;
    overflow: visible; text-overflow: clip;
  }
  body.rooms-ready .roomFooter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "position next" "message message";
    align-content: center;
    column-gap: 8px;
    row-gap: 5px;
    min-height: 55px;
    padding-block: 5px;
  }
  body.rooms-ready #roomPosition { grid-area: position; max-width: none; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  body.rooms-ready .roomAccountMessage { grid-area: message; align-items: flex-start; gap: 8px; padding: 5px 8px; font-size: 14px; line-height: 1.35; }
  body.rooms-ready #roomAccountMessageText { overflow-wrap: anywhere; white-space: normal; }
  body.rooms-ready .roomMessageAction { min-height: 40px; padding: 7px 9px; font-size: 14px; }
  body.rooms-ready #roomNext { grid-area: next; }
  body.rooms-welcome #welcomeCard { min-height: 0; grid-template-rows: 160px auto; }
  body.rooms-welcome .welcomeVisual { grid-column: 1; grid-row: 1; height: 160px; }
  body.rooms-welcome #welcomeClean { grid-column: 1; grid-row: 2; padding: 22px; }
  body.rooms-welcome #welcomeQuote { font-size: clamp(32px, 9vw, 42px); }
  body.rooms-welcome #welcomeSeat {
    position: static !important; width: 100% !important; height: auto !important;
    min-height: 52px; padding: 14px 18px !important; cursor: pointer;
    color: #fff8ed !important; font-size: 13px !important;
  }
  body.rooms-ready .roomNotice { max-width: calc(100vw - 24px); }
  body.rooms-ready #fittingRoom .panel { order: -1; }
  body.rooms-ready #fittingRoom .stage { min-height: 260px; height: 320px; }
  body.rooms-ready #fittingRoom .fittingActionbar { margin: 12px 0; }
}

@media (max-width: 390px) {
  body.rooms-ready #roomTitle { font-size: 19px; }
}

@media (max-width: 380px) {
  body.rooms-ready .roomTopbar { grid-template-columns: 44px minmax(0, 1fr) 132px; gap: 4px; }
  body.rooms-ready .roomUtility { width: 132px; }
  body.rooms-ready .roomAccount { width: 86px; min-width: 86px; justify-content: center; padding-inline: 6px; }
  body.rooms-ready #roomAccountStatus { max-width: 58px; }
}

/* Profile photo uploads: keep the native picker visible, readable, and usable. */
#profileRoom #personalPhotos > details,
#profileRoom #personalPhotos > p,
#profileRoom #personalPhotos > span,
#profileRoom #personalPhotos .journeyPreview,
#profileRoom #personalPhotos .journeyPreview p,
#profileRoom #personalPhotos .journeyPreview span {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

#profileRoom #personalPhotos .journeyField,
#profileRoom #personalPhotos > p,
#profileRoom #personalPhotos > span,
#profileRoom #personalPhotos details summary,
#profileRoom #personalPhotos .journeyNote {
  font-size: 16px;
}

#profileRoom #personalPhotos small,
#profileRoom #personalPhotos .journeyPreview p,
#profileRoom #personalPhotos .journeyPreview span {
  font-size: 14px;
}

#profileRoom #personalPhotos input[type="file"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  font: 16px/1.4 var(--room-body);
}

#profileRoom #personalPhotos input[type="file"]::file-selector-button {
  box-sizing: border-box;
  min-height: 40px;
  margin-right: 10px;
  padding: 8px 12px;
  border: 1px solid var(--room-line);
  border-radius: 3px;
  background: #f8f2e8;
  color: var(--room-cocoa);
  font: 600 16px/1.2 var(--room-body);
  cursor: pointer;
}

#profileRoom #personalPhotos input[type="file"]:focus-visible {
  outline: 3px solid rgba(152, 86, 56, .55);
  outline-offset: 3px;
}

#profileRoom #personalPhotos input[type="file"]::file-selector-button:hover {
  background: #efe3d2;
}

@media (max-width: 680px) {
  #profileRoom #personalPhotos .journeyGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  #profileRoom #personalPhotos input[type="file"] {
    width: 100%;
    min-width: 0;
  }
}