.math-geometry-lab label{display:block;color:#fff;margin:1.15rem 0}.math-geometry-lab input[type="range"]{display:block;width:min(100%,35rem);min-height:1.6rem;margin:.7rem 0;accent-color:#f6c684}.math-geometry-figure{display:block;width:min(100%,40rem);height:auto;min-height:11rem;margin:1rem auto;background:rgba(28,20,44,.45);border:1px solid rgba(217,183,235,.23);border-radius:1.1rem}.math-geometry-lab [data-geo-description],.math-geometry-lab [data-angle-result]{color:#fff;line-height:1.6;background:rgba(40,27,61,.65);padding:.85rem 1rem;border-radius:.75rem}.math-geometry-figure text{font-size:17px;font-family:inherit}@media(max-width:600px){.math-geometry-figure{min-height:7rem}}

/* Figuras usadas para explicar correspondência e razões, antes das fórmulas. */
.tales-figure,.trig-similarity-figure,.trig-live-figure{margin:1rem 0 1.25rem}
.tales-figure .math-geometry-figure,.trig-similarity-figure .math-geometry-figure,.trig-live-figure .math-geometry-figure{min-height:0;width:min(100%,42rem);background:rgba(28,20,44,.35)}
.tales-figure svg text,.trig-similarity-figure svg text{fill:#fff;font:700 22px/1.2 system-ui,sans-serif}
.tales-ray{stroke:#f2aad3;stroke-width:3;stroke-linecap:round}
.tales-parallel{stroke:#72d8c5;stroke-width:5;stroke-linecap:round}
.tales-point{fill:#fff;stroke:#152038;stroke-width:2}
.tales-cut-label{font-size:18px!important;paint-order:stroke;stroke:#271d3b;stroke-width:4px;stroke-linejoin:round}
.tales-figure figcaption,.trig-similarity-figure figcaption,.trig-live-figure figcaption{display:flex;flex-wrap:wrap;gap:.7rem 1.4rem;color:#eee4f5;font-size:.95rem;line-height:1.5}
.tales-figure figcaption span,.trig-similarity-figure figcaption span,.trig-live-figure figcaption span{display:inline-flex;align-items:center;gap:.45rem}
.tales-key,.trig-key{display:inline-block;width:1.05rem;height:.22rem;border-radius:1rem;background:#f2aad3}
.tales-key-parallel{background:#72d8c5}
.tales-reading,.trig-reading{border-left:3px solid #f2aad3;padding:.15rem 0 .15rem 1rem;margin:.8rem 0 0;line-height:1.65}
.tales-reading h3,.trig-reading h3{margin:.25rem 0 .5rem;color:#fff}
.tales-reading ol,.tales-guided-example ol,.trig-reading ol{padding-left:1.35rem}
.tales-reading li,.tales-guided-example li,.trig-reading li{margin:.35rem 0}
.tales-guided-example{border-top:1px solid rgba(217,183,235,.22);padding-top:1rem}
.tales-equations{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.6rem}
.tales-equations p{margin:0;padding:.75rem 1rem;border-left:3px solid #72d8c5;background:rgba(40,27,61,.5);font-size:clamp(1rem,2.6vw,1.25rem);overflow-wrap:normal}
.tales-measurements{line-height:1.7}
.trig-key-adjacent,.trig-adjacent{background:#72d8c5;stroke:#72d8c5}
.trig-key-opposite,.trig-opposite{background:#f2aad3;stroke:#f2aad3}
.trig-key-hypotenuse,.trig-hypotenuse{background:#f6c684;stroke:#f6c684}
.trig-side{stroke-width:5;stroke-linecap:round}
.trig-right-angle{fill:none;stroke:#fff;stroke-width:2.5}
.trig-angle-mark{fill:none;stroke:#fff;stroke-width:2}
.trig-side-label,.trig-angle-label{fill:#fff;font:700 16px/1.2 system-ui,sans-serif;paint-order:stroke;stroke:#241a37;stroke-width:4px;stroke-linejoin:round}
.trig-similarity-figure svg text{font-size:22px}
.trig-hyp-label{fill:#f6c684!important}
.trig-scale-label{fill:#e7d7f1!important;font-size:18px!important}
.trig-ratio-definitions{display:grid;gap:.4rem;margin:1rem 0}
.trig-ratio-definition{display:grid;grid-template-columns:5.2rem 1rem minmax(8rem,12rem) minmax(11rem,1fr);align-items:center;gap:.65rem;border-bottom:1px solid rgba(217,183,235,.2);padding:.65rem 0}
.trig-ratio-definition>strong{font-size:1.15rem;color:#fff}
.trig-fraction{display:inline-grid;justify-items:center;line-height:1.25;text-align:center;white-space:normal}
.trig-fraction span:first-child{padding:0 .25rem .12rem;border-bottom:1px solid #f6c684}
.trig-fraction span:last-child{padding:.12rem .25rem 0}
.trig-live-figure .math-geometry-figure{width:min(100%,38rem)}
.trig-live-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#fff}
.trig-table-wrap{max-width:100%;overflow-x:auto}
.trig-live-table caption{text-align:left;color:#f4eafa;font-weight:700;padding:.6rem 0}
.trig-live-table th,.trig-live-table td{padding:.6rem .5rem;border-bottom:1px solid rgba(217,183,235,.22);text-align:left;overflow-wrap:normal;word-break:normal}
.trig-live-table th{font-weight:600;color:#eadcf3}
.trig-live-table td{font-variant-numeric:tabular-nums}
.math-trig-triangle-lab .math-geometry-figure{min-height:0}
@media(max-width:650px){.trig-ratio-definition{grid-template-columns:4.4rem 1rem minmax(7.5rem,1fr);gap:.45rem}.trig-ratio-definition>span:last-child{grid-column:1/-1;padding-left:.2rem;font-size:.92rem;color:#e9def1}.trig-live-table th,.trig-live-table td{padding:.45rem .3rem;font-size:.9rem}.tales-figure svg text,.trig-similarity-figure svg text{font-size:25px}}

.pythagoras-figure .math-geometry-figure,.notable-static-figure .math-geometry-figure{width:min(100%,36rem);min-height:0}
.pythagoras-figure svg text,.notable-static-figure svg text{fill:#fff;font:700 17px/1.2 system-ui,sans-serif}
.pyth-triangle{fill:rgba(114,216,197,.12);stroke:#fff;stroke-width:2}
.pyth-square{stroke-width:2.5}
.pyth-square-a{fill:rgba(242,170,211,.18);stroke:#f2aad3}
.pyth-square-b{fill:rgba(114,216,197,.18);stroke:#72d8c5}
.pyth-square-c{fill:rgba(246,198,132,.18);stroke:#f6c684}
.pyth-right-angle{fill:none;stroke:#fff;stroke-width:2}
.pythagoras-figure figcaption{display:grid;gap:.45rem;color:#eee4f5;font-size:.93rem;line-height:1.5}
.pythagoras-figure figcaption span{display:flex;align-items:center;gap:.5rem}
.pyth-key{display:inline-block;width:1rem;height:1rem;border:2px solid #f2aad3;background:rgba(242,170,211,.18);flex:none}
.pyth-key-b{border-color:#72d8c5;background:rgba(114,216,197,.18)}
.pyth-key-c{border-color:#f6c684;background:rgba(246,198,132,.18)}
.pythagoras-reading,.trig-extension-reading{border-left:3px solid #f6c684;padding:.2rem 0 .2rem 1rem;line-height:1.65}
.pythagoras-guided-example{border-top:1px solid rgba(217,183,235,.22);padding-top:1rem}
.trig-extension-visual figure{margin:1rem 0}
.trig-extension-visual-svg{display:block;width:min(100%,42rem);height:auto;min-height:0;margin:.8rem auto 0;background:rgba(28,20,44,.35);border:1px solid rgba(217,183,235,.23);border-radius:1.1rem}
.trig-extension-visual-svg text{fill:#fff;font:700 22px/1.2 system-ui,sans-serif}
.extension-circle{fill:rgba(114,216,197,.08);stroke:rgba(217,183,235,.55);stroke-width:2}
.extension-radius{stroke:#72d8c5;stroke-width:4;stroke-linecap:round}
.extension-arc{fill:none;stroke:#f2aad3;stroke-width:6;stroke-linecap:round}
.extension-angle{fill:none;stroke:#f6c684;stroke-width:2}
.extension-grid{fill:none;stroke:rgba(217,183,235,.22);stroke-width:1}
.extension-wave{fill:none;stroke:#f2aad3;stroke-width:4;stroke-linecap:round}
.extension-midline{fill:none;stroke:#72d8c5;stroke-width:2;stroke-dasharray:8 6}
.extension-measure{fill:none;stroke:#f6c684;stroke-width:2}
.extension-point{fill:#fff}
.law-triangle{fill:rgba(114,216,197,.1);stroke:#fff;stroke-width:3}
.law-height{stroke:#f6c684;stroke-width:3;stroke-dasharray:7 5}
.law-right-angle{fill:none;stroke:#fff;stroke-width:2}
.law-angle-mark{fill:none;stroke:#f2aad3;stroke-width:2}
.trig-extension-visual figcaption{color:#eee4f5;font-size:.95rem;line-height:1.55;margin-top:.6rem}
.trig-extension-visual .math-geometry-figure{min-height:0}
.similarity-visual-intro .trig-reading{margin-top:.5rem}

.math-parallel-lab [data-parallel-labels] text{paint-order:stroke;stroke:#241b31;stroke-width:4px;stroke-linejoin:round}
.math-area-bars{display:grid;gap:.5rem;margin:1rem 0}.math-area-bars>div{display:flex;align-items:center;gap:.7rem;color:#fff}.math-area-bars span{min-width:5.5rem;font-variant-numeric:tabular-nums}.math-area-bars i{display:block;height:1.1rem;min-width:.5rem;border-radius:999px;background:#72d8c5}.math-area-bars>div:nth-child(2) i{background:#f2aad3}.math-area-bars>div:nth-child(3) i{background:#f6c684}
.math-area-shapes-lab [hidden]{display:none}

/* Diagramas de área, circunferência e condição de fechamento. */
.area-rectangle{fill:rgba(114,216,197,.15);stroke:#72d8c5;stroke-width:3}
.area-triangle{fill:rgba(242,170,211,.2);stroke:#f2aad3;stroke-width:3}
.area-measure-lines{fill:none;stroke:#f6c684;stroke-width:2;stroke-dasharray:7 5}
.area-result-label{font-size:17px!important;paint-order:stroke;stroke:#261c37;stroke-width:4px}
.circle-visual-figure,.arc-visual-figure,.triangle-visual-figure{margin:1rem 0}
.circle-visual-figure .trig-extension-visual-svg,.arc-visual-figure .trig-extension-visual-svg,.triangle-visual-figure .trig-extension-visual-svg{width:min(100%,44rem)}
.circle-interior{fill:rgba(114,216,197,.16);stroke:none}
.circle-boundary,.circle-guide{fill:none;stroke:#f2aad3;stroke-width:4}
.circle-radius{stroke:#f6c684;stroke-width:4}
.circle-diameter{stroke:#72d8c5;stroke-width:2.5;stroke-dasharray:7 5}
.circle-label-boundary{fill:#f2aad3!important;font-size:19px!important}
.circle-label-interior{fill:#72d8c5!important;font-size:19px!important}
.arc-sector{fill:rgba(114,216,197,.22);stroke:none}
.arc-boundary{fill:none;stroke:#f2aad3;stroke-width:7;stroke-linecap:round}
.arc-radius{stroke:#f6c684;stroke-width:3}
.arc-chord{stroke:#72d8c5;stroke-width:4}
.arc-label-boundary{fill:#f2aad3!important;font-size:17px!important}
.arc-label-chord{fill:#72d8c5!important;font-size:17px!important}
.triangle-valid{fill:rgba(114,216,197,.14);stroke:#72d8c5;stroke-width:4}
.triangle-rod-small{stroke:#72d8c5;stroke-width:8;stroke-linecap:round}
.triangle-rod-long{stroke:#f2aad3;stroke-width:8;stroke-linecap:round}
.triangle-status-good{fill:#72d8c5!important;font-size:18px!important}
.triangle-status-bad{fill:#f2aad3!important;font-size:18px!important}
.triangle-note{fill:#eee4f5!important;font-size:16px!important}
.area-visual-figure figcaption,.circle-visual-figure figcaption,.arc-visual-figure figcaption,.triangle-visual-figure figcaption{color:#eee4f5;font-size:.95rem;line-height:1.55;margin-top:.6rem}
@media(max-width:600px){.trig-extension-visual-svg text{font-size:25px}.area-result-label{font-size:22px!important}.triangle-note{font-size:22px!important}.triangle-status-good,.triangle-status-bad{font-size:25px!important}.circle-label-boundary,.circle-label-interior{font-size:25px!important}.arc-label-boundary,.arc-label-chord{font-size:24px!important}}
