/* Helium™ UI v1.8.6 — Solid Porcelain / White Card Reset
   Scope: remove failed glass prototype and frosted cards from active pages.
   Keep intentionally coloured Material Gallery, gradient challenge, portfolio anchor.
   No canvas, WebGL, SVG displacement, optical rims, inset bevels, or translucent card fill. */
:root {
  --sa-lime:var(--he-p-0062CB)!important;
  --sa-current:var(--sa-lime)!important;
  --sa-primary:var(--sa-lime)!important;
  --lime:var(--sa-lime)!important;
  --helium-color-lime:var(--sa-lime)!important;
  --helium-color-surface:var(--he-p-FFFFFF);
  --helium-color-surface-strong:var(--he-p-FFFFFF);
  --helium-color-surface-soft:var(--he-p-FFFFFF);
  --helium-card-white:var(--he-p-FFFFFF);
  --helium-card-shadow:0 12px 30px -27px var(--he-p-1C222B33);
  --helium-card-hover-shadow:0 14px 28px -27px var(--he-p-1C222B30);
}
/* Neutral white content cards only; preserve coloured feature materials. */
html body :is(
 .stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,
 .health-action-card,.health-small-card,.health-timeline,.subscription-card,
 .lower-card:not(.dark-lower),.stat.quiet,.panel.quiet,
 .sa-card--glass:not(.sa-liquid):not(.sa-photo-glass),
 .hm-pattern,.hm-guide,.hm-tab-result,.hm-gliding-result,
 .hm-stack-viewport,.hm-wizard,.hm-fluid,.hm-switch-wrap,
 .hm-search-results,.hm-fold,.hm-fold-head,.hm-preview,.hm-overlay-detail,
 .play-card,.demo-panel,.screen-tile,.surface-card,.content-card,
 .sidebar-card,.lab-shell,.he-job-row,.he-job-list .he-job-row,
 .hm-side-bottom,.hm-recruitment-card,.he-recruitment-card
){
 background:var(--he-p-FFFFFF)!important;
 background-image:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 filter:none!important;
 border:0!important;
 box-shadow:var(--helium-card-shadow)!important;
 /* Keep mathematically squared-off squircle silhouette */
 corner-shape:squircle!important;
}
/* Kill decorative optical pseudo layers, beveling and edge folds on plain white cards. */
html body :is(
 .stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,
 .health-action-card,.health-small-card,.subscription-card,
 .lower-card:not(.dark-lower),.stat.quiet,.panel.quiet,
 .sa-card--glass:not(.sa-liquid),.hm-pattern,.hm-guide,.hm-fluid,
 .play-card,.demo-panel,.screen-tile,.surface-card,.content-card,.lab-shell
)::before,
html body :is(
 .stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,
 .health-action-card,.health-small-card,.subscription-card,
 .lower-card:not(.dark-lower),.stat.quiet,.panel.quiet,
 .sa-card--glass:not(.sa-liquid),.hm-pattern,.hm-guide,.hm-fluid,
 .play-card,.demo-panel,.screen-tile,.surface-card,.content-card,.lab-shell
)::after{
 content:none!important;
 display:none!important;
 background:none!important;
 box-shadow:none!important;
 filter:none!important;
}
/* For production, focus and hover should never turn cards foggy or lift them. */
html body :is(.stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,.health-action-card,.lower-card,.stat.quiet,.panel.quiet,.hm-pattern,.play-card,.demo-panel):is(:hover,:focus-visible){
 background-color:var(--he-p-FFFFFF)!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 transform:none!important;
 box-shadow:var(--helium-card-hover-shadow)!important;
}
html body :is(.stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,.health-action-card,.lower-card,.stat.quiet,.panel.quiet,.hm-pattern,.play-card,.demo-panel) > *{filter:none;}
/* Calm, solid-white assistant card on vivid green sidebar. No milky overlay or optical frame. */
html body.finance-page .finance-sidebar .assistant-response{
 background:var(--he-p-FFFFFF)!important;
 background-image:none!important;
 color:var(--sa-ink,var(--he-p-242627))!important;
 border:0!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 box-shadow:var(--helium-card-shadow)!important;
}
html body.finance-page .finance-sidebar .assistant-response::before,
html body.finance-page .finance-sidebar .assistant-response::after{content:none!important;display:none!important;}
html body.finance-page .finance-sidebar .assistant-response .mini-note{background:var(--he-p-F5F7F4)!important;box-shadow:none!important;}
html body.finance-page .finance-sidebar .assistant-response .mini-note.note-alt{background:var(--he-p-D4E8FA)!important;}
/* Opaque modal, floating menu and form surfaces remain legible. */
html body :is(.dialog,.he-floating-menu,.he-select-panel,.he-dropdown-panel,.he-side-tray,.he-popover,.he-tray-links a,.search-panel,.quick-command){
 background:var(--he-p-FFFFFF)!important;
 -webkit-backdrop-filter:none!important;
 backdrop-filter:none!important;
}
html body .he-tray-scrim{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
/* Preserve the coloured Aurora challenge without an optical glaze. */
html body :is(.challenge-card,.biomarker-gradient,.job-highlight,.crypto-hero,.dark-lower,.hm-material-card,.material-card,.sa-material-card){
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
/* Remove optical variants if generated by older pages/components. */
html body :is(.sa-liquid,.sa12-glass,.he-optical-card,[data-refraction="on"]):not(.challenge-card):not(.biomarker-gradient){
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 --sa-optical-refraction:none!important;
}
html body :is(.stat-card,.forecast-card,.small-biomarker,.product-card,.results-card,.panel.quiet,.stat.quiet) [data-sa-optical]{filter:none!important;}
/* Donut is data visualisation, not a component shell; retain circular chart. */
html body .lower-card.dark-lower .donut-chart,html body .lower-card.dark-lower .donut-chart::before{corner-shape:round!important;border-radius:50%!important;}
/* Keep the finance main canvas unobstructed. No photographic comparison scene. */
html body.finance-page .finance-main{background-image:none!important;background-color:var(--he-p-E6E8E8)!important;}
html body.finance-page .finance-main::before{display:none!important;content:none!important;}
/* Neutrality applies to the production surfaces, never user-visible coloured cards. */
@media (prefers-reduced-motion:reduce){html body :is(.stat-card,.small-biomarker,.stat.quiet,.panel.quiet){transition:none!important;}}
