/* v154: escopo exclusivo de Geometria e dos testes selecionados. */
#study .gw-lesson .math-hero.gep-opening { box-sizing:border-box; padding:clamp(22px,3.4vw,38px); margin-block:20px 32px; min-width:0; gap:clamp(22px,3.4vw,38px); }
#study .gw-lesson .gep-opening-copy { min-width:0; }
#study .gw-lesson .gep-opening h2 { margin:0 0 16px; line-height:1.25; text-wrap:balance; }
#study .gw-lesson .gep-opening p { max-width:72ch; margin-block:14px; }
#study .gw-lesson .gep-opening .math-opening-question { border-left:2px solid #b9974a; padding:10px 0 10px 16px; margin-bottom:0; }
#study .gw-lesson .gep-opening-split { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); align-items:center; }
#study .gw-lesson .gep-opening-reading { display:block; max-width:54rem; }
#study .gw-lesson .gep-opening-central { display:grid; grid-template-columns:minmax(0,1fr); }
#study .gw-lesson .gep-opening-figure { width:100%; max-width:660px; margin:0 auto; }
#study .gw-lesson .gep-opening-figure svg { margin:0 auto; height:auto; }
#study .gw-lesson .gep-opening-figure.pythagoras-figure { max-width:410px; }
#study .gw-lesson .gep-opening-illustration { margin:0; min-width:0; }
#study .gw-lesson .gep-opening-illustration svg { display:block; width:100%; height:auto; max-width:360px; margin:auto; }
#study .gw-lesson .gep-opening-illustration text { font:15px system-ui,sans-serif; fill:#eee7d5; }
#study .gw-lesson .gep-line { fill:none; stroke:#ddc47b; stroke-width:2.5; }
#study .gw-lesson .gep-tick { fill:none; stroke:#ddc47b; stroke-width:2; }
#study .gw-lesson .gep-accent { fill:none; stroke:#81d1bc; stroke-width:2.5; }
#study .gw-lesson .gep-angle { fill:none; stroke:#eac978; stroke-width:2; }
#study .gw-lesson .gep-dashed { fill:none; stroke:#c4b997; stroke-width:1.5; stroke-dasharray:5 4; }
#study .gw-lesson .gep-region { fill:#6eac9740; stroke:#81d1bc; stroke-width:2; }
#study .gw-lesson .gep-dot { fill:#efe8d5; }
#study .gw-lesson .gep-relation { padding:18px 0 4px; margin-block:22px 0; border-top:1px solid #8b754752; }
#study .gw-lesson .gep-relation h3 { margin:0 0 12px; font-size:1.03rem; color:#dfc581; }
#study .gw-lesson .gep-formula { font:clamp(1.15rem,2.1vw,1.5rem)/2 Georgia,serif; color:#f5df9c; overflow-x:auto; padding-bottom:7px; }
#study .gw-lesson .gep-relation p { max-width:78ch; font-size:.98rem; }
#study .gw-lesson .gep-formula sup { font-size:.72em; }
#study .gw-lesson .gep-summary-cue { display:block; margin-top:4px; color:#d8d1bb; font-size:.88em; font-weight:400; }
#study .gw-lesson .gep-arc-figure { display:grid; grid-template-columns:minmax(220px,1fr) minmax(220px,1fr); gap:22px; align-items:center; max-width:760px; }
#study .gw-lesson .gep-arc-figure svg { width:100%; height:auto; margin:0; }
#study .gw-lesson .gep-arc-figure figcaption { display:block; font-size:.94rem; }
#study .gw-lesson .gep-arc-legend { margin:0; }
#study .gw-lesson .gep-arc-legend > div { margin-block:12px; }
#study .gw-lesson .gep-arc-legend dt { display:flex; align-items:center; gap:8px; color:#eee7d5; font-weight:600; }
#study .gw-lesson .gep-arc-legend dd { margin:4px 0 0; line-height:1.55; }
#study .gw-lesson .gep-swatch { display:inline-block; width:24px; height:0; border-top:3px solid; }
#study .gw-lesson .gep-swatch.gep-arc { border-color:#f2aad3; }
#study .gw-lesson .gep-swatch.gep-chord { border-color:#72d8c5; border-top-style:dashed; }
#study .gw-lesson .gep-swatch.gep-sector { height:12px; border:1px solid #72d8c5; background:#72d8c542; }
#study .gw-lesson .gep-swatch.gep-radius { border-color:#f6c684; }
#study .gw-lesson .gep-leader { stroke:#e7b7d2; fill:none; stroke-width:1.2; }
#study .gw-lesson [data-pyth-c-label], #study .gw-lesson .trig-hyp-label { paint-order:stroke; stroke:#171713; stroke-width:4px; stroke-linejoin:round; }
#study .mtp-checkpoint { box-sizing:border-box; padding:20px 24px; border:1px solid #8e77434d; border-left:3px solid #c8a64d; border-radius:12px; background:#1c1b15; box-shadow:none; }
#study .mtp-checkpoint h3 { margin:4px 0 12px; max-width:80ch; line-height:1.55; }
#study .mtp-checkpoint .review-options { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0; }
#study .mtp-checkpoint .review-options button { flex:0 1 auto; min-width:100px; min-height:44px; max-width:100%; padding:10px 16px; font:inherit; color:#eee8d5; background:#27261e; border:1px solid #8b7854; border-radius:6px; overflow-wrap:anywhere; cursor:pointer; }
#study .mtp-checkpoint .review-options button[aria-pressed="true"] { outline:2px solid #e0bf6e; outline-offset:1px; background:#38311e; font-weight:650; }
#study .mtp-checkpoint .review-options button[data-result="true"]::after { content:' ✓'; }
#study .mtp-checkpoint .review-options button[data-result="false"]::after { content:' ↻'; }
#study .mtp-checkpoint .review-feedback { margin:12px 0 0; max-width:82ch; min-height:0; line-height:1.7; }
#study .mtp-checkpoint .review-feedback[data-correct="true"] { color:#aad9bd !important; }
#study .mtp-checkpoint .review-feedback[data-correct="false"] { color:#efd0ad !important; }
#study .mtp-checkpoint .review-retry { display:inline-block; margin-top:14px; min-height:44px; padding:9px 14px; border:1px solid #8b7854; border-radius:6px; background:#24231c; color:#efdc9c; font:inherit; cursor:pointer; }
#study .mtp-checkpoint [hidden] { display:none; }
#study .mtp-checkpoint button:focus-visible { outline:3px solid #f7d983; outline-offset:4px; }
#study .mtp-checkpoint .mtp-fraction { display:inline-flex; flex-direction:column; align-items:center; vertical-align:middle; line-height:1.35; margin-inline:.15em; }
#study .mtp-checkpoint .mtp-fraction > span { padding-inline:.15em; }
#study .mtp-checkpoint .mtp-fraction > span:first-child { border-bottom:1px solid currentColor; }
#study .mtp-checkpoint [data-test-visual] { margin:16px 0 0; max-width:320px; color:#ddc681; }
#study .mtp-checkpoint [data-test-visual] svg { display:block; width:100%; height:auto; }
#study .mtp-checkpoint [data-test-visual] text { fill:currentColor; font:16px system-ui,sans-serif; }
#study .mtp-checkpoint [data-test-visual] figcaption { margin-top:7px; font-size:.9rem; }
@media(max-width:720px) {
  #study .gw-lesson .gep-opening-split { grid-template-columns:minmax(0,1fr); }
  #study .gw-lesson .gep-opening-illustration { max-width:360px; width:100%; justify-self:center; }
  #study .gw-lesson .gep-arc-figure { grid-template-columns:minmax(0,1fr); gap:8px; }
  #study .gw-lesson .gep-arc-figure svg { max-width:340px; margin:auto; }
}
@media(max-width:480px) {
  #study .gw-lesson .math-hero.gep-opening { padding:20px; border-radius:14px; }
  #study .mtp-checkpoint { padding:18px; }
  #study .mtp-checkpoint .review-options button { flex:1 1 120px; }
  #study .gw-lesson .gep-opening-figure.trig-similarity-figure { overflow-x:auto; }
  #study .gw-lesson .gep-opening-figure.trig-similarity-figure svg { min-width:430px; }
}
#study .gw-lesson .gep-arc-figure .circle-guide { stroke:#928b79; stroke-width:1.5; stroke-dasharray:4 4; }
#study .gw-lesson .gep-opening-figure:focus-visible { outline:3px solid #f7d983; outline-offset:4px; }
#study .dz-short-test .dz-test-retry, #study .er-practice .er-test-retry { min-height:44px; margin-top:12px; padding:9px 14px; border:1px solid #8b7854; border-radius:6px; color:#efdc9c; background:#24231c; cursor:pointer; font:inherit; }
#study .dz-short-test [hidden], #study .er-practice [hidden] { display:none; }
#study .dz-short-test [data-choice], #study .er-practice [data-er-value] { min-height:44px; }
#study .dz-short-test [data-choice][aria-pressed="true"], #study .er-practice [data-er-value][aria-pressed="true"] { outline:2px solid #e0bf6e; outline-offset:1px; font-weight:650; }
#study .dz-short-test [data-test-result="true"]::after, #study .er-practice [data-test-result="true"]::after { content:' ✓'; }
#study .dz-short-test [data-test-result="false"]::after, #study .er-practice [data-test-result="false"]::after { content:' ↻'; }
#study .dz-short-test button:focus-visible, #study .er-practice button:focus-visible { outline:3px solid #f7d983; outline-offset:4px; }
#study .er-practice button:disabled { opacity:.5; cursor:default; }
