/* ============ Motion Check — design system (tema claro/escuro) ============ */
/* Identidade Motion Technology: marinho #000120, ciano #1BD9EF, verde-limao #92FB08. */
/* Cores de status (verde/laranja/vermelho) preservam significado fixo do sistema. */

:root {
  --marinho: #000120; --ciano: #1bd9ef; --ciano-2: #0a8aa0; --verde-marca: #92fb08; --lime: #92fb08;
  --grad: linear-gradient(120deg, #1bd9ef 0%, #3b82f6 100%);
  --acao: #3b82f6;
  --azul: #0e7490; --azul-escuro: #0a1030;
  --primaria: #0e7490;
  --verde: #16a34a; --vermelho: #dc2626; --laranja: #d97706;
  --fundo: #f3f6fb; --card: #ffffff; --superficie-2: #f6f9fc;
  --texto: #0a1030; --cinza: #64708a; --borda: #e5eaf3; --input-bg: #ffffff;
  --azul-suave-bg: #d6f5fb; --azul-suave-fg: #075b6b;
  --alerta-bg: #fef2f2; --alerta-borda: #fecaca;
  --sucesso-bg: #f0fdf4; --sucesso-borda: #bbf7d0;
  --menu-bg: #0b1322; --menu-fg: #c7d2e3; --menu-fg-ativo: #ffffff; --menu-accent: #3b82f6;
  --raio: 14px;
  --sombra-card: 0 1px 2px rgba(2,6,23,.06), 0 10px 26px -20px rgba(2,6,23,.28);
  --sombra-modal: 0 18px 50px -22px rgba(2,6,23,.45);
}
:root[data-theme="dark"] {
  --azul: #5aa2ff; --azul-escuro: #9cc2ff; --primaria: #3b82f6; --ciano-2: #1bd9ef;
  --fundo: #0e1726; --card: #16202f; --superficie-2: #1f2a3b;
  --texto: #e6ecf5; --cinza: #9aa6be; --borda: rgba(255,255,255,.09); --input-bg: #0f1827;
  --azul-suave-bg: rgba(59,130,246,.16); --azul-suave-fg: #93c5fd;
  --alerta-bg: #2a1416; --alerta-borda: #5c2626;
  --sucesso-bg: #0f2417; --sucesso-borda: #1f5235;
  --menu-bg: #0b1322;
  --sombra-card: 0 1px 2px rgba(0,0,0,.4), 0 16px 44px -28px rgba(0,0,0,.7);
  --sombra-modal: 0 22px 60px -25px rgba(0,0,0,.75);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--fundo); color: var(--texto); font-size: 15px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background .2s ease, color .2s ease;
}
h1, h2, h3 { margin: 0 0 .5em; }
h2 { font-size: 1.4rem; }
a { color: var(--azul); text-decoration: none; }
.oculto { display: none !important; }
.muted { color: var(--cinza); font-size: .85em; }

