/* Hi-Res Homes 1125p35 — Home prep checklist page. */
.hrh-prep-page { background: #fdfcf8; color: #2b2b2b; }
.hrh-prep-page header.sticky.hrt-scrolled { border-color: #e4e0d6; }

.hrh-prep-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .hrh-prep-wrap { padding-left: 2rem; padding-right: 2rem; }
}

.hrh-prep-hero { padding: 3.25rem 0 2.5rem; }
@media (min-width: 768px) { .hrh-prep-hero { padding: 4.25rem 0 3.25rem; } }

.hrh-prep-hero h1 {
  margin: 0.85rem 0 0;
  max-width: 16ch;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #234786;
}
.hrh-prep-hero h1 em {
  font-family: Fraunces, Georgia, serif;
  font-weight: 300;
  font-style: italic;
  color: #1d2f55;
}
.hrh-prep-lede {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #4a4740;
}
.hrh-prep-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hrh-prep-progress {
  margin-top: 1.35rem;
  max-width: 24rem;
}
.hrh-prep-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d2f55;
  margin-bottom: 0.4rem;
}
.hrh-prep-progress-track {
  height: 0.45rem;
  border-radius: 999px;
  background: #e4e0d6;
  overflow: hidden;
}
.hrh-prep-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #234786;
  transition: width 220ms ease-out;
}

.hrh-prep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: #234786;
  color: #fff;
  font-family: inherit;
  transition: background .2s ease, transform .2s ease;
}
.hrh-prep-btn:hover { background: #1d2f55; }
.hrh-prep-btn-ghost {
  background: transparent;
  color: #234786;
  box-shadow: inset 0 0 0 1.5px #234786;
}
.hrh-prep-btn-ghost:hover { background: #eef2f9; }

.hrh-prep-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-top: 1.75rem;
  max-width: 46rem;
}
.hrh-prep-jump a {
  font-size: 0.78rem;
  font-weight: 600;
  color: #234786;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef2f9;
  transition: background 180ms ease, color 180ms ease;
}
.hrh-prep-jump a:hover,
.hrh-prep-jump a:focus-visible { background: #234786; color: #fff; }

.hrh-prep-grid {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 900px) {
  .hrh-prep-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.hrh-prep-card--wide { grid-column: 1 / -1; }

.hrh-prep-card {
  background: #fff;
  border: 1px solid #e4e0d6;
  border-radius: 1.25rem;
  padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: 0 1px 0 rgba(29, 47, 85, 0.04);
}
@media (min-width: 768px) {
  .hrh-prep-card { padding: 1.65rem 1.6rem 1.35rem; }
}

.hrh-prep-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.hrh-prep-icon {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: #eef2f9;
  color: #234786;
}
.hrh-prep-icon svg { width: 1.25rem; height: 1.25rem; }
.hrh-prep-card h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: #1d2f55;
  line-height: 1.2;
}
.hrh-prep-card-intro {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a4740;
}

.hrh-prep-note p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a4740;
}
.hrh-prep-note p:last-child { margin-bottom: 0; }

.hrh-prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.hrh-prep-list li { margin: 0; }
.hrh-prep-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0.35rem;
  border-radius: 0.7rem;
  cursor: pointer;
  min-height: 2.5rem;
  transition: background 160ms ease;
}
.hrh-prep-list label:hover { background: #f6f3ec; }
.hrh-prep-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  border: 1.5px solid #234786;
  border-radius: 0.28rem;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.hrh-prep-list input[type="checkbox"]:checked {
  background: #234786;
  border-color: #234786;
}
.hrh-prep-list input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.08rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hrh-prep-list input[type="checkbox"]:focus-visible {
  outline: 2px solid #234786;
  outline-offset: 2px;
}
.hrh-prep-list span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2b2b2b;
}
.hrh-prep-list label:has(input:checked) span {
  color: #4a4740;
}

