/* H2O Hand Car Wash: unified public + staff portal design system */

:root {
  --h2o-primary: #3c5889;
  --h2o-primary-dark: #2f4669;
  --h2o-primary-darker: #243552;
  --h2o-primary-mid: #4d6a99;
  --h2o-secondary: #d8e6ff;
  --h2o-secondary-muted: #c5d8f7;
  --h2o-on-primary: #ffffff;
  --h2o-blue: var(--h2o-primary);
  --h2o-blue-dark: var(--h2o-primary-dark);
  --h2o-blue-mid: var(--h2o-primary-mid);
  --h2o-blue-light: var(--h2o-secondary);
  --h2o-cyan: #5a8fd4;
  --h2o-gold: var(--h2o-primary);
  --h2o-gold-dark: var(--h2o-primary-dark);
  --h2o-on-gold: var(--h2o-on-primary);
  --h2o-red: var(--h2o-primary-dark);
  --h2o-red-dark: var(--h2o-primary-darker);
  --h2o-accent-shadow: rgba(60, 88, 137, 0.35);
  --h2o-accent-shadow-lg: rgba(60, 88, 137, 0.4);
  --h2o-success: #059669;
  --h2o-success-bg: #ecfdf5;
  --h2o-bg: var(--h2o-secondary);
  --h2o-bg-elevated: #ffffff;
  --h2o-surface: #ffffff;
  --h2o-surface-alt: #ffffff;
  --h2o-text: #1a2740;
  --h2o-muted: #5a6d8a;
  --h2o-border: rgba(60, 88, 137, 0.18);
  --h2o-border-strong: rgba(60, 88, 137, 0.32);
  --h2o-input-border: rgba(60, 88, 137, 0.4);
  --h2o-radius-sm: 8px;
  --h2o-radius: 14px;
  --h2o-radius-lg: 20px;
  --h2o-shadow-sm: 0 1px 2px rgba(60, 88, 137, 0.08);
  --h2o-shadow: 0 8px 24px rgba(60, 88, 137, 0.12);
  --h2o-shadow-lg: 0 20px 48px rgba(60, 88, 137, 0.16);
  --h2o-max: 1180px;
  --h2o-font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --h2o-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --h2o-header-h: 128px;
  --h2o-chrome-bg: var(--h2o-primary);
  --h2o-logo-bar-img-h: calc(108px - 0.35rem);
  --h2o-utility-h: 2.5rem;
  --h2o-input-control-size: 3.05rem;
  /* Typography scale (homepage = source of truth for public + portal) */
  --h2o-text-base: 1rem;
  --h2o-text-lead: 1.0625rem;
  --h2o-text-subtitle: 1.05rem;
  --h2o-text-body-sm: 0.9375rem;
  --h2o-text-small: 0.875rem;
  --h2o-text-caption: 0.8125rem;
  --h2o-text-utility: 0.8125rem;
  --h2o-text-h1: clamp(2rem, 5vw, 2.75rem);
  --h2o-text-h2: clamp(1.5rem, 3vw, 1.875rem);
  --h2o-text-h2-carousel: clamp(1.75rem, 4vw, 2.5rem);
  --h2o-text-h3: 1.125rem;
  --h2o-text-h3-compact: 1.0625rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  background-color: var(--h2o-chrome-bg);
  min-height: 100%;
  overscroll-behavior: none;
}

body.h2o-site {
  margin: 0;
  min-height: 100%;
  font-family: var(--h2o-font);
  font-size: var(--h2o-text-base);
  background-color: var(--h2o-chrome-bg);
  color: var(--h2o-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 8px 16px;
  background: var(--h2o-bg-elevated);
  color: var(--h2o-text);
  border-radius: var(--h2o-radius-sm);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--h2o-shadow-sm);
  transition: top 0.2s;
  -webkit-user-select: text;
  user-select: text;
}

.skip-link:focus {
  top: 16px;
}

/* Allow selection only on readable/copyable text (not chrome, buttons, or controls) */
body.h2o-site :where(
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  li,
  dt,
  dd,
  td,
  th,
  pre,
  code,
  blockquote,
  figcaption,
  textarea,
  select,
  input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="image"]),
  [contenteditable="true"],
  .h2o-hero__lead,
  .h2o-portal-page__lead,
  .h2o-portal-note,
  .h2o-portal-error,
  .h2o-contact-thanks,
  .h2o-portal-feedback,
  .h2o-mkt-template-note,
  .h2o-mkt-token-hint,
  .h2o-field-hint,
  .h2o-table-action-muted,
  label:not(.h2o-field--check):not(.h2o-mkt-preview-switch),
  .h2o-stat strong,
  .h2o-stat span
) {
  -webkit-user-select: text;
  user-select: text;
}

body.h2o-site a:not(.h2o-btn):not(.h2o-link-btn):not(.h2o-logo):not(.h2o-footer__logo) {
  -webkit-user-select: text;
  user-select: text;
}

body.h2o-site button,
body.h2o-site .h2o-btn,
body.h2o-site .h2o-link-btn,
body.h2o-site .h2o-mkt-token-chip,
body.h2o-site .h2o-portal-nav a,
body.h2o-site .h2o-utility a,
body.h2o-site .h2o-logo,
body.h2o-site label.h2o-field--check,
body.h2o-site .h2o-mkt-preview-switch {
  -webkit-user-select: none;
  user-select: none;
}

a {
  color: var(--h2o-blue-mid);
  text-decoration: none;
  transition: color var(--h2o-transition);
}

a:hover {
  color: var(--h2o-red);
}

.wrap {
  width: min(100% - 2.5rem, var(--h2o-max));
  margin-inline: auto;
}

/* Top utility strip (same on home, public pages, and staff portal) */
.h2o-utility {
  position: sticky;
  top: 0;
  z-index: 110;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--h2o-primary-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--h2o-text-utility);
  font-weight: 500;
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-utility__inner.wrap {
  width: max-content;
  max-width: 100%;
  margin-inline: 0;
}

.h2o-utility__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  width: max-content;
  max-width: 100%;
  padding: 0.5rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.h2o-utility__inner::-webkit-scrollbar {
  display: none;
}

.h2o-utility__inner > a,
.h2o-utility__sep {
  flex-shrink: 0;
  white-space: nowrap;
}

.h2o-utility a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}

.h2o-utility a:hover {
  opacity: 1;
  color: #fff;
  text-decoration: none;
}

.h2o-utility__sep {
  opacity: 0.35;
  user-select: none;
}

/* Header / logo bar (scrolls with page; utility bar stays sticky) */
.h2o-header {
  background: var(--h2o-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Page heroes: logo header + hero band (utility strip stays home-style above) */
.h2o-site:has(.h2o-page-hero) .h2o-header,
.h2o-site.h2o-has-page-hero .h2o-header {
  border-bottom: none;
  margin-bottom: 0;
  box-shadow: none;
}

.h2o-site:has(.h2o-page-hero) .h2o-page-hero,
.h2o-site.h2o-has-page-hero .h2o-page-hero {
  margin-block: 0;
  border: none;
}

.h2o-site:has(.h2o-page-hero) .h2o-header + .h2o-page-hero,
.h2o-site.h2o-has-page-hero .h2o-header + .h2o-page-hero {
  margin-top: 0;
}

.h2o-header__inner.wrap {
  width: min(100% - 1rem, var(--h2o-max));
}

.h2o-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  min-height: var(--h2o-header-h);
}

.h2o-header--centered .h2o-header__inner {
  justify-content: center;
}

.h2o-header--centered .h2o-logo {
  justify-content: center;
}

.h2o-header--centered .h2o-logo__img {
  object-position: center;
  margin-inline: auto;
}

/* Portal header menu (staff internal pages) */
body.h2o-portal .h2o-header--has-menu .h2o-header__inner {
  position: relative;
  justify-content: center;
}

.h2o-header-menu {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
}

.h2o-header-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--h2o-on-primary);
  cursor: pointer;
}

.h2o-header-menu__toggle:hover,
.h2o-header-menu__toggle:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.h2o-header-menu__icon {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  overflow: hidden;
  text-indent: -9999px;
}

.h2o-header-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 11rem;
  padding: 0.35rem 0;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius, 0.5rem);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.h2o-header-menu__item {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 0;
  background: transparent;
  color: var(--h2o-text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.h2o-header-menu__item:hover,
.h2o-header-menu__item:focus-visible {
  background: var(--h2o-surface-tint, rgba(0, 0, 0, 0.04));
  outline: none;
}

.h2o-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  color: var(--h2o-on-primary);
}

.h2o-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.h2o-logo__img {
  height: var(--h2o-logo-bar-img-h);
  width: auto;
  max-width: min(400px, 54vw);
  object-fit: contain;
  object-position: center left;
  display: block;
}

.h2o-logo__img--footer {
  height: 4.875rem;
  width: auto;
  max-width: 16.5rem;
  object-fit: contain;
  display: block;
}

.h2o-logo__tagline--portal {
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--h2o-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  margin-left: 0.35rem;
}

.h2o-logo__text {
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.h2o-logo__tagline {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--h2o-muted);
  margin-top: 0.1rem;
  letter-spacing: 0;
}

.h2o-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.h2o-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background var(--h2o-transition), color var(--h2o-transition);
}

.h2o-nav a:hover,
.h2o-nav a[aria-current="page"] {
  background: rgba(216, 230, 255, 0.18);
  color: var(--h2o-secondary);
  text-decoration: none;
}

.h2o-nav__cta {
  background: var(--h2o-gold) !important;
  color: var(--h2o-on-gold) !important;
  box-shadow: 0 4px 14px var(--h2o-accent-shadow);
}

.h2o-nav__cta:hover {
  background: var(--h2o-gold-dark) !important;
  color: var(--h2o-on-gold) !important;
  transform: translateY(-1px);
}

.h2o-main {
  display: block;
  background: var(--h2o-bg);
}

.h2o-main > .h2o-promo-banner + .h2o-section {
  padding-top: 0;
}

/* Hero carousel */
.h2o-carousel {
  position: relative;
  background: var(--h2o-secondary);
  overflow: hidden;
  border-radius: 0;
}

.h2o-carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.h2o-carousel__slide {
  flex: 0 0 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .h2o-carousel__slide {
    grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
    min-height: clamp(360px, 38vw, 560px);
    align-items: center;
  }
}

.h2o-carousel__media {
  position: relative;
  width: min(100%, 400px);
  max-width: 100%;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: var(--h2o-primary-darker);
}

@media (min-width: 768px) {
  .h2o-carousel__media {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    align-self: center;
    justify-self: stretch;
  }
}

.h2o-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.h2o-carousel__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  text-align: left;
  padding: 1.75rem 1.5rem 2.25rem;
  background: var(--h2o-secondary);
  color: var(--h2o-primary);
}

@media (min-width: 768px) {
  .h2o-carousel__copy {
    padding: 2.5rem max(1.5rem, calc((100% - 34rem) / 2)) 2.75rem;
    min-height: 0;
  }
}

.h2o-carousel__copy > * {
  max-width: 34rem;
  width: 100%;
}

.h2o-carousel__copy h2 {
  margin: 0 0 1rem;
  font-size: var(--h2o-text-h2-carousel);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--h2o-primary);
}

.h2o-carousel__copy p {
  margin: 0 0 1.25rem;
  color: var(--h2o-primary-dark);
  font-size: var(--h2o-text-lead);
  line-height: 1.55;
  max-width: 42ch;
}

.h2o-carousel__copy ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--h2o-primary-dark);
  line-height: 1.5;
}

.h2o-carousel__copy .h2o-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.h2o-carousel__controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.h2o-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(60, 88, 137, 0.28);
  cursor: pointer;
  padding: 0;
  transition: transform var(--h2o-transition), background var(--h2o-transition);
}

