/* Advisory, laterals: the payback curve. Sits on adv.css. One data colour; losses hatched, the guarantee at 35%, ghosts at 35%. */
.lt-plot { position: relative; height: 300px; margin-top: 4px; }
.lt-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lt-grid path { fill: none; stroke: rgba(186,195,209,.16); stroke-width: 1; }
.lt-grid path.z { stroke: rgba(186,195,209,.6); }
.lt-ln { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; }
.lt-gh { fill: none; stroke: rgba(110,158,242,.35); stroke-width: 1.5; stroke-dasharray: 1; transition: opacity .3s; }
.lt-gh.off { opacity: 0; }
.lt-gfill { fill: rgba(110,158,242,.35); stroke: none; }
.lt-dot { fill: var(--accent); stroke: var(--ground); stroke-width: 3; }
.lt-labs { position: absolute; inset: 0; pointer-events: none; font: 13px/1.2 var(--mono); color: var(--ink-3); }
.lt-labs > span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.lt-x { margin-left: -4px; }
.lt-x[data-m="36"] { margin-left: 0; translate: -100% 0; }
.lt-end { color: var(--ink-3); transition: opacity .3s; }
.lt-end.on { color: var(--ink); font-weight: 600; }
.lt-end.off { opacity: 0; }
.lt-be { width: 0; border-left: 1px dashed rgba(232,236,242,.7); transition: transform 300ms var(--q4); }
.lt-be.none { border-left-color: transparent; }
.lt-be__t { position: absolute; top: 0; left: 8px; padding: 2px 6px; background: var(--ground); color: var(--ink); white-space: nowrap; }
.lt-be.flip .lt-be__t { left: auto; right: 8px; }
.lt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 14px; }
.lt-grp { display: flex; align-items: center; gap: 12px; }
.lt-grp > span { font-size: 14px; color: var(--ink-2); }
.lt-grp .seg button { min-height: 44px; font-size: 14px; padding: 0 14px; }
.lt-fig .ax-key { margin-top: 16px; }
.ax-key .k-ghost { background: none; height: 0; border-top: 2px solid rgba(110,158,242,.35); vertical-align: 3px; }
.ax-key .k-guar { background: rgba(110,158,242,.35); }
.lt-fig .k-c { display: none; } .lt-fig.lt-cand .k-c { display: list-item; } .lt-fig.lt-cand .k-f { display: none; }
.lt-fig .ax-range { max-width: 520px; }
/* draw in once, as it enters */
.lt-fig.wait .lt-ln, .lt-fig.wait .lt-gh { stroke-dashoffset: 1; }
.lt-fig.wait .lt-loss, .lt-fig.wait .lt-gfill, .lt-fig.wait .lt-be, .lt-fig.wait .lt-dot, .lt-fig.wait .lt-end { opacity: 0; }
.lt-fig.go .lt-ln, .lt-fig.go .lt-gh { transition: stroke-dashoffset 900ms var(--q4), opacity .3s; }
.lt-fig.go .lt-loss, .lt-fig.go .lt-gfill, .lt-fig.go .lt-dot, .lt-fig.go .lt-end { transition: opacity .5s .6s; }
.lt-fig.go .lt-be { transition: opacity .5s .6s, transform 300ms var(--q4); }
@media (min-width: 901px) { .ax-deep .scrolly .st:last-child { min-height: 84vh; } } /* the figure is taller than the last step; keep it pinned while step 4 reads */
/* hub row */
.ax-hub .lt-plot { height: 260px; }

@media (max-height: 780px) and (min-width: 901px) { .lt-plot { height: 230px; } .lt-fig .ax-key { margin-top: 10px; } .lt-row { margin-top: 8px; } .lt-fig figcaption { margin-top: 10px; } }
@media (max-width: 900px) {
  .lt-plot, .ax-hub .lt-plot { height: 240px; }
  .lt-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .lt-grp { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lt-grp .seg { display: flex; width: 100%; }
  .lt-grp .seg button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .lt-be, .lt-gh, .lt-end { transition: none !important; } }
