/* Admin panel (27.11) — quiet cards, no transforms/animations (see 25.11 selection UI rule). */
.adm-entry-wrap { margin-top: 18px; }
.adm-entry { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: inherit; text-align: left; cursor: pointer; }
.adm-entry:hover { background: rgba(255,255,255,.07); }
.adm-entry-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #f4a964) 18%, transparent); color: var(--accent, #f4a964); flex: none; }
.adm-entry-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.adm-entry-text small, .adm-card-meta, .adm-card-note, .adm-note, .adm-hint, .adm-who small { color: rgba(255,255,255,.55); }
.adm-entry-count { min-width: 22px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.08); text-align: center; }
.adm-entry-count:empty { display: none; }
.adm-chevron { font-size: 22px; opacity: .45; }
.adm-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; flex-wrap: wrap; }
.adm-head h1 { flex: 1; margin: 0; font-size: 22px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-back { border: 0; background: none; color: var(--accent, #f4a964); font: inherit; padding: 6px 0; cursor: pointer; flex-basis: 100%; text-align: left; }
.adm-note { margin: 0 0 14px; font-size: 13px; line-height: 1.45; }
.adm-group { display: flex; justify-content: space-between; margin: 18px 2px 8px; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.5); }
.adm-empty { margin: 0 2px 6px; color: rgba(255,255,255,.45); font-size: 13px; }
.adm-list { display: flex; flex-direction: column; gap: 8px; }
.adm-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.035); color: inherit; text-align: left; cursor: pointer; }
.adm-card:hover:not(:disabled) { background: rgba(255,255,255,.06); }
.adm-card:disabled { cursor: default; opacity: .8; }
.adm-card.is-off { opacity: .55; }
.adm-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.adm-avatar-empty { display: grid; place-items: center; background: rgba(255,255,255,.08); font-weight: 600; }
.adm-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.adm-card-title { display: flex; gap: 8px; align-items: baseline; min-width: 0; }
.adm-card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-card-meta, .adm-card-note { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-badge { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; background: rgba(255,255,255,.08); }
.adm-badge.on { background: rgba(80,200,120,.16); color: #7be0a0; }
.adm-badge.off { background: rgba(255,90,90,.14); color: #ff9a9a; }
.adm-badge.wait { background: rgba(255,200,80,.14); color: #ffd27a; }
.adm-form { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; }
.adm-who { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); }
.adm-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-seg button { flex: 1 1 30%; padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); color: inherit; font: inherit; font-size: 13.5px; cursor: pointer; }
.adm-seg button.active { border-color: var(--accent, #f4a964); background: color-mix(in srgb, var(--accent, #f4a964) 16%, transparent); }
.adm-seg button:disabled { cursor: default; opacity: .6; }
.adm-hint { display: block; margin-top: 6px; font-size: 12.5px; }
.adm-perms { display: flex; flex-direction: column; border-radius: 14px; background: rgba(255,255,255,.035); overflow: hidden; }
.adm-switch { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; position: relative; }
.adm-switch + .adm-switch { border-top: 1px solid rgba(255,255,255,.06); }
.adm-switch-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.adm-switch-text small { color: rgba(255,255,255,.5); font-size: 12px; }
.adm-switch input { position: absolute; opacity: 0; pointer-events: none; }
.adm-switch i { width: 42px; height: 24px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; flex: none; }
.adm-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.adm-switch input:checked + i { background: var(--accent, #f4a964); }
.adm-switch input:checked + i::after { left: 21px; }
.adm-switch input:focus-visible + i { outline: 2px solid var(--accent, #f4a964); outline-offset: 2px; }
.adm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adm-cols textarea { width: 100%; }
.adm-actions { display: flex; flex-direction: column; gap: 8px; }
.adm-actions .form-error:empty { display: none; }
.adm-confirm { padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,90,90,.25); background: rgba(255,90,90,.06); }
.adm-confirm .adm-actions { flex-direction: row; justify-content: flex-end; margin-top: 10px; }
button.danger { color: #ff9a9a; }
button.primary.danger { background: #c94a4a; color: #fff; }
@media (max-width: 380px) { .adm-row2 { grid-template-columns: 1fr; } }
