.ground-page{margin:0;background:#edf2f5;color:#122c46;font:16px/1.55 Arial,sans-serif}.ground-page header,.ground-page main{max-width:68rem;margin:auto;padding:1rem}.ground-page header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.ground-page a,share-ground-lesson a{color:#104575;text-underline-offset:3px}share-ground-lesson{display:block;box-sizing:border-box;min-width:0;max-width:100%;padding:clamp(12px,2vw,24px);background:#fff;border:1px solid #bdd0dd;border-top:4px solid #cd1631;border-radius:10px;scroll-margin-top:9rem;color:#152f46}share-ground-lesson *,share-ground-lesson *::before{box-sizing:border-box}share-ground-lesson [hidden]{display:none!important}share-ground-lesson :is(h1,h3){font-size:clamp(1.42rem,3vw,2.1rem);line-height:1.18;margin:.2em 0}share-ground-lesson p{margin:.65em 0;line-height:1.55}.ground-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;margin:.65rem 0}.ground-controls label{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;font-weight:700;max-width:100%}.ground-controls :is(button,select){min-height:44px;max-width:100%;font:inherit;font-weight:650;color:#123856;border:1px solid #acbfcc;border-radius:6px;background:#fff;padding:.45rem .68rem;cursor:pointer}.ground-controls [data-action=next],.ground-controls [aria-pressed=true]{background:#153d61;color:white}.ground-controls :disabled{opacity:.5;cursor:default}share-ground-lesson :focus-visible{outline:3px solid #b54e13;outline-offset:2px}.ground-stage{position:relative;background:#eef2f3;aspect-ratio:16/9;isolation:isolate;overflow:hidden;border:1px solid #b9cad4;border-radius:7px}.ground-stage>[data-still],.ground-stage>[data-scene]{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain}.ground-steps{margin:.85rem 0;padding-inline-start:1.8rem}.ground-steps li{margin-block:.85rem}.ground-steps li h4{margin:0;font-size:1.13rem}.ground-steps li p{margin:.4rem 0}share-ground-lesson[data-guided] .ground-steps{list-style:none;padding:0}.ground-check{padding:.7rem 1rem;background:#edf4f8;border-radius:6px}.ground-check summary{cursor:pointer;font-weight:700;min-height:32px}.ground-related{font-weight:700}.ground-stage .bex-model-labels button{cursor:pointer}.ground-stage .bex-model-labels button[hidden]{display:none!important}@media(max-width:600px){.ground-stage{aspect-ratio:1.25}.ground-controls button{flex:1 1 auto}.ground-controls label,.ground-controls select{width:100%}.ground-page main{padding:.45rem}}

/* Numbered model points remain in reach in both the illustrated and 3D views. */
.ground-stage{container-type:inline-size}
.ground-pin-rail{position:absolute;z-index:3;inset:0 0 auto;display:flex;align-items:center;gap:5px;padding:4px 6px;overflow-x:auto;background:#f6f9fcef;scrollbar-width:thin}
.ground-pin-rail button,.ground-note-heading button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #a4bdce;border-radius:50%;background:white;color:#143d60;font:700 14px Arial,sans-serif;cursor:pointer}
.ground-pin-rail [aria-current=step]{background:#143d60;color:white}
.ground-stage>[data-scene],.ground-stage>[data-still]{top:54px;height:calc(100% - 54px)}
.ground-note{position:absolute;z-index:4;top:59px;right:6px;width:min(17rem,38%);max-height:calc(100% - 65px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:8px 12px 12px;background:#f8fbfe;color:#133653;border:1px solid #a3bccd;border-top:3px solid #163e61;border-radius:7px;box-shadow:0 3px 12px #102b4326;font:14px/1.45 Arial,sans-serif}
.ground-note-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.ground-note-heading small{font-weight:700;color:#4c6377}.ground-note-heading button{font-size:22px;border:0;border-radius:5px;background:transparent}.ground-note h4{margin:0;font-size:16px}.ground-note p{font-size:14px;line-height:1.45}.ground-note summary{font-weight:700;cursor:pointer}
@container(max-width:600px){.ground-note{inset:auto 5px 5px;width:auto;max-height:44%}.ground-stage:has(.ground-note:not([hidden]))>[data-scene],.ground-stage:has(.ground-note:not([hidden]))>[data-still]{height:calc(55% - 54px)}}
@media(max-width:700px){.ground-stage{aspect-ratio:auto;height:clamp(350px,58svh,490px)}}
