.tool__body [hidden] { display: none !important; }
.np-notice { margin: 0 0 14px; padding: 10px 12px; font-size: .9rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.np-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
.np-side__actions { margin-top: 0; }
.np-side__actions .btn { flex: 1 1 auto; justify-content: center; }
.np-search { margin-bottom: 8px; }
.np-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 520px; overflow: auto; }
.np-list button { width: 100%; text-align: left; padding: 8px 10px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--text); font: inherit; cursor: pointer; display: flex; flex-direction: column; }
.np-list button:hover { background: var(--bg); }
.np-list button.is-active { background: var(--bg); border-color: var(--accent); }
.np-list .np-item__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-list .np-item__meta { color: var(--muted); font-size: .8rem; }
.np-titlebar { display: flex; gap: 8px; margin-bottom: 8px; }
.np-title { font-weight: 600; }
.np-text { min-height: 420px; font-size: 1rem; line-height: 1.6; }
.np-status { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.np-editor.is-over .np-text { border-color: var(--accent); }
@media (max-width: 700px) {
    .np-layout { grid-template-columns: 1fr; }
    .np-list { max-height: 180px; }
    .np-text { min-height: 300px; }
}
.np-titlebar .btn { flex: none; white-space: nowrap; }
.np-title { min-width: 0; }
