/* =========================================================
   ASSISTANT WORKSPACE
   ========================================================= */

.assistant-panel {
  width: min(100%, 900px);
  height: min(580px, calc(100svh - 190px));
  min-height: 320px;
  overflow: hidden;
  padding:
    clamp(24px, 3vh, 28px)
    clamp(28px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.assistant-panel:has(.assistant-screen.is-result) {
  width: min(100%, 920px);
  height: min(620px, calc(100svh - 169px));
}

.assistant-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 4px 4px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  animation: assistant-in 180ms ease both;
}

.assistant-screen::-webkit-scrollbar {
  width: 6px;
}

.assistant-screen::-webkit-scrollbar-track {
  background: transparent;
}

.assistant-screen::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}

.assistant-screen.is-result {
  padding-bottom: 0;
}

.assistant-stage-layout,
.assistant-stage-content {
  min-width: 0;
}

.assistant-stage-layout {
  min-height: 100%;
}

/* The empty slot takes no space. Adding a transparent <img> later activates it. */
.assistant-mascot-slot {
  display: none;
  min-width: 0;
  overflow: hidden;
  align-self: stretch;
}

.assistant-mascot-slot > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

@keyframes assistant-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   TYPOGRAPHY AND PROGRESS
   ========================================================= */

.assistant-stage-content h2,
.assistant-fieldset legend {
  max-width: 560px;
  margin: 7px 0 8px;
  font-family:
    "Bahnschrift",
    "Arial Narrow",
    Arial,
    sans-serif;
  font-size: clamp(1.32rem, 2vw, 1.76rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
}

.assistant-screen [tabindex="-1"]:focus {
  outline: none;
}

.assistant-stage-content > p,
.assistant-stage-content form > p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.assistant-step-label {
  display: block;
  color: #94653d;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.assistant-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.assistant-progress li {
  position: relative;
  padding-top: 7px;
  border-top: 2px solid var(--line);
  color: var(--text-muted);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.assistant-progress li span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.52rem;
}

.assistant-progress li.is-current,
.assistant-progress li.is-complete {
  border-top-color: var(--tan);
  color: var(--blue-dark);
}


/* =========================================================
   FORMS AND ANSWERS
   ========================================================= */

.assistant-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.assistant-fieldset legend {
  width: 100%;
  padding: 0;
}

.assistant-label {
  display: block;
  margin-top: 16px;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assistant-line-input {
  width: calc(100% - 58px);
  max-width: 430px;
  min-height: 42px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid #223647;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 150ms ease;
}

.assistant-line-input:focus {
  border-color: var(--blue);
}

.assistant-line-input::placeholder {
  color: #9aa6ad;
}

.assistant-customer-form {
  max-width: 620px;
  margin-top: 10px;
}

.assistant-customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.assistant-customer-field {
  min-width: 0;
}

.assistant-customer-field-wide {
  grid-column: 1 / -1;
}

.assistant-customer-form .assistant-line-input {
  width: 100%;
  max-width: none;
  font-size: 1.05rem;
}

.assistant-optional {
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.assistant-customer-postcode {
  align-self: end;
  min-width: 0;
  padding: 14px 0 7px;
  border-bottom: 1px solid var(--line);
}

.assistant-customer-postcode .assistant-label {
  margin-top: 0;
  margin-bottom: 4px;
}

.assistant-customer-postcode strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.assistant-inline-action {
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.assistant-inline-action:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}

.assistant-customer-form > .assistant-next {
  margin-top: 18px;
}

.assistant-hint,
.assistant-note {
  margin-top: 6px;
  color: var(--text-muted) !important;
  font-size: 0.69rem !important;
  line-height: 1.4 !important;
}

.assistant-error {
  margin: 6px 0 0;
  color: #9b2f2f !important;
  font-size: 0.71rem !important;
  line-height: 1.4 !important;
}

.assistant-error[hidden],
.assistant-reservation-status[hidden] {
  display: none;
}

.assistant-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.assistant-options-compact {
  margin-top: 10px;
}

.assistant-options button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  font-size: 0.77rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background-color 140ms ease,
    transform 140ms ease;
}

.assistant-options button:hover {
  border-color: var(--blue);
  background: var(--surface-blue);
  transform: translateY(-1px);
}

.assistant-options button.is-selected {
  border-color: var(--blue);
  background: var(--surface-blue);
}

.assistant-room-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.assistant-room-options button {
  position: relative;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 24px 5px 8px;
  border: 2px solid var(--line);
  background: #ffffff;
  text-align: center;
  transition: none;
}

.assistant-room-illustration {
  width: 100%;
  height: 34px;
  display: grid;
  place-items: center;
}

.assistant-room-illustration img {
  width: min(100%, 92px);
  height: 34px;
  object-fit: contain;
}

.assistant-room-native-svg {
  width: min(100%, 92px);
  height: 34px;
  display: block;
  overflow: visible;
}

.assistant-room-bedroom-svg {
  --lamp-glow-opacity: 0;
  --lamp-shade-fill: #0d4f71;
  --pillow-fill: #0d4f71;
}

.assistant-room-living-svg {
  --living-lamp-glow-opacity: 0;
  --living-lamp-shade-fill: #0d4f71;
  --living-cushion-fill: #0d4f71;
}

.assistant-room-office-svg {
  --monitor-screen-fill: #0d4f71;
  --monitor-glow-opacity: 0;
  --rear-paper-shift: 0px;
  --front-paper-opacity: 0;
  --front-paper-shift: 18px;
  --front-paper-delay: 0ms;
}

.assistant-room-other-svg {
  --other-door-scale: 1;
  --other-light-opacity: 0;
}

.assistant-room-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.15;
}

.assistant-room-chevron {
  color: var(--blue-dark);
  font-size: 1.2em;
  line-height: 0.8;
}

.assistant-room-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  visibility: hidden;
}

