#nurbs-ed{font:14px/1.4 system-ui,sans-serif;max-width:100%}
#nurbs-ed .ne-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
#nurbs-ed svg{width:100%;height:520px;background:#fafafa;border:1px solid #ccc;touch-action:none;cursor:crosshair}
#nurbs-ed textarea{width:100%;font:12px monospace;box-sizing:border-box}
#nurbs-ed #ne-st{margin:6px 0;min-height:1.4em}
#nurbs-ed .bad{color:#b00020}
#nurbs-ed .good{color:#1b7a2b}
#nurbs-ed .hint{color:#666;font-size:12px}
#nurbs-ed #ne-modal{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:99999;padding:12px}
#nurbs-ed #ne-modal[hidden]{display:none}
#nurbs-ed .ne-box{position:relative;background:#fff;color:#222;max-width:640px;max-height:85vh;overflow:auto;padding:16px 22px;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.3)}
#nurbs-ed .ne-box h3{margin:0 0 6px}#nurbs-ed .ne-box h4{margin:12px 0 4px}
#nurbs-ed .ne-box ul{margin:0;padding-left:18px}#nurbs-ed .ne-box li{margin:3px 0}
#nurbs-ed #ne-x{position:absolute;top:6px;right:10px;border:0;background:none;font-size:26px;line-height:1;cursor:pointer}
#nurbs-ed #ne-fs{margin-top:14px;border-top:1px solid #ddd;padding-top:6px}
#nurbs-ed .ne-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:5px 6px;border-bottom:1px solid #eee}
#nurbs-ed .ne-row.cur{background:#eef6ff}
