/* Only the Spatial site uses the original room and its light booking sheet. */
html[data-brand-accent]:not([data-site-template]) {
  .subscription-shell { --plan-green: var(--brand-ink-text); }

  :is(.contact-cta, .subscription-feature__button, .section-cta__button--primary, .area-submit,
      .area-result__action, .appointment-primary, .checkout-offer__action, .subscription-summary__cta,
      .payment-subscription-offer__cta, .payment-primary, .payment-complete__close):not(:disabled),
  .appointment-primary--unlocking:disabled {
    background: var(--brand-cta-bg);
    color: var(--brand-cta-fg);
    border-color: var(--brand-border);
  }
  :is(.contact-cta, .subscription-feature__button, .section-cta__button--primary, .area-submit,
      .area-result__action, .appointment-primary, .checkout-offer__action, .subscription-summary__cta,
      .payment-subscription-offer__cta, .payment-primary, .payment-complete__close):enabled:is(:hover, :focus-visible),
  a.area-result__action:is(:hover, :focus-visible) {
    background: var(--brand-cta-hover);
    color: var(--brand-cta-fg);
  }
  .appointment-primary--countdown::before { background: var(--brand-cta-hover); }
  .appointment-primary--unlocking::before { background: var(--brand-cta-fg); }

  /* The photo can be light or dark. A keyline keeps even a black CTA legible over it. */
  .contact-card .contact-cta, .subscription-feature__button, .section-cta__button--primary, .area-submit {
    box-shadow: inset 0 0 0 1px var(--brand-border), 0 0 0 1px var(--brand-tint);
  }
  .hotspot::before { background: var(--brand-cta-bg); box-shadow: 0 0 0 1px var(--brand-cta-fg); }
  .hotspot:is(:hover, :focus-visible, .is-active)::after { border-color: var(--brand-tint); }
  .subscription-feature__panel { background: #191a18; }
  .subscription-feature__eyebrow, .subscription-feature__rate { color: var(--brand-tint); }
  .subscription-feature__copy { color: #eeede8; }
  .site-section:not(.payment-section) .section-kicker, .payment-methods-panel__eyebrow { color: var(--brand-ink-text); }
  .payment-section .section-kicker, .section-cta__eyebrow { color: var(--brand-tint); opacity: 1; }
  .proof-item :is(i, svg) { color: var(--brand-ink-text); }
  .proof-item__dot { background: var(--brand-border); }
  .site-footer a:is(:hover, :focus-visible) { color: var(--brand-tint); }
  body.is-beyond-hero :is(.contact-phone, .index-toggle, .header-account):is(:hover, :focus-visible),
  .contact-phone-menu__action:is(:hover, :focus-visible) {
    background: var(--brand-tint);
    color: var(--brand-ink-text);
    border-color: var(--brand-border);
  }
  .contact-phone:is(:hover, :focus-visible) svg { color: inherit; }

  .appointment-progress__track, .subscription-progress { background: var(--brand-tint); }
  .appointment-progress__fill, .subscription-progress::after {
    background: var(--brand-cta-bg);
    box-shadow: inset 0 -1px var(--brand-border);
  }
  .appointment-calendar-day:is(:hover, :focus-visible, [aria-pressed="true"]),
  [aria-pressed="true"] > .subscription-marker {
    background: var(--brand-cta-bg);
    color: var(--brand-cta-fg);
    border-color: var(--brand-border);
  }
  .appointment-calendar-day:is(:hover, :focus-visible, [aria-pressed="true"]) > span { color: inherit; }
  .appointment-calendar-day:hover { background: var(--brand-cta-hover); }
  [aria-pressed="true"] > .subscription-marker::after { border-color: currentColor; }
  .subscription-option[aria-pressed="true"] .subscription-marker::after { background: currentColor; }

  :is(.appointment-choice, .appointment-slot, .subscription-option, .subscription-device,
      .payment-option, .payment-provider, .appointment-suggestion__change):is(:enabled:hover, :focus-visible, [aria-pressed="true"]),
  .subscription-modal .subscription-brands .appointment-choice[aria-pressed="true"] {
    border-color: var(--brand-border);
    box-shadow: inset 0 0 0 1px var(--brand-border);
    background: var(--brand-tint);
    color: var(--brand-ink-text);
  }
  .appointment-choice:is(:enabled:hover, :focus-visible, [aria-pressed="true"]) .appointment-choice__label { color: inherit; }
  :is(.appointment-choice--equipment, .appointment-slot, .payment-option, .payment-provider)::after {
    border-color: var(--brand-border);
  }
  .appointment-choice--visual:is(:enabled:hover, :focus-visible, [aria-pressed="true"]) {
    outline: 2px solid var(--brand-border);
    outline-offset: 2px;
  }

  /* Both forms use the room menu's SVG symbols. Keep the product photos intact
     and put the label on an opaque surface for contrast on every photograph. */
  .spatial-device-icon {
    flex: none;
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
  }
  .appointment-choice--visual .appointment-choice__label {
    display: flex;
    align-items: flex-start;
    gap: .35em;
    max-width: 100%;
    padding: .36em .48em;
    border-radius: .45rem;
    background: white;
    color: var(--brand-ink-text);
    text-shadow: none;
    overflow-wrap: anywhere;
  }
  .appointment-choice--visual:is(:enabled:hover, :focus-visible, [aria-pressed="true"]) .appointment-choice__label {
    background: var(--brand-tint);
    color: var(--brand-ink-text);
  }
  .subscription-device__name:has(.spatial-device-icon) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25em .4em;
    overflow-wrap: anywhere;
    color: var(--brand-ink-text);
  }
  .subscription-device__name small { flex-basis: 100%; }

  :is(.appointment-choice__price, .appointment-slot__price, .appointment-suggestion__price strong,
      .appointment-intent-icon, .subscription-summary__price strong, .appointment-back, .subscription-link,
      .appointment-manual-address, .checkout-offer__link, .checkout-offer__rate, .checkout-offer__benefit,
      .checkout-offer__comparison strong, .visit-cost__price strong, .visit-cost__details summary,
      .visit-cost__discount > div:last-child :is(dt, dd), .review-bar__saving) { color: var(--brand-ink-text); }
  :is(.subscription-visit-deal, .checkout-offer, .visit-cost__now, .visit-cost__details) {
    background: var(--brand-tint);
    border-color: var(--brand-border);
  }
  .checkout-offer__mark, .payment-option__icon { background: #fff; color: var(--brand-ink-text); }
  .payment-primary :is(.payment-ideal__content span, .payment-primary__arrow, .payment-fee) { color: inherit; }
  .payment-primary--ideal .payment-ideal__logo { background: white; border-radius: .35rem; padding: .25rem; }
  .payment-subscription-offer__mark, .payment-complete__mark, .payment-story__icon,
  .appointment-assurance__icon { background: var(--brand-tint); color: var(--brand-ink-text); }
  .payment-subscription-offer__disclosure svg,
  .payment-subscription-offer--claimed .payment-subscription-offer__reassurance { color: var(--brand-tint); }
  .appointment-manual-address:is(:hover, :focus-visible) { opacity: 1; }
  :is(.subscription-close, .detail-close, .appointment-close, .subscription-stepper button,
      .section-cta__button:not(.section-cta__button--primary)):enabled:is(:hover, :focus-visible) {
    background: var(--brand-tint);
    color: var(--brand-ink-text);
    border-color: var(--brand-border);
  }
  :is(.visit-cost__now, .visit-cost__after h3, .visit-cost__materials) svg { color: var(--brand-ink-text); }
  .checkout-offer__consent input { accent-color: var(--brand-cta-bg); }
  .appointment-map__origin, .appointment-map__pin {
    background: var(--brand-cta-bg);
    box-shadow: 0 0 0 2px var(--brand-border);
  }
  .appointment-map__pin::after { background: var(--brand-cta-fg); }
  :is(.appointment-shell, .subscription-modal, .site-header, .section-cta, .contact-card,
      .area-form-panel, .subscription-feature) :is(button, a, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--brand-border);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px white;
  }
}
