.resources-site .critical-chapter h4 { margin:1.5em 0 .7em; font-size:clamp(19px,1.8vw,23px); line-height:1.5; }
.resources-site .critical-chapter pre { margin:24px 0; padding:22px; background:#eff2f5; border-radius:8px; overflow:auto; font-size:16px; line-height:1.75; }
.resources-site .critical-chapter pre code { font-family:"SFMono-Regular",Consolas,"Apple SD Gothic Neo",monospace; }
.resource-related a,.resource-files a,.resource-siblings a { text-decoration:underline; text-underline-offset:4px; }
.resource-related ul { padding-left:1.25em; }
.resource-related li { margin-block:.5em; }
.resource-use-note { border-left:3px solid #8fa99c; padding-left:18px; font-size:17px; color:#405949; }
.resource-prompt { margin-top:24px; padding:clamp(18px,3vw,32px); background:#eef3ed; border:1px solid #cbd3c5; border-radius:12px; }
.resource-prompt h3 { margin:0 0 16px; font-size:clamp(20px,2vw,26px); line-height:1.5; }
.resource-prompt details { font-size:16px; }
.resource-prompt summary { color:#38503e; }
.resource-prompt .resource-prompt-text { white-space:pre-wrap; overflow-wrap:anywhere; word-break:normal; font:inherit; font-size:17px; line-height:1.75; padding:20px; background:#fffefa; border:1px solid #d4d9ce; border-radius:8px; margin:14px 0 0; }
.resource-prompt .resource-prompt-note { font-size:15px; line-height:1.75; color:#5b564d; margin-bottom:16px; }
.resource-copy-row { display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin-top:18px; }
.resource-copy-row button { cursor:pointer; padding:11px 16px; font:inherit; font-size:15px; color:white; background:#29463d; border:1px solid #29463d; border-radius:7px; }
.resource-copy-row [role=status] { font-size:14px; line-height:1.65; color:#38503e; }
.resource-file-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.resource-file-links a { display:flex; flex-direction:column; gap:8px; padding:22px; border:1px solid #a7b4a2; border-radius:8px; background:#eef3ed; text-decoration:none; font-size:18px; }
.resource-file-links a:hover strong { text-decoration:underline; }
.resource-file-links span { font-size:14px; color:#526555; }
.resource-small { font-size:16px; }
.resource-siblings { display:block; margin:36px 0 0; padding-top:24px; border-top:1px solid #d5d4c9; }
.resource-siblings ul { display:flex; flex-wrap:wrap; gap:18px 28px; list-style:none; padding:0; font-size:17px; }
.resource-index { max-width:1120px; margin:auto; }
.resource-index h1 { font-size:clamp(38px,4.5vw,57px); }
.resource-index-group { margin-top:42px; }
.resource-index-group h2 { font-size:clamp(24px,2.4vw,32px); letter-spacing:-.04em; }
.resource-index-group > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.resource-index-card { display:flex; flex-direction:column; padding:24px; border:1px solid #c7c0ad; background:#fffefa; border-radius:10px; }
.resource-index-card > span { font-size:12px; color:#715628; }
.resource-index-card h3 { margin:14px 0 10px; font-size:23px; line-height:1.4; letter-spacing:-.04em; }
.resource-index-card p { font-size:16px; line-height:1.8; color:#505263; margin:0 0 22px; }
.resource-index-card > strong { font-size:14px; color:#38503e; margin-top:auto; }
.resource-index-card:hover h3 { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:900px) { .resource-index-group > div { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
  .resource-file-links,.resource-index-group > div { grid-template-columns:1fr; }
  .resource-prompt .resource-prompt-text { padding:16px; font-size:16px; }
}