.h2o-carousel__dot.is-active {
  background: var(--h2o-gold);
  transform: scale(1.2);
}

.h2o-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: var(--h2o-surface);
  color: var(--h2o-primary-dark);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--h2o-shadow);
  transition: transform var(--h2o-transition), box-shadow var(--h2o-transition);
}

.h2o-carousel__arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--h2o-shadow-lg);
}

.h2o-carousel__arrow--prev {
  left: 1rem;
}

.h2o-carousel__arrow--next {
  right: 1rem;
}

/* Home promo row: full-width band, constrained card grid */
.h2o-promo-band {
  width: 100%;
}

.h2o-promo-row {
  display: grid;
  gap: 1rem;
  padding: 2rem 1.25rem;
  width: min(100% - 2.5rem, var(--h2o-max));
  max-width: var(--h2o-max);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .h2o-promo-row {
    grid-template-columns: repeat(3, 1fr);
    padding: 2.5rem 1.25rem;
  }
}

.h2o-promo-tile {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--h2o-shadow-sm);
}

@media (min-width: 600px) {
  .h2o-promo-tile {
    grid-template-columns: minmax(200px, 38%) 1fr;
  }
}

.h2o-promo-tile__img {
  min-height: 160px;
  overflow: hidden;
}

@media (min-width: 768px) {
.h2o-promo-tile__img {
    min-height: 100%;
  }
}

.h2o-promo-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.h2o-promo-tile__body {
  padding: 1.25rem 1.35rem;
}

.h2o-promo-tile__body h3 {
  margin: 0 0 0.4rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h3-compact);
  font-weight: 700;
}

.h2o-promo-tile__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--h2o-muted);
  line-height: 1.5;
}

.h2o-promo-tile__link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--h2o-red);
  font-size: 0.8125rem;
}

/* Page heroes */
.h2o-page-hero {
  background: var(--h2o-primary);
  color: #fff;
  padding: 1.25rem 0 1.35rem;
}

.h2o-page-hero h1 {
  margin: 0 0 0.4rem;
  font-size: var(--h2o-text-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.h2o-page-hero .h2o-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 52ch;
  font-size: var(--h2o-text-lead);
}

.h2o-page-hero--split .h2o-page-hero__layout {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.h2o-page-hero--split .h2o-page-hero__copy {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 8rem);
}

.h2o-page-hero--split .h2o-page-hero__copy .h2o-hero__lead {
  max-width: 52ch;
}

.h2o-page-hero--split .h2o-page-hero__actions {
  flex: 0 0 auto;
  margin: 0;
  align-self: flex-end;
}

.h2o-page-hero--split .h2o-page-hero__actions .h2o-btn {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .h2o-page-hero--split .h2o-page-hero__layout {
    gap: 0.75rem;
  }

  .h2o-page-hero--split .h2o-page-hero__copy {
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 6.75rem);
  }

  .h2o-page-hero--split .h2o-page-hero__copy .h2o-hero__lead {
    max-width: none;
  }
}

.h2o-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.h2o-hero__lead {
  color: var(--h2o-muted);
  font-size: var(--h2o-text-lead);
  max-width: 52ch;
  margin: 0 0 1.25rem;
}

.h2o-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.h2o-actions--spaced {
  margin-top: 1rem;
}

.h2o-section .h2o-portal-links {
  margin-top: 1rem;
}

.h2o-cta-row {
  margin-top: 1.5rem;
  text-align: center;
}

.h2o-section-title--left {
  text-align: left;
}

.h2o-section--flush {
  padding-top: 0;
}

/* Buttons */
.h2o-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--h2o-transition), box-shadow var(--h2o-transition), background var(--h2o-transition), color var(--h2o-transition), border-color var(--h2o-transition);
}

.h2o-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.h2o-btn--primary {
  background: var(--h2o-gold);
  color: var(--h2o-on-gold);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--h2o-accent-shadow);
}

.h2o-btn--primary:hover {
  background: var(--h2o-gold-dark);
  color: var(--h2o-on-gold);
  box-shadow: 0 8px 24px var(--h2o-accent-shadow-lg);
}

.h2o-btn--ghost {
  border-color: var(--h2o-border-strong);
  color: var(--h2o-blue-dark);
  background: var(--h2o-surface);
}

.h2o-btn--ghost:hover {
  background: var(--h2o-blue-light);
  border-color: var(--h2o-blue);
  color: var(--h2o-blue);
}

.h2o-btn[hidden],
button.h2o-btn[hidden] {
  display: none !important;
}

.h2o-btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  width: 100%;
}

.h2o-btn:disabled,
.h2o-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.h2o-btn--primary:disabled,
.h2o-btn--primary[disabled] {
  background: var(--h2o-muted, #9aa5b1);
  color: var(--h2o-surface, #fff);
}

.h2o-btn--ghost:disabled,
.h2o-btn--ghost[disabled] {
  border-color: var(--h2o-border);
  color: var(--h2o-muted, #9aa5b1);
  background: var(--h2o-surface-muted, #f4f6fa);
}

/* Sections */
.h2o-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

#wash-menu {
  scroll-margin-top: var(--h2o-utility-h-live, var(--h2o-utility-h));
}

.h2o-section--alt {
  background: var(--h2o-surface-alt);
  border-block: 1px solid var(--h2o-border);
}

.h2o-band--surface {
  background: var(--h2o-surface);
}

.h2o-band--tint {
  background: var(--h2o-bg);
}

.h2o-main > .h2o-section:last-of-type {
  padding-bottom: 2rem;
}

.h2o-main > .h2o-section:last-of-type .h2o-section-title {
  margin-bottom: 1.25rem;
}

.h2o-section h1 {
  margin-top: 0;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2o-section h2 {
  margin-top: 0;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2o-section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.h2o-section-title h2 {
  font-size: var(--h2o-text-h2);
  margin: 0 0 0.5rem;
}

.h2o-section-title p {
  margin: 0;
  color: var(--h2o-muted);
  font-size: var(--h2o-text-subtitle);
}

.h2o-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.h2o-card {
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: 0;
  padding: 0;
  box-shadow: var(--h2o-shadow-sm);
  overflow: hidden;
}

.h2o-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.h2o-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.h2o-card__body {
  padding: 1.35rem 1.5rem;
}

.h2o-card:not(:has(.h2o-card__img)) {
  padding: 1.35rem 1.5rem;
}

.h2o-card h3 {
  margin: 0 0 0.4rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h3);
  font-weight: 700;
}

.h2o-card p {
  margin: 0;
  color: var(--h2o-muted);
  font-size: var(--h2o-text-body-sm);
}

.h2o-card--highlight {
  border-color: var(--h2o-gold);
  box-shadow: 0 0 0 1px var(--h2o-gold), var(--h2o-shadow);
}

.h2o-card--highlight::before {
  content: "Popular";
  display: block;
  padding: 0.35rem 1rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--h2o-gold);
  color: var(--h2o-on-gold);
}

.h2o-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--h2o-red);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.h2o-package-lines {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.h2o-package-lines li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--h2o-border);
  padding-top: 0.45rem;
  color: var(--h2o-text);
  font-size: var(--h2o-text-body-sm);
}

.h2o-package-lines span {
  display: grid;
  gap: 0.15rem;
}

.h2o-package-lines small {
  color: var(--h2o-muted);
  line-height: 1.45;
}

.h2o-package-lines__label {
  color: var(--h2o-text);
}

.h2o-package-lines__price {
  color: var(--h2o-red);
  white-space: nowrap;
}

.h2o-service-menu {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  margin-top: 2rem;
}

.h2o-service-menu__card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  box-shadow: var(--h2o-shadow-sm);
  padding: 1.35rem 1.5rem 1.75rem;
  overflow: visible;
  min-width: 0;
}

.h2o-service-menu__card--wide {
  grid-column: span 2;
}

.h2o-service-menu__card h3 {
  margin: 0 0 0.5rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h3);
}

.h2o-service-menu__card p {
  margin: 0 0 0.85rem;
  color: var(--h2o-muted);
}

.h2o-service-prices {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h2o-service-prices li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  align-items: start;
  padding: 0.55rem 0;
  border-top: 1px solid var(--h2o-border);
}

.h2o-service-prices span {
  color: var(--h2o-text);
  min-width: 0;
}

.h2o-service-prices strong {
  color: var(--h2o-red);
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@container (min-width: 20rem) {
  .h2o-service-prices li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
  }

  .h2o-service-prices strong {
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

.h2o-service-note {
  margin: auto 0 0 !important;
  padding-top: 0.85rem;
  padding-bottom: 0.15rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.h2o-service-packages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.h2o-service-package {
  padding: 1rem 0;
  border-top: 1px solid var(--h2o-border);
}

.h2o-service-package:first-child {
  padding-top: 0;
  border-top: none;
}

.h2o-service-package:last-child {
  padding-bottom: 0.25rem;
}

.h2o-service-package__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  align-items: start;
}

.h2o-service-package__name {
  color: var(--h2o-blue-dark);
  font-weight: 700;
  font-size: var(--h2o-text-h3-compact);
}

.h2o-service-package__price {
  color: var(--h2o-red);
  font-weight: 800;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@container (min-width: 26rem) {
  .h2o-service-package__head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
  }

  .h2o-service-package__price {
    text-align: right;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

.h2o-service-package__desc {
  margin: 0.45rem 0 0;
  color: var(--h2o-muted);
  font-size: var(--h2o-text-small);
  line-height: 1.45;
}

@media (max-width: 700px) {
  .h2o-service-menu__card--wide {
    grid-column: auto;
  }
}

.h2o-about__tagline {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--h2o-gold);
  letter-spacing: 0.02em;
}

.h2o-about-section .h2o-about {
  padding-inline: max(1.25rem, calc((100vw - min(100% - 2.5rem, var(--h2o-max))) / 2));
}

.h2o-about__copy {
  width: 100%;
  max-width: min(100% - 2.5rem, var(--h2o-max));
}

/* Promo banner (matches surface band below home carousel) */
.h2o-promo-banner {
  background: var(--h2o-surface);
  color: var(--h2o-text);
  text-align: center;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-promo-banner strong {
  color: var(--h2o-blue-dark);
}

.h2o-promo-banner a {
  color: var(--h2o-primary-dark);
  text-decoration: underline;
  font-weight: 700;
}

.h2o-big-deal-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
}

.h2o-big-deal-preview-wrap .h2o-promo-banner {
  border: 1px solid var(--h2o-border);
  border-radius: 0.5rem;
}

/* Footer */
.h2o-footer {
  background: var(--h2o-chrome-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.75rem;
  margin-top: 0;
}

.h2o-footer a {
  color: rgba(255, 255, 255, 0.95);
}

.h2o-footer a:hover {
  color: var(--h2o-secondary);
}

.h2o-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.h2o-footer__grid h3 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

.h2o-footer__grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h2o-footer__grid li {
  margin-bottom: 0.5rem;
}

.h2o-footer__grid p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.h2o-footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 0.85rem;
  text-decoration: none;
}

.h2o-footer__logo:hover {
  opacity: 0.9;
}

.h2o-footer__tagline {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--h2o-secondary);
  font-size: 1rem;
}

.h2o-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.85;
}

/* Legal pages */
.h2o-legal-copy {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-legal-copy h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.h2o-legal-copy h2:first-of-type {
  margin-top: 1rem;
}

.h2o-legal-copy p {
  margin: 0 0 1rem;
  color: var(--h2o-text);
}

.h2o-legal-copy ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--h2o-text);
}

.h2o-legal-copy li {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}

.h2o-legal-copy li:last-child {
  margin-bottom: 0;
}

