#rental-options, #compare { scroll-margin-top: 5rem; }

.rental-comparison-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: var(--card);
}
.rental-comparison {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.rental-comparison th, .rental-comparison td {
  padding: clamp(.85rem, 2vw, 1.45rem);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  vertical-align: top;
}
.rental-comparison thead th {
  background: color-mix(in srgb, var(--muted) 60%, var(--card));
  font-weight: 700;
}
.rental-comparison tbody th { width: 24%; font-weight: 700; }
.rental-comparison td { width: 38%; color: var(--muted-foreground); }
.rental-comparison tbody tr:last-child > * { border-bottom: 0; }
.rental-comparison .rental-short { background: #f3ecdc; color: #18263c; }
.rental-comparison thead .rental-short { background: #14213a; color: #fff; }
.rental-return {
  display: block;
  margin-bottom: .12rem;
  color: var(--foreground);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.rental-short .rental-return { color: #14213a; }
.rental-mobile-label { display: none; }
.owner-portal-card ul { color: var(--muted-foreground); }

.service-comparison.operator-comparison { min-width: 69rem; }
.operator-comparison tbody th { width: 16%; }
.operator-comparison td { width: 14%; }

@media (min-width: 54rem) {
  .story-grid.service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .owner-portal-card { grid-column: span 2; }
  .owner-portal-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 75rem) {
  .operator-scroll-hint { display: block; margin-bottom: .6rem; color: var(--muted-foreground); font-size: .9rem; }
}

@media (max-width: 42rem) {
  .rental-comparison thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .rental-comparison, .rental-comparison tbody { display: block; }
  .rental-comparison tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rental-comparison tbody th {
    grid-column: 1 / -1;
    width: auto;
    background: color-mix(in srgb, var(--muted) 60%, var(--card));
  }
  .rental-comparison td { width: auto; font-size: .94rem; }
  .rental-mobile-label {
    display: block;
    margin-bottom: .36rem;
    color: var(--foreground);
    font-size: .8rem;
    font-weight: 750;
  }
  .rental-short .rental-mobile-label { color: #14213a; }
  .rental-comparison tbody tr:last-child th { border-bottom: 1px solid var(--border); }
}


@media (max-width: 75rem) {
  .operator-comparison { table-layout: fixed; }
  .operator-comparison th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 7.4rem;
    background: var(--card);
    box-shadow: 1px 0 var(--border);
  }
  .operator-comparison thead th:first-child {
    background: color-mix(in srgb, var(--muted) 45%, var(--card));
  }
}

