/* Drenox Devs staff pages (/mod, /admin; js/devs-admin.js): only what base.css and app.css do not have. */

.da-tabs { margin-bottom: 24px; }
.da-tabs a { white-space: nowrap; }
.da-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.da-row + * { margin-top: 16px; }

/* Forms: one column, pairs side by side (.split) until the phone. */
.da-form { display: grid; gap: 14px; max-width: 760px; min-width: 0; }
.table-wrap + .da-form { margin-top: 32px; }
.da-form .sub-head { margin: 0; }
.da-form .error:empty { display: none; }
.da-checks { display: flex; flex-wrap: wrap; gap: 10px 20px; border: 0; min-width: 0; }
.da-checks legend { margin-bottom: 10px; }
.da-checks .hint { flex-basis: 100%; }
@media (max-width: 560px) { .da-form .split { grid-template-columns: 1fr; } }

/* Reports. */
.da-list { display: grid; gap: 12px; }
.da-report { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line-2); background: var(--panel); min-width: 0; }
.da-report-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.da-report-title { color: var(--text); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.da-report-title:hover { color: var(--cyan); }
.da-excerpt { padding-left: 12px; border-left: 2px solid var(--line-2); color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.da-reason { overflow-wrap: anywhere; }
.da-reason .sub-head { margin: 0 6px 0 0; }
.da-meta { color: var(--dim); font-size: .82rem; overflow-wrap: anywhere; }

/* Structure: a category, its boards and the forms as native <details>. */
.da-cat { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); min-width: 0; }
.da-cat .section-head { margin-bottom: 4px; }
.da-cat h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.da-fold { border: 1px solid var(--line); min-width: 0; }
.da-fold[open] { border-color: var(--line-2); background: var(--panel); }
.da-fold > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 14px; color: var(--muted); font-size: .9rem; cursor: pointer; list-style: none; }
.da-fold > summary::-webkit-details-marker { display: none; }
.da-fold > summary::before { content: "+"; width: 10px; font-family: var(--mono); color: var(--dim); }
.da-fold[open] > summary::before { content: "-"; }
.da-fold > summary:hover, .da-fold > summary b { color: var(--text); }
.da-fold > summary .num { font-size: .78rem; color: var(--dim); }
.da-fold .da-count { margin-left: auto; }
.da-fold-body { padding: 14px; border-top: 1px solid var(--line); }
