/* Graph panels are confined to the model card and prediction result. */
.ep43-panel{margin-top:24px;padding:22px;border:1px solid #d8e2ee;border-radius:14px;background:#fff;min-width:0;color:#18334e}.ep43-panel h3{margin:0 0 8px}.ep43-panel h4{margin:0}.ep43-subtitle,.ep43-note{font-size:13px;line-height:1.65;color:#526579;overflow-wrap:anywhere}.ep43-notice{padding:10px 13px;background:#f3f7fc;border-left:3px solid #3475b8;border-radius:5px;font-size:13px;line-height:1.6}.ep43-tabs{display:flex;gap:8px;margin:16px 0;flex-wrap:wrap}.ep43-tabs button{border:1px solid #c5d4e3;background:white;color:#294a70;border-radius:8px;padding:9px 14px}.ep43-tabs button[aria-selected=true]{background:#e8f1fc;border-color:#3475b8;font-weight:700}.ep43-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:16px 0}.ep43-field{display:flex;flex:1 1 170px;flex-direction:column;gap:6px;font-size:12px;font-weight:600;min-width:0}.ep43-field select{width:100%;padding:9px;border:1px solid #c5d4e3;border-radius:7px;background:white;color:#18334e;min-width:0}.ep43-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.ep43-actions button{border:1px solid #abc0d8;background:#f6f9fd;color:#204f84;padding:8px 12px;border-radius:7px;font-weight:600;cursor:pointer}.ep43-actions button:disabled{opacity:.5;cursor:not-allowed}.ep43-metrics{display:flex;gap:8px;flex-wrap:wrap}.ep43-metric{background:#f3f7fc;border-radius:8px;padding:10px 15px;min-width:100px}.ep43-metric b{display:block;font-size:20px}.ep43-metric span{display:block;font-size:11px;color:#607086}.ep43-chart{overflow-x:auto;max-width:100%;border:1px solid #e4ebf3;border-radius:10px;background:white;margin-top:12px}.ep43-chart svg{min-width:640px}.ep43-status{font-size:13px;line-height:1.6;padding:10px;border-radius:6px;background:#f1f6fc;white-space:pre-wrap;overflow-wrap:anywhere}.ep43-status.error{background:#fff3ed;color:#9f3f17}.ep43-status.success{background:#eff9f2;color:#245e3a}.ep43-confirm{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.55;margin:12px 0}.ep43-confirm input{width:auto;margin-top:4px}.ep43-hidden,[data-ep43-panel][hidden]{display:none!important}.ep43-table-wrap{overflow:auto;max-height:280px}.ep43-panel table{font-size:12px;margin:12px 0;width:100%;border-collapse:collapse}.ep43-panel th,.ep43-panel td{padding:8px;border-bottom:1px solid #e4ebf3;text-align:left}.ep43-panel details{margin:12px 0}.ep43-panel summary{cursor:pointer;font-size:13px}.ep43-panel button:focus-visible,.ep43-panel select:focus-visible{outline:3px solid #7db4ef;outline-offset:2px}@media(max-width:600px){.ep43-panel{padding:14px}.ep43-field{flex-basis:100%}.ep43-metric{min-width:85px}.ep43-chart svg{min-width:600px}}

/* Keep the pre-existing metric table inside its own scroll area on narrow screens. */
#modelDetails #metrics{max-width:100%;overflow-x:auto}
.ep43-panel button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.ep43-panel>h3{overflow-wrap:anywhere}
