.hl-intro,.hl-note,.hl-panel { font-family: 'Inter',sans-serif; }
.hl-intro { max-width: 56ch; margin: 14px 0 30px; color: inherit; font-size: clamp(.98rem,1.3vw,1.14rem); line-height: 1.6; }
.hl-panel { display: grid; grid-template-columns: minmax(235px,.85fr) minmax(0,1.55fr); overflow: hidden; border: 1px solid #475444; border-radius: 8px; background: #151e17; color: #f3f1e4; }
.hl-controls { display: flex; flex-direction: column; justify-content: center; padding: clamp(20px,3vw,46px); border-right: 1px solid #3b483b; background: #1d281f; }
.hl-control + .hl-control { margin-top: 25px; }
.hl-strategy,.hl-peg { padding: 0; border: 0; min-width: 0; margin: 0; display: flex; gap: 4px; }
.hl-strategy { margin-bottom: 24px; }
.hl-peg { margin-top: 20px; }
.hl-peg[hidden] { display: none; }
.hl-strategy legend,.hl-peg legend { padding: 0 0 8px; font-size: .92rem; font-weight: 650; }
.hl-strategy label,.hl-peg label { position: relative; flex: 1; }
.hl-strategy input,.hl-peg input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.hl-strategy span,.hl-peg span { min-height: 40px; display: grid; place-items: center; border: 1px solid #60715b; border-radius: 4px; color: #e0e7d7; cursor: pointer; font: 500 .82rem/1.25 'IBM Plex Mono',monospace; text-align: center; }
.hl-peg span { min-height: 36px; }
.hl-strategy input:checked + span,.hl-peg input:checked + span { color: #15200f; background: var(--lime,#c7f75e); border-color: var(--lime,#c7f75e); }
.hl-strategy input:focus-visible + span,.hl-peg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.hl-label,.hl-limits,.hl-plot-heading,.hl-legend,.hl-results { display: flex; align-items: center; }
.hl-label,.hl-limits,.hl-plot-heading { justify-content: space-between; }
.hl-label { gap: 14px; margin-bottom: 6px; }
.hl-label label { font-size: .92rem; font-weight: 650; }
.hl-label output { font: 500 1.02rem/1.35 'IBM Plex Mono',monospace; color: var(--lime,#c7f75e); }
.hl-control input[type=range] { width: 100%; height: 30px; margin: 0; border: 0; background: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; accent-color: var(--lime,#c7f75e); }
.hl-control input[type=range]:focus-visible { outline: 2px solid var(--lime,#c7f75e); outline-offset: 3px; border-radius: 2px; }
.hl-control input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right,var(--lime,#c7f75e) var(--hl-fill),#52604f var(--hl-fill)); }
.hl-control input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: #52604f; }
.hl-control input[type=range]::-moz-range-progress { height: 4px; background: var(--lime,#c7f75e); }
.hl-control input[type=range]::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; border: 2px solid #1d281f; border-radius: 50%; box-shadow: 0 0 0 1px var(--lime,#c7f75e); background: var(--lime,#c7f75e); -webkit-appearance: none; }
.hl-control input[type=range]::-moz-range-thumb { box-sizing: border-box; width: 16px; height: 16px; border: 2px solid #1d281f; border-radius: 50%; box-shadow: 0 0 0 1px var(--lime,#c7f75e); background: var(--lime,#c7f75e); }
.hl-limits,.hl-axis-caption,.hl-legend,.hl-results span { font-family: 'IBM Plex Mono',monospace; font-size: .72rem; line-height: 1.45; }
.hl-limits,.hl-axis-caption { color: #abb9a9; }
#hl-short-value { margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: #c0cbbd; }
.hl-results { align-items: stretch; margin-top: 25px; padding-top: 22px; border-top: 1px solid #495545; }
.hl-results > div { min-width: 0; flex: 1; }
.hl-results > div + div { border-left: 1px solid #495545; padding-left: 15px; }
.hl-results span { display: block; margin-bottom: 3px; color: #c0cbbd; }
.hl-results strong { font: 600 clamp(1.55rem,3vw,2.35rem)/1.05 'Barlow Condensed',sans-serif; font-variant-numeric: tabular-nums; }
#hl-net-result { color: var(--lime,#c7f75e); }
.hl-plot { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(18px,2.8vw,42px); }
.hl-plot-heading { flex-wrap: wrap; gap: 10px 16px; margin-bottom: 12px; }
.hl-plot-heading h3 { margin: 0; color: var(--paper,#f3f1e4); font: 600 clamp(1.55rem,2.2vw,2rem)/1.1 'Barlow Condensed',sans-serif; }
.hl-legend { flex-wrap: wrap; gap: 8px 14px; color: #d1d9cb; }
.hl-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hl-legend span::before { content: ''; width: 15px; border-top: 2px dashed #c4cec0; }
.hl-legend span + span::before { border-top: 3px solid var(--lime,#c7f75e); }
.hl-chart { display: block; width: 100%; height: auto; overflow: visible; }
.hl-chart path { fill: none; }
.hl-grid path { stroke: #344335; stroke-width: 1; }
.hl-zero { stroke: #667660; stroke-width: 1; }
.hl-axis { fill: #b8c6b4; font: 11px 'IBM Plex Mono',monospace; }
.hl-spot-line { stroke: #b4c1af; stroke-width: 2; stroke-dasharray: 6 5; }
.hl-hedge-line { stroke: var(--lime,#c7f75e); stroke-width: 3; }
.hl-cursor { stroke: #96a58b; stroke-dasharray: 3 4; }
.hl-spot-dot { fill: #182019; stroke: #d5dfd0; stroke-width: 2; }
.hl-hedge-dot { fill: var(--lime,#c7f75e); stroke: #182019; stroke-width: 1.5; }
.hl-axis-caption { align-self: center; margin-top: 7px; }
.hl-note { max-width: 84ch; margin: 14px 0 0; color: inherit; font-size: .78rem; line-height: 1.6; opacity: .8; }
.hl-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .hl-panel { grid-template-columns: 1fr; }
  .hl-controls { border: 0; border-bottom: 1px solid #3b483b; }
  .hl-plot { padding: 20px 12px; }
  .hl-plot-heading { margin-inline: 8px; }
  .hl-intro { margin-bottom: 22px; }
  .hl-axis { font-size: 13px; }
}
