/* ============================================================
   PAINEL ADMINISTRATIVO
   ============================================================ */
#adminRoot {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #f3f4f8;
  color: #181b27;
}
#adminRoot.open {
  display: block;
  animation: fadeIn 200ms ease-out;
}
body.admin-open {
  overflow: hidden;
}
body.admin-open #siteRoot,
body.admin-open .player {
  visibility: hidden;
}
#adminContent {
  height: 100%;
}

/* ---------- Login ---------- */
.login-screen {
  position: relative;
  height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 70%),
    linear-gradient(160deg, var(--c-primary), var(--c-deep));
}
.login-box {
  width: min(380px, 100%);
  padding: 36px 32px 28px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  animation: modalIn 320ms var(--ease-out);
}
.login-box.shake {
  animation: shake 360ms ease;
}
.login-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--c-tint);
  color: var(--c-primary);
}
.login-box h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.login-box p {
  font-size: 14.5px;
  margin-bottom: 20px;
}
.login-box input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1.5px solid #e1e3ea;
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.login-box input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 14%, transparent);
}
.login-box .btn + .btn {
  margin-top: 10px;
}
p.login-error {
  margin: -4px 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #b42318;
}

/* Esperando a liberação pelo e-mail */
.gate-box .login-badge {
  background: color-mix(in srgb, var(--c-accent) 22%, #fff);
}
p.gate-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-primary) 8%, #fff);
  color: var(--c-primary);
  font-weight: 700;
}
.gate-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--c-primary) 25%, transparent);
  border-top-color: var(--c-primary);
  animation: spin 0.9s linear infinite;
}
p.gate-note {
  font-size: 13px;
  color: #5b6478;
  margin-bottom: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .gate-spin {
    animation-duration: 2.4s;
  }
}

/* ---------- Estrutura ---------- */
.admin-shell {
  display: flex;
  height: 100%;
}
.admin-sidebar {
  display: flex;
  flex-direction: column;
  flex: 0 0 248px;
  height: 100%;
  padding: 22px 12px;
  overflow-y: auto;
  background: var(--c-deep);
  color: rgba(255, 255, 255, 0.8);
}
.admin-brand {
  padding: 0 10px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-heading);
  font-size: 17px;
  color: #fff;
  line-height: 1.3;
}
.admin-brand small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: rgba(255, 255, 255, 0.62);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.admin-nav-item .ic {
  opacity: 0.8;
}
@media (hover: hover) {
  .admin-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
}
.admin-nav-item.active {
  color: #fff;
  background: color-mix(in srgb, var(--c-accent) 20%, transparent);
}
.admin-nav-item.active .ic {
  color: var(--c-accent);
  opacity: 1;
}
.admin-sidebar-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding: 18px 4px 0;
}
/* Botão "Seção ▾" e painel do menu: só no celular (no computador o painel é
   transparente para o layout e a barra lateral fica como sempre foi) */
.admin-menu-btn {
  display: none;
}
.admin-menu-panel {
  display: contents;
}
.btn-sidebar {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  width: 100%;
}
@media (hover: hover) {
  .btn-sidebar:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}
.admin-main {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.admin-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 40px 96px;
}