/* Forms */
.h2o-contact-card {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: 0;
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-contact-form {
  display: grid;
  gap: 1.25rem;
}

.h2o-legal-acceptance {
  display: grid;
  gap: 0.75rem;
}

.h2o-legal-acceptance .h2o-field--check {
  align-items: flex-start;
}

.h2o-legal-acceptance .h2o-field--check > span {
  font-weight: 500;
  line-height: 1.45;
}

.h2o-field {
  display: flex;
  flex-direction: column;
}

.h2o-field label,
.h2o-field > span:first-child {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--h2o-text);
  font-size: 0.875rem;
}

.h2o-field input,
.h2o-field textarea,
.h2o-field select {
  width: 100%;
  min-height: var(--h2o-input-control-size);
  padding: 0.7rem 0.9rem;
  border-radius: var(--h2o-radius-sm);
  border: 1px solid var(--h2o-input-border);
  background: var(--h2o-surface);
  color: var(--h2o-text);
  font: inherit;
  transition: border-color var(--h2o-transition), box-shadow var(--h2o-transition);
}

.h2o-field input:focus,
.h2o-field textarea:focus,
.h2o-field select:focus {
  outline: none;
  border-color: var(--h2o-blue-mid);
  box-shadow: 0 0 0 3px rgba(60, 88, 137, 0.2);
}

.h2o-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.45rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath fill='%235a6d8a' d='M7 9.5 1.5 3h11z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.h2o-field--hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.h2o-field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
}

.h2o-field--check input {
  width: auto;
}

body.h2o-site input[type="checkbox"] {
  width: var(--h2o-input-control-size);
  height: var(--h2o-input-control-size);
  min-width: var(--h2o-input-control-size);
  min-height: var(--h2o-input-control-size);
  flex: 0 0 var(--h2o-input-control-size);
  margin: 0;
  accent-color: var(--h2o-primary);
}

.h2o-field textarea {
  min-height: 5rem;
  resize: vertical;
}

.h2o-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--h2o-muted, #5c6b7a);
  line-height: 1.45;
}

.h2o-plate-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.h2o-plate-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.h2o-plate-entry .h2o-plate-input {
  flex: 1 1 10rem;
  min-width: 0;
}

.h2o-plate-actions {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.h2o-plate-scan-btn,
.h2o-plate-library-btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

.h2o-plate-scan-status {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--h2o-blue-mid, #3c5889);
}

.h2o-plate-scan-status--error {
  color: #b42318;
}

.h2o-plate-preview {
  margin-top: 0.65rem;
  border-radius: var(--h2o-radius-sm);
  overflow: hidden;
  border: 1px solid var(--h2o-border);
  max-width: 20rem;
}

.h2o-plate-preview__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.h2o-portal-feedback,
.h2o-portal-feedback--success,
.h2o-portal-feedback--error {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0;
  border: none;
  background: none;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--h2o-text, #1a1a1a);
}

.h2o-portal-note[hidden],
.h2o-portal-feedback[hidden],
.h2o-portal-error[hidden],
.h2o-contact-thanks[hidden] {
  display: none !important;
}

/* Legacy save/status lines (plain text below actions) */
.h2o-contact-thanks,
.h2o-portal-error {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0;
  border: none;
  background: none;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--h2o-text, #1a1a1a);
}

.h2o-purchase-form > .h2o-portal-feedback,
.h2o-vehicle-form > .h2o-portal-feedback,
.h2o-contact-form > .h2o-portal-feedback,
.h2o-marketing-campaign-form > .h2o-portal-feedback {
  flex: 0 0 100%;
  max-width: 100%;
}

.h2o-portal-note {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--h2o-blue-dark);
  font-size: 0.9rem;
  line-height: 1.55;
}

.h2o-portal-note::before {
  content: "i";
  display: inline-grid;
  place-items: center;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2em;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.625rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.h2o-portal-note strong {
  color: inherit;
}

/* Flex forms already space children with gap */
body.h2o-portal .h2o-purchase-form > .h2o-portal-note,
body.h2o-portal .h2o-contact-form > .h2o-portal-note,
body.h2o-portal .h2o-marketing-campaign-form > .h2o-portal-note {
  margin: 0;
}

/* Portal confirm / alert dialogs (replaces window.alert / window.confirm) */
body.h2o-dialog-open {
  overflow: hidden;
}

.h2o-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.h2o-dialog[hidden] {
  display: none;
}

.h2o-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.h2o-dialog__panel {
  position: relative;
  width: min(100%, 28rem);
  margin: 0;
  padding: 1.35rem 1.5rem 1.25rem;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius);
  box-shadow: var(--h2o-shadow-md);
}

.h2o-dialog__title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--h2o-text);
}

.h2o-dialog__body {
  margin: 0 0 1.15rem;
  color: var(--h2o-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.h2o-dialog__actions {
  justify-content: flex-end;
  margin: 0;
}

.h2o-locations-map {
  width: 100%;
  height: min(440px, 55vh);
  margin: 1.5rem 0 2rem;
  border-radius: var(--h2o-radius);
  border: 1px solid var(--h2o-border);
  box-shadow: var(--h2o-shadow-sm);
  z-index: 1;
}

.h2o-locations-map .leaflet-marker-icon {
  cursor: pointer;
}

.h2o-locations-grid {
  margin-top: 0.5rem;
}

.h2o-locations-grid .h2o-card--maps-link {
  cursor: pointer;
  transition: box-shadow var(--h2o-transition), border-color var(--h2o-transition);
}

.h2o-locations-grid .h2o-card--maps-link:hover,
.h2o-locations-grid .h2o-card--maps-link:focus-visible {
  border-color: var(--h2o-primary);
  box-shadow: var(--h2o-shadow);
}

/* Staff portal (shared design system) */
body.h2o-portal {
  --h2o-portal-content-max: 56rem;
  background-color: var(--h2o-chrome-bg);
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body.h2o-portal .h2o-portal-bar {
  top: 0;
}

body.h2o-portal .h2o-portal__main {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  background: var(--h2o-surface);
}

/* Internal pages: full white workspace (no tinted band / inset card chrome) */
body.h2o-portal .h2o-main > .h2o-section.h2o-band--tint {
  background: var(--h2o-surface);
  padding: 0;
}

body.h2o-portal .h2o-main > .h2o-section.h2o-band--tint:last-of-type {
  padding-bottom: 0;
}

body.h2o-portal .wrap.h2o-portal-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.h2o-portal .h2o-portal-page__card,
body.h2o-portal .h2o-portal-card {
  max-width: none;
  width: 100%;
  margin: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
  body.h2o-portal .wrap.h2o-portal-page {
    width: min(100% - 2.5rem, var(--h2o-portal-content-max));
    max-width: var(--h2o-portal-content-max);
    margin-inline: auto;
  }

  body.h2o-portal .wrap.h2o-portal-page:has(.h2o-portal-flow-card) {
    --h2o-portal-content-max: 42rem;
  }

  body.h2o-portal .wrap.h2o-portal-page:has(.h2o-portal-page__card--narrow),
  body.h2o-portal .wrap.h2o-portal-page:has(.h2o-portal-card--kiosk) {
    --h2o-portal-content-max: 30rem;
  }

  body.h2o-portal .h2o-portal-page__card,
  body.h2o-portal .h2o-portal-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
  }
}

body.h2o-portal .h2o-portal-page {
  margin-top: 0;
}

body.h2o-portal .h2o-section.h2o-band + .h2o-portal-page,
body.h2o-portal .h2o-page-hero + .h2o-main .h2o-portal-page,
body.h2o-portal .h2o-page-hero + .h2o-main .h2o-section .h2o-portal-page {
  margin-top: 0;
}

.h2o-portal-bar {
  background: var(--h2o-surface);
  border-bottom: 1px solid var(--h2o-border);
  box-shadow: var(--h2o-shadow-sm);
  position: sticky;
  top: var(--h2o-utility-h-live, var(--h2o-utility-h));
  z-index: 90;
  isolation: isolate;
}

.h2o-portal-bar .wrap {
  min-width: 0;
  overflow: hidden;
}

.h2o-portal-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.h2o-portal-nav::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.h2o-portal-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--h2o-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--h2o-text-utility);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--h2o-transition), color var(--h2o-transition), border-color var(--h2o-transition);
}

.h2o-portal-nav a.is-active,
.h2o-portal-nav a:hover {
  color: var(--h2o-blue-dark);
  background: var(--h2o-blue-light);
  border-color: var(--h2o-border);
  text-decoration: none;
}

.h2o-portal-nav a.is-active {
  background: var(--h2o-primary);
  color: var(--h2o-on-primary);
  border-color: var(--h2o-primary);
}

/* Staff portal tab pages (Sell Wash, Dashboard, Customers, Settings, Marketing) */
.h2o-portal-page {
  margin: 0 auto;
  font-size: var(--h2o-text-base);
}

.h2o-portal-page__card,
.h2o-portal-card {
  --h2o-portal-header-pad: clamp(2rem, 4vw, 2.75rem);
  --h2o-portal-header-gap: clamp(2rem, 4.5vw, 2.5rem);
  max-width: 56rem;
  margin: 0 auto;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--h2o-shadow);
}

.h2o-portal-page__header,
.h2o-portal-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: var(--h2o-portal-header-gap, clamp(2rem, 4.5vw, 2.5rem));
  padding-bottom: 0;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-portal-page__intro {
  flex: 1 1 16rem;
  min-width: 0;
  padding-bottom: var(--h2o-portal-header-pad, clamp(2rem, 4vw, 2.75rem));
}

.h2o-portal-page__header .h2o-portal-page__lead,
.h2o-portal-toolbar .h2o-portal-page__lead {
  margin-bottom: 0;
}

.page-customer-detail .h2o-portal-page__intro h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.h2o-vip-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--h2o-blue-mid);
  background: none;
  border: none;
  box-shadow: none;
}

.h2o-customer-summary {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
}

.h2o-customer-summary__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

.h2o-customer-summary__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  min-width: 0;
}

.h2o-customer-summary__name {
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--h2o-blue-dark);
}

.h2o-customer-summary__id {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--h2o-muted);
}

.h2o-customer-summary__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.65rem 1.25rem;
  margin: 0;
}

.h2o-customer-summary__facts > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.h2o-customer-summary__facts dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h2o-muted);
}

.h2o-customer-summary__facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--h2o-text);
}

.h2o-customer-summary__facts dd.is-emphasis {
  font-weight: 700;
  color: var(--h2o-blue-dark);
}

.h2o-sell-customer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.h2o-customer-summary--sell {
  padding: 1rem 1.1rem;
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius-sm, 8px);
  background: var(--h2o-surface-muted, #f4f6fa);
  gap: 1rem;
}

.h2o-customer-summary--loading {
  min-height: 5.5rem;
  align-items: center;
  justify-content: center;
}

.h2o-customer-summary--loading > .h2o-portal-page__lead {
  margin: 0;
  text-align: center;
}

.h2o-customer-summary--sell .h2o-customer-summary__head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-customer-summary--sell .h2o-customer-summary__identity {
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.h2o-customer-summary--sell .h2o-customer-summary__id {
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--h2o-blue-mid);
  background: none;
  white-space: nowrap;
}

.h2o-customer-row__main .h2o-vip-badge {
  flex-shrink: 0;
}

.h2o-customer-summary__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--h2o-radius-sm, 8px);
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
}

.h2o-customer-summary__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: min(100%, 12rem);
}

.h2o-customer-summary__contact-item dt {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h2o-muted);
}

.h2o-customer-summary__contact-item dd {
  margin: 0;
  font-size: 0.9375rem;
}

