@font-face {
  font-family: "Instrument Sans";
  src: url("ui-assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: #0a0e0c;
  --soft: #111814;
  --raised: #17201b;
  --paper: #f2efe6;
  --white: #fbf9f2;
  --muted: #aeb6ae;
  --red: #dc1e35;
  --focus: #fff0b8;
  --line: rgb(251 249 242 / 15%);
  --line-strong: rgb(251 249 242 / 27%);
  --header-height: 80px;
  --rail-width: 84px;
  --drawer-width: 326px;
  --nav-height: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  color: var(--white);
  background: var(--night);
  font-size: 13px;
  line-height: 1.45;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 13px;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  cursor: pointer;
  line-height: 1.25;
  transition:
    background 160ms,
    border-color 160ms,
    color 160ms;
}
button:hover:not(:disabled) {
  background: rgb(251 249 242 / 9%);
  border-color: rgb(251 249 242 / 42%);
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
button.primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
  font-weight: 600;
}
button.primary:hover:not(:disabled) {
  background: #bd1a2e;
  border-color: #bd1a2e;
}
button.active,
button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--night);
  border-color: var(--paper);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 580;
  letter-spacing: -0.1px;
}
[hidden] {
  display: none !important;
}
.icon-definitions {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-button {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-header {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px 0 21px;
  border-bottom: 1px solid var(--line);
  z-index: 20;
  background: var(--night);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-lockup img {
  width: 42px;
  height: 42px;
}
.brand-lockup h1 {
  font-size: 18px;
  font-weight: 570;
  letter-spacing: -0.45px;
  white-space: nowrap;
}
.brand-lockup h1 span {
  font-weight: 420;
  color: var(--muted);
}
.brand-lockup p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
  letter-spacing: 0.05px;
}
.header-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-left: auto;
  margin-right: 24px;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #bcc8ac;
  border-radius: 50%;
}
.history {
  display: flex;
  flex: none;
  gap: 4px;
}
.history-button {
  min-width: 71px;
  gap: 8px;
  border-color: transparent;
  padding: 10px;
  font-size: 12px;
}
.history-button .icon {
  width: 16px;
  height: 16px;
}
.history-button:disabled {
  opacity: 0.42;
}

.experience {
  height: calc(100dvh - var(--header-height));
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.viewport {
  position: absolute;
  inset: 0 0 0 var(--rail-width);
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--night);
}
#stage {
  position: absolute;
  inset: 0;
  touch-action: none;
}
#stage.dragging-piece {
  cursor: grabbing;
}
#stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}
#stage canvas:focus-visible {
  outline: 3px solid #a48937;
  outline-offset: -4px;
}
.view-bar {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
  z-index: 2;
  transition: left 300ms var(--ease);
}
.view-bar .seg {
  pointer-events: auto;
}
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 7px;
  background: var(--raised);
  border: 1px solid var(--line);
}
.seg button {
  flex: 1;
  border: 0;
  font-size: 12px;
  padding: 8px 12px;
  min-height: 44px;
  white-space: nowrap;
}
.view-bar .seg {
  color: var(--white);
  box-shadow: 0 2px 9px #0a0e0c12;
}
.mode-switch .icon {
  width: 16px;
  height: 16px;
}
.hint {
  position: absolute;
  left: 25px;
  top: 84px;
  max-width: calc(100% - 260px);
  padding: 5px 0;
  color: #515b52;
  font-size: 11px;
  pointer-events: none;
  transition: left 300ms var(--ease);
}
.quality {
  position: absolute;
  right: 24px;
  top: 83px;
  font-size: 10px;
  color: #687368;
  pointer-events: none;
}
.caption {
  position: absolute;
  left: 26px;
  bottom: 28px;
  max-width: min(490px, calc(100% - 200px));
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
  transition: left 300ms var(--ease);
}
.caption-kicker {
  font-size: 9px;
  font-weight: 630;
  letter-spacing: 0.12em;
  color: #677264;
}
.caption strong {
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 550;
  letter-spacing: -0.6px;
  line-height: 1.15;
}
.caption #view-description {
  font-size: 11px;
  color: #677264;
  max-width: 410px;
}
body[data-panel]:not([data-panel=""]) .view-bar,
body[data-panel]:not([data-panel=""]) .hint,
body[data-panel]:not([data-panel=""]) .caption {
  left: calc(var(--drawer-width) + 46px);
}
body[data-panel]:not([data-panel=""]) .caption {
  max-width: calc(100% - var(--drawer-width) - 220px);
}
.tools {
  position: absolute;
  right: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  z-index: 2;
}
.tools button {
  background: var(--raised);
  border-color: #fff2;
  box-shadow: 0 2px 10px #0a0e0c0c;
}
.tools #reset {
  font-size: 11px;
}
.tools #reset .icon {
  width: 16px;
  height: 16px;
}
.zoom-controls {
  display: flex;
}
.zoom-controls button {
  font-size: 22px;
  width: 44px;
  padding: 4px;
}
.zoom-controls button:first-child {
  border-radius: 5px 0 0 5px;
}
.zoom-controls button:last-child {
  border-radius: 0 5px 5px 0;
  margin-left: -1px;
}
.walk-controls {
  display: none;
  position: absolute;
  bottom: 84px;
  right: 26px;
  grid-template-columns: repeat(3, 44px);
  gap: 5px;
  color: var(--white);
  z-index: 2;
}
.walk-controls button {
  padding: 6px;
  font-size: 19px;
  background: var(--raised);
  border-color: #fff2;
}
.walk-controls #forward {
  grid-column: 2;
}
.walk-controls #left {
  grid-column: 1;
}
.walk-controls #back {
  grid-column: 2;
}
.walk-controls #right {
  grid-column: 3;
}
body.inside .walk-controls {
  display: grid;
}

.primary-navigation {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rail-width);
  z-index: 5;
  padding: 17px 8px;
  background: var(--night);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-button {
  position: relative;
  min-height: 76px;
  width: 100%;
  padding: 12px 5px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 540;
}
.nav-button .icon {
  width: 22px;
  height: 22px;
}
.nav-button.active {
  background: var(--raised);
  color: var(--white);
}
.nav-button.active::before {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: -8px;
  width: 3px;
  background: var(--red);
}
.nav-button:hover:not(:disabled) {
  background: var(--raised);
  color: var(--white);
}
.edit-indicator {
  display: none;
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  top: 12px;
  right: 15px;
}
body[data-editing="true"] .edit-indicator {
  display: block;
}
.rail-footer {
  margin-top: auto;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.8;
  color: #758076;
  padding-bottom: 8px;
}
.workspace-panel {
  position: absolute;
  top: 20px;
  left: calc(var(--rail-width) + 16px);
  width: var(--drawer-width);
  max-height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  background: var(--soft);
  border: 1px solid rgb(251 249 242 / 12%);
  border-radius: 9px;
  box-shadow: 0 12px 42px #06140c22;
  overflow: hidden;
  z-index: 6;
}
.sheet-grip {
  display: none;
}
.panel-header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 22px 12px 21px 21px;
  gap: 8px;
}
.panel-header h2 {
  font-size: 20px;
  font-weight: 560;
  letter-spacing: -0.55px;
  line-height: 1.1;
  margin-top: 5px;
}
.panel-header .icon-button {
  align-self: flex-start;
  color: var(--muted);
  margin-top: -6px;
}
.eyebrow {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 550;
  color: var(--muted);
}
.panel-scroll {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #4a564c transparent;
  padding: 0 20px 23px;
  min-height: 0;
}
.panel-intro {
  font-size: 25px;
  line-height: 1.08;
  font-weight: 480;
  letter-spacing: -0.8px;
  margin: 2px 0 23px;
}
.panel-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.feature-link {
  padding: 13px 11px;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  gap: 10px;
  border-color: var(--line);
  background: var(--raised);
  margin-bottom: 25px;
}
.feature-link > .icon {
  width: 17px;
  margin-left: auto;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}