/* ---------- Componentes ---------- */
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.admin-topbar h2 {
  font-size: 28px;
}
.mt-12 {
  margin-top: 12px;
}
.admin-note {
  font-size: 13.5px;
  color: #6b7080;
  margin: 0 0 16px;
}
.admin-card .admin-note:last-child {
  margin-bottom: 0;
}
.admin-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.admin-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7080;
  margin: 4px 0 16px;
}
.admin-card h3:not(:first-child) {
  margin-top: 24px;
}
.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.inline-title {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  margin-left: -8px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #181b27;
}
.inline-title:hover,
.inline-title:focus {
  border-color: #e1e3ea;
  outline: none;
}
.admin-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid #f0f1f5;
}
.admin-card-foot.end {
  justify-content: flex-end;
}
.admin-card-media {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0 22px;
}
.admin-card-media .admin-card-foot {
  grid-column: 1 / -1;
}
.admin-thumb {
  aspect-ratio: 16/9;
  border-radius: 10px;
  background: #eef0f5 center / cover no-repeat;
  display: grid;
  place-items: center;
  color: #9aa0b0;
}
.admin-empty {
  text-align: center;
  padding: 32px 16px;
  color: #6b7080;
  font-size: 14.5px;
}
.admin-muted {
  font-size: 13px;
  color: #8a8fa0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.field-row.compact {
  flex: 1;
  margin-bottom: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.full {
  grid-column: 1 / -1;
}
.field > label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5a5f70;
}
.field input[type="text"],
.field input[type="url"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field input[type="email"],
.field textarea,
.field select,
.field-inline input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid #e1e3ea;
  background: #fff;
  color: #181b27;
  font-size: 15px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.field textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.field-inline input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 12%, transparent);
}
.field input[type="color"],
.admin-card input[type="color"] {
  width: 52px;
  height: 42px;
  padding: 3px;
  border-radius: 10px;
  border: 1.5px solid #e1e3ea;
  background: #fff;
  cursor: pointer;
}
.swatch-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.swatch-row code {
  font-size: 13px;
  color: #6b7080;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1.5px solid #eceef3;
  border-radius: 12px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}
.admin-list-item .field {
  flex: 1;
}
.admin-list-item.is-off {
  opacity: 0.55;
}
.item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
#adminRoot .icon-btn {
  background: #f1f2f6;
  color: #3a3f50;
}
@media (hover: hover) {
  #adminRoot .icon-btn:hover:not(:disabled) {
    background: #e6e8ef;
  }
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #3a3f50;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-primary);
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d5d8e0;
  transition: background-color 0.2s ease;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 240ms var(--ease-out);
}
.switch input:checked + span {
  background: var(--c-primary);
}
.switch input:checked + span::after {
  transform: translateX(18px);
}
.switch input:focus-visible + span {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
.inline-fields {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.field-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5a5f70;
}
.field-inline input {
  width: 80px;
}

.upload-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.upload-preview {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  background: #eef0f5 center / cover no-repeat;
  border: 1px solid #e1e3ea;
  display: grid;
  place-items: center;
  color: #9aa0b0;
}
.upload-label {
  cursor: pointer;
}

.badge-inline {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f2f6;
  color: #5a5f70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}
.badge-inline.is-published {
  background: rgba(18, 128, 74, 0.12);
  color: #12804a;
}
.badge-inline.is-auto {
  background: rgba(204, 0, 0, 0.08);
  color: #b00000;
}
.admin-sync-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff8f8;
  border-color: rgba(204, 0, 0, 0.12);
}
.admin-sync-note > .ic {
  color: #cc0000;
  margin-top: 2px;
}
.admin-sync-note p {
  font-size: 14px;
  color: #4a4f60;
}
.admin-sync-note strong {
  color: #181b27;
}
.btn-ghost.loading::after {
  border-color: var(--c-line-strong);
  border-top-color: var(--c-primary);
}

/* Podcast */
.podcast-admin-table-wrap {
  overflow-x: auto;
  padding: 8px 16px;
}
.podcast-admin-table {
  min-width: 720px;
}
.podcast-admin-row {
  display: grid;
  grid-template-columns: 56px 72px minmax(180px, 1fr) 90px 100px 84px;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid #f0f1f5;
}
.podcast-admin-row:last-child {
  border-bottom: none;
}
.podcast-admin-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8fa0;
}
.podcast-admin-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--c-primary);
  background-size: cover;
  background-position: center;
}
.podcast-admin-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.podcast-form-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f0f1f5;
}

/* Departamentos */
.ministry-admin-gallery {
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #f8f9fb;
}
.gallery-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.admin-photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e6e8ef;
}
.admin-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-photo-item button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}
.admin-photo-error {
  grid-column: 1 / -1;
}

