.admin-main{max-width:900px}
.admin-section{margin-top:20px}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.section-head h2{font-size:18px;font-weight:800}

.doc-table{display:flex;flex-direction:column;gap:8px}
.doc-row{
  background:#fff;border:1px solid #f1f5f9;border-radius:12px;
  padding:14px 16px;display:flex;align-items:center;gap:12px;
  cursor:pointer;transition:transform .12s,box-shadow .12s;
}
.doc-row:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.05)}
.doc-row .cat{font-size:11px;background:#ede9fe;color:#5b21b6;padding:2px 8px;border-radius:5px;font-weight:600;flex-shrink:0}
.doc-row .ttl{font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.doc-row .meta{font-size:11px;color:#94a3b8;flex-shrink:0}

.editor-content{max-width:720px}
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:600;color:#475569;margin-bottom:6px}
.field input,.field textarea{
  width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;
  font-size:14px;font-family:inherit;line-height:1.5;
}
.field input:focus,.field textarea:focus{outline:none;border-color:#7c3aed}
.field textarea{resize:vertical;min-height:200px}
.editor-actions{display:flex;align-items:center;gap:8px;margin-top:16px}
.danger-text{color:#dc2626}
.danger-text:hover{background:#fee2e2}

.empty-admin{
  background:#fff;border-radius:14px;padding:48px 20px;text-align:center;
  color:#94a3b8;border:1px dashed #e2e8f0;
}
.empty-admin button{margin-top:14px}
