.resources-library{min-width:0}
.resources-toolbar{margin-bottom:var(--space-6)}
.resources-filters,.resource-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);align-items:center}
.resources-filters{margin-bottom:var(--space-4)}
.resources-filters button{font:inherit;font-size:var(--text-label);padding:var(--space-2) var(--space-4);min-height:44px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius);cursor:pointer}
.resources-filters button[aria-pressed=true]{background:var(--tint);border-color:var(--accent);font-weight:750}
.resources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6)}
.resources-page .resource-card,.resources-page .resource-tool-link{padding:var(--card-inset);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.resource-card[hidden]{display:none}
.resource-card h2,.resource-tool-link h2{font-size:var(--text-h2);margin:var(--space-2) 0 var(--space-4)}
.resource-card p,.resource-tool-link p{margin:0 0 var(--space-4);max-width:68ch}
.resource-card :is(p,li,h2){overflow-wrap:anywhere}
.resource-card ul{margin:0 0 var(--space-4);padding-left:var(--space-6)}
.resource-card li+li{margin-top:var(--space-2)}
.resource-actions button{min-height:44px}
.resource-actions button.text-link{font:inherit;font-size:var(--text-label);font-weight:750;padding:var(--space-2) var(--space-3);color:var(--accent);border:1px solid transparent;border-radius:var(--radius);background:transparent;cursor:pointer}
.resource-actions button.text-link:hover{background:var(--tint);border-color:var(--line)}
.resource-card details{border-top:1px solid var(--line);margin-bottom:var(--space-4)}
.resource-card summary{min-height:44px;padding-block:var(--space-3);font-weight:650;cursor:pointer}
.resource-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:var(--text-small);line-height:var(--copy-leading);background:var(--panel);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius);margin:var(--space-2) 0 var(--space-4)}
.resources-page :is(button,a,summary,pre[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.resources-page .resource-tool-link{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-6);margin-top:var(--space-8)}
.resource-tool-link>div{flex:1 1 30rem;min-width:0}
@media(max-width:800px){.resources-grid{grid-template-columns:1fr}}
@media(max-width:620px){.resources-grid{gap:var(--space-4)}.resource-actions .button{width:100%;white-space:normal;text-align:center}}

.resource-use-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-6);padding:0;margin:0 0 var(--space-8);list-style:none;counter-reset:resource-step}
.resource-use-steps li{min-width:0;border-top:1px solid var(--line);padding-top:var(--space-4);counter-increment:resource-step;overflow-wrap:anywhere}
.resource-use-steps strong{display:block;font-size:var(--text-h3);margin-bottom:var(--space-2)}
.resource-use-steps strong:before{content:counter(resource-step) " · ";color:var(--accent)}
.resource-use-steps span{display:block;font-size:var(--text-body);color:var(--muted)}
.resources-page .resource-recommended{background:var(--tint);border-color:var(--accent)}
.resource-actions .text-link{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
@media(max-width:800px){.resource-use-steps{grid-template-columns:1fr;gap:var(--space-4)}}