/* Doações */
.pix-admin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 20px;
  align-items: start;
}
.qr-admin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1.5px dashed #d5d8e0;
  border-radius: 12px;
  text-align: center;
}
.qr-admin img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .admin-shell {
    flex-direction: column;
  }
  .admin-sidebar {
    position: relative;
    z-index: 30;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    height: auto;
    padding: 8px 12px;
    overflow: visible;
  }
  .admin-brand {
    display: none;
  }
  .admin-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-align: left;
  }
  .admin-menu-btn > .ic:first-child {
    color: var(--c-accent);
  }
  .admin-menu-btn > .ic:last-child {
    margin-left: auto;
    transition: transform 0.2s ease;
  }
  .menu-open .admin-menu-btn > .ic:last-child {
    transform: rotate(180deg);
  }
  .admin-menu-label {
    display: grid;
    min-width: 0;
    line-height: 1.2;
  }
  .admin-menu-label small {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-accent-on-dark);
  }
  .admin-menu-label span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 700;
  }
  .admin-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom));
    background: var(--c-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.55);
  }
  .admin-sidebar.menu-open .admin-menu-panel {
    display: block;
    animation: fadeIn 160ms ease-out;
  }
  .admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .admin-nav-item {
    min-height: 48px;
    padding: 6px 12px;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.04);
  }
  .admin-sidebar-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .btn-sidebar {
    min-height: 44px;
  }
  .admin-content {
    padding: 22px 16px 80px;
  }
  .field-row,
  .pix-admin,
  .admin-card-media {
    grid-template-columns: 1fr;
  }
  .admin-thumb {
    margin-bottom: 14px;
  }
}
@media (max-width: 480px) {
  .admin-card {
    padding: 16px;
  }
  .admin-topbar h2 {
    font-size: 22px;
  }
  .admin-list-item {
    flex-wrap: wrap;
  }
}

/* Itens com vários campos dentro de um card (linha do tempo) */
.admin-subcard {
  padding: 16px;
  margin-bottom: 12px;
  border: 1.5px solid #eceef3;
  border-radius: 12px;
}
.admin-subcard .admin-card-foot {
  margin-top: 10px;
}
.admin-card > .btn-ghost {
  margin-top: 6px;
}

/* Avisos de validação (PIX/CNPJ) */
.admin-note.admin-warn,
.admin-note.admin-ok {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
}
.admin-note.admin-warn {
  color: #9a2a1d;
  background: #fdecea;
}
.admin-note.admin-ok {
  color: #1d6b3a;
  background: #e8f6ee;
}
.admin-note.admin-warn .ic,
.admin-note.admin-ok .ic {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Podcast: importar do Spotify (js/admin-podcast.js) */
.pod-plan {
  margin: 4px 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--c-tint);
  font-size: 14.5px;
}
.pod-plan p {
  margin: 0 0 8px;
}
.pod-plan-list {
  margin: 0 0 4px;
  padding-left: 18px;
}
.pod-plan-list li {
  margin: 3px 0;
}
.pod-plan-list small {
  color: var(--c-text-soft);
  margin-left: 4px;
}
.pod-plan-extras {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}
.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-primary);
}

/* Biblioteca: link da planilha para a equipe */
.lib-link-row {
  display: flex;
  gap: 8px;
}
.lib-link-row input {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}

/* ============================================================
   CELULAR — componentes compartilhados de todas as abas
   (só abaixo de 900 px: o computador não muda)
   ============================================================ */
