[hidden]{display:none!important}
.hero h1{font-size:clamp(52px,5.3vw,78px)}
.eyebrow{color:var(--ivory)}
.button-ochre{background:var(--ivory);color:var(--forest);border-color:var(--ochre)}
.about-points article span,.dashboard-head .tag,.breed-kicker{color:var(--forest)}
.filter-favorites[aria-pressed="true"],.plan-week[aria-current="true"]{background:var(--forest);color:var(--ivory)}
.search-field:focus-within,.select-field:focus-within{outline:3px solid var(--forest);outline-offset:3px}
.search-field input:focus-visible,.select-field select:focus-visible{outline:3px solid var(--forest);outline-offset:5px}
.save-status{font-size:13px;line-height:1.5;margin:0 0 15px}
.save-status:empty{display:none}
.data-details{border-top:1px solid var(--forest);border-bottom:1px solid var(--forest);padding:14px 0;margin:0 0 25px}
.data-details summary{cursor:pointer;font-weight:700;font-size:13px}
.data-details p{font-size:13px;line-height:1.55;max-width:700px;margin:12px 0 0}
.score-disclaimer{font-size:12px;line-height:1.55}
.dog-tabs button[aria-pressed="true"],.dashboard-tabs button[aria-pressed="true"]{background:var(--forest);color:var(--ivory)}
.dashboard-head>div,.record-item>div,.profile-intro>div,.catalog-heading>div{min-width:0}
.dashboard-head p,.record-item p,.plan-task strong,.breed-facts strong{overflow-wrap:anywhere}
.dashboard-tabs button,.dog-tabs button{flex:none}
@media(max-width:960px){
  .header-inner{grid-template-columns:1fr auto;min-height:70px}
  .menu-button{display:flex;flex-direction:column;gap:5px;border:0;background:transparent;padding:9px}
  .menu-button span{width:23px;height:2px;background:var(--forest)}
  .site-nav{display:none;grid-column:1/-1;flex-direction:column;align-items:stretch;gap:0;padding:7px 0 18px}
  .site-nav.open{display:flex}
  .site-nav a{padding:11px 0;border-top:1px solid var(--forest)}
  .header-cta{display:none}
}
@media(max-width:620px){
  .hero,.hero-inner{min-height:0}
  .hero-image{inset:0 0 auto;height:100vw;background-size:100% auto;background-position:center top}
  .hero-shade{inset:0 0 auto;height:100vw;background:linear-gradient(to bottom,rgba(36,77,59,0) 50%,var(--forest) 100%)}
  .hero-inner{padding-top:100vw}
  .hero-copy{width:100%;padding:22px 0 42px}
  .hero h1{font-size:clamp(42px,12vw,60px)}
  .hero-bottom{padding:14px 0 20px;line-height:1.35}
  .hero-bottom span{width:33.333%;padding-right:8px}
  .dashboard-tabs{scrollbar-width:thin}
  .download-grid{grid-template-columns:minmax(0,1fr)}
  .contacts-details strong{font-size:clamp(20px,6vw,25px)}
  .modal{max-height:calc(100dvh - 20px)}
  .toast{width:calc(100% - 32px);max-width:500px;text-align:center;border-radius:14px}
}
@media(max-width:360px){
  .container{width:calc(100% - 24px)}
  .section h2{font-size:37px}
  .hero h1{font-size:43px}
  .hero-bottom{font-size:8px}
  .dashboard-head{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .dashboard-head img,.dog-photo-placeholder{width:72px;height:72px}
  .dashboard-head h3{font-size:27px}
  .record-item{grid-template-columns:72px minmax(0,1fr)}
}
@media(pointer:coarse){
  .group-filters button,.score-filter-toggle,.dashboard-tabs button,.dog-tabs button,.breed-open,.record-item button,.photo-tile button,.menu-button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:0.01ms!important;animation-duration:0.01ms!important;animation-iteration-count:1!important}
}

