.kmh-launch-wizard-extension {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #c8d8e7;
}

.kmh-onboard .kmh-launch-wizard-extension > *,
.kmh-onboard .kmh-launch-review-summary > *,
.kmh-onboard .kmh-launch-unit-row > * {
  min-width: 0;
}

.kmh-onboard .kmh-launch-wizard-extension label,
.kmh-onboard .kmh-launch-review-summary label,
.kmh-onboard .kmh-launch-unit-row label {
  word-break: normal;
  overflow-wrap: break-word;
}

.kmh-package-unit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
  padding: 22px 24px;
  border: 1px solid #bfd1e0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbfe 0%, #edf7fd 100%);
  box-shadow: 0 10px 28px rgba(24, 54, 82, .07);
}

.kmh-package-unit-copy h2,
.kmh-package-unit-copy p,
.kmh-package-sales-intro h2,
.kmh-package-sales-intro p {
  margin: 0;
}

.kmh-package-unit-copy h2,
.kmh-package-sales-intro h2 {
  margin-top: 7px;
  color: #123c5c;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.15;
}

.kmh-package-unit-copy p,
.kmh-package-sales-intro p {
  max-width: 780px;
  margin-top: 8px;
  color: #60758a;
  line-height: 1.55;
}

.kmh-package-unit-panel > label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: #173653;
  font-weight: 800;
}

.kmh-package-unit-panel .button {
  white-space: nowrap;
}

.kmh-package-step,
.kmh-package-plan-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #176fa9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.kmh-package-sales-intro {
  margin: 34px 0 20px;
  text-align: center;
}

.kmh-package-sales-intro .kmh-package-step {
  margin-inline: auto;
}

.kmh-package-sales-intro p {
  margin-inline: auto;
}

.kmh-package-sales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px));
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 22px;
}

.kmh-package-plan-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c6d7e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 58, 87, .09);
}

.kmh-package-plan-card::before {
  content: "";
  display: block;
  height: 7px;
  background: linear-gradient(90deg, #0f6ea7, #25a7a1);
}

.kmh-package-plan-head {
  min-height: 185px;
  padding: 24px 24px 18px;
  background: linear-gradient(155deg, #f7fbfe 0%, #fff 72%);
}

.kmh-package-plan-head h2 {
  margin: 7px 0 9px;
  color: #102f48;
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.kmh-package-plan-head p {
  margin: 0;
  color: #526b7f;
  font-size: 15px;
  line-height: 1.55;
}

.kmh-package-plan-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 5px 24px 22px;
  color: #102f48;
}

.kmh-package-plan-price strong {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.035em;
}

.kmh-package-plan-price span {
  color: #60758a;
  font-size: 15px;
  font-weight: 700;
}

.kmh-package-plan-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0 24px 22px;
}

.kmh-package-plan-terms > div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #d7e2eb;
  border-radius: 10px;
  background: #f8fafc;
}

.kmh-package-plan-terms dt {
  color: #60758a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.kmh-package-plan-terms dd {
  margin: 4px 0 0;
  color: #173653;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.kmh-package-plan-benefits {
  flex: 1;
  padding: 22px 24px;
  border-top: 1px solid #e0e8ef;
  background: #fbfdfe;
}

.kmh-package-plan-benefits h3 {
  margin: 0 0 13px;
  color: #173653;
  font-size: 18px;
}

.kmh-package-plan-benefits ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kmh-package-plan-benefits li {
  position: relative;
  padding-left: 26px;
  color: #294a64;
  line-height: 1.4;
}

.kmh-package-plan-benefits li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #dff5e7;
  color: #167044;
  font-size: 12px;
  font-weight: 900;
}

.kmh-package-plan-benefits details {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid #dce6ee;
}

.kmh-package-plan-benefits summary {
  color: #176fa9;
  cursor: pointer;
  font-weight: 850;
}

.kmh-package-plan-benefits details ul {
  margin-top: 14px;
}

.kmh-package-plan-action {
  display: grid;
  gap: 8px;
  padding: 20px 24px 10px;
}

.kmh-package-plan-action .button {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
}

.kmh-package-plan-action small,
.kmh-package-plan-version {
  color: #60758a;
  font-size: 12px;
  text-align: center;
}

.kmh-package-plan-version {
  margin: 0;
  padding: 0 24px 20px;
}

.kmh-package-safety-note {
  display: flex;
  gap: 10px 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #bcd5c5;
  border-radius: 12px;
  background: #f1faf4;
  color: #24533b;
}

