.lesson-motion{margin:1.55rem 0;min-width:0;scroll-margin-block:1.25rem}
.lesson-motion>h3,.reader-body .lesson-motion>h3{font:600 clamp(1.12rem,2vw,1.42rem)/1.48 var(--serif);margin:0 0 .6rem;color:#254a43}
.motion-slot{min-width:0;min-height:170px}.motion-slot>a{display:inline-block;padding:1rem;color:#225d53}
.motion-launch{color:#265e54;text-decoration:underline;text-underline-offset:.23em;font-weight:550}
.directory-heading:has(.motion-launch){display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.motion-directory{max-width:1160px}.motion-filters{display:flex;flex-wrap:wrap;gap:.5rem;padding-bottom:1.1rem;border-bottom:1px solid var(--hair)}
.motion-filters a{padding:.45rem .85rem;border:1px solid #cbd5cd;border-radius:2rem}.motion-filters a[aria-current]{color:white;background:#28584e;border-color:#28584e}
.motion-shelf{margin:2.2rem 0}.motion-shelf h2{font:600 clamp(1.3rem,2vw,1.7rem)/1.45 var(--serif);margin:0 0 .7rem}
.motion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.7rem}
.motion-card{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:.7rem;background:#fffefa;border:1px solid #d6dcd5;border-radius:.55rem;overflow:hidden;padding-right:.85rem;min-height:76px}
.motion-card:hover,.motion-card:focus-visible{border-color:#458273}.motion-card strong{font:550 1rem/1.45 var(--sans)}.motion-art{height:76px;display:grid;place-items:center;background:#f2f2e9;overflow:hidden}.motion-art img,.motion-art svg{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.motion-triangle,.motion-symbol{color:#316d60}.motion-symbol{font-size:2rem}
.motion-lessons{margin:1.8rem 0}.motion-lessons h2{font-size:1.2rem}.motion-lessons a{display:block;padding:.65rem 0;border-top:1px solid var(--hair);color:#285b4d}
@media(max-width:650px){.motion-slot{min-height:150px}.lesson-motion{margin:1.1rem 0}.motion-filters{gap:.4rem}.motion-filters a{padding:.4rem .65rem}.motion-grid{grid-template-columns:1fr}}
.stage-motion-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin:.8rem 0}.stage-motion-tabs button{padding:.5rem .7rem;min-height:44px;border:1px solid #b7c9bf;border-radius:6px;background:#fffefa;color:#284a42;font:inherit;cursor:pointer}.stage-motion-tabs button[aria-pressed=true]{background:#255c50;border-color:#255c50;color:white}.figure-section>.motion-launch{display:inline-block;margin:.6rem 0}
.motion-shelf>.rowhead{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem;margin-bottom:.65rem}.motion-shelf>.rowhead h2{margin:0}.pose-view .lesson-motion{margin:0}
.motion-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:.5rem}.motion-heading h3,.reader-body .motion-heading h3{margin:0;font:600 clamp(1.1rem,2vw,1.4rem)/1.45 var(--serif);color:#244c41}.motion-enlarge,.motion-dialog-head button{font:inherit;font-size:.9rem;line-height:1.4;white-space:nowrap;border:1px solid #bdc8bd;color:#365b4d;border-radius:30px;background:#fffdf7;padding:.45rem .85rem;min-height:42px;margin-left:auto}.motion-dialog{width:min(1000px,96vw);max-width:96vw;max-height:94dvh;overscroll-behavior:contain;overflow:auto;padding:clamp(.65rem,2vw,1.4rem);border:1px solid #bec8ba;border-radius:16px;background:#faf9f5;box-shadow:0 24px 80px #15282045}.motion-dialog::backdrop{background:#172721bc}.motion-dialog-head{display:flex;align-items:center;gap:1rem;margin-bottom:.7rem}.motion-dialog-head strong{font-family:var(--serif);font-size:1.17rem}.chapter-motions{border-block:1px solid #d0d7cd;margin:.9rem 0;color:#285b4d}.chapter-motions summary{cursor:pointer;font-weight:550;padding:.65rem .1rem}.chapter-motions div{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 0 .85rem}.chapter-motions a{border:1px solid #c8d2c7;border-radius:7px;padding:.44rem .75rem;font-size:.95rem}
.motion-slot .motion-pending,.step-preview{display:flex;gap:.8rem;align-items:center;padding:.65rem;color:#294d44}.motion-pending img,.motion-pending svg,.step-preview>span{width:6rem;height:4.2rem;object-fit:contain;display:grid;place-items:center;background:#f1efe7;overflow:hidden}.step-preview{border:1px solid #c6cfc4;border-radius:9px;margin:.6rem 0}.step-preview strong{font-size:.95rem}.step-preview img,.step-preview svg{width:100%;height:100%;object-fit:contain}

.motion-kind-badge{display:inline-flex;align-items:center;white-space:nowrap;color:#705f7c;background:#f2edf3;border:1px solid #dfd7e2;border-radius:5px;padding:.18rem .4rem;font-size:.72rem;line-height:1.45;font-weight:600;flex-shrink:0}
.motion-detail-kind{margin:0 0 .55rem}
@media(max-width:480px){.motion-card-body{flex-wrap:wrap}.motion-kind-badge{font-size:.68rem}}
