
:root{color-scheme:light;--ink:#293c42;--paper:#f8f6f0;--accent:#a27642}body{background:#faf8f3!important;color:#293c42!important}header.topbar{background:rgba(255,253,248,.96)!important;color:#293c42!important;border-bottom:1px solid #e5ded2}header a,header button{color:#293c42!important}.hero{background:#eee7da!important}.hero-shade{background:linear-gradient(90deg,rgba(35,47,45,.77),rgba(48,54,50,.18))!important}.section,.intro,.closing{background:#faf8f3!important;color:#293c42!important}.stats,.archive-section{background:#f0ebe1!important;color:#293c42!important}.archive-inner,.archive-inner h2,.archive-inner p,.archive-section .kicker{color:#293c42!important}.feature{background:#e9e2d6!important;color:#293c42!important}.feature-text h2,.feature-text p{color:#293c42!important}.family-card{border-radius:16px;overflow:hidden;box-shadow:0 12px 36px #293c4220}.family-card img{filter:sepia(.12)}.family-card:after{background:linear-gradient(transparent,#192a2ab8)!important}.results .result,.result{background:#fff!important;color:#293c42!important;border:1px solid #e7e1d7!important}.result strong,.result p{color:#293c42!important}.btn.dark{background:#34545a!important;color:#fff!important}.filter-bar button{border-color:#c8bba8!important}.family-context{background:#e9e0d0;color:#293c42;padding:18px 6%;display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}.family-context[hidden]{display:none}.family-context strong{font-size:1.2rem}.family-context a{color:#34545a;font-weight:700}.family-context .share{border:1px solid #8e9c9b;border-radius:100px;padding:9px 15px;background:#fff;cursor:pointer}.family-landing .hero{min-height:480px}.family-landing #families{display:none}.family-landing .feature{display:none}.family-landing .archive-filters{margin-top:20px}footer{background:#e9e3d7!important;color:#293c42!important}@media(max-width:700px){.family-context{padding:14px 5%}.family-landing .hero{min-height:420px}}

/* v4.1 accessibility fix: readable filter labels in both states on light backgrounds */
#typeFilters button, #galleryFilters button {
  color: #243b3c !important;
  background-color: #fffdf8 !important;
  border: 1px solid #9a8b75 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #243b3c !important;
}
#typeFilters button.active, #galleryFilters button.active {
  color: #ffffff !important;
  background-color: #294b4c !important;
  border-color: #294b4c !important;
  -webkit-text-fill-color: #ffffff !important;
}
#typeFilters button:hover:not(.active), #galleryFilters button:hover:not(.active) {
  background-color: #e9e2d6 !important;
}
#typeFilters button:focus-visible, #galleryFilters button:focus-visible {
  outline: 3px solid #a77b39;
  outline-offset: 2px;
}