@media (max-width: 900px) {
  /* Alvos de toque de pelo menos 44 px */
  #adminRoot .btn-sm,
  #adminRoot .upload-label,
  #adminRoot .check,
  #adminRoot .inline-title {
    min-height: 44px;
  }
  #adminRoot .icon-btn {
    width: 44px;
    height: 44px;
  }
  /* Janela (modal) aberta pelo painel: botão de fechar com 44 px (só no painel) */
  body.admin-open .modal-close {
    width: 44px;
    height: 44px;
  }
  /* "×" das fotos dos departamentos: área de toque de 44 px, círculo visível igual */
  #adminRoot .admin-photo-item button {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.6) 15px, transparent 16px);
  }
  /* Botão com texto longo quebra a linha em vez de sair da tela */
  #adminRoot .admin-content .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  /* Campos com 16 px: o iPhone não dá zoom ao tocar */
  #adminRoot input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]):not([type="file"]),
  #adminRoot select,
  #adminRoot textarea {
    font-size: 16px;
  }
  #adminRoot .field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  #adminRoot .field select,
  #adminRoot .field-inline input,
  #adminRoot .lib-search,
  #adminRoot .lib-toolbar select,
  #adminRoot .lib-rule-head input {
    min-height: 44px;
  }
  /* Linhas de ação quebram em vez de cortar */
  #adminRoot .item-actions {
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
  }
  #adminRoot .admin-list-item {
    flex-wrap: wrap;
  }
  #adminRoot .admin-list-item > *,
  #adminRoot .admin-card-foot > *,
  #adminRoot .admin-topbar > * {
    min-width: 0;
  }
  /* Textos longos (títulos, nomes, links, mensagens) quebram em vez de empurrar */
  #adminRoot .admin-content {
    overflow-wrap: anywhere;
  }
  /* …mas etiquetas curtas ("Publicado", "Rascunho") nunca quebram letra a letra */
  #adminRoot .badge-inline {
    max-width: 100%;
    overflow-wrap: normal;
  }
  /* Formulários longos: barra de salvar presa no rodapé da tela */
  #adminRoot .sticky-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding-top: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -12px 16px -14px rgba(15, 23, 42, 0.35);
  }
  /* Podcast: a tabela vira lista de cartões (sem rolagem lateral) */
  #adminRoot .podcast-admin-table-wrap {
    overflow-x: visible;
    padding: 4px 14px;
  }
  #adminRoot .podcast-admin-table {
    min-width: 0;
  }
  #adminRoot .podcast-admin-head {
    display: none;
  }
  #adminRoot .podcast-admin-row {
    grid-template-columns: 48px auto minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb title title title"
      "thumb ep date date"
      "thumb status status actions";
    gap: 4px 10px;
  }
  #adminRoot .podcast-admin-row > .podcast-admin-thumb {
    grid-area: thumb;
    align-self: start;
  }
  #adminRoot .podcast-admin-row > strong {
    grid-area: ep;
    font-size: 12.5px;
  }
  #adminRoot .podcast-admin-row > .podcast-admin-title {
    grid-area: title;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  #adminRoot .podcast-admin-row > span:not(.badge-inline) {
    grid-area: date;
    font-size: 12.5px;
    color: #6b7080;
  }
  #adminRoot .podcast-admin-row > .badge-inline {
    grid-area: status;
    justify-self: start;
    align-self: center;
  }
  #adminRoot .podcast-admin-row > .item-actions {
    grid-area: actions;
    flex-wrap: nowrap;
  }
}

/* Notícias: sugestões da AD Belém – Sede */
.sede-card {
  border-color: color-mix(in srgb, var(--c-accent) 55%, transparent);
}
.sede-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.sede-card-head > div {
  flex: 1 1 320px;
  min-width: 0;
}
.sede-item {
  align-items: flex-start;
}
.sede-item .meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 320px;
  overflow-wrap: anywhere;
}
.sede-item .meta small {
  color: #6b7080;
}
.sede-item .meta p {
  margin: 2px 0;
  font-size: 14px;
  color: #4a4f60;
}
.sede-item .meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  font-size: 13.5px;
  font-weight: 600;
}
.sede-empty {
  margin: 6px 0 0;
}
.sede-note {
  margin: 0 0 12px;
}
