/* CRM Mowa — grafite da marca, pedra clara e latão. Montserrat (da marca) + Inter. */
:root {
  --ink: #17181f;
  --graphite: #2a2b39;
  --graphite-2: #353646;
  --graphite-3: #44465a;
  --paper: #f5f3ef;
  --paper-2: #efece6;
  --surface: #ffffff;
  --line: #e5e1d9;
  --line-2: #d9d4ca;
  --text: #24252f;
  --muted: #77766f;
  --muted-2: #a29f97;
  --brass: #b08d57;
  --brass-2: #9a7745;
  --brass-soft: #f4ede2;
  --sage: #3f7a5a;
  --sage-soft: #e6f0ea;
  --clay: #a35b52;
  --clay-soft: #f6e8e6;
  --steel: #5b7a8f;
  --steel-soft: #e7eef2;
  --amber: #b7862b;
  --amber-soft: #f8efdc;
  --radius: 12px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(23, 24, 31, .04), 0 4px 16px rgba(23, 24, 31, .05);
  --shadow-l: 0 12px 48px rgba(23, 24, 31, .18);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Montserrat', 'Inter', system-ui, sans-serif;
  --side: 248px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 14px/1.5 var(--sans); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--brand); margin: 0; letter-spacing: -.01em; color: var(--ink); }
.hidden { display: none !important; }
::selection { background: var(--brass-soft); }