.feature-link strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.feature-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.section-heading,
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 13px;
}
.subtle {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.09em;
  font-weight: 480;
}
.views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.views button {
  justify-content: flex-start;
  text-align: left;
  font-size: 11px;
  line-height: 1.25;
  padding: 11px;
  border-color: var(--line);
  min-height: 49px;
}
.views button.active {
  border-color: var(--paper);
}
.gesture-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 0 0;
  color: var(--muted);
}
.gesture-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.gesture-note p {
  font-size: 11px;
  line-height: 1.55;
}
.panel-section {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 20px;
}
.panel-section > h3 {
  margin-bottom: 12px;
}
.control-note {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 9px;
}
.text-button {
  background: transparent;
  border: 0;
  min-height: 44px;
  color: var(--muted);
  font-size: 11px;
  padding: 8px 0;
  justify-content: flex-start;
}
.text-button:hover:not(:disabled) {
  background: transparent;
  color: var(--white);
}
.wide {
  width: 100%;
}

.suite-options {
  display: grid;
  gap: 12px;
}
.compact-only,
.suite-layout-navigation,
.suite-layout-hint {
  display: none;
}
.tray-segments {
  gap: 4px;
  align-items: center;
}
.tray-segments button {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  font-size: 12px;
  border-color: var(--line);
}
.tray-segments button.active {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
}
.tray-browse-cue {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.divider-link {
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 0;
}
.suite-option {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.preset-card {
  display: grid;
  grid-template-columns: 73px 1fr 12px;
  width: 100%;
  gap: 12px;
  padding: 16px 11px;
  text-align: left;
  border: 0;
  border-radius: 0;
}
.preset-card[aria-pressed="true"] {
  background: #27332a;
  color: var(--white);
  box-shadow: inset 3px 0 var(--red);
}
.suite-card-copy {
  display: block;
  min-width: 0;
}
.suite-card-copy small {
  color: var(--muted);
  display: block;
  font-size: 8px;
  letter-spacing: 0.09em;
}
.suite-card-copy strong {
  display: block;
  font-weight: 570;
  font-size: 16px;
  line-height: 1.2;
  margin: 5px 0;
  letter-spacing: -0.3px;
}
.suite-card-copy > span {
  color: var(--muted);
  display: block;
  font-size: 10px;
  line-height: 1.45;
}
.card-arrow {
  align-self: flex-start;
  color: var(--muted);
  font-size: 16px;
}
.front-variant {
  display: flex;
  width: 100%;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  justify-content: space-between;
  font-size: 10px;
}
.front-variant.active {
  background: #27332a;
  color: var(--white);
  box-shadow: inset 3px 0 var(--red);
}
.suite-view {
  width: 100%;
  border-top: 1px solid var(--line);
  border-radius: 0;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 10px;
}
.suite-sketch {
  position: relative;
  width: 73px;
  height: 79px;
  display: block;
  border: 2px solid #8f9989;
  border-bottom-color: transparent;
  border-radius: 1px;
  background: #222d26;
}
.suite-sketch::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 12px;
  height: 2px;
  width: 25px;
  background: #dce4dc;
}
.suite-sketch i {
  position: absolute;
  width: 20px;
  height: 12px;
  border: 1px solid #c0ac8c;
  background: #8e76574f;
}
.suite-sketch i::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: -8px;
  width: 6px;
  height: 6px;
  border: 1px solid #718374;
  border-radius: 50%;
}
.front-sketch i:nth-child(1) {
  left: 6px;
  top: 8px;
}
.front-sketch i:nth-child(2) {
  right: 6px;
  top: 8px;
}
.front-sketch i:nth-child(3) {
  left: 6px;
  top: 38px;
}
.suite-sketch b {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border: 1px solid #8e9e88;
  border-radius: 50%;
  background: #3f504131;
}
.rear-sketch {
  border-bottom-color: #8f9989;
  border-right-color: transparent;
}
.rear-sketch i:nth-child(1) {
  left: 6px;
  top: 8px;
}
.rear-sketch i:nth-child(2) {
  right: 6px;
  top: 8px;
}
.rear-sketch i:nth-child(3) {
  left: 6px;
  top: 39px;
}
.preset-starts {
  display: grid;
  gap: 8px;
}
.preset-starts button {
  justify-content: flex-start;
  font-size: 11px;
  text-align: left;
  border-color: var(--line);
  padding: 11px;
}
.preset-starts .icon {
  width: 17px;
}
.preset-starts button > span:last-child {
  margin-left: auto;
}