/* ---- login ---- */
.tela-login { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 16px; }
.login-box { background: var(--card); border-radius: var(--raio); padding: 32px; width: 100%; max-width: 390px; box-shadow: var(--sombra-modal); border: 1px solid var(--borda); }
.login-logo-box { display: flex; justify-content: center; margin-bottom: 14px; }
.login-logo { height: 46px; width: auto; display: block; background: #000120; padding: 12px 20px; border-radius: 14px; }
.login-box h1 { text-align: center; color: var(--azul-escuro); font-size: 1.5rem; margin-bottom: 2px; }
.login-box .sub { text-align: center; color: var(--cinza); margin-top: 0; }
.login-powered { text-align: center; margin-top: 18px; font-size: .76rem; color: var(--cinza); letter-spacing: .02em; }
.rodape-login { position: fixed; left: 0; right: 0; bottom: 12px; text-align: center; font-size: .76rem; color: var(--cinza); letter-spacing: .02em; }
.login-tema { position: fixed; top: 12px; right: 14px; z-index: 250; }
.tema-switch { background: transparent; border: 0; padding: 0; cursor: pointer; line-height: 0; -webkit-tap-highlight-color: transparent; }
.tema-switch .ts-track { position: relative; display: inline-block; width: 58px; height: 28px; border-radius: 999px; background: #cbd5e1; transition: background .25s ease; box-shadow: inset 0 1px 2px rgba(2,6,23,.3); }
:root[data-theme="dark"] .tema-switch .ts-track { background: #0b1530; }
.tema-switch .ts-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(2,6,23,.4); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
:root[data-theme="dark"] .tema-switch .ts-knob { transform: translateX(30px); }
.tema-switch .ts-knob svg { width: 14px; height: 14px; }
.tema-switch .ts-sol { color: #f59e0b; display: block; }
.tema-switch .ts-lua { color: #1e293b; display: none; }
:root[data-theme="dark"] .tema-switch .ts-sol { display: none; }
:root[data-theme="dark"] .tema-switch .ts-lua { display: block; }
.tema-switch:focus-visible .ts-track { outline: 2px solid var(--azul); outline-offset: 2px; }

/* ---- formularios ---- */
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .9em; }
input, select, textarea {
  width: 100%; padding: 11px 12px; margin-top: 5px; border: 1px solid var(--borda);
  border-radius: 8px; font-size: 1rem; font-family: inherit; background: var(--input-bg); color: var(--texto);
}
input::placeholder, textarea::placeholder { color: var(--cinza); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--azul); border-color: var(--azul); }
.btn {
  display: inline-block; border: 0; border-radius: 8px; padding: 10px 18px; font-size: 1rem;
  font-weight: 600; cursor: pointer; background: var(--borda); color: var(--texto);
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primario { background: var(--acao); color: #fff; font-weight: 600; }
.btn-primario:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 6px 18px -10px rgba(59,130,246,.7); }
.btn-perigo { background: var(--vermelho); color: #fff; }
.btn-claro { background: var(--card); border: 1px solid var(--borda); color: var(--texto); }
.btn-grande { width: 100%; padding: 14px; font-size: 1.05rem; }
.btn-mini { padding: 5px 10px; font-size: .85rem; }
.alerta { background: var(--alerta-bg); color: var(--vermelho); border: 1px solid var(--alerta-borda); padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; white-space: pre-wrap; }
.sucesso { background: var(--sucesso-bg); color: var(--verde); border-color: var(--sucesso-borda); }

/* ---- campo de senha com botao mostrar/ocultar ---- */
.campo-senha { position: relative; margin-top: 5px; }
.campo-senha input { margin-top: 0; padding-right: 46px; }
.btn-ver-senha {
  position: absolute; top: 0; right: 0; height: 100%; width: 44px; padding: 0;
  border: 0; background: transparent; color: var(--cinza); cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 0 8px 8px 0;
}
.btn-ver-senha:hover { color: var(--azul); }
.btn-ver-senha:focus-visible { outline: 2px solid var(--azul); outline-offset: -2px; }
.btn-ver-senha svg { width: 22px; height: 22px; }

/* ---- toast nao-bloqueante ---- */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  padding: 11px 18px; border-radius: 8px; font-size: .92rem; font-weight: 600;
  box-shadow: 0 4px 14px rgba(2,6,23,.14); opacity: 1; pointer-events: none; transition: opacity .3s ease;
}
.toast.toast-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.toast.toast-erro { background: #fef2f2; color: var(--vermelho); border: 1px solid #fecaca; }
.toast.toast-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.toast.toast-sucesso { background: var(--sucesso-bg); color: var(--verde); border: 1px solid var(--sucesso-borda); }
.toast.saindo { opacity: 0; }

/* ---- pergunta informativa ---- */
.pergunta-informativa { background: var(--azul-suave-bg); }

/* ---- faixa de aviso de homologacao ---- */
.faixa-homolog {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #fef3c7; color: #92400e; border-bottom: 1px solid #fcd34d;
  font-size: 12px; font-weight: 600; text-align: center; padding: 4px;
}
body.com-faixa-homolog { padding-top: 24px; }

/* ---- layout do painel (sidebar + header + conteúdo) ---- */
.layout { display: flex; min-height: 100vh; }
.menu {
  width: 240px; background: var(--menu-bg); color: var(--menu-fg); padding: 14px 12px;
  display: flex; flex-direction: column; gap: 2px; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
body.com-faixa-homolog .menu { top: 24px; height: calc(100vh - 24px); }
.menu .logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.1rem; font-weight: 700; padding: 6px 10px 16px; }
.menu .logo .logo-img { height: 30px; width: auto; display: block; }
.menu-fechar { display: none; background: transparent; border: 0; color: rgba(255,255,255,.85); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 2px; margin-left: auto; }
.menu-nav { display: flex; flex-direction: column; gap: 3px; }
.menu a { color: var(--menu-fg); padding: 10px 12px; display: flex; align-items: center; gap: 11px; border-radius: 9px; font-size: .94rem; font-weight: 500; transition: background .12s ease, color .12s ease; }
.menu a .ico { width: 19px; height: 19px; flex-shrink: 0; opacity: .85; }
.menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.menu a.ativo { background: rgba(59,130,246,.16); color: #fff; }
.menu a.ativo .ico { opacity: 1; color: var(--menu-accent); }
.menu .rodape { margin-top: auto; padding: 14px 12px 4px; }
.menu .powered { display: block; font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: .02em; }

.area { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 22px; background: var(--card); border-bottom: 1px solid var(--borda); min-height: 58px;
}
body.com-faixa-homolog .topbar { top: 24px; }
.tb-esq { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tb-burger { display: none; background: transparent; border: 0; color: var(--texto); cursor: pointer; padding: 4px; }
.tb-burger .ico { width: 24px; height: 24px; }
.tb-crumb { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--cinza); min-width: 0; }
.tb-crumb-base { font-weight: 600; color: var(--texto); }
.tb-crumb #tbCrumb { font-weight: 600; color: var(--texto); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-dir { display: flex; align-items: center; gap: 12px; }
.conteudo { flex: 1; padding: 24px; width: 100%; max-width: 1240px; margin: 0 auto; }

.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%); flex-shrink: 0; }
.avatar-iniciais { width: 34px; height: 34px; font-size: .85rem; }
.avatar-grande { width: 64px; height: 64px; font-size: 1.4rem; }
:root[data-theme="dark"] .avatar { background: linear-gradient(135deg, #1bd9ef 0%, #0e63d6 100%); color: #00121a; }

.tb-user-wrap { position: relative; }
.tb-user { display: flex; align-items: center; gap: 9px; background: transparent; border: 1px solid transparent; border-radius: 99px; padding: 4px 10px 4px 4px; cursor: pointer; color: var(--texto); }
.tb-user:hover { background: var(--superficie-2); border-color: var(--borda); }
.tb-user-nome { font-size: .9rem; font-weight: 600; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-user .ico-caret { width: 16px; height: 16px; color: var(--cinza); }
.tb-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--borda); border-radius: 12px; box-shadow: var(--sombra-modal); padding: 6px; min-width: 204px; z-index: 60; }
.tb-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--texto); font-size: .9rem; font-weight: 500; }
.tb-menu a .ico { width: 17px; height: 17px; color: var(--cinza); }
.tb-menu a:hover { background: var(--superficie-2); }
.tb-sep { height: 1px; background: var(--borda); margin: 5px 6px; }

.perfil-card { max-width: 680px; }
.perfil-topo { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--borda); margin-bottom: 16px; }
.perfil-nome { font-size: 1.25rem; font-weight: 700; }
.perfil-id .tag { margin-top: 6px; }
.perfil-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 24px; }
.perfil-grid > div { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.rotulo { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cinza); font-weight: 700; }
.perfil-acoes { margin-top: 18px; }
.perfil-obs { margin-top: 12px; }
.dica-senha { margin: -8px 0 10px; font-size: .82rem; }

.vazio { text-align: center; padding: 46px 20px; color: var(--cinza); }
.vazio .vazio-ico { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--borda); }
.vazio h3 { color: var(--texto); margin-bottom: 6px; font-size: 1.05rem; }
.vazio p { margin: 0 auto; max-width: 360px; font-size: .9rem; }

