body:has(.comparison-experience) { background: #f0f1ef; }

.comparison-experience {
  --comparison-panel-border: #e0e4e2;
  --comparison-panel-shadow: 0 2px 8px #1c28250c;
  --comparison-ink: #15202a;
  --comparison-secondary: #255d57;
}

.comparison-experience .comparison-header { margin-bottom: clamp(18px, 3vw, 32px); }
.comparison-experience .comparison-header h1 {
  color: var(--comparison-ink);
  font-family: inherit;
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  font-weight: 790;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.comparison-experience .comparison-header p {
  max-width: 65ch;
  margin: 10px 0 0;
  color: #4b5864;
  line-height: 1.55;
}

.comparison-experience :is(.comparison-sidebar, .comparison-card, .conditions-table-wrap,
    .insurance-table-wrap, .lease-card, .comparison-picked) {
  border: 1px solid var(--comparison-panel-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--comparison-panel-shadow);
}

.comparison-experience .comparison-sidebar h2 { color: var(--comparison-ink); }
.comparison-experience :is(.comparison-sidebar, .comparison-results-head, .lease-results-head) h2 {
  font-weight: 700;
  letter-spacing: -.012em;
}
.comparison-experience .comparison-sidebar :is(select, input:not([name='plate'], [type='checkbox'], [type='radio'])) {
  font-weight: 550;
}
.comparison-experience :is(.comparison-card-features, .lease-terms, .lease-specs) li {
  background: #f3f7f5;
  border-color: #e1e9e5;
  font-weight: 600;
}
.comparison-experience :is(.comparison-price-amount, .lease-price strong, .mobile-price strong) {
  font-weight: 750;
  letter-spacing: -.025em;
}
.comparison-experience .comparison-card-footer { flex-wrap: wrap; }

.comparison-guide {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.comparison-guide-maker {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.comparison-guide-portrait {
  display: block;
  width: 36px;
  height: 36px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ccd8d3;
  object-fit: cover;
}

.comparison-page > .comparison-guide { max-width: 44rem; }

.comparison-guide-bubble {
  position: relative;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--comparison-panel-border, #e0e4e2);
  border-radius: 12px;
  background: #fff;
  overflow-wrap: anywhere;
}

.comparison-guide-bubble::before {
  position: absolute;
  top: calc(50% - 5px);
  inset-inline-start: -6px;
  width: 10px;
  height: 10px;
  content: '';
  background: #fff;
  border-left: 1px solid var(--comparison-panel-border, #e0e4e2);
  border-bottom: 1px solid var(--comparison-panel-border, #e0e4e2);
  transform: rotate(45deg);
  pointer-events: none;
}

.comparison-guide .comparison-guide-byline {
  margin: 0;
  color: var(--comparison-secondary, #255d57);
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.35;
}

.comparison-guide h2 {
  margin: 0 0 3px;
  color: var(--comparison-ink, #15202a);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.24;
}

.comparison-guide-quote {
  margin: 0;
  max-width: 72ch;
  color: #4a5560;
  font-size: .855rem;
  font-style: italic;
  line-height: 1.45;
}
.comparison-end-actions { margin-top: 16px; }
.comparison-end-actions > button { margin-top: 10px; }
.comparison-help { font-size: .88rem; }
.comparison-help summary {
  width: fit-content;
  color: var(--comparison-secondary);
  font-weight: 650;
  cursor: pointer;
}
.comparison-help-content { margin-top: 12px; border-top: 1px solid #e5e9e7; padding-top: 12px; }
.comparison-help-content p { margin: 4px 0 8px; }
.comparison-help-content a { color: var(--comparison-secondary); text-decoration: underline; text-underline-offset: 3px; }

.comparison-selection-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
}
.comparison-selection-toolbar[hidden], .comparison-picked[hidden] { display: none; }
.comparison-pick-count { color: #48565f; font-size: .84rem; margin-right: auto; }
.comparison-experience .comparison-control {
  padding: 8px 13px;
  min-height: 40px;
  border: 1px solid #ccd8d4;
  border-radius: 9px;
  background: #fff;
  color: var(--comparison-secondary);
  font-size: .83rem;
  font-weight: 650;
  cursor: pointer;
}
.comparison-experience .comparison-control:disabled { color: #546366; background: #f7f8f7; cursor: default; }
.comparison-widget-save { margin-top: 13px; }
.comparison-widget-save[hidden] { display: none; }
.comparison-selection-clear, .comparison-experience .comparison-reset {
  border: 0;
  background: none;
  color: var(--comparison-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}
.comparison-experience .comparison-reset { display: block; margin: 10px 0 0; padding: 6px 0; }
.comparison-selection-clear { min-height: 40px; padding: 5px 7px; }

.comparison-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 34px;
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 700;
  color: #42535a;
  cursor: pointer;
}
.comparison-card-footer .comparison-pick { margin: 0 auto 0 0; }
.comparison-pick input { width: 17px; height: 17px; margin: 0; accent-color: #277065; }
.comparison-pick:has(input:disabled) { color: #667377; cursor: default; }
.comparison-picked { padding: 16px; margin-bottom: 18px; }
.comparison-picked h2 { margin: 0 0 12px; font-size: 1.16rem; font-family: inherit; }
.comparison-picked-scroll { overflow: auto; }
.comparison-picked-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.comparison-picked-table :is(th, td) { padding: 9px 12px; text-align: left; vertical-align: top; border: 1px solid #e0e7e5; }
.comparison-picked-table thead th { background: #eaf2f0; min-width: 8rem; }
.comparison-picked-table tbody th { color: #2c5954; background: #f7faf9; }

.travel-progress {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  margin: 0 0 12px;
  list-style: none;
  border-bottom: 1px solid #e1e7e5;
  font-size: .78rem;
  color: #5a666e;
}
.travel-progress li[aria-current="step"] { color: var(--comparison-secondary); font-weight: 800; }
.comparison-experience .travel-step-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.comparison-experience .travel-step-actions .button { width: auto; }
.comparison-experience .travel-step-actions .text-button {
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid #ccd8d4;
  border-radius: 999px;
  background: #fff;
  color: var(--comparison-secondary);
  font-size: .8rem;
  font-weight: 730;
  cursor: pointer;
}
.comparison-experience .travel-step-actions .text-button:hover { background: #ebf3f1; }
.comparison-experience .travel-step-actions .text-button:last-child:not(:first-child) { text-decoration: underline; text-underline-offset: 3px; }
.travel-step-heading { scroll-margin-top: 94px; }
.travel-display-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--comparison-panel-border);
  border-radius: 10px;
  background: #fff;
}
.travel-display-controls label { display: grid; gap: 4px; color: #45545c; font-size: .82rem; font-weight: 700; }
.travel-display-controls :is(select, input[type="number"]) { width: 100%; min-width: 0; padding: 7px 8px; min-height: 40px; border: 1px solid #cdd7d5; border-radius: 7px; color: #17252b; background: #fff; }
.travel-display-controls[hidden] { display: none; }
.travel-display-controls label[hidden] { display: none; }
.travel-display-controls .trip-check {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 7px;
  min-height: 40px;
}
.travel-display-controls .trip-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.comparison-experience [data-travel-step][hidden] { display: none; }

.health-top { margin-bottom: 20px; }
.health-top-heading, .health-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px 16px;
}
.health-top-heading { margin-bottom: 13px; }
.health-results-head { align-items: center; }
.health-results-head label { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; }
.health-results-head select { min-height: 40px; padding: 6px 9px; font: inherit; }
.health-filter-fields .health-filter-note { margin: 7px 0 14px; color: #4b5864; font-size: .8rem; line-height: 1.48; }
.health-filter-group { padding: 10px 0; border-block-start: 1px solid var(--comparison-panel-border); }
.health-filter-group summary { color: var(--comparison-secondary); font-size: .92rem; font-weight: 730; cursor: pointer; }
.health-filter-group label { margin-top: 11px; }
.health-filter-group .health-check { display: flex; align-items: start; gap: 8px; line-height: 1.4; }
.health-filter-group .health-check input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; }
.health-filter-fields label:last-child { margin-bottom: 4px; }
.health-show-results { margin-top: 12px; }
.health-comparison [hidden] { display: none; }
.health-comparison :is(#health-count, #health-message, .comparison-picked h2) { scroll-margin-top: 155px; }
.health-comparison .comparison-selection-toolbar[data-has-selection] {
  position: sticky;
  z-index: 2;
  top: 83px;
  padding: 8px;
  border: 1px solid var(--comparison-panel-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--comparison-panel-shadow);
}
.health-top h2 {
  margin: 0 0 4px;
  color: var(--comparison-ink);
  font-family: inherit;
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  letter-spacing: -.025em;
}
.health-top-heading p { margin: 0; color: #4b5864; font-size: .9rem; }
.health-top-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.health-top .health-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(12px, 1.65vw, 22px);
  border-top: 3px solid #3c7268;
  overflow-wrap: anywhere;
}
.health-comparison :is(.health-highlight-brand, .health-table) .provider-brand {
  width: min(144px, 100%);
}
.health-comparison :is(.health-highlight-brand, .health-table) .provider-logo {
  width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

/* Remove padding baked into these source images so the wordmarks fill their boxes. */
.health-comparison .provider-logo[src$='/zorg-cz.jpg'] { object-view-box: inset(5% 31% 8%); }
.health-comparison .provider-logo[src$='/zorg-ohra.jpg'] { object-view-box: inset(15% 4% 18%); }
.health-comparison .provider-logo[src$='/awin-37530.png'] { object-view-box: inset(17% 12% 30%); }
.health-comparison .provider-logo[src$='/awin-8311.png'] { object-view-box: inset(37% 1%); }
.health-comparison .provider-logo[src$='/awin-8314.jpg'] { object-view-box: inset(14% 2% 8% 8%); }
.health-comparison .provider-logo[src$='/awin-8346.jpg'] { object-view-box: inset(35% 0 36%); }
.health-comparison .provider-logo[src$='/awin-9845.jpg'] { object-view-box: inset(24% 0); }
.health-highlight h3 { margin: 10px 0 2px; font-family: inherit; font-size: 1.04rem; line-height: 1.3; }
.health-highlight .health-type, .health-table .health-type {
  color: var(--comparison-secondary);
  font-size: .79rem;
  font-weight: 650;
}
.health-highlight p { margin: 0; }
.health-highlight .health-highlight-cover { margin: 12px 0; padding: 10px; width: 100%; border-radius: 9px; background: #edf4f1; }
.health-highlight-cover :is(span, strong, small), .health-coverage :is(strong, small), .health-price-period { display: block; }
.health-highlight-cover span, .health-coverage-label { font-size: .75rem; font-weight: 650; }
.health-highlight-cover small, .health-coverage small, .health-price-period { color: #4b5864; font-size: .78rem; }
.health-highlight-price { margin-top: auto; }
.health-highlight-actions { width: 100%; padding: 0; border: 0; }
.health-highlight-actions .comparison-pick { order: 1; }
.health-packages, .health-saving { display: block; margin: 4px 0; color: #365d55; font-size: .78rem; font-weight: 650; line-height: 1.42; }
.health-lowest { display: block; color: #28634c; font-size: .78rem; font-weight: 750; }
.health-amount { color: var(--comparison-ink); font-size: clamp(1.25rem, 2.25vw, 1.8rem); font-weight: 790; line-height: 1.22; font-variant-numeric: tabular-nums; }
.health-comparison .health-action {
  min-height: 42px;
  margin-top: 10px;
  padding: 9px 13px;
  color: var(--button-text);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.24;
  text-align: center;
  text-shadow: var(--button-text-shadow);
}

#app :is(a.button.health-action, a.button[rel~='sponsored']),
#app :is(a.button.health-action, a.button[rel~='sponsored']) > span[aria-hidden='true'] {
  color: #fff;
}

.health-table-wrap { margin-top: 0; }
.health-table :is(th, td) { padding: 14px clamp(10px, 1.5vw, 20px); vertical-align: top; }
.health-table thead th { color: #284c47; background: #edf4f1; }
.health-table th[scope='row'] { width: 29%; }
.health-table td:last-child { width: 26%; }
.health-table th[scope='row'] .comparison-pick { display: flex; }
.health-policy-name { display: block; margin-top: 4px; }
.health-coverage-label { display: block; }
.health-details summary { color: var(--comparison-secondary); font-size: .84rem; font-weight: 650; }
.health-details { margin-top: 3px; }
.health-details summary { cursor: pointer; }
.health-policy-facts { display: grid; gap: 5px; margin: 7px 0; font-size: .82rem; line-height: 1.43; }
.health-policy-facts div { padding: 6px 8px; border-radius: 5px; background: #f3f7f5; }
.health-policy-facts dt { font-weight: 730; }
.health-policy-facts dd { margin: 2px 0 0; }
.health-provider-sources dl { margin: 6px 0 0; font-size: .8rem; }
.health-provider-sources dl > div { margin-bottom: 6px; }
.health-provider-sources dd { margin: 0; }
.health-provider-sources code, .health-hospital-report code { overflow-wrap: anywhere; font-size: .76rem; }

.health-hospital-picker {
  padding: 10px 0 12px;
  border-block-start: 1px solid var(--comparison-panel-border);
  font-size: .88rem;
}
.health-hospital-picker strong { display: block; }
.health-hospital-picker p { margin: 4px 0 0; color: #40544f; font-size: .8rem; }
:is(.health-hospital-open, .health-hospital-clear, .health-hospital-action) {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--comparison-secondary);
  font: inherit;
  font-size: .84rem;
  font-weight: 680;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.health-hospital-clear { margin-left: 9px; }
.health-hospital-action { margin-top: 3px; }
.health-hospital-report { margin-bottom: 15px; padding: 13px 16px; border: 1px solid #d9e5df; border-radius: 12px; background: #eaf4ef; }
.health-hospital-report p { margin: 4px 0; color: #354c45; font-size: .87rem; line-height: 1.5; }
.health-hospital-report summary { color: var(--comparison-secondary); font-size: .8rem; cursor: pointer; }
.health-comparison .health-hospital-status {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #edf0f0;
  color: #42505a;
  font-size: .75rem;
  font-weight: 720;
}
.health-hospital-status[data-status='reported'] { background: #e2f2e7; color: #24523d; }
.health-hospital-status[data-status='negotiating'] { background: #fff0da; color: #6c4218; }
.health-hospital-dialog {
  width: min(600px, calc(100% - 28px));
  max-height: min(84vh, 720px);
  margin: auto;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #dbe4e0;
  border-radius: 16px;
  background: #fff;
  color: #17252b;
}
.health-hospital-dialog::backdrop { background: #13231f85; }
.health-hospital-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.health-hospital-dialog-head h2 { margin: 0; font-family: inherit; font-size: clamp(1.22rem, 4vw, 1.6rem); font-weight: 760; line-height: 1.2; letter-spacing: -.02em; }
.health-hospital-close { min-width: 38px; min-height: 38px; padding: 0; border: 1px solid #dbe4e0; border-radius: 8px; background: #f6f9f7; color: #245b52; font-size: 1.55rem; cursor: pointer; }
.health-hospital-dialog label { display: block; margin-bottom: 5px; font-size: .88rem; font-weight: 700; }
.health-hospital-dialog input { width: 100%; min-height: 44px; }
.health-hospital-count, .health-hospital-source { margin: 8px 0; color: #50616a; font-size: .79rem; }
.health-hospital-locations { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.health-hospital-locations button {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #dce7e2;
  border-radius: 8px;
  background: #f8fbf9;
  color: #213a35;
  font: inherit;
  font-size: .89rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.health-hospital-locations button:hover { background: #e9f4ee; }
.health-hospital-locations small { display: block; margin-top: 2px; color: #485a55; font-size: .77rem; font-weight: 500; }
.health-comparison :is(.health-hospital-open, .health-hospital-clear, .health-hospital-action, .health-hospital-dialog button):focus-visible {
  outline: 2px solid var(--comparison-secondary);
  outline-offset: 2px;
}

@media (max-width: 660px) {
  .health-top-grid { grid-template-columns: minmax(0, 1fr); }
  .health-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .health-table, .health-table tbody { display: block; }
  .health-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 12px;
    border-bottom: 1px solid var(--comparison-panel-border);
  }
  .health-table tbody tr:last-child { border-bottom: 0; }
  .health-table tbody :is(th, td) { width: auto; min-width: 0; border: 0; padding: 5px; overflow-wrap: anywhere; }
  .health-table .health-price-cell { grid-column: 2; grid-row: 1; text-align: right; }
  .health-table .health-coverage { grid-column: 1 / -1; border-top: 1px solid var(--comparison-panel-border); padding-top: 8px; }
  .health-coverage-label { display: block; }
}

@media (min-width: 860px) {
  .comparison-experience.comparison-widget > .comparison-end-actions { width: 70%; margin-left: auto; }
}

.comparison-widget .comparison-address-notice { display: none; }

@media (max-width: 560px) {
  .comparison-pick-count { flex-basis: 100%; }
  .comparison-picked { border-radius: 12px; }
  .comparison-guide { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .comparison-guide-maker {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 0 0 3px;
    text-align: left;
  }
  .comparison-guide-portrait { width: 30px; height: 30px; }
  .comparison-guide-bubble::before {
    top: -6px;
    inset-inline-start: 13px;
    border-top: 1px solid var(--comparison-panel-border, #e0e4e2);
    border-bottom: 0;
  }
}