/* Version 2 visual refinements */
.container{width:min(1440px,calc(100% - 64px))}
.header-inner{min-height:96px}
.brand{font-size:29px;gap:14px}
.brand img{width:56px;height:56px;border-radius:13px}
.hero h1{font-size:clamp(50px,5.2vw,82px);line-height:1.08;letter-spacing:.005em;overflow-wrap:normal}
.section h2{line-height:1.1;letter-spacing:0;overflow-wrap:normal}
.hero-copy{width:min(710px,55%)}
.hero-media{position:absolute;z-index:-2;inset:0 0 0 37%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 100%)}
.hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;opacity:0;transition:opacity .85s ease}
.hero-media img.is-visible{opacity:1}
.hero-media::after{content:"";position:absolute;inset:0 auto 0 0;width:36%;pointer-events:none;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 45%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 45%,transparent 100%)}
.hero-shade{background:linear-gradient(90deg,var(--forest) 0%,rgba(36,77,59,.97) 34%,rgba(36,77,59,.76) 52%,rgba(36,77,59,.24) 72%,transparent 91%)}
.hero-bottom{margin-top:0}
.catalog-controls{grid-template-columns:minmax(240px,1fr) 190px minmax(230px,270px) auto}
.breed-card-image{height:auto;aspect-ratio:4/3}
.breed-card-image img,.breed-main-photo{object-position:center 15%}
.breed-card:hover img{transform:none}
.sync-note{border-left:3px solid var(--ochre);padding:10px 0 10px 18px;font-size:14px;line-height:1.55;margin:0 0 26px}
@media(max-width:960px){.catalog-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.catalog-controls .search-field{grid-column:1/-1}.catalog-controls .filter-favorites{grid-column:1/-1;justify-self:start}}
@media(max-width:780px){.container{width:calc(100% - 32px)}.header-inner{min-height:80px}.hero-copy{width:min(650px,100%)}.hero h1{font-size:clamp(48px,8vw,70px)}.hero-shade{background:linear-gradient(90deg,rgba(36,77,59,.98) 0%,rgba(36,77,59,.9) 40%,rgba(36,77,59,.5) 100%)}}
@media(max-width:620px){.brand{font-size:25px}.brand img{width:48px;height:48px}.hero-media{inset:0 0 auto;width:100%;height:min(100vw,500px);-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 60%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 60%,transparent 100%)}.hero-media img{object-position:72% center}.hero-media::after{display:none}.hero-shade{inset:0;background:linear-gradient(180deg,rgba(36,77,59,.03) 0%,rgba(36,77,59,.18) 28%,var(--forest) min(100vw,500px))}.hero-inner{padding-top:min(100vw,500px)}.hero-copy{padding-top:20px}.hero h1{font-size:clamp(41px,10vw,55px)}.catalog-controls{grid-template-columns:1fr}.catalog-controls .search-field,.catalog-controls .filter-favorites{grid-column:auto}}
@media(max-width:360px){.hero h1{font-size:40px}}

/* The signed-in cabinet occupies its own screen. */
body.cabinet-open main>section:not(.profile-section),body.cabinet-open .site-footer{display:none}
body.cabinet-open [data-auth-action="enter-cabinet"],body:not(.cabinet-open) [data-auth-action="site-home"]{display:none}
body.account-signed-in:not(.cabinet-open) .profile-toolbar,body.account-signed-in:not(.cabinet-open) #profile-content{display:none!important}
body.cabinet-open .profile-section{min-height:calc(100vh - 96px);padding:46px 0 100px;background:var(--ivory)}
body.cabinet-open .profile-intro{grid-template-columns:minmax(0,1fr) minmax(240px,360px)}
body.cabinet-open .profile-intro h2{font-size:clamp(42px,5vw,68px)}
body.cabinet-open .profile-dashboard{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:570px}
body.cabinet-open .dashboard-head{grid-column:1/-1}
body.cabinet-open .dashboard-tabs{grid-column:1;display:flex;flex-direction:column;overflow:visible;border-right:1px solid var(--forest);border-bottom:0}
body.cabinet-open .dashboard-tabs button{width:100%;text-align:left;border-right:0;border-bottom:1px solid var(--forest);white-space:normal}
body.cabinet-open .dashboard-panel{grid-column:2;min-width:0;min-height:420px}
@media(max-width:900px){body.cabinet-open .profile-intro{grid-template-columns:1fr}body.cabinet-open .profile-dashboard{grid-template-columns:1fr}body.cabinet-open .dashboard-head,body.cabinet-open .dashboard-tabs,body.cabinet-open .dashboard-panel{grid-column:1}body.cabinet-open .dashboard-tabs{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--forest)}body.cabinet-open .dashboard-tabs button{width:auto;white-space:nowrap;border-right:1px solid var(--forest);border-bottom:0}}
@media(max-width:620px){body.cabinet-open .profile-section{padding-top:28px}body.cabinet-open .profile-intro h2{font-size:42px}}
