/* Sierra Hub theme-setting fidelity and static text-field states — v1.9.1
   Collection cards follow their saved day/night design exactly. Text-entry controls
   remain visually stable on hover; keyboard focus remains available and accessible. */

/* Collection cards are author-managed surfaces and must not be recolored by the
   automatic contrast engine or generic public muted-text rules. */
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"]{
  color:var(--collection-light-text,#2b2233)!important;
  background-blend-mode:normal!important;
}
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"] :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,i,svg){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"] p{opacity:.8!important}
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-light="default"],
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-light="custom"],
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-light="theme"]{
  background-color:var(--collection-light-start)!important;
  background-image:linear-gradient(145deg,var(--collection-light-start),var(--collection-light-end))!important;
  background-size:auto!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-light="solid"]{
  background-color:var(--collection-light-start)!important;
  background-image:none!important;
}
.public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-light="image"]{
  background-color:var(--collection-light-start)!important;
  background-image:linear-gradient(rgba(8,7,12,var(--collection-light-overlay)),rgba(8,7,12,var(--collection-light-overlay))),var(--collection-light-image)!important;
  background-size:cover!important;
  background-position:var(--collection-light-position)!important;
  background-repeat:no-repeat!important;
}
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"]{
  color:var(--collection-dark-text,#fff)!important;
}
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-dark="default"],
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-dark="custom"],
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-dark="theme"]{
  background-color:var(--collection-dark-start)!important;
  background-image:linear-gradient(145deg,var(--collection-dark-start),var(--collection-dark-end))!important;
  background-size:auto!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-dark="solid"]{
  background-color:var(--collection-dark-start)!important;
  background-image:none!important;
}
html[data-theme="dark"] .public-page .collections-grid .collection-card[data-shph-theme-managed="true"][data-card-style-dark="image"]{
  background-color:var(--collection-dark-start)!important;
  background-image:linear-gradient(rgba(5,7,11,var(--collection-dark-overlay)),rgba(5,7,11,var(--collection-dark-overlay))),var(--collection-dark-image)!important;
  background-size:cover!important;
  background-position:var(--collection-dark-position)!important;
  background-repeat:no-repeat!important;
}

/* The Collection Card Studio preview uses the exact selected foreground and
   background values, including while switching between Day and Night tabs. */
.collection-editor-preview[data-shph-theme-managed="true"]{
  color:var(--collection-item-text,#fff)!important;
  background-blend-mode:normal!important;
}
.collection-editor-preview[data-shph-theme-managed="true"] :where(h1,h2,h3,h4,h5,h6,p,span,strong,small,i,svg){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
.collection-editor-preview[data-shph-theme-managed="true"] p{opacity:.8!important}

/* Text fields and placeholders define no hover-specific visual state. Project-authored
   hover selectors were removed from the underlying form styles. Focus/focus-visible
   rules remain available for keyboard and form interaction. */
:is(.public-page,.page-wrapper,.shph-auth-body,.install-wrap) :where(input,textarea,.form-control)::placeholder{
  transition:none!important;
  transform:none!important;
}