.h2o-customer-summary__contact-item a {
  color: var(--h2o-blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.h2o-customer-summary__contact-item a:hover {
  color: var(--h2o-blue);
  text-decoration: underline;
}

.h2o-customer-summary__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.85rem;
}

.h2o-customer-summary__group {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: var(--h2o-radius-sm, 8px);
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
}

.h2o-customer-summary__group-title {
  margin: 0 0 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h2o-muted);
}

.h2o-customer-summary--sell .h2o-customer-summary__facts {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.h2o-customer-summary--sell .h2o-customer-summary__group .h2o-customer-summary__facts > div:last-child dd {
  word-break: break-word;
}

.h2o-customer-summary__group--account {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.h2o-customer-summary__group-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.15rem;
}

.h2o-customer-summary__balance-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.h2o-customer-summary__balance-pay {
  flex-shrink: 0;
}

.h2o-sell-customer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin: 0;
  font-size: 0.9375rem;
}

.h2o-customer-row__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.h2o-customer-row__meta {
  color: var(--h2o-muted);
  font-size: 0.875rem;
}

.h2o-portal-page__header h1,
body.h2o-portal .h2o-portal-card h1,
body.h2o-portal .h2o-portal-toolbar h1 {
  margin: 0 0 0.75rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h1);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

body.h2o-portal .h2o-detail-section > h2 {
  margin: 0 0 0.35rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2o-portal-page__lead {
  margin: 0 0 1rem;
  color: var(--h2o-muted);
  font-size: var(--h2o-text-lead);
  line-height: 1.55;
  max-width: 52ch;
}

.h2o-portal-page__crumb {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}

.h2o-portal-page__crumb a {
  color: var(--h2o-muted);
  font-weight: 600;
}

.h2o-portal-page__card--narrow {
  max-width: 30rem;
}

/* Signup / add-vehicle / kiosk manual signup: single white card (no separate blue hero) */
.h2o-portal-page__card.h2o-portal-flow-card {
  max-width: 42rem;
}

.h2o-portal-flow-card .h2o-portal-page__lead {
  max-width: none;
}

/* VIP account sign-in: narrow card; extra space above title when promo banner is shown */
body.page-kiosk-login--member .h2o-portal-flow-card {
  max-width: 30rem;
}

/* Room below promo banner when it is shown (public subhero pages + portal flow cards) */
body.h2o-has-page-hero:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-contact:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-vip:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-locations:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-kiosk-login--member:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-signup-flow:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section,
body.page-add-vehicle:has(.h2o-promo-banner) .h2o-main > .h2o-promo-banner + .h2o-section {
  padding-top: clamp(2.75rem, 6vw, 4rem);
}

.h2o-portal-flow-card .h2o-portal-page__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.h2o-portal-flow-card .h2o-portal-page__body > :first-child {
  margin-top: 0;
}

.h2o-portal-flow-card .h2o-signup-vehicle {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.h2o-portal-flow-card .h2o-signup-vehicles-wrap {
  margin: 0;
}

.h2o-portal-flow-card .h2o-signup-vehicles .h2o-signup-vehicle-block + .h2o-signup-vehicle-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--h2o-border);
}

body.page-signup-flow .h2o-portal-page {
  margin-top: 0;
}

.h2o-qr-tool-card__body {
  text-align: center;
}

.h2o-qr-tool-card .h2o-qr-manual-wrap {
  text-align: left;
}

.h2o-qr-tool-card .h2o-qr-manual-wrap .h2o-contact-form {
  max-width: none;
  margin: 1rem 0 0;
}

.h2o-portal-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.h2o-portal-page__body > .h2o-portal-block + .h2o-portal-block,
.h2o-portal-page__body > .h2o-portal-block,
.h2o-portal-page__body > .h2o-detail-section {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--h2o-border);
}

.h2o-portal-page__body > :first-child.h2o-portal-block,
.h2o-portal-page__body > :first-child.h2o-detail-section,
.h2o-portal-page__body > .h2o-dash-stats:first-child,
.h2o-portal-page__body > .h2o-search-row:first-child,
.h2o-portal-page__body > .h2o-settings-tabs:first-child,
.h2o-portal-page__body > .h2o-grid:first-child,
.h2o-portal-page__body > .h2o-reward-banner:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.h2o-portal-page__body > .h2o-grid + .h2o-portal-block {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--h2o-border);
}

.h2o-portal-page__body > .h2o-dash-stats,
.h2o-portal-page__body > .h2o-search-row {
  margin-bottom: 1.5rem;
}

.h2o-portal-page__body > .h2o-portal-block + .h2o-search-row {
  margin-top: 1.5rem;
}

.h2o-portal-page__body > .h2o-customer-list {
  margin-top: 0.5rem;
}

.h2o-portal-block code {
  font-size: 0.875em;
  background: var(--h2o-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.h2o-portal-block > h2 {
  margin: 0 0 1rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2o-portal-block > h3 {
  margin: 1.5rem 0 0.75rem;
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-h3);
  font-weight: 700;
}

.h2o-portal-block > p.h2o-portal-page__lead,
.h2o-portal-block > .h2o-hero__lead {
  margin: 0 0 1rem;
}

body.h2o-portal .h2o-grid .h2o-card {
  padding: 1.35rem 1.5rem;
}

.h2o-dashboard-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--h2o-transition), box-shadow var(--h2o-transition), transform var(--h2o-transition);
}

.h2o-dashboard-card:hover,
.h2o-dashboard-card:focus-visible {
  border-color: var(--h2o-primary);
  box-shadow: var(--h2o-shadow);
  transform: translateY(-1px);
  outline: none;
}

.h2o-dashboard-card:hover h3,
.h2o-dashboard-card:focus-visible h3 {
  color: var(--h2o-red);
}

.h2o-portal-card--kiosk {
  max-width: 30rem;
}

.h2o-portal-card--wide {
  max-width: 56rem;
}

.h2o-steps {
  margin: 0;
  padding-left: 1.35rem;
  max-width: 52ch;
  color: var(--h2o-text);
  line-height: 1.65;
}

.h2o-steps li {
  margin-bottom: 0.85rem;
}

.h2o-steps li:last-child {
  margin-bottom: 0;
}

.h2o-portal-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--h2o-muted);
  font-size: 0.9rem;
}

.h2o-portal-page .h2o-section--auth {
  padding-top: 0;
}

.h2o-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.h2o-search-input {
  padding: 0.75rem 1rem;
  border-radius: var(--h2o-radius-sm);
  border: 1px solid var(--h2o-input-border);
  background: var(--h2o-surface);
  color: var(--h2o-text);
  font: inherit;
  transition: border-color var(--h2o-transition), box-shadow var(--h2o-transition);
  box-sizing: border-box;
}

.h2o-search-row > .h2o-search-input {
  flex: 1 1 14rem;
  min-width: 0;
}

.h2o-search-input:focus {
  outline: none;
  border-color: var(--h2o-blue-mid);
  box-shadow: 0 0 0 3px rgba(60, 88, 137, 0.18);
}

.h2o-customer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.h2o-customer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  border-radius: 0;
  border: 1px solid var(--h2o-border);
  text-decoration: none;
  color: var(--h2o-text);
  background: var(--h2o-surface);
  transition: border-color var(--h2o-transition), background var(--h2o-transition), transform var(--h2o-transition);
}

.h2o-customer-row:hover {
  border-color: var(--h2o-blue-mid);
  background: var(--h2o-blue-light);
  text-decoration: none;
  transform: translateX(4px);
}

button.h2o-customer-row--pick {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.h2o-customer-row > span,
.h2o-customer-row .h2o-customer-row__meta {
  color: var(--h2o-muted);
  font-size: 0.875rem;
}

.h2o-reward-banner {
  padding: 1rem 1.15rem;
  border-radius: var(--h2o-radius-sm);
  background: var(--h2o-success-bg);
  border: 1px solid #a7f3d0;
  color: var(--h2o-success);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.h2o-sell-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.h2o-terminal-pay {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--h2o-radius-sm);
  font-size: 0.9rem;
  line-height: 1.45;
}

.h2o-terminal-pay--ready {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.h2o-terminal-pay--busy {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-weight: 600;
}

.h2o-terminal-pay--warn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.h2o-purchase-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 32rem;
}

.h2o-purchase-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.h2o-purchase-history li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-purchase-history__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.h2o-purchase-history__notes {
  margin: 0;
  width: 100%;
  color: var(--h2o-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.h2o-purchase-history li:last-child {
  border-bottom: none;
}

.h2o-purchase-history li span {
  color: var(--h2o-muted);
  font-size: 0.8125rem;
}

.h2o-purchase-history__main > span {
  margin-left: auto;
}

.h2o-portal-page__body .h2o-card h3 a,
.h2o-portal-card .h2o-card h3 a {
  color: var(--h2o-blue-dark);
  text-decoration: none;
}

.h2o-portal-page__body .h2o-card h3 a:hover,
.h2o-portal-card .h2o-card h3 a:hover {
  color: var(--h2o-red);
}

.h2o-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.h2o-stat {
  padding: 1.15rem 1rem;
  border-radius: 0;
  border: 1px solid var(--h2o-border);
  background: var(--h2o-surface);
  text-align: center;
  box-shadow: var(--h2o-shadow-sm);
  position: relative;
  overflow: hidden;
}

.h2o-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--h2o-primary);
}

.h2o-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--h2o-blue-dark);
  letter-spacing: -0.03em;
  margin-top: 0.25rem;
}

.h2o-stat span {
  color: var(--h2o-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.h2o-signup-vehicle {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.h2o-signup-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}

.h2o-signup-vehicle-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.h2o-signup-vehicle__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0;
}

.h2o-signup-vehicle__legend {
  padding: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--h2o-text);
  margin: 0;
}

.h2o-signup-vehicles-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
}

.h2o-signup-vehicles-intro {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--h2o-muted, #5c6b7a);
}

.h2o-signup-vehicles {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.h2o-signup-vehicles-wrap .h2o-signup-vehicle {
  margin-bottom: 0;
}

.h2o-signup-vehicles .h2o-signup-vehicle-block + .h2o-signup-vehicle-block {
  margin-top: 0.85rem;
}

.h2o-signup-add-vehicle {
  margin: 0;
  align-self: flex-start;
}

.h2o-portal-flow-card .h2o-contact-form {
  gap: 1rem;
}

.h2o-portal-flow-card .h2o-signup-vehicle-block {
  gap: 1rem;
}

.h2o-portal-flow-card .h2o-signup-vehicle__head {
  margin-bottom: 0;
}

.h2o-vehicle-link-panel {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--h2o-border);
}

.h2o-vehicle-link-actions-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 0.25rem;
}

.h2o-vehicle-link-actions-wrap .h2o-portal-feedback {
  width: 100%;
  margin-top: 0.35rem;
}

.h2o-vehicle-link-actions {
  gap: 0.75rem;
  margin-top: 0;
  width: 100%;
}

.h2o-kiosk-link-panel {
  margin-top: 0.85rem;
}

.h2o-portal-flow-card .h2o-signup-vehicles-intro strong {
  color: var(--h2o-text);
  font-weight: 600;
}

