/* ZylloPag Zap — utilitários do app (substituem os style="" do protótipo, que a CSP não permite) */
.p-12 { padding:12px; } .px-8 { padding:0 8px; } .pt-12 { padding:12px 12px 0; } .mt-4 { margin-top:4px; } .mt-8 { margin-top:8px; } .mt-16 { margin-top:16px; } .mb-8 { margin-bottom:8px; } .mb-16 { margin-bottom:16px; }
.gap-4 { gap:4px; } .w-full { width:100%; } .flex-1 { flex:1; } .h-34 { height:34px; } .fw-600 { font-weight:600; } .pre { white-space:pre-wrap; }
.wmax-520 { max-width:520px; } .wmax-720 { max-width:720px; } .center { text-align:center; } .nowrap { white-space:nowrap; }
.toast { position:fixed; right:16px; bottom:80px; z-index:100; max-width:380px; padding:10px 14px; border-radius:10px; background:var(--text); color:var(--bg); box-shadow:var(--shadow-2); font-size:13.5px; }
.toast.bad { background:var(--bad); color:#fff; } .toast.ok { background:var(--ok); color:#fff; }
.qr-img { width:240px; height:240px; image-rendering:pixelated; background:#fff; border-radius:12px; border:1px solid var(--border); }
.pix-img { width:220px; height:220px; background:#fff; border-radius:12px; }
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.chk-list { max-height:260px; overflow-y:auto; border:1px solid var(--border); border-radius:var(--r); padding:6px; }
.chk-list label { display:flex; gap:8px; align-items:center; padding:4px 6px; border-radius:6px; cursor:pointer; } .chk-list label:hover { background:var(--surface-2); }
.var-box { border:1px solid var(--border); border-radius:var(--r); padding:10px; margin-bottom:8px; background:var(--surface-2); }
.countdown { font-size:28px; font-weight:700; font-variant-numeric:tabular-nums; }
.card-join { max-width:520px; }
.sim-chat { height:360px; overflow-y:auto; background:var(--chat-bg); border-radius:var(--r); padding:10px; display:flex; flex-direction:column; gap:6px; }
.code-json { width:100%; min-height:320px; font-family:var(--mono); font-size:12px; }
.img-prev { max-width:260px; max-height:260px; border-radius:9px; display:block; margin:2px 0 4px; }
.audio-prev { width:260px; max-width:100%; }
.lh-tight { line-height:1.25; }
/* modal longo: corpo rola, cabeçalho e rodapé ficam visíveis */
.modal { max-height:calc(100vh - 32px); display:flex; flex-direction:column; max-width:680px; }
.modal > .card-pad { overflow-y:auto; flex:1; min-height:0; }
.modal > .card-head, .modal > .card-foot { flex:none; padding:12px 16px; }
.modal > .card-foot { border-top:1px solid var(--border); justify-content:flex-end; }
.card .row, .page-head .row { flex-wrap:wrap; }
.main { min-width:0; overflow-x:hidden; }
.table-wrap { max-width:100%; overflow-x:auto; }
.table-wrap > table { width:100%; }
/* ===== fase 2 ===== */
.banner-ro { background:var(--info-soft); color:var(--text); border-bottom:1px solid var(--border); }
.with-banner .banner + .banner { border-top:1px solid rgba(255,255,255,.15); }
button.ev { border:0; width:100%; text-align:left; cursor:pointer; font-family:inherit; display:block; }
button.ev:hover { filter:brightness(.95); } button.ev:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
.ev-mais { background:none; border:0; padding:0 4px; cursor:pointer; font-family:inherit; }
.cal-leg .ev { display:inline-block; margin:0; }
.cal-titulo { min-width:170px; text-align:center; }
.cal.semana > div:not(.dh) { min-height:220px; }
.cal.semana .dn { text-transform:capitalize; }
@media (max-width:760px){
  .cal.semana { grid-template-columns:1fr; } .cal.semana .dh { display:none; }
  .cal.semana > div:not(.dh) { min-height:0; padding:8px 10px; }
  .cal.semana .ev { font-size:12px; padding:4px 8px; width:100%; height:auto; border-radius:5px; display:block; margin:0 0 4px; background:var(--accent-soft); color:var(--accent-text); }
  .cal.semana .ev.st { background:var(--info-soft); color:var(--info); } .cal.semana .ev.pa { background:var(--surface-2); color:var(--muted); }
  .cal-leg { display:none; }
  .cal.mes button.ev { width:7px; }
}
.linkbtn { background:none; border:0; padding:0; color:var(--accent-text); cursor:pointer; font:inherit; text-align:left; }
.linkbtn:hover { text-decoration:underline; }
.previa-box { background:var(--surface-2); }
.bloq { max-width:560px; margin:24px auto; padding:32px 24px; }
.bloq-ico { width:52px; height:52px; border-radius:14px; display:inline-flex; align-items:center; justify-content:center; background:var(--bad-soft); color:var(--bad); }
.bloq-lista { list-style:none; padding:14px 16px; margin:0; background:var(--surface-2); border-radius:var(--r); font-size:13.5px; }
.bloq-lista li { align-items:flex-start; } .bloq-lista .i { flex:none; margin-top:2px; }
.zona-perigo { border-color:color-mix(in srgb, var(--bad) 35%, var(--border)); }
.aceite { align-items:flex-start; font-size:13px; } .aceite .check { margin-top:2px; flex:none; }
.auth-box a { color:var(--accent-text); }
.kpi .v { word-break:break-word; }
.bar-chart div[title] { cursor:default; }
.carregando { color:var(--muted); padding:12px; }
html.modo-ro .btn-danger, html.modo-ro .btn-danger-soft { opacity:.55; }
.grid.g4 .pal-it { margin:0; height:100%; }
.grid.g4 .pal-it .ic { width:32px; height:32px; }
@media (max-width:760px){ .bloq { margin:8px auto; padding:24px 16px; } }
.wmax-120 { max-width:120px; }
.cal.semana .today .dn { width:auto; padding:0 9px; }

/* Entrar com Google (fase 3) */
.i-google path { stroke:none; } .i-google .g-r { fill:#EA4335; } .i-google .g-b { fill:#4285F4; } .i-google .g-y { fill:#FBBC05; } .i-google .g-g { fill:#34A853; }
.btn-google { background:var(--surface, #fff); color:var(--text); border:1px solid var(--border-strong, var(--border)); gap:10px; font-weight:600; }
.btn-google:hover { background:var(--surface-2, var(--bg)); }
.ou { display:flex; align-items:center; gap:12px; color:var(--faint); font-size:13px; }
.ou::before, .ou::after { content:""; flex:1; height:1px; background:var(--border); }
[hidden] { display:none !important; }

/* ===== Admin da plataforma (fase 3) ===== */
.gap-8 { gap:8px; } .gap-12 { gap:12px; } .gap-16 { gap:16px; } .wrap { flex-wrap:wrap; } .min-w-0 { min-width:0; } .mb-12 { margin-bottom:12px; } .mb-20 { margin-bottom:20px; }
.warn-t { color:var(--warn); } .tabular { font-variant-numeric:tabular-nums; }
.acct-int { padding:0 16px 8px; }
.adm-eyebrow { font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-text); margin-bottom:4px; }
.adm-head h2 { font-size:22px; letter-spacing:-.02em; }
.adm-tabs a { text-decoration:none; }
.adm-tabs a .i { opacity:.8; }
.adm-kpis { display:grid; gap:12px; grid-template-columns:repeat(4,minmax(0,1fr)); }
.adm-kpis > * { min-width:0; }
.adm-kpi { padding:16px 18px; display:flex; flex-direction:column; gap:6px; position:relative; overflow:hidden; }
.adm-kpi .v { font-size:24px; line-height:1.15; }
.adm-kpi .l { font-size:12.5px; font-weight:600; color:var(--muted); }
.adm-kpi-ic { width:28px; height:28px; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent-text); }
.adm-kpi.tom-warn .adm-kpi-ic { background:var(--warn-soft); color:var(--warn); } .adm-kpi.tom-bad .adm-kpi-ic { background:var(--bad-soft); color:var(--bad); }
.adm-kpi.tom-warn { box-shadow:inset 3px 0 0 var(--warn); } .adm-kpi.tom-bad { box-shadow:inset 3px 0 0 var(--bad); }
.adm-kpi-sub { line-height:1.35; } .adm-kpi-txt .badge { height:auto; white-space:normal; padding:3px 8px; } .adm-kpi .adm-kpi-txt { font-size:13px; }
.adm-grid { display:grid; gap:16px; grid-template-columns:minmax(0,1fr) 340px; align-items:start; }
.adm-grid > * { min-width:0; }
.adm-chart { width:100%; height:auto; display:block; }
.adm-chart .grade { stroke:var(--border); stroke-width:1; } .adm-chart .eixo { fill:var(--faint); font-size:10.5px; font-family:var(--font); }
.adm-chart .barra { fill:var(--accent); opacity:.85; } .adm-chart .barra:hover { opacity:1; }
.adm-chart .linha { fill:none; stroke:#f59e0b; stroke-width:2; stroke-linejoin:round; } .adm-chart .ponto { fill:#f59e0b; stroke:var(--surface); stroke-width:1.5; }
.adm-legenda .leg { display:inline-block; width:12px; height:10px; border-radius:3px; } .leg-barra { background:var(--accent); } .leg-linha { background:#f59e0b; height:3px !important; }
.adm-feed { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.adm-feed li { display:flex; align-items:center; gap:10px; }
.adm-feed-ic { width:28px; height:28px; border-radius:99px; display:inline-flex; align-items:center; justify-content:center; flex:none; }
.adm-feed-ic.ok { background:var(--ok-soft); color:var(--ok); } .adm-feed-ic.bad { background:var(--bad-soft); color:var(--bad); } .adm-feed-ic.info { background:var(--info-soft); color:var(--info); }
.adm-vazio-t { color:var(--text); margin-bottom:2px; }
.adm-toolbar { display:flex; gap:10px; align-items:center; }
.adm-toolbar .input-group .input { height:40px; } .adm-ord { width:auto; min-width:200px; height:40px; }
.adm-chips { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px; }
.chip-f { display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:99px; border:1px solid var(--border); background:var(--surface); color:var(--text-2); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.chip-f .n { font-size:11px; font-weight:700; padding:0 6px; border-radius:99px; background:var(--surface-2); color:var(--muted); font-variant-numeric:tabular-nums; }
.chip-f[aria-pressed="true"] { background:var(--text); color:var(--bg); border-color:var(--text); } .chip-f[aria-pressed="true"] .n { background:rgba(255,255,255,.18); color:inherit; }
.chip-f:focus-visible { outline:none; box-shadow:var(--ring); }
.adm-lista { overflow:hidden; } .adm-lista[aria-busy="true"] { opacity:.6; transition:opacity .15s; }
tr.clicavel { cursor:pointer; } tr.clicavel:focus-visible td { background:var(--accent-soft); outline:none; }
.adm-t td:last-child { width:28px; }
.adm-pag { padding:12px 2px; }
.adm-voltar { display:inline-flex; color:var(--muted); text-decoration:none; margin-bottom:10px; font-weight:600; } .adm-voltar:hover { color:var(--text); }
.adm-cli-head { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.adm-cli-head h2 { font-size:20px; letter-spacing:-.01em; margin-bottom:4px; }
.adm-avatar { width:48px; height:48px; font-size:16px; border-radius:14px; flex:none; }
.adm-kpis-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.adm-dl { display:grid; grid-template-columns:auto 1fr; gap:6px 12px; margin:0; font-size:13px; } .adm-dl dt { color:var(--muted); } .adm-dl dd { margin:0; text-align:right; }
.adm-tl { list-style:none; margin:0; padding:0 0 0 14px; border-left:2px solid var(--border); display:flex; flex-direction:column; gap:10px; max-height:420px; overflow:auto; }
.adm-tl li { position:relative; } .adm-tl li::before { content:""; position:absolute; left:-20px; top:5px; width:10px; height:10px; border-radius:99px; background:var(--surface); border:2px solid var(--accent); }
.adm-uso { display:flex; flex-direction:column; gap:6px; }
.adm-uso-l { display:grid; grid-template-columns:44px 1fr auto; gap:10px; align-items:center; }
.adm-uso-bar { height:8px; border-radius:99px; background:var(--surface-3); overflow:hidden; } .adm-uso-bar span { display:block; height:100%; background:var(--accent); border-radius:99px; min-width:2px; }
.adm-uso-cel { min-width:160px; }
.adm-planos { display:grid; gap:16px; grid-template-columns:repeat(3,minmax(0,1fr)); } .adm-planos > * { min-width:0; }
.adm-preco { font-size:28px; font-weight:700; letter-spacing:-.02em; } .adm-preco span { margin-left:4px; }
.adm-campos { display:grid; gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.adm-copia { background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r); padding:4px 4px 4px 10px; } .adm-copia code { font-size:12px; }
.adm-totp { max-width:440px; margin:24px auto; }
.adm-ico { background:var(--accent-soft) !important; color:var(--accent-text) !important; }
.adm-codigo { text-align:center; font-size:24px; letter-spacing:.4em; font-variant-numeric:tabular-nums; }
@media (max-width:1180px){ .adm-kpis, .adm-kpis-4 { grid-template-columns:repeat(2,minmax(0,1fr)); } .adm-grid { grid-template-columns:minmax(0,1fr); } .adm-planos { grid-template-columns:minmax(0,1fr); } }
@media (max-width:760px){
  .adm-kpis, .adm-kpis-4 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .adm-kpi { padding:12px 14px; } .adm-kpi .v { font-size:19px; }
  .adm-toolbar { flex-direction:column; align-items:stretch; } .adm-ord { width:100%; }
  .adm-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; } .chip-f { flex:none; }
  .adm-head .row { flex-wrap:wrap; }
  .adm-campos { grid-template-columns:minmax(0,1fr); }
  .adm-t td:last-child { display:none; }
}
.adm-kpi-top { flex-wrap:nowrap; } .adm-kpi-top .l { min-width:0; }
@media (max-width:760px){ .adm-kpi-ic { width:24px; height:24px; } }
.btn-google, .btn-google:hover { color:var(--text); text-decoration:none; }
.adm-tl { border-left:0; padding:2px 0 2px 8px; gap:0; }
.adm-tl li { border-left:2px solid var(--border); padding:0 0 10px 16px; }
.adm-tl li::before { left:-6px; top:4px; }
