.admin { gap: 18px; }
.admin-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-top img { height: 24px; width: auto; }
.admin-top h1 { margin: 0; font-size: 18px; letter-spacing: .08em; }
.admin-nav { margin-left: auto; display: flex; gap: 8px; }

.panel h2 { margin: 0; font-size: 15px; letter-spacing: .06em; }
.login { max-width: 420px; }
.login-form { display: grid; gap: 12px; }
.login-form input { width: 100%; background: var(--field); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; }

.list-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.count { display: inline-block; min-width: 2em; padding: 1px 8px; margin-left: 4px; border-radius: 999px; background: var(--field); color: var(--muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.list-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.list-tools input[type="search"] { background: var(--field); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; min-width: 0; width: 220px; max-width: 100%; }
.selbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: #232b66; font-size: 13px; }
.btn.danger { background: #5a1f3c; border-color: #8a2d5a; color: #ffe3ef; }
.btn.danger:hover { border-color: #ff8fbf; }

.table-wrap { overflow-x: auto; }
table.cards { width: 100%; border-collapse: collapse; font-size: 13px; }
.cards th { text-align: left; font-weight: 700; color: var(--muted); font-size: 12px; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cards td { padding: 10px; border-bottom: 1px solid rgba(45, 53, 115, .6); vertical-align: middle; }
.cards tr:hover td { background: rgba(168, 198, 255, .04); }
.cards tr.checked td { background: rgba(168, 198, 255, .08); }
.c-check { width: 32px; }
.cards input[type="checkbox"] { accent-color: var(--accent-2); width: 16px; height: 16px; }
.c-dear { font-weight: 700; max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-msg { color: var(--muted); max-width: 22em; }
td.c-msg { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-date, .c-created { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.c-actions { text-align: right; white-space: nowrap; }
.c-actions .btn { padding: 5px 10px; font-size: 12px; }
.empty { margin: 0; padding: 24px 0; text-align: center; color: var(--muted); }

@media (max-width: 760px) {
  .c-msg, .c-date { display: none; }
  .list-tools input[type="search"] { width: 100%; }
}