.h2o-optional {
  font-weight: 500;
  color: var(--h2o-muted, #5c6b7a);
}

.h2o-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.h2o-form-row .h2o-field {
  flex: 1 1 10rem;
  min-width: 0;
}

.h2o-signup-vehicle-block .h2o-plate-check-status {
  margin-top: 0.35rem;
}

.h2o-vehicle-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.h2o-vehicle-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-vehicle-list__item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.h2o-vehicle-list__summary {
  line-height: 1.45;
}

.h2o-vehicle-list__membership {
  margin: 0;
  font-size: 0.875rem;
  color: var(--h2o-muted);
}

.h2o-vehicle-membership-form {
  display: grid;
  gap: 0.65rem;
  max-width: 24rem;
}

.h2o-vehicle-membership-form .h2o-field--compact > span:first-child {
  margin-bottom: 0.25rem;
  font-size: 0.8125rem;
}

.h2o-vehicle-membership-form .h2o-field input {
  padding: 0.55rem 0.7rem;
  min-height: 2.5rem;
}

.h2o-vehicle-list__photo {
  display: block;
  width: min(100%, 20rem);
  max-height: 12rem;
  object-fit: cover;
  border-radius: var(--h2o-radius-sm, 8px);
  border: 1px solid var(--h2o-border);
  background: var(--h2o-surface-muted, #f4f6fa);
}

.h2o-vehicle-select-preview {
  margin-top: 0.65rem;
}

.h2o-vehicle-select-preview__img {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  max-height: 16rem;
  object-fit: contain;
  border-radius: var(--h2o-radius-sm, 8px);
  border: 1px solid var(--h2o-border);
  background: var(--h2o-surface-muted, #f4f6fa);
}

.h2o-vehicle-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 32rem;
  margin-bottom: 1rem;
}

/* Portal forms: keep fields and action buttons visually separated */
body.h2o-portal .h2o-purchase-form {
  gap: 1.25rem;
}

body.h2o-portal .h2o-contact-form {
  gap: 1.25rem;
}

body.h2o-portal form > .h2o-btn,
body.h2o-portal form > button.h2o-btn {
  margin-top: 0.35rem;
  align-self: flex-start;
}

body.h2o-portal form > .h2o-actions {
  margin-top: 0.35rem;
  padding-top: 0.15rem;
}

body.h2o-portal form > .h2o-portal-note + .h2o-btn,
body.h2o-portal form > .h2o-portal-note + button.h2o-btn {
  margin-top: 0.75rem;
}

body.h2o-portal .h2o-portal-block > .h2o-btn,
body.h2o-portal .h2o-portal-block > a.h2o-btn {
  margin-top: 1rem;
}

body.h2o-portal .h2o-portal-block > .h2o-btn + .h2o-btn,
body.h2o-portal .h2o-portal-block > .h2o-btn + a.h2o-btn,
body.h2o-portal .h2o-portal-block > a.h2o-btn + .h2o-btn {
  margin-top: 0.75rem;
}

body.h2o-portal .h2o-vehicle-link-actions {
  margin-top: 0.5rem;
}

body.h2o-portal .h2o-signup-vehicles-wrap + .h2o-btn,
body.h2o-portal .h2o-signup-add-vehicle + .h2o-btn {
  margin-top: 0.5rem;
}

body.h2o-portal .h2o-kiosk-link-panel > .h2o-btn,
body.h2o-portal .h2o-kiosk-link-panel > button.h2o-btn {
  margin-top: 0.75rem;
}

body.h2o-portal .h2o-kiosk-link-panel .h2o-qr-display {
  margin-top: 0.75rem;
}

.h2o-link-btn {
  background: none;
  border: none;
  color: var(--h2o-blue-mid);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5rem;
  text-decoration: none;
  padding: 0;
}

.h2o-link-btn:hover {
  color: var(--h2o-red);
  text-decoration: underline;
}

.h2o-settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  justify-content: center;
  min-height: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  background: var(--h2o-bg);
  border-radius: 0;
}

.h2o-settings-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--h2o-muted);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.875rem;
  transition: background var(--h2o-transition), color var(--h2o-transition);
}

.h2o-settings-tabs button.is-active {
  background: var(--h2o-surface);
  color: var(--h2o-blue-dark);
}

.h2o-settings-panel {
  margin-top: 0.5rem;
}

/* Settings tabs: forms and toolbars use full card content width */
.page-settings .h2o-settings-panel .h2o-purchase-form,
.page-settings .h2o-settings-collapse__body .h2o-purchase-form {
  width: 100%;
  max-width: none;
}

.page-settings .h2o-settings-panel .h2o-field,
.page-settings .h2o-settings-collapse__body .h2o-field {
  width: 100%;
}

.page-settings .h2o-settings-panel .h2o-form-row {
  width: 100%;
}

.page-settings .h2o-settings-panel .h2o-form-row .h2o-field {
  flex: 1 1 12rem;
  min-width: 0;
}

.page-settings .h2o-service-items-toolbar {
  width: 100%;
}

.page-settings .h2o-service-items-toolbar .h2o-field:not(.h2o-service-items-search) {
  flex: 1 1 12rem;
  min-width: 10rem;
}

.page-settings .h2o-big-deal-preview-wrap,
.page-settings .h2o-package-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.h2o-settings-collapse {
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--h2o-border);
  background: var(--h2o-surface);
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-settings-collapse__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--h2o-blue-dark);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.h2o-settings-collapse__summary::-webkit-details-marker {
  display: none;
}

.h2o-settings-collapse__summary::before {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  margin-right: 0.15rem;
}

.h2o-settings-collapse[open] > .h2o-settings-collapse__summary::before {
  transform: rotate(45deg);
  margin-top: -0.15rem;
}

.h2o-settings-collapse__body {
  padding: 0 1rem 1.25rem;
  border-top: 1px solid var(--h2o-border);
}

.h2o-settings-collapse__body > .h2o-package-table-wrap:first-child {
  margin-top: 1rem;
}

.h2o-settings-collapse__body > .h2o-portal-note {
  margin: 1rem 0;
}

body.h2o-portal .h2o-settings-panel > .h2o-hero__lead:not(:last-child),
body.h2o-portal .h2o-settings-panel > .h2o-portal-page__lead:not(:last-child),
body.h2o-portal .h2o-portal-block > .h2o-hero__lead:not(:last-child),
body.h2o-portal .h2o-detail-section > .h2o-hero__lead:not(:last-child),
body.h2o-portal .h2o-detail-section > .h2o-portal-page__lead:not(:last-child) {
  margin-bottom: 1rem;
}

.h2o-service-items-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: flex-end;
  margin: 0.75rem 0 0.5rem;
}

.h2o-service-items-toolbar .h2o-service-items-search {
  flex: 1 1 16rem;
  min-width: 12rem;
  max-width: 24rem;
  margin: 0;
}

.h2o-service-items-toolbar .h2o-service-items-search .h2o-search-input {
  width: 100%;
  flex: none;
}

.h2o-service-items-toolbar .h2o-field {
  margin: 0;
}

.h2o-settings-show-inactive {
  margin: 0.5rem 0 0.75rem;
}

.h2o-package-table tr.h2o-settings-row--inactive td {
  opacity: 0.72;
}

.h2o-package-table tr.h2o-settings-row--inactive strong {
  font-weight: 500;
}

.h2o-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;
}

.h2o-manager-list p {
  margin: 0.35rem 0;
  color: var(--h2o-muted);
}

.h2o-package-table tr.h2o-settings-row--highlight td {
  background: var(--h2o-blue-light);
}

.h2o-package-table tr.h2o-settings-row--highlight {
  outline: 2px solid var(--h2o-blue);
  outline-offset: -2px;
}

.h2o-package-table tr.h2o-settings-row--selectable {
  cursor: pointer;
}

.h2o-package-table tr.h2o-settings-row--selectable:hover td,
.h2o-package-table tr.h2o-settings-row--selectable:focus-visible td {
  background: var(--h2o-blue-light);
}

.h2o-package-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 1.75rem;
  border: 1px solid var(--h2o-border);
  border-radius: 0;
  background: var(--h2o-surface);
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-service-items-scroll,
#h2o-service-items-scroll {
  max-height: min(28rem, 52vh);
  overflow-y: auto;
  overflow-x: auto;
}

.h2o-lazy-sentinel td {
  height: 1px;
  padding: 0 !important;
  border: none !important;
  line-height: 0;
  vertical-align: top;
}

.h2o-package-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: auto;
}

.h2o-package-table th,
.h2o-package-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--h2o-border);
  text-align: left;
  vertical-align: middle;
}

.h2o-package-table--compact th,
.h2o-package-table--compact td {
  padding: 0.65rem 1rem;
}

.h2o-package-table--service-items th:first-child,
.h2o-package-table--service-items td:first-child {
  white-space: nowrap;
}

.h2o-package-table tbody tr:last-child td {
  border-bottom: none;
}

.h2o-package-table th {
  color: var(--h2o-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--h2o-bg);
  white-space: nowrap;
}

.h2o-package-table .h2o-vip-rate-col {
  border-left: 2px solid var(--h2o-blue);
  border-right: 2px solid var(--h2o-blue);
  background: rgba(31, 111, 235, 0.06);
}

.h2o-package-table th.h2o-vip-rate-col {
  border-top: 2px solid var(--h2o-blue);
  color: var(--h2o-blue-dark);
}

.h2o-package-table tbody tr:last-child td.h2o-vip-rate-col {
  border-bottom: 2px solid var(--h2o-blue);
}

.h2o-package-table tbody tr:hover {
  background: var(--h2o-blue-light);
}

.h2o-package-actions {
  white-space: nowrap;
}

.h2o-table-action-muted {
  color: var(--h2o-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.h2o-card-pay {
  margin: 1rem 0;
  padding: 1.15rem;
  border-radius: 0;
  border: 1px dashed var(--h2o-border-strong);
  background: var(--h2o-bg);
}

/* Email/SMS campaign composer: full width of portal block (sell-wash forms stay narrow) */
.h2o-marketing-campaign-form {
  max-width: none;
  width: 100%;
}

.h2o-marketing-campaign-form .h2o-field,
.h2o-marketing-campaign-form .h2o-mkt-message-field,
.h2o-marketing-campaign-form .h2o-marketing-schedule {
  width: 100%;
}

.h2o-marketing-campaign-form .h2o-field input,
.h2o-marketing-campaign-form .h2o-field textarea,
.h2o-marketing-campaign-form .h2o-field select,
.h2o-marketing-campaign-form .h2o-mkt-message-field input,
.h2o-marketing-campaign-form .h2o-mkt-message-field textarea {
  width: 100%;
  box-sizing: border-box;
}

.h2o-marketing-preview-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.h2o-marketing-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--h2o-bg);
  border-radius: 0;
  border: 1px solid var(--h2o-border);
}

.h2o-marketing-filters__dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-end;
}

.h2o-marketing-filters__fields {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.h2o-marketing-filter-select {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.h2o-marketing-filter-select select {
  width: 100%;
  padding: 0.75rem 2.45rem 0.75rem 1rem;
  border-radius: var(--h2o-radius-sm);
  border: 1px solid var(--h2o-input-border);
  background: var(--h2o-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath fill='%235a6d8a' d='M7 9.5 1.5 3h11z'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center;
  color: var(--h2o-text);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.h2o-marketing-schedule {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.h2o-marketing-schedule legend {
  padding: 0;
  margin: 0;
  font-weight: 800;
  color: var(--h2o-blue-dark);
  font-size: 1rem;
}

.h2o-marketing-schedule > .h2o-portal-page__lead {
  margin-bottom: 0;
}

.h2o-marketing-schedule__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.h2o-marketing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.h2o-marketing-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--h2o-border);
}

.h2o-marketing-campaigns-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-top: 0.75rem;
}

.h2o-marketing-campaign-card {
  display: flex;
    flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius);
  background: var(--h2o-surface);
}

.h2o-marketing-campaign-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.h2o-marketing-campaign-card__head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.h2o-marketing-campaign-card__status {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--h2o-border);
  color: var(--h2o-muted);
}

.h2o-marketing-campaign-card__status.is-draft {
  background: rgba(60, 88, 137, 0.08);
  color: var(--h2o-blue-dark);
}

.h2o-marketing-campaign-card__status.is-scheduled {
  background: rgba(46, 197, 255, 0.12);
  color: #0c4a6e;
}