@media (max-width: 860px) {
  .menu {
    position: fixed; left: 0; top: 0; height: 100vh; z-index: 120; width: 250px;
    transform: translateX(-100%); transition: transform .25s ease; box-shadow: 0 0 40px rgba(0,0,0,.45);
  }
  body.com-faixa-homolog .menu { top: 0; height: 100vh; }
  body.menu-aberto .menu { transform: translateX(0); }
  body.menu-aberto::after { content: ''; position: fixed; inset: 0; background: rgba(2,6,23,.5); z-index: 110; }
  .tb-burger { display: inline-flex; }
  .menu-fechar { display: inline-flex; }
  .topbar { padding: 10px 14px; }
  .tb-user-nome { display: none; }
  .tb-crumb-base, .tb-crumb-sep { display: none; }
  .conteudo { padding: 16px 14px; }
}

/* ---- cards / tabelas ---- */
.card { background: var(--card); border-radius: var(--raio); padding: 18px; margin-bottom: 16px; box-shadow: var(--sombra-card); border: 1px solid var(--borda); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kpi { position: relative; background: var(--card); border-radius: 14px; padding: 16px 16px 16px 20px; text-align: left; box-shadow: var(--sombra-card); border: 1px solid var(--borda); overflow: hidden; }
.kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.kpi .num { font-size: 2rem; font-weight: 800; color: var(--texto); line-height: 1.1; letter-spacing: -.02em; }
.kpi .rotulo { color: var(--cinza); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-top: 5px; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--raio); overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--borda); font-size: .92em; }
th { background: var(--superficie-2); color: var(--cinza); font-size: .8em; text-transform: uppercase; letter-spacing: .03em; }
tr:hover td { background: var(--superficie-2); }
.tabela-scroll { overflow-x: auto; border-radius: var(--raio); box-shadow: var(--sombra-card); }
.os-link { color: var(--azul); font-weight: 700; text-decoration: none; }
.os-link:hover { text-decoration: underline; }