.assistant-room-options button.is-selected {
  border-color: var(--blue-dark);
  background: #ffffff;
}

.assistant-room-option[data-room-type="bedroom"].is-selected {
  border-color: var(--tan);
}

.assistant-room-option[data-room-type="living_room"].is-selected,
.assistant-room-option[data-room-type="office"].is-selected,
.assistant-room-option[data-room-type="other"].is-selected {
  border-color: var(--tan);
}

.assistant-room-options .assistant-room-check,
.assistant-room-subtype-options .assistant-room-check {
  display: none;
}

.assistant-room-option[data-room-type="bedroom"].is-selected
  .assistant-room-bedroom-svg {
  --lamp-glow-opacity: 0.42;
  --lamp-shade-fill: #cf995b;
  --pillow-fill: #cf995b;
}

.assistant-room-option[data-room-type="living_room"].is-selected
  .assistant-room-living-svg {
  --living-lamp-glow-opacity: 0.42;
  --living-lamp-shade-fill: #cf995b;
  --living-cushion-fill: #cf995b;
}

.assistant-room-option[data-room-type="office"].is-selected
  .assistant-room-office-svg {
  --monitor-screen-fill: #83c8e8;
  --monitor-glow-opacity: 0.22;
  --rear-paper-shift: 27px;
  --front-paper-opacity: 1;
  --front-paper-shift: 0px;
  --front-paper-delay: 150ms;
}

.assistant-room-option[data-room-type="other"].is-selected
  .assistant-room-other-svg {
  --other-door-scale: 0.26;
  --other-light-opacity: 1;
}

.assistant-room-options button.is-selected .assistant-room-check,
.assistant-room-subtype-option:has(input:checked) .assistant-room-check {
  visibility: visible;
}

.assistant-room-main[hidden],
.assistant-room-submenu[hidden] {
  display: none;
}