.h2o-marketing-campaign-card__status.is-sending {
  background: rgba(234, 179, 8, 0.15);
  color: #854d0e;
}

.h2o-marketing-campaign-card__status.is-sent {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}

.h2o-marketing-campaign-card__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--h2o-muted);
  line-height: 1.45;
}

.h2o-marketing-campaign-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.h2o-mkt-message-field > span:first-child {
  margin-bottom: 0.35rem;
}

.h2o-mkt-token-bar-wrap {
  margin: 0.25rem 0 0.5rem;
}

.h2o-mkt-token-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 0.35rem 0.15rem 0.5rem;
  margin: 0 -0.15rem;
  scrollbar-width: thin;
  scrollbar-color: var(--h2o-border-strong) transparent;
}

.h2o-mkt-token-bar::-webkit-scrollbar {
  height: 6px;
}

.h2o-mkt-token-bar::-webkit-scrollbar-thumb {
  background: var(--h2o-border-strong);
  border-radius: 999px;
}

.h2o-mkt-token-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--h2o-border);
  border-radius: 999px;
  background: var(--h2o-surface);
  color: var(--h2o-blue-dark);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  transition: background var(--h2o-transition), border-color var(--h2o-transition), box-shadow var(--h2o-transition);
}

.h2o-mkt-token-chip::after {
  content: "{{" attr(data-token) "}}";
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--h2o-muted);
  opacity: 0.85;
}

.h2o-mkt-token-chip:hover,
.h2o-mkt-token-chip:focus-visible {
  border-color: var(--h2o-primary);
  background: var(--h2o-blue-light);
  outline: none;
}

.h2o-mkt-token-chip:active,
.h2o-mkt-token-chip.is-dragging {
  cursor: grabbing;
  background: var(--h2o-primary);
  color: var(--h2o-on-primary);
  border-color: var(--h2o-primary);
}

.h2o-mkt-token-chip:active::after,
.h2o-mkt-token-chip.is-dragging::after {
  color: inherit;
  opacity: 0.75;
}

.h2o-mkt-token-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--h2o-muted);
  line-height: 1.4;
}

.h2o-mkt-message-field.is-drop-target textarea,
.h2o-mkt-message-field.is-drop-target input[type="text"] {
  border-color: var(--h2o-primary);
  box-shadow: 0 0 0 2px var(--h2o-blue-light);
}

.h2o-mkt-field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.h2o-mkt-field-head > span:first-child {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--h2o-text);
}

.h2o-mkt-preview-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.15rem 0;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.h2o-mkt-preview-switch__label {
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--h2o-muted);
  line-height: 1;
  user-select: none;
}

.h2o-mkt-preview-switch__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.h2o-mkt-preview-switch__control input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.h2o-mkt-preview-switch__track {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--h2o-border-strong);
  box-shadow: inset 0 1px 2px rgba(26, 39, 64, 0.12);
  transition: background var(--h2o-transition);
}

.h2o-mkt-preview-switch__track::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 39, 64, 0.2);
  transition: left var(--h2o-transition);
}

.h2o-mkt-preview-switch__control input:checked + .h2o-mkt-preview-switch__track {
  background: var(--h2o-primary);
}

.h2o-mkt-preview-switch__control input:checked + .h2o-mkt-preview-switch__track::after {
  left: calc(100% - 1.3rem);
}

.h2o-mkt-preview-switch__control input:focus-visible + .h2o-mkt-preview-switch__track {
  outline: 2px solid var(--h2o-blue-mid);
  outline-offset: 2px;
}

.h2o-mkt-body-compose {
  position: relative;
  width: 100%;
}

.h2o-mkt-body-compose textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 12rem;
}

.h2o-mkt-body-compose.is-preview textarea {
  display: none;
}

.h2o-mkt-template-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--h2o-muted);
  line-height: 1.45;
}

.h2o-mkt-email-preview-panel {
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.h2o-mkt-body-compose:not(.is-preview) .h2o-mkt-email-preview-panel {
  display: none;
}

.h2o-mkt-email-preview-subject {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--h2o-blue-dark);
}

.h2o-mkt-email-preview-frame {
  display: block;
  width: 100%;
  min-height: 12rem;
  height: min(70vh, 640px);
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius-sm);
  background: #d8e6ff;
}

.h2o-qr-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 22rem;
  margin: 0 auto;
  opacity: 0;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.35s ease,
    margin 0.4s ease;
}

.h2o-qr-panel-wrap:not(.h2o-qr-panel-wrap--closed) {
  grid-template-rows: 1fr;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 1;
}

.h2o-qr-panel-wrap--closed {
  pointer-events: none;
}

.h2o-qr-panel-wrap__inner {
  overflow: hidden;
  min-height: 0;
}

.h2o-qr-card {
  max-width: 22rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem !important;
}

@media (prefers-reduced-motion: reduce) {
  .h2o-qr-panel-wrap {
    transition: none;
  }
}

.h2o-qr-display {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 1rem auto 0;
}

.h2o-qr-image,
.h2o-qr-scanned {
  position: absolute;
  inset: 0;
  margin: 0;
}

.h2o-qr-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: var(--h2o-surface);
  padding: 0.65rem;
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-qr-scanned {
  display: flex;
  align-items: center;
  justify-content: center;
}

.h2o-qr-image[hidden],
.h2o-qr-scanned[hidden] {
  display: none !important;
}

