/* Worked examples and next steps share the tools' existing cream/forest palette. */
.tool-reference{margin-block:2rem;padding:clamp(1.2rem,3vw,2rem);border:1px solid #d9dfce;border-radius:14px;background:#f5f6ed;scroll-margin-top:90px}
.tool-reference>:first-child{margin-top:0}
.tool-reference>:last-child{margin-bottom:0}
.tool-reference :is(p,li){line-height:1.75}
.tool-reference h3{font-size:1.12rem;line-height:1.4;margin-block:1.3rem .6rem}
.tool-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1.2rem}
.tool-reference-grid>*{min-width:0;padding:1.15rem;border:1px solid #e0e5d7;border-radius:10px;background:#fffef8}
.tool-reference-grid>:only-child{grid-column:1/-1}
.tool-reference-grid>:is(article,section)>:first-child{margin-top:0}
.tool-reference-grid>:is(article,section)>:last-child{margin-bottom:0}
.tool-reference .table-wrap{max-width:100%;overflow-x:auto;margin-block:1.2rem;border:1px solid #d9dfce;border-radius:8px;background:#fffef8}
.tool-reference-table{width:100%;min-width:30rem;border-collapse:collapse;font-size:.93rem;line-height:1.6;font-variant-numeric:tabular-nums}
.tool-reference-table :is(th,td){padding:.8rem 1rem;text-align:start;vertical-align:top;border-bottom:1px solid #e0e5d7}
.tool-reference-table th{background:#e9eedf;color:#173f30;font-weight:700}
.tool-reference-table tr:last-child td{border-bottom:0}
.tool-reference-table caption{text-align:start;padding:.9rem 1rem;color:#435b47;font-weight:600}
.tool-reference a{text-underline-offset:3px}
@media(max-width:640px){.tool-reference-grid{grid-template-columns:1fr}.tool-reference{border-radius:10px;padding:1.1rem}.tool-reference-table{font-size:.88rem}}