.kmh-package-safety-note strong {
  flex: 0 0 auto;
}

.kmh-package-private-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, .7fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid #d6c078;
  border-radius: 14px;
  background: #fffaf0;
}

.kmh-package-private-offer h2,
.kmh-package-private-offer p {
  margin: 0;
}

.kmh-package-private-offer > p {
  color: #6b5b2e;
}

.kmh-package-checkout-review {
  max-width: 780px;
  margin: 0 auto 28px;
  padding: 26px;
  border: 1px solid #bfd1e0;
  border-radius: 18px;
  background: linear-gradient(145deg, #f7fbfe 0%, #fff 70%);
  box-shadow: 0 12px 34px rgba(20, 58, 87, .08);
}

.kmh-package-checkout-review h2 {
  margin: 7px 0 14px;
  color: #102f48;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
}

.kmh-package-checkout-name,
.kmh-package-checkout-price {
  margin: 0;
}

.kmh-package-checkout-name {
  color: #173653;
  font-size: 21px;
}

.kmh-package-checkout-price {
  margin-top: 5px;
  color: #176fa9;
  font-size: 18px;
  font-weight: 850;
}

.kmh-package-checkout-review .kmh-onboard-form {
  margin-top: 18px;
}

@media (max-width: 1050px) {
  .kmh-package-unit-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .kmh-package-unit-copy {
    grid-column: 1 / -1;
  }

  .kmh-package-private-offer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .kmh-package-private-offer > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .kmh-package-unit-panel {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    padding: 18px;
  }

  .kmh-package-unit-panel .button {
    width: 100%;
  }

  .kmh-package-sales-intro {
    margin-top: 28px;
    text-align: left;
  }

  .kmh-package-sales-intro .kmh-package-step,
  .kmh-package-sales-intro p {
    margin-inline: 0;
  }

  .kmh-package-sales-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .kmh-package-plan-head {
    min-height: 0;
    padding: 21px 19px 16px;
  }

  .kmh-package-plan-price {
    padding: 5px 19px 20px;
  }

  .kmh-package-plan-terms {
    grid-template-columns: 1fr;
    padding: 0 19px 20px;
  }

  .kmh-package-plan-benefits {
    padding: 20px 19px;
  }

  .kmh-package-plan-action {
    padding: 18px 19px 9px;
  }

  .kmh-package-plan-version {
    padding: 0 19px 18px;
  }

  .kmh-package-safety-note,
  .kmh-package-private-offer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .kmh-package-private-offer > p {
    grid-column: auto;
  }

  .kmh-package-checkout-review {
    padding: 20px 18px;
  }
}

.kmh-launch-wizard-extension > h3,
.kmh-launch-review-summary > h3 {
  margin: 0 0 7px;
  color: #173653;
}

.kmh-launch-subheading {
  margin-top: 6px;
  padding: 12px 14px;
  border-left: 4px solid #176fa9;
  border-radius: 7px;
  background: #f1f8fd;
}

.kmh-launch-subheading h4,
.kmh-launch-subheading p {
  margin: 0;
}

.kmh-launch-subheading p {
  margin-top: 4px;
  color: #60758a;
}

.kmh-launch-feature-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.kmh-launch-feature-grid label {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: flex-start;
  padding: 11px;
  border: 1px solid #c8d8e7;
  border-radius: 8px;
  background: #fff;
}

.kmh-launch-feature-grid span,
.kmh-owner-overview-row span,
.kmh-launch-unit-row small {
  overflow-wrap: anywhere;
}

.kmh-owner-commercial-entry,
.kmh-owner-card-heading,
.kmh-launch-unit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.kmh-owner-commercial-entry {
  margin-bottom: 16px;
}

.kmh-owner-commercial-entry h2,
.kmh-owner-commercial-entry p,
.kmh-owner-card-heading h2,
.kmh-owner-card-heading h3,
.kmh-owner-card-heading p {
  margin: 0;
}

.kmh-owner-commercial-entry p,
.kmh-owner-card-heading p {
  margin-top: 5px;
  color: #60758a;
}

.kmh-owner-overview-list,
.kmh-launch-unit-list {
  display: grid;
  gap: 8px;
}

.kmh-owner-overview-pages {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.kmh-owner-directory-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, .45fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
}

.kmh-owner-directory-filters label {
  display: grid;
  min-width: 0;
  gap: 5px;
  font-weight: 800;
}

.kmh-owner-directory-filters input,
.kmh-owner-directory-filters select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.kmh-owner-directory-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.kmh-owner-directory-table th:nth-child(1) { width: 21%; }
.kmh-owner-directory-table th:nth-child(2) { width: 15%; }
.kmh-owner-directory-table th:nth-child(3) { width: 16%; }
.kmh-owner-directory-table th:nth-child(4) { width: 20%; }
.kmh-owner-directory-table th:nth-child(5) { width: 18%; }
.kmh-owner-directory-table th:nth-child(6) { width: 10%; }

.kmh-owner-directory-table td {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.kmh-owner-directory-table td strong,
.kmh-owner-directory-table td small {
  display: block;
}

.kmh-owner-directory-table td:first-child small {
  overflow-wrap: anywhere;
}

.kmh-owner-unit-directory {
  display: grid;
  gap: 14px;
}

.kmh-owner-unit-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.kmh-owner-unit-table th:nth-child(1) { width: 14%; }
.kmh-owner-unit-table th:nth-child(2) { width: 13%; }
.kmh-owner-unit-table th:nth-child(3) { width: 11%; }
.kmh-owner-unit-table th:nth-child(4) { width: 12%; }
.kmh-owner-unit-table th:nth-child(5) { width: 17%; }
.kmh-owner-unit-table th:nth-child(6) { width: 24%; }
.kmh-owner-unit-table th:nth-child(7) { width: 9%; }

.kmh-owner-unit-table td {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.kmh-owner-unit-table td:last-child .button {
  min-width: 94px;
  white-space: nowrap;
  overflow-wrap: normal;
}

.kmh-owner-friendly-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kmh-owner-unit-grid--detail {
  grid-template-columns: minmax(0, 1fr);
}

.kmh-owner-account-tools > summary,
.kmh-owner-account-activity > summary {
  cursor: pointer;
  font-size: clamp(22px, 2.2vw, 31px);
}

.kmh-owner-account-tools > section,
.kmh-owner-account-activity > div {
  margin-top: 18px;
}

.kmh-owner-account-activity .kmh-launch-audit-list > li {
  padding: 10px 12px;
}

.kmh-owner-account-activity .kmh-owner-advanced {
  margin-top: 7px;
}

.kmh-introductory-tier .kmh-onboard-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.kmh-introductory-tier .kmh-onboard-form .kmh-notice {
  flex: 1 1 560px;
  min-width: 0;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.kmh-introductory-tier .kmh-onboard-form .button {
  flex: 0 0 auto;
  width: auto;
  min-height: 42px;
  white-space: normal;
}

.kmh-owner-directory-table td small {
  margin-top: 3px;
  color: #60758a;
}

.kmh-owner-directory-table tr.is-current td {
  background: #edf7fd;
}

.kmh-owner-directory-table td:last-child .button {
  min-width: 64px;
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (max-width: 1180px) {
  .kmh-owner-directory .kmh-table-wrap {
    overflow: visible;
  }

  .kmh-owner-directory-table,
  .kmh-owner-directory-table tbody,
  .kmh-owner-directory-table tr,
  .kmh-owner-directory-table td {
    display: block;
    width: 100%;
  }

  .kmh-owner-directory-table thead {
    display: none;
  }

  .kmh-owner-directory-table tr {
    margin-bottom: 12px;
    padding: 11px 13px;
    border: 1px solid #c8d8e7;
    border-radius: 10px;
    background: #fff;
  }

  .kmh-owner-directory-table tr.is-current {
    border-color: #176fa9;
    background: #edf7fd;
  }

  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td {
    display: grid;
    grid-template-columns: minmax(125px, .35fr) minmax(0, 1fr);
    gap: 9px;
    padding: 7px 0;
    border: 0;
    background: transparent;
  }

  .kmh-owner-directory-table td::before {
    content: attr(data-label);
    font-weight: 800;
  }

  .kmh-owner-directory-table td .button {
    justify-self: start;
  }
}

.kmh-upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.kmh-upgrade-grid > .kmh-card {
  min-width: 0;
  margin: 0;
}

.kmh-upgrade-grid li,
.kmh-upgrade-grid p {
  overflow-wrap: anywhere;
}

.kmh-upgrade-package-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.kmh-upgrade-package-card > h3,
.kmh-upgrade-package-card > h4,
.kmh-upgrade-billing-choice h4 {
  margin: 0;
}

.kmh-plan-comparison {
  max-width: 980px;
  margin-inline: auto;
}

.kmh-plan-billing-period {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    gap: .25rem;
    border: 0;
    padding: 0;
    margin: 0 0 .875rem;
}

.kmh-plan-billing-period legend {
    font-weight: 600;
    margin-bottom: .25rem;
}

.kmh-plan-billing-period label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .65rem;
    border: 1px solid #d5deea;
    border-radius: .45rem;
    cursor: pointer;
}

.kmh-plan-billing-period label:has(input:checked) {
    border-color: currentColor;
    font-weight: 600;
}

.kmh-plan-comparison:has(.kmh-plan-billing-period input[value="month"]:checked) [data-plan-period="year"],
.kmh-plan-comparison:has(.kmh-plan-billing-period input[value="year"]:checked) [data-plan-period="month"] {
    display: none;
}

.kmh-plan-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px clamp(14px, 3vw, 24px);
  margin-block: 20px;
}

.kmh-plan-comparison .kmh-plan-card-grid > .kmh-plan-card {
  box-sizing: border-box;
  grid-column: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--kmh-border, #dce3e8);
  border-radius: 16px;
  background: var(--kmh-white, #fff);
  box-shadow: none;
  color: var(--kmh-ink, #172033);
  gap: 14px;
}

.kmh-plan-comparison .kmh-plan-card-grid > .kmh-plan-card--current {
  border-color: var(--kmh-blue, #1769aa);
}

.kmh-plan-comparison .kmh-plan-card-grid .kmh-plan-card > h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.kmh-plan-card p {
  margin: 0;
}

.kmh-plan-description {
  color: var(--kmh-muted, #5d6676);
  line-height: 1.5;
}

.kmh-plan-prices,
.kmh-plan-action {
  display: grid;
  align-content: start;
  gap: 8px;
}

.kmh-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: var(--kmh-muted, #5d6676);
  font-size: .875rem;
}

.kmh-plan-price strong {
  color: var(--kmh-ink, #172033);
  font-size: clamp(2.125rem, 4vw, 2.75rem);
  line-height: 1.06;
}

.kmh-plan-price small {
  flex-basis: 100%;
  font-size: .875rem;
}

.kmh-plan-action .button,
.kmh-plan-current {
  box-sizing: border-box;
  display: flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
  text-align: center;
}

.kmh-plan-current {
  color: var(--kmh-blue-dark, #0d4779);
  background: var(--kmh-soft, #eef5f8);
}

.kmh-plan-inclusions {
  padding-top: 14px;
  border-top: 1px solid var(--kmh-border, #dce3e8);
}

.kmh-plan-inclusions > .kmh-plan-inclusions-intro {
  margin-block-end: 16px;
  line-height: 1.4;
}

.kmh-plan-inclusions .kmh-plan-benefit-group li > span {
  flex-shrink: 0;
  font-weight: 700;
}

.kmh-plan-benefit-group + .kmh-plan-benefit-group {
  margin-top: 16px;
}

.kmh-plan-benefit-group h3,
.kmh-plan-benefit-group h4 {
  font-size: .95rem;
  margin: 0 0 8px;
}

.kmh-plan-benefit-group li > div {
  min-width: 0;
  overflow-wrap: break-word;
}

.kmh-plan-stripe-note,
.kmh-owner-package-features .kmh-plan-benefit-group small {
  display: block;
  color: var(--kmh-muted, #5d6676);
  margin-top: 3px;
  font-size: .8rem;
}

.kmh-current-package-card > .kmh-actions:empty {
  display: none;
}

.staycoda-current-tools .kmh-owner-package-features > h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 14px;
}

.staycoda-current-tools .kmh-plan-inclusions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 12px;
  align-items: start;
}

.staycoda-current-tools .kmh-plan-benefit-group {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--kmh-border, #dce3e8);
  border-radius: 10px;
}

.kmh-plan-downgrade-warning {
  padding: 14px 16px;
  border-inline-start: 3px solid #9c610d;
  border-radius: 8px;
  background: #fff7e8;
  color: #392a1c;
}

.kmh-plan-downgrade-warning > p {
  margin: 0;
}

.kmh-plan-downgrade-warning > p + p {
  margin-block-start: 8px;
}

.kmh-plan-downgrade .kmh-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-block: 16px 12px;
}

.kmh-plan-downgrade .kmh-choice > input {
  flex: none;
}

.kmh-plan-downgrade .kmh-actions {
  flex-wrap: wrap;
}

.kmh-plan-review {
  max-width: 980px;
  margin-inline: auto;
}

.kmh-plan-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-areas: "benefits price";
  align-items: start;
  gap: clamp(16px, 3vw, 26px);
}

.kmh-plan-review-benefits,
.kmh-plan-review-price {
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--kmh-border, #dce3e8);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.kmh-plan-review-benefits {
  grid-area: benefits;
  background: var(--kmh-white, #fff);
}

:is(.kmh-plan-review-benefits, .kmh-plan-inclusions) .kmh-plan-benefit-group + .kmh-plan-benefit-group {
  padding-top: 16px;
  border-top: 1px solid var(--kmh-border, #dce3e8);
}

:is(.kmh-plan-review-benefits, .kmh-plan-inclusions) .kmh-plan-benefit-group ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

:is(.kmh-plan-review-benefits, .kmh-plan-inclusions) .kmh-plan-benefit-group li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 1.45;
}

:is(.kmh-plan-review-benefits, .kmh-plan-inclusions) .kmh-plan-benefit-group li > span {
  color: var(--kmh-blue-dark, #0d4779);
}

.kmh-plan-review-price {
  grid-area: price;
  background: var(--kmh-soft, #eef5f8);
}

.kmh-plan-review-grid:not(:has(.kmh-plan-review-benefits)) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "price";
}

.kmh-plan-review-grid h2 {
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.kmh-plan-review-price .kmh-plan-review-due {
  margin: 0;
  font-size: 1rem;
}

.kmh-plan-review-due strong {
  color: var(--kmh-ink, #172033);
  font-size: clamp(2.35rem, 5vw, 3rem);
  line-height: 1.05;
}

.kmh-plan-review-price form {
  margin-top: 18px;
}

.kmh-plan-review-price form .kmh-choice {
  display: flex;
  align-items: start;
  gap: 8px;
}

.kmh-plan-review-price form .kmh-choice input {
  flex: 0 0 auto;
}

.kmh-plan-review-price form > .kmh-choice + .kmh-actions {
  margin-block-start: 12px;
}

.kmh-plan-review-price form .button {
  width: 100%;
  min-height: 44px;
  white-space: normal;
}

@media (max-width: 720px) {
  .kmh-plan-review-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "price" "benefits";
  }
}

@media (min-width: 681px) {
  .kmh-plan-card-grid .kmh-plan-card {
    grid-row: span 5;
    grid-template-rows: subgrid;
  }
}

@media (max-width: 680px) {
  .kmh-plan-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-plan-action:not(:has(> *)) {
    display: none;
  }
}

.kmh-upgrade-billing-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.kmh-upgrade-billing-choice {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #c8d8e7;
  border-radius: 9px;
  background: #f8fbfd;
}

.kmh-upgrade-cost-breakdown {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.kmh-upgrade-cost-breakdown > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid #dce7ef;
}

.kmh-upgrade-cost-breakdown dt,
.kmh-upgrade-cost-breakdown dd {
  margin: 0;
}

.kmh-upgrade-cost-breakdown dd {
  text-align: right;
}

.kmh-upgrade-billing-choice .kmh-actions {
  margin-top: auto;
}

.kmh-unit-removal-list li {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.kmh-unit-removal-list form {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 430px) {
  .kmh-upgrade-grid,
  .kmh-upgrade-billing-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-upgrade-cost-breakdown > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .kmh-upgrade-cost-breakdown dd {
    text-align: left;
  }

  .kmh-upgrade-billing-choice .button {
    width: 100%;
    text-align: center;
  }

  .kmh-unit-removal-list li {
    align-items: stretch;
    flex-direction: column;
  }

  .kmh-unit-removal-list .button {
    width: 100%;
    min-height: 44px;
  }
}

.kmh-launch-audit-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.kmh-launch-audit-list li {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #d7e2eb;
  border-radius: 8px;
  background: #f8fafc;
}

.kmh-launch-audit-list span {
  color: #60758a;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.kmh-owner-overview-row,
.kmh-launch-unit-row {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #c8d8e7;
  border-radius: 9px;
  color: #173653;
  text-decoration: none;
}

.kmh-owner-overview-row {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(180px, 1.4fr) auto;
  gap: 12px;
  align-items: center;
}

.kmh-owner-overview-row.is-current {
  border-color: #176fa9;
  background: #edf7fd;
}

.kmh-launch-request-card,
.kmh-owner-unit-overview,
.kmh-launch-review-summary {
  min-width: 0;
}

.kmh-launch-unit-row > div:first-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.kmh-launch-unit-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2fr);
}

.kmh-launch-unit-row > .kmh-actions {
  min-width: 0;
  justify-content: flex-end;
}

.kmh-launch-unit-row > .kmh-actions > .kmh-onboard-form {
  display: block;
  width: auto;
}

.kmh-launch-unit-row > .kmh-actions .button {
  min-width: 145px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.kmh-onboard .kmh-table-scroll {
  max-width: 100%;
  overflow: visible;
}

.kmh-onboard .kmh-table-scroll table {
  width: 100%;
}

.kmh-package-offers-table,
.kmh-package-assignments-table,
.kmh-package-offers-table tbody,
.kmh-package-assignments-table tbody {
  display: block;
  width: 100%;
}

.kmh-package-offers-table thead,
.kmh-package-assignments-table thead {
  display: none;
}

.kmh-package-offers-table tbody,
.kmh-package-assignments-table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kmh-package-offers-table tr,
.kmh-package-assignments-table tr {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #c8d8e7;
  border-radius: 10px;
  background: #fff;
}

.kmh-package-offers-table td,
.kmh-package-assignments-table td {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border: 0;
  overflow-wrap: anywhere;
}

.kmh-package-offers-table td::before,
.kmh-package-assignments-table td::before {
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

.kmh-package-offers-table td:nth-child(1)::before { content: "Package"; }
.kmh-package-offers-table td:nth-child(2)::before { content: "Internal visibility"; }
.kmh-package-offers-table td:nth-child(3)::before { content: "New owners on Live"; }
.kmh-package-offers-table td:nth-child(4)::before { content: "Billing"; }
.kmh-package-offers-table td:nth-child(5)::before { content: "Price"; }
.kmh-package-offers-table td:nth-child(6)::before { content: "Scope"; }
.kmh-package-offers-table td:nth-child(7)::before { content: "Controls"; }

.kmh-package-assignments-table td:nth-child(1)::before { content: "Unit"; }
.kmh-package-assignments-table td:nth-child(2)::before { content: "Package"; }
.kmh-package-assignments-table td:nth-child(3)::before { content: "Billing"; }
.kmh-package-assignments-table td:nth-child(4)::before { content: "Price"; }
.kmh-package-assignments-table td:nth-child(5)::before { content: "Status"; }
.kmh-package-assignments-table td:nth-child(6)::before { content: "Action"; }

.kmh-package-offers-table td:last-child,
.kmh-package-assignments-table td:last-child {
  display: block;
}

.kmh-package-offers-table td:last-child::before,
.kmh-package-assignments-table td:last-child::before {
  display: block;
  margin-bottom: 8px;
}

.kmh-package-offers-table .kmh-actions,
.kmh-package-assignments-table .kmh-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}

.kmh-package-offers-table .kmh-onboard-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 8px;
  width: 100%;
  align-items: center;
}

.kmh-package-assignments-table .kmh-onboard-form {
  display: block;
  width: 100%;
}

.kmh-package-offers-table .kmh-choice {
  min-width: 0;
}

.kmh-package-offers-table .button,
.kmh-package-assignments-table .button {
  min-width: 120px;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 780px) {
  .kmh-onboard .kmh-onboard-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .kmh-onboard .kmh-onboard-nav a {
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .kmh-launch-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kmh-owner-overview-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .kmh-owner-directory-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-owner-directory-filters .button {
    width: 100%;
  }

  .kmh-owner-directory .kmh-table-wrap {
    overflow: visible;
  }

  .kmh-owner-directory-table,
  .kmh-owner-directory-table tbody,
  .kmh-owner-directory-table tr,
  .kmh-owner-directory-table td {
    display: block;
    width: 100%;
  }

  .kmh-owner-directory-table thead {
    display: none;
  }

  .kmh-owner-directory-table tr {
    margin-bottom: 12px;
    padding: 11px 13px;
    border: 1px solid #c8d8e7;
    border-radius: 10px;
    background: #fff;
  }

  .kmh-owner-directory-table tr.is-current {
    border-color: #176fa9;
    background: #edf7fd;
  }

  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td {
    display: grid;
    grid-template-columns: minmax(95px, .42fr) minmax(0, 1fr);
    gap: 9px;
    padding: 7px 0;
    border: 0;
    background: transparent;
  }

  .kmh-owner-directory-table td::before {
    content: attr(data-label);
    font-weight: 800;
  }

  .kmh-owner-directory-table td .button {
    justify-self: start;
  }

  .kmh-owner-commercial-entry,
  .kmh-owner-card-heading,
  .kmh-launch-unit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-onboard .kmh-table-scroll {
    overflow: visible;
  }

  .kmh-package-offers-table,
  .kmh-package-offers-table tbody,
  .kmh-package-offers-table tr,
  .kmh-package-offers-table td,
  .kmh-package-assignments-table,
  .kmh-package-assignments-table tbody,
  .kmh-package-assignments-table tr,
  .kmh-package-assignments-table td {
    display: block;
    width: 100%;
  }

  .kmh-package-offers-table tbody,
  .kmh-package-assignments-table tbody {
    display: block;
  }

  .kmh-package-offers-table thead,
  .kmh-package-assignments-table thead {
    display: none;
  }

  .kmh-package-offers-table tr,
  .kmh-package-assignments-table tr {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #c8d8e7;
    border-radius: 10px;
    background: #fff;
  }

  .kmh-package-offers-table td,
  .kmh-package-assignments-table td {
    display: grid;
    grid-template-columns: minmax(108px, 0.45fr) minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .kmh-package-offers-table td::before,
  .kmh-package-assignments-table td::before {
    color: #60758a;
    font-size: 12px;
    font-weight: 800;
  }

  .kmh-package-offers-table td:nth-child(1)::before { content: "Package"; }
  .kmh-package-offers-table td:nth-child(2)::before { content: "Internal visibility"; }
  .kmh-package-offers-table td:nth-child(3)::before { content: "New owners on Live"; }
  .kmh-package-offers-table td:nth-child(4)::before { content: "Billing"; }
  .kmh-package-offers-table td:nth-child(5)::before { content: "Price"; }
  .kmh-package-offers-table td:nth-child(6)::before { content: "Scope"; }
  .kmh-package-offers-table td:nth-child(7)::before { content: "Controls"; }

  .kmh-package-assignments-table td:nth-child(1)::before { content: "Unit"; }
  .kmh-package-assignments-table td:nth-child(2)::before { content: "Package"; }
  .kmh-package-assignments-table td:nth-child(3)::before { content: "Billing"; }
  .kmh-package-assignments-table td:nth-child(4)::before { content: "Price"; }
  .kmh-package-assignments-table td:nth-child(5)::before { content: "Status"; }
  .kmh-package-assignments-table td:nth-child(6)::before { content: "Action"; }

  .kmh-package-offers-table td:last-child,
  .kmh-package-assignments-table td:last-child {
    display: block;
  }

  .kmh-package-offers-table td:last-child::before,
  .kmh-package-assignments-table td:last-child::before {
    display: block;
    margin-bottom: 8px;
  }

  .kmh-package-offers-table .kmh-actions,
  .kmh-package-assignments-table .kmh-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .kmh-package-offers-table .kmh-onboard-form,
  .kmh-package-assignments-table .kmh-onboard-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .kmh-package-offers-table .button,
  .kmh-package-assignments-table .button {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .kmh-launch-wizard-extension,
  .kmh-launch-review-summary,
  .kmh-owner-commercial-entry,
  .kmh-owner-overview-detail,
  .kmh-owner-unit-overview,
  .kmh-launch-request-card {
    max-width: 100%;
    overflow: hidden;
  }

  .kmh-launch-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-owner-commercial-entry .kmh-actions,
  .kmh-launch-unit-row .kmh-actions,
  .kmh-launch-request-card .kmh-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .kmh-owner-commercial-entry .button,
  .kmh-launch-unit-row .button,
  .kmh-launch-request-card .button,
  .kmh-launch-listing-form .button {
    width: 100%;
  }
}

/* Owner-account Admin cards: bounded at every supported viewport. */
.kmh-owner-unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
  align-items: start;
}

.kmh-owner-unit-grid > .kmh-owner-unit-overview {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 14px;
  margin: 0;
  overflow: hidden;
}

.kmh-owner-unit-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

.kmh-owner-unit-summary > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #d7e2eb;
  border-radius: 8px;
  background: #f8fafc;
}

.kmh-owner-unit-summary dt {
  color: #60758a;
  font-size: 12px;
  font-weight: 800;
}

.kmh-owner-unit-summary dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.kmh-notice--kmh-task {
  display: grid;
  min-width: 0;
  gap: 7px;
  border-left-color: #c98a00;
  background: #fff8df;
}

.kmh-notice--kmh-task .button {
  justify-self: start;
  max-width: 100%;
}

.kmh-owner-unit-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.kmh-owner-unit-actions > .button,
.kmh-owner-unit-actions > details > summary.button,
.kmh-owner-unit-actions form .button {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  white-space: nowrap;
  text-align: center;
}

.kmh-owner-unit-actions > details {
  min-width: 0;
}

.kmh-owner-unit-actions > details > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  list-style: none;
}

.kmh-owner-unit-actions > details > summary::-webkit-details-marker {
  display: none;
}

.kmh-owner-unit-actions > details[open] {
  grid-column: 1 / -1;
  padding: 10px;
  border: 1px solid #c8d8e7;
  border-radius: 8px;
  background: #f8fafc;
}

.kmh-owner-unit-actions > details[open] > div {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.kmh-owner-unit-actions > details[open] form {
  display: block;
  width: 100%;
}

.kmh-owner-unit-actions .button:focus-visible,
.kmh-notice--kmh-task .button:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

@media (max-width: 780px) {
  .kmh-owner-unit-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .kmh-owner-unit-summary,
  .kmh-owner-unit-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-owner-unit-actions > details[open] {
    grid-column: 1;
  }

  .kmh-owner-unit-actions > .button,
  .kmh-owner-unit-actions > details > summary.button,
  .kmh-owner-unit-actions form .button {
    white-space: normal;
  }

  .kmh-introductory-tier .kmh-onboard-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .kmh-introductory-tier .kmh-onboard-form .kmh-notice,
  .kmh-introductory-tier .kmh-onboard-form .button {
    width: 100%;
  }
}

/* Shared responsive owner and caravan table foundations. */
@media (max-width: 1180px) {
  .kmh-owner-directory,
  .kmh-owner-overview-detail,
  .kmh-owner-unit-directory {
    min-width: 0;
    max-width: 100%;
  }

  .kmh-owner-directory .kmh-table-wrap,
  .kmh-owner-unit-directory .kmh-table-wrap {
    max-width: 100%;
    overflow: visible;
  }

  .kmh-owner-directory-table,
  .kmh-owner-directory-table tbody,
  .kmh-owner-directory-table td,
  .kmh-owner-unit-table,
  .kmh-owner-unit-table tbody,
  .kmh-owner-unit-table td {
    display: block;
    width: 100%;
  }

  .kmh-owner-directory-table thead,
  .kmh-owner-unit-table thead {
    display: none;
  }

  .kmh-owner-directory-table tr,
  .kmh-owner-unit-table tr {
    display: grid;
    width: 100%;
    margin: 0 0 12px;
    padding: 11px 13px;
    border: 1px solid #c8d8e7;
    border-radius: 10px;
    background: #fff;
  }

  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td,
  .kmh-owner-unit-table td {
    display: grid;
    grid-template-columns: minmax(125px, .35fr) minmax(0, 1fr);
    gap: 9px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .kmh-owner-directory-table td::before,
  .kmh-owner-unit-table td::before {
    content: attr(data-label);
    color: #60758a;
    font-weight: 800;
  }

  .kmh-owner-directory-table td .button,
  .kmh-owner-unit-table td .button {
    justify-self: start;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
  }

  .kmh-owner-friendly-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td,
  .kmh-owner-unit-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .kmh-owner-friendly-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Rental owner directory continuous rows */
.kmh-owner-main-views {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.kmh-owner-profile-back {
  margin: 12px 0 18px;
}
.kmh-owner-profile-contact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.kmh-owner-profile-contact > div,
.kmh-owner-profile-contact dd {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.kmh-owner-directory-table td:last-child .button {
  min-width: 0;
  white-space: normal;
}
.kmh-owner-directory-table td:nth-child(4) span {
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
  .kmh-owner-directory-table tr,
  .kmh-owner-directory-table tr.is-current {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #c8d8e7;
    border-radius: 0;
    background: transparent;
  }
  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td {
    display: block;
    min-width: 0;
    width: 100%;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    overflow-wrap: break-word;
  }
  .kmh-owner-directory-table td::before {
    display: block;
    margin-bottom: 3px;
  }
  .kmh-owner-directory-table td .button {
    width: auto;
    max-width: 100%;
    white-space: normal;
  }
  .kmh-owner-profile-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kmh-owner-directory-table tr,
  .kmh-owner-directory-table tr.is-current {
    grid-template-columns: minmax(0, 1fr);
  }
  .kmh-owner-directory-table td,
  .kmh-owner-directory-table tr.is-current td {
    padding: 6px 2px;
  }
  .kmh-owner-profile-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
