#efficiency-panel { position: relative; min-width: 0; }
.eff-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.eff-drawing { min-width: 36.5rem; padding: .6rem 1.2rem .4rem 2.75rem; }
.eff-drawing .eff-y-axis, .eff-drawing .eff-x-axis { color: var(--quiet); font: 600 .78rem/1.35 var(--sans); }
.eff-drawing .eff-y-axis { margin: 0 0 .7rem; }
.eff-drawing .eff-x-axis { margin: 1.85rem 0 .2rem; text-align: center; }
.eff-plane { position: relative; isolation: isolate; height: clamp(17rem, 28vw, 21rem); border: 1px solid var(--rule); background: #fbfdf9; }
.eff-tick { position: absolute; pointer-events: none; color: var(--quiet); font: .73rem/1 var(--mono); white-space: nowrap; }
.eff-tick span { position: absolute; }
.eff-tick-y { inset-inline: 0; border-top: 1px dashed #dfe9dd; }
.eff-tick-y span { right: calc(100% + .38rem); transform: translateY(-50%); }
.eff-tick-x { inset-block: 0; border-left: 1px dashed #e3ece2; }
.eff-tick-x span { top: calc(100% + .46rem); transform: translateX(-50%); }
.eff-leads { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #a4b5a7; stroke-width: 1; }
.eff-point { position: absolute; z-index: 1; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: transparent; border-radius: 50%; transform: translate(-50%, -50%); cursor: pointer; }
.eff-point::before, .eff-point > img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.eff-point::before { content: ''; width: min(.55rem,var(--point-diameter, 21px)); height: min(.55rem,var(--point-diameter, 21px)); border-radius: 50%; background: var(--accent); }
.eff-point:has(img)::before { width: var(--point-diameter, 21px); height: var(--point-diameter, 21px); border: 1px solid #93ac98; background: white; }
.eff-point > img { width: calc(var(--point-diameter, 21px) * .79); height: calc(var(--point-diameter, 21px) * .79); object-fit: contain; }
.eff-point-label { position: absolute; top: 0; left: 100%; color: var(--ink); background: rgb(251 253 249 / 94%); width: max-content; padding: .06rem .2rem; border-radius: .2rem; white-space: nowrap; font: 550 .8rem/1.35 var(--sans); }
.eff-point:is(:focus-visible,.is-active) { z-index: 3; }
.eff-point:is(:focus-visible,.is-active)::before { box-shadow: 0 0 0 1px var(--accent); }
.eff-point:is(:focus-visible,.is-active) .eff-point-label { background: #dfebdd; color: #144f36; }
.eff-tooltip { max-width: calc(100% - .5rem); }
.eff-tooltip[hidden] { display: none; }
#efficiency-data .model-name { display: inline-flex; gap: .4rem; align-items: center; }
#efficiency-data .model-name img { object-fit: contain; flex: none; }
@media (max-width: 480px) {
  #efficiency-figure { padding: .8rem .6rem; }
  #efficiency-figure .metric-tabs { max-width: 100%; flex-wrap: wrap; }
}