.edit-session {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.edit-session p {
  font-size: 12px;
  margin-top: 5px;
  color: var(--muted);
}
.edit-session button {
  width: 100%;
  margin-top: 13px;
}
body[data-editing="true"] #edit-status {
  color: #dacfac;
}
.selection-tools {
  position: relative;
  border: 1px solid #7d8877;
  background: #1d2a21;
  border-radius: 6px;
  padding: 13px;
  margin-bottom: 21px;
}
.selection-tools strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 550;
  margin: 6px 0 9px;
}
.selection-rotate {
  display: flex;
  align-items: center;
  gap: 5px;
}
.selection-rotate > span {
  font-size: 11px;
  color: var(--muted);
  margin-right: auto;
}
.selection-rotate button {
  min-width: 69px;
  font-size: 12px;
}
.placement-actions {
  display: flex;
  gap: 7px;
  margin-top: 9px;
}
.placement-actions button {
  flex: 1;
}
.placement-actions .primary {
  flex: 1.35;
}
.placement-actions .icon {
  width: 17px;
}
.catalog-heading {
  margin-bottom: 10px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--night);
  border-radius: 5px;
  padding: 0 11px;
  color: var(--muted);
}
.search-field .icon {
  width: 17px;
  height: 17px;
}
.search-field:focus-within {
  border-color: var(--focus);
}
.search-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  height: 44px;
  outline: none;
}
.search-field input::placeholder {
  color: #9aa69c;
}
.catalog-filters {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin: 7px -1px 9px;
  padding: 2px 1px;
}
.catalog-filters::-webkit-scrollbar {
  display: none;
}
.catalog-filters button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 11px;
  flex: none;
  font-size: 10px;
  border-radius: 4px;
  border-color: transparent;
}
.catalog-filters button:not(.active) {
  color: var(--muted);
}
.catalog-cards {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #5b675a var(--soft);
  padding: 2px 2px 10px;
  margin: 0 -2px;
}
.catalog-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 121px;
  min-width: 0;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0;
  text-align: left;
  background: var(--raised);
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-snap-align: start;
}
.catalog-card.active,
.catalog-card[aria-pressed="true"] {
  color: var(--white);
  background: var(--raised);
  border-color: var(--paper);
  box-shadow: 0 0 0 1px var(--paper);
}
.catalog-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 86px;
  background: #e4e1d6;
  color: #526052;
  overflow: hidden;
}
.catalog-art::after {
  content: "+";
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  background: #f9f7f0;
  color: var(--night);
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}
.catalog-card.active .catalog-art::after {
  content: "✓";
  background: var(--red);
  color: white;
  font-size: 11px;
}
.catalog-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-art svg {
  width: 82px;
  height: 65px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catalog-card-label {
  display: block;
  padding: 10px 9px 4px;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.25;
  min-height: 42px;
}
.catalog-card-size {
  color: var(--muted);
  font-size: 9px;
  padding: 0 9px 10px;
}
.catalog-empty {
  width: 100%;
  padding: 24px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.add-piece-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px;
  align-items: end;
  margin-top: 7px;
}
.add-piece-row button {
  height: 44px;
  font-size: 11px;
  justify-content: space-between;
}
.select-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin: 0 0 6px;
}
select,
input[type="number"] {
  min-height: 44px;
  width: 100%;
  min-width: 0;
  background: var(--raised);
  color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 10px;
  font-size: 11px;
}
select {
  padding-right: 25px;
  text-overflow: ellipsis;
}
.feedback {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 16px;
  padding-left: 10px;
  border-left: 2px solid #647660;
}
.feedback.error {
  color: #ffd0ca;
  border-left-color: var(--red);
}
.pieces-section {
  margin-top: 19px;
}
.fine-positioning {
  margin-top: 12px;
  background: #17201b70;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 11px 11px;
}
.fine-positioning:not([open]) {
  padding-bottom: 0;
}
.fine-positioning summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  cursor: pointer;
  font-size: 11px;
  list-style: none;
}
.fine-positioning summary::-webkit-details-marker {
  display: none;
}
.angle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 5px;
}
.angle-row label {
  margin: 0;
}
.angle-row > div {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 90px;
}
.nudge {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  width: fit-content;
  margin: 12px auto;
  gap: 5px;
  align-items: center;
}
.nudge [data-nudge="up"] {
  grid-column: 2;
}
.nudge [data-nudge="left"] {
  grid-column: 1;
}
.nudge [data-nudge="down"] {
  grid-column: 2;
}
.nudge span {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
}
.piece-management {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px;
}
.arrangement-actions {
  display: grid;
  gap: 4px;
}
.arrangement-actions > button {
  width: 100%;
  justify-content: center;
  font-size: 11px;
}

.toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  width: 100%;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.toggle > span:first-child {
  margin-right: auto;
}
.toggle input {
  position: absolute;
  right: 0;
  width: 38px;
  height: 24px;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.toggle .switch {
  position: relative;
  display: block;
  width: 32px;
  height: 18px;
  flex: none;
  border: 1px solid #637064;
  border-radius: 12px;
  background: #2a352d;
  transition: background 160ms;
}
.toggle .switch::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #aeb6ae;
  position: absolute;
  left: 3px;
  top: 3px;
  transition:
    transform 160ms,
    background 160ms;
}
.toggle input:checked + .switch {
  background: var(--paper);
  border-color: var(--paper);
}
.toggle input:checked + .switch::after {
  transform: translateX(14px);
  background: var(--night);
}
.toggle input:focus-visible + .switch {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.toggle input:disabled + .switch {
  opacity: 0.4;
}
.toggle:has(input:disabled) {
  opacity: 0.65;
  cursor: default;
}
.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  gap: 8px;
  margin: 13px 0 3px;
}
.range-label output {
  color: var(--white);
  font-size: 10px;
}
input[type="range"] {
  display: block;
  width: 100%;
  margin: 0;
  height: 44px;
  accent-color: var(--paper);
  cursor: pointer;
}
.range-extents {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  margin-top: -3px;
}
.daylight-control {
  padding: 7px 0 12px;
}
.door-toggle {
  margin-top: 7px;
}
.finish-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.finish-options button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 5px 5px 8px;
  gap: 8px;
  font-size: 10px;
  line-height: 1.3;
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
}
.finish-options button.active {
  background: var(--raised);
  border-color: var(--paper);
  color: var(--white);
}
.finish-swatch {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: 2px;
}
.finish-swatch.mineral {
  background: #c5bbaa;
}
.finish-swatch.olive {
  background: #939782;
}
.finish-swatch.white {
  background: #e5e1d5;
}
.swatch-check {
  display: none;
  position: absolute;
  right: 9px;
  top: 9px;
  width: 16px;
  height: 16px;
  text-align: center;
  font-size: 10px;
  line-height: 16px;
  border-radius: 50%;
  background: var(--night);
  color: var(--white);
}
.finish-options button.active .swatch-check {
  display: block;
}
.export-actions {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}
.export-actions button {
  flex: 1;
  padding: 9px;
  font-size: 11px;
}
.secondary-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 10px;
  margin-top: 16px;
}
.secondary-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 10px;
  text-decoration: none;
}
.secondary-links a:hover {
  color: var(--white);
  text-decoration: underline;
}
.ui-message {
  position: absolute;
  z-index: 9;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(430px, calc(100% - 40px));
  padding: 12px 16px;
  background: var(--night);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 3px 18px #0002;
  font-size: 12px;
  pointer-events: none;
}

.loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 30px;
  color: var(--white);
  background: var(--night);
  z-index: 12;
}
.loading > img {
  margin-bottom: 12px;
}
.loading strong {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 480;
  text-align: center;
}
.loading > span {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  max-width: 360px;
}
.loading-track {
  width: 130px;
  height: 2px;
  overflow: hidden;
  background: var(--raised);
  margin-top: 12px;
}
.loading-track span {
  display: block;
  width: 45%;
  height: 100%;
  background: var(--red);
  animation: loading 1.4s var(--ease) infinite;
}
@keyframes loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(320%);
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  :root {
    --drawer-width: 302px;
    --rail-width: 74px;
  }
  .app-header {
    padding-left: 17px;
    padding-right: 16px;
  }
  .header-note {
    display: none;
  }
  .panel-scroll {
    padding-left: 17px;
    padding-right: 17px;
  }
  .panel-header {
    padding-left: 17px;
  }
  .view-bar {
    flex-wrap: wrap;
    gap: 7px;
  }
  .seg button {
    padding: 8px 10px;
    font-size: 11px;
  }
  .view-bar .icon {
    display: none;
  }
  .hint {
    display: none;
  }
  .quality {
    top: auto;
    bottom: 87px;
  }
  .caption #view-description {
    display: none;
  }
  .preset-card {
    grid-template-columns: 63px 1fr 10px;
    gap: 9px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .suite-sketch {
    width: 63px;
  }
  .suite-card-copy strong {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  :root {
    --header-height: 66px;
    --rail-width: 0px;
    --nav-height: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .app-header {
    padding: 0 11px 0 14px;
    gap: 8px;
  }
  .brand-lockup {
    gap: 9px;
  }
  .brand-lockup img {
    width: 32px;
    height: 32px;
  }
  .brand-lockup h1 {
    font-size: 14px;
    letter-spacing: -0.3px;
    line-height: 1.18;
  }
  .brand-lockup h1 span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin-top: 3px;
  }
  .brand-lockup p,
  .header-note {
    display: none;
  }
  .history {
    gap: 0;
    margin-left: auto;
  }
  .history-button {
    min-width: 48px;
    padding: 6px 8px;
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
  }
  .history-button .icon {
    width: 15px;
    height: 15px;
  }
  .viewport {
    left: 0;
    bottom: var(--nav-height);
  }
  .view-bar,
  body[data-panel]:not([data-panel=""]) .view-bar {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 7px;
    flex-wrap: nowrap;
  }
  .view-bar .seg {
    flex: 1;
    padding: 3px;
    gap: 1px;
    border-radius: 6px;
  }
  .view-bar .seg button {
    min-height: 44px;
    min-width: 0;
    padding: 8px 7px;
    font-size: 10px;
    border-radius: 4px;
  }
  .mode-switch .icon {
    width: 13px;
    height: 13px;
  }
  .mode-switch button {
    gap: 5px;
  }
  .hint,
  body[data-panel]:not([data-panel=""]) .hint {
    top: 72px;
    left: 15px;
    right: 15px;
    max-width: none;
    font-size: 9px;
    line-height: 1.4;
  }
  .quality {
    display: none;
  }
  .caption,
  body[data-panel]:not([data-panel=""]) .caption {
    left: 17px;
    bottom: 23px;
    max-width: calc(100% - 139px);
    gap: 6px;
  }
  .caption-kicker {
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .caption strong {
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  .caption #view-description {
    display: none;
  }
  .tools {
    right: 12px;
    bottom: 19px;
    flex-direction: column;
    gap: 6px;
  }
  .tools #reset {
    min-width: 88px;
    font-size: 10px;
  }
  .tools .zoom-controls button {
    min-height: 44px;
  }
  .walk-controls {
    bottom: 129px;
    right: 12px;
    gap: 4px;
    grid-template-columns: repeat(3, 44px);
  }
  .primary-navigation {
    inset: auto 0 0;
    width: 100%;
    height: var(--nav-height);
    flex-direction: row;
    gap: 4px;
    padding: 4px 8px calc(env(safe-area-inset-bottom, 0px) + 4px);
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .nav-button {
    min-width: 0;
    flex: 1;
    min-height: 58px;
    padding: 8px 4px;
    gap: 5px;
    font-size: 9px;
    border-radius: 4px;
  }
  .nav-button .icon {
    width: 20px;
    height: 20px;
  }
  .nav-button.active::before {
    top: -5px;
    bottom: auto;
    left: calc(50% - 13px);
    width: 26px;
    height: 2px;
  }
  .edit-indicator {
    top: 8px;
    right: calc(50% - 19px);
  }
  .rail-footer {
    display: none;
  }
  .workspace-panel {
    top: auto;
    bottom: calc(var(--nav-height) + 10px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(43dvh, 410px);
    border-radius: 12px;
    box-shadow: 0 -7px 24px #07100b28;
  }
  .sheet-grip {
    display: block;
    flex: none;
    margin: 8px auto 0;
    width: 29px;
    height: 3px;
    border-radius: 3px;
    background: #69766b;
  }
  .panel-header {
    padding: 10px 9px 11px 17px;
  }
  .panel-header h2 {
    font-size: 18px;
    margin-top: 3px;
  }
  .panel-header .eyebrow {
    font-size: 8px;
  }
  .panel-header .icon-button {
    margin-top: -5px;
  }
  .panel-scroll {
    padding: 0 16px 18px;
  }
  .panel-intro {
    display: none;
  }
  .feature-link {
    margin-bottom: 18px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .views {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .panel-description {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .panel-section {
    margin-top: 18px;
    padding-top: 17px;
  }
  .suite-options {
    gap: 10px;
  }
  .preset-card {
    grid-template-columns: 63px 1fr 16px;
    padding: 12px;
    gap: 14px;
  }
  .suite-sketch {
    height: 69px;
    width: 63px;
  }
  .suite-card-copy strong {
    font-size: 17px;
  }
  .suite-card-copy small {
    font-size: 8px;
  }
  .suite-card-copy > span {
    font-size: 11px;
  }
  .suite-view {
    min-height: 44px;
  }
  .edit-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }
  .edit-session p {
    font-size: 10px;
    max-width: 180px;
  }
  .edit-session button {
    flex: none;
    width: auto;
    margin: 0;
    padding: 10px;
    font-size: 11px;
  }
  .selection-tools {
    padding: 11px;
    margin-bottom: 17px;
  }
  .selection-tools > .control-note {
    display: none;
  }
  .selection-tools strong {
    font-size: 14px;
  }
  .selection-rotate {
    position: absolute;
    right: 11px;
    top: 26px;
    margin-top: 0;
  }
  .selection-tools:has(.selection-rotate) strong {
    padding-right: 133px;
    min-height: 29px;
    font-size: 12px;
  }
  .selection-rotate > span {
    display: none;
  }
  .selection-rotate button {
    min-width: 57px;
    padding: 8px;
    font-size: 11px;
  }
  .catalog-card {
    flex-basis: 120px;
  }
  .catalog-art {
    height: 77px;
  }
  .catalog-card-label {
    min-height: 37px;
    padding-top: 8px;
  }
  .catalog-filters {
    margin-top: 3px;
    margin-bottom: 6px;
  }
  .catalog-filters button {
    font-size: 10px;
  }
  .search-field,
  .search-field input {
    min-height: 44px;
    height: 44px;
  }
  .finish-swatch {
    height: 40px;
  }
  .finish-options button {
    font-size: 11px;
  }
  .daylight-control {
    padding-top: 0;
  }
  .ui-message {
    bottom: calc(var(--nav-height) + 20px);
    font-size: 11px;
    max-width: calc(100% - 32px);
  }
  body[data-panel]:not([data-panel=""]) .caption,
  body[data-panel]:not([data-panel=""]) .hint {
    display: none;
  }
  body[data-panel]:not([data-panel=""]) .tools {
    bottom: auto;
    top: 75px;
    flex-direction: row;
    gap: 5px;
  }
  body[data-panel]:not([data-panel=""]) .tools #reset {
    min-width: 73px;
    width: auto;
    font-size: 10px;
    padding: 9px;
  }
  body[data-panel]:not([data-panel=""]) .tools #reset .icon {
    width: 17px;
    height: 17px;
  }
  body[data-panel]:not([data-panel=""]) .walk-controls {
    bottom: auto;
    top: 130px;
  }
  body[data-panel]:not([data-panel=""]) .ui-message {
    bottom: calc(var(--nav-height) + min(43dvh, 410px) + 20px);
  }
  .loading strong {
    font-size: 23px;
  }
}
@media (max-width: 370px) {
  .mode-switch .icon {
    display: none;
  }
  .view-bar .seg button {
    padding-left: 5px;
    padding-right: 5px;
  }
  .brand-lockup img {
    width: 29px;
    height: 29px;
  }
  .brand-lockup h1 {
    font-size: 13px;
  }
  .history-button {
    min-width: 44px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .catalog-filters button {
    padding-left: 9px;
    padding-right: 9px;
  }
  .edit-session .eyebrow {
    font-size: 8px;
  }
  .edit-session button {
    font-size: 10px;
  }
  .selection-tools:has(.selection-rotate) strong {
    padding-right: 0;
  }
  .selection-rotate {
    position: static;
    margin-top: 0;
    justify-content: flex-end;
  }
  .selection-rotate > span {
    display: block;
  }
}
@media (max-height: 570px) and (max-width: 760px) {
  :root {
    --header-height: 56px;
    --nav-height: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  .nav-button {
    min-height: 48px;
    gap: 2px;
    padding: 6px;
  }
  .nav-button .icon {
    width: 17px;
    height: 17px;
  }
  .workspace-panel {
    max-height: calc(100% - var(--nav-height) - 76px);
    left: 10px;
    width: min(340px, 51vw);
    right: auto;
  }
  .view-bar .seg {
    flex: none;
  }
  .view-bar .mode-switch {
    margin-right: auto;
  }
  .view-bar .seg button {
    min-width: 60px;
  }
  .walk-controls {
    bottom: 77px;
  }
  .panel-header {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .panel-header .eyebrow {
    display: none;
  }
  .tools {
    flex-direction: row;
    bottom: 12px;
  }
  body[data-panel]:not([data-panel=""]) .tools {
    top: auto;
    bottom: 12px;
  }
  body[data-panel]:not([data-panel=""]) .walk-controls {
    top: auto;
    bottom: 67px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .loading-track span {
    width: 100%;
  }
}
body.capture .app-header,
body.capture .primary-navigation,
body.capture .workspace-panel,
body.capture .caption,
body.capture .tools,
body.capture .hint,
body.capture .walk-controls,
body.capture .quality,
body.capture .view-bar,
body.capture .ui-message,
body.capture .loading {
  display: none !important;
}
body.capture .experience {
  height: 100vh;
}
body.capture .viewport {
  inset: 0;
}

/* The model keeps its own clear viewing area beside the desktop tool drawer. */
@media (min-width: 761px) {
  body[data-panel]:not([data-panel=""]) #stage {
    left: calc(var(--drawer-width) + 42px);
  }
}
body.inside .caption {
  padding: 12px 16px;
  background: rgba(10, 14, 12, 0.84);
  border: 1px solid rgba(251, 249, 242, 0.16);
  border-radius: 6px;
  color: var(--white);
}
body.inside .caption-kicker,
body.inside .caption #view-description {
  color: #c2cac1;
}
body.inside .hint {
  background: rgba(10, 14, 12, 0.74);
  color: #edece5;
  padding: 7px 9px;
  border-radius: 4px;
}
body.inside .quality {
  color: #edece5;
  background: rgba(10, 14, 12, 0.74);
  padding: 5px 7px;
  border-radius: 4px;
}
body.capture #stage {
  left: 0 !important;
}
@media (max-width: 760px) {
  body[data-panel]:not([data-panel=""]) #stage {
    bottom: calc(var(--sheet-height, 43dvh) + 20px);
  }
  body[data-panel="furnish"] .walk-controls {
    display: none;
  }
}

/* HomeBase: room-first browsing and an editing dock that cannot scroll away. */
html {
  -webkit-text-size-adjust: 100%;
}
button,
summary,
.toggle,
.nav-button {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.walk-controls,
.walk-controls button,
.tools,
.tools button,
.edit-dock button,
.nudge button,
#stage,
#stage canvas {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
.panel-scroll {
  touch-action: pan-y pinch-zoom;
  scroll-padding-top: 12px;
  scrollbar-gutter: stable;
}
.brand-lockup h1 span {
  font-size: 12px;
  margin-left: 5px;
  letter-spacing: 0;
}
.brand-lockup p {
  letter-spacing: 0.05em;
  font-size: 10px;
}
.tour-link {
  background: var(--paper);
  color: var(--night);
  border-color: var(--paper);
  margin-bottom: 9px;
}
.tour-link small {
  color: #516056;
}
.tour-link .feature-icon {
  border-color: #243a3133;
}
.tour-link:hover:not(:disabled) {
  background: #e6e4da;
  border-color: #e6e4da;
}
.suite-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 1px 0 22px;
}
.suite-picker button {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 68px;
  padding: 11px 4px;
  background: var(--raised);
  border-color: var(--line);
}
.suite-picker small {
  font-size: 8px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.suite-picker strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.8px;
  font-weight: 500;
}
.suite-picker button.active {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
}
.suite-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 13px;
}
.suite-heading h3 {
  font-size: 21px;
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.suite-heading .text-button {
  font-size: 11px;
  white-space: nowrap;
}
.layout-card {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 0 14px;
  align-items: stretch;
  width: 100%;
  padding: 16px 13px 0;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: left;
}
.layout-card.active {
  background: #223129;
  border-color: #a6b6a7;
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--red);
}
.layout-art {
  display: block;
  position: relative;
  align-self: center;
  width: 75px;
  min-height: 74px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  background: #101b15;
}
.layout-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-diagram {
  position: absolute;
  inset: 9px 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 6px;
  padding: 7px 5px 15px;
  border: 1px solid #b3c1ae9c;
  border-bottom-color: transparent;
}
.layout-diagram i {
  height: 7px;
  border: 1px solid #c2aa84;
  background: #806b4e57;
}
.layout-diagram-lounge {
  position: absolute;
  height: 7px;
  width: 20px;
  border: 1px solid #a1b5a2;
  border-radius: 2px;
  right: 4px;
  bottom: 4px;
}
.layout-copy {
  display: block;
  align-self: center;
  min-width: 0;
}
.layout-copy small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.layout-copy strong {
  display: block;
  margin: 5px 0 6px;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.45px;
}
.layout-copy > span {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.layout-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  margin-top: 14px;
  font-size: 10px;
  color: var(--muted);
}
.layout-footer > span:last-child {
  color: var(--white);
}
.library-filters {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr);
  gap: 5px;
}
.library-filters button {
  font-size: 10px;
  line-height: 1.25;
  min-height: 46px;
  padding: 7px 6px;
  border-color: var(--line);
  text-align: center;
}
.library-description {
  margin: 9px 0 14px;
}
.catalog-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  overflow: visible;
  margin: 7px 0 10px;
  padding: 0;
}
.catalog-filters button {
  min-width: 0;
  min-height: 36px;
  padding: 7px 8px;
  font-size: 10px;
}
.catalog-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
  align-content: start;
  gap: 10px;
  height: 360px;
  min-height: 170px;
  max-height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
  scrollbar-gutter: stable;
  scroll-snap-type: none;
  padding: 3px 5px 8px 1px;
  margin: 0;
}
.catalog-card {
  min-width: 0;
  min-height: 170px;
}
.catalog-card-collection {
  display: block;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  color: #bdc6bc;
  font-size: 8px;
  line-height: 1.25;
  margin-top: auto;
}
.catalog-card-label {
  min-height: 39px;
  font-size: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.catalog-card-size {
  padding-bottom: 9px;
  font-size: 10px;
}
.catalog-empty {
  grid-column: 1 / -1;
}
.catalog-pickbar {
  position: sticky;
  top: auto;
  bottom: 0;
  z-index: 4;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 9px 0 10px;
  margin-bottom: 0;
  box-shadow: 0 -5px 12px #0002;
}
.catalog-pickbar .add-piece-row {
  margin-top: 0;
}
.catalog-pickbar .control-note {
  margin-top: 7px;
  min-height: 16px;
  font-size: 10px;
}
.catalog-pickbar .select-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.edit-dock {
  position: absolute;
  z-index: 8;
  left: calc(var(--rail-width) + 22px);
  right: 22px;
  bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 14px;
  border: 1px solid #6a796d;
  border-radius: 10px;
  color: var(--white);
  background: #101b16;
  box-shadow: 0 8px 32px #0005;
}
body[data-panel]:not([data-panel=""]) .edit-dock {
  left: calc(var(--rail-width) + var(--drawer-width) + 42px);
}
.edit-dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.edit-dock-heading {
  min-width: 0;
}
.edit-dock .eyebrow {
  font-size: 8px;
  color: #bfccb9;
  line-height: 1.25;
}
.edit-dock-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}
.edit-dock-session-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.edit-dock-session-actions button {
  min-height: 44px;
  font-size: 11px;
  padding: 8px 11px;
  gap: 6px;
}
.edit-dock-session-actions .icon {
  width: 16px;
  height: 16px;
}
.edit-dock-session-actions .done-editing {
  color: var(--night);
  background: var(--paper);
  border-color: var(--paper);
  font-weight: 600;
}
.edit-dock .selection-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 9px;
  padding: 11px 0 0;
  margin: 11px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.edit-dock .selection-tools strong {
  display: block;
  margin: 5px 0 0;
  padding: 0;
  min-height: 0;
  line-height: 1.2;
  font-size: 13px;
}
.edit-dock .selection-rotate {
  position: static;
  margin: 0;
  gap: 4px;
}
.edit-dock .selection-rotate button {
  min-width: 49px;
  min-height: 44px;
  padding: 8px;
  font-size: 13px;
  gap: 3px;
}
.edit-dock .selection-rotate button span {
  font-size: 10px;
}
.edit-dock .placement-actions {
  display: none;
}
.edit-dock .placement-actions button {
  font-size: 11px;
  min-height: 44px;
  padding: 8px 11px;
  flex: none;
  white-space: nowrap;
}
.edit-dock .remove-piece {
  min-height: 44px;
  padding: 8px 11px;
  font-size: 11px;
  color: #ffc4c8;
  border-color: #df7d8580;
  background: #621e2b33;
}
.edit-dock .remove-piece:hover:not(:disabled) {
  color: #fff;
  border-color: #ffabb4;
  background: #86243866;
}
body[data-editing="true"] .caption,
body[data-editing="true"] .walk-controls,
body[data-editing="true"] .tools {
  display: none;
}
body[data-editing="true"] #stage {
  bottom: calc(var(--edit-dock-height, 80px) + 34px);
}
body[data-editing="true"] .ui-message {
  bottom: calc(var(--edit-dock-height, 80px) + 48px);
}
.presentation-button {
  margin-top: 9px;
  font-size: 12px;
}
#homebase-value h3 {
  margin-bottom: 9px;
}
#homebase-value p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
#homebase-story:empty,
#homebase-value:empty {
  display: none;
}
.tour-bar {
  position: absolute;
  z-index: 9;
  left: calc(var(--rail-width) + 24px);
  right: 24px;
  bottom: 24px;
  margin: 0 auto;
  max-width: 680px;
  padding: 15px 18px;
  color: var(--white);
  background: #101813f5;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  box-shadow: 0 8px 35px #0004;
}
.tour-bar p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.tour-bar button {
  min-height: 44px;
  font-size: 12px;
}
.presentation-exit {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 10;
  min-height: 44px;
  color: var(--white);
  background: #101813ed;
  font-size: 12px;
}
.presentation-exit .icon {
  width: 16px;
  height: 16px;
}
body.presentation .app-header,
body.presentation .primary-navigation,
body.presentation .workspace-panel,
body.presentation .view-bar,
body.presentation .caption,
body.presentation .hint,
body.presentation .quality,
body.presentation .tools,
body.presentation .walk-controls,
body.presentation .edit-dock {
  display: none !important;
}
body.presentation .experience {
  height: 100dvh;
}
body.presentation .viewport,
body.presentation #stage {
  inset: 0 !important;
}
body.presentation .tour-bar {
  left: 24px;
}
body.capture .edit-dock,
body.capture .tour-bar,
body.capture .presentation-exit {
  display: none !important;
}
body.capture #stage {
  bottom: 0 !important;
}
@media (min-width: 761px) and (max-width: 1180px) {
  .edit-dock .selection-tools {
    grid-template-columns: minmax(90px, 1fr) auto auto;
  }
  .edit-dock .placement-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .edit-dock-header {
    gap: 8px;
  }
  .edit-dock-session-actions .icon {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --nav-height: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .brand-lockup h1 {
    font-size: 17px;
  }
  .brand-lockup h1 span {
    margin: 3px 0 0;
    font-size: 9px;
    letter-spacing: 0;
  }
  input[type="search"],
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  textarea,
  select,
  .search-field input {
    font-size: 16px;
  }
  .primary-navigation {
    gap: 0;
    padding-left: 4px;
    padding-right: 4px;
  }
  .nav-button {
    font-size: 9px;
    padding-left: 2px;
    padding-right: 2px;
    line-height: 1.2;
    gap: 5px;
  }
  #nav-homebase span {
    white-space: nowrap;
    font-size: 8px;
  }
  .panel-scroll {
    scrollbar-gutter: auto;
  }
  .catalog-filters button {
    min-height: 44px;
  }
  .catalog-art {
    height: 99px;
  }
  .catalog-pickbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .catalog-pickbar .add-piece-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .catalog-pickbar .control-note {
    font-size: 10px;
  }
  .catalog-card-label {
    min-height: 36px;
  }
  .suite-picker {
    margin-bottom: 16px;
  }
  .suite-picker button {
    min-height: 60px;
  }
  .suite-heading h3 {
    font-size: 21px;
  }
  .edit-dock,
  body[data-panel]:not([data-panel=""]) .edit-dock {
    left: 10px;
    right: 10px;
    bottom: calc(var(--nav-height) + 9px);
    max-width: none;
    padding: 10px 11px;
    border-radius: 10px;
  }
  .edit-dock-header {
    gap: 8px;
  }
  .edit-dock-heading .eyebrow {
    font-size: 8px;
  }
  .edit-dock-heading p {
    font-size: 10px;
    max-width: 200px;
  }
  .edit-dock-session-actions {
    gap: 4px;
  }
  .edit-dock-session-actions button {
    font-size: 11px;
    min-width: 54px;
    padding: 7px 9px;
  }
  .edit-dock-session-actions .icon {
    display: none;
  }
  .edit-dock .selection-tools {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 9px;
    margin-top: 9px;
  }
  .edit-dock .selection-tools strong {
    padding: 0;
    min-height: 0;
    font-size: 13px;
    margin-top: 4px;
  }
  .edit-dock .selection-rotate {
    grid-column: 2;
    grid-row: 1;
  }
  .edit-dock .remove-piece {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    max-width: 140px;
    min-width: 88px;
    font-size: 11px;
    padding: 8px 10px;
  }
  .edit-dock .placement-actions {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
  }
  .edit-dock .placement-actions button {
    padding: 8px 10px;
  }
  .edit-dock .placement-actions .icon {
    display: none;
  }
  body[data-editing="true"] .workspace-panel {
    bottom: calc(var(--nav-height) + var(--edit-dock-height, 82px) + 19px);
    max-height: min(37dvh, 320px);
  }
  body[data-editing="true"] #stage {
    bottom: calc(var(--edit-dock-height, 82px) + 21px);
  }
  body[data-editing="true"][data-panel]:not([data-panel=""]) #stage {
    bottom: calc(
      var(--edit-dock-height, 82px) + var(--sheet-height, 37dvh) + 31px
    );
  }
  body[data-editing="true"] .ui-message {
    bottom: calc(var(--nav-height) + var(--edit-dock-height, 82px) + 27px);
  }
  body[data-editing="true"][data-panel]:not([data-panel=""]) .ui-message {
    bottom: calc(
      var(--nav-height) + var(--edit-dock-height, 82px) +
        var(--sheet-height, 37dvh) + 35px
    );
  }
  .tour-bar,
  body.presentation .tour-bar {
    left: 10px;
    right: 10px;
    bottom: calc(var(--nav-height) + 12px);
    padding: 13px 14px;
  }
  body.presentation .tour-bar {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  }
  .presentation-exit {
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 12px;
  }
}
@media (max-width: 370px) {
  .edit-dock-heading p {
    font-size: 9px;
  }
  .edit-dock .placement-actions button {
    font-size: 10px;
    padding: 8px;
  }
  .edit-dock .remove-piece {
    font-size: 10px;
    padding: 8px;
  }
  .edit-dock-session-actions button {
    min-width: 49px;
    padding: 7px;
    font-size: 10px;
  }
}
@media (max-width: 760px) and (max-height: 570px) {
  :root {
    --nav-height: calc(58px + env(safe-area-inset-bottom, 0px));
  }
  .edit-dock {
    padding: 8px 12px;
  }
  .edit-dock-heading p {
    max-width: none;
  }
  .edit-dock .selection-tools {
    grid-template-columns: minmax(100px, 1fr) auto auto auto;
    padding-top: 7px;
    margin-top: 7px;
  }
  .edit-dock .selection-rotate,
  .edit-dock .remove-piece,
  .edit-dock .placement-actions {
    grid-column: auto;
    grid-row: auto;
  }
  body[data-panel]:not([data-panel=""]) #stage {
    left: min(360px, calc(51vw + 20px));
    bottom: 0;
  }
  body[data-editing="true"][data-panel]:not([data-panel=""]) #stage {
    bottom: calc(var(--edit-dock-height, 130px) + 21px);
  }
  body[data-editing="true"] .workspace-panel {
    max-height: calc(
      100% - var(--nav-height) - var(--edit-dock-height, 130px) - 40px
    );
  }
}

