.gw-lesson .gle-lab { margin-block: 2rem; }
.gw-lesson .gle-goal { border: 0; border-top: 1px solid #c7a95a55; padding: 1.2rem 0 0; margin: 1.3rem 0 0; min-width: 0; }
.gw-lesson .gle-goal legend { padding: .2rem .7rem .2rem 0; color: #e9cb83; font-weight: 600; }
.gw-lesson .gle-goal label { display: grid; gap: .4rem; max-width: 36rem; }
.gw-lesson .gle-goal select { width: 100%; min-height: 44px; background: #1c1b16; color: #f2e5c7; border: 1px solid #c1a86977; border-radius: 8px; padding: .65rem; font: inherit; }
.gw-lesson .gle-goal button { min-height: 44px; padding: 10px 15px; border: 1px solid #847044; border-radius: 6px; color: #eee7d3; background: #24231e; cursor: pointer; font: inherit; }
.gw-lesson .gle-feedback { min-height: 1.5em; max-width: 70ch; }
.gw-lesson .gle-feedback[data-correct="true"] { color: #bee0af; }
.gw-lesson .gle-feedback[data-correct="false"] { color: #f1cd8f; }
.gw-lesson .gle-coordinates { border: 0; margin: 1rem 0; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.gw-lesson .gle-precision-toggle { min-height: 44px; padding: .55rem .8rem; border: 1px solid #847044; border-radius: 6px; color: #e9cb83; background: #24231e; font: inherit; cursor: pointer; }
.gw-lesson .gle-precision-toggle[aria-pressed="true"] { background: #3a3424; border-color: #c7a95a; }
.gw-lesson .gw-coordinates > .gle-precision-toggle { grid-column: 1 / -1; justify-self: start; }
.gw-lesson .gle-coordinates legend { margin-bottom: .6rem; }
.gw-lesson .gle-coordinates > div { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.gw-lesson .gle-coordinates .gd-number { max-width: 7rem; margin: 0; }
.gw-lesson .gle-angle-hit { fill: #e7bc5930; stroke: #dfb765; stroke-width: 1; cursor: pointer; }
.gw-lesson .gle-angle-hit[aria-pressed="true"] { fill: #edce73aa; stroke: #fff1c7; stroke-width: 3; }
.gw-lesson .gle-angle-hit:focus-visible { stroke: #fff; stroke-width: 4; outline: none; }
.gw-lesson .gle-grid { stroke: #b2a78740; stroke-width: .8; }
.gw-lesson .gle-target { fill: none; stroke: #99b9cc; stroke-width: 2; stroke-dasharray: 6 4; }
.gw-lesson .gle-tile-board { display: grid; grid-template-columns: repeat(6,minmax(44px,1fr)); gap: 3px; max-width: 330px; margin: 1rem 0; }
.gw-lesson .gle-tile-board button { padding: 0; min-height: 44px; aspect-ratio: 1; color: #e9cd8b; font-size: 1.3rem; }
.gw-lesson .gle-tile-board button[data-kind="1"] { background: #bfa058; color: #211e16; }
.gw-lesson .gle-tile-board button[data-kind="2"] { background: linear-gradient(45deg,#bfa058 50%,#24231d 50%); }
.gw-lesson .gle-tile-board button[data-kind="3"] { background: linear-gradient(45deg,#24231d 50%,#bfa058 50%); }
.gw-lesson .gle-figure-note { max-width: 65ch; color: #d1c5a7; }
.gw-lesson .gle-lab button:focus-visible,.gw-lesson .gle-goal button:focus-visible,.gw-lesson .gle-goal select:focus-visible { outline: 2px solid #ffe29d; outline-offset: 3px; }
.gw-lesson .gle-views { margin-block: 1rem; }
.gw-lesson .gle-views summary { min-height: 44px; padding: .7rem 0; cursor: pointer; color: #e9cb83; }
.gw-lesson .gle-orthogonal-views { display: flex; gap: 1rem; flex-wrap: wrap; }
.gw-lesson .gle-orthogonal-views > div { width: 180px; }
.gw-lesson .gle-orthogonal-views .gd-figure { min-width: 180px; width: 180px; }
@media(max-width:640px) { .gw-lesson .gle-tile-board { max-width: 100%; overflow-x: auto; } .gw-lesson .gle-coordinates > div { width: 100%; } .gw-lesson .gle-goal .gd-controls { gap: .5rem; } }
.gw-lesson .gle-precision { margin: 1rem 0; max-width: 65ch; }
.gw-lesson .gle-precision summary { color: #e9cb83; cursor: pointer; padding: .65rem 0; min-height: 44px; }
.gw-lesson .gle-precision dl { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem 1rem; font-variant-numeric: tabular-nums; }
.gw-lesson .gle-precision dt,.gw-lesson .gle-precision dd { margin: 0; overflow-wrap: anywhere; }
.gw-lesson .gle-restore-controls { margin-top: 1.2rem; }
.gw-lesson .gle-restore-controls button { min-height: 44px; font: inherit; color: #e9cb83; background: #24231e; border: 1px solid #847044; border-radius: 6px; padding: .6rem 1rem; cursor: pointer; }
.gw-lesson .gle-restore-controls button:focus-visible,.gw-lesson .gle-precision summary:focus-visible { outline: 2px solid #ffe29d; outline-offset: 3px; }
.gw-lesson .gle-exact-tools { border: 0; border-top: 1px solid #c7a95a55; padding: 1rem 0; margin: 1rem 0; min-width: 0; }
.gw-lesson .gle-exact-tools legend { color: #e9cb83; }
.gw-lesson .gle-restore-status:empty { display: none; }
@media(max-width:640px) { .gw-lesson .gle-precision dl { grid-template-columns: 1fr; } .gw-lesson .gle-precision dd { margin-bottom: .45rem; } }
.gw-lesson .gd-figure text,.gw-lesson .gw-notable-figure text { paint-order: stroke fill; stroke: #171713; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.gw-lesson .gle-label-leader { stroke: #c3b995; stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.gw-lesson .gle-coordinate-precision { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; width: 100%; }
.gw-lesson .gle-coordinate-precision select { min-height: 44px; max-width: 100%; background: #24231e; color: #e9cb83; border: 1px solid #847044; border-radius: 6px; padding: .5rem; font: inherit; }
.gw-lesson .gle-coordinate-note { flex-basis: 100%; max-width: 65ch; color: #d1c5a7; font-size: .92rem; }
.gw-lesson .gle-coordinate-precision select:focus-visible { outline: 2px solid #ffe29d; outline-offset: 3px; }