.assistant-room-submenu {
  margin-top: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.assistant-room-submenu-back {
  display: none;
}

.assistant-room-submenu h3 {
  margin: 0 0 7px;
  color: var(--text);
  font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.15;
  text-align: left;
}

.assistant-room-subtype-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.assistant-room-subtype-option {
  position: relative;
  min-width: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 6px;
  padding: 6px 22px 6px 6px;
  border: 2px solid var(--line);
  border-radius: 3px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.assistant-room-subtype-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.assistant-room-subtype-illustration {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
}

.assistant-room-subtype-illustration img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.assistant-room-subtype-native-svg {
  width: 34px;
  height: 34px;
  display: block;
  overflow: visible;
}

.assistant-room-subtype-other-room-svg {
  --other-living-window-fill: #0d4f71;
  --other-living-window-glow-opacity: 0;
}

.assistant-room-subtype-professional-space-svg {
  --pro-door-scale: 1;
  --pro-window-fill: #0d4f71;
  --pro-light-opacity: 0;
}

.assistant-room-subtype-large-hall-svg {
  --hall-flag-shift: 0px;
  --hall-interior-fill: #0d4f71;
}

.assistant-room-subtype-event-reception-svg {
  --event-people-fill: #0d4f71;
  --event-light-fill: #0d4f71;
  --event-light-glow-opacity: 0;
}

.assistant-room-subtype-unknown-space-svg {
  --unknown-circle-stroke: #0d4f71;
}

.assistant-room-subtype-copy {
  min-width: 0;
}

.assistant-room-subtype-copy strong,
.assistant-room-subtype-copy small {
  display: block;
}

.assistant-room-subtype-copy strong {
  color: var(--text);
  font-size: 0.69rem;
  line-height: 1.15;
}

.assistant-room-subtype-copy small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.58rem;
  line-height: 1.22;
}

.assistant-room-subtype-option:has(input:checked) {
  border-color: var(--blue-dark);
}

.assistant-room-subtype-option:has(input[value="other-room"]:checked),
.assistant-room-subtype-option:has(input[value="professional-space"]:checked),
.assistant-room-subtype-option:has(input[value="large-hall"]:checked),
.assistant-room-subtype-option:has(input[value="event-reception"]:checked),
.assistant-room-subtype-option:has(input[value="unknown-space"]:checked) {
  border-color: var(--tan);
}

.assistant-room-subtype-option:has(input[value="other-room"]:checked)
  .assistant-room-subtype-other-room-svg {
  --other-living-window-fill: #cf995b;
  --other-living-window-glow-opacity: 0.25;
}

.assistant-room-subtype-option:has(input[value="professional-space"]:checked)
  .assistant-room-subtype-professional-space-svg {
  --pro-door-scale: 0.24;
  --pro-window-fill: #cf995b;
  --pro-light-opacity: 0.3;
}

.assistant-room-subtype-option:has(input[value="large-hall"]:checked)
  .assistant-room-subtype-large-hall-svg {
  --hall-flag-shift: -10px;
  --hall-interior-fill: #cf995b;
}

.assistant-room-subtype-option:has(input[value="event-reception"]:checked)
  .assistant-room-subtype-event-reception-svg {
  --event-people-fill: #cf995b;
  --event-light-fill: #cf995b;
  --event-light-glow-opacity: 0.35;
}

.assistant-room-subtype-option:has(input[value="unknown-space"]:checked)
  .assistant-room-subtype-unknown-space-svg {
  --unknown-circle-stroke: #cf995b;
}

.assistant-room-subtype-option:has(input:focus-visible) {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

.assistant-fieldset:has(.assistant-room-submenu:not([hidden]))
  + .assistant-area-control {
  margin-top: 6px;
}

.assistant-room-submenu-back:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .assistant-room-option,
  .assistant-room-subtype-option {
    transition: border-color 180ms ease, box-shadow 180ms ease;
  }

  .assistant-room-illustration img,
  .assistant-room-subtype-illustration img {
    transition: transform 180ms ease;
  }

  .assistant-room-option:hover,
  .assistant-room-subtype-option:hover {
    border-color: var(--line-strong);
    background: #ffffff;
    box-shadow: 0 2px 8px rgb(20 34 44 / 6%);
    transform: none;
  }

  .assistant-room-option.is-selected:hover,
  .assistant-room-subtype-option:hover:has(input:checked) {
    border-color: var(--blue-dark);
    box-shadow: 0 2px 10px rgb(20 34 44 / 9%);
  }

  .assistant-room-option[data-room-type="bedroom"]:hover {
    background: #ffffff;
  }

  .assistant-room-option[data-room-type="living_room"]:hover,
  .assistant-room-option[data-room-type="office"]:hover,
  .assistant-room-option[data-room-type="other"]:hover {
    background: #ffffff;
    transform: none;
  }

  .assistant-room-option[data-room-type="bedroom"].is-selected:hover {
    border-color: var(--tan);
  }

  .assistant-room-option[data-room-type="living_room"].is-selected:hover,
  .assistant-room-option[data-room-type="office"].is-selected:hover,
  .assistant-room-option[data-room-type="other"].is-selected:hover {
    border-color: var(--tan);
  }

  .assistant-room-subtype-option:hover:has(input[value="other-room"]:checked),
  .assistant-room-subtype-option:hover:has(input[value="professional-space"]:checked),
  .assistant-room-subtype-option:hover:has(input[value="large-hall"]:checked),
  .assistant-room-subtype-option:hover:has(input[value="event-reception"]:checked),
  .assistant-room-subtype-option:hover:has(input[value="unknown-space"]:checked) {
    border-color: var(--tan);
  }

  .assistant-room-option[data-room-type="bedroom"]:hover
    .assistant-room-bedroom-svg {
    --lamp-glow-opacity: 0.42;
    --lamp-shade-fill: #cf995b;
  }

  .assistant-room-option[data-room-type="living_room"]:hover
    .assistant-room-living-svg {
    --living-lamp-glow-opacity: 0.42;
    --living-lamp-shade-fill: #cf995b;
  }

  .assistant-room-option[data-room-type="office"]:hover
    .assistant-room-office-svg {
    --monitor-screen-fill: #83c8e8;
    --monitor-glow-opacity: 0.22;
    --rear-paper-shift: 27px;
    --front-paper-opacity: 1;
    --front-paper-shift: 0px;
    --front-paper-delay: 150ms;
  }

  .assistant-room-option[data-room-type="other"]:hover
    .assistant-room-other-svg {
    --other-door-scale: 0.26;
    --other-light-opacity: 1;
  }

  .assistant-room-subtype-option:hover:has(input[value="other-room"])
    .assistant-room-subtype-other-room-svg {
    --other-living-window-fill: #cf995b;
    --other-living-window-glow-opacity: 0.25;
  }

  .assistant-room-subtype-option:hover:has(input[value="professional-space"])
    .assistant-room-subtype-professional-space-svg {
    --pro-door-scale: 0.24;
    --pro-window-fill: #cf995b;
    --pro-light-opacity: 0.3;
  }

  .assistant-room-subtype-option:hover:has(input[value="large-hall"])
    .assistant-room-subtype-large-hall-svg {
    --hall-flag-shift: -10px;
    --hall-interior-fill: #cf995b;
  }

  .assistant-room-subtype-option:hover:has(input[value="event-reception"])
    .assistant-room-subtype-event-reception-svg {
    --event-people-fill: #cf995b;
    --event-light-fill: #cf995b;
    --event-light-glow-opacity: 0.35;
  }

  .assistant-room-option:hover .assistant-room-illustration img,
  .assistant-room-subtype-option:hover .assistant-room-subtype-illustration img {
    transform: scale(1.05);
  }
}

.assistant-area-control {
  margin-top: 14px;
}

.assistant-area-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  color: var(--text);
}

.assistant-area-heading label {
  font-size: 0.86rem;
  font-weight: 700;
}

.assistant-area-heading output {
  color: var(--blue-dark);
  font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}

.assistant-area-range {
  --assistant-range-progress: 23.08%;
  width: 100%;
  height: 44px;
  display: block;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.assistant-area-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--blue) 0,
    var(--blue) var(--assistant-range-progress),
    var(--line) var(--assistant-range-progress),
    var(--line) 100%
  );
}

.assistant-area-range::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  appearance: none;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-dark);
}

.assistant-area-range::-moz-range-track {
  width: 100%;
  height: 6px;
  border-radius: 2px;
  background: var(--line);
}

.assistant-area-range::-moz-range-progress {
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
}

.assistant-area-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue-dark);
}

.assistant-area-range:focus-visible {
  outline: 3px solid rgb(23 107 148 / 22%);
  outline-offset: 2px;
  border-radius: 2px;
}

.assistant-area-scale {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -2px;
  color: var(--text-muted);
  font-size: 0.62rem;
}

.assistant-area-scale span:nth-child(2),
.assistant-area-scale span:nth-child(3) {
  text-align: center;
}