.h2o-qr-scanned__badge {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h2o-qr-scanned__circle {
  width: 11.5rem;
  height: 11.5rem;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  box-sizing: border-box;
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-qr-scanned__icon {
  width: 100%;
  height: 100%;
  color: #fff;
}

.h2o-qr-meta {
  color: var(--h2o-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  min-height: 1.4em;
  margin: 0;
}

.h2o-qr-meta--invisible {
  visibility: hidden;
}

.h2o-tool-panel {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.h2o-tool-panel__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.h2o-tool-panel__lead {
  margin: 0 0 1.75rem;
  color: var(--h2o-muted);
  line-height: 1.55;
}

.h2o-tool-panel .h2o-btn--lg {
  min-width: 14rem;
}

.h2o-qr-tool-card .h2o-btn--lg {
  min-width: 14rem;
}

.h2o-qr-manual-toggle {
  display: block;
  width: 100%;
  margin: 1rem auto 0;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--h2o-blue-mid);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.h2o-qr-manual-toggle:hover {
  color: var(--h2o-primary-dark);
}

.h2o-qr-manual-wrap {
  margin-top: 1.25rem;
  text-align: left;
}

.h2o-qr-manual-wrap .h2o-contact-form {
  max-width: 28rem;
  margin: 1rem auto 0;
}

.h2o-qr-manual-wrap .h2o-contact-thanks,
.h2o-qr-manual-wrap .h2o-portal-error,
.h2o-qr-manual-wrap .h2o-portal-feedback,
.h2o-qr-manual-wrap .h2o-portal-note {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sales reporting toolbars (base layout — responsive overrides follow below) */
.h2o-reports-toolbar {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius-sm);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.h2o-reports-toolbar > .h2o-field {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.h2o-reports-toolbar > .h2o-field > div {
  min-width: 0;
  max-width: 100%;
}

/* iOS Safari date inputs ignore width unless inner edit fields are constrained */
body.h2o-portal .h2o-reports-toolbar input[type="date"],
body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"],
body.h2o-portal .h2o-reports-toolbar input[type="time"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-min-logical-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-date-and-time-value,
body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-date-and-time-value {
  text-align: left;
}

body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-datetime-edit,
body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-datetime-edit,
body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-datetime-edit-fields-wrapper,
body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
  min-width: 0;
  padding: 0;
}

.h2o-reports-toolbar .h2o-reports-hourly-note {
  grid-column: 1 / -1;
}

.h2o-reports-toolbar #h2o-reports-location-wrap,
.h2o-reports-toolbar #h2o-transactions-location-wrap,
.h2o-reports-toolbar .h2o-reports-toolbar__actions {
  grid-column: 1 / -1;
}

.h2o-reports-toolbar__actions {
  display: flex;
  align-items: flex-end;
}

.h2o-reports-toolbar--subfilters {
  margin-top: 0;
  grid-template-columns: 1fr;
  max-width: 24rem;
}

.h2o-reports-toolbar--subfilters .h2o-field--check {
  align-self: start;
  min-height: 0;
}

.h2o-reports-hourly-note {
  margin: 0;
}

/* Reports/transactions filter bars: two equal columns on tablet (grid handles gap correctly) */
@media (max-width: 1180px) {
  .h2o-reports-toolbar,
  .h2o-reports-toolbar--subfilters {
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 0.75rem) / 2));
    gap: 0.85rem 0.75rem;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .h2o-reports-toolbar > *,
  .h2o-reports-toolbar--subfilters > * {
    min-width: 0;
    max-width: 100%;
  }

  .h2o-reports-toolbar--subfilters {
    max-width: 100%;
  }

  .h2o-reports-toolbar--subfilters .h2o-field--check {
    align-self: center;
  }

  .h2o-reports-toolbar .h2o-reports-toolbar__actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .h2o-reports-toolbar .h2o-reports-toolbar__actions .h2o-btn {
    width: 100%;
    max-width: 100%;
  }

  body.h2o-portal .h2o-reports-toolbar .h2o-field input,
  body.h2o-portal .h2o-reports-toolbar .h2o-field select,
  body.h2o-portal .h2o-reports-toolbar .h2o-multi-select,
  body.h2o-portal .h2o-reports-toolbar .h2o-multi-select__trigger {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.h2o-portal .h2o-reports-toolbar .h2o-field select {
    padding-right: 2rem;
  }

  body.h2o-portal .h2o-reports-toolbar input[type="date"],
  body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"],
  body.h2o-portal .h2o-reports-toolbar input[type="time"] {
    font-size: 0.8125rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-datetime-edit-year-field,
  body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-datetime-edit-month-field,
  body.h2o-portal .h2o-reports-toolbar input[type="date"]::-webkit-datetime-edit-day-field,
  body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-datetime-edit-year-field,
  body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-datetime-edit-month-field,
  body.h2o-portal .h2o-reports-toolbar input[type="datetime-local"]::-webkit-datetime-edit-day-field {
    min-width: 0;
    padding: 0;
  }

  body.h2o-portal .h2o-portal-page__body > .h2o-settings-tabs {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .h2o-reports-toolbar,
  .h2o-reports-toolbar--subfilters {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  body.h2o-portal .h2o-field {
    min-width: 0;
    max-width: 100%;
  }

  body.h2o-portal .h2o-field input,
  body.h2o-portal .h2o-field select,
  body.h2o-portal .h2o-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.h2o-portal input[type="date"],
  body.h2o-portal input[type="datetime-local"],
  body.h2o-portal input[type="time"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.h2o-portal .h2o-reports-toolbar,
  body.h2o-portal .h2o-marketing-filters {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .h2o-reports-toolbar .h2o-reports-toolbar__actions {
    grid-column: 1 / -1;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }

  .h2o-reports-toolbar .h2o-reports-toolbar__actions .h2o-btn {
    width: 100%;
    max-width: 100%;
  }

  .h2o-reports-toolbar--subfilters {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  body.h2o-portal .h2o-multi-select {
    max-width: 100%;
  }

  .h2o-marketing-filters__dropdowns {
    flex-direction: column;
    align-items: stretch;
  }

  .h2o-marketing-filter-select {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .h2o-marketing-filters__fields,
  .h2o-marketing-schedule__grid {
    grid-template-columns: 1fr;
  }

  body.h2o-portal .h2o-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  body.h2o-portal .h2o-form-row .h2o-field {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .h2o-service-items-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .h2o-service-items-toolbar .h2o-service-items-search {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
  }

  .page-settings .h2o-settings-panel .h2o-form-row .h2o-field {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --h2o-header-h: 8rem;
    --h2o-logo-bar-img-h: calc(6.75rem - 0.5rem);
  }

  .h2o-utility {
    padding-inline: 0.375rem;
    box-sizing: border-box;
  }

  .h2o-utility,
  .h2o-utility a,
  .h2o-utility__sep {
    font-size: clamp(0.6875rem, 2.6vw, var(--h2o-text-utility));
  }

  .h2o-portal-nav a {
    font-size: clamp(0.6875rem, 2.6vw, var(--h2o-text-utility));
  }

  .h2o-utility__inner {
    gap: 0.3rem 0.45rem;
    padding: 0.4rem 0;
    justify-content: center;
  }

  .h2o-site.h2o-has-page-hero .h2o-header,
  .h2o-site:has(.h2o-page-hero) .h2o-header {
    position: relative;
    z-index: 1;
  }

  .h2o-site.h2o-has-page-hero .h2o-header::after,
  .h2o-site:has(.h2o-page-hero) .h2o-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: var(--h2o-primary);
    pointer-events: none;
  }

  .h2o-site.h2o-has-page-hero .h2o-header + .h2o-page-hero,
  .h2o-site:has(.h2o-page-hero) .h2o-header + .h2o-page-hero {
    margin-top: -1px;
    padding-top: calc(1.25rem + 1px);
  }

  /* Logo bar scrolls away naturally; tab bar sticks under utility without layout jump */
  body.h2o-portal .h2o-header {
    position: relative;
    /* Above .h2o-portal-bar (90) so the tab bar's ::before backdrop does not cover the logo */
    z-index: 95;
  }

  /* Filled only while the logo header has scrolled away (see h2o-site-chrome.js). */
  body.h2o-portal .h2o-portal-bar::before {
    content: none;
    display: none;
  }

  body.h2o-portal .h2o-portal-bar.h2o-portal-bar--header-away::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: var(--h2o-header-h);
    max-height: 100vh;
    background: var(--h2o-surface);
    pointer-events: none;
    z-index: -1;
  }

  .h2o-header__inner.wrap {
    width: min(100% - 0.75rem, var(--h2o-max));
  }

  .h2o-header__inner {
    align-items: center;
    min-height: var(--h2o-header-h);
    padding: 0.25rem 0;
  }

  .h2o-header--centered .h2o-header__inner {
    justify-content: center;
  }

  .h2o-logo__img {
    height: var(--h2o-logo-bar-img-h);
    max-width: min(340px, 88vw);
  }

  .h2o-logo__tagline--portal {
    display: none;
  }

  .h2o-logo__img--footer {
    height: 3.9rem;
    max-width: 13.2rem;
  }

  .h2o-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .h2o-portal-bar .wrap {
    width: min(100% - 0.75rem, var(--h2o-max));
  }

  .h2o-portal-nav {
    gap: 0.25rem;
    padding: 0.45rem 0 0.55rem;
  }

  .h2o-portal-nav a {
    padding: 0.35rem 0.55rem;
    letter-spacing: 0.01em;
  }

  /* Portal / internal pages: center page action buttons */
  body.h2o-portal .h2o-actions,
  body.h2o-portal .h2o-plate-actions,
  body.h2o-portal .h2o-reports-toolbar__actions,
  body.h2o-portal .h2o-vehicle-link-actions,
  body.h2o-portal .h2o-portal-page__actions {
    justify-content: center;
    width: 100%;
  }

  body.h2o-portal .h2o-portal-page__header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  /* flex-basis 16rem becomes min-height in column layout — was causing a huge gap above Sign out */
  body.h2o-portal .h2o-portal-page__intro {
    flex: 0 0 auto;
    width: 100%;
    padding-bottom: 0;
  }

  body.h2o-portal .h2o-portal-page__actions {
    flex: 0 0 auto;
    margin: 0 0 1.25rem;
    padding-bottom: 0.35rem;
  }

  body.h2o-portal .h2o-portal-page__card,
  body.h2o-portal .h2o-portal-card {
    padding: 1rem;
  }

  body.h2o-portal .h2o-portal-page__body {
    min-width: 0;
  }

  body.h2o-portal .h2o-portal-page__body > * {
    min-width: 0;
    max-width: 100%;
  }

  body.h2o-portal .h2o-field {
    min-width: 0;
    max-width: 100%;
  }

  body.h2o-portal .h2o-field input,
  body.h2o-portal .h2o-field select,
  body.h2o-portal .h2o-field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.h2o-portal input[type="date"],
  body.h2o-portal input[type="datetime-local"],
  body.h2o-portal input[type="time"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.h2o-portal .h2o-purchase-form,
  body.h2o-portal .h2o-vehicle-form,
  body.h2o-portal .h2o-contact-form,
  body.h2o-portal .h2o-marketing-campaign-form,
  body.h2o-portal .h2o-reports-toolbar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  body.h2o-portal .h2o-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  body.h2o-portal .h2o-form-row .h2o-field {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  body.h2o-portal .h2o-multi-select {
    max-width: 100%;
  }

  body.h2o-portal .h2o-reports-toolbar__actions {
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }

  body.h2o-portal .h2o-reports-toolbar__actions .h2o-btn {
    width: 100%;
    max-width: 100%;
  }

  body.h2o-portal .h2o-search-row {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  body.h2o-portal .h2o-search-row > .h2o-search-input {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  body.h2o-portal .h2o-package-table-wrap,
  body.h2o-portal .h2o-settings-panel {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Settings section tabs: same look as desktop, scroll horizontally when needed */
  .h2o-settings-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
  }

  .h2o-settings-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .h2o-settings-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.h2o-portal .h2o-search-row {
    flex-direction: column;
    justify-content: stretch;
  }

  body.h2o-portal .h2o-search-row > .h2o-btn {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  body.h2o-portal form > .h2o-btn,
  body.h2o-portal form > button.h2o-btn,
  body.h2o-portal form > a.h2o-btn {
    align-self: center;
  }

  body.h2o-portal form > .h2o-actions {
    align-self: stretch;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }

  body.h2o-portal .h2o-portal-block > .h2o-btn,
  body.h2o-portal .h2o-portal-block > a.h2o-btn,
  body.h2o-portal .h2o-portal-block > button.h2o-btn {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
  }

  body.h2o-portal .h2o-purchase-form,
  body.h2o-portal .h2o-vehicle-form,
  body.h2o-portal .h2o-contact-form {
    margin-left: auto;
    margin-right: auto;
  }

  body.h2o-portal.page-settings .h2o-settings-panel .h2o-purchase-form,
  body.h2o-portal.page-settings .h2o-settings-collapse__body .h2o-purchase-form {
    margin-left: 0;
    margin-right: 0;
  }

  body.h2o-portal.page-settings form > .h2o-btn,
  body.h2o-portal.page-settings form > button.h2o-btn,
  body.h2o-portal.page-settings form > a.h2o-btn {
    align-self: flex-start;
  }

  body.h2o-portal.page-settings form > .h2o-actions {
    align-self: stretch;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
  }

  body.h2o-portal .h2o-actions .h2o-btn--lg,
  body.h2o-portal form > .h2o-btn--lg {
    width: min(100%, 20rem);
  }

  .h2o-carousel__arrow {
    display: none;
  }

}

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

  html {
    scroll-behavior: auto;
  }
}

.h2o-transactions-sentinel {
  height: 1px;
  margin: 0;
}

.h2o-transactions-load-more {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.h2o-reports-charts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.h2o-reports-panel[hidden] {
  display: none;
}

.h2o-adjustment-detail-row > td {
  background: var(--h2o-surface-alt);
}

.h2o-adjustment-group-row th {
  background: var(--h2o-surface-alt);
  color: var(--h2o-blue-dark);
  font-size: var(--h2o-text-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.h2o-adjustment-detail {
  padding: 0.75rem 0;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.h2o-adjustment-detail .h2o-package-table {
  margin: 0;
}

.h2o-adjustment-detail th {
  width: 12rem;
  color: var(--h2o-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--h2o-text-caption);
}

.h2o-reports-chart-card {
  padding: 1.15rem 1.25rem 1.25rem;
  background: var(--h2o-surface);
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius-sm);
  box-shadow: var(--h2o-shadow-sm);
}

.h2o-reports-chart-card__head {
  margin-bottom: 0.85rem;
}

.h2o-reports-chart-card__head h2 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  color: var(--h2o-blue-dark);
}

.h2o-reports-chart-card__summary {
  margin: 0;
  font-size: 0.875rem;
  color: var(--h2o-muted);
  font-weight: 500;
}

.h2o-reports-chart-wrap {
  position: relative;
  height: min(320px, 50vh);
  min-height: 220px;
}

.h2o-multi-select {
  position: relative;
  width: 100%;
  max-width: 22rem;
}

.h2o-multi-select--compact {
  max-width: 14rem;
}

.h2o-multi-select__trigger {
  display: block;
  width: 100%;
  min-height: 2.5rem;
  padding: 0.7rem 2.45rem 0.7rem 0.9rem;
  text-align: left;
  font: inherit;
  font-size: var(--h2o-text-small);
  color: var(--h2o-text);
  background: var(--h2o-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath fill='%235a6d8a' d='M7 9.5 1.5 3h11z'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center;
  border: 1px solid var(--h2o-input-border);
  border-radius: var(--h2o-radius-sm);
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color var(--h2o-transition), box-shadow var(--h2o-transition);
}

.h2o-multi-select__trigger:hover {
  border-color: var(--h2o-blue-mid);
}

.h2o-multi-select__trigger:focus-visible {
  outline: none;
  border-color: var(--h2o-blue-mid);
  box-shadow: 0 0 0 3px rgba(60, 88, 137, 0.2);
}

.h2o-multi-select__panel {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.35rem 0;
  background: var(--h2o-surface, #fff);
  border: 1px solid var(--h2o-input-border);
  border-radius: var(--h2o-radius-sm);
  box-shadow: var(--h2o-shadow);
}

.h2o-multi-select__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
}

.h2o-multi-select__option input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  max-width: 1rem;
  flex: 0 0 1rem;
  margin: 0;
  accent-color: var(--h2o-primary);
}

body.h2o-portal .h2o-field .h2o-multi-select__option input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  max-width: 1rem;
}

.h2o-multi-select__option:hover {
  background: rgba(14, 165, 233, 0.08);
}

.h2o-multi-select__empty {
  margin: 0.35rem 0.65rem;
  font-size: 0.875rem;
  color: var(--h2o-muted, #64748b);
}

.h2o-multi-select__hidden {
  display: none;
}

/* Staff settings table: column widths and in-row editors */
.h2o-package-table--staff {
  min-width: 54rem;
}

.h2o-package-table--staff th:nth-child(1),
.h2o-package-table--staff td:nth-child(1) {
  min-width: 7.5rem;
}

.h2o-package-table--staff th:nth-child(2),
.h2o-package-table--staff td:nth-child(2) {
  min-width: 7.5rem;
  word-break: break-word;
}

.h2o-package-table--staff th:nth-child(3),
.h2o-package-table--staff td:nth-child(3) {
  min-width: 10rem;
  word-break: break-word;
}

.h2o-package-table--staff th:nth-child(4),
.h2o-package-table--staff td:nth-child(4) {
  min-width: 11.5rem;
}

.h2o-package-table--staff th:nth-child(5),
.h2o-package-table--staff td:nth-child(5) {
  min-width: 14rem;
}

.h2o-package-table--staff th:nth-child(6),
.h2o-package-table--staff td:nth-child(6) {
  min-width: 5.5rem;
  white-space: nowrap;
}

.h2o-package-table--staff th:nth-child(7),
.h2o-package-table--staff td:nth-child(7) {
  min-width: 6.5rem;
  white-space: nowrap;
}

.h2o-package-table--staff td:nth-child(4),
.h2o-package-table--staff td:nth-child(5) {
  vertical-align: top;
}

.h2o-package-table--staff th:nth-child(4),
.h2o-package-table--staff td:nth-child(4) {
  padding-right: 1.75rem;
}

.h2o-package-table--staff th:nth-child(5),
.h2o-package-table--staff td:nth-child(5) {
  padding-left: 1.25rem;
}

.h2o-staff-loc-multiselect {
  width: 100%;
}

.page-settings #tab-staff .h2o-staff-loc-multiselect .h2o-multi-select {
  max-width: none;
}

.h2o-staff-loc-editor,
.h2o-staff-role-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.h2o-package-table--staff .h2o-staff-role-editor {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  max-width: 11.5rem;
}

.h2o-package-table--staff .h2o-staff-loc-editor {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  max-width: 14rem;
}

.h2o-package-table--staff .h2o-staff-role-editor .h2o-portal-feedback,
.h2o-package-table--staff .h2o-staff-loc-editor .h2o-portal-feedback {
  flex: 1 1 100%;
  margin: 0;
}

.h2o-package-table--staff .h2o-link-btn {
  margin-left: 0;
  flex-shrink: 0;
}

.h2o-staff-role-select {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.7rem 2.45rem 0.7rem 0.9rem;
  border-radius: var(--h2o-radius-sm);
  border: 1px solid var(--h2o-input-border);
  background: var(--h2o-surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath fill='%235a6d8a' d='M7 9.5 1.5 3h11z'/%3E%3C/svg%3E")
    no-repeat right 0.85rem center;
  color: var(--h2o-text);
  font: inherit;
  font-size: var(--h2o-text-small);
  appearance: none;
  transition: border-color var(--h2o-transition), box-shadow var(--h2o-transition);
}

.h2o-staff-role-select:focus {
  outline: none;
  border-color: var(--h2o-blue-mid);
  box-shadow: 0 0 0 3px rgba(60, 88, 137, 0.2);
}

.h2o-package-table--staff .h2o-staff-role-select {
  box-sizing: border-box;
}

.h2o-package-table--staff .h2o-staff-loc-editor .h2o-multi-select,
.h2o-package-table--staff .h2o-staff-loc-multiselect-mount .h2o-multi-select {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.h2o-package-table--staff .h2o-multi-select--compact {
  max-width: 100%;
}

.h2o-package-table--staff .h2o-multi-select--compact .h2o-multi-select__trigger {
  min-height: 2.5rem;
  padding: 0.7rem 2.45rem 0.7rem 0.9rem;
}

@media (max-width: 720px) {
  .h2o-package-table--staff {
    min-width: 48rem;
  }

  .h2o-package-table--staff .h2o-staff-role-editor,
  .h2o-package-table--staff .h2o-staff-loc-editor {
    flex-direction: column;
    align-items: stretch;
  }

  .h2o-package-table--staff .h2o-staff-role-select,
  .h2o-package-table--staff .h2o-staff-loc-editor .h2o-multi-select {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.h2o-field__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--h2o-text);
  font-size: 0.875rem;
}

.h2o-sell-location-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.h2o-sell-location-bar[hidden] {
  display: none !important;
}

.h2o-sell-location-bar:not([hidden]) {
  margin-bottom: 1rem;
}

.page-sell-wash .h2o-sell-add-vip {
  margin-bottom: 1rem;
}

.page-sell-wash .h2o-sell-add-vip .h2o-qr-panel-wrap {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-sell-wash .h2o-sell-add-vip--open > .h2o-btn--ghost {
  display: none;
}

.page-sell-wash .h2o-portal-page__body > .h2o-search-row + .h2o-customer-list,
.page-sell-wash .h2o-portal-page__body > .h2o-search-row + .h2o-portal-error {
  margin-top: 1rem;
}

.h2o-sell-services {
  margin: 0;
}

.h2o-sell-services:not(.h2o-sell-accordion) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.h2o-sell-accordion {
  display: block;
  border: 1px solid var(--h2o-border);
  border-radius: var(--h2o-radius-sm, 8px);
  background: var(--h2o-surface);
  overflow: hidden;
}

.h2o-sell-accordion + .h2o-sell-accordion,
.h2o-sell-credits + .h2o-sell-accordion,
.h2o-sell-accordion + .h2o-portal-note,
.h2o-field + .h2o-sell-accordion,
.h2o-vehicle-select-preview + .h2o-sell-accordion {
  margin-top: 0.5rem;
}

.h2o-sell-accordion__summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--h2o-text);
}

.h2o-sell-accordion__summary::-webkit-details-marker {
  display: none;
}

.h2o-sell-accordion__summary::before {
  content: "";
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-0.08rem);
  transform-origin: center;
  transition: transform 0.15s ease;
}

.h2o-sell-accordion[open] > .h2o-sell-accordion__summary::before {
  transform: rotate(45deg) translateY(0.02rem);
}

.h2o-sell-accordion__body {
  padding: 0 0.95rem 0.95rem;
}

.h2o-sell-accordion.h2o-sell-services__section {
  border-color: var(--h2o-border);
  background: var(--h2o-surface-muted, #f4f6fa);
}

.h2o-sell-accordion.h2o-sell-services__section > .h2o-sell-accordion__summary {
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--h2o-muted, #5c6b7a);
}

.h2o-sell-accordion.h2o-sell-services__section > .h2o-sell-accordion__body {
  padding: 0 0.8rem 0.8rem;
}

.h2o-sell-services__list > .h2o-sell-accordion + .h2o-sell-accordion,
.h2o-sell-services__list > .h2o-sell-services__options + .h2o-sell-accordion {
  margin-top: 0.5rem;
}

.h2o-sell-services__lead {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--h2o-text);
}

.h2o-sell-services__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.h2o-sell-services__section {
  margin: 0;
  padding: 0;
  border: none;
}

.h2o-sell-services__legend {
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--h2o-muted, #5c6b7a);
}

.h2o-sell-services__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.h2o-sell-services__option {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.h2o-sell-services__option-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 5.75rem;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
}

.h2o-sell-services__option-main:has(.h2o-sell-line-qty) {
  grid-template-columns: auto minmax(0, 1fr) 3.5rem 5.75rem;
}

.h2o-sell-services__options:has(.h2o-membership-vehicle-wrap) {
  gap: 1.25rem;
}

.h2o-sell-services__option:has(.h2o-membership-vehicle-wrap) {
  gap: 0.5rem;
}

.h2o-sell-override-note[hidden] {
  display: none !important;
}

.h2o-membership-vehicle-wrap[hidden] {
  display: none !important;
}

.h2o-sell-override-note {
  margin: 0 0 0 1.75rem;
  width: calc(100% - 1.75rem);
  max-width: 100%;
}

.h2o-membership-vehicle-wrap {
  margin: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.h2o-sell-service__name {
  min-width: 0;
}

.h2o-sell-line-qty {
  width: 100%;
  max-width: 3.5rem;
  margin: 0;
}

.h2o-sell-line-override {
  width: 100%;
  max-width: 5.75rem;
  margin: 0;
}

.h2o-sell-credits {
  display: block;
  margin-bottom: 1rem;
}

.h2o-sell-credits__list {
  display: grid;
  gap: 0.5rem;
}

.h2o-sell-services.is-membership-locked,
.h2o-sell-credits.is-membership-locked {
  opacity: 0.5;
  pointer-events: none;
}

.h2o-sell-services.is-membership-locked .h2o-sell-accordion__summary,
.h2o-sell-credits.is-membership-locked .h2o-sell-accordion__summary,
.h2o-sell-services.is-membership-locked .h2o-sell-services__lead,
.h2o-sell-credits.is-membership-locked .h2o-sell-services__lead {
  color: var(--h2o-muted, #5c6b7a);
}

.h2o-sell-services__option.is-credit-target {
  outline: 2px solid var(--h2o-primary, #1f4f8a);
  outline-offset: 2px;
  border-radius: var(--h2o-radius, 0.5rem);
}

.h2o-sell-line-price {
  display: grid;
  gap: 0.5rem;
  margin-top: -0.35rem;
}

.h2o-sell-line-price__override {
  margin: 0;
}

/* Sell Wash lane workspace (formerly Mobile Kiosk styling) */
body.page-sell-wash .h2o-portal-page__card,
body.page-mobile-kiosk .h2o-portal-page__card {
  min-height: calc(100dvh - var(--h2o-header-h));
}

body.page-sell-wash:has(.h2o-promo-banner) .h2o-portal-page__card,
body.page-mobile-kiosk:has(.h2o-promo-banner) .h2o-portal-page__card {
  min-height: calc(100dvh - var(--h2o-header-h) - 3.25rem);
}

body.page-sell-wash .h2o-portal-page__body,
body.page-mobile-kiosk .h2o-portal-page__body {
  text-align: left;
}

body.page-sell-wash .h2o-qr-panel-wrap,
body.page-mobile-kiosk .h2o-qr-panel-wrap {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.page-sell-wash .h2o-checkin-action > .h2o-btn--lg,
body.page-mobile-kiosk .h2o-checkin-action > .h2o-btn--lg {
  min-width: 0;
}

body.page-sell-wash .h2o-checkin-action--panel-open > .h2o-btn--lg,
body.page-mobile-kiosk .h2o-checkin-action--panel-open > .h2o-btn--lg {
  display: none;
}

.page-sell-wash .h2o-checkin-pin-gate,
.page-mobile-kiosk .h2o-checkin-pin-gate {
  margin-bottom: 1.5rem;
}

.page-sell-wash .h2o-checkin-accordion,
.page-mobile-kiosk .h2o-checkin-accordion {
  margin-top: 1.25rem;
  border-top: 1px solid var(--h2o-border, rgba(0, 0, 0, 0.12));
}

.page-sell-wash .h2o-checkin-accordion__summary,
.page-mobile-kiosk .h2o-checkin-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0.35rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--h2o-muted, #5c6b7a);
}

.page-sell-wash .h2o-checkin-accordion__summary::-webkit-details-marker,
.page-mobile-kiosk .h2o-checkin-accordion__summary::-webkit-details-marker {
  display: none;
}

.page-sell-wash .h2o-checkin-accordion__summary::before,
.page-mobile-kiosk .h2o-checkin-accordion__summary::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.page-sell-wash .h2o-checkin-accordion[open] > .h2o-checkin-accordion__summary::before,
.page-mobile-kiosk .h2o-checkin-accordion[open] > .h2o-checkin-accordion__summary::before {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.page-sell-wash .h2o-checkin-accordion__body,
.page-mobile-kiosk .h2o-checkin-accordion__body {
  padding: 0.25rem 0 0.5rem;
  text-align: center;
}

.page-sell-wash .h2o-checkin-staff-bar,
.page-mobile-kiosk .h2o-checkin-staff-bar {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--h2o-radius, 0.5rem);
  background: var(--h2o-surface-tint, rgba(0, 0, 0, 0.04));
}

.page-sell-wash .h2o-checkin-action + .h2o-checkin-action,
.page-mobile-kiosk .h2o-checkin-action + .h2o-checkin-action {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--h2o-border, rgba(0, 0, 0, 0.12));
}

.page-sell-wash .h2o-checkin-action__title,
.page-mobile-kiosk .h2o-checkin-action__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.page-sell-wash .h2o-checkin-action .h2o-portal-note,
.page-mobile-kiosk .h2o-checkin-action .h2o-portal-note {
  margin-bottom: 1rem;
}

.page-sell-wash .h2o-purchase-form,
.page-mobile-kiosk .h2o-purchase-form {
  gap: 1.5rem;
}

