/* Scoped public-home/directory legibility correction; no private/course selectors. */
body.rs-riviosa-site.rs-family-home {
  --rs-muted: #55544f;
  --muted: #55544f;
}
body.rs-riviosa-site.rs-family-home :is(.eyebrow,.category-tabs button span,.directory-note,.group-count,.group-heading p,.directory-location,.directory-demo,.world-help,.world-play small,.street-world figcaption,.beyond-socal,.experience-index,.experience-link,.form-note,.site-footer p,.footer-links,dialog label) {
  font-size: max(12px,.75rem);
  line-height: 1.5;
}
body.rs-riviosa-site.rs-family-home :is(.category-tabs button span,.directory-note,.group-count,.group-heading p,.directory-location,.directory-demo,.world-help,.beyond-socal,.experience-index,.form-note,.site-footer p) {
  color: #55544f;
  opacity: 1;
}
body.rs-riviosa-site.rs-family-home .category-tabs button[aria-pressed="true"] span {
  color: inherit;
  opacity: 1;
}
body.rs-riviosa-site.rs-family-home :is(.hero-intro .text-link,.section-heading>.text-link,.world-actions a,.world-actions button,.directory-action,.category-tabs button,.connection-copy .text-link) {
  font-size: max(12px,.75rem);
  min-height: 44px;
}
body.rs-riviosa-site.rs-family-home :is(.world-help,.directory-note,.group-heading p,.directory-location,.directory-demo,.beyond-socal,.category-tabs button,.footer-links a) {
  white-space: normal;
  overflow-wrap: anywhere;
}
body.rs-riviosa-site.rs-family-home .group-heading { flex-wrap: wrap; }
body.rs-riviosa-site.rs-family-home .category-tabs button { height: auto; }
body.rs-riviosa-site.rs-family-home .directory-picture { max-width: 100%; }
body.rs-riviosa-site.rs-family-home .hero-intro .text-link { white-space: normal; }
body.rs-riviosa-site.rs-family-home .hero-intro>*,
body.rs-riviosa-site.rs-family-home .city-field select { min-width: 0; }
body.rs-riviosa-site.rs-family-collection:is([data-rs-path="/explore/"],[data-rs-path="/services/directory/"]) :is(.eyebrow,.project-meta,.place p,.preview-card p,.group-count,.collection-tools label,.collection-tools small) {
  font-size: max(12px,.75rem);
  line-height: 1.5;
  color: #55544f;
  opacity: 1;
  overflow-wrap: anywhere;
}
@media(max-width:580px) {
  body.rs-riviosa-site.rs-family-home :is(.hero-intro p,.directory-entry h3) { font-size: max(12px,.75rem); }
  body.rs-riviosa-site.rs-family-home .directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.rs-riviosa-site.rs-family-home .hero-intro { flex-wrap: wrap; }
}
@media(max-width:360px) {
  body.rs-riviosa-site.rs-family-home .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Integration helpers: semantics and legal/contact links, without player overlays. */
.rs-audit-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#progress-section h2#progress-title {
  font-size: clamp(44px,7.1vw,112px);
  line-height: 1.05;
  max-width: 18ch;
  margin: 25px 0 35px;
}
.rs-audit-footerlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  position: static;
  margin-block: 20px 0;
  font-size: max(12px,.75rem);
  line-height: 1.5;
}
.rs-audit-footerlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 6px;
  overflow-wrap: anywhere;
}
@media(max-width:650px) {
  #progress-section h2#progress-title {
    font-size: clamp(43px,11.5vw,66px);
    line-height: 1.05;
  }
  .rs-audit-footerlinks { gap: 6px 16px; }
}
/* Observed public-hub metadata, scoped by their canonical page identity. */
body.rs-riviosa-site.rs-family-home :is(.sch-map-note,.city-field>span,.showcase-label>span,.street-card-link.directory-link>.directory-demo) {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
}
body.rs-team-overview :is(.eyebrow,.rs-org-label),
body.rs-studio-brand-v2 .studio-proof small,
html:has(link[rel="canonical"][href="https://rsstreet.com/sales-portal/"]) body :is(.wordmark>span,.access .eyebrow),
html:has(link[rel="canonical"][href="https://rsstreet.com/how-it-works/"]) body .eyebrow,
html:has(link[rel="canonical"][href="https://rsstreet.com/start/"]) body .eyebrow,
body:has(.school-hero) :is(.school-kicker,.school-brand>span),
body.rs-zen-monochrome :is(#chant-playlist-title-vi,.chant-native-listen>span) {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
}
body.rs-riviosa-site[data-rs-path="/opportunities/"] :is(.filters label>span,.search>span,.source-link,.results-heading p,.meta>span,.business-row>p,.row-actions a,.row-actions button,.pagination button,.pagination>span,.record-note,.plain-directory,.map-key,.map-key .key-cluster,.map-issue) {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
}
body.rs-riviosa-site[data-rs-path="/opportunities/"] :is(.results-heading p,.meta>span,.business-row>p,.record-note,.plain-directory) {
  color: #464943;
}
body.rs-riviosa-site[data-rs-path="/opportunities/"] .map-key { flex-wrap: wrap; height: auto; }
body.rs-riviosa-site[data-rs-path="/opportunities/"] .map-key .key-cluster { min-width: 24px; min-height: 24px; }
body.rs-riviosa-site[data-rs-path="/opportunities/"] .map-issue { white-space: normal; max-width: calc(100% - 20px); }
body.rs-studio-brand-v2 .rs-value-proof small,
body:has(>main>section#access.access) :is(.wordmark>span,.access .eyebrow),
html:has(link[href^="/launch-assets/site.css"]) body :is(main>.wrap.hero>.eyebrow,.offer-card>.eyebrow) {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
}
/* R Studio's loaded collection metadata and Zen's native action label. */
.rsl-page :is(.rsl-hero-note>span,.rsl-tab-count,.rsl-art-filter-label,.rsl-art-theme,.rsl-return,.rsl-footer>span) {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
  color: #55544f;
  opacity: 1;
}
.rsl-page .rsl-tab-count { min-width: 2ch; }
.rsl-page .rsl-footer { flex-wrap: wrap; }
body.rs-zen-monochrome button.chant-native-listen {
  font-size: max(12px,.75rem) !important;
  line-height: 1.5;
}
body.rs-riviosa-site.rs-family-home .world-play small {
  background: #121211;
  color: #fff;
  opacity: 1;
  padding: 2px 6px;
  border-radius: 2px;
}
body.rs-riviosa-site.rs-family-home .city-field select {
  height: auto;
  min-height: 44px;
  padding-block: 12px;
  line-height: 1.5;
}
body.rs-riviosa-site.rs-family-home #service-collection-category {
  height: auto;
  min-height: 50px;
  padding-block: .75em;
  line-height: 1.5;
}
/* Reflow at enlarged text, preserving normal public-shell sizing. */
.rs-shell {
  height: auto;
  min-height: 72px;
  flex-wrap: wrap;
}
.rs-shell>.rs-shell-nav {
  min-width: 0;
  flex-wrap: wrap;
}
.rs-shell .rs-shell-nav>a.rs-shell-join {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.rs-riviosa-site.rs-family-home .footer-links.footer-groups {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
body.rs-riviosa-site.rs-family-home :is(.footer-group,.footer-group h2),
body:has(.school-hero) :is(.school-footer>div,.school-footer .footer-group) {
  min-width: 0;
  overflow-wrap: anywhere;
}
body:has(.school-hero) .school-footer .school-brand {
  white-space: normal;
  flex-wrap: wrap;
  max-width: 100%;
}
body:has(.school-hero) .school-footer {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
@media(max-width:650px) {
  body.rs-riviosa-site.rs-family-home .footer-links.footer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