.assistant-area-scale span:last-child {
  text-align: right;
}

.assistant-area-example {
  margin: 8px 0 0;
  color: var(--text-muted) !important;
  font-size: 0.72rem !important;
}

.assistant-opening-thumbnail {
  display: none;
}

[data-opening-form] > .assistant-fieldset > .assistant-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.assistant-opening-option:has(.assistant-opening-native-svg) {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 6px 10px;
  background: #ffffff;
  text-align: left;
}

.assistant-opening-thumbnail:has(> .assistant-opening-native-svg) {
  width: 54px;
  height: 46px;
  display: block;
  overflow: visible;
}

.assistant-opening-label {
  min-width: 0;
}

.assistant-opening-label strong,
.assistant-opening-label small {
  display: block;
}

.assistant-opening-label strong {
  color: inherit;
  font-size: inherit;
  line-height: 1.2;
}

.assistant-opening-label small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.62rem;
  line-height: 1.15;
}

.assistant-opening-native-svg {
  --opening-movable-stroke: #0d4f71;
  --opening-glass-fill: #f7fbfd;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.assistant-opening-casement-svg {
  --classic-sash-scale: 1;
}

.assistant-opening-tilt-turn-svg {
  --tilt-sash-y: 0px;
  --tilt-sash-scale-y: 1;
  --tilt-sash-skew: 0deg;
}

.assistant-opening-sliding-svg {
  --sliding-sash-x: 0px;
  --opening-reveal-opacity: 0;
}

.assistant-opening-french-door-svg {
  --french-leaf-scale: 1;
}

.assistant-opening-velux-svg {
  --velux-sash-y: 0px;
  --velux-sash-scale-y: 1;
}

.assistant-opening-sliding-door-svg {
  --sliding-door-sash-x: 0px;
  --sliding-door-reveal-opacity: 0;
}

.assistant-options .assistant-opening-option.is-selected {
  border-color: var(--tan);
  background: #ffffff;
}

.assistant-opening-option.is-selected .assistant-opening-native-svg {
  --opening-movable-stroke: #cf995b;
  --opening-glass-fill: #fffaf4;
}

.assistant-opening-option.is-selected .assistant-opening-casement-svg {
  --classic-sash-scale: 0.28;
}

.assistant-opening-option.is-selected .assistant-opening-tilt-turn-svg {
  --tilt-sash-y: 3px;
  --tilt-sash-scale-y: 0.76;
  --tilt-sash-skew: -4deg;
}

.assistant-opening-option.is-selected .assistant-opening-sliding-svg {
  --sliding-sash-x: 47px;
  --opening-reveal-opacity: 1;
}

.assistant-opening-option.is-selected .assistant-opening-french-door-svg {
  --french-leaf-scale: 0.26;
}

.assistant-opening-option.is-selected .assistant-opening-velux-svg {
  --velux-sash-y: -7px;
  --velux-sash-scale-y: 0.68;
}

.assistant-opening-option.is-selected .assistant-opening-sliding-door-svg {
  --sliding-door-sash-x: 48px;
  --sliding-door-reveal-opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .assistant-options .assistant-opening-option:has(.assistant-opening-native-svg):hover {
    border-color: var(--line-strong);
    background: #ffffff;
    transform: none;
  }

  .assistant-opening-option:has(.assistant-opening-native-svg):hover .assistant-opening-native-svg {
    --opening-movable-stroke: #cf995b;
    --opening-glass-fill: #fffaf4;
  }

  .assistant-opening-option:hover .assistant-opening-casement-svg {
    --classic-sash-scale: 0.28;
  }

  .assistant-opening-option:hover .assistant-opening-tilt-turn-svg {
    --tilt-sash-y: 3px;
    --tilt-sash-scale-y: 0.76;
    --tilt-sash-skew: -4deg;
  }

  .assistant-opening-option:hover .assistant-opening-sliding-svg {
    --sliding-sash-x: 47px;
    --opening-reveal-opacity: 1;
  }

  .assistant-opening-option:hover .assistant-opening-french-door-svg {
    --french-leaf-scale: 0.26;
  }

  .assistant-opening-option:hover .assistant-opening-velux-svg {
    --velux-sash-y: -7px;
    --velux-sash-scale-y: 0.68;
  }

  .assistant-opening-option:hover .assistant-opening-sliding-door-svg {
    --sliding-door-sash-x: 48px;
    --sliding-door-reveal-opacity: 1;
  }

  .assistant-options .assistant-opening-option.is-selected:hover {
    border-color: var(--tan);
    background: #ffffff;
  }
}

.assistant-opening-guidance {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 0.67rem;
  line-height: 1.35;
}

.assistant-opening-guidance strong {
  color: var(--text-soft);
}

.assistant-supplementary-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  align-items: center;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--tan);
}

.assistant-supplementary-question[hidden] {
  display: none;
}

.assistant-supplementary-question legend {
  grid-column: 1;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.assistant-supplementary-question .assistant-hint {
  grid-column: 1;
  margin: 0;
  max-width: 54ch;
  font-size: 0.66rem;
  line-height: 1.35;
}

.assistant-binary-options {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(58px, 1fr));
  gap: 7px;
}

