/* Admin (app/views/admin.js): the app's blue look, laid out like the old admin site's dashboard (stat cards, a weekly
   chart, the articles list). Category dots use the old admin's colors. */
.adm-note { color: var(--text-2); line-height: 1.5; }
.adm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 560px) { .adm-stats { grid-template-columns: repeat(4, 1fr); } }
.adm-stat, .adm-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.adm-stat p { margin: 0; }
.adm-stat-n { font-size: 28px; font-weight: 800; }
.adm-stat-l { font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 2px !important; }
.adm-stat-s { font-size: 12px; color: var(--text-muted); margin-top: 4px !important; }
.adm-card { margin-bottom: 16px; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.adm-chart { width: 100%; height: auto; }
.adm-chart rect { fill: var(--accent); }
.adm-chart text { fill: var(--text-2); font-size: 11px; }
.adm-list { list-style: none; margin: 0; padding: 0; }
.adm-art { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.adm-art:first-child { border-top: 0; }
.adm-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--c); flex: none; }
.adm-art-main { flex: 1; min-width: 160px; }
.adm-art-main p { margin: 0; }
.adm-art-t { font-weight: 600; }
.adm-art-m { font-size: 13px; color: var(--text-muted); margin-top: 2px !important; }
.adm-art .auth-link { font-size: 14px; padding: 6px 4px; }
.adm-del { color: var(--error) !important; }
.adm-form { border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin: 0 0 16px; background: rgba(0,49,83,0.25); }
.adm-field { display: block; margin-bottom: 12px; flex: 1; }
.adm-field span { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.adm-field input, .adm-field select, .adm-field textarea { width: 100%; background: var(--input-bg); border: 1px solid rgba(135,206,235,0.4); border-radius: 12px; padding: 10px 12px; color: var(--text); font: 16px var(--font); }
.adm-field select option { color: #003153; }
.adm-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.adm-check { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.adm-actions { display: flex; gap: 16px; align-items: center; }
.adm-actions .auth-btn { width: auto; padding: 10px 24px; margin: 0; }
.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th, .adm-table td { text-align: left; padding: 8px 6px; border-top: 1px solid var(--border); white-space: nowrap; }
.adm-table th { color: var(--text-2); font-weight: 600; border-top: 0; }