.tag { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78em; font-weight: 700; }
.tag-verde { background: #dcfce7; color: #166534; }
.tag-vermelho { background: #fee2e2; color: #991b1b; }
.tag-laranja { background: #fef3c7; color: #92400e; }
.tag-azul { background: #dbeafe; color: #1e40af; }
.tag-cinza { background: #e2e8f0; color: #475569; }

.barra-acoes { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filtros { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.filtros label { margin-bottom: 0; }

/* ---- modal ---- */
.modal-fundo { position: fixed; inset: 0; background: rgba(2,6,23,.5); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 14px; }
.modal { background: var(--card); color: var(--texto); border-radius: var(--raio); padding: 22px; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; border: 1px solid var(--borda); }
.modal h3 { margin-bottom: 14px; }
.modal .acoes { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.linha-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-linha { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-bottom: 8px; }
.check-linha input { width: auto; margin: 0; }

/* ---- termos de uso (modal bloqueante LGPD) ---- */
.termos-scroll {
  max-height: 48vh; overflow-y: auto; border: 1px solid var(--borda); border-radius: 8px;
  padding: 12px 14px; background: var(--superficie-2); margin-bottom: 12px;
}
.termos-scroll h4 { margin: 12px 0 6px; }
.termos-scroll h4:first-child { margin-top: 0; }
.pre-linha { white-space: pre-wrap; font-size: .9em; margin: 0 0 8px; }
.aviso-homologacao {
  background: #fef3c7; color: #92400e; border: 1px solid #fde68a;
  padding: 8px 12px; border-radius: 8px; font-size: .88em; font-weight: 600; margin-bottom: 12px;
}

/* ---- preenchimento (mobile-first) ---- */
.preencher { max-width: 640px; margin: 0 auto; }
.pergunta-card { background: var(--card); border-radius: var(--raio); padding: 16px; margin-bottom: 12px; box-shadow: var(--sombra-card); border: 1px solid var(--borda); }
.pergunta-card .titulo { font-weight: 700; margin-bottom: 10px; }
.pergunta-card .obrig { color: var(--vermelho); }
.opcoes-botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.opcao-btn {
  flex: 1; min-width: 90px; padding: 13px 10px; border: 2px solid var(--borda); border-radius: 8px;
  background: var(--card); color: var(--texto); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: center;
}
.opcao-btn.sel { border-color: var(--azul); background: var(--azul-suave-bg); color: var(--azul-suave-fg); }
.opcao-btn.sel-na { border-color: var(--cinza); background: var(--borda); color: var(--texto); }
.fotos-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fotos-row img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; border: 1px solid var(--borda); }
.foto-thumb { position: relative; }
.foto-thumb button { position: absolute; top: -6px; right: -6px; background: var(--vermelho); color: #fff; border: 0; border-radius: 99px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; cursor: pointer; font-size: 16px; line-height: 1; transform: translate(12px, -12px); }
canvas.assinatura { width: 100%; height: 170px; border: 2px dashed var(--borda); border-radius: 8px; background: #fff; touch-action: none; }
.rodape-envio { position: sticky; bottom: 0; background: var(--fundo); padding: 12px 0; display: flex; gap: 10px; }
.rodape-envio .btn { flex: 1; padding: 14px; }
.info-sla { font-size: .85em; color: var(--cinza); }

/* ---- lista de tarefas (operacional) ---- */
.tarefa {
  background: var(--card); border-radius: var(--raio); padding: 16px; margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  box-shadow: var(--sombra-card); border: 1px solid var(--borda); cursor: pointer;
}
.tarefa:active { transform: scale(.99); }
.tarefa .nome { font-weight: 700; }

/* ---- barras simples do dashboard ---- */
.barras { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.barras .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.barras .bar { width: 100%; background: var(--azul); border-radius: 4px 4px 0 0; min-height: 3px; }
.barras .leg { font-size: .62em; color: var(--cinza); transform: rotate(-45deg); white-space: nowrap; }

/* ---- relatorio / impressao ---- */
.relatorio .cab { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--texto); padding-bottom: 10px; margin-bottom: 14px; }
.relatorio .cab .marca { display: flex; align-items: center; gap: 8px; }
.relatorio .cab .marca img { height: 26px; width: auto; }
.relatorio table { box-shadow: none; }
.conf-num { font-size: 2.2rem; font-weight: 800; }
@media print {
  :root { --fundo: #fff; --card: #fff; --texto: #0f172a; --borda: #ccc; --superficie-2: #fff; --cinza: #555; --input-bg: #fff; }
  .menu, .topbar, .barra-acoes, .topo-mobile, .nao-imprimir, .faixa-homolog, .login-tema { display: none !important; }
  body { background: #fff; color: #000; }
  body.com-faixa-homolog { padding-top: 0; }
  .conteudo { padding: 0; max-width: none; }
  .card, table { box-shadow: none; border: 1px solid #ccc; }
  .card { page-break-inside: avoid; }
  tr { page-break-inside: avoid; }
  .foto-thumb { page-break-inside: avoid; }
}

/* ---- utilitario: botao de foto com alvo 44px ---- */
.btn-foto { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* ===== Fluxo de senhas (login: lembrar/esqueci, modal, tela definir-senha) ===== */
.login-extra { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; flex-wrap: wrap; }
.lembrar { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--cinza); font-size: .9rem; user-select: none; }
.lembrar input { width: 16px; height: 16px; margin: 0; accent-color: var(--azul); }
.link-esqueci { color: var(--azul); font-size: .9rem; text-decoration: none; }
.link-esqueci:hover { text-decoration: underline; }
.voltar-login { text-align: center; margin-top: 16px; font-size: .9rem; }
.voltar-login a { color: var(--cinza); text-decoration: none; }
.voltar-login a:hover { color: var(--azul); text-decoration: underline; }
.req-list { list-style: none; padding: 12px 14px; margin: 12px 0; background: var(--superficie-2); border: 1px solid var(--borda); border-radius: 8px; font-size: .86rem; color: var(--cinza); }
.req-list li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.req-list li.req-ok { color: var(--verde); }
.req-ico { display: inline-block; width: 16px; text-align: center; font-weight: 700; }
.ok-box { background: var(--sucesso-bg); color: var(--verde); border: 1px solid var(--sucesso-borda); padding: 12px 14px; border-radius: 8px; text-align: center; font-weight: 700; margin-bottom: 10px; }
.mc-modal-overlay { position: fixed; inset: 0; background: rgba(2,6,23,.5); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 1000; }
.mc-modal { background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra-modal); width: 100%; max-width: 400px; padding: 22px; }
.mc-modal h3 { margin: 0 0 6px; color: var(--azul-escuro); }
.mc-modal-sub { color: var(--cinza); font-size: .9rem; margin: 0 0 14px; }
.mc-modal label { display: block; margin-bottom: 4px; font-size: .9rem; color: var(--texto); }
.mc-modal input { width: 100%; padding: 10px 12px; border: 1px solid var(--borda); border-radius: 8px; background: var(--input-bg); color: var(--texto); }
.mc-modal-acoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.mc-modal-msg { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: .88rem; }
.mc-modal-ok { background: var(--sucesso-bg); color: var(--verde); border: 1px solid var(--sucesso-borda); }
.mc-modal-info { background: var(--azul-suave-bg); color: var(--azul-suave-fg); border: 1px solid var(--azul-suave-bg); }

/* ---- avatar com foto + prévia de upload ---- */
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avatar.tem-foto { background: none; }
.foto-preview { display: flex; justify-content: center; margin: 12px 0; }
.avatar-img-prev { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--borda); }
.foto-preview .avatar-grande { width: 96px; height: 96px; font-size: 1.9rem; }
input[type=file] { padding: 9px 10px; background: var(--input-bg); border: 1px dashed var(--borda); border-radius: 8px; cursor: pointer; }

/* ---- gráfico de linha (SVG) do dashboard ---- */
.grafico { width: 100%; height: auto; display: block; margin-top: 4px; }
.gc-grid { stroke: var(--borda); stroke-width: 1; }
.gc-axis { fill: var(--cinza); font-size: 10px; }
.gc-area { fill: var(--ciano); opacity: .14; }
.gc-linha { fill: none; stroke: var(--ciano); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.gc-dot { fill: var(--ciano); stroke: var(--card); stroke-width: 1.5; }
.vazio-mini { padding: 24px 0; text-align: center; }

/* ---- rodapé Motion no checklist preenchido (tela + impressão) ---- */
.relatorio .card { display: flex; flex-direction: column; min-height: 245mm; }
.relatorio-rodape { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--borda); color: var(--cinza); font-size: .8rem; letter-spacing: .02em; }
.relatorio-rodape .rr-logo { height: 26px; width: auto; border-radius: 5px; }
@media print { .relatorio-rodape { border-top: 1px solid #ccc; color: #555; } }

/* Lixeira: painel lateral de filtros */
.lx-layout { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; }
.lx-painel { display: flex; flex-direction: column; gap: 10px; padding: 14px; position: sticky; top: 12px; }
.lx-painel-cab { display: flex; align-items: center; justify-content: space-between; }
.lx-painel label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--cinza); }
.lx-painel input, .lx-painel select { width: 100%; }
.lx-grupo { display: flex; flex-direction: column; gap: 6px; }
.lx-grupo .lx-leg { font-size: .82rem; color: var(--cinza); }
.lx-grupo .lx-mini { flex-direction: row; align-items: center; gap: 6px; }
.lx-grupo .lx-mini input { flex: 1; }
@media (max-width: 760px) { .lx-layout { grid-template-columns: 1fr; } .lx-painel { position: static; } }

/* Busca + ordenação nas listas dos menus */
.lista-busca { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.lista-busca input[type="search"] { flex: 0 1 320px; min-width: 160px; }
.lista-busca .lb-info { font-size: .82rem; white-space: nowrap; }
th.th-ord { cursor: pointer; user-select: none; position: relative; }
th.th-ord:hover { color: var(--primaria); }
th.th-ord::after { content: '↕'; opacity: .35; font-size: .8em; margin-left: 5px; }
th.th-ord[data-ord="asc"]::after { content: '↑'; opacity: 1; }
th.th-ord[data-ord="desc"]::after { content: '↓'; opacity: 1; }

/* Construtor visual de checklist (cards + drag-drop + preview) */
.cb-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 4px; }
.cb-cab-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-status { font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.cb-status-on { color: #137a37; background: rgba(19,122,55,.12); }
.cb-status-off { color: #9a6700; background: rgba(154,103,0,.12); }
.cb-dica { font-size: .8rem; }
.cb-lista { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cb-vazio { padding: 26px; text-align: center; border: 1px dashed var(--borda); border-radius: 12px; }
.cb-card { display: flex; align-items: center; gap: 12px; background: var(--card, #fff); border: 1px solid var(--borda); border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: box-shadow .15s, border-color .15s; }
.cb-card:hover { border-color: var(--primaria); box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.cb-card.cb-arrastando { opacity: .45; border-style: dashed; }
.cb-handle { cursor: grab; color: var(--cinza); font-size: 1.2rem; line-height: 1; padding: 0 2px; user-select: none; }
.cb-handle:active { cursor: grabbing; }
.cb-num { min-width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primaria); color: #fff; font-size: .8rem; font-weight: 600; flex: none; }
.cb-corpo { flex: 1; min-width: 0; }
.cb-titulo { font-weight: 600; }
.cb-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.cb-tipo { font-size: .72rem; font-weight: 600; color: var(--primaria); background: rgba(37,99,235,.10); padding: 2px 8px; border-radius: 6px; }
.cb-flag { font-size: .72rem; color: var(--cinza); background: var(--fundo, #f3f4f6); padding: 2px 8px; border-radius: 6px; }
.cb-acoes { display: flex; gap: 6px; flex: none; }
@media (max-width: 640px) {
  .cb-card { flex-wrap: wrap; }
  .cb-acoes { width: 100%; justify-content: flex-end; margin-top: 4px; }
}
/* Pré-visualização */
.pv-scroll { max-height: 60vh; overflow: auto; padding: 4px 2px; display: flex; flex-direction: column; gap: 14px; }
.pv-q { border-bottom: 1px solid var(--borda); padding-bottom: 12px; }
.pv-q:last-child { border-bottom: none; }
.pv-qt { font-weight: 600; margin-bottom: 6px; }
.pv-ob { color: #c92a2a; }
.pv-q input, .pv-q textarea { width: 100%; max-width: 340px; }
.pv-ops { display: flex; flex-direction: column; gap: 5px; }
.pv-ops label { font-weight: 400; display: flex; align-items: center; gap: 7px; }
.pv-nota { font-size: .82rem; color: var(--cinza); }
.pv-info .pv-qt { color: var(--primaria); border-left: 3px solid var(--primaria); padding-left: 8px; }

/* Logo do cliente (upload em filial/modelo + exibição no relatório) */
.logo-box { display: flex; flex-direction: column; gap: 7px; padding: 12px; border: 1px solid var(--borda); border-radius: 10px; margin: 4px 0; background: var(--fundo, #f9fafb); }
.logo-lbl { font-size: .82rem; font-weight: 600; color: var(--cinza); }
.logo-row { min-height: 24px; }
.logo-prev { max-height: 56px; max-width: 180px; border-radius: 6px; background: #fff; border: 1px solid var(--borda); padding: 4px; object-fit: contain; }
.logo-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.logo-dica { font-size: .74rem; }
.rel-logo-cli { max-height: 60px; max-width: 200px; object-fit: contain; margin-right: 16px; border-radius: 6px; }
@media (max-width: 640px) { .rel-logo-cli { max-height: 44px; margin-bottom: 8px; } }

/* Submenu do menu lateral — grupos expansíveis (ex.: "Checklists") */
.menu-grupo { display: flex; flex-direction: column; }
.menu-grupo-cab { color: var(--menu-fg); padding: 10px 12px; display: flex; align-items: center; gap: 11px; border-radius: 9px; font-size: .94rem; font-weight: 500; background: none; border: 0; width: 100%; text-align: left; font-family: inherit; cursor: pointer; transition: background .12s ease, color .12s ease; }
.menu-grupo-cab .ico { width: 19px; height: 19px; flex-shrink: 0; opacity: .85; }
.menu-grupo-cab:hover { background: rgba(255,255,255,.07); color: #fff; }
.menu-grupo-cab .caret { width: 15px; height: 15px; margin-left: auto; opacity: .7; transition: transform .15s ease; }
.menu-grupo.aberto > .menu-grupo-cab .caret { transform: rotate(180deg); }
.menu-sub { display: flex; flex-direction: column; gap: 3px; overflow: hidden; max-height: 0; transition: max-height .2s ease; }
.menu-grupo.aberto > .menu-sub { max-height: 320px; margin-top: 3px; }
.menu-sub a { padding-left: 42px; font-size: .9rem; }

/* ===== Polimento da identidade Motion (moderno, sério, sem neon) ===== */
.card > h3:first-child, .card > h2:first-child { display: flex; align-items: center; gap: 9px; }
.card > h3:first-child::before, .card > h2:first-child::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ciano);
  box-shadow: 0 0 0 3px rgba(27,217,239,.16); flex: none;
}
h2 { font-weight: 700; letter-spacing: -.01em; }
.menu a.ativo { box-shadow: inset 3px 0 0 var(--menu-accent); }
.kpi { transition: transform .12s ease, box-shadow .12s ease; }
.kpi:hover { transform: translateY(-2px); box-shadow: var(--sombra-modal); }
.grafico { margin-top: 8px; }
:root[data-theme="dark"] th { background: rgba(255,255,255,.04); color: var(--cinza); }
:root[data-theme="dark"] tr:hover td { background: rgba(255,255,255,.04); }
.btn-primario:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }
/* Abas dos módulos (Checklists = mesmo destaque do WC Control; ativo = pílula sólida) */
.ck-abas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; border-bottom: 1px solid var(--borda); padding-bottom: 8px; }
.ck-aba { padding: 8px 14px; border-radius: 9px; color: var(--cinza); text-decoration: none; font-size: 14px; font-weight: 600; }
.ck-aba:hover { background: var(--superficie-2); color: var(--texto); }
.ck-aba.ativo { background: var(--acao); color: #fff; }
.tb-crumb-link { cursor: pointer; }
.tb-crumb-link:hover { color: var(--acao); text-decoration: underline; }
/* Faixa de impersonação (master acessando conta de cliente) */
.imp-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: #f59e0b; color: #1a1a1a; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.imp-banner b { font-weight: 800; }

/* ===== Tela inicial (visão geral de módulos) ===== */
.home-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--grad); color: #fff; border-radius: var(--raio); padding: 20px 22px; margin: 0 0 18px;
  box-shadow: var(--sombra-card); }
.home-hero h2 { color: #fff; }
.home-hero .muted { color: rgba(255,255,255,.85); }
.home-mod { margin-bottom: 16px; }
.home-mod-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.home-mod-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.home-mod-head h3 .ico { width: 20px; height: 20px; color: var(--acao); }

/* ===== Relatórios: cartões de modelo selecionáveis ===== */
.rel-templates { margin: 14px 0; }
.rel-tpl { text-align: left; cursor: pointer; border: 1px solid var(--borda); background: var(--card); color: var(--texto);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.rel-tpl:hover { transform: translateY(-2px); box-shadow: var(--sombra-modal); }
.rel-tpl h3 { margin: 0 0 4px; font-size: 15px; color: var(--texto); }
.rel-tpl p { margin: 0; }
.rel-tpl.ativo { border-color: var(--acao); box-shadow: inset 0 0 0 1px var(--acao); }

/* ===== Impressão / Exportar PDF (captura só o conteúdo com os filtros atuais) ===== */
@media print {
  body.print-dash .menu, body.print-dash .topbar, body.print-dash #toast-container,
  body.print-dash .barra-acoes, body.print-dash .lista-busca,
  body.print-dash #fBtn, body.print-dash #fLimpar, body.print-dash #fPdf,
  body.print-dash #wcBtn, body.print-dash #wcLimpar, body.print-dash #wcPdf,
  body.print-dash #hPdf, body.print-dash #relPdf, body.print-dash .rel-templates,
  body.print-dash .ck-abas, body.print-dash .aviso-homologacao { display: none !important; }
  body.print-dash .layout, body.print-dash .area, body.print-dash .conteudo { display: block !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; }
  body.print-dash, body.print-dash.com-faixa-homolog { padding-top: 0 !important; }
  body.print-dash .conteudo > *:first-child, body.print-dash h2:first-child { margin-top: 0 !important; }
  body.print-dash .card, body.print-dash .kpi { break-inside: avoid; box-shadow: none; }
  body.print-dash, body.print-dash .card, body.print-dash .kpi, body.print-dash .grafico, body.print-dash .tag, body.print-dash .num { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body.print-dash { background: #fff; }
}
@page { margin: 12mm; }

/* ===== Lista de modelos: ações consistentes + menu "Mais ações" ===== */
/* Célula de ações da tabela de modelos: botão primário + dropdown alinhados. */
.tbl-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tbl-acoes .btn { white-space: nowrap; }
/* Dropdown simples reaproveitável (toggle via classe .aberto adicionada no JS). */
.menu-acoes { position: relative; display: inline-block; }
.menu-acoes-btn { min-width: 38px; }
.menu-acoes-lista {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 188px;
  background: var(--card); border: 1px solid var(--borda); border-radius: 10px;
  box-shadow: var(--sombra-modal); padding: 6px; display: none; flex-direction: column; gap: 2px;
}
.menu-acoes.aberto .menu-acoes-lista { display: flex; }
.menu-acoes-lista button {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  background: none; border: 0; color: var(--texto); font: inherit; font-size: .9rem;
  padding: 8px 10px; border-radius: 7px; cursor: pointer;
}
.menu-acoes-lista button:hover { background: var(--superficie-2); }
.menu-acoes-lista button.item-perigo { color: var(--vermelho, #dc2626); }
.menu-acoes-lista button.item-perigo:hover { background: rgba(220,38,38,.10); }
.menu-acoes-sep { height: 1px; background: var(--borda); margin: 4px 2px; }
@media (max-width: 640px) {
  .menu-acoes-lista { right: auto; left: 0; }
}

/* ===== Cabeçalho "Editar checklist" (contexto do construtor) ===== */
.cb-titulo-pagina { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.cb-sub { font-size: .85rem; color: var(--cinza); margin: 4px 0 0; }
.cb-nome-checklist { font-weight: 600; }

/* P12: select buscável */
.sb-wrap { position: relative; }
.sb-input { width: 100%; box-sizing: border-box; }
.sb-dd { position: absolute; left: 0; right: 0; top: calc(100% + 2px); z-index: 90; background: var(--card); border: 1px solid var(--borda); border-radius: 8px; box-shadow: var(--sombra-modal); max-height: 240px; overflow-y: auto; }
.sb-opt { padding: 7px 10px; cursor: pointer; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-opt:hover, .sb-opt.sb-sel { background: rgba(59,130,246,.14); }

/* ---- Indicadores offline/PWA ---- */
.off-indic{display:flex;align-items:center;gap:8px;margin-right:6px}
.off-dot{width:10px;height:10px;border-radius:50%;background:#9ca3af;display:inline-block;flex:0 0 auto}
.off-dot.on{background:#22c55e}
.off-dot.off{background:#ef4444}
.off-sync{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--borda,#334155);background:transparent;color:inherit;border-radius:999px;padding:3px 10px;font-size:13px;line-height:1;cursor:pointer}
.off-sync.oculto{display:none}

/* ===== F2 mobile (mc66) ===== */
/* A) Bottom-nav fixa — só telas <=760px. Some no desktop, na impressão (.nao-imprimir),
   no login (a barra nem é criada lá) e na tela de preenchimento (body.preenchendo,
   onde o rodapé fixo de envio assume o lugar dela). */
.bottom-nav { display: none; }
@media screen and (max-width: 760px) {
  .bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; align-items: stretch; gap: 2px;
    background: var(--card); border-top: 1px solid var(--borda);
    padding: 6px max(10px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    box-shadow: 0 -6px 24px -12px rgba(2, 6, 23, .35);
  }
  .bottom-nav a, .bottom-nav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; padding: 4px 2px; border: 0; border-radius: 10px; background: none;
    color: var(--cinza); font-family: inherit; font-size: .68rem; font-weight: 600; letter-spacing: .01em;
    cursor: pointer; text-decoration: none; position: relative; -webkit-tap-highlight-color: transparent;
  }
  .bottom-nav .ico { width: 22px; height: 22px; }
  .bottom-nav a.ativo { color: var(--acao); }
  .bottom-nav a:active, .bottom-nav button:active { background: var(--superficie-2); }
  .bn-badge {
    position: absolute; top: 1px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 99px; background: var(--laranja); color: #fff; font-size: .66rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 0 0 2px var(--card);
  }
  .bn-badge.oculto { display: none; }
  #bnSync.bn-off .ico { opacity: .45; }
  /* A barra não cobre o fim do conteúdo, os toasts nem o badge de versão. */
  .conteudo { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .toast-container { left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); align-items: center; }
  body.tem-bottom-nav #mcVersao { bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  body.tem-bottom-nav.preenchendo #mcVersao { bottom: calc(92px + env(safe-area-inset-bottom)) !important; }
  body.preenchendo .bottom-nav { display: none; }
  body.preenchendo .conteudo { padding-bottom: 16px; }
  body.preenchendo .toast-container { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* B) Tabelas -> cards no celular (opt-in): <table class="t-cards"> com <tr class="t-head">
   no cabeçalho e td[data-th="Rótulo"] nas células. Cada linha vira um card; o cabeçalho
   some e o rótulo aparece via td::before. Células sem data-th (ações) alinham à direita.
   Relatórios gerenciais continuam no padrão .tabela-scroll (overflow-x) — não usar lá. */
@media screen and (max-width: 640px) {
  .t-cards-scroll { overflow: visible; box-shadow: none; border-radius: 0; }
  table.t-cards { display: block; background: transparent; border-radius: 0; box-shadow: none; }
  .t-cards tbody { display: block; }
  .t-cards thead, .t-cards tr.t-head { display: none; }
  .t-cards tr {
    display: block; background: var(--card); border: 1px solid var(--borda);
    border-radius: var(--raio); box-shadow: var(--sombra-card); margin-bottom: 10px; padding: 4px 0;
  }
  .t-cards td {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 7px 14px; border-bottom: 1px solid var(--borda); font-size: .92rem; text-align: right;
  }
  .t-cards td:last-child { border-bottom: 0; }
  .t-cards td::before {
    content: attr(data-th); flex-shrink: 0;
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    color: var(--cinza); text-align: left; padding-top: 2px;
  }
  .t-cards td:not([data-th]) { justify-content: flex-end; }
  .t-cards td:not([data-th])::before { content: none; }
  .t-cards td[colspan] { justify-content: center; text-align: center; }
  .t-cards tr:hover td { background: transparent; }
}

/* C) Preenchimento: barra de progresso sticky + alvos de toque maiores + envio fixo. */
.fill-progresso {
  position: sticky; top: 58px; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--borda); border-radius: 10px;
  padding: 9px 14px; margin: 0 0 12px; box-shadow: var(--sombra-card);
}
body.com-faixa-homolog .fill-progresso { top: 82px; }
.fill-progresso .fp-txt { font-size: .84rem; font-weight: 600; color: var(--cinza); white-space: nowrap; }
.fill-progresso .fp-txt b { color: var(--texto); }
.fill-progresso .fp-track { display: block; flex: 1; height: 8px; border-radius: 99px; background: var(--borda); overflow: hidden; }
.fill-progresso .fp-bar { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--acao); transition: width .18s ease; }
.fill-progresso .fp-bar.fp-cheia { background: var(--verde); }
@media (prefers-reduced-motion: reduce) { .fill-progresso .fp-bar { transition: none; } }
@media screen and (max-width: 640px) {
  .opcao-btn { min-height: 48px; font-size: 1rem; }
  .btn-foto { min-height: 48px; font-size: .95rem; }
}
@media screen and (max-width: 760px) {
  body.preenchendo .rodape-envio {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; margin: 0;
    background: var(--card); border-top: 1px solid var(--borda);
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    box-shadow: 0 -6px 24px -12px rgba(2, 6, 23, .35);
  }
  body.preenchendo .preencher { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