.assistant-binary-option {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-binary-option:has(input:checked) {
  border: 2px solid var(--tan);
  background: #ffffff;
}

.assistant-binary-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.assistant-binary-option:has(input:focus-visible) {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

.assistant-supplementary-question .assistant-error {
  grid-column: 1 / -1;
  margin: 2px 0 0;
}

.assistant-installation-assessment {
  grid-column: 1 / -1;
  display: flex;
  gap: 5px;
  margin-top: 4px;
  padding-left: 8px;
  border-left: 3px solid var(--tan);
  color: var(--text-muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

.assistant-installation-assessment[hidden] {
  display: none;
}

.assistant-installation-assessment strong {
  flex: 0 0 auto;
  color: #94653d;
}

.assistant-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.assistant-check-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.assistant-check-option {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.assistant-check-none {
  grid-column: 1 / -1;
}

.assistant-condition-option {
  position: relative;
  min-height: 58px;
  align-items: center;
  padding: 6px 24px 6px 9px;
  border: 2px solid var(--line);
  background: #ffffff;
}

.assistant-condition-illustration {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 42px;
  place-items: center;
}

.assistant-condition-native-svg {
  width: 42px;
  height: 42px;
  display: block;
  overflow: visible;
}

.assistant-condition-sunny-svg {
  --sun-fill: #0d4f71;
  --sun-glow-opacity: 0;
}

.assistant-condition-top-floor-svg,
.assistant-condition-usually-hot-svg {
  --heat-wave-stroke: #0d4f71;
}

.assistant-condition-top-floor-svg {
  --roof-glow-opacity: 0;
}

.assistant-condition-large-windows-svg {
  --window-gleam-stroke: #0d4f71;
  --window-gleam-opacity: 0.72;
  --window-gleam-shift-y: 0px;
}

.assistant-condition-usually-hot-svg {
  --thermometer-liquid-fill: #0d4f71;
  --thermometer-liquid-level: 0.5;
}

.assistant-condition-none-svg {
  --none-mark-stroke: #0d4f71;
}

.assistant-condition-label {
  display: block;
}

.assistant-check-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--surface-blue);
}

.assistant-condition-option:has(input:checked) {
  border-color: var(--tan);
  background: #ffffff;
}

.assistant-condition-option:has(input[value="sunny"]:checked) .assistant-condition-sunny-svg {
  --sun-fill: #cf995b;
  --sun-glow-opacity: 0.32;
}

.assistant-condition-option:has(input[value="top_floor"]:checked) .assistant-condition-top-floor-svg {
  --roof-glow-opacity: 0.22;
}

.assistant-condition-option:has(input[value="large_windows"]:checked) .assistant-condition-large-windows-svg {
  --window-gleam-stroke: #cf995b;
  --window-gleam-opacity: 1;
  --window-gleam-shift-y: -6px;
}

.assistant-condition-option:has(input[value="usually_hot"]:checked) .assistant-condition-usually-hot-svg {
  --thermometer-liquid-fill: #cf995b;
  --thermometer-liquid-level: 1;
}

.assistant-condition-option:has(input[value="top_floor"]:checked) .assistant-condition-top-floor-svg,
.assistant-condition-option:has(input[value="usually_hot"]:checked) .assistant-condition-usually-hot-svg {
  --heat-wave-stroke: #cf995b;
}

.assistant-condition-option:has(input[value="none"]:checked) .assistant-condition-none-svg {
  --none-mark-stroke: #cf995b;
}

.assistant-condition-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  visibility: hidden;
}

.assistant-condition-option:has(input:checked) .assistant-condition-check {
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  .assistant-condition-option {
    transition: border-color 180ms ease, box-shadow 180ms ease;
  }

  .assistant-condition-option:hover:not(:has(input:checked)) {
    border-color: var(--line-strong);
    box-shadow: 0 2px 8px rgb(20 34 44 / 6%);
  }

  .assistant-condition-option:hover:has(input:checked) {
    box-shadow: 0 2px 10px rgb(20 34 44 / 9%);
  }

  .assistant-condition-option:hover:has(input[value="sunny"]) .assistant-condition-sunny-svg {
    --sun-fill: #cf995b;
    --sun-glow-opacity: 0.32;
  }

  .assistant-condition-option:hover:has(input[value="top_floor"]) .assistant-condition-top-floor-svg {
    --roof-glow-opacity: 0.22;
  }

  .assistant-condition-option:hover:has(input[value="large_windows"]) .assistant-condition-large-windows-svg {
    --window-gleam-stroke: #cf995b;
    --window-gleam-opacity: 1;
    --window-gleam-shift-y: -6px;
  }

  .assistant-condition-option:hover:has(input[value="usually_hot"]) .assistant-condition-usually-hot-svg {
    --thermometer-liquid-fill: #cf995b;
    --thermometer-liquid-level: 1;
  }

  .assistant-condition-option:hover:has(input[value="top_floor"]) .assistant-condition-top-floor-svg,
  .assistant-condition-option:hover:has(input[value="usually_hot"]) .assistant-condition-usually-hot-svg {
    --heat-wave-stroke: #cf995b;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-room-option,
  .assistant-room-subtype-option,
  .assistant-room-illustration img,
  .assistant-room-subtype-illustration img,
  .assistant-condition-option {
    transition: none;
  }

  .assistant-room-option:hover .assistant-room-illustration img,
  .assistant-room-subtype-option:hover .assistant-room-subtype-illustration img {
    transform: none;
  }
}

.assistant-check-option input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--blue-dark);
}

.assistant-condition-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================================================
   ACTIONS AND FOCUS
   ========================================================= */

.assistant-next {
  min-height: 40px;
  margin-top: 13px;
  padding: 9px 14px;
  border: 1px solid var(--blue-dark);
  border-radius: 3px;
  background: var(--blue-dark);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    background-color 140ms ease,
    transform 140ms ease;
}

.assistant-next:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.assistant-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.71rem;
  cursor: pointer;
}

