.snfc {
  --snfc-accent: var(--snm-accent, #f9d815);
  --snfc-petrol: var(--snm-petrol, #164640);
  min-width: 0;
  margin-block: 1.5rem;
  padding: clamp(14px, 2.8vw, 30px);
  border: 1px solid #c6d6cc;
  border-top: 4px solid var(--snfc-accent);
  border-radius: var(--snm-radius, 6px);
  background: #e8f0eb;
  color: #172f29;
}
.snfc h2 { margin: 0 0 .4rem; }
.snfc p { margin: .4rem 0 .7rem; }
.snfc-controls { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.snfc-controls[hidden], .snfc [hidden] { display: none; }
.snfc-controls label { display: grid; gap: .2rem; font-weight: 650; }
.snfc-controls select { min-height: 44px; padding: .3rem .6rem; font: inherit; color: inherit; background: #fffdfa; border: 1px solid #678477; border-radius: 4px; }
.snfc .snfc-summary { margin-block: .7rem; font-weight: 700; }
.snfc-plot svg { display: block; width: 100%; max-height: 310px; }
.snfc-plot text { fill: currentColor; font: 16px system-ui, sans-serif; }
.snfc-gridline { stroke: #b6c8bf; stroke-width: 1; }
.snfc-line { stroke: var(--snfc-petrol); stroke-width: 3; fill: none; vector-effect: non-scaling-stroke; }
.snfc-point { fill: var(--snfc-accent); stroke: var(--snfc-petrol); stroke-width: 2; }
.snfc summary { width: fit-content; min-height: 44px; padding-block: .45rem; cursor: pointer; font-weight: 650; }
.snfc-scroll { max-height: 21rem; overflow: auto; }
.snfc table { width: 100%; border-collapse: collapse; }
.snfc caption { text-align: start; font-weight: 700; }
.snfc th, .snfc td { padding: .35rem; border-bottom: 1px solid #b6c8bf; text-align: start; }
.snfc .snfc-source { margin: .5rem 0 0; font-size: .82rem; }
.snfc a { color: inherit; text-underline-offset: .18em; }