.hrh-prep-cta {
  background: #1d2f55;
  color: #fdfcf8;
  padding: 3.5rem 0;
  text-align: center;
}
.hrh-prep-cta h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fdfcf8;
}
.hrh-prep-cta p {
  margin: 0.9rem auto 0;
  max-width: 32rem;
  color: rgba(253, 252, 248, 0.78);
  line-height: 1.6;
}
.hrh-prep-cta .hrh-prep-btn {
  margin-top: 1.6rem;
  background: #f4f000;
  color: #1d2f55;
}
.hrh-prep-cta .hrh-prep-btn:hover { background: #fff48a; }

/* Dark mode */
html[data-theme="dark"] .hrh-prep-page { background: #121821; color: #f4f1ea; }
html[data-theme="dark"] .hrh-prep-page header.sticky { background: #121821; border-color: transparent; }
html[data-theme="dark"] .hrh-prep-page header.sticky.hrt-scrolled { border-color: #3a4254; }
html[data-theme="dark"] .hrh-prep-hero h1 { color: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-hero h1 em { color: #f4f1ea; }
html[data-theme="dark"] .hrh-prep-lede,
html[data-theme="dark"] .hrh-prep-card-intro,
html[data-theme="dark"] .hrh-prep-note p { color: #c5c0b4; }
html[data-theme="dark"] .hrh-prep-progress-label { color: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-progress-track { background: #3a4254; }
html[data-theme="dark"] .hrh-prep-progress-bar { background: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-btn { background: #9eb6e0; color: #121821; }
html[data-theme="dark"] .hrh-prep-btn:hover { background: #c5d3ee; }
html[data-theme="dark"] .hrh-prep-btn-ghost {
  background: transparent;
  color: #9eb6e0;
  box-shadow: inset 0 0 0 1.5px #9eb6e0;
}
html[data-theme="dark"] .hrh-prep-btn-ghost:hover { background: #1c2433; }
html[data-theme="dark"] .hrh-prep-jump a { background: #1c2433; color: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-jump a:hover,
html[data-theme="dark"] .hrh-prep-jump a:focus-visible { background: #9eb6e0; color: #121821; }
html[data-theme="dark"] .hrh-prep-card {
  background: #181f2c;
  border-color: #3a4254;
  box-shadow: none;
}
html[data-theme="dark"] .hrh-prep-icon { background: #1c2433; color: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-card h2 { color: #f4f1ea; }
html[data-theme="dark"] .hrh-prep-list label:hover { background: #1c2433; }
html[data-theme="dark"] .hrh-prep-list input[type="checkbox"] {
  background: #121821;
  border-color: #9eb6e0;
}
html[data-theme="dark"] .hrh-prep-list input[type="checkbox"]:checked {
  background: #9eb6e0;
  border-color: #9eb6e0;
}
html[data-theme="dark"] .hrh-prep-list input[type="checkbox"]:checked::after { border-color: #121821; }
html[data-theme="dark"] .hrh-prep-list span { color: #f4f1ea; }
html[data-theme="dark"] .hrh-prep-list label:has(input:checked) span { color: #c5c0b4; }
html[data-theme="dark"] .hrh-prep-cta { background: #0e141c; }
html[data-theme="dark"] nav a[aria-current="page"] { color: #9eb6e0; }

.hrh-prep-card.is-in {
  animation: hrh-prep-fade 420ms ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .hrh-prep-card.is-in,
  .hrh-prep-progress-bar,
  .hrh-prep-btn,
  .hrh-prep-list label { animation: none; transition: none; }
}

@keyframes hrh-prep-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Print — compact to about two letter pages. Screen styles unchanged. */
@media print {
  @page { size: letter; margin: 0.38in 0.4in; }
  header.sticky,
  #mobile-nav,
  .hrh-theme-toggle,
  .hrh-prep-actions,
  .hrh-prep-jump,
  .hrh-prep-cta,
  footer,
  .skip,
  .hrt-skip { display: none !important; }
  .hrh-prep-page { background: #fff; color: #000; }
  .hrh-prep-wrap { padding-left: 0; padding-right: 0; max-width: none; }
  .hrh-prep-hero { padding: 0 0 0.35rem; }
  .hrh-prep-hero h1 { color: #000; font-size: 1.15rem; margin: 0.15rem 0 0; max-width: none; }
  .hrh-prep-lede { color: #222; max-width: none; margin: 0.2rem 0 0; font-size: 0.72rem; line-height: 1.3; }
  .hrh-prep-progress { display: none; }
  .eyebrow { font-size: 0.58rem; margin: 0; }
  .hrh-prep-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.32rem 0.45rem;
    padding: 0;
  }
  .hrh-prep-card--wide { grid-column: 1 / -1; }
  .hrh-prep-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 0.35rem;
    margin-bottom: 0;
    background: #fff;
    padding: 0.32rem 0.4rem 0.28rem;
  }
  .hrh-prep-card-head { margin-bottom: 0.2rem; gap: 0.35rem; align-items: center; }
  .hrh-prep-icon { width: 1.05rem; height: 1.05rem; border-radius: 0.22rem; }
  .hrh-prep-icon svg { width: 0.68rem; height: 0.68rem; }
  .hrh-prep-card h2 { font-size: 0.82rem; letter-spacing: -0.01em; }
  .hrh-prep-card-intro,
  .hrh-prep-note p { font-size: 0.68rem; line-height: 1.28; margin: 0 0 0.22rem; }
  .hrh-prep-list { gap: 0; }
  .hrh-prep-list label {
    padding: 0.05rem 0;
    min-height: 0;
    gap: 0.32rem;
    border-radius: 0;
  }
  .hrh-prep-list label:hover { background: transparent; }
  .hrh-prep-list span { font-size: 0.68rem; line-height: 1.25; }
  .hrh-prep-list input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 0.68rem;
    height: 0.68rem;
    margin: 0.08rem 0 0;
    border: 1px solid #000;
    background: #fff;
  }
  .hrh-prep-list input[type="checkbox"]:checked::after { display: none; }
}


.hrh-prep-page .skip, .hrh-prep-page .hrt-skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #234786;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hrh-prep-page .skip:focus, .hrh-prep-page .hrt-skip:focus,
.hrh-prep-page .skip:focus-visible, .hrh-prep-page .hrt-skip:focus-visible {
  left: 1rem;
}


/* Platform photo-rules cards */
.hrh-prep-rules .hrh-prep-card-intro { max-width: 46rem; }
.hrh-prep-platforms {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 1024px) {
  .hrh-prep-platforms { grid-template-columns: 1fr 1fr 1fr; gap: 1.2rem; align-items: stretch; }
}
.hrh-prep-platform {
  background: #fdfcf8;
  border: 1px solid #e4e0d6;
  border-radius: 1rem;
  padding: 1.15rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hrh-prep-platform-mark {
  margin: 0;
  display: flex;
  align-items: center;
  align-self: flex-start;
  min-height: 36px;
  padding: 0;
  background: none;
}
.hrh-prep-platform-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 12.5rem;
  object-fit: contain;
}
html[data-theme="dark"] .hrh-prep-platform-logo[src*="platform-vrbo.svg"] {
  background-color: #fff;
  border-radius: 4px;
  padding: 3px 6px;
  height: 32px;
  box-sizing: border-box;
}
.hrh-prep-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hrh-prep-chips span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #234786;
  background: #fff;
  border: 1px solid #d5dce8;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  line-height: 1.3;
}
.hrh-prep-rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.hrh-prep-rules-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #2b2b2b;
}
.hrh-prep-rules-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #234786;
}
.hrh-prep-dodont {
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
}
.hrh-prep-do,
.hrh-prep-dont {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem 0.65rem 0.7rem;
}
.hrh-prep-do { background: #eef6ef; color: #1d3a24; }
.hrh-prep-dont { background: #f8eeee; color: #4a2a2a; }
.hrh-prep-do span,
.hrh-prep-dont span {
  display: inline-block;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.4rem;
}
.hrh-prep-do span { color: #1f6b3a; }
.hrh-prep-dont span { color: #9a2f2f; }
.hrh-prep-rules-foot {
  margin: 1.15rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a4740;
}

html[data-theme="dark"] .hrh-prep-platform {
  background: #1c2433;
  border-color: #3a4254;
}
html[data-theme="dark"] .hrh-prep-platform-mark {
  background: none;
  color: inherit;
}
html[data-theme="dark"] .hrh-prep-chips span {
  background: #181f2c;
  border-color: #3a4254;
  color: #9eb6e0;
}
html[data-theme="dark"] .hrh-prep-rules-list li { color: #f4f1ea; }
html[data-theme="dark"] .hrh-prep-rules-list li::before { background: #9eb6e0; }
html[data-theme="dark"] .hrh-prep-do { background: #16301f; color: #d7edd9; }
html[data-theme="dark"] .hrh-prep-dont { background: #3a2020; color: #f0d4d4; }
html[data-theme="dark"] .hrh-prep-do span { color: #8ad0a0; }
html[data-theme="dark"] .hrh-prep-dont span { color: #f0a0a0; }
html[data-theme="dark"] .hrh-prep-rules-foot { color: #c5c0b4; }

@media print {
  /* Let the wide rules card start in leftover space on page 2; keep columns intact. */
  .hrh-prep-rules { break-inside: auto; }
  .hrh-prep-platforms { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 0.18rem 0.28rem; }
  .hrh-prep-platform { break-inside: avoid; margin-bottom: 0; padding: 0.18rem 0.22rem; gap: 0.14rem; }
  .hrh-prep-platform-mark { min-height: 0; }
  .hrh-prep-platform-logo { height: 13px; max-width: 6.2rem; }
  .hrh-prep-chips { gap: 0.1rem; }
  .hrh-prep-chips span { font-size: 0.46rem; padding: 0.04rem 0.22rem; }
  .hrh-prep-rules-list { gap: 0.08rem; }
  .hrh-prep-rules-list li { font-size: 0.5rem; line-height: 1.16; padding-left: 0.7rem; }
  .hrh-prep-rules-list li::before { top: 0.22rem; width: 0.22rem; height: 0.22rem; }
  .hrh-prep-do,
  .hrh-prep-dont { font-size: 0.5rem; line-height: 1.16; padding: 0.12rem 0.22rem; }
  .hrh-prep-do span,
  .hrh-prep-dont span { font-size: 0.46rem; margin-right: 0.2rem; }
  .hrh-prep-rules-foot { font-size: 0.5rem; line-height: 1.2; margin-top: 0.18rem; }
  .hrh-prep-rules .hrh-prep-card-intro { max-width: none; font-size: 0.52rem; line-height: 1.2; margin-bottom: 0.15rem; }
  .hrh-prep-rules .hrh-prep-card-head { margin-bottom: 0.12rem; }
  .hrh-prep-rules h2 { font-size: 0.75rem; }
}

/* Print: show Photo Ready / italic phrases as static text, hide leftover write masks. */
@media print {
  .hrh-prep-hero h1 em,
  .hrh-iw-word {
    -webkit-mask: none !important;
    mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
  }
  .hrh-iw-maskdef { display: none !important; }
}

/* Checklist-only header: macOS Dock magnification, no gold glow. */
.hrh-prep-page header.sticky {
  overflow: visible;
}
.hrh-prep-page header.sticky > div {
  overflow: visible;
}
.hrh-prep-page header.sticky nav[aria-label="Primary"] {
  overflow: visible;
}
.hrh-prep-page header.sticky nav[aria-label="Primary"] a {
  transform: scale(var(--hrh-dock-scale, 1));
  transform-origin: center center;
  transition: transform 90ms linear;
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
  background-image: none;
  position: relative;
  z-index: 1;
  will-change: transform;
}
.hrh-prep-page header.sticky nav[aria-label="Primary"] a:hover,
.hrh-prep-page header.sticky nav[aria-label="Primary"] a:focus-visible {
  transform: scale(var(--hrh-dock-scale, 1));
  z-index: 2;
  text-shadow: none !important;
  box-shadow: none !important;
  filter: none !important;
  background-image: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hrh-prep-page header.sticky nav[aria-label="Primary"] a,
  .hrh-prep-page header.sticky nav[aria-label="Primary"] a:hover,
  .hrh-prep-page header.sticky nav[aria-label="Primary"] a:focus-visible {
    transform: none !important;
    transition: none !important;
  }
}

/* Client login: keep the inverted outline; no color change on hover. */
.hrh-prep-page header.sticky a.hrh-header-login:hover,
.hrh-prep-page header.sticky a.hrh-header-login:focus-visible {
  background: #fdfcf8 !important;
  color: #234786 !important;
  box-shadow: inset 0 0 0 1.5px #234786 !important;
}
html[data-theme="dark"] .hrh-prep-page header.sticky a.hrh-header-login:hover,
html[data-theme="dark"] .hrh-prep-page header.sticky a.hrh-header-login:focus-visible {
  background: transparent !important;
  color: #9eb6e0 !important;
  box-shadow: inset 0 0 0 1.5px #9eb6e0 !important;
}

/* 1125p72: rentals-only checklist content is hidden for the Realtors audience */
html[data-hrh-audience="realtors"] [data-hrh-rentals-only]{display:none!important}