.assistant-back:hover {
  color: var(--text);
}

.assistant-options button:focus-visible,
.assistant-model-card:focus-visible,
.assistant-model-select:focus-visible,
.assistant-info-toggle:focus-visible,
.assistant-next:focus-visible,
.assistant-back:focus-visible,
.assistant-line-input:focus-visible,
.assistant-check-option:has(input:focus-visible) {
  outline: 3px solid rgb(23 107 148 / 18%);
  outline-offset: 3px;
}

.assistant-condition-option:has(input:focus-visible) {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}


/* =========================================================
   DELIVERY AND RESULT
   ========================================================= */

.assistant-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(245px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.assistant-product-choice,
.assistant-booking-summary {
  min-width: 0;
}

.assistant-featured-product {
  position: relative;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--tan);
  border-radius: 4px;
  background: #fffdfa;
}

.assistant-featured-product.is-warning,
.assistant-featured-product.is-danger {
  border-color: #b76a33;
  background: #fff9f4;
}

.assistant-featured-product.is-neutral {
  border-color: var(--line-strong);
  background: var(--surface);
}

.assistant-featured-product h2 {
  margin-block: 4px 5px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.assistant-sizing-message,
.assistant-product-tagline {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.assistant-sizing-message {
  color: var(--text);
  font-weight: 650;
}

.assistant-product-tagline {
  margin-top: 4px;
  color: var(--text-soft);
}

.assistant-featured-price {
  display: block;
  margin-top: 9px;
  color: var(--blue-dark);
  font-size: 0.9rem;
}

.assistant-product-image {
  display: none;
}

.assistant-product-image:has(> img) {
  width: 72px;
  height: 64px;
  display: block;
  float: right;
  margin: 0 0 8px 12px;
  overflow: hidden;
}

.assistant-product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.assistant-product-choice > .assistant-recommendation-copy {
  margin-top: 5px !important;
}

.assistant-model-selector {
  margin-top: 7px;
}

.assistant-selection-details {
  margin-top: 7px;
}

.assistant-info-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 0.66rem;
}

.assistant-info-toggle {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--tan);
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.assistant-info-toggle:hover,
.assistant-info-toggle[aria-expanded="true"] {
  border-color: #a66e35;
  background: #fffaf4;
}

.assistant-info-panel {
  margin-top: 6px;
  padding: 8px 9px;
  border-left: 2px solid var(--tan);
  background: #ffffff;
}

.assistant-info-panel[hidden] {
  display: none;
}

.assistant-info-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.68rem;
  line-height: 1.4;
}

.assistant-info-panel p + p {
  margin-top: 4px;
}

.assistant-model-selector-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.assistant-model-selector-heading strong {
  font-size: 0.76rem;
}

.assistant-model-selector-heading span {
  max-width: 210px;
  color: var(--text-muted);
  font-size: 0.62rem;
  line-height: 1.3;
  text-align: right;
}

