/* HUBMAT Visual — 6º ano · Medidas, Probabilidade e Estatística */
.g6m-controls{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.g6m-controls .btn{flex:1 1 92px}
.g6m-readout{text-align:center;font-size:clamp(21px,4vw,32px);font-weight:850;margin:10px 0}
.g6m-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.g6m-metrics div{background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px;text-align:center}.g6m-metrics strong{display:block;font-size:24px}
.g6m-angle svg,.g6m-plan svg,.g6m-square svg{width:100%;height:auto;display:block;max-width:620px;margin:auto}.g6m-ray{stroke:#235f9b;stroke-width:6;stroke-linecap:round}.g6m-sector{fill:#f2c25755;stroke:#9a711b;stroke-width:2}
.g6m-plan-room{fill:#e4f0e3;stroke:#426251;stroke-width:3}.g6m-plan-room.alt{fill:#dcebf8}.g6m-plan-label{font-size:14px;font-weight:700;fill:#15324b}
.g6m-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.g6m-parts button{min-height:48px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:750}.g6m-parts button[aria-pressed=true]{background:#eaf4e7;border-color:var(--green)}
.g6m-chart{height:250px;display:flex;align-items:end;gap:12px;padding:18px;border-left:2px solid #607584;border-bottom:2px solid #607584}.g6m-bar{flex:1;display:grid;align-items:end;text-align:center}.g6m-bar b{display:block;background:#bcd6ed;border:2px solid #235f9b;border-bottom:0;border-radius:7px 7px 0 0;min-height:4px}.g6m-bar span{font-size:12px;padding-top:5px}.g6m-bar em{font-style:normal;font-weight:800;font-size:12px}
.g6m-table{width:100%;border-collapse:collapse;background:#fff}.g6m-table th,.g6m-table td{padding:8px;border:1px solid var(--line);text-align:center}
.g6m-network{width:100%;height:auto;max-width:620px;margin:auto}.g6m-edge{stroke:#9fb1a4;stroke-width:5}.g6m-edge.on{stroke:#235f9b}.g6m-node{fill:#fff;stroke:#146348;stroke-width:3}.g6m-node-label{font-size:18px;font-weight:800;fill:#15324b;text-anchor:middle;dominant-baseline:middle}
@media(max-width:560px){.g6m-metrics{grid-template-columns:1fr 1fr 1fr}.g6m-parts{grid-template-columns:1fr}.g6m-chart{gap:5px;padding:10px 4px}.g6m-bar span{font-size:10px}}
.g6m-volume-view,.g6m-temp-view{max-width:620px;margin:10px auto;background:#fff;border:1px solid var(--line);border-radius:13px;padding:8px}.g6m-volume-view svg,.g6m-temp-view svg{width:100%;height:auto;display:block}.g6m-volume-base{fill:#d9e8f555;stroke:#235f9b;stroke-width:2}.g6m-volume-top{fill:#f8df9f88;stroke:#9a711b;stroke-width:2}.g6m-volume-edge{stroke:#426251;stroke-width:2}.g6m-volume-grid{stroke:#9db0a2;stroke-width:1;stroke-dasharray:4 3}.g6m-volume-label{font-size:14px;font-weight:800;fill:#15324b}.g6m-temp-axis{stroke:#607584;stroke-width:3}.g6m-temp-tick{stroke:#9db0a2;stroke-width:1}.g6m-temp-range{stroke:#f2c257;stroke-width:10;stroke-linecap:round}.g6m-temp-min{fill:#235f9b;stroke:#fff;stroke-width:2}.g6m-temp-max{fill:#a4481a;stroke:#fff;stroke-width:2}
.g6-review-chart{display:block;width:100%;height:auto;max-width:760px;margin:10px auto;background:#fff;border:1px solid #98afa3;border-radius:12px}.g6-review-chart text{font-family:system-ui,sans-serif;font-size:14px;fill:#15324b}.g6-review-chart .g6-chart-title,.g6-chart-title{font-size:18px;font-weight:800;color:#15324b}.g6m-chart-part.is-marked text{fill:#8b3e13;font-weight:850;text-decoration:underline}.g6m-chart-part.is-marked line{stroke:#a4481a;stroke-width:2}.g6-review-table{width:100%;border-collapse:collapse;margin:16px 0;background:#fff;color:#15324b}.g6-review-table caption{font-weight:800;padding:8px}.g6-review-table th,.g6-review-table td{padding:10px;border:1px solid #98afa3;text-align:left}.g6m-bar b[data-zero="true"]{height:0;min-height:0;border:0}
