.wholehome-orbit-launch {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.wholehome-orbit-action {
  min-height: 42px;
  padding: 8px 15px;
  border-color: #355a67;
  border-radius: 8px;
  background: #19394a;
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}

.wholehome-orbit-action:hover { background: #275466; }
.wholehome-orbit-action:disabled { cursor: wait; opacity: .65; }
.wholehome-orbit-launch-status { font-size: .83rem; }

.wholehome-orbit {
  position: fixed;
  inset: 0;
  width: min(860px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(14px, 2.7vw, 25px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d5dedc;
  border-radius: 15px;
  color: #172d37;
  background: #fafbf8;
  box-shadow: 0 28px 95px #081d3063;
}

body:has(.wholehome-orbit[open]) { overflow: hidden; }

.wholehome-orbit::backdrop { background: #0d202bd1; backdrop-filter: blur(5px); }
.wholehome-orbit [hidden] { display: none; }

.wholehome-orbit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.wholehome-orbit-heading { min-width: 0; }
.wholehome-orbit-trail {
  margin: 0 0 5px;
  color: #53656a;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.wholehome-orbit-title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.wholehome-orbit-viewport {
  position: relative;
  height: clamp(185px, min(52dvh, 74vw), 510px);
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #d7dfda;
  border-radius: 9px;
  background: radial-gradient(ellipse at 50% 31%, #fdfdf7, #dce6e1 95%);
}

.wholehome-orbit-viewport.is-ready {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.wholehome-orbit-viewport.is-dragging { cursor: grabbing; }
.wholehome-orbit-viewport:focus-visible { outline: 3px solid #6d8ebb; outline-offset: 2px; }
.wholehome-orbit-canvas,
.wholehome-orbit-pins {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wholehome-orbit-button {
  min-height: 37px;
  padding: 6px 11px;
  border: 1px solid #b6c4c5;
  border-radius: 7px;
  color: #182f39;
  background: #fff;
  font-size: .85rem;
  font-weight: 620;
  line-height: 1.18;
}

.wholehome-orbit-button:hover { background: #e7f0ea; }
.wholehome-orbit-close {
  flex: none;
  color: white;
  background: #19394a;
  border-color: #355a67;
}

.wholehome-orbit-close:hover { background: #275466; }
.wholehome-orbit-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

.wholehome-orbit-pin:hover { background: transparent; }
.wholehome-orbit-pin::before {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #205268;
  box-shadow: 0 2px 6px #12222d7d;
  content: '';
}

.wholehome-orbit-pin:is(:hover, :focus-visible)::before { background: #a36432; }
.wholehome-orbit-pin:is(:hover, :focus-visible) { z-index: 1100 !important; }
.wholehome-orbit-pin-label {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: max-content;
  max-width: 145px;
  padding: 6px 8px;
  transform: translateX(-50%);
  border: 1px solid #b8c7c2;
  border-radius: 6px;
  background: #fffef8;
  box-shadow: 0 2px 8px #14263125;
  color: #172d37;
  opacity: 0;
  pointer-events: none;
}

.wholehome-orbit-pin:is(:hover, :focus-visible, .shows-label) .wholehome-orbit-pin-label { opacity: 1; }
.wholehome-orbit-pin.shows-label .wholehome-orbit-pin-label { bottom: auto; left: calc(100% - 5px); transform: none; }
.wholehome-orbit-pin.shows-label.align-label-left .wholehome-orbit-pin-label { right: calc(100% - 5px); left: auto; }

.wholehome-orbit-help,
.wholehome-orbit-status {
  margin: 8px 0 6px;
  color: #4c656a;
  font-size: .84rem;
}

.wholehome-orbit-status:empty { margin: 0; }
.wholehome-orbit-controls,
.wholehome-orbit-choices,
.wholehome-orbit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wholehome-orbit-choice-disclosure,
.wholehome-orbit-nav {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid #dce5e2;
}

.wholehome-orbit-choice-disclosure summary {
  color: #2e525c;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 650;
}

.wholehome-orbit-choices { margin-top: 8px; }
.wholehome-orbit-nav button { background: #edf2ee; }

@media (pointer: coarse) {
  .wholehome-orbit-pin { width: 44px; height: 44px; }
  .wholehome-orbit-button:not(.wholehome-orbit-pin) { min-height: 44px; }
}

@media (max-width: 460px) {
  .wholehome-orbit-controls { gap: 4px; }
  .wholehome-orbit-controls button { padding-inline: 8px; }
}

.wholehome-orbit.has-room-details { width: min(1140px, calc(111dvh + 64px), calc(100% - 24px)); }
.has-room-details .wholehome-orbit-viewport {
  height: auto;
  aspect-ratio: 3 / 2;
  min-height: 240px;
  background: #f5f3ee;
}
.has-room-details .wholehome-orbit-viewport[aria-busy="true"] {
  background: #f5f3ee var(--orbit-loading-image, none) center / contain no-repeat;
}
@media (max-width: 540px) {
  .has-room-details .wholehome-orbit-viewport { aspect-ratio: 1.12; }
}

.wholehome-orbit-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wholehome-orbit-badge {
  position: absolute;
  display: block;
  min-height: 0;
  min-width: 0;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  border-style: solid;
  pointer-events: auto;
  touch-action: none;
}
.wholehome-orbit-badge.is-active,
.wholehome-orbit-badge:focus-visible {
  z-index: 2;
  outline: 1px solid #f8f5df;
  outline-offset: 1px;
  filter: brightness(1.2) saturate(1.05) drop-shadow(0 0 3px #fff1bcf2) drop-shadow(0 0 7px #ffe096b8);
}
.wholehome-orbit-label-control { display: inline-flex; align-items: center; gap: 5px; padding-inline: 5px; font-size: .85rem; }
.wholehome-orbit-label-control input { margin: 0; cursor: pointer; }
.has-room-details .wholehome-orbit-panel { position: relative; }
/* Keep the model and its orbit picker in view together on short laptop screens. */
@media (min-width: 900px) and (max-height: 800px) {
  .wholehome-orbit.has-floor-controls[open] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 208px;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 20px;
    width: min(1190px, calc(150dvh + 30px), calc(100% - 32px));
    padding: 18px;
  }
  .has-floor-controls .wholehome-orbit-header { grid-column: 1 / -1; grid-row: 1; }
  .has-floor-controls .wholehome-orbit-viewport { grid-column: 1; grid-row: 2 / 5; align-self: start; }
  .has-floor-controls .wholehome-orbit-status { grid-column: 2; grid-row: 2; }
  .has-floor-controls .wholehome-orbit-panel { grid-column: 2; grid-row: 3; align-self: start; }
  .has-floor-controls .wholehome-orbit-help { margin: 0 0 12px; }
  .has-floor-controls .wholehome-orbit-nav { grid-column: 2; grid-row: 4; align-self: end; }
  .has-floor-controls .wholehome-orbit-panel .wholehome-orbit-selection {
    position: static; max-width: 100%; margin: 6px 0;
  }
}
.wholehome-orbit-selection {
  position: absolute; right: 6px; bottom: calc(100% + 9px); left: 6px;
  z-index: 5; width: max-content; max-width: calc(100% - 12px); margin: 0 auto;
  padding: 3px; border-radius: 8px; background: #fffdf7ee;
}

.wholehome-orbit-focus-button { display: inline-grid; place-items: center; }
.wholehome-orbit-focus-button > span,
.wholehome-orbit-focus-button::after { grid-area: 1 / 1; white-space: nowrap; }
.wholehome-orbit-focus-button::after { content: attr(data-sizing-label); visibility: hidden; }
.wholehome-orbit-focus-help { display: grid; }
.wholehome-orbit-focus-help > span { grid-area: 1 / 1; }
.wholehome-orbit-focus-help > [aria-hidden="true"] { visibility: hidden; }
.wholehome-orbit-focus-button[aria-pressed="true"],
.wholehome-orbit-focus-button.has-orbit-lock {
  color: #fff;
  border-color: #355a67;
  background: #19394a;
}

.wholehome-orbit-viewport.is-picking-orbit,
.is-picking-orbit :is(.wholehome-orbit-badge, .wholehome-orbit-pin) { cursor: crosshair; }
.is-picking-orbit.is-dragging { cursor: grabbing; }

.wholehome-orbit-focus-marker,
.wholehome-orbit-viewport.is-picking-orbit:focus-visible::after {
  position: absolute;
  z-index: 3;
  width: 17px;
  height: 17px;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #233a42ba, inset 0 0 0 1px #233a42ba;
  opacity: 0;
  transition: opacity 180ms ease-out;
  pointer-events: none;
}
.wholehome-orbit-viewport.is-picking-orbit:focus-visible::after {
  content: '';
  left: 50%;
  top: 50%;
  opacity: 1;
}
.wholehome-orbit-focus-marker::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3px;
  height: 3px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 1px #233a42ba;
}
.wholehome-orbit-focus-marker.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .wholehome-orbit-focus-marker { transition: none; }
}

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

/* The printed board remains visible through its padded interaction area. */
.is-supercenter .store-sign-target {
  display: grid;
  place-items: center;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  cursor: pointer;
}
.is-supercenter .store-sign-target[hidden] { display: none; }
.is-supercenter .store-sign-target span {
  width: max-content;
  max-width: min(144px, 34vw);
  box-sizing: border-box;
  padding: 3px 6px;
  border: 1px solid #9c9e9f;
  border-radius: 2px;
  background: #f8f7f2;
  color: #1c3045;
  box-shadow: 0 1px 3px #1d242633;
  font: 700 12px/1.12 Arial, sans-serif;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
}
.is-supercenter .store-sign-target:is(.is-readable, :focus-visible) span { opacity: 1; }
.is-supercenter .store-sign-target:is(.is-active, :focus-visible) { outline: none; filter: none; z-index: 3; }
.is-supercenter .store-sign-target:is(.is-active, :focus-visible) span {
  border-color: #264662;
  box-shadow: 0 0 0 1.5px #264662, 0 0 0 3px #fffaf0;
}
.is-supercenter .wholehome-orbit-pins svg {display:none;}
