.rbf-lab-page{padding-top:18px}.rbf-lab-hero{display:grid;grid-template-columns:1.08fr .92fr;gap:45px;align-items:center;padding:60px 54px;border-radius:24px;background:linear-gradient(135deg,#e8e8ff,#f8f8ff 58%,#e2faf4)}.rbf-lab-hero.regression{background:linear-gradient(135deg,#e4faf4,#f8fffd 58%,#eeedff)}.rbf-lab-hero h1{max-width:820px;margin:0 0 17px;font-size:clamp(48px,5.2vw,70px);line-height:1.05;letter-spacing:-3px}.rbf-lab-hero .lead{color:#59657c}.rbf-lab-hero-flow{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:28px;border:1px solid #d9dcef;border-radius:18px;background:#fff}.rbf-lab-hero-flow>span{display:grid;place-items:center;width:96px;height:96px;padding:10px;border:3px solid #6f68ed;border-radius:50%;color:#3932ad;font:800 17px Manrope;text-align:center}.rbf-lab-hero-flow>span:nth-of-type(2){border-color:#19a987;background:#e8faf5;color:#087c66}.rbf-lab-hero-flow>span:nth-of-type(3){border-color:#ef8848;background:#fff2e9;color:#a75121}.rbf-lab-hero-flow>span:nth-of-type(4){border-color:#e35c6e;background:#fff0f2;color:#ad3a4a}.rbf-lab-hero-flow small{display:block;color:#657087;font-size:10px;font-weight:600}.rbf-lab-hero-flow>i{color:#7169ec;font-size:21px;font-style:normal}
.rbf-lab-introduction{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}.rbf-lab-introduction article{display:flex;flex-direction:column;padding:24px;border:1px solid var(--line);border-top:5px solid #4e46e5;border-radius:13px;background:#fff}.rbf-lab-introduction article:nth-child(2){border-top-color:#19a987}.rbf-lab-introduction article:nth-child(3){border-top-color:#ef8848}.rbf-lab-introduction article>span{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;background:#e8e7ff;color:var(--indigo);font:800 13px 'DM Mono'}.rbf-lab-introduction h2{margin:13px 0 6px;font-size:21px}.rbf-lab-introduction p{margin:0 0 12px;color:var(--muted);font-size:15px!important}.rbf-lab-introduction code{display:block;margin-top:auto;padding:11px;border-radius:7px;background:#f2f3fb;color:#414c65;font:600 13px/1.6 'DM Mono'}
.rbf-lab-workspace{display:grid;grid-template-columns:310px 1fr;gap:18px;margin-top:56px}.rbf-lab-controls{align-self:start;padding:25px;border:1px solid var(--line);border-radius:14px;background:#fff}.rbf-lab-controls h2{margin:0;font-size:23px}.rbf-lab-controls>p{color:var(--muted);font-size:15px!important}.rbf-control-block{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.fixed-parameter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;padding:12px;border-radius:8px;background:#f2f3fb}.fixed-parameter span{color:#68738a;font-size:11px;font-weight:800}.fixed-parameter strong{color:var(--indigo);font:700 14px 'DM Mono'}.rbf-control-block h3{margin:0 0 11px;font-size:18px}.rbf-control-block label{display:grid;gap:6px;margin-bottom:11px;color:#59647b;font-size:13px;font-weight:800;letter-spacing:.5px}.rbf-control-block input{width:100%;height:45px;padding:0 10px;border:1px solid #ccd2e0;border-radius:8px;background:#fff;color:#172033;font:700 16px Manrope}.rbf-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rbf-test-result{margin-top:11px;padding:14px;border-radius:8px;background:#f3f4fa;color:#56617a;font-size:14px;line-height:1.65}.rbf-lab-results{min-width:0}.rbf-lab-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.rbf-lab-metrics article{padding:17px 18px;border:1px solid var(--line);border-top:4px solid #4e46e5;border-radius:10px;background:#fff}.rbf-lab-metrics article:nth-child(2){border-top-color:#e35c6e}.rbf-lab-metrics article:nth-child(3){border-top-color:#19a987}.rbf-lab-metrics article:nth-child(4){border-top-color:#ef8848}.rbf-lab-metrics span,.rbf-lab-metrics strong{display:block}.rbf-lab-metrics span{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.5px}.rbf-lab-metrics strong{margin-top:5px;font:700 22px 'DM Mono'}.rbf-lab-card{margin-top:18px;padding:25px;border:1px solid var(--line);border-radius:14px;background:#fff}.rbf-lab-metrics+.rbf-lab-card{margin-top:0}.rbf-lab-card .card-top h2{margin:0;font-size:23px}.rbf-lab-card canvas{border:1px solid #e5e8f1;background:#fbfcff}.rbf-lab-card #rbfClassPlane{aspect-ratio:940/660}.rbf-lab-card #rbfClassNetwork{aspect-ratio:940/420}.rbf-lab-card #rbfClassHistory,.rbf-lab-card #rbfRegressionHistory{aspect-ratio:940/350}.rbf-lab-card #rbfRegressionCurve{aspect-ratio:940/580}.rbf-lab-card #rbfRegressionBases{aspect-ratio:940/390}.rbf-lab-legend,.rbf-history-legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:13px;color:var(--muted);font-size:14px}.rbf-lab-legend i{display:inline-block;margin-right:6px}.rbf-class-a{width:12px;height:12px;border-radius:50%;background:#4e46e5}.rbf-class-b{width:12px;height:12px;border-radius:2px;background:#ef8244}.rbf-center-symbol{width:15px;height:15px;border:3px solid #172033;border-radius:50%;background:#fff}.rbf-target-symbol{width:12px;height:12px;border-radius:50%;background:#4e46e5}.rbf-curve-symbol{width:25px;border-top:4px solid #19a987}.rbf-center-tick{height:15px;border-left:4px solid #ef8848}.rbf-lab-math{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rbf-lab-math>article{padding:18px;border-left:4px solid #4e46e5;border-radius:0 9px 9px 0;background:#f5f6fb}.rbf-lab-math>article.full{grid-column:1/-1}.rbf-lab-math b,.rbf-lab-math code{display:block}.rbf-lab-math b{color:var(--indigo);font-size:15px}.rbf-lab-math p{margin:5px 0;color:var(--muted);font-size:14px!important}.rbf-lab-math code{margin-top:8px;padding:13px;border-radius:8px;background:#252d46;color:#f3f4fc;font:600 14px/1.75 'DM Mono';overflow:auto}.rbf-lab-math strong{color:#91ead9}.rbf-history-legend i{display:inline-block;width:24px;margin:0 6px 4px 0;border-top:4px solid #e35c6e}.rbf-history-legend span:nth-child(2) i{border-color:#19a987}.rbf-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}.rbf-result-table{width:100%;border-collapse:collapse;font-size:15px;white-space:nowrap}.rbf-result-table th,.rbf-result-table td{padding:13px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.rbf-result-table th{background:#292f48;color:#fff}.rbf-result-table .correct{color:#087c66;font-weight:800}.rbf-result-table .incorrect{color:#c54658;font-weight:800}.rbf-result-table .error-value{color:#a7562c;font-weight:700}
@media(max-width:1050px){.rbf-lab-workspace{grid-template-columns:1fr}.rbf-lab-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.rbf-lab-hero{grid-template-columns:1fr;padding:40px 24px}.rbf-lab-hero h1{font-size:42px;letter-spacing:-1.8px}.rbf-lab-introduction{grid-template-columns:1fr}.rbf-lab-math{grid-template-columns:1fr}.rbf-lab-math>article.full{grid-column:auto}.rbf-lab-card{padding:20px}}
@media(max-width:520px){.rbf-lab-hero-flow>span{width:72px;height:72px;font-size:13px}.rbf-lab-metrics{grid-template-columns:1fr}.rbf-test-grid{grid-template-columns:1fr}}

/* Contas dos laboratórios: tipografia maior e blocos separados para leitura em sala. */
.rbf-lab-math>article.wide{grid-column:1/-1}
.rbf-lab-math b{font-size:17px}
.rbf-lab-math p{margin:8px 0;font-size:16px!important}
.rbf-lab-math strong{color:#0f766e}
.rbf-math-equation{margin-top:12px;padding:15px;border-radius:8px;background:#252d46;color:#fff;font:600 16px/1.8 'DM Mono';overflow:auto}
.rbf-math-equation strong{color:#6ee7cf}
.rbf-math-list{display:grid;gap:8px;margin-top:12px}
.rbf-math-list.two-columns{grid-template-columns:1fr 1fr}
.rbf-math-list span{padding:11px;border-radius:7px;background:#fff;color:#35405a;font:600 14px/1.65 'DM Mono';overflow-wrap:anywhere}
.rbf-math-list span strong{color:#0f766e}
@media(max-width:800px){.rbf-lab-math>article.wide{grid-column:auto}.rbf-math-list.two-columns{grid-template-columns:1fr}}

/* Tamanhos mínimos confortáveis para projeção e leitura em sala. */
.rbf-lab-introduction p,.rbf-lab-controls>p{font-size:17px!important}
.rbf-lab-introduction code{font-size:15px}
.fixed-parameter span,.rbf-lab-metrics span{font-size:13px}
.fixed-parameter strong{font-size:16px}
.rbf-control-block label{font-size:15px}
.rbf-test-result,.rbf-lab-legend,.rbf-history-legend{font-size:16px}
.rbf-result-table{font-size:16px}
