:root {
  --bg: #0f172a;
  --bg2: #111c33;
  --card: #1e293b;
  --card2: #233147;
  --line: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --pri: #14b8a6;
  --pri2: #0d9488;
  --pri-bg: rgba(20, 184, 166, .12);
  --warn: #f59e0b;
  --warn-bg: rgba(245, 158, 11, .12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, .12);
  --ok: #22c55e;
  --info: #60a5fa;
  --info-bg: rgba(96, 165, 250, .12);
  --violet: #a78bfa;
  --violet-bg: rgba(167, 139, 250, .12);
  --radius: 14px;
  --tab-h: 64px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: #020617;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--pri); text-decoration: none; }

/* ---------- moldura de celular ---------- */
.stage { min-height: 100%; display: flex; justify-content: center; align-items: center; }
.phone {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 560px) {
  body { background: radial-gradient(circle at 30% 20%, #0b3b3a 0, #020617 55%); }
  .stage { padding: 24px; }
  .phone {
    width: 410px;
    height: min(880px, calc(100vh - 48px));
    border-radius: 44px;
    border: 10px solid #1f2937;
    box-shadow: 0 0 0 2px #374151, 0 30px 80px rgba(0, 0, 0, .6);
  }
}

.proto-badge {
  position: absolute;
  top: 8px; right: 10px;
  z-index: 50;
  font-size: 10px;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(245, 158, 11, .16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, .35);
  pointer-events: none;
}

/* ---------- topo ---------- */
.topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, #0b1324 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(51, 65, 85, .6);
}
.topbar .back {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid; place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.topbar .titles { min-width: 0; flex: 1; }
.topbar h1 { font-size: 18px; margin: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--pri), var(--pri2)); display: grid; place-items: center; flex: 0 0 auto; font-weight: 800; color: #042f2e; }

/* ---------- área rolável ---------- */
.view {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 14px 24px;
  scroll-behavior: smooth;
}
.view::-webkit-scrollbar { width: 0; }

.disclaimer {
  flex: 0 0 auto;
  font-size: 11px;
  text-align: center;
  color: #fcd34d;
  background: #1c1917;
  border-top: 1px solid rgba(245, 158, 11, .25);
  padding: 6px 10px;
}

/* ---------- barra inferior ---------- */
.tabbar {
  flex: 0 0 var(--tab-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #0b1222;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--muted);
}
.tabbar a.active { color: var(--pri); }
.tabbar a.plus .pbtn {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--pri), var(--pri2));
  display: grid; place-items: center; color: #042f2e;
  margin-top: -14px;
  box-shadow: 0 6px 18px rgba(20, 184, 166, .35);
}

/* ---------- blocos ---------- */
.card {
  background: var(--card);
  border: 1px solid rgba(51, 65, 85, .8);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}
.card.flat { background: var(--bg2); }
.card.pri { border-color: rgba(20, 184, 166, .55); background: linear-gradient(180deg, rgba(20, 184, 166, .14), var(--card) 70%); }
.card.warn { border-color: rgba(245, 158, 11, .5); background: linear-gradient(180deg, rgba(245, 158, 11, .12), var(--card) 70%); }
.card.danger { border-color: rgba(239, 68, 68, .55); background: linear-gradient(180deg, rgba(239, 68, 68, .16), var(--card) 70%); }
.card h2 { font-size: 16px; margin: 0 0 6px; }
.card h3 { font-size: 14px; margin: 0 0 6px; }
.section-title {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 18px 2px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mt0 { margin-top: 0; } .mt4 { margin-top: 4px; } .mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.mb0 { margin-bottom: 0; } .mb8 { margin-bottom: 8px; }
.hr { height: 1px; background: var(--line); margin: 12px 0; border: 0; }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.dots { margin: 6px 0 0; padding-left: 18px; }
ul.dots li { margin-bottom: 6px; }

.src { display: block; font-size: 10.5px; color: #64748b; margin-top: 4px; line-height: 1.35; }
.src::before { content: "Fonte: "; color: #475569; }

/* ---------- chips e badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 99px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.chip.lead { background: var(--info-bg); color: #93c5fd; border-color: rgba(96, 165, 250, .3); }
.chip.agendada { background: var(--violet-bg); color: #c4b5fd; border-color: rgba(167, 139, 250, .3); }
.chip.tratamento { background: var(--pri-bg); color: #5eead4; border-color: rgba(20, 184, 166, .35); }
.chip.manutencao { background: rgba(34, 197, 94, .12); color: #86efac; border-color: rgba(34, 197, 94, .3); }
.chip.concluida { background: rgba(148, 163, 184, .12); color: #cbd5e1; border-color: rgba(148, 163, 184, .3); }
.chip.perdida { background: var(--danger-bg); color: #fca5a5; border-color: rgba(239, 68, 68, .3); }
.chip.neutral { background: rgba(148, 163, 184, .1); color: var(--soft); border-color: var(--line); }

.tag-ex, .tag-pend {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 700;
  padding: 2px 7px; border-radius: 6px; vertical-align: middle;
  white-space: nowrap;
}
.tag-ex { background: rgba(96, 165, 250, .14); color: #93c5fd; border: 1px dashed rgba(96, 165, 250, .5); }
.tag-pend { background: rgba(245, 158, 11, .14); color: #fbbf24; border: 1px dashed rgba(245, 158, 11, .55); }

.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 -14px 10px; padding-left: 14px; padding-right: 14px; }
.filters::-webkit-scrollbar { height: 0; }
.filters button {
  flex: 0 0 auto;
  border: 1px solid var(--line); background: var(--card);
  border-radius: 99px; padding: 7px 12px; font-size: 12.5px; cursor: pointer; color: var(--soft);
}
.filters button.on { background: var(--pri); border-color: var(--pri); color: #042f2e; font-weight: 700; }

/* ---------- botões ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  padding: 0 16px;
  text-align: center;
}
.btn.pri { background: linear-gradient(135deg, var(--pri), var(--pri2)); color: #042f2e; }
.btn.sec { background: var(--card2); border-color: var(--line); color: var(--text); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--soft); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.warnb { background: var(--warn); color: #1c1917; }
.btn.sm { min-height: 40px; font-size: 13.5px; border-radius: 11px; width: auto; padding: 0 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn + .btn { margin-top: 10px; }
.btns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btns2 .btn + .btn { margin-top: 0; }

.copy {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(20, 184, 166, .5);
  background: var(--pri-bg);
  color: #5eead4;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  min-height: 38px;
}
.copy.full { width: 100%; justify-content: center; min-height: 46px; font-size: 14px; }
.copy:active { transform: scale(.98); }

/* mensagem pronta (balão estilo whatsapp) */
.msg {
  background: #0b3b36;
  border: 1px solid rgba(20, 184, 166, .3);
  border-radius: 12px 12px 12px 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: #e2fbf7;
  white-space: pre-line;
  margin: 8px 0;
}
.msg.internal { background: #1a2236; border-color: var(--line); color: var(--soft); border-radius: 12px; }
.quote { border-left: 3px solid var(--pri); padding: 4px 0 4px 10px; color: var(--soft); font-style: italic; margin: 8px 0; font-size: 14px; }

/* ---------- progresso ---------- */
.progress { height: 8px; border-radius: 99px; background: #0b1222; overflow: hidden; border: 1px solid var(--line); }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--pri2), var(--pri)); border-radius: 99px; transition: width .35s; }
.progress.big { height: 14px; }
.steps-dots { display: flex; gap: 4px; }
.steps-dots i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.steps-dots i.on { background: var(--pri); }

/* ---------- stats ---------- */
.stat { background: var(--card); border: 1px solid rgba(51, 65, 85, .8); border-radius: var(--radius); padding: 12px; }
.stat .v { font-size: 22px; font-weight: 800; }
.stat .l { font-size: 12px; color: var(--muted); }

/* ---------- listas ---------- */
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px;
  background: var(--card); border: 1px solid rgba(51, 65, 85, .8);
  margin-bottom: 8px; cursor: pointer; color: var(--text);
}
.list-item .ttl { font-weight: 700; font-size: 14.5px; }
.list-item .meta { font-size: 12px; color: var(--muted); }
.avatar {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; flex: 0 0 auto;
  background: #233147; color: #5eead4; border: 1px solid var(--line);
}
.num {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: var(--pri-bg); color: #5eead4; border: 1px solid rgba(20, 184, 166, .35);
}
.chev { color: #475569; flex: 0 0 auto; }

/* ---------- formulários ---------- */
label.fld { display: block; margin-bottom: 12px; }
label.fld > span { display: block; font-size: 12.5px; color: var(--soft); margin-bottom: 6px; font-weight: 600; }
.inp, select.inp, textarea.inp {
  width: 100%;
  background: #0b1222;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 15px;
  outline: none;
}
.inp:focus { border-color: var(--pri); }
textarea.inp { min-height: 74px; resize: vertical; }

.opts { display: flex; flex-direction: column; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  border: 1px solid var(--line); background: #0b1222;
  border-radius: 12px; padding: 12px; cursor: pointer; min-height: 48px;
  font-size: 14.5px;
}
.opt .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #475569; flex: 0 0 auto; display: grid; place-items: center; }
.opt.radio .box { border-radius: 50%; }
.opt.on { border-color: var(--pri); background: var(--pri-bg); }
.opt.on .box { border-color: var(--pri); background: var(--pri); color: #042f2e; }

.yn { display: flex; gap: 6px; flex: 0 0 auto; }
.yn button { border: 1px solid var(--line); background: #0b1222; border-radius: 9px; padding: 6px 12px; font-size: 13px; cursor: pointer; min-width: 52px; }
.yn button.on { background: var(--pri); color: #042f2e; border-color: var(--pri); font-weight: 700; }
.yn button.on.no { background: #475569; border-color: #475569; color: #fff; }

.qrow { padding: 10px 0; border-bottom: 1px solid rgba(51, 65, 85, .6); }
.qrow:last-child { border-bottom: 0; }
.qrow .q { font-size: 14px; }

/* ---------- acordeão ---------- */
details.acc { background: var(--card); border: 1px solid rgba(51, 65, 85, .8); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
details.acc > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 14px;
  font-weight: 700;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary .chev { margin-left: auto; transition: transform .2s; }
details.acc[open] > summary .chev { transform: rotate(90deg); }
details.acc .acc-body { padding: 0 14px 14px; }

/* ---------- checklist ---------- */
.check {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid rgba(51, 65, 85, .6); cursor: pointer;
}
.check:last-child { border-bottom: 0; }
.check .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid #475569; flex: 0 0 auto; display: grid; place-items: center; margin-top: 1px; }
.check.on .box { background: var(--pri); border-color: var(--pri); color: #042f2e; }
.check.on .lbl { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(148, 163, 184, .5); }
.check .lbl { font-size: 14px; }

/* ---------- fotos ---------- */
.shot {
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: #0b1222;
  border: 2px dashed #334155;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.shot.done { border-style: solid; border-color: var(--pri); background: repeating-linear-gradient(45deg, #1e293b, #1e293b 8px, #233147 8px, #233147 16px); }
.shot svg { width: 80%; height: 80%; }
.shot .lab { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--soft); }
.shot .ok { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--pri); color: #042f2e; display: grid; place-items: center; }
.ref {
  aspect-ratio: 1;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #334155, #334155 6px, #3b4a61 6px, #3b4a61 12px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 6px; text-align: center;
  font-size: 10px; color: #e2e8f0;
  border: 2px solid transparent; cursor: pointer;
  position: relative;
}
.ref.on { border-color: var(--pri); }
.ref b { position: absolute; top: 6px; left: 8px; font-size: 13px; }

/* ---------- semáforo ---------- */
.semaforo { display: flex; gap: 6px; }
.semaforo span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; padding: 8px 4px; border-radius: 10px; background: #0b1222; color: #475569; border: 1px solid var(--line); }
.semaforo .r.on { background: var(--danger-bg); color: #fca5a5; border-color: var(--danger); }
.semaforo .y.on { background: var(--warn-bg); color: #fcd34d; border-color: var(--warn); }
.semaforo .g.on { background: rgba(34, 197, 94, .12); color: #86efac; border-color: var(--ok); }

/* barras de eixo */
.axis { margin-bottom: 9px; }
.axis .row { font-size: 13px; margin-bottom: 4px; }
.axis .bar { height: 8px; border-radius: 99px; background: #0b1222; overflow: hidden; }
.axis .bar i { display: block; height: 100%; background: var(--pri); border-radius: 99px; }
.axis.dom .bar i { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* ---------- linha do tempo ---------- */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 14px; }
.tl-item::before { content: ""; position: absolute; left: -20px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid #475569; }
.tl-item.done::before { background: var(--pri); border-color: var(--pri); }
.tl-item.now::before { background: var(--warn); border-color: var(--warn); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.tl-item .t { font-weight: 700; font-size: 14px; }

/* ---------- tabela ---------- */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: 11.5px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 9px 4px; border-bottom: 1px solid rgba(51, 65, 85, .5); vertical-align: top; }
table.tbl td.r, table.tbl th.r { text-align: right; white-space: nowrap; }

/* ---------- estoque ---------- */
.stock { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid rgba(51, 65, 85, .6); }
.stock:last-child { border-bottom: 0; }
.stock .st { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; }
.stock .st.tem { background: rgba(34, 197, 94, .15); color: #86efac; }
.stock .st.falta { background: var(--danger-bg); color: #fca5a5; }
.stock .st.baixo { background: var(--warn-bg); color: #fcd34d; }
.stock .st.lock { background: rgba(148, 163, 184, .12); color: #94a3b8; }
.stock.locked { opacity: .75; }
.stock .nm { font-weight: 700; font-size: 14px; }

/* ---------- mapa ---------- */
.hero {
  border-radius: 18px;
  padding: 18px 16px;
  background: radial-gradient(circle at 85% 0%, rgba(20, 184, 166, .35), transparent 55%), linear-gradient(160deg, #10263a, #0f172a);
  border: 1px solid rgba(20, 184, 166, .3);
  margin-bottom: 14px;
}
.hero h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.2; }
.hero p { margin: 0; color: var(--soft); font-size: 13.5px; }
.phase { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- toast / sheet ---------- */
.toast {
  position: absolute; left: 50%; bottom: calc(var(--tab-h) + 40px);
  transform: translateX(-50%) translateY(20px);
  background: #f8fafc; color: #0f172a;
  font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 99px;
  opacity: 0; pointer-events: none;
  transition: all .25s;
  z-index: 80;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .65); z-index: 60; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 85%; overflow-y: auto;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 10px 16px 22px;
  z-index: 70;
}
.sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: #475569; margin: 2px auto 12px; }

/* ---------- PDF ---------- */
.pdf-wrap { background: #475569; margin: -14px -14px -24px; padding: 16px 12px 30px; min-height: 100%; }
.pdf {
  background: #fff; color: #1f2937;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  padding: 26px 22px;
  font-size: 12.5px;
}
.pdf .pdf-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #b08968; padding-bottom: 12px; margin-bottom: 14px; }
.pdf .logo { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: #7c5a3a; letter-spacing: .02em; }
.pdf .logo small { display: block; font-family: system-ui, sans-serif; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #a8a29e; }
.pdf h4 { font-family: Georgia, serif; color: #7c5a3a; font-size: 15px; margin: 16px 0 6px; }
.pdf .pt { color: #57534e; }
.pdf table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.pdf td { padding: 6px 0; border-bottom: 1px solid #e7e5e4; vertical-align: top; }
.pdf .price { background: #faf5ef; border: 1px solid #e7d7c5; border-radius: 8px; padding: 12px; margin-top: 8px; }
.pdf .price b { color: #7c5a3a; font-size: 18px; }
.pdf .sign { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 10.5px; color: #78716c; text-align: center; }
.pdf .sign div { border-top: 1px solid #a8a29e; padding-top: 4px; }
.pdf .foot { margin-top: 18px; font-size: 9.5px; color: #a8a29e; text-align: center; }

/* ---------- utilitários de estado ---------- */
.locked-area { position: relative; }
.locked-area.is-locked > .lock-cover {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(15, 23, 42, .82);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px; border-radius: var(--radius);
  color: var(--soft); font-size: 13.5px; gap: 6px;
}
.locked-area:not(.is-locked) > .lock-cover { display: none; }

.fade-in { animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media print {
  body * { visibility: hidden; }
  .pdf, .pdf * { visibility: visible; }
  .pdf { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
}

/* ---------- acréscimos (telas JS) ---------- */
button.shot { width: 100%; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.ref > div { width: 100%; }
a.btn { text-decoration: none; }
a.btn.pri { color: #042f2e; }
.sheet h3 { font-size: 16px; }
