/* Native navy workbench extensions and code controls. */
.cr-code-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.cr-code-head .cr-code-actions button{white-space:normal;min-height:34px}.cr-code-head .cr-code-actions{justify-content:flex-end}.cr-code-mentor-dialog{width:min(92vw,760px);max-height:88vh;overflow:auto;border:1px solid #52738e;border-radius:14px;background:var(--c51-paper,#fff);color:var(--c51-ink,#193b58);padding:clamp(14px,3vw,24px)}.cr-code-mentor-dialog::backdrop{background:#08182ab0}.cr-code-mentor-dialog label{display:block;font-weight:600;margin:10px 0 4px}.cr-code-mentor-dialog :is(select,input){display:block;max-width:100%;width:100%;padding:9px;border:1px solid #7595b0;border-radius:7px;background:var(--c51-soft,#e8f0f7);color:var(--c51-ink,#193b58)}.cr-code-mentor-dialog pre{background:#102841;color:#e1edf7;padding:12px;white-space:pre;overflow:auto;max-height:160px}.cr-code-mentor-dialog h3{font-size:1rem;margin:15px 0 3px}.cr-code-mentor-dialog .cr-code-note{font-size:.9rem}.cr-integrated .ecc297-panel{background:#122b43;color:#e1edf7;border:1px solid #476681;border-radius:12px;padding:14px;margin:16px 0;min-width:0}.ecc297-panel h3,.ecc297-panel p,.ecc297-panel label{color:#e1edf7!important}.ecc297-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.ecc297-plot{min-width:0;background:#0d2237;border:1px solid #476681;border-radius:8px}.ecc297-svg{display:block;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important}.ecc297-text{fill:#d8e9f9;font:10px system-ui}.ecc297-grid line.ecc297-grid,.ecc297-svg .ecc297-grid{stroke:#36546e;stroke-width:.65}.ecc297-axis{stroke:#91b7d6;stroke-width:1.3}.ecc297-curve{fill:none;stroke:#85c9fc;stroke-width:2.4}.ecc297-tangent{stroke:#e9ba73;stroke-dasharray:5 4;stroke-width:1.4}.ecc297-point{fill:#85bdf0;stroke:#b4ddff;stroke-width:.4}.ecc297-selected{fill:#f2c16c;stroke:#fff2ce;stroke-width:1.1}.ecc297-result{fill:#7fe0be;stroke:white;stroke-width:1}.ecc297-svg [role=button]{cursor:pointer}.ecc297-svg [role=button]:focus{outline:none;stroke:white;stroke-width:3}.ecc297-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.ecc297-controls label{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ecc297-controls input{width:140px}.ecc297-panel .ecc297-caption{font-size:.9rem;color:#bdd5e8!important}.pk297-inputs{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0}.pk297-inputs label{display:grid;gap:4px;flex:1 1 160px}.pk297-inputs input,.pk297-inputs select{min-width:0;width:100%;padding:8px}.pk297-inputs button{padding:10px}.pk297-error{color:#ffc3ac!important;font-weight:600}.pk297-live svg{width:100%;min-width:0!important;height:auto;display:block;max-width:900px;margin:auto}.cr-integrated #concept-workbench .pk297-live svg{max-width:100%}.pki297-procedure{margin:12px 0}@media(max-width:650px){.ecc297-grid{grid-template-columns:1fr}.cr-code-head .cr-code-actions{width:100%;justify-content:flex-start}.cr-code-head .cr-code-actions button{flex:1 1 120px}}
