/* Tela Equipe no Modelo A (24/11/2026; o responsável: "Esse layout está muito poluído" e escolheu "a"): linha fina por
   pessoa e o painel de ajustes ao lado (equipe-linha.js e app/equipe-ajustes.js). */
.gc-cartao > .eq-lin { display: grid; grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, .9fr) auto; align-items: center; gap: 14px;
  padding: 11px 18px 11px 22px; border-top: 1px solid #E8EDF5; transition: background-color .15s ease-out; }
.gc-cab + .eq-lin, summary + .eq-lin { border-top: 0; }
.gc-cartao > .eq-lin:hover { background: #F8FAFF; }
.eq-lin.inativa { opacity: .7; }
.eq-quem { min-width: 0; }
.eq-quem b { display: block; font: 800 14.5px var(--sans); color: #14213D; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-quem small { display: block; font: 600 12px var(--sans); color: #64748B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-onde { min-width: 0; }
.eq-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font: 700 12.5px var(--sans); color: #14213D; background: #F1F4F9; border-radius: 999px; padding: 4px 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-chip.vazio { color: #94A3B8; background: #F6F8FB; }
.eq-quando { font: 600 12.5px var(--sans); color: #64748B; font-variant-numeric: tabular-nums; }
.eq-ajustar { justify-self: end; border: 1px solid #E3E8F2; background: #fff; border-radius: 10px; padding: 7px 14px; font: 800 12.5px var(--sans); color: #14213D; cursor: pointer;
  transition-property: transform, background-color, border-color, color; transition-duration: .15s; transition-timing-function: ease-out; }
.eq-ajustar:hover, .eq-ajustar:focus-visible { transform: scale(1.04); background: #EEF4FF; border-color: #BFD3FE; color: #1D4ED8; }
/* Iniciais com a bolinha de online */
.eq-av { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--sans); color: #fff; flex: none; }
.eq-av.grande { width: 48px; height: 48px; font-size: 16px; }
.eq-av i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid #fff; }
.eq-pt.on { background: #10B981; } .eq-pt.aus { background: #F5B90A; } .eq-pt.off { background: #A3AEC2; }
.eq-c1 { background: linear-gradient(135deg, #6366F1, #8B5CF6); } .eq-c2 { background: linear-gradient(135deg, #0EA5E9, #2563EB); }
.eq-c3 { background: linear-gradient(135deg, #F59E0B, #EA580C); } .eq-c4 { background: linear-gradient(135deg, #10B981, #059669); }
.eq-c5 { background: linear-gradient(135deg, #EC4899, #DB2777); } .eq-c6 { background: linear-gradient(135deg, #14B8A6, #0F766E); }
.eq-info { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; border: 1.5px solid #A3AEC2; color: #8391A9; font: 800 10.5px var(--sans); cursor: help; vertical-align: 1px; }
/* O painel de ajustes, ao lado */
.equipe-ajustes { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(400px, 100vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0;
  border-radius: 22px 0 0 22px; background: #fff; box-shadow: -30px 0 60px -24px rgba(20, 33, 61, .35); overflow-y: auto; color: #14213D; }
.equipe-ajustes[open] { animation: eq-entra .22s ease-out both; }
.equipe-ajustes::backdrop { background: rgba(20, 33, 61, .28); }
@keyframes eq-entra { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.eq-topo { display: flex; align-items: center; gap: 12px; padding: 20px; background: linear-gradient(135deg, #14213D, #2B4A8B); color: #fff; }
.eq-topo > div { min-width: 0; flex: 1; }
.eq-topo b { display: block; font: 800 16px var(--sans); }
.eq-topo small { display: block; font: 600 12px var(--sans); opacity: .78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-topo .eq-av i { border-color: #2B4A8B; }
.eq-fechar { border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 34px; height: 34px; border-radius: 10px; font-size: 15px; cursor: pointer; flex: none; }
.eq-fechar:hover, .eq-fechar:focus-visible { background: rgba(255, 255, 255, .26); }
.eq-campo { padding: 14px 20px; border-top: 1px solid #E8EDF5; }
.eq-topo + .eq-campo { border-top: 0; }
.eq-campo > label { display: block; margin-bottom: 8px; font: 800 12px var(--sans); color: #64748B; }
.eq-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.eq-tipos button { display: grid; justify-items: center; gap: 3px; padding: 10px 4px; border: 1px solid #E3E8F2; border-radius: 12px; background: #fff; font: 800 12px var(--sans); color: #14213D; cursor: pointer;
  transition-property: transform, background-color, border-color; transition-duration: .15s; transition-timing-function: ease-out; }
.eq-tipos button span { font-size: 17px; }
.eq-tipos button:hover, .eq-tipos button:focus-visible { transform: scale(1.03); border-color: #BFD3FE; background: #F5F8FF; }
.eq-tipos button[aria-pressed="true"] { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); border-color: #A5B4FC; color: #312E81; }
.eq-sel { width: 100%; margin-top: 8px; border: 1px solid #E3E8F2; border-radius: 10px; padding: 9px 12px; font: 700 13.5px var(--sans); color: #14213D; background: #fff; }
.eq-campo > .eq-sel:first-of-type { margin-top: 0; }
.eq-linha-campo { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #E3E8F2; border-radius: 10px; padding: 8px 12px; }
.eq-linha-campo + .eq-linha-campo { margin-top: 8px; }
.eq-assin { font: 800 13.5px var(--sans); }
.eq-trocar { border: 0; background: none; padding: 0; font: 800 12.5px var(--sans); color: #059669; cursor: pointer; }
.eq-trocar:hover, .eq-trocar:focus-visible { text-decoration: underline; }
.eq-aviso { margin: 0; padding: 14px 20px; font: 600 13px var(--sans); color: #4A5875; }
.eq-acoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; padding: 16px 20px; border-top: 1px solid #E8EDF5; }
.eq-bt { border: 1px solid #E3E8F2; background: #fff; border-radius: 10px; padding: 9px 6px; font: 800 12.5px var(--sans); color: #14213D; cursor: pointer;
  transition-property: transform, background-color, border-color; transition-duration: .15s; transition-timing-function: ease-out; }
.eq-bt:hover, .eq-bt:focus-visible { transform: scale(1.03); background: #F5F8FF; border-color: #BFD3FE; }
.eq-bt.perigo { color: #B91C1C; border-color: #FECACA; }
.eq-bt.perigo:hover, .eq-bt.perigo:focus-visible { background: #FEF2F2; border-color: #FCA5A5; }
.eq-bt:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (max-width: 760px) {
  .gc-cartao > .eq-lin { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .eq-lin .eq-onde, .eq-lin .eq-quando { grid-column: 2 / 3; }
  .eq-lin .eq-ajustar { grid-row: 1; grid-column: 3; }
  .equipe-ajustes { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .equipe-ajustes[open] { animation: none; }
  .eq-ajustar, .eq-tipos button, .eq-bt { transition: none; }
  .eq-ajustar:hover, .eq-tipos button:hover, .eq-bt:hover { transform: none; }
}
