.cr-page{max-width:1080px;margin:auto;color:#183f39;font:16px/1.5 Trebuchet MS,Verdana,sans-serif}
.cr-page h1{font:700 clamp(2rem,5vw,3rem)/1.15 Georgia,serif;margin:.5rem 0}.cr-page h2{font-size:1.7rem;margin:.5rem 0}.cr-page h3{font-size:1.15rem}.cr-page p{margin:.65rem 0}
.cr-page :is(button,a,summary){box-sizing:border-box;min-width:44px;min-height:44px;font:inherit}.cr-page button{padding:.6rem .85rem;border:2px solid #738e7b;background:#fffdf5;color:#183f39;border-radius:12px;cursor:pointer}.cr-page button[aria-pressed=true]{background:#235d42;color:#fffdf5;border-color:#183f39}.cr-page button:disabled{opacity:.55;cursor:default}.cr-page a{display:inline-flex;align-items:center;padding:.5rem .2rem}.cr-page :focus-visible{outline:3px solid #945413;outline-offset:3px}
.cr-tabs,.cr-focus,.cr-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.cr-tabs{margin:1rem 0}.cr-tabs button{flex:1}.cr-instruction{font-size:1.2rem;font-weight:bold}.cr-context{border-left:4px solid #365f92;background:#edf1f5;padding:.5rem .8rem}
.cr-workbench{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(265px,1fr);gap:1.1rem;align-items:start}.cr-workbench>*{min-width:0}.cr-paper{margin:.4rem 0;border:1px solid #a9bbaa;border-radius:8px;background:#fffdf5;padding:.55rem}.cr-paper svg{display:block;width:100%;height:auto;overflow:visible}.cr-paper figcaption{font-size:16px;margin:.5rem .3rem}.cr-plot-key{display:flex;gap:.4rem 1.2rem;flex-wrap:wrap;align-items:center}.cr-plot-key p{display:flex;gap:.5rem;align-items:center;overflow-wrap:anywhere}
.cr-swatch{display:inline-block;flex:0 0 15px;width:15px;height:15px;background:#235d42;border-radius:50%;border:2px solid #183f39}.cr-swatch-1{background:#365f92;border-color:#25476d}.cr-axis{stroke:#6c8278;stroke-width:1.5;fill:none}.cr-paper svg text{font:40px Trebuchet MS,Verdana,sans-serif;fill:#183f39}.cr-paper circle{fill:#235d42;stroke:#183f39}.cr-group-1 circle{fill:#365f92;stroke:#25476d}.cr-paper [data-cr-highlight]{stroke:#945413;stroke-width:3;fill:none;stroke-dasharray:6 4}.cr-paper [data-cr-aside-dot]{fill:#fffdf5;stroke:#945413}.cr-cross{stroke:#945413;stroke-width:2;fill:none}.cr-plot-note{border-left:4px solid #945413;padding-left:.75rem}
.cr-summary-controls{padding:.3rem 0}.cr-summary-controls h3{margin:.4rem 0}.cr-focus button{flex:1}.cr-summaries{border-collapse:collapse;width:100%;table-layout:fixed;margin:.9rem 0;font-size:16px}.cr-summaries :is(th,td){padding:.55rem .35rem;border-bottom:1px solid #bdcbbb;text-align:left;overflow-wrap:anywhere;vertical-align:top}.cr-summaries caption{text-align:left;font-weight:bold;margin-bottom:.5rem}.cr-summaries thead{background:#edf2eb}.cr-summaries th{font-weight:bold}.cr-selected-summary{background:#fff1d6}.cr-secondary-table{max-width:650px}
.cr-question{border-left:4px solid #365f92;padding:.4rem 1rem;background:#edf1f5;margin:1rem 0}.cr-question h3{margin:.5rem 0}.cr-page blockquote{margin:.8rem 0;padding:.6rem 1rem;border-left:3px solid #738e7b;background:#fffdf5}.cr-secondary{border-top:1px solid #b3c2b5;padding-top:.5rem;margin-top:1rem}.cr-purposes{display:flex;flex-wrap:wrap;gap:.6rem}.cr-purposes button{flex:1 1 180px;text-align:left}.cr-purpose-help{font-weight:bold}
.cr-workings,.cr-teaching{border:1px solid #a9bbaa;padding:1rem;background:#fffdf5;margin:1rem 0;border-radius:8px}.cr-workings>section{border-bottom:1px solid #c3cdbf;margin-bottom:1rem;padding-bottom:.5rem}.cr-workings p,.cr-workings h3{overflow-wrap:anywhere}.cr-page details{border-top:1px solid #b3c2b5;margin:1rem 0}.cr-page summary{padding:.6rem .2rem;cursor:pointer}.cr-record-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.cr-record-lists li{overflow-wrap:anywhere}
.cr-choices,.cr-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.cr-choices>section{border:1px solid #a9bbaa;padding:1rem;background:#fffdf5;border-radius:8px}.cr-history button{text-align:left;overflow-wrap:anywhere}.cr-main-actions{margin:1.2rem 0}.cr-status:not(.sr-only){padding:.8rem;border-left:4px solid #945413;background:#fff1d6}.cr-page footer{display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:16px;border-top:1px solid #b3c2b5;margin-top:1.5rem;padding-top:.6rem}.cr-page :is(h2,h3,[data-cr-turn]){scroll-margin-top:1rem}.cr-notes pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}
main:has(.cr-page) .speech-controls,main:has(.cr-page) .speech-controls :is(button,summary,select,label,p,li){font-size:16px;line-height:1.5}main:has(.cr-page) .speech-controls :is(button,summary,select){min-height:44px;min-width:44px}
@media(max-width:700px){.cr-workbench,.cr-choices,.cr-history,.cr-record-lists{grid-template-columns:minmax(0,1fr)}.cr-tabs{gap:.4rem}.cr-tabs button{flex:1 1 120px;padding:.5rem}.cr-paper{padding:.25rem}.cr-question{padding:.4rem .7rem}.cr-workings,.cr-teaching{padding:.75rem}.cr-actions button{flex:1 1 auto}.cr-page h2{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){.cr-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Model scale previews have a separate row; original records stay fixed. */
.rs-page [data-rs-highlight]{stroke:#945413;stroke-width:3;fill:none;stroke-dasharray:6 4}.rs-page [data-rs-preview]{fill:#fffdf5;stroke:#7b3e73;stroke-width:3}.rs-page [data-rs-reference-line]{stroke:#483d7f;stroke-width:3;stroke-dasharray:3 7}.rs-diamond-key{display:inline-block;width:15px;height:15px;transform:rotate(45deg);border:3px solid #7b3e73;background:#fffdf5;margin:3px}.rs-reference-key{display:inline-block;width:20px;height:0;border-top:3px dashed #483d7f}.rs-page [data-rs-adjustment]{font-size:1.2rem}.rs-page [data-rs-glossary] dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,3fr);gap:.8rem;padding:.5rem}.rs-page [data-rs-glossary] dt{font-weight:700}.rs-page [data-rs-glossary] dd{margin:0}.rs-grownup{font-size:16px}.rs-grownup a{margin-right:1rem}.measure-reference-invitation{border-left:4px solid #7b3e73;background:#f5eff7;padding:.6rem .9rem;margin:1rem 0;font-size:16px}.measure-reference-invitation a{padding:.45rem .3rem}.rs-page .rs-adjustment{margin-top:1rem}.rs-page .rs-paper{margin-top:0}
@media(max-width:700px){.rs-page [data-rs-glossary] dl{grid-template-columns:minmax(0,1fr);gap:.3rem}.rs-page [data-rs-glossary] dd{margin-bottom:.65rem}.rs-page .rs-adjustment .cr-actions button{flex:1 1 100px}}

.rs-page :is(p,li,dd,.cr-context){overflow-wrap:anywhere}@media print{.measure-reference-invitation{display:none!important}}
.rs-model-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(265px,1fr);grid-template-areas:"plot controls" "plot summary";gap:0 1.1rem;align-items:start}.rs-model-grid>.rs-paper{grid-area:plot}.rs-model-controls{grid-area:controls;background:#fffdf5;border:2px solid #a9bbaa;border-radius:10px;padding:.75rem;margin:.4rem 0 .8rem;z-index:3}.rs-model-controls h3,.rs-model-controls p{margin:.2rem 0 .5rem}.rs-model-summary{grid-area:summary;min-width:0}.rs-model-summary .cr-summaries th:first-child{width:40%}.rs-reference-banner{border-left:4px solid #483d7f;padding:.4rem .75rem;background:#f1eef8}.rs-preview-note{font-size:16px}.rs-page [data-rs-limit]{margin:.5rem 0}.rs-page [data-rs-about]{margin:.4rem 0}.rs-page .rs-model-summary .cr-summaries{margin:.4rem 0}.rs-page .rs-model-grid:not(:has(.rs-model-controls)){grid-template-areas:"plot summary";grid-template-rows:auto}
@media(max-width:700px){.rs-model-grid,.rs-page .rs-model-grid:not(:has(.rs-model-controls)){display:flex;flex-direction:column;gap:0}.rs-model-grid>*{width:100%;box-sizing:border-box}.rs-model-grid>.rs-model-controls{position:sticky;top:8px;box-shadow:0 3px 8px #183f3929}.rs-model-controls .cr-actions{gap:.35rem}.rs-model-controls .cr-actions button{flex:1 1 70px;padding:.4rem}.rs-model-controls .cr-actions [data-rs-adjust=reset]{flex:1 1 100%}.rs-model-controls [data-rs-adjustment]{font-size:1rem}.rs-model-grid>.rs-paper{order:1}.rs-model-grid>.rs-model-controls{order:0}.rs-model-grid>.rs-model-summary{order:2}}
