.subject-nav,.module-links {display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.subject-nav {margin:-5px 0 20px;gap:6px}
.subject-nav a {min-height:42px;display:grid;place-items:center;text-decoration:none;padding:7px 20px;border-radius:24px;background:#e8eee8;color:#244438;font-weight:650}
.subject-nav a:last-child {background:#f1eadd;color:#674928}
.subject-nav a:hover,.module-links a:hover {text-decoration:underline}
.methods article,.library>details {scroll-margin-top:12px}
.methods-grid article:nth-child(3) {background:#f5f0e9}
.methods-grid article:nth-child(4) {background:#edf2ef}
.methods dt {flex:0 0 5.2em}
.module-links a,.library-row>a {font-size:.92rem;font-weight:650;text-underline-offset:4px}
.methods .module-links {margin-top:12px}
.library {margin:28px 0}
.library h2 {margin:0 0 12px}
.library>details {background:var(--card);margin:8px 0;border:1px solid var(--line);border-radius:13px;padding:0 19px}
.library>details>summary {cursor:pointer;padding:15px 0;font-weight:700;color:var(--forest)}
.library>details>summary small {font-weight:450;color:var(--muted);margin-left:.7em}
.library-row {display:grid;gap:5px;border-top:1px solid var(--line);padding:13px 0}
.library-row small,.library-row p,.oral {color:var(--muted);font-size:.92rem}
.library-row p {margin:0}
.oral {padding-bottom:14px}
.oral h3 {color:var(--forest);margin:.5em 0}
.oral ol {padding-left:1.4em}
.oral li {padding:4px 0}
audio {display:block;max-width:100%;width:min(100%,400px);height:40px;margin:4px 0}
.task-details audio {flex-basis:100%}
.session-note {margin:8px 0;padding:10px 12px;border-left:3px solid #a77941;background:#f5f2e8;color:#425147;font-size:.9rem}
.oral [lang="en"] {line-height:1.65}
@media (max-width:640px) {
  .subject-nav {display:grid;grid-template-columns:repeat(4,1fr) 1.4fr;gap:4px;margin:0 0 14px}
  .subject-nav a {min-width:0;padding:6px 1px;font-size:.88rem}
  .methods dt {flex-basis:4.9em}
  .library>details {padding:0 13px}
}
