.ml-status{padding:.7rem 1rem;border-radius:var(--radius-md,10px);font-size:.85rem;margin-bottom:.75rem;border:1px solid transparent;line-height:1.5}.ml-status--info{background:#e0edff;border-color:#bfdbfe;color:#1e40af}.ml-status--error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.ml-status--ok{background:#f0fdf4;border-color:#bbf7d0;color:#15803d}.ml-panel{border:1px solid var(--border-soft,#e1e1e6);border-radius:var(--radius-lg,16px);padding:1rem;background:var(--bg-card,#fff);margin-bottom:1rem}.ml-panel--soft{background:radial-gradient(circle at top right,color-mix(in srgb,#7c3aed 8%,white),transparent 40%),var(--bg-card,#fff)}.ml-panel-title{font-size:1rem;font-weight:700;margin:0 0 .2rem;color:var(--text-main,#222)}.ml-panel-copy{font-size:.84rem;color:#64748b;margin:0 0 .85rem;line-height:1.5}.ml-presets-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.85rem}.ml-presets-label{font-size:.75rem;font-weight:700;color:#64748b;white-space:nowrap}.ml-presets-list{display:flex;flex-wrap:wrap;gap:.35rem}.ml-preset-btn{background:#fff;border:1.5px solid #ddd6fe;border-radius:999px;padding:.2rem .65rem;font-size:.73rem;font-weight:600;color:#7c3aed;cursor:pointer;transition:background .12s,border-color .12s;white-space:nowrap}.ml-preset-btn:hover{background:#ede9fe;border-color:#7c3aed}.ml-tree-form{font-size:.83rem}.ml-node-wrap{margin-bottom:.4rem}.ml-branch-label{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:700;padding:.12rem .55rem;border-radius:999px;margin-bottom:.25rem;margin-left:.75rem}.ml-branch-label--true{background:#d1fae5;color:#065f46}.ml-branch-label--false{background:#fee2e2;color:#991b1b}.ml-split-node{background:#fff;border:1.5px solid #a78bfa;border-left:4px solid #7c3aed;border-radius:10px;padding:.55rem .75rem;margin-left:.75rem}.ml-split-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.ml-split-symbol{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#7c3aed;border-radius:5px;color:#fff;font-size:.8rem;font-weight:800;flex-shrink:0}.ml-feature-input{flex:1 1 100px;min-width:0;font-size:.82rem}.ml-op-select{border:1px solid var(--border-soft,#e1e1e6);border-radius:6px;padding:.28rem .35rem;font:inherit;font-size:.8rem;font-weight:700;background:#faf5ff;cursor:pointer;outline:none;flex-shrink:0;width:52px}.ml-thresh-input{width:90px;text-align:center;font-size:.82rem}.ml-split-actions{display:flex;gap:.3rem;margin-top:.45rem}.ml-convert-btn{font-size:.72rem;font-weight:600;color:#7c3aed;background:#faf5ff;border:1.5px solid #ddd6fe;border-radius:6px;padding:.22rem .5rem;cursor:pointer;transition:background .12s}.ml-convert-btn:hover{background:#ede9fe}.ml-remove-btn{font-size:.72rem;font-weight:600;color:#dc2626;background:#fef2f2;border:1.5px solid #fecaca;border-radius:6px;padding:.22rem .5rem;cursor:pointer;transition:background .12s}.ml-remove-btn:hover{background:#fee2e2}.ml-leaf-node{background:#fff;border:1.5px solid #bbf7d0;border-left:4px solid #16a34a;border-radius:10px;padding:.5rem .75rem;margin-left:.75rem}.ml-leaf-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.ml-leaf-symbol{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#16a34a;border-radius:50%;color:#fff;font-size:.8rem;font-weight:800;flex-shrink:0}.ml-class-input{flex:1 1 100px;min-width:0;font-weight:700;font-size:.85rem}.ml-samples-input{width:70px;font-size:.78rem;text-align:center}.ml-conf-input{width:55px;font-size:.78rem;text-align:center}.ml-leaf-meta{font-size:.7rem;color:#64748b}.ml-leaf-actions{display:flex;gap:.3rem;margin-top:.4rem}.ml-children{padding-left:.8rem;margin-left:1rem;border-left:2px dashed #e9d5ff;margin-top:.3rem}.ml-input{border:1px solid var(--border-soft,#e1e1e6);border-radius:7px;padding:.3rem .5rem;font:inherit;background:#fafafa;outline:none;color:var(--text-main,#222)}.ml-input:focus{border-color:#a78bfa;background:#fff;box-shadow:0 0 0 2px #ede9fe}.ml-input::placeholder{color:#94a3b8}.ml-pred-features{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:.75rem}.ml-pred-field{display:flex;flex-direction:column;gap:.2rem;min-width:120px;flex:1}.ml-pred-label{font-size:.72rem;font-weight:700;color:#64748b}.ml-pred-input{font-size:.88rem}.ml-pred-result{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.75rem 1rem;border-radius:12px;border:2px solid;margin-top:.5rem}.ml-pred-class{font-size:1.4rem;font-weight:900;line-height:1}.ml-pred-meta{font-size:.78rem;color:#475569}.ml-pred-path{font-size:.75rem;color:#64748b;margin-top:.25rem}.ml-pred-empty{color:#94a3b8;font-size:.85rem}.ml-classes-wrap{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}.ml-class-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .65rem;border-radius:999px;font-size:.75rem;font-weight:700;border:1.5px solid;background:#f8fafc}.ml-class-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.ml-actions{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:.5rem}.ml-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.ml-modal-backdrop{position:absolute;inset:0;background:#0000008c;backdrop-filter:blur(2px)}.ml-modal-box{position:relative;z-index:1;background:var(--bg-card,#fff);border-radius:18px;box-shadow:0 24px 60px #00000038;width:100%;max-width:98vw;max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.ml-modal-header{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1.2rem;border-bottom:1px solid var(--border-soft,#e1e1e6);flex-shrink:0}.ml-modal-title{font-size:.95rem;font-weight:700;color:var(--text-main,#222)}.ml-modal-close{background:none;border:none;font-size:1.5rem;line-height:1;color:#64748b;cursor:pointer;padding:.1rem .4rem;border-radius:6px}.ml-modal-close:hover{background:#f1f5f9}.ml-modal-body{overflow:auto;padding:1.25rem;flex:1}.ml-svg-wrap{overflow:auto}.ml-svg-wrap svg{display:block}@media(max-width:820px){.ml-actions{flex-direction:column}.ml-actions .btn-primary,.ml-actions .btn-secondary{width:100%}}@media(max-width:480px){.ml-split-row{flex-wrap:wrap}.ml-feature-input,.ml-pred-field{flex:1 1 100%}}
