/* Estilos do painel de admin (adminops): usuários, ficha, comunicados, moderação e faixas do topo. */

/* ── Faixas fixas no topo do app (app.js → #topBars) ── */
#topBars { position: sticky; top: 0; z-index: 40; }
#topBars:empty { display: none; }
.imp-bar, .ann-bar { display: flex; align-items: center; gap: 10px; padding: 9px 20px; font-size: 14px; line-height: 1.35; }
.imp-bar { background: #b42318; color: #fff; }
.imp-bar .ico, .ann-bar .ico { width: 18px; height: 18px; flex: none; }
.imp-bar span { flex: 1; min-width: 0; }
.imp-bar .btn { background: #fff; color: #b42318; border-color: #fff; }
.imp-bar .btn:hover { background: #fde8e6; }
.ann-bar { background: var(--brand); color: var(--brand-ink); border-bottom: 1px solid var(--brand-2); }
.ann-bar .grow { flex: 1; min-width: 0; }
.ann-bar a { color: inherit; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.ann-x { background: transparent; border: 0; color: inherit; cursor: pointer; padding: 4px; border-radius: 8px; display: inline-flex; }
.ann-x:hover { background: rgba(0, 0, 0, .08); }
@media (max-width: 640px) { .imp-bar, .ann-bar { padding: 8px 12px; font-size: 13px; } }

/* ── Lista de usuários ── */
.ao-filters .check { font-size: 14px; }
.ao-filter-row { gap: 16px; }
.ao-filters .sm-date { width: auto; padding: 6px 8px; font-size: 14px; }
.ao-off td { opacity: .55; }
.ao-pager { margin-top: 12px; }

/* ── Ficha ── */
.ao-head { align-items: center; }
.ao-actions .row { gap: 8px; }
.ao-danger-zone { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.ao-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0 0; font-size: 14px; }
.ao-dl dt { color: var(--muted); }
.ao-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.ao-ratings { gap: 8px; margin-top: 8px; }
.ao-ratings .pill { font-size: 13px; font-weight: 500; padding: 5px 12px; }
.ao-dim { opacity: .55; }
.ao-list { gap: 10px; max-height: 360px; overflow-y: auto; }
.ao-list > div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ao-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ao-details { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--text-2); max-width: 420px; overflow-wrap: anywhere; }
.ao-temp { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; margin: 10px 0; }
.ao-temp code { font-size: 22px; font-weight: 700; letter-spacing: .08em; flex: 1; }

/* ── Comunicados ── */
.ao-ann { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 980px) { .ao-ann { grid-template-columns: minmax(0, 1fr); } }
.ao-preview { border: 1px dashed var(--line-2); border-radius: 12px; overflow: hidden; margin-top: 10px; }
.ao-fake { border-radius: 0; }
.ao-note { padding: 16px; }
.ao-note > b { font-size: 17px; display: block; margin-bottom: 8px; }
.md p { margin: 0 0 10px; } .md ul, .md ol { margin: 0 0 10px; padding-left: 22px; } .md h3 { margin: 12px 0 6px; }
.ao-md { font-size: 16px; line-height: 1.6; }

/* ── Moderação ── */
.ao-group { margin-bottom: 14px; }
.ao-mod-acts { gap: 6px; }
.ao-signals { margin: 0; padding-left: 18px; }
.ao-signals li + li { margin-top: 4px; }

/* O atributo hidden precisa vencer display de .row/.btn/.field/.ann-bar nas telas deste módulo */
.ao-ann [hidden], .ao-an-modal [hidden] { display: none !important; }
