/* Exclusivo das aulas do Universo Geométrico. */
.geometry-universe-active .gw-lesson { min-width: 0; }
.geometry-universe-active .gw-lesson > section,
.geometry-universe-active .gw-lesson > details { margin-block: 28px; }
.geometry-universe-active .gw-lesson .math-concept,
.geometry-universe-active .gw-lesson .math-lab,
.geometry-universe-active .gw-lesson .math-examples,
.geometry-universe-active .gw-lesson .gd-explanation,
.geometry-universe-active .gw-lesson .gd-lab { padding: clamp(18px, 3vw, 32px); }
.geometry-universe-active .gw-lesson p { line-height: 1.8; }
.geometry-universe-active .gw-lesson .math-examples { display: block; }
.geometry-universe-active .gw-lesson .math-example { margin-block: 16px; }
.gw-lesson .gd-explanation { border: 0; border-left: 3px solid #b9974a; background: rgba(155, 123, 47, .05); }
.gw-lesson .gd-explanation p { max-width: 80ch; }
.gw-lesson .gd-lab { min-width: 0; border: 1px solid rgba(194, 157, 69, .3); background: #151513; border-radius: 12px; }
.gw-lesson .gd-figure { display: block; width: 100%; height: auto; max-width: 760px; margin: 20px auto; overflow: visible; }
.gw-lesson .gd-diagram-scroll { max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; }
.gw-lesson .gd-diagram-scroll:focus-visible { outline: 2px solid #f3d17a; outline-offset: 3px; }
.gw-lesson .gd-pan-note { display: none; }
.gw-lesson .gd-figure text { fill: #ece6d4; font: 15px system-ui, sans-serif; }
.gw-lesson .gd-line, .gw-lesson .gd-circle { stroke: #ded7c6; fill: none; stroke-width: 2; }
.gw-lesson .gd-region { fill: #c19a3e33; stroke: #dfb959; stroke-width: 2; }
.gw-lesson .gd-reference { fill: #8ba4bd14; stroke: #a8bfd5; stroke-width: 2; }
.gw-lesson .gd-remainder { fill: #51b9a54d; stroke: #77d3bd; stroke-width: 2; }
.gw-lesson .gd-piece { fill: #dbac5855; stroke: #e2ba66; stroke-width: 1.5; }
.gw-lesson .gd-piece-1 { fill: #70aac755; }
.gw-lesson .gd-piece-2 { fill: #c47f9a55; }
.gw-lesson .gd-piece-3 { fill: #87be8655; }
.gw-lesson .gd-dashed { stroke: #aca691; stroke-width: 1.5; stroke-dasharray: 6 5; fill: none; }
.gw-lesson .gd-axis { stroke: #aaa38d; stroke-width: 1.5; fill: none; }
.gw-lesson .gd-asymptote { stroke: #d9a499; stroke-width: 1; stroke-dasharray: 3 6; fill: none; }
.gw-lesson .gd-accent, .gw-lesson .gd-chord { stroke: #78c7b8; stroke-width: 3; fill: none; }
.gw-lesson .gd-angle { stroke: #e5c466; stroke-width: 2; fill: none; }
.gw-lesson .gd-alpha { stroke: #78c7b8; }
.gw-lesson .gd-beta { stroke: #dba9d0; }
.gw-lesson .gd-disk { fill: #51b9a54d; stroke: #77d3bd; stroke-width: 2; }
.gw-lesson .gd-dot { fill: #f3d17a; stroke: #151513; stroke-width: 1; }
.gw-lesson .gd-handle { fill: #f0ce77; stroke: transparent; stroke-width: 44; vector-effect: non-scaling-stroke; cursor: grab; touch-action: none; }
.gw-lesson .gd-handle:focus-visible { stroke: #fff; stroke-width: 4; outline: none; }
.gw-lesson .gd-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 16px; }
.gw-lesson .gd-lab button, .gw-lesson .gd-problem button { min-height: 44px; padding: 10px 15px; border: 1px solid #847044; border-radius: 6px; color: #eee7d3; background: #24231e; cursor: pointer; font: inherit; }
.gw-lesson .gd-lab button[aria-pressed="true"] { background: #9c792f; color: #fff; border-color: #e9c66b; }
.gw-lesson .gd-lab button:focus-visible, .gw-lesson .gd-problem button:focus-visible,
.gw-lesson .gd-lab input:focus-visible, .gw-lesson .gd-attempt textarea:focus-visible { outline: 3px solid #f3d17a; outline-offset: 3px; }
.gw-lesson .gd-number { display: inline-flex; flex-direction: column; gap: 7px; max-width: 100%; margin: 10px 18px 10px 0; }
.gw-lesson .gd-number input, .gw-lesson .gd-attempt textarea { box-sizing: border-box; border: 1px solid #88754b; border-radius: 6px; padding: 10px; background: #11120f; color: #f4eedb; font: inherit; min-height: 44px; }
.gw-lesson .gd-number input { width: 120px; max-width: 100%; }
.gw-lesson .gd-reading { border-left: 3px solid #a38b48; padding: 12px 16px; background: rgba(170, 143, 67, .06); }
.gw-lesson .gd-fraction { display: inline-flex; vertical-align: middle; flex-direction: column; align-items: center; margin-inline: .15em; line-height: 1.35; }
.gw-lesson .gd-fraction > span { padding-inline: .22em; }
.gw-lesson .gd-fraction > span:first-child { border-bottom: 1px solid currentColor; }
.gw-lesson .gd-two-boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gw-lesson .gd-cell-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; max-width: 320px; }
.gw-lesson .gd-cell-board button { padding: 0; aspect-ratio: 1; min-width: 0; min-height: 44px; }
.gw-lesson .gd-cell-board button[aria-pressed="true"] { background: #bb9540; }
.gw-lesson .gd-problem { margin-top: 32px; padding-top: 24px; border-top: 1px solid #857044; }
.gw-lesson .gd-attempt { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.gw-lesson .gd-attempt textarea { width: 100%; resize: vertical; }
.gw-lesson .gd-guidance section { margin-block: 20px; }
.gw-lesson .gd-guidance:focus { outline: 2px solid #d8ba68; outline-offset: 6px; }
.gw-lesson .gd-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gw-lesson .gd-practice { border-block: 1px solid rgba(194, 157, 69, .3); padding: 16px 0; }
.gw-lesson .gd-practice > summary { cursor: pointer; min-height: 44px; display: list-item; padding: 10px 16px; color: #e6cb83; }
.gw-lesson .gd-practice > section { margin-block: 24px; }
.gw-lesson .gd-references { border: 0; }
.gw-lesson .gd-references li { margin-block: 12px; overflow-wrap: anywhere; }
.geometry-universe-active .gw-lesson .trig-table-wrap { overflow-x: auto; }
.geometry-universe-active .gw-lesson .trig-live-table { min-width: 430px; }
@media (max-width: 600px) {
  .gw-lesson .gd-two-boards { grid-template-columns: 1fr; }
  .gw-lesson .gd-figure { margin-block: 18px; }
  .gw-lesson .gd-figure { min-width: 440px; }
  .gw-lesson .gd-figure text { font-size: 18px; }
  .gw-lesson .gd-pan-note { display: block; font-size: .9em; }
  .gw-lesson .gd-controls { align-items: stretch; }
  .gw-lesson .gd-controls button { flex: 1 1 160px; }
  .geometry-universe-active .gw-lesson .math-concept,
  .geometry-universe-active .gw-lesson .math-lab,
  .geometry-universe-active .gw-lesson .math-examples { padding: 18px; }
}

.gw-lesson .gd-block-board { display: grid; grid-template-columns: repeat(3, minmax(44px, 1fr)); gap: 6px; max-width: 240px; margin-block: 16px; }
