/* Small working examples connect the published work to the local lab. */
.demo-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;color:var(--forest);text-decoration:none;font-size:12px;font-weight:550;position:relative}
.demo-link span{font-size:19px;transition:transform .2s}.demo-link:hover span{transform:translate(2px,2px)}.demo-link:hover{text-decoration:underline;text-underline-offset:6px}
.case-copy .demo-link{margin-top:17px}.case-copy .case-date{margin-top:22px}.practice-detail .demo-link{margin-top:16px}
.benchmark-figure{justify-content:flex-start;min-width:0;padding-top:32px;padding-bottom:30px}
.benchmark-controls[hidden],.planning-sample[hidden]{display:none}
.benchmark-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;margin-bottom:26px}
.benchmark-controls fieldset{border:0;margin:0;padding:0;min-width:0}
.benchmark-controls legend{font:9px/1.5 var(--mono);letter-spacing:.035em;color:#506352;margin-bottom:7px}
.benchmark-controls fieldset>div{display:flex;gap:2px;background:#cdd8ca;padding:3px}
.benchmark-controls button{border:0;background:transparent;padding:10px 11px;min-height:40px;color:#3d5646;font-size:11px}
.benchmark-controls button[aria-pressed=true]{background:#f4f4e9;color:#203e36;box-shadow:0 1px 3px #203e3612}
.benchmark-controls button:hover{color:#152d25}.benchmark-controls button:focus-visible{outline-offset:1px;z-index:1}
#published-result{font-size:clamp(85px,10vw,144px);font-variant-numeric:tabular-nums;line-height:1.05}
#published-result-label{min-height:22px;margin-bottom:25px;font-size:12px}
#published-bars .track{overflow:hidden}#published-bars i{will-change:width}
#published-bars .published-winner{background:var(--forest)}#published-bars .published-other{background:#96a795}
.comparison-insight{margin-top:23px;font-size:12px;line-height:1.7;color:#3e5647;min-height:4.5em}
.benchmark-figure .figure-note{margin-top:17px;padding-top:16px;border-top:1px solid #bdcabb;font-size:10px;line-height:1.7}
.planning-sample{border-block:1px solid var(--line);margin-top:24px;padding:17px 0 14px}
.planning-sample>.mono{font-size:9px;color:var(--gold);margin-bottom:14px}
.planning-sample-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.planning-sample label{font-size:13px;line-height:1.5}.planning-sample label span{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.planning-sample input{width:102px;min-height:44px;padding:8px 10px;background:#f9f8f2;border:1px solid #a8b7a8;color:var(--ink);font:14px var(--mono);text-align:right;border-radius:0}
.planning-sample input[aria-invalid=true]{border-color:#a74231;background:#fff4ee}
.planning-sample .demo-link{margin-top:8px}.planning-sample>p:last-child{font-size:10px;color:var(--muted);line-height:1.7;max-width:43ch}
@media(max-width:1050px){.benchmark-figure{padding-inline:30px}.benchmark-controls{gap:12px}.benchmark-controls button{padding-inline:10px}}
@media(max-width:700px){.benchmark-figure{padding:27px 28px}.benchmark-controls{margin-bottom:24px}.benchmark-controls button{min-height:44px}#published-result{font-size:108px}.comparison-insight{min-height:0}.planning-sample input{width:91px}.planning-sample-row{gap:12px}}
@media(max-width:370px){.benchmark-figure{padding-inline:24px}.benchmark-controls{flex-direction:column;align-items:flex-start}.benchmark-controls fieldset{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%}.benchmark-controls legend{float:left;margin:0;max-width:70px}.benchmark-controls button{padding-inline:8px;font-size:10px}#published-result{font-size:94px}.planning-sample label span{max-width:16ch}}
@media(prefers-reduced-motion:reduce){.demo-link span{transition:none}}
