/* Habitat: one restrained editorial system; all reviewed content is retained. */
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) {
  --hab-ink: #102944;
  --hab-muted: #475d6c;
  --hab-accent: #16776c;
  --hab-line: #d9e1e5;
  --hab-paper: #f6f8f9;
  color: var(--hab-ink);
  background: #fff;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero {
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid var(--hab-line);
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.2vw, 64px);
  padding-block: clamp(32px, 4.5vw, 64px);
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero h1 {
  color: var(--hab-ink);
  font-size: clamp(2.35rem, 3.6vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-copy > p {
  color: var(--hab-muted);
  font-size: 1.03rem;
  line-height: 1.75;
  max-width: 53ch;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-media { width: 100%; margin: 0; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hero-image-frame {
  border-radius: 12px;
  border: 1px solid var(--hab-line);
  box-shadow: none;
  background: var(--hab-paper);
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-media figcaption {
  color: #536574;
  font-size: .78rem;
  line-height: 1.55;
  margin-top: 9px;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-facts-band { background: var(--hab-paper); border-color: var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-facts-band .quick-facts > div { padding-block: 24px; border-color: var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-facts-band .quick-facts dt { color: var(--hab-accent); font-size: .71rem; letter-spacing: .08em; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-facts-band .quick-facts dd { color: var(--hab-ink); font-size: .97rem; line-height: 1.6; font-weight: 500; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-layout {
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(32px, 4.8vw, 64px);
  padding-top: clamp(36px, 4.6vw, 64px);
  padding-bottom: 32px;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body { min-width: 0; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section { margin-bottom: 48px; scroll-margin-top: 110px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section + .reading-section { padding-top: 38px; border-top: 1px solid var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section h2 {
  color: var(--hab-ink);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -.03em;
  max-width: 30ch;
  margin-bottom: 23px;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section :is(p, .useful-list) { color: var(--hab-muted); font-size: 1rem; line-height: 1.8; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section > p { max-width: 70ch; margin-bottom: 17px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section .section-lead { color: var(--hab-ink); font-size: 1.035rem; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section .useful-list { padding-left: 22px; margin-block: 23px 0; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section .useful-list li { margin-bottom: 13px; padding-left: 4px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section .useful-list li::marker { color: var(--hab-accent); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside { top: 28px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside > div {
  background: #fff;
  border: 0;
  border-left: 2px solid var(--hab-line);
  border-radius: 0;
  padding: 3px 0 3px 22px;
  box-shadow: none;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside .eyebrow { color: var(--hab-ink); font-size: .71rem; margin-bottom: 15px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav { gap: 3px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav a { color: #40566a; font-size: .85rem; line-height: 1.55; padding: 9px 8px; margin-inline: -8px; border-radius: 8px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav a:is(:hover, :focus-visible) { color: var(--hab-accent); background: #f0f6f4; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside > div > p { color: #526574; font-size: .8rem; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside .button { white-space: normal; line-height: 1.4; }

/* Subpage comparisons keep native table semantics and keyboard scrolling. */
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap {
  border: 1px solid var(--hab-line);
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
  margin-block: 25px 22px;
  overscroll-behavior-x: contain;
  scrollbar-color: #789590 #eff2f4;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap:focus-visible { outline: 3px solid var(--hab-accent); outline-offset: 4px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap table { font-size: .94rem; line-height: 1.7; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap thead { background: var(--hab-ink); color: #fff; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap thead th { font-weight: 600; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap :is(th, td) { padding: 19px 21px; border-color: var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap tbody th { color: var(--hab-ink); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap td { color: var(--hab-muted); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap tbody tr:nth-child(even) { background: var(--hab-paper); }

/* The hub's existing four rows become a two-column illustrated comparison. */
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-wrap { border: 0; border-radius: 0; overflow: visible; margin-top: 26px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table { display: block; min-width: 0; width: 100%; border-collapse: separate; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-options-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-options-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody tr {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hab-line);
  border-radius: 12px;
  background: #fff;
}
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody tr:nth-child(even) { background: #fff; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody :is(th, td) { display: block; min-width: 0; width: 100%; border: 0; background: transparent; text-align: left; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody th { padding: 0; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-image { margin: 0; background: #fff; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--hab-paper); border-bottom: 1px solid var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-image figcaption { padding: 8px 22px 0; color: #536574; font-size: .75rem; font-weight: 400; line-height: 1.5; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-title { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 10px; margin: 0; padding: 17px 22px 20px; font-size: clamp(1.12rem, 1.4vw, 1.35rem); line-height: 1.3; letter-spacing: -.025em; text-wrap: pretty; color: var(--hab-ink); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-title > span { font: 600 .76rem/1.65 var(--font, sans-serif); color: var(--hab-accent); padding-top: 2px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody td { padding: 0 22px 22px; font-size: .93rem; line-height: 1.7; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-cell-label { display: block; color: var(--hab-ink); font-weight: 600; font-size: .79rem; line-height: 1.5; margin-bottom: 7px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-cell-value { display: block; color: var(--hab-muted); font-weight: 400; }

/* A conceptual plan supports the existing room-by-room questions. */
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-layout-figure { margin: 0 0 27px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-layout-figure > img { display: block; width: 100%; height: auto; border: 1px solid var(--hab-line); border-radius: 12px; background: #fafbfc; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-layout-figure figcaption { padding-top: 15px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-plan-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-plan-legend > span { display: flex; align-items: center; gap: 8px; color: var(--hab-ink); font-size: .83rem; line-height: 1.5; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-plan-legend b { display: grid; place-items: center; flex: 0 0 25px; height: 25px; background: #eaf3f0; border: 1px solid #bed4cb; border-radius: 50%; color: #175d55; font-size: .78rem; font-weight: 600; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-plan-caption { display: block; color: #536574; font-size: .8rem; line-height: 1.6; margin-top: 14px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-section { padding-block: 42px; border-color: var(--hab-line); }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-section .related-link { display: flex; align-items: center; min-height: 72px; padding: 17px 0; background: #fff; border: 0; border-bottom: 1px solid var(--hab-line); border-radius: 0; box-shadow: none; color: var(--hab-ink); font-size: .94rem; line-height: 1.5; }
body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-section .related-link:hover { color: var(--hab-accent); background: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1050px) {
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 30px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-options-table tbody { gap: 18px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-title { padding-inline: 17px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody td { padding-inline: 17px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-image figcaption { padding-inline: 17px; }
}
@media (max-width: 900px) {
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-inner { grid-template-columns: 1fr; gap: 27px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-media { max-width: none; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-copy > p { max-width: 67ch; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-layout { grid-template-columns: 1fr; gap: 33px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside { position: static; grid-row: 1; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside > div { border-left: 0; border-bottom: 1px solid var(--hab-line); padding: 0 0 20px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 25px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav a { font-size: .86rem; min-height: 44px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside .button, body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside p { display: none; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-inner { padding-block: 28px 30px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero h1 { font-size: 2.2rem; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-hero-copy > p { font-size: 1rem; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .page-facts-band .quick-facts > div { padding-block: 18px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-layout { padding-top: 30px; gap: 28px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav { grid-template-columns: 1fr; gap: 1px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside nav a { padding-block: 10px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section { margin-bottom: 35px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section + .reading-section { padding-top: 30px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section h2 { font-size: 1.5rem; margin-bottom: 20px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-section :is(p, .useful-list) { font-size: .97rem; line-height: 1.8; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .table-wrap :is(th, td) { padding: 16px 17px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table { min-width: 0; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-options-table tbody { grid-template-columns: 1fr; gap: 24px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody th { padding: 0; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-title { padding: 17px 20px 20px; font-size: 1.3rem; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-body .hab-options-table tbody td { padding: 0 20px 22px; font-size: .97rem; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-option-image figcaption { padding-inline: 20px; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-plan-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-links { grid-template-columns: 1fr; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .related-section { padding-block: 30px; }
}
@media print {
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-layout { display: block; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .reading-aside { display: none; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .hab-options-table tbody tr { break-inside: avoid; }
  body.premium-site.habitat-page:is(.habitat-hub, .habitat-guide) .table-wrap { overflow: visible; }
}
