.site-header nav {gap:clamp(.8rem, 1.7vw, 2rem)}
@media (min-width:901px) and (max-width:1060px) {
  .site-header nav {gap:.75rem;font-size:.82rem}
  .site-header .button-small {padding:.65rem .7rem}
}
.resource-shell {max-width:1040px;margin:auto;padding:clamp(2rem,6vw,5rem) 24px}
.resource-title {font-size:clamp(2.2rem,5vw,4rem);margin-bottom:1rem}
.resource-intro {max-width:62ch;color:#4c6864}
.resource-top,.resource-actions {display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.resource-top {justify-content:space-between;margin-bottom:2rem}
.resource-card,.resource-dialog {border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);padding:clamp(1.25rem,3vw,2rem)}
.resource-card h2,.resource-dialog h2 {font-size:1.45rem;margin-bottom:.75rem}
.resource-login {max-width:500px}
.resource-dialog {width:min(480px,calc(100% - 2rem));max-height:calc(100% - 2rem)}
.resource-dialog::backdrop {background:rgba(13,45,43,.58)}
.resource-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem;margin-top:1.5rem}
.resource-category {display:block}
.resource-category:hover {border-color:var(--ink)}
.resource-form {display:grid;gap:1rem}
.resource-form[hidden] {display:none}
.resource-form label {display:grid;gap:.35rem;font-weight:600}
.resource-form :is(input,select,textarea) {width:100%;font:inherit;border:1px solid #78938b;border-radius:8px;padding:.7rem;background:#fff;color:var(--ink)}
.resource-form .button,.resource-actions button,.resource-top button {font:inherit;cursor:pointer;border:0}
.resource-actions button:not(.button),.resource-top button:not(.button) {background:transparent;color:var(--ink);text-decoration:underline;padding:.55rem 0}
.resource-notice {border-left:4px solid var(--sage);padding:.65rem .9rem}
.resource-card img {max-width:100%;height:auto;border-radius:8px}
.resource-list {padding-left:1.15rem;overflow-wrap:anywhere}
.resource-list li {margin-bottom:.65rem}
