/* Falouu, painel. Paleta Apple (a de antes de 02/12): tinta #1d1d1f, cinza #f5f5f7, azul #0071e3. */
:root {
  --tinta: #1d1d1f; --suave: #6e6e73; --fraco: #86868b;
  --fundo: #ffffff; --area: #f5f5f7; --cartao: #ffffff; --linha: #d2d2d7; --linha-forte: #c7c7cc;
  --acento: #0071e3; --acento-escuro: #0062c3; --acento-claro: #e8f2fd;
  --verde: #15803d; --verde-claro: #e9f7ee; --alerta: #9a5b00; --alerta-claro: #fff5e0; --perigo: #c0262d;
  --raio: 14px; --raio-p: 10px;
  --sombra: 0 1px 2px rgba(29, 29, 31, .04);
  --sombra-alta: 0 12px 32px -12px rgba(29, 29, 31, .18);
  --azul: var(--acento);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fundo); }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; background: var(--fundo); color: var(--tinta); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
[hidden] { display: none !important; }
a { color: var(--acento); text-decoration: none; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--acento-claro); }

/* Moldura */
#raiz { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
#raiz > .entrada { grid-column: 1 / -1; }
aside { background: var(--fundo); border-right: 1px solid var(--linha); padding: 28px 14px 20px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 0; height: 100vh; }
aside > strong { font-size: 22px; font-weight: 700; padding: 0 12px; letter-spacing: -.035em; text-transform: lowercase; }
aside > strong::after { content: "."; color: var(--acento); }
aside nav { display: flex; flex-direction: column; gap: 2px; }
aside nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--raio-p); color: #2a2a35; font-weight: 500; transition: background .15s; }
aside nav a::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; opacity: .75; -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
aside nav a:hover { background: var(--area); }
aside nav a[aria-current] { background: var(--area); color: var(--tinta); font-weight: 600; }
aside nav a[aria-current]::before { opacity: 1; color: var(--acento); background: var(--acento); }
aside nav a .breve { margin-left: auto; }
aside nav a[href$="assistentes"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2'/%3E%3Cpath d='m16 14 2 2 4-4'/%3E%3C/svg%3E"); }
aside nav a[href$="vozes"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 10v4M8 6v12M12 3v18M16 7v10M20 10v4'/%3E%3C/svg%3E"); }
aside nav a[href$="conversas"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12Z'/%3E%3C/svg%3E"); }
aside nav a[href$="relatorio"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 20h16M7 16V10M12 16V5M17 16v-4'/%3E%3C/svg%3E"); }
aside nav a[href$="contatos"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M8 17a4 4 0 0 1 8 0'/%3E%3C/svg%3E"); }
aside nav a[href$="integracoes"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M9 3v5M15 3v5M6 8h12v3a6 6 0 0 1-12 0V8ZM12 17v4'/%3E%3C/svg%3E"); }
aside nav a[href$="usuarios"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M3 20c0-3.5 2.5-6 6-6s6 2.5 6 6M16 5a3.5 3.5 0 0 1 0 6.5M18 14.5c2 .8 3 2.8 3 5.5'/%3E%3C/svg%3E"); }
aside nav a[href$="conta"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
aside > button { margin-top: auto; align-self: stretch; text-align: left; color: var(--suave); padding: 9px 12px; border-radius: var(--raio-p); }
aside > button:hover { background: var(--area); color: var(--tinta); }

main { padding: 40px clamp(16px, 4vw, 56px) 96px; max-width: 1120px; width: 100%; }
h1 { font-size: 32px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
h3 { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.titulo { margin-bottom: 28px; }
.titulo p { margin-top: 6px; color: var(--suave); font-size: 15px; }
.nota, small { color: var(--suave); font-size: 13px; }
small { display: block; }

/* Cartões e grades */
.cartao { display: block; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px; margin-bottom: 16px; color: var(--tinta); box-shadow: var(--sombra); min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.cartao:hover { border-color: var(--linha-forte); box-shadow: var(--sombra-alta); transform: translateY(-1px); }
a.cartao p { color: var(--suave); }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.grade > .cartao { margin: 0; }
.duas { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }

/* Formulários */
form { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
form.linha { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
form.linha .campo { flex: 1 1 200px; width: auto; }
.campo { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.campo > span { font-weight: 500; font-size: 13px; color: #2a2a35; }
input, select, textarea { font: inherit; font-size: 15px; color: inherit; background: var(--area); border: 1px solid transparent; border-radius: var(--raio-p); padding: 10px 14px; width: 100%; min-height: 44px; transition: border-color .15s, background .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--linha-forte); }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--acento); box-shadow: 0 0 0 4px var(--acento-claro); }
textarea { resize: vertical; line-height: 1.55; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b78' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.marcar { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--acento); flex: none; margin-top: 3px; }

/* Botões */
.botao { font: inherit; font-weight: 600; font-size: 14px; background: var(--tinta); color: #fff; border: 0; border-radius: var(--raio-p); padding: 10px 20px; min-height: 42px; cursor: pointer; transition: background .15s, transform .1s; }
.botao:hover { background: #24242f; }
.botao:active { transform: scale(.98); }
form .botao[type="submit"] { background: var(--acento); }
form .botao[type="submit"]:hover { background: var(--acento-escuro); }
.botao:disabled { opacity: .5; cursor: wait; }
a.botao { display: inline-block; }
.texto { font: inherit; font-weight: 500; background: none; border: 0; color: var(--acento); cursor: pointer; padding: 8px; min-height: 40px; border-radius: 8px; }
.texto:hover { background: var(--acento-claro); }
.perigo { color: var(--perigo); }
.texto.perigo:hover { background: #fdecec; }

/* Abas em pílula */
.abas { display: inline-flex; gap: 2px; overflow-x: auto; margin-bottom: 24px; padding: 4px; background: var(--area); border: 1px solid var(--linha); border-radius: 12px; max-width: 100%; }
.abas a { white-space: nowrap; padding: 7px 14px; border-radius: 9px; color: var(--suave); font-weight: 500; font-size: 14px; }
.abas a:hover { color: var(--tinta); }
.abas a[aria-current] { background: #fff; color: var(--tinta); box-shadow: 0 1px 3px rgba(29, 29, 31, .1); }

/* Selos */
.selo { font-size: 12px; font-weight: 600; background: var(--area); color: var(--suave); border-radius: 999px; padding: 3px 10px; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.selo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.selo.ligado { background: var(--verde-claro); color: var(--verde); }
.breve { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--acento); color: #fff; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.atencao { color: var(--alerta); }
.nota.atencao { background: var(--alerta-claro); border-radius: var(--raio-p); padding: 10px 14px; }

/* Texto e listas */
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 ui-monospace, "SF Mono", Menlo, monospace; background: var(--area); border: 1px solid var(--linha); border-radius: 12px; padding: 16px; max-height: 360px; overflow: auto; }
ul { padding-left: 18px; }
.cartao > p, .cartao > blockquote { margin-bottom: 14px; }
.cartao > :last-child { margin-bottom: 0; }
ul.fontes { list-style: none; padding: 0; }
.fontes li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linha); }
.fontes li:first-child { border-top: 0; }
.fontes li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
progress { width: 100%; height: 6px; accent-color: var(--acento); margin: 8px 0; border-radius: 999px; }
blockquote { background: var(--area); border-radius: 12px; padding: 14px 16px; margin-top: 10px; overflow-wrap: anywhere; }
form blockquote { margin: 0; font-size: 16px; }
.gravador { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
audio { width: 100%; }

/* Entrada */
.entrada { align-self: start; width: 100%; max-width: 400px; margin: 14vh auto; text-align: center; padding: 36px 32px; border: 1px solid var(--linha); border-radius: 20px; box-shadow: var(--sombra-alta); background: #fff; }
.entrada h1 { font-size: 28px; text-transform: lowercase; }
.entrada h1::after { content: "."; color: var(--acento); }
.entrada p { color: var(--suave); margin: 6px 0 28px; }
.entrada form { text-align: left; }
.entrada .botao { width: 100%; }
body:has(.entrada) { background: radial-gradient(60% 50% at 85% 10%, #ece9ff 0%, transparent 70%), radial-gradient(50% 45% at 10% 95%, #e3f6ef 0%, transparent 70%), var(--fundo); min-height: 100vh; }

/* Aviso flutuante */
#aviso { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--tinta); color: #fff; padding: 12px 20px; border-radius: 14px; max-width: min(560px, 100% - 32px); z-index: 30; box-shadow: var(--sombra-alta); font-weight: 500; }
#aviso.erro { background: var(--perigo); }

@media (max-width: 760px) {
  #raiz { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  aside { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--linha); }
  aside nav { flex-direction: row; overflow-x: auto; width: 100%; order: 3; }
  aside nav a { white-space: nowrap; gap: 8px; }
  aside > button { margin: 0 0 0 auto; align-self: center; }
  .grade, .duas { grid-template-columns: minmax(0, 1fr); }
  main { padding-top: 24px; }
  .entrada { margin: 6vh 16px; padding: 28px 20px; }
}
.linhas { white-space: pre-line; }

/* Regras: lista no estilo da Fonio e painel lateral */
.secao { font-size: 13px; font-weight: 500; color: var(--suave); margin: 8px 0 8px 4px; }
.regras { display: flex; flex-direction: column; margin: -24px; }
.regra { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border: 0; border-bottom: 1px solid var(--linha); background: none; text-align: left; font: inherit; color: var(--tinta); width: 100%; }
.regra:last-child { border-bottom: 0; }
button.regra { cursor: pointer; }
button.regra:hover { background: var(--area); }
.regra > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.regra small { color: var(--suave); overflow-wrap: anywhere; }
.regra select { width: auto; max-width: 260px; flex-shrink: 0; }
.regra .seta { font-size: 22px; color: var(--suave); }
.adicionar { border: 0; background: none; color: var(--acento); font: inherit; font-weight: 500; padding: 18px; cursor: pointer; }
dialog.lateral { margin: 16px 16px 16px auto; height: calc(100% - 32px); max-height: none; width: min(560px, calc(100% - 32px)); border: 0; border-radius: var(--raio); padding: 0; box-shadow: var(--sombra-alta); color: var(--tinta); background: var(--cartao); }
dialog.lateral::backdrop { background: rgba(15, 15, 25, .35); }
dialog.lateral form { display: flex; flex-direction: column; height: 100%; padding: 28px; }
dialog.lateral header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
dialog.lateral h2 { margin: 0; }
dialog.lateral h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); margin: 24px 0 8px; }
dialog.lateral .corpo { flex: 1; overflow-y: auto; padding-top: 8px; }
dialog.lateral footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; }
.fechar { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--suave); padding: 4px 8px; }
.chave { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0; font-weight: 500; }
.chave input { appearance: none; width: 44px; height: 24px; border-radius: 12px; background: var(--linha-forte); position: relative; cursor: pointer; flex-shrink: 0; transition: background .15s; margin: 0; }
.chave input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.chave input:checked { background: var(--acento); }
.chave input:checked::after { transform: translateX(20px); }
.pares { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.par { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.perigo { color: var(--perigo); }
.cartao > .regras { margin: -24px; }
dialog.lateral form { align-items: stretch; gap: 0; }
dialog.lateral .corpo .campo { margin: 8px 0; }
dialog.lateral footer { align-self: flex-end; }

/* Testar: barra flutuante e janela de teste, como na Fonio */
main { padding-bottom: 120px; }
.barra-teste { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; background: var(--tinta); color: #fff; border-radius: 14px; box-shadow: var(--sombra-alta); z-index: 5; font-weight: 500; }
.barra-teste .botao { background: var(--acento); }
.barra-teste .botao:hover { background: var(--acento-escuro); }
dialog.teste { width: min(520px, calc(100% - 32px)); height: min(720px, calc(100% - 32px)); border: 0; border-radius: var(--raio); padding: 24px; box-shadow: var(--sombra-alta); color: var(--tinta); background: var(--cartao); }
dialog.teste[open] { display: flex; flex-direction: column; gap: 12px; }
dialog.teste::backdrop { background: rgba(15, 15, 25, .35); }
dialog.teste header { display: flex; justify-content: space-between; align-items: center; }
dialog.teste h2 { margin: 0; }
.bolhas { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--area); border-radius: var(--raio-p); }
.bolhas li { max-width: 82%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.bolhas .dele { align-self: flex-start; background: var(--cartao); border: 1px solid var(--linha); border-bottom-left-radius: 4px; }
.bolhas .cliente { align-self: flex-end; background: var(--acento); color: #fff; border-bottom-right-radius: 4px; }
.bolhas .aviso-equipe { background: var(--alerta-claro); color: var(--alerta); border-color: transparent; font-size: 13px; }
dialog.teste form.enviar { flex-direction: row; align-items: stretch; gap: 8px; }
dialog.teste form.enviar input { flex: 1; }
dialog.teste footer { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.encerrar { background: var(--perigo); color: #fff; border: 0; border-radius: var(--raio-p); padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }
dialog.teste { margin: auto; }
@media (min-width: 761px) { .barra-teste { left: calc(50% + 124px); } }

/* Esferas das vozes: gradiente com grão, play no centro, a escolhida maior. */
.orbes { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; margin: 40px 0 24px; }
.orbe-voz { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 120px; cursor: pointer; text-align: center; font-size: 14px; color: var(--suave); }
.orbe-voz:focus-visible .orbe { outline: 2px solid var(--acento); outline-offset: 4px; }
.orbe { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 42%), radial-gradient(circle at 75% 80%, var(--o2), transparent 62%), linear-gradient(140deg, var(--o1), var(--o3));
  background-size: 100% 100%, 180% 180%, 100% 100%; box-shadow: 0 10px 24px -10px var(--o3); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.orbe::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; mix-blend-mode: overlay; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.orbe::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.12);
  -webkit-mask: none; transition: transform .2s; }
.orbe .icone { position: absolute; width: 0; height: 0; border-left: 10px solid var(--tinta); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.tocando .orbe .icone { width: 10px; height: 12px; margin-left: 0; border: 0; border-inline: 3px solid var(--tinta); }
.orbe-voz:hover .orbe { transform: scale(1.05); }
.orbe-voz[aria-pressed="true"] { color: var(--tinta); font-weight: 600; }
.orbe-voz[aria-pressed="true"] .orbe { transform: scale(1.28); box-shadow: 0 18px 36px -12px var(--o3); }
.tocando .orbe { animation: orbe-respira 2.4s ease-in-out infinite, orbe-gira 6s linear infinite; }
@keyframes orbe-respira { 50% { transform: scale(1.36); } }
@keyframes orbe-gira { 50% { background-position: 0 0, 100% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .tocando .orbe { animation: none; } }
.orbe-voz:nth-child(6n+1) { --o1: #5ac8fa; --o2: #0071e3; --o3: #3a3fd6; }
.orbe-voz:nth-child(6n+2) { --o1: #ffb36b; --o2: #ff5e3a; --o3: #c2185b; }
.orbe-voz:nth-child(6n+3) { --o1: #c7b8ff; --o2: #7d5cff; --o3: #2f2a8a; }
.orbe-voz:nth-child(6n+4) { --o1: #8ee6c4; --o2: #19b38a; --o3: #0b6b74; }
.orbe-voz:nth-child(6n+5) { --o1: #ffd27a; --o2: #ff9f0a; --o3: #d1453b; }
.orbe-voz:nth-child(6n+6) { --o1: #9fd3ff; --o2: #ff7eb6; --o3: #6a3fd1; }
.cartao .orbes { justify-content: flex-start; margin: 20px 0 8px; }

/* Aba Ações: agenda e transferência ocupam a linha toda. */
.grade > .cartao:has(.dias-agenda) { grid-column: 1 / -1; }
.dias-agenda { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.lista-agenda { list-style: none; padding: 0; margin: 0 0 12px; }
.lista-agenda li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #0001; }

/* Relatório: resultados e motivos em barras. */
.barras { list-style: none; padding: 0; margin: 12px 0; }
.barras li { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr 36px 40px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #0001; }
.barras .barra { height: 8px; border-radius: 4px; background: #0071e31a; overflow: hidden; }
.barras .barra i { display: block; height: 100%; background: #0071e3; border-radius: 4px; }
.barras strong { text-align: right; }
.barras small { color: #6e6e73; text-align: right; }
.destaque strong { font-size: 32px; }

/* Contatos: o formulário de edição abre embaixo da linha. */
.lista-agenda li.contato { flex-wrap: wrap; }
.lista-agenda li.contato > div { flex-basis: 100%; }
.lista-agenda li.contato > div:empty { display: none; }
.cartao form > .grade { width: 100%; margin: 0; }

.cartao form + div { margin-top: 20px; }

.sistemas fieldset { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; column-gap: 24px; }
.sistemas legend { font-weight: 600; padding: 0; margin-bottom: 2px; }
.sistemas .marcar { margin: 4px 0; }