/* ── estrutura ─────────────────────────────────────────────────────────── */
.app { display: grid; grid-template-columns: var(--side) 1fr; height: 100vh; }
.side {
  background: var(--graphite); color: #d9d9e0; display: flex; flex-direction: column; min-height: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
}
.side-logo { padding: 26px 24px 22px; border-bottom: 1px solid rgba(255,255,255,.07); }
.side-logo img { width: 128px; display: block; }
.side-logo small { display: block; margin-top: 10px; font: 600 10px/1 var(--brand); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.side nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.side .grupo { font: 600 10px/1 var(--brand); letter-spacing: .18em; text-transform: uppercase; color: #8a8b99; padding: 16px 12px 8px; }
.side a.item {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; text-decoration: none; color: #c9cad3;
  font-weight: 500; font-size: 13.5px; transition: background .15s, color .15s; position: relative;
}
.side a.item svg { width: 18px; height: 18px; opacity: .8; flex: none; }
.side a.item:hover { background: rgba(255,255,255,.06); color: #fff; }
.side a.item.on { background: rgba(255,255,255,.1); color: #fff; }
.side a.item.on::before { content: ''; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brass); }
.side a.item .badge { margin-left: auto; }
.side-pe { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 10px; }
.side-pe .quem { flex: 1; min-width: 0; }
.side-pe .quem b { display: block; color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-pe .quem span { font-size: 11.5px; color: #8a8b99; }
.side-pe button { background: none; border: 0; color: #8a8b99; cursor: pointer; padding: 6px; border-radius: 6px; }
.side-pe button:hover { color: #fff; background: rgba(255,255,255,.08); }
.side-pe svg { width: 17px; height: 17px; }
.cg { padding: 0 16px 14px; font-size: 10.5px; color: #6f7080; letter-spacing: .04em; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top {
  height: 64px; flex: none; display: flex; align-items: center; gap: 16px; padding: 0 28px;
  background: rgba(245, 243, 239, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: relative; z-index: 20;
}
.top h1 { font-size: 19px; font-weight: 600; white-space: nowrap; }
.top .sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .esp { flex: 1; }
.busca-g { position: relative; width: min(340px, 34vw); }
.busca-g input { width: 100%; height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0 12px 0 36px; outline: none; transition: border .15s, box-shadow .15s; }
.busca-g input:focus { border-color: var(--graphite-3); box-shadow: 0 0 0 3px rgba(42,43,57,.08); }
.busca-g svg { position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; color: var(--muted-2); }
.busca-g kbd { position: absolute; right: 10px; top: 10px; font: 500 10.5px var(--sans); color: var(--muted-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; background: var(--paper); }
.busca-res { position: absolute; top: 44px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l); padding: 6px; max-height: 420px; overflow-y: auto; }
.busca-res .g { font: 600 10px var(--brand); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding: 10px 10px 4px; }
.busca-res a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; cursor: pointer; }
.busca-res a:hover, .busca-res a.on { background: var(--paper); }
.busca-res a small { color: var(--muted); margin-left: 6px; }
.content { flex: 1; overflow-y: auto; padding: 26px 28px 60px; min-height: 0; }
.content.full { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

/* ── componentes ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 13.5px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s; text-decoration: none; color: var(--text);
}
.btn:hover { background: var(--paper); border-color: #cfc9bd; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.pri { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.btn.pri:hover { background: var(--ink); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn.brass:hover { background: var(--brass-2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(42,43,57,.06); }
.btn.danger { color: var(--clay); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.xs { height: 26px; padding: 0 8px; font-size: 12px; border-radius: 7px; }
.btn.icon { width: 36px; padding: 0; }
.btn.sm.icon { width: 30px; }
.btn.wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn.wa:hover { background: #198a4a; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.grupo-btn { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: var(--surface); }
.grupo-btn button { border: 0; background: none; padding: 0 12px; height: 34px; cursor: pointer; font-weight: 500; font-size: 13px; color: var(--muted); border-right: 1px solid var(--line); }
.grupo-btn button:last-child { border-right: 0; }
.grupo-btn button.on { background: var(--graphite); color: #fff; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.card-h h3 { font-size: 14.5px; font-weight: 600; }
.card-h .esp { flex: 1; }
.card-b { padding: 16px 18px 18px; }
.rotulo { font: 600 10.5px/1.2 var(--brand); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-side { grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row .esp, .esp { flex: 1; }
.stack > * + * { margin-top: 18px; }

.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 11px; font-weight: 600; background: var(--brass); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.chip svg { width: 12px; height: 12px; }
.chip.quente { background: #f7e7dc; color: #a2532e; }
.chip.indicacao { background: var(--brass-soft); color: var(--brass-2); }
.chip.fria { background: var(--steel-soft); color: var(--steel); }
.chip.entrada { background: var(--sage-soft); color: var(--sage); }
.chip.ok { background: var(--sage-soft); color: var(--sage); }
.chip.alerta { background: var(--amber-soft); color: var(--amber); }
.chip.ruim { background: var(--clay-soft); color: var(--clay); }
.chip.dark { background: var(--graphite); color: #fff; }
.nota { display: inline-flex; align-items: center; justify-content: center; height: 22px; min-width: 34px; padding: 0 7px; border-radius: 6px; font: 600 11.5px var(--brand); }
.nota.meet { background: var(--brass); color: #fff; }
.nota.visita { background: var(--graphite); color: #fff; }
.nota.leve { background: var(--paper-2); color: var(--muted); }
.nota.bloqueado { background: var(--clay-soft); color: var(--clay); }
.av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 11.5px var(--brand); color: #fff; background: var(--graphite-3); flex: none; letter-spacing: .02em; }
.av.s { width: 24px; height: 24px; font-size: 10px; }
.av.l { width: 44px; height: 44px; font-size: 15px; }
.av.xl { width: 56px; height: 56px; font-size: 19px; }

/* formulários */
.campo { display: flex; flex-direction: column; gap: 5px; }
.campo > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.campo input, .campo select, .campo textarea, .inp {
  height: 38px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 11px; background: var(--surface); outline: none; width: 100%;
  transition: border .15s, box-shadow .15s;
}
.campo textarea, textarea.inp { height: auto; min-height: 84px; padding: 9px 11px; resize: vertical; line-height: 1.5; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .inp:focus { border-color: var(--graphite-3); box-shadow: 0 0 0 3px rgba(42,43,57,.08); }
.campo.check { flex-direction: row; align-items: center; gap: 8px; }
.campo.check input { width: 16px; height: 16px; accent-color: var(--graphite); }
.campo.check span { color: var(--text); font-size: 13.5px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.form h4 { grid-column: 1 / -1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.form h4:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
select.inp, .campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2377766f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; }

/* tabelas */
.tabela { width: 100%; border-collapse: separate; border-spacing: 0; }
.tabela th { text-align: left; font: 600 10.5px var(--brand); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.tabela td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela tbody tr { cursor: pointer; transition: background .1s; }
.tabela tbody tr:hover { background: #faf9f6; }
.tabela .t-nome { font-weight: 600; color: var(--ink); }
.tabela .t-sub { font-size: 12px; color: var(--muted); }
.tabela-wrap { overflow: auto; border-radius: var(--radius); }
.tabela input[type=checkbox] { accent-color: var(--graphite); width: 15px; height: 15px; }

.filtros { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filtros .inp { width: auto; height: 36px; }
.filtros .busca { position: relative; }
.filtros .busca input { padding-left: 34px; width: 280px; }
.filtros .busca svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; color: var(--muted-2); }

.vazio { text-align: center; padding: 48px 24px; color: var(--muted); }
.vazio svg { width: 40px; height: 40px; color: var(--line-2); margin-bottom: 10px; }
.vazio h3 { font-size: 15px; color: var(--text); margin-bottom: 6px; }
.vazio p { margin: 0 auto 16px; max-width: 420px; }

/* abas */
.abas { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.abas button { border: 0; background: none; padding: 10px 14px; cursor: pointer; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; }
.abas button:hover { color: var(--text); }
.abas button.on { color: var(--ink); border-bottom-color: var(--graphite); }
.abas button .badge { background: var(--paper-2); color: var(--muted); }

/* ── modal e gaveta ────────────────────────────────────────────────────── */
.veu { position: fixed; inset: 0; background: rgba(23, 24, 31, .38); z-index: 100; animation: fade .15s; backdrop-filter: blur(2px); }
.modal { position: fixed; left: 50%; top: 7vh; transform: translateX(-50%); width: min(560px, calc(100vw - 32px)); max-height: 86vh; display: flex; flex-direction: column; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-l); z-index: 101; animation: sobe .18s ease-out; }
.modal.l { width: min(820px, calc(100vw - 32px)); }
.modal-h { padding: 20px 24px 14px; display: flex; align-items: flex-start; gap: 12px; }
.modal-h h2 { font-size: 17px; font-weight: 600; }
.modal-h p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.modal-b { padding: 4px 24px 20px; overflow-y: auto; }
.modal-p { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: #fbfaf8; border-radius: 0 0 16px 16px; }
.x { border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--muted); margin-left: auto; }
.x:hover { background: var(--paper); color: var(--text); }
.x svg { width: 18px; height: 18px; display: block; }
.gaveta { position: fixed; top: 0; right: 0; bottom: 0; width: min(860px, 100vw); background: var(--paper); box-shadow: var(--shadow-l); z-index: 90; display: flex; flex-direction: column; animation: entra .2s ease-out; }
.gaveta-veu { position: fixed; inset: 0; z-index: 89; background: rgba(23,24,31,.22); animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
@keyframes sobe { from { opacity: 0; transform: translate(-50%, 10px); } }
@keyframes entra { from { transform: translateX(40px); opacity: .4; } }

.toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 10px; box-shadow: var(--shadow-l); font-size: 13.5px; animation: sobe2 .2s; display: flex; gap: 10px; align-items: center; max-width: 520px; }
.toast.erro { background: var(--clay); }
.toast.ok::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #7fd1a0; }
@keyframes sobe2 { from { opacity: 0; transform: translateY(8px); } }

/* ── login ─────────────────────────────────────────────────────────────── */
.login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.login-arte {
  background: var(--graphite); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.login-arte::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; border: 1px solid rgba(176,141,87,.35); transform: rotate(45deg); }
.login-arte::before { content: ''; position: absolute; right: 40px; bottom: 60px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg); }
.login-arte img { width: 220px; position: relative; z-index: 1; }
.login-arte blockquote { margin: 0; font: 500 30px/1.25 var(--brand); max-width: 460px; letter-spacing: -.015em; position: relative; z-index: 1; }
.login-arte blockquote span { color: var(--brass); }
.login-arte .pe { font-size: 12px; color: #9a9bab; letter-spacing: .06em; position: relative; z-index: 1; }
.login-form { display: flex; align-items: center; justify-content: center; padding: 40px; }
.login-form form { width: min(380px, 100%); }
.login-form h1 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.login-form p { color: var(--muted); margin: 0 0 28px; }
.login-form .campo { margin-bottom: 14px; }
.login-form .campo input { height: 46px; font-size: 15px; }
.login-form .btn { width: 100%; height: 46px; margin-top: 8px; font-size: 15px; }
.login-erro { color: var(--clay); font-size: 13px; min-height: 20px; margin-top: 10px; }

/* ── hoje ──────────────────────────────────────────────────────────────── */
.saud h2 { font-size: 26px; font-weight: 600; }
.saud p { color: var(--muted); margin: 4px 0 0; }
.kpi { padding: 18px 20px; position: relative; overflow: hidden; }
.kpi .v { font: 600 30px/1.1 var(--brand); color: var(--ink); margin-top: 8px; letter-spacing: -.02em; }
.kpi .v small { font-size: 15px; color: var(--muted); font-weight: 500; }
.kpi .d { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.kpi .barra { height: 5px; background: var(--paper-2); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.kpi .barra i { display: block; height: 100%; background: var(--brass); border-radius: 3px; transition: width .6s; }
.kpi.destaque { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.kpi.destaque .rotulo { color: var(--brass); }
.kpi.destaque .v { color: #fff; }
.kpi.destaque .d { color: #a9aab8; }
.kpi.destaque .barra { background: rgba(255,255,255,.12); }
.kpi.alerta .v { color: var(--clay); }

.fila { list-style: none; margin: 0; padding: 0; }
.fila li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); transition: background .1s; }
.fila li:hover { background: #fbfaf7; }
.fila li.feita { opacity: .45; }
.fila .canal { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.fila .canal svg { width: 17px; height: 17px; }
.canal.ligacao { background: var(--steel-soft); color: var(--steel); }
.canal.whatsapp { background: #e3f3e8; color: #1f9d55; }
.canal.email { background: var(--amber-soft); color: var(--amber); }
.canal.linkedin { background: #e5edf7; color: #0a66c2; }
.canal.visita, .canal.reuniao { background: var(--brass-soft); color: var(--brass-2); }
.canal.nota, .canal.tarefa { background: var(--paper-2); color: var(--muted); }
.fila .info { flex: 1; min-width: 0; }
.fila .info b { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila .info span { font-size: 12.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila .acoes { display: flex; gap: 6px; flex: none; opacity: .75; transition: opacity .15s; }
.fila li:hover .acoes { opacity: 1; }
.fila .quando { font-size: 12px; color: var(--muted); white-space: nowrap; flex: none; width: 64px; text-align: right; }
.fila .quando.atraso { color: var(--clay); font-weight: 600; }
.sep-fila { padding: 10px 18px 6px; font: 600 10.5px var(--brand); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); border-top: 1px solid var(--line); background: #fcfbf9; }
.sep-fila.atraso { color: var(--clay); }

/* ── kanban ────────────────────────────────────────────────────────────── */
.pipe-top { padding: 18px 28px 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--paper); }
.pipes { display: flex; gap: 6px; flex-wrap: wrap; }
.pipes button { border: 1px solid var(--line-2); background: var(--surface); height: 34px; padding: 0 14px; border-radius: 9px; cursor: pointer; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.pipes button i { width: 8px; height: 8px; border-radius: 50%; }
.pipes button.on { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.kanban { flex: 1; display: flex; gap: 14px; overflow-x: auto; padding: 18px 28px 24px; min-height: 0; align-items: flex-start; }
.coluna { flex: 0 0 286px; display: flex; flex-direction: column; max-height: 100%; background: var(--paper-2); border-radius: 14px; border: 1px solid transparent; transition: border .15s, background .15s; }
.coluna.alvo { border-color: var(--brass); background: var(--brass-soft); }
.coluna.fechada { flex-basis: 240px; opacity: .92; }
.col-h { padding: 14px 14px 10px; border-top: 3px solid var(--c, var(--line-2)); border-radius: 14px 14px 0 0; }
.col-h .t { display: flex; align-items: center; gap: 8px; }
.col-h b { font-family: var(--brand); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.col-h .n { font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 10px; padding: 1px 8px; }
.col-h .desc { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.col-h .soma { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.col-b { padding: 4px 10px 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.col-add { margin: 0 10px 10px; border: 1px dashed var(--line-2); background: transparent; height: 34px; border-radius: 9px; cursor: pointer; color: var(--muted); font-size: 12.5px; }
.col-add:hover { background: var(--surface); color: var(--text); }
.cartao { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; cursor: grab; box-shadow: 0 1px 2px rgba(23,24,31,.04); transition: box-shadow .15s, transform .15s, border-color .15s; }
.cartao:hover { box-shadow: 0 6px 20px rgba(23,24,31,.09); border-color: var(--line-2); }
.cartao.arrastando { opacity: .4; transform: rotate(1.5deg); }
.cartao .t1 { font-weight: 600; color: var(--ink); font-size: 13.5px; line-height: 1.35; }
.cartao .t2 { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cartao .meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.cartao .pe { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.cartao .pe .atraso { color: var(--clay); font-weight: 600; }
.cartao .pe svg { width: 13px; height: 13px; }

/* ── negócio (gaveta) ──────────────────────────────────────────────────── */
.neg-h { background: var(--surface); border-bottom: 1px solid var(--line); padding: 20px 26px 0; }
.neg-h .l1 { display: flex; align-items: flex-start; gap: 14px; }
.neg-h h2 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.neg-h .sub { color: var(--muted); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.neg-h .acoes { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.trilho { display: flex; gap: 3px; margin-top: 18px; }
.trilho button { flex: 1; border: 0; height: 30px; background: var(--paper-2); cursor: pointer; font-size: 11px; font-weight: 600; color: var(--muted); padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%, 9px 50%); transition: background .15s; }
.trilho button:first-child { clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); border-radius: 6px 0 0 6px; }
.trilho button.passou { background: #d8d3c8; color: var(--graphite); }
.trilho button.on { background: var(--graphite); color: #fff; }
.trilho button:hover:not(.on) { background: var(--brass-soft); color: var(--brass-2); }
.trilho-fim { display: flex; gap: 6px; margin-top: 8px; justify-content: flex-end; }
.neg-h .abas { margin: 14px -26px 0; padding: 0 20px; margin-bottom: 0; border-bottom: 0; }
.neg-b { flex: 1; overflow-y: auto; padding: 22px 26px 60px; }

.resumo-folha { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; }
.resumo-folha .cab { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.resumo-folha .cab img { height: 22px; }
.resumo-folha dl { display: grid; grid-template-columns: 190px 1fr; gap: 0; margin: 0; }
.resumo-folha dt { font: 600 10.5px/1.3 var(--brand); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--line); }
.resumo-folha dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.resumo-folha dd textarea, .resumo-folha dd input { width: 100%; border: 1px solid transparent; background: transparent; padding: 4px 8px; border-radius: 7px; resize: vertical; min-height: 32px; outline: none; line-height: 1.5; }
.resumo-folha dd textarea:hover, .resumo-folha dd input:hover { background: var(--paper); }
.resumo-folha dd textarea:focus, .resumo-folha dd input:focus { background: var(--surface); border-color: var(--line-2); }
.resumo-folha .cit { font-style: italic; }

.ficha-c { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ficha-c b { font-family: var(--brand); font-weight: 600; }
.ficha-op { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ficha-op button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 10px; padding: 10px 12px; text-align: left; cursor: pointer; font-size: 12.5px; color: var(--muted); line-height: 1.35; transition: all .12s; min-height: 60px; }
.ficha-op button b { display: block; font: 600 16px var(--brand); color: var(--text); margin-bottom: 2px; }
.ficha-op button:hover { border-color: var(--graphite-3); }
.ficha-op button.on { background: var(--graphite); border-color: var(--graphite); color: #d7d8e0; }
.ficha-op button.on b { color: #fff; }
.ficha-total { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: 14px; background: var(--graphite); color: #fff; margin-bottom: 18px; }
.ficha-total .n { font: 600 44px/1 var(--brand); }
.ficha-total .n small { font-size: 18px; color: #9a9bab; }
.ficha-total .dest { flex: 1; }
.ficha-total .dest b { display: block; font: 600 16px var(--brand); }
.ficha-total .dest span { color: #b8b9c6; font-size: 13px; }
.ficha-total.meet { background: linear-gradient(135deg, var(--brass-2), var(--brass)); }
.ficha-total.bloqueado { background: var(--clay); }
.ficha-total.leve { background: var(--graphite-3); }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 1px; background: var(--line-2); }
.tl { position: relative; padding: 0 0 18px; }
.tl .pt { position: absolute; left: -26px; top: 0; width: 23px; height: 23px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--paper); }
.tl .pt svg { width: 11px; height: 11px; }
.tl .cx { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; }
.tl .cx.pend { border-style: dashed; background: #fcfbf8; }
.tl .l1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tl .l1 b { font-weight: 600; color: var(--ink); }
.tl .l1 .q { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.tl .tx { margin-top: 5px; color: var(--text); white-space: pre-wrap; font-size: 13px; }
.tl .res { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.tl.etapa .cx { background: transparent; border: 0; padding: 2px 0; color: var(--muted); font-size: 12.5px; }

/* ── WhatsApp ──────────────────────────────────────────────────────────── */
.wa-app { flex: 1; display: grid; grid-template-columns: 340px 1fr 300px; min-height: 0; background: var(--surface); }
.wa-app.sem-painel { grid-template-columns: 340px 1fr; }
.wa-lista { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--surface); }
.wa-lista .topo { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.wa-nums { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.wa-nums button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 20px; padding: 3px 10px 3px 8px; font-size: 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.wa-nums button.on { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.wa-nums i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); }
.wa-nums i.conectado { background: #25c06a; box-shadow: 0 0 0 3px rgba(37,192,106,.18); }
.wa-nums i.qr, .wa-nums i.iniciando { background: var(--amber); }
.wa-lista .busca { position: relative; }
.wa-lista .busca input { width: 100%; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper); padding: 0 12px 0 34px; outline: none; }
.wa-lista .busca svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; color: var(--muted-2); }
.wa-filtros { display: flex; gap: 4px; margin-top: 10px; overflow-x: auto; }
.wa-filtros button { border: 0; background: var(--paper); border-radius: 14px; padding: 4px 10px; font-size: 12px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.wa-filtros button.on { background: var(--brass-soft); color: var(--brass-2); font-weight: 600; }
.wa-chats { flex: 1; overflow-y: auto; }
.wa-chat { display: flex; gap: 11px; padding: 11px 14px; cursor: pointer; border-bottom: 1px solid #f2efe9; align-items: center; }
.wa-chat:hover { background: #faf9f6; }
.wa-chat.on { background: var(--brass-soft); }
.wa-chat .info { flex: 1; min-width: 0; }
.wa-chat .l1 { display: flex; gap: 6px; align-items: baseline; }
.wa-chat .l1 b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.wa-chat .l1 small { font-size: 11px; color: var(--muted); flex: none; }
.wa-chat .l2 { display: flex; gap: 6px; align-items: center; margin-top: 1px; }
.wa-chat .l2 span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.wa-chat .l2 .badge { background: #25c06a; }
.wa-chat .emp { font-size: 11px; color: var(--brass-2); font-weight: 500; }
.wa-conv { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #f3f0ea; }
.wa-conv .cab { height: 64px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.wa-conv .cab b { font-weight: 600; color: var(--ink); display: block; }
.wa-conv .cab span { font-size: 12px; color: var(--muted); }
.wa-msgs {
  flex: 1; overflow-y: auto; padding: 22px 8% 18px; display: flex; flex-direction: column; gap: 3px;
  background-color: #f3f0ea;
  background-image: radial-gradient(rgba(42,43,57,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.wa-dia { align-self: center; background: rgba(255,255,255,.9); border-radius: 8px; padding: 4px 12px; font-size: 11.5px; color: var(--muted); margin: 12px 0 8px; box-shadow: 0 1px 1px rgba(0,0,0,.04); font-weight: 500; }
.bolha { max-width: min(560px, 75%); padding: 7px 11px 6px; border-radius: 12px; position: relative; box-shadow: 0 1px 1px rgba(23,24,31,.06); white-space: pre-wrap; word-wrap: break-word; line-height: 1.42; font-size: 13.8px; }
.bolha.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bolha.out { align-self: flex-end; background: var(--graphite); color: #f1f1f5; border-top-right-radius: 4px; }
.bolha.out.cel { background: #44465a; }
.bolha .h { display: flex; gap: 6px; justify-content: flex-end; align-items: center; font-size: 10.5px; margin-top: 2px; opacity: .6; }
.bolha .autor { font-size: 11px; font-weight: 600; color: var(--brass); margin-bottom: 1px; }
.bolha.seguida { margin-top: -1px; }
.wa-comp { flex: none; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-end; }
.wa-comp textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; min-height: 44px; max-height: 160px; outline: none; background: var(--paper); line-height: 1.45; }
.wa-comp textarea:focus { background: var(--surface); border-color: var(--line-2); }
.wa-comp .btn { height: 44px; }
.wa-vazio { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 40px; }
.wa-vazio img { width: 120px; opacity: .2; margin-bottom: 18px; }
.wa-painel { border-left: 1px solid var(--line); overflow-y: auto; padding: 22px 20px; background: var(--surface); }
.wa-painel .topo { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.wa-painel .topo .av { margin: 0 auto 10px; }
.wa-painel .topo b { display: block; font-family: var(--brand); font-size: 15px; font-weight: 600; }
.wa-painel dl { margin: 0; display: grid; gap: 12px; }
.wa-painel dt { font: 600 10px var(--brand); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.wa-painel dd { margin: 2px 0 0; }
.modelos-pop { position: absolute; bottom: 70px; left: 16px; width: 380px; max-height: 360px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l); padding: 6px; z-index: 5; }
.modelos-pop button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 11px; border-radius: 8px; cursor: pointer; }
.modelos-pop button:hover { background: var(--paper); }
.modelos-pop button b { display: block; font-size: 13px; }
.modelos-pop button span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-box { text-align: center; padding: 10px; }
.qr-box img { width: 260px; height: 260px; border-radius: 12px; border: 1px solid var(--line); }

/* ── telefone ──────────────────────────────────────────────────────────── */
.fone { position: fixed; right: 24px; bottom: 24px; width: 300px; background: var(--graphite); color: #fff; border-radius: 18px; box-shadow: var(--shadow-l); z-index: 80; overflow: hidden; animation: sobe2 .2s; }
.fone .h { padding: 18px 20px 14px; }
.fone .h small { color: var(--brass); font: 600 10px var(--brand); letter-spacing: .16em; text-transform: uppercase; }
.fone .h b { display: block; font: 600 18px var(--brand); margin-top: 6px; }
.fone .h span { color: #a9aab8; font-size: 13px; }
.fone .tempo { font: 500 32px var(--brand); letter-spacing: .02em; padding: 0 20px 8px; font-variant-numeric: tabular-nums; }
.fone .bts { display: flex; gap: 10px; padding: 8px 20px 20px; }
.fone .bts button { flex: 1; height: 44px; border: 0; border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; }
.fone .bts button:hover { background: rgba(255,255,255,.18); }
.fone .bts button.desl { background: #c4483d; }
.fone .bts button.desl:hover { background: #ad3a30; }
.fone .bts button.on { background: var(--brass); }
.fone .bts svg { width: 19px; height: 19px; }
.fone-st { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.fone-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.fone-st.pronto i { background: #25c06a; }
.fone-st.conectando i { background: var(--amber); }
.fone-st.erro i { background: var(--clay); }
.fone-st svg { width: 15px; height: 15px; }

/* ── painel (dashboard) ────────────────────────────────────────────────── */
.meta-hero { display: grid; grid-template-columns: 260px 1fr; gap: 0; overflow: hidden; }
.meta-hero .lado { background: var(--graphite); color: #fff; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 22px 22px; }
.meta-hero .lado .rotulo { color: var(--brass); }
.meta-hero .grande { font: 600 56px/1 var(--brand); letter-spacing: -.03em; margin: 14px 0 6px; }
.meta-hero .grande small { font-size: 22px; color: #9a9bab; font-weight: 500; }
.meta-hero .lado p { margin: 0; color: #b8b9c6; font-size: 13px; }
.anel { width: 74px; height: 74px; }
.graf { width: 100%; display: block; overflow: visible; }
.graf text { font: 500 10.5px var(--sans); fill: var(--muted); }
.graf .eixo { stroke: var(--line); }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legenda i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mini-kpi { padding: 16px 18px; }
.mini-kpi .v { font: 600 24px/1.1 var(--brand); color: var(--ink); margin-top: 6px; }
.mini-kpi .d { font-size: 12px; color: var(--muted); margin-top: 4px; }
.funil-l { display: flex; flex-direction: column; gap: 7px; }
.funil-l .f { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; font-size: 13px; }
.funil-l .f .bar { height: 26px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.funil-l .f .bar i { display: block; height: 100%; border-radius: 6px; min-width: 3px; transition: width .6s; }
.funil-l .f b { text-align: right; font-family: var(--brand); }
.heat { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.heat div { height: 34px; border-radius: 6px; background: var(--paper-2); display: flex; align-items: flex-end; justify-content: center; font-size: 10px; color: var(--muted); padding-bottom: 2px; }
.periodo { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* relatório */
.relatorio { max-width: 860px; margin: 0 auto; }
.rel-folha { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 40px 46px; }
.rel-folha .cab { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 2px solid var(--graphite); }
.rel-folha .cab img { height: 30px; }
.rel-folha h1 { font-size: 24px; margin: 26px 0 4px; }
.rel-tab { width: 100%; border-collapse: collapse; margin-top: 22px; }
.rel-tab th, .rel-tab td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.rel-tab th { font: 600 10.5px var(--brand); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rel-tab td.n { text-align: right; font: 600 16px var(--brand); width: 90px; }
.rel-tab td.dif { text-align: right; width: 80px; font-size: 12.5px; }
.sobe { color: var(--sage); } .desce { color: var(--clay); }

/* config */
.cfg { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.cfg-menu { position: sticky; top: 0; display: flex; flex-direction: column; gap: 2px; }
.cfg-menu button { text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-weight: 500; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.cfg-menu button svg { width: 17px; height: 17px; }
.cfg-menu button:hover { background: rgba(42,43,57,.05); color: var(--text); }
.cfg-menu button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.integ { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.integ .card { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.integ .logo { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--paper); font: 700 14px var(--brand); }
.code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; word-break: break-all; white-space: pre-wrap; }
.etapa-l { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 6px; }
.etapa-l input[type=color] { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.etapa-l .inp { height: 32px; }
.passo { display: grid; grid-template-columns: 70px 130px 1fr 200px 34px; gap: 8px; align-items: center; margin-bottom: 6px; }
.passo .inp { height: 34px; }

/* agenda */
.semana { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.dia { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-height: 360px; display: flex; flex-direction: column; }
.dia.hoje { border-color: var(--graphite); box-shadow: 0 0 0 1px var(--graphite); }
.dia .dh { padding: 12px 12px 8px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.dia .dh b { font: 600 22px var(--brand); color: var(--ink); }
.dia .dh span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dia .db { padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; cursor: copy; }
.ev { border-radius: 8px; padding: 7px 9px; font-size: 12px; cursor: pointer; border-left: 3px solid var(--steel); background: var(--steel-soft); line-height: 1.3; }
.ev b { display: block; font-weight: 600; color: var(--ink); }
.ev.meet_marcos { border-color: var(--brass); background: var(--brass-soft); }
.ev.visita { border-color: var(--graphite); background: #e9e9ee; }
.ev.tarefa { border-color: var(--line-2); background: var(--paper); }
.ev.realizada { opacity: .6; }
.ev.faltou { border-color: var(--clay); background: var(--clay-soft); }

.import-map { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; align-items: center; }
.preview { max-height: 240px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.preview table { border-collapse: collapse; width: 100%; }
.preview td, .preview th { padding: 6px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; }

@media (max-width: 1200px) {
  .wa-app { grid-template-columns: 300px 1fr; }
  .wa-app .wa-painel { display: none; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-side { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --side: 0px; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .login { grid-template-columns: 1fr; }
  .login-arte { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .busca-g { display: none; }
  .content { padding: 18px 16px 60px; }
  .top { padding: 0 16px; }
  .form { grid-template-columns: 1fr; }
}
@media print {
  .side, .top, .nao-imprimir { display: none !important; }
  .app { display: block; height: auto; }
  .content { overflow: visible; padding: 0; }
  body { background: #fff; }
  .rel-folha, .resumo-folha { border: 0; padding: 0; }
  .gaveta { position: static; box-shadow: none; width: auto; }
}
