.cost-study {width:min(100%,68rem);margin-inline:auto;box-sizing:border-box;color:var(--ink);font:400 1rem/1.55 var(--voice);padding:0 0 1.5rem;overflow-wrap:break-word}
.cost-study * {box-sizing:border-box}
.cost-study h2,.cost-study h3,.cost-study h4,.cost-study p,.cost-study fieldset,.cost-study figure {margin:0}
.cost-study h2 {font:400 clamp(1.35rem,3vw,2.1rem)/1.35 var(--voice);color:var(--strong);text-wrap:balance}
.cost-study h3 {font:400 clamp(1.07rem,2vw,1.45rem)/1.4 var(--voice);color:var(--strong)}
.cost-study h4 {font:400 1.08rem/1.5 var(--voice);color:var(--strong);margin-top:1rem}
.cost-study header p,.study-follow>p,.study-methods p,.study-history p,.study-receipt span {color:var(--dim);font:400 .88rem/1.55 var(--label);margin-top:.4rem}
.cost-study button,.cost-study summary {color:var(--ink);background:none;font:inherit;cursor:pointer;touch-action:manipulation;text-align:start}
.cost-study button:focus-visible,.cost-study summary:focus-visible {outline:1px solid var(--signal);outline-offset:3px}
.cost-study button:hover,.cost-study summary:hover {color:var(--signal)}
.cost-study fieldset {border:0;padding:0;min-inline-size:0}
.cost-study legend,.study-label,.cost-study figcaption {font:400 .83rem/1.45 var(--label);color:var(--dim);padding:0}
.study-options {display:flex;align-items:start;flex-wrap:wrap;gap:.25rem clamp(1.4rem,5vw,3.5rem);border-block:1px solid var(--line);padding:.6rem 0 .35rem;margin:.85rem 0 .55rem}
.study-choices button {border:0;min-height:39px;padding:.16rem 0;margin-inline-end:1rem;font:400 .98rem/1.4 var(--voice)}
.study-choices button:last-child {margin-inline-end:0}
.study-choices button[aria-pressed=true] {color:var(--strong);text-decoration:underline;text-decoration-color:var(--signal);text-underline-offset:.35em}
.study-charts {display:grid;grid-template-columns:minmax(10rem,.36fr) minmax(0,1fr);gap:1rem;align-items:center;margin:.65rem 0}
.study-charts .study-choices button {display:block;text-align:start}
.study-figure {min-width:0}
.study-figure svg {display:block;width:100%;height:auto;max-height:138px;overflow:visible}
.study-figure svg text {font:400 11px var(--label);fill:var(--dim)}
.study-figure figcaption span {color:var(--faint)}
.study-axis {stroke:var(--line);stroke-width:.7;fill:none}
.study-curve,.study-end {fill:none;stroke:var(--study-color);stroke-width:1.2;vector-effect:non-scaling-stroke}
.study-end {fill:var(--bg)}
.study-plans {border-block-end:1px solid var(--line)!important}
.study-plans legend {padding:.25rem 0 .45rem}
.study-plan {border:0;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(11rem,.78fr) minmax(0,1.4fr);align-items:center;gap:1.5rem;width:100%;min-height:52px;padding:.5rem 0}
.study-plan[aria-pressed=true] {border-color:var(--signal);color:var(--strong)}
.study-plan-title {display:flex;align-items:baseline;gap:.65rem;line-height:1.4}
.study-plan-title i {display:inline-block;flex:0 0 15px;position:relative;border-top:1px solid var(--study-color);transform:translateY(-.25em)}
.study-plan-title i:after {content:'';position:absolute;right:0;top:-3px;width:5px;height:5px;border-radius:50%;background:var(--study-color)}
.study-measures,.study-follow-values {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem 1rem}
.study-measure,.study-follow-values>div {display:flex;flex-direction:column;align-items:start}
.cost-study small {font:400 .72rem/1.4 var(--label);color:var(--dim)}
.study-measure strong,.study-follow-values strong {font:400 1.02rem/1.45 var(--label);color:var(--strong);font-variant-numeric:tabular-nums}
.study-follow {margin:1rem 0 .7rem}
.study-follow h3 {margin-top:.16rem}
.study-follow .study-label {color:var(--signal);margin-bottom:.2rem}
.study-follow .study-choices {margin:.45rem 0 .2rem}
.study-follow .study-fine,.study-history .study-fine {font-size:.8rem}
.study-follow-values {grid-template-columns:repeat(3,minmax(0,1fr));max-width:42rem;border-top:1px solid var(--line);padding-top:.5rem;margin:.7rem 0}
.study-record {border:1px solid var(--signal);padding:.45rem .85rem;min-height:42px}
.study-methods,.study-history {border-top:1px solid var(--line);padding-top:.5rem;margin-top:.85rem}
.cost-study summary {width:fit-content;font:400 .91rem/1.5 var(--label);padding:.4rem 0;color:var(--dim)}
.study-methods ul {padding-inline-start:1.1rem;color:var(--dim);font:400 .82rem/1.55 var(--label);margin:.4rem 0}
.study-methods li {margin-block:.15rem}
.study-methods li strong {font-weight:500;color:var(--ink)}
.study-history h3 {margin-bottom:.3rem}
.study-receipt {display:grid;grid-template-columns:1fr auto;align-items:center;gap:.1rem .6rem;padding:.45rem 0}
.study-receipt>strong {font:400 1.03rem/1.45 var(--voice)}
.study-receipt span {grid-column:1;margin:0}
.study-receipt button {grid-column:2;grid-row:1 / span 3;min-height:44px;border:0;text-decoration:underline;text-underline-offset:.3em;text-decoration-color:var(--signal)}
.study-live {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:650px) {
  .study-charts {grid-template-columns:1fr;gap:.12rem}
  .study-charts .study-choices button {display:inline-block}
  .study-figure svg {max-height:none}
  .study-plan {grid-template-columns:1fr;gap:.4rem}
  .study-measures {gap:.5rem}
  .study-choices button {min-height:42px}
  .study-plan-title {font-size:1.05rem}
  .study-measure strong,.study-follow-values strong {font-size:.92rem}
  .study-follow-values {gap:.4rem}
  .study-receipt {grid-template-columns:1fr}
  .study-receipt button {grid-column:1;grid-row:auto;padding:0;width:fit-content}
}
@media(prefers-reduced-motion:reduce) {.study-tracer {display:none}}
