.n-tools { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.n-search { display: flex; gap: 8px; }
.n-search 
.n-list { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-dark); }
.n-list th { padding: 10px 12px; background: var(--c-head); border-bottom: 1px solid var(--c-line); font-size: 12px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-sub); text-align: left; }
.n-list td { padding: 12px; border-bottom: 1px solid var(--c-line-soft); }
.n-list tbody tr:hover { background: #F7F8FA; }
.n-list .c-no { width: 70px; text-align: center; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.n-list .c-date { width: 110px; text-align: center; color: var(--c-sub); font-variant-numeric: tabular-nums; }
.n-list .c-views { width: 80px; text-align: center; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.n-list .c-title a { color: var(--c-text); font-weight: 500; }
.n-list .c-title a:hover { color: var(--c-primary); }
.n-empty { padding: 48px 12px !important; text-align: center; color: var(--c-sub); }

.pager { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.pager a, .pager span { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--c-line); background: #fff; color: var(--c-sub); font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }
.pager span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }

.n-view { border-top: 4px solid var(--c-primary); }
.n-view-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--c-line); }
.n-view-head .eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-accent); }
.n-view-head h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--c-dark); word-break: break-word; }
.n-meta { display: flex; gap: 16px; margin: 10px 0 0; font-size: 13px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.n-body { padding: 28px 24px; min-height: 240px; }
.n-body .ql-editor { padding: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.75; color: var(--c-text); overflow: visible; white-space: normal; }
.n-body .ql-editor p, .n-body .ql-editor ol, .n-body .ql-editor ul, .n-body .ql-editor blockquote { margin-bottom: .9em; }
.n-body .ql-editor h2 { margin: 1.4em 0 .5em; font-size: 22px; font-weight: 700; color: var(--c-dark); }
.n-body .ql-editor h3 { margin: 1.2em 0 .4em; font-size: 18px; font-weight: 700; color: var(--c-dark); }
.n-body .ql-editor img { max-width: 100%; height: auto; }
.n-body .ql-editor a { color: var(--c-primary); text-decoration: underline; }

.n-files { margin: 0 24px 24px; border: 1px solid var(--c-line); }
.n-files h2 { margin: 0; padding: 9px 14px; background: var(--c-head); border-bottom: 1px solid var(--c-line); font-size: 12px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-sub); }
.n-files li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-bottom: 1px solid var(--c-line-soft); }
.n-files li:last-child { border-bottom: 0; }
.n-files a { font-weight: 500; word-break: break-all; }
.n-files span { flex-shrink: 0; font-size: 12.5px; color: var(--c-muted); }

.n-adj { margin: 0 24px; border-top: 1px solid var(--c-line); }
.n-adj div { display: flex; gap: 16px; padding: 11px 4px; border-bottom: 1px solid var(--c-line-soft); }
.n-adj span { flex-shrink: 0; width: 60px; font-size: 12px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--c-muted); line-height: 1.8; }
.n-adj a { color: var(--c-text); }
.n-adj a:hover { color: var(--c-primary); }
.n-adj em { font-style: normal; color: var(--c-muted); }
.n-actions { display: flex; align-items: center; gap: 8px; }
.n-view .n-actions { padding: 20px 24px 24px; }
.n-actions .sp { flex: 1; }
.btn-danger { background: #fff; border-color: #E3B4B6; color: #C2272D; }
.btn-danger:hover { background: #C2272D; border-color: #C2272D; color: #fff; }

.n-form { display: grid; gap: 18px; }
.n-form > label, .n-row label { display: block; }
.n-row { display: flex; gap: 16px; align-items: flex-end; }
.n-slug { display: flex; align-items: center; height: 40px; border: 1px solid var(--c-line-strong); background: #fff; }
.n-slug:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 2px var(--c-primary-soft); }
.n-slug em { align-self: stretch; display: flex; align-items: center; padding: 0 10px; background: var(--c-head); border-right: 1px solid var(--c-line); font-style: normal; font-size: 13px; color: var(--c-muted); white-space: nowrap; }
.n-slug input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: none; font: inherit; color: var(--c-text); }
.n-slug input:focus { outline: none; }
.n-editor { background: #fff; }
.n-editor .ql-toolbar.ql-snow, .n-editor .ql-container.ql-snow { border-color: var(--c-line-strong); font-family: var(--font-body); }
.n-editor .ql-editor { min-height: 420px; font-size: 15px; line-height: 1.75; }
.n-editor .ql-editor img { max-width: 100%; }
.n-attached { margin-bottom: 10px; border: 1px solid var(--c-line); }
.n-attached li { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-bottom: 1px solid var(--c-line-soft); }
.n-attached li:last-child { border-bottom: 0; }
.n-attached label { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #C2272D; cursor: pointer; }
.n-attached span { flex: 1; word-break: break-all; }
.n-attached em { font-style: normal; font-size: 12.5px; color: var(--c-muted); }
.login-box { max-width: 400px; margin: 40px auto; }