.assistant-model-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.assistant-model-card {
  position: relative;
  min-width: 0;
  min-height: 64px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.assistant-model-card:has(.assistant-model-select:hover:not(:disabled)) {
  border-color: var(--blue);
  background: #fbfdfe;
}

.assistant-model-card.is-selected {
  border: 2px solid var(--blue-dark);
  background: #fbfdfe;
}

.assistant-model-select {
  width: 100%;
  min-height: 64px;
  display: block;
  padding: 7px 34px 7px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.assistant-model-select:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.assistant-model-select strong,
.assistant-model-select span {
  display: block;
}

.assistant-model-select strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 0.73rem;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.assistant-model-card > .assistant-info-toggle {
  position: absolute;
  z-index: 1;
  top: 7px;
  right: 7px;
  width: 22px;
  height: 22px;
}

.assistant-model-card > .assistant-info-panel {
  margin: 0 7px 7px;
}

.assistant-model-status {
  min-height: 1.2em;
  color: #8a5a2e;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.assistant-model-card.is-selected .assistant-model-status {
  color: var(--blue);
}

.assistant-model-price {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.65rem;
}

.assistant-booking-summary {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.assistant-booking-summary .assistant-date-summary {
  margin-top: 0 !important;
}

.assistant-nights-note {
  margin-bottom: 0;
}

.assistant-setup-options {
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.assistant-setup-options button {
  min-height: 38px;
  padding-block: 7px;
}

.assistant-setup-options button.is-selected {
  border-color: var(--tan);
  background: #fffaf4;
  box-shadow: inset 3px 0 0 var(--tan);
}

.assistant-setup-confirmation {
  width: min(calc(100% - 28px), 430px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-top: 5px solid var(--tan);
  border-radius: 4px;
  background: #fffefa;
  color: var(--text);
  box-shadow: 0 18px 48px rgb(7 24 39 / 24%);
}

.assistant-setup-confirmation::backdrop {
  background: rgb(7 24 39 / 48%);
}

.assistant-setup-confirmation-content {
  padding: 22px;
}

.assistant-setup-confirmation h3 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: 1.14rem;
}

.assistant-setup-confirmation p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.assistant-setup-confirmation-actions {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.assistant-setup-confirmation-actions .assistant-next {
  width: 100%;
}

.assistant-setup-confirmation-secondary {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--tan);
  border-radius: 3px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.assistant-setup-confirmation-secondary:hover {
  background: #fff8ef;
}

.assistant-setup-confirmation-secondary:focus-visible {
  outline: 3px solid rgb(23 107 148 / 18%);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .assistant-setup-confirmation-content {
    padding: 18px;
  }
}

.assistant-result-grid {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.assistant-result-grid > div {
  min-height: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 5px;
  border-bottom: 1px solid var(--line);
}

.assistant-result-grid span {
  color: var(--text-soft);
  font-size: 0.69rem;
}

.assistant-result-grid strong {
  color: var(--text);
  font-size: 0.73rem;
  text-align: right;
}

.assistant-result-grid .assistant-total {
  border-bottom-color: var(--blue);
}

.assistant-result-grid .assistant-total span,
.assistant-result-grid .assistant-total strong {
  color: var(--blue-dark);
  font-weight: 800;
}

.assistant-caution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--tan);
  border-radius: 3px;
  background: #fffdfa;
}

.assistant-caution span,
.assistant-caution small {
  color: var(--text-soft);
  font-size: 0.64rem;
}

.assistant-caution strong {
  color: var(--text);
  font-size: 0.78rem;
}

.assistant-caution small {
  grid-column: 1 / -1;
}

.assistant-caution-explanation {
  margin: 5px 0 0 !important;
  color: var(--text-muted) !important;
  font-size: 0.62rem !important;
  line-height: 1.35 !important;
}

.assistant-booking-action {
  min-width: 170px;
  margin-top: 0;
  white-space: nowrap;
}

.assistant-result-action-bar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 10px;
  padding: 9px 10px;
  border: 1px solid var(--tan);
  background: #f8fbfd;
  box-shadow: 0 -8px 18px rgb(13 79 113 / 7%);
}

.assistant-result-action-bar > div {
  min-width: 0;
}

.assistant-result-action-bar strong,
.assistant-result-action-bar span,
.assistant-result-action-bar small {
  display: block;
}

.assistant-result-action-bar strong {
  color: var(--blue-dark);
  font-size: 0.92rem;
}

.assistant-result-action-bar span,
.assistant-result-action-bar small {
  color: var(--text-soft);
  font-size: 0.61rem;
}

.assistant-recommendation-copy {
  margin: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
}

.assistant-date-summary {
  margin: 5px 0 0 !important;
  color: var(--blue-dark) !important;
  font-size: 0.69rem !important;
  font-weight: 750;
}

.assistant-recurring-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-top: 6px;
}

.assistant-recurring-price span {
  color: var(--text-soft);
  font-size: 0.69rem;
}

.assistant-recurring-price strong {
  font-size: 0.74rem;
  text-align: right;
}

.assistant-recurring-compact {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}

.assistant-reservation-status {
  margin: 7px 0 0 !important;
  color: var(--text-soft) !important;
  font-size: 0.7rem !important;
  line-height: 1.4 !important;
}


/* =========================================================
   RESPONSIVE AND REDUCED MOTION
   ========================================================= */

@media (min-width: 1600px) {
  .assistant-stage-layout:has(.assistant-mascot-slot > img) {
    display: grid;
    grid-template-columns: minmax(0, 68%) minmax(0, 32%);
    gap: 12px;
  }

  .assistant-stage-layout:has(.assistant-mascot-slot > img) .assistant-mascot-slot {
    display: block;
  }
}

@media (max-width: 640px) {
  .assistant-panel {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .assistant-panel:has(.assistant-screen.is-result) {
    height: auto;
    min-height: 0;
  }

  .assistant-screen.is-result {
    height: auto;
    overflow: visible;
    padding-bottom: 0;
  }

  .assistant-result-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .assistant-booking-summary {
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .assistant-model-selector-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .assistant-model-selector-heading span {
    display: none;
  }

  .assistant-model-list {
    grid-auto-columns: minmax(145px, 68%);
    grid-template-columns: none;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 2px 8px;
    scroll-snap-type: inline mandatory;
  }

  .assistant-model-card {
    min-height: 92px;
    scroll-snap-align: start;
    touch-action: manipulation;
  }

  .assistant-model-select {
    min-height: 92px;
    padding: 10px 38px 10px 11px;
  }

  .assistant-result-action-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    margin-inline: 0;
    padding-inline: 0;
    box-shadow: none;
  }

  .assistant-booking-action {
    width: 100%;
  }

  .assistant-screen {
    padding-right: 2px;
  }

  .assistant-stage-content h2,
  .assistant-fieldset legend {
    font-size: 1.25rem;
  }

  .assistant-line-input {
    width: 100%;
    max-width: none;
  }

  .assistant-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-options button,
  .assistant-next {
    min-height: 44px;
  }

  .assistant-result-grid > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .assistant-result-grid strong,
  .assistant-recurring-price strong {
    text-align: left;
  }

  .assistant-recurring-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .assistant-mascot-slot:has(> img) {
    width: 72px;
    height: 64px;
    display: block;
    margin: 10px 0 0 auto;
  }

  .assistant-mascot-slot > img {
    object-position: center top;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-screen {
    animation: none;
  }
}
.igloue-calendar {
  margin-top: 5px;
}

.igloue-calendar-header {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  text-align: center;
}

.igloue-calendar-header strong {
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: 0.94rem;
  text-transform: capitalize;
  color: var(--text);
}

.igloue-calendar-nav {
  width: 32px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--blue-dark);
  cursor: pointer;
}

.igloue-calendar-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.igloue-calendar-weekdays,
.igloue-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.igloue-calendar-weekdays {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
}

.igloue-calendar-grid {
  grid-auto-rows: 32px;
  gap: 2px;
}

.igloue-calendar-empty {
  height: 32px;
}

.igloue-calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 32px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}

.igloue-calendar-day:hover:not(:disabled):not(.is-start):not(.is-end) {
  border-color: var(--tan);
  background: #fffaf4;
}

.igloue-calendar-day.is-past {
  background: #f4f5f6;
  color: #b0b8bd;
}

.igloue-calendar-day.is-unavailable {
  cursor: not-allowed;
}

.igloue-calendar-day.is-today {
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue-dark);
}

.igloue-calendar-day.is-today small {
  position: absolute;
  bottom: 2px;
  font-size: 0.48rem;
  line-height: 1;
  color: var(--blue);
}

.igloue-calendar-day.is-between {
  background: #fbf5ed;
  color: var(--text);
}

.igloue-calendar-day.is-start,
.igloue-calendar-day.is-end {
  border: 2px solid var(--tan);
  background: #fffaf4;
  color: var(--text);
  font-weight: 700;
}

.igloue-calendar-day.is-editing-endpoint {
  box-shadow: inset 0 0 0 1px var(--text);
}

.igloue-calendar-day:focus-visible {
  outline: 3px solid rgb(23 107 148 / 25%);
  outline-offset: 2px;
}

.igloue-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 0.62rem;
}

