.tool-example {background:var(--rj-paper);color:var(--rj-graphite);}
.tool-example :is(a,summary,label,input) {-webkit-tap-highlight-color:color-mix(in srgb,var(--rj-copper) 20%,transparent);}
.tool-example .tool-example-intro {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:end;gap:clamp(20px,4vw,64px);margin-bottom:24px;}
.tool-example-intro .mini {margin-bottom:8px;}
.tool-example-intro>p,.tool-example-body>p,.tool-output-heading p,.tool-example-link {color:var(--rj-text-muted);line-height:1.75;}
.tool-example .tool-example-paper {background:var(--rj-sheet);border:1px solid var(--rj-rule);border-top:2px solid var(--rj-copper);}
.tool-shot-strip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--rj-rule);}
.tool-shot-strip div {padding:clamp(16px,2.3vw,28px);display:grid;gap:5px;align-content:start;}
.tool-shot-strip div+div {border-left:1px solid var(--rj-rule);}
.tool-shot-strip span,.tool-market-source span,.tool-output-heading>span {font-size:13px;font-weight:650;color:var(--rj-copper-ink);}
.tool-shot-strip strong,.tool-market-source strong {font:600 clamp(17px,1.6vw,22px)/1.5 var(--sans);}
.tool-shot-gap,.tool-market-source {background:var(--rj-graphite);color:var(--rj-white);}
.tool-shot-gap span,.tool-market-source span {color:var(--rj-gold);}
.tool-example-body,.tool-market-picker,.tool-output-heading {padding:clamp(18px,2.5vw,30px);}
.tool-example h3 {font:600 clamp(19px,2vw,26px)/1.45 var(--sans);margin:0;}
.tool-example-body>p,.tool-output-heading p {margin:.35em 0 .8em;}
.tool-shot-option {border-top:1px solid var(--rj-rule);}
.tool-shot-option:last-child {border-bottom:1px solid var(--rj-rule);}
.tool-shot-option summary {cursor:pointer;padding:13px 2px;font-size:16px;font-weight:600;line-height:1.55;color:var(--rj-graphite);}
.tool-shot-option summary::marker {color:var(--rj-copper-ink);}
.tool-shot-option p {margin:0 0 15px;padding-left:1.3em;color:var(--rj-text-muted);line-height:1.75;}
.tool-shot-option b {color:var(--rj-graphite);}
.tool-human-note {margin:0;border-top:1px solid var(--rj-rule);padding:14px clamp(18px,2.5vw,30px);color:var(--rj-text-muted);font-size:15px;line-height:1.75;}
.tool-human-note strong {color:var(--rj-copper-ink);}
.tool-example-link {margin:14px 0 0;font-size:14px;}
.tool-example-link a {color:var(--rj-copper-ink);text-decoration:underline;text-underline-offset:.2em;}
.tool-market-source {padding:clamp(18px,2.5vw,30px);display:grid;gap:5px;}
.tool-market-picker {margin:0;border:0;min-width:0;padding-block:7px 14px;}
.tool-market-picker legend {padding:16px 0 0;font-weight:600;color:var(--rj-graphite);}
.tool-market-picker label {display:inline-flex;align-items:center;gap:6px;margin:3px 5px 3px 0;padding:9px 11px;border:1px solid var(--rj-rule);min-height:44px;cursor:pointer;line-height:1.45;font-size:15px;}
.tool-market-picker label:has(input:checked) {border-color:var(--rj-copper-ink);background:var(--rj-paper);font-weight:650;}
.tool-market-picker input {margin:0;padding:0;width:1em;height:1em;accent-color:var(--rj-copper-ink);}
.tool-market-picker label:focus-within,.tool-shot-option summary:focus-visible {outline:2px solid var(--rj-copper-ink);outline-offset:2px;}
.tool-market-output {border-top:1px solid var(--rj-rule);}
.tool-example [hidden] {display:none;}
.tool-output-heading {padding-bottom:4px;}
.tool-output-heading h3 {margin-top:5px;}
.tool-market-lines {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0 clamp(18px,2.5vw,30px) 20px;gap:18px;}
.tool-market-lines div {border-top:1px solid var(--rj-rule);padding:12px 0 0;}
.tool-market-lines dt {color:var(--rj-copper-ink);font-weight:650;font-size:14px;}
.tool-market-lines dd {margin:5px 0 0;color:var(--rj-graphite);line-height:1.7;}
@media(max-width:760px) {
  .tool-example .tool-example-intro {grid-template-columns:1fr;gap:12px;}
  .tool-shot-strip,.tool-market-lines {grid-template-columns:1fr;}
  .tool-shot-strip div {grid-template-columns:minmax(80px,.4fr) minmax(0,1fr);align-items:baseline;gap:10px;padding:13px 16px;}
  .tool-shot-strip div+div {border-left:0;border-top:1px solid var(--rj-rule);}
  .tool-market-lines {gap:8px;}
  .tool-market-picker label {margin-right:2px;}
}
