.motion-page{max-width:1040px;margin:auto;font-size:17px;line-height:1.6}.motion-page h1{font-size:clamp(2rem,7vw,3.3rem);line-height:1.15}.motion-page h2{line-height:1.3}.motion-page button,.motion-page a,.motion-page summary{min-height:44px;padding:.6rem .8rem;display:inline-flex;align-items:center;gap:.4rem}.motion-page button:focus-visible,.motion-page input:focus-visible,.motion-page textarea:focus-visible,.motion-page summary:focus-visible{outline:3px solid #9d4d25;outline-offset:3px}.motion-lessons,.motion-actions,.motion-page footer{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.motion-page [aria-pressed=true]{background:#d7e6de;color:#173e35;border:2px solid #355e73}.motion-teach,.motion-task,.motion-play,.motion-writing,.motion-new{padding:clamp(.8rem,3vw,1.4rem);margin:1rem 0;border:1px solid #a5b9b1;border-radius:14px;background:#fffdf7}.motion-help,.motion-feedback{background:#e6efea;padding:1rem;border-left:4px solid #355e73}.motion-play svg,.motion-positions svg{width:100%;max-width:500px;height:auto}.motion-play label{display:block;margin:1rem 0}.motion-play input{width:min(100%,420px);display:block;min-height:44px}.motion-result{font-size:1.15rem;font-weight:700}.motion-task fieldset{border:0;padding:0;min-width:0}.motion-task fieldset label{display:flex;align-items:center;gap:.8rem;min-height:48px;padding:.5rem;border:1px solid #c7d3ca;border-radius:8px;margin:.4rem 0;cursor:pointer}.motion-task input[type=radio]{min-width:24px;min-height:24px;flex:none}.motion-writing label{display:block}.motion-writing textarea{display:block;box-sizing:border-box;width:100%;font:inherit;padding:.7rem}.motion-table{max-width:100%;overflow-x:auto}.motion-table table{border-collapse:collapse;min-width:650px}.motion-table th,.motion-table td{text-align:left;border:1px solid #b2c4ba;padding:.7rem}.motion-table caption{text-align:left;font-weight:700;padding:.5rem}.motion-page pre{white-space:pre-wrap;overflow-wrap:anywhere}.motion-page details summary{cursor:pointer}.motion-page #motion-status{min-height:1.6em}

.motion-table:focus-visible{outline:3px solid #9d4d25;outline-offset:3px}

.motion-adaptive{margin:1.2rem 0;padding:1rem;border:2px solid #426963;border-radius:14px;background:#eef3eb;overflow-wrap:anywhere}.motion-adaptive label{display:block}.motion-adaptive select{font:inherit;display:block;max-width:100%;min-height:44px;margin:.5rem 0;padding:.4rem}.motion-adaptive button{margin:.35rem}.motion-adaptive [hidden]{display:none}

/* The drawing mat stays primary; all force labels remain native wrapping text. */
.fs-entry{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;padding:.9rem 0;border-top:1px solid #a5b9b1}.fs-entry p{margin:0;max-width:46rem}.fs-page{max-width:1080px;margin:0 auto;color:#173e35;font-size:17px;line-height:1.6;overflow-wrap:anywhere}.fs-page *{box-sizing:border-box}.fs-page h1{font-size:clamp(2rem,7vw,3.3rem);line-height:1.15;margin:.7rem 0}.fs-page h2{font-size:1.45rem;line-height:1.3}.fs-page h3{font-size:1.15rem;line-height:1.4}.fs-page p,.fs-page li,.fs-page label,.fs-page legend,.fs-page figcaption{font-size:17px}.fs-page p{max-width:76ch}.fs-page button,.fs-page select,.fs-entry button{font:inherit;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.fs-page button,.fs-entry button{padding:.6rem .9rem}.fs-page button:focus-visible,.fs-page input:focus-visible,.fs-page select:focus-visible,.fs-page [tabindex]:focus-visible{outline:3px solid #9d4d25;outline-offset:3px}.fs-page label{display:block;min-width:0}.fs-page select{display:block;width:100%;margin:.35rem 0 .8rem;padding:.5rem;background:#fffdf7;color:#173e35;border:1px solid #849f96;border-radius:6px;font-size:16px}.fs-actions,.fs-tabs{display:flex;flex-wrap:wrap;gap:.55rem;margin:1rem 0}.fs-tabs{border-bottom:2px solid #a5b9b1;padding-bottom:.8rem}.fs-page [aria-current=page],.fs-page [aria-pressed=true]{background:#d7e6de;color:#173e35;border:2px solid #355e73}.fs-choosers{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.2rem}.fs-clues{padding:1rem 1.2rem;border-left:4px solid #355e73;background:#eef3eb}.fs-clues h2{margin-top:0}.fs-workbench{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(240px,1fr);align-items:start;gap:1.3rem;margin:1rem 0}.fs-toolbox{padding:1rem;background:#fffdf7;border:1px solid #a5b9b1;border-radius:10px;min-width:0}.fs-toolbox h3{margin-top:0}.fs-tool-caption{padding:.55rem;border-left:3px solid #d5e0da}.fs-diagram{margin:0;min-width:0}.fs-diagram>figcaption{font-weight:700;margin:.5rem 0}.fs-plot{position:relative;isolation:isolate;background-color:#fffdf7;background-image:linear-gradient(#d5e0da66 1px,transparent 1px),linear-gradient(90deg,#d5e0da66 1px,transparent 1px);background-size:24px 24px;border:1px solid #a5b9b1;border-radius:10px}.fs-plot svg{width:100%;height:auto;display:block}.fs-symbol{fill:#d7e6de;stroke:#355e73;stroke-width:2}.fs-arrow{fill:none;stroke:#355e73;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.fs-selected-arrow{stroke:#173e35;stroke-width:4;stroke-dasharray:9 5}.fs-object-label{position:absolute;left:34.375%;top:35.4167%;width:31.25%;height:29.1667%;display:flex;justify-content:center;align-items:center;text-align:center;padding:.25rem;color:#173e35;font-size:16px;font-weight:700;line-height:1.2;pointer-events:none}.fs-page .fs-plot-note{font-size:16px;margin:.5rem 0}.fs-diagram-description{margin:.7rem 0;padding-left:1.3rem}.fs-diagram-description li{font-size:16px}.fs-rows{padding-left:1.4rem}.fs-rows li{padding:.8rem 1rem;border-bottom:1px solid #a5b9b1}.fs-rows li p{margin:.25rem 0}.fs-selected-row{background:#e6efea;border-left:4px solid #355e73}.fs-rows .fs-actions{margin:.5rem 0}.fs-empty{padding:1rem;background:#eef3eb}.fs-comparison-diagrams,.fs-pair-diagrams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem;margin:1rem 0}.fs-feedback{padding:1rem;border-left:4px solid #355e73;background:#e6efea;margin:1rem 0}.fs-feedback ul{padding-left:1.3rem}.fs-feedback p:last-child{margin-bottom:0}.fs-pair{border-top:2px solid #a5b9b1;margin-top:1.5rem;padding-top:.6rem}.fs-pair-content{margin-top:1rem}.fs-warning{padding:.75rem;border:2px solid #9c690d;background:#fff8df;font-weight:700}.fs-predictions{border:0;padding:0;min-width:0}.fs-predictions legend{margin:1rem 0}.fs-predictions label{display:flex;gap:.8rem;align-items:center;min-height:48px;border:1px solid #a5b9b1;border-radius:7px;padding:.7rem;margin:.65rem 0;background:#fffdf7;cursor:pointer}.fs-predictions input{width:24px;height:24px;flex:none;margin:0}.fs-predictions label:has(input:checked){background:#d7e6de;border:2px solid #355e73}.fs-help{border-top:1px solid #a5b9b1;margin-top:1.8rem;padding-top:.8rem}.fs-page #fs-status{min-height:1.6em}.fs-temporary{padding-top:1rem;border-top:1px solid #a5b9b1}.fs-page [hidden]{display:none}
@media(max-width:620px){.fs-workbench,.fs-choosers,.fs-comparison-diagrams,.fs-pair-diagrams{grid-template-columns:minmax(0,1fr)}.fs-clues{padding:.8rem}.fs-rows li{padding:.7rem .4rem}.fs-toolbox{padding:.8rem}.fs-page button{flex-shrink:1}.fs-page .fs-object-label{font-size:16px}}

.fs-clues>summary{min-height:44px;font-size:17px;font-weight:700;cursor:pointer;padding:.4rem 0}.fs-clues:not([open]){padding-block:.3rem}.fs-clues[open]>h2{margin-top:.7rem}
