/* Homepage: the selected centred composition, with one primary action.
   Scoped overrides keep registry, library and account layouts independent. */
.home-page .ch-utility--business { display: none; }
.home-page .home-hero { padding: 24px 24px; background: var(--color-sand); border-bottom: 1px solid var(--color-line); }
.home-focus { max-width: 740px; margin: 0 auto; text-align: center; }
.home-focus h1 { margin: 0; font: 600 clamp(32px, 3.3vw, 44px)/1.12 var(--font-display); letter-spacing: -0.04em; }
.home-lead { max-width: 660px; margin: 18px auto 22px; color: var(--color-graphite); font-size: 19px; line-height: 1.45; }
.home-page .home-ask { gap: 10px; text-align: left; }
.home-page .home-ask__field { padding: 16px 18px 12px; }
.home-page .home-ask__input { font-size: 17px; line-height: 1.4; min-height: 52px; }
.home-ask__writing { position: relative; }
.home-ask__hint { position: absolute; inset: 4px 0 0; pointer-events: none; color: var(--color-muted); font: inherit; font-size: 17px; line-height: 1.4; text-align: left; overflow: hidden; }
.home-ask__hint[hidden] { display: none; }
.home-ask__cursor { color: var(--color-assistant-text); animation: home-caret 1s step-end infinite; }
@keyframes home-caret { 50% { opacity: 0; } }
.home-privacy { margin: 0; color: var(--color-muted); font-size: 12px; text-align: center; }
.home-privacy a { color: inherit; text-underline-offset: 3px; }
.home-content { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.home-section { padding: 48px 0; }
.home-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.home-heading .pp-h2 { margin: 0; font-size: 26px; line-height: 1.25; }
.home-heading p { margin: 12px 0 0; color: var(--color-muted); }
.home-page .current-now { background: var(--color-sand); padding: 40px 0; }
.home-page .current-now .pp-wrap { max-width: 1164px; }
.home-page .current-now .pp-h2 { font-size: 26px; }
.home-page .current-now .home-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .current-now .newscard { padding: 18px; min-height: 0; }
.home-page .current-now .newscard__title { font-size: 18px; }
.home-page .current-now .newscard__text { font-size: 15px; line-height: 1.4; }
.home-directory__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.home-directory__group { min-width: 0; }
.home-directory__group h3 { margin: 0 0 12px; font: 700 18px/1.3 var(--font-text); }
.home-directory__group h3 a { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; }
.home-directory__group h3 svg { flex: none; color: var(--color-muted); }
.home-directory__group ul { list-style: none; padding: 0; margin: 0; }
.home-directory__group li a { display: block; padding: 7px 0; color: var(--color-graphite); font-size: 15px; line-height: 1.35; text-decoration: none; }
.home-directory__group a:hover { color: var(--color-action-text); text-decoration: underline; text-underline-offset: 3px; }
.home-sources { border-top: 1px solid var(--color-line); }
.home-sources__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-sources h3 { margin: 0 0 8px; font: 700 17px/1.4 var(--font-text); }
.home-sources h3 a { text-underline-offset: 3px; }
.home-sources__grid p { margin: 0; color: var(--color-graphite); font-size: 15px; line-height: 1.5; }
.home-sources__boundary { max-width: 850px; margin: 0; color: var(--color-graphite); font-size: 14px; line-height: 1.5; }
.home-faq { margin-top: 28px; border-top: 1px solid var(--color-line); }
.home-faq details { padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.home-faq summary { font-weight: 600; cursor: pointer; }
.home-faq p { max-width: 800px; margin: 12px 0 0; color: var(--color-graphite); font-size: 15px; line-height: 1.5; }
.home-page .ch-search-open { display: inline-flex; }
.home-urgent { flex: none; min-height: 44px; padding-inline: 12px; font-size: 13px; }
.home-page .ch-consent { right: 16px; bottom: 16px; left: auto; max-width: 570px; flex-direction: row; align-items: center; gap: 16px; }
.home-page .ch-consent__actions { flex: none; }
.home-page .ch-consent__text { font-size: 13px; }
.home-page .ch-consent__actions .pp-btn { min-height: 44px; padding-inline: 12px; font-size: 13px; }
@media (max-width: 1199px) {
  .home-page .ch-nav { display: none; }
  .home-page .ch-logo { margin-right: auto; }
  .home-directory__grid { gap: 28px; }
}
@media (max-width: 760px) {
  .home-page .home-hero { padding: 24px 16px; }
  .home-focus h1 { max-width: 440px; margin: auto; font-size: 29px; line-height: 1.16; }
  .home-lead { margin: 14px auto 18px; font-size: 16px; line-height: 1.4; }
  .home-page .home-ask__field { padding: 13px 13px 11px; border-radius: 18px; }
  .home-page .home-ask__label { font-size: 13px; }
  .home-page .home-ask__head { gap: 8px; }
  .home-page .home-ask__head .pt-mark { width: 22px; height: 22px; }
  .home-page .home-ask__input { min-height: 64px; font-size: 16px; }
  .home-ask__hint { font-size: 16px; }
  .home-page .home-ask__row { gap: 8px; }
  .home-page .home-ask__go { min-height: 44px; padding-inline: 16px; }
  .home-page .home-ask__pet { min-width: 0; padding-inline: 8px; font-size: 12px; }
  .home-content { width: calc(100% - 32px); }
  .home-section { padding: 32px 0; }
  .home-heading { margin-bottom: 20px; }
  .home-heading .pp-h2, .home-page .current-now .pp-h2 { font-size: 22px; line-height: 1.3; }
  .home-page .current-now { padding: 32px 0; }
  .home-page .current-now .home-news { grid-template-columns: 1fr; gap: 12px; }
  .home-page .current-now .newscard { padding: 16px; }
  .home-page .current-now .newscard__text { margin-top: 8px; }
  .home-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .home-directory__group h3 { font-size: 16px; min-height: 42px; }
  .home-directory__group li a { padding: 8px 0; font-size: 14px; line-height: 1.4; }
  .home-directory__group h3 svg { display: none; }
  .home-sources__grid { grid-template-columns: 1fr; gap: 20px; }
  .home-page .ch-consent { left: 8px; right: 8px; bottom: calc(66px + env(safe-area-inset-bottom, 0px)); padding: 10px; gap: 8px; max-width: none; flex-wrap: wrap; }
  .home-page .ch-consent__text { font-size: 12px; line-height: 1.35; flex: 1 1 100%; }
  .home-page .ch-consent__actions { width: 100%; }
  .home-page .ch-logo img { max-width: 176px; height: auto; }
  .home-page .ch-utility { display: none; }
  .home-page .home-urgent { width: 44px; min-width: 44px; padding: 0; }
  .home-page .home-urgent span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .home-page .ch-row { gap: 6px; padding-inline: 16px; }
  .home-page .ch-search-open, .home-page .ch-login { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page * { scroll-behavior: auto; }
  .home-ask__cursor { animation: none; }
}

.home-saved-answer__text { white-space: pre-line; }
.home-saved-answer { scroll-margin-top: 120px; }