/* V9: a tour-led welcome, a bounded library, and room to browse on a phone. */
.explore-section {
  margin-top: 25px;
}
.explore-section .section-heading {
  margin-bottom: 10px;
}
.explore-suites {
  display: grid;
  gap: 6px;
}
.explore-suites button {
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) 16px;
  gap: 10px;
  width: 100%;
  min-height: 66px;
  padding: 11px 12px;
  background: var(--raised);
  border-color: var(--line);
  text-align: left;
}
.explore-suite-number {
  color: #ced5c7;
  font-size: 23px;
  font-weight: 450;
  letter-spacing: -0.7px;
}
.explore-suites strong,
.shared-spaces strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
}
.explore-suites small,
.shared-spaces small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  margin-top: 3px;
}
.explore-arrow {
  align-self: start;
  color: #ced5c7;
}
.shared-spaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.shared-spaces button {
  display: block;
  position: relative;
  min-width: 0;
  min-height: 97px;
  padding: 13px 11px 24px;
  border-color: var(--line);
  text-align: left;
}
.shared-spaces button > span {
  position: absolute;
  bottom: 9px;
  right: 11px;
  color: #ced5c7;
}
.look-direction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--night);
}
.look-direction button {
  min-width: 0;
  min-height: 49px;
  padding: 8px;
  border: 0;
  font-size: 11px;
  line-height: 1.4;
}
.view-options,
.furnish-options {
  margin-top: 20px;
  padding-top: 0;
  border-top: 1px solid var(--line);
}
.view-options > summary,
.furnish-options > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  list-style: none;
  color: #c8d0c6;
  font-size: 12px;
  cursor: pointer;
}
.view-options > summary::-webkit-details-marker,
.furnish-options > summary::-webkit-details-marker {
  display: none;
}
.view-options[open] > summary > span:last-child,
.furnish-options[open] > summary > span:last-child {
  transform: rotate(45deg);
}
.view-options-content > .wide {
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
}
.view-options .views {
  margin-top: 15px;
}
.navigation-feel-controls {
  display: none;
  position: absolute;
  z-index: 3;
  top: 123px;
  left: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
body.inside .navigation-feel-controls {
  display: flex;
}
body[data-panel]:not([data-panel=""]) .navigation-feel-controls {
  left: calc(var(--drawer-width) + 46px);
}
.navigation-feel-controls button {
  min-height: 44px;
  padding: 8px 11px;
  color: var(--white);
  background: #101813e8;
  border-color: #f2efe63b;
  box-shadow: 0 2px 8px #0001;
  font-size: 11px;
  line-height: 1.4;
}
.navigation-feel-controls #navigation-feel-button[aria-pressed="true"] {
  color: var(--white);
  background: #101813e8;
  border-color: #b7c5b9;
}
.navigation-feel-controls .navigation-help {
  display: block;
  max-width: 290px;
  text-align: left;
  color: #d4dcd0;
  font-size: 10px;
}
.navigation-help strong {
  margin-left: 3px;
  color: var(--white);
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-workspace {
  min-width: 0;
  isolation: isolate;
}
.edit-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.edit-session button {
  flex: none;
  width: auto;
  margin-top: 0;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 11px;
}
.edit-session p {
  font-size: 11px;
}
.catalog-toolbar {
  background: var(--soft);
}
.catalog-filters {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
}
.catalog-filters button {
  padding-left: 3px;
  padding-right: 3px;
}
.catalog-art {
  flex: none;
  height: 86px;
}
.catalog-cards:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
@media (min-width: 761px) {
  .catalog-cards {
    height: clamp(170px, calc(100dvh - 620px), 360px);
  }
}
.scroll-cue {
  padding: 5px 0 7px;
  color: #bac5b8;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
.panel-scroll-hint {
  display: none;
}
.furnish-options-content {
  padding-bottom: 8px;
}
#quick-apply,
#quick-cancel {
  display: none !important;
}
.edit-dock .selection-tools strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.capture .navigation-feel-controls,
body.presentation .navigation-feel-controls,
body.arrival-active .navigation-feel-controls,
body[data-editing="true"] .navigation-feel-controls {
  display: none !important;
}

@media (max-width: 760px) {
  .workspace-panel,
  body[data-editing="true"] .workspace-panel {
    position: fixed;
    z-index: 30;
    top: auto;
    left: 8px;
    right: 8px;
    bottom: calc(var(--nav-height) + 8px);
    width: auto;
    height: 70dvh;
    max-height: calc(
      100dvh - var(--nav-height) - env(safe-area-inset-top, 0px) - 16px
    );
    border-radius: 16px 16px 10px 10px;
    box-shadow: 0 -12px 45px #06110b55;
  }
  .workspace-panel[data-sheet="expanded"],
  body[data-editing="true"] .workspace-panel[data-sheet="expanded"] {
    height: 85dvh;
  }
  body[data-editing="true"] .workspace-panel {
    bottom: calc(var(--nav-height) + var(--edit-dock-height, 118px) + 16px);
    max-height: calc(
      100dvh - var(--nav-height) - var(--edit-dock-height, 118px) -
        env(safe-area-inset-top, 0px) - 24px
    );
  }
  .sheet-grip {
    display: flex;
    position: relative;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 4px 17px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #aebbab;
    font-size: 10px;
  }
  .sheet-handle {
    position: absolute;
    top: 16px;
    left: calc(50% - 19px);
    width: 38px;
    height: 4px;
    border-radius: 3px;
    background: #758474;
  }
  .sheet-grip:hover:not(:disabled) {
    background: #ffffff05;
  }
  .panel-header {
    padding: 2px 9px 13px 16px;
    min-height: 55px;
  }
  .panel-header .icon-button {
    margin-top: -4px;
  }
  .panel-scroll {
    flex: 1;
    padding-bottom: 10px;
    scrollbar-gutter: stable;
  }
  .panel-scroll-hint {
    display: block;
    flex: none;
    height: 23px;
    padding: 2px 15px 7px;
    color: #adbaa9;
    background: var(--soft);
    text-align: center;
    font-size: 10px;
    line-height: 14px;
  }
  .panel-intro {
    display: block;
    font-size: 23px;
    margin-bottom: 18px;
  }
  .explore-section {
    margin-top: 21px;
  }
  .tour-link {
    min-height: 70px;
    margin-bottom: 0;
  }
  .tour-link strong {
    font-size: 15px;
  }
  .tour-link small {
    font-size: 11px;
  }
  .explore-suites button {
    min-height: 67px;
  }
  .explore-suites strong,
  .shared-spaces strong {
    font-size: 13px;
  }
  .explore-suites small,
  .shared-spaces small {
    font-size: 11px;
  }
  .look-direction button {
    font-size: 12px;
  }
  .edit-session {
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 11px;
  }
  .edit-session .eyebrow {
    display: none;
  }
  .edit-session p {
    margin: 0;
    font-size: 11px;
    max-width: 210px;
  }
  .catalog-heading {
    margin-bottom: 7px;
  }
  .library-description {
    display: none;
  }
  .library-filters {
    margin-bottom: 7px;
  }
  .library-filters button {
    min-height: 44px;
  }
  .catalog-filters {
    gap: 2px;
    margin: 3px 0 7px;
  }
  .catalog-cards {
    height: 174px;
    min-height: 174px;
    max-height: 360px;
    grid-auto-rows: minmax(164px, auto);
    gap: 9px;
    scroll-snap-type: y proximity;
  }
  .workspace-panel[data-sheet="expanded"] .catalog-cards {
    height: min(30dvh, 300px);
  }
  .catalog-card {
    min-height: 164px;
    scroll-snap-align: start;
  }
  .catalog-art {
    height: 78px;
  }
  .catalog-card-label {
    padding: 7px 9px 3px;
    min-height: 35px;
    font-size: 12px;
  }
  .catalog-card-size {
    padding-bottom: 6px;
  }
  .catalog-card-collection {
    padding: 6px 9px;
  }
  .catalog-pickbar {
    padding: 8px 0;
  }
  .catalog-pickbar .select-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .catalog-pickbar .control-note {
    margin-top: 5px;
    min-height: 14px;
  }
  .furnish-options {
    margin-top: 9px;
  }
  .edit-dock,
  body[data-panel]:not([data-panel=""]) .edit-dock {
    left: 8px;
    right: 8px;
    padding: 9px 10px;
  }
  .edit-dock-heading .eyebrow {
    display: none;
  }
  .edit-dock-heading p {
    margin: 0;
    max-width: 170px;
    font-size: 10px;
  }
  .edit-dock-session-actions button {
    min-width: 44px;
    padding: 7px 8px;
    font-size: 11px;
  }
  .edit-dock .selection-tools {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
    padding-top: 7px;
    margin-top: 7px;
  }
  .selected-piece-heading .eyebrow {
    display: none;
  }
  .edit-dock .selection-tools strong {
    font-size: 11px;
    margin: 0;
  }
  .edit-dock .selection-rotate,
  .edit-dock .remove-piece {
    grid-column: auto;
    grid-row: auto;
  }
  .edit-dock .selection-rotate button {
    min-width: 44px;
    padding: 8px 6px;
  }
  .edit-dock .remove-piece {
    min-width: 58px;
    max-width: none;
    padding: 8px;
    font-size: 11px;
  }
  .edit-dock .placement-actions {
    display: none;
  }
  body[data-panel]:not([data-panel=""]) #stage,
  body[data-editing="true"][data-panel]:not([data-panel=""]) #stage {
    left: 0;
    bottom: 0;
  }
  body[data-panel]:not([data-panel=""]) .tools,
  body[data-panel]:not([data-panel=""]) .walk-controls,
  body[data-panel]:not([data-panel=""]) .navigation-feel-controls {
    display: none;
  }
  .navigation-feel-controls,
  body[data-panel]:not([data-panel=""]) .navigation-feel-controls {
    top: 101px;
    left: 12px;
    right: 12px;
  }
  .navigation-feel-controls button {
    max-width: 100%;
    font-size: 10px;
  }
  body[data-panel]:not([data-panel=""]) .ui-message,
  body[data-editing="true"][data-panel]:not([data-panel=""]) .ui-message {
    z-index: 35;
    bottom: calc(var(--nav-height) + 17px);
  }
}
