.admin-docs { display: grid; gap: 18px; min-width: 0; color: var(--text, #1e293b); }
.admin-docs header h1 { margin: 0; font-size: 1.5rem; }
.admin-docs header p { margin: 6px 0 0; color: var(--muted, #64748b); }
.admin-docs-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--border, #dbe2ef); }
.admin-docs button { cursor: pointer; border: 1px solid var(--border, #cbd5e1); border-radius: 8px; padding: 9px 13px; background: var(--surface, #fff); color: var(--text, #1e293b); font: inherit; }
.admin-docs button[aria-selected="true"] { background: var(--blue, #2457f5); color: #fff; border-color: var(--blue, #2457f5); }
.admin-docs button:disabled { opacity: .5; cursor: default; }
.admin-docs button:focus-visible, .admin-docs input:focus-visible, .admin-docs select:focus-visible, .admin-docs summary:focus-visible { outline: 2px solid var(--blue, #2457f5); outline-offset: 2px; }
.admin-docs [role="tabpanel"] { display: grid; gap: 14px; min-width: 0; }
.admin-docs-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.admin-docs-filters label { display: grid; gap: 5px; min-width: 180px; font-size: .9rem; font-weight: 600; }
.admin-docs-filters .admin-docs-search { flex: 1 1 260px; }
.admin-docs input, .admin-docs select { box-sizing: border-box; width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--border, #cbd5e1); border-radius: 8px; background: var(--surface, #fff); color: var(--text, #1e293b); font: inherit; }
.admin-docs-count, .admin-docs-hint { margin: 0; color: var(--muted, #64748b); font-size: .9rem; }
.admin-docs-error { margin: 0; color: var(--dark-red-text, #991b1b); }
.admin-docs-operations { display: grid; border: 1px solid var(--border, #dbe2ef); border-radius: 8px; overflow: hidden; }
.admin-docs-operations details + details { border-top: 1px solid var(--border, #dbe2ef); }
.admin-docs-operations summary { cursor: pointer; padding: 12px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.admin-docs-method { font-weight: 700; color: var(--blue, #2457f5); }
.admin-docs code { overflow-wrap: anywhere; }
.admin-docs-detail { padding: 0 16px 16px; }
.admin-docs-detail p { margin: 8px 0; }
.admin-docs-detail h3 { font-size: .95rem; margin: 14px 0 6px; }
.admin-docs-detail ul { padding-left: 20px; margin: 6px 0; }
.admin-docs-table-wrap { overflow-x: auto; border: 1px solid var(--border, #dbe2ef); border-radius: 8px; }
.admin-docs table { width: 100%; min-width: 960px; border-collapse: collapse; text-align: left; }
.admin-docs th, .admin-docs td { padding: 10px; border-bottom: 1px solid var(--border, #dbe2ef); vertical-align: top; font-size: .88rem; }
.admin-docs th { color: var(--muted, #64748b); background: var(--dark-soft, #f8fafc); }
.admin-docs td small { display: block; color: var(--muted, #64748b); margin-top: 4px; }
.admin-docs-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .admin-docs-filters label { flex: 1 1 100%; } .admin-docs-pagination { justify-content: space-between; } }

.admin-docs-detail dl { display: grid; gap: 8px; margin: 8px 0 14px; }
.admin-docs-detail dl div { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.admin-docs-detail dt { font-weight: 700; }
.admin-docs-detail dd { margin: 0; }
