/* v1024 reusable component authority. */
html[data-design-authority="v1024"] :where(.soft-card,.dashboard-card,.contact,.community-card,.settings-section,.account-section,.profile-score-card){
  border-color:var(--border-subtle)!important;background-color:var(--surface-elevated)!important;background-image:none!important;box-shadow:var(--shadow-1)!important;
}
html[data-design-authority="v1024"] :where(.soft-card,.dashboard-card,.contact,.community-card,.profile-score-card){border-radius:var(--radius-card)!important}
html[data-design-authority="v1024"] :where(button,[role="button"],summary,.pill,input,select,textarea){min-height:var(--target-min)}
html[data-design-authority="v1024"] :where(small,.muted,.hint,.supporting,.contact-main small,.settings-section summary small,.account-section summary small){font-size:max(var(--supporting-min),1em);line-height:1.42;color:var(--text-secondary)}
html[data-design-authority="v1024"] :where(.primary,button.active,[aria-selected="true"]){box-shadow:0 7px 20px rgba(198,95,20,.18)!important}
html[data-design-authority="v1024"] :where(.premium-menu,.modal-card,.call-tools,.attachment-menu-card){border-color:var(--border-subtle)!important;background:var(--surface-elevated)!important;color:var(--text-primary)!important;box-shadow:var(--shadow-3)!important}
html[data-design-authority="v1024"] [data-overlay-active="true"]{z-index:calc(20000 + var(--fl-overlay-layer,0))!important}
/* v1070: Call dialogs must outrank the full-screen media surface (z 28000).
   The generic overlay layer is intentionally lower for menus, but applying it
   to a consent/group modal placed the dialog behind an active call. */
html[data-design-authority="v1024"] :is(.modal,.incoming-call,.image-viewer)[data-overlay-active="true"]{
  z-index:calc(50000 + var(--fl-overlay-layer,0))!important;
}
html[data-design-authority="v1024"].fl-overlay-open{overflow:hidden}
html[data-design-authority="v1024"] :where(.fl-header,.section-head,.contact-directory-head,.account-premium-head,.settings-premium-head,.community-chat-head){color:var(--text-primary)}