.igloue-calendar-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.igloue-calendar-legend i {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.calendar-legend-today {
  border: 2px solid var(--blue);
  background: #fff;
}

.calendar-legend-selected {
  border: 2px solid var(--tan);
  background: #fffaf4;
}
.assistant-date-selection-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 5px 0 2px;
}

.assistant-date-endpoint {
  min-width: 0;
  padding: 3px 5px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.assistant-date-endpoint:hover,
.assistant-date-endpoint:focus-visible {
  border-bottom-color: var(--tan);
}

.assistant-date-endpoint:focus-visible,
.assistant-date-clear:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.assistant-date-selection-summary span {
  display: block;
  margin-bottom: 1px;
  color: var(--text-muted);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.assistant-date-selection-summary strong {
  color: var(--text);
}

.assistant-date-arrow {
  margin: 0 -2px !important;
  color: var(--tan);
  font-size: 0.85rem !important;
}

.assistant-date-nights {
  color: #94653d !important;
  font-size: 0.7rem;
  white-space: nowrap;
}

.assistant-date-clear {
  margin-left: 2px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.64rem;
  cursor: pointer;
}

.assistant-date-clear:disabled {
  opacity: 0.4;
  cursor: default;
}

.assistant-date-feedback {
  min-height: 1em;
  margin: 2px 0 0 !important;
  color: #94653d !important;
  font-size: 0.65rem !important;
  line-height: 1.25 !important;
}

.assistant-date-feedback[hidden] {
  visibility: hidden;
}

.assistant-date-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(270px, 320px);
  gap: 12px;
  align-items: start;
}

.assistant-date-selection > .assistant-next {
  margin-top: 6px;
}

.assistant-date-side {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.assistant-service-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 5px;
}

.assistant-service-slots[hidden] {
  display: none;
}

.assistant-slot-group {
  min-width: 0;
  padding-top: 5px;
  border-top: 2px solid var(--tan);
}

.assistant-slot-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.assistant-slot-heading strong {
  color: var(--text);
  font-size: 0.7rem;
}

.assistant-slot-heading span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-slot-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.assistant-slot-option {
  min-width: 0;
  min-height: 27px;
  padding: 4px 3px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  cursor: pointer;
}

.assistant-slot-option.is-selected,
.assistant-slot-option[aria-pressed="true"] {
  border: 2px solid var(--tan);
  background: #fff;
}

.assistant-slot-option:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.assistant-slot-empty,
.assistant-slot-feedback {
  color: var(--text-muted) !important;
  font-size: 0.6rem !important;
  line-height: 1.25 !important;
}

.assistant-slot-empty {
  grid-column: 1 / -1;
  margin: 2px 0 !important;
}

.assistant-slot-feedback {
  margin: 0 !important;
}

.assistant-slot-feedback[hidden] {
  display: none;
}

.assistant-express-option {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.assistant-express-option:has(input:checked) {
  border: 2px solid var(--tan);
  background: #ffffff;
}

.assistant-express-option.is-disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.78;
}

.assistant-express-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.assistant-express-option:has(input:focus-visible) {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}

.assistant-express-icon {
  --express-speed-shift: 0px;
  width: 28px;
  height: 28px;
  display: block;
}

.assistant-express-copy {
  min-width: 0;
}

.assistant-express-copy strong,
.assistant-express-copy small {
  display: block;
}

.assistant-express-copy strong {
  font-size: 0.72rem;
  line-height: 1.2;
}

.assistant-express-copy small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.58rem;
  line-height: 1.3;
}

.assistant-express-price {
  color: #94653d;
  font-size: 0.7rem;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .assistant-slot-option:hover {
    border-color: var(--tan);
  }

  .assistant-express-option:not(.is-disabled):hover {
    border-color: var(--tan);
  }

  .assistant-express-option:not(.is-disabled):hover
    .assistant-express-icon {
    --express-speed-shift: 1.5px;
  }
}

@media (max-width: 640px) {
  .assistant-date-workspace {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .assistant-date-side {
    gap: 7px;
  }

  .assistant-service-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-slot-option {
    min-height: 40px;
    font-size: 0.68rem;
  }

  .assistant-express-option {
    margin-top: 2px;
  }

  .igloue-calendar-day {
    height: 42px;
  }

  .igloue-calendar-grid {
    grid-auto-rows: 42px;
  }

  .igloue-calendar-empty {
    height: 42px;
  }

  .assistant-area-range {
    height: 52px;
  }

  .assistant-area-range::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
    margin-top: -13px;
  }

  .assistant-area-range::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}
