.calculation-lab{color:#edf1f8;font:13px/1.55 Inter,"Segoe UI",Arial,sans-serif;min-width:0}
.calculation-lab *{box-sizing:border-box}.calc-tabs{display:flex;gap:8px;border-bottom:1px solid #344259;padding-bottom:12px;margin-bottom:20px}.calc-tabs button{flex:1;border:1px solid #3c4862;background:#202b3e;color:#bac8dd;border-radius:8px;padding:10px 14px;font:inherit;cursor:pointer}.calc-tabs button[aria-selected=true]{background:#303d60;color:#e4e7ff;border-color:#a8b2ff}.calculation-lab button:focus-visible,.calculation-lab input:focus-visible,.calculation-lab select:focus-visible,.calculation-lab summary:focus-visible,.calculation-lab a:focus-visible,.calc-tab-panel:focus-visible{outline:2px solid #80d7d0;outline-offset:3px}.calc-tab-panel[hidden]{display:none!important}.calc-tab-panel h3{font-size:22px;line-height:1.3;font-weight:550;letter-spacing:-.4px;margin:0 0 10px}.calc-intro{max-width:80ch;color:#b3c2d8;font-size:13px;margin:0 0 18px}.calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.calc-field label{display:block;color:#c9d3e5;font-size:12px;margin:0 0 6px}.calc-field input,.calc-field select{width:100%;min-width:0;border:1px solid #475673;border-radius:7px;background:#101a2b;color:#f0f4fc;font:inherit;padding:10px 11px}.calc-field input[aria-invalid=true]{border-color:#efad93}.calc-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}.calc-actions button{font:inherit;font-size:12px;padding:8px 11px;border-radius:7px;border:1px solid #3b4b67;background:#233049;color:#e1e9f7;cursor:pointer}.calc-actions button.primary{background:#b7c1ff;color:#17203b;border-color:transparent;font-weight:650}.calc-error{color:#ffd0b9;min-height:1.4em;font-size:12px;margin:9px 0 0}.calc-status{font-size:11px;color:#9fb1cc;margin:3px 0 13px}.calc-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px}.calc-results>div{min-width:0;padding:13px 12px;border:1px solid #33445e;border-radius:9px;background:#1c2a3f}.calc-results dt{font-size:11px;color:#b2c2d7;margin-bottom:7px}.calc-results dd{margin:0;font-variant-numeric:tabular-nums;font-size:20px;font-weight:600;color:#d4ddff;overflow-wrap:anywhere}.calc-unit{display:block;color:#a7b9d2;font-size:10px;font-weight:400;margin-top:4px}.calc-chart{display:block;width:100%;height:auto;border:1px solid #34445f;border-radius:10px;background:#121e30;margin:10px 0;color:#c4d0e3}.calc-chart text{fill:#bccae0;font:12px "Segoe UI",Arial,sans-serif}.calc-grid{stroke:#304157;stroke-width:1}.calc-curve{fill:none;stroke:#80d7d0;stroke-width:3}.calc-marker-line{stroke:#aab9ef;stroke-width:1;stroke-dasharray:4 4}.calc-marker{fill:#dde4ff;stroke:#121e30;stroke-width:2}.calc-chart text.calc-chart-value{fill:#dde6f7;font-size:12px}.calc-explanation{background:#202e46;border-left:3px solid #80d7d0;border-radius:3px;padding:12px 14px;color:#c5d2e4;font-size:12px;margin:13px 0}.calc-explanation:empty{display:none}.calc-equations{border-top:1px solid #34425b;padding:12px 0;margin-top:10px;color:#b3c2d8;font-size:12px}.calc-equations summary{cursor:pointer;color:#d3def0;font-weight:600;padding:2px 0}.calc-equations p{margin:12px 0;overflow-wrap:anywhere}.calc-equations a{color:#bec8ff;text-decoration:underline;text-underline-offset:3px}.calc-cylinder{fill:none;stroke:#a4b6cd;stroke-width:3}.calc-fluid{fill:#4a92a244;stroke:#68b5c2;stroke-width:1}.calc-piston{fill:#9daeca;stroke:#d0daea;stroke-width:1}.calc-arrows{fill:none;stroke:#bfcbff;stroke-width:3;stroke-linejoin:round}
@media(max-width:550px){.calc-results{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-results dd{font-size:18px}.calc-fields{grid-template-columns:1fr}.calc-tab-panel h3{font-size:20px}.calc-actions button{font-size:11px}.calc-tabs button{font-size:12px;padding:9px}}
