/* Base (sem o esqueleto do Claude) */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Layout: um bloco de vendas encadernado. Uma coluna de folhas numeradas (Venda, Termo, Assinatura, Via);
   o termo é diagramado como página impressa e a assinatura como linha de papel. */
:root {
  --bg: #ECEFF4;
  --surface: #FFFFFF;
  --sunken: #F4F6F9;
  --ink: #142033;
  --muted: #566377;
  --line: #D3DAE3;
  --line-strong: #AEB8C6;
  --accent: #1F48B8;
  --accent-ink: #FFFFFF;
  --accent-soft: #E5ECFB;
  --ok: #16774A;
  --ok-soft: #E2F2E9;
  --warn: #8F5205;
  --warn-soft: #FBEFD9;
  --danger: #B42318;
  --danger-soft: #FCEBE9;
  --paper: #FFFFFF;
  --paper-ink: #142033;
  --paper-muted: #566377;
  --paper-line: #CBD3DE;
  --hl: #FFF1A8;
  --sig-ink: #0B2A6F;
  --shadow: 0 12px 30px -20px rgba(16, 28, 48, .5);
  --shadow-sm: 0 1px 2px rgba(16, 28, 48, .14);
  --font-body: "Lexend", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-0: .875rem;
  --fs-1: 1.0625rem;
  --fs-2: 1.1875rem;
  --fs-3: 1.4375rem;
  --fs-4: 1.875rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1219;
    --surface: #151C26;
    --sunken: #111821;
    --ink: #E6EBF2;
    --muted: #9DA9BA;
    --line: #283342;
    --line-strong: #3E4A5B;
    --accent: #8EAAFF;
    --accent-ink: #0B1220;
    --accent-soft: #1B2846;
    --ok: #5FC896;
    --ok-soft: #13291F;
    --warn: #F0B45C;
    --warn-soft: #2C2110;
    --danger: #F5877B;
    --danger-soft: #2F1614;
    --paper: #F7F8FA;
    --paper-ink: #142033;
    --paper-muted: #566377;
    --paper-line: #C3CCD8;
    --hl: #FFEB8A;
    --sig-ink: #0B2A6F;
    --shadow: 0 12px 30px -18px rgba(0, 0, 0, .85);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1219;
  --surface: #151C26;
  --sunken: #111821;
  --ink: #E6EBF2;
  --muted: #9DA9BA;
  --line: #283342;
  --line-strong: #3E4A5B;
  --accent: #8EAAFF;
  --accent-ink: #0B1220;
  --accent-soft: #1B2846;
  --ok: #5FC896;
  --ok-soft: #13291F;
  --warn: #F0B45C;
  --warn-soft: #2C2110;
  --danger: #F5877B;
  --danger-soft: #2F1614;
  --paper: #F7F8FA;
  --paper-ink: #142033;
  --paper-muted: #566377;
  --paper-line: #C3CCD8;
  --hl: #FFEB8A;
  --sig-ink: #0B2A6F;
  --shadow: 0 12px 30px -18px rgba(0, 0, 0, .85);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-block: 20px 64px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid;
  gap: 18px;
}
.panel { display: grid; gap: 18px; min-width: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }

/* Cabeçalho */
.top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 20px; }
.brand-name { font-size: var(--fs-0); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
h1 { margin: 2px 0 0; font-size: var(--fs-4); line-height: 1.12; }
.tag { display: inline-block; font-family: var(--font-mono); font-size: .5em; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1.5px solid currentColor; border-radius: 4px; padding: 3px 7px 2px; vertical-align: middle; margin-left: 8px; transform: translateY(-3px); }
.tabs { display: flex; gap: 4px; background: var(--sunken); border: 1px solid var(--line); border-radius: 11px; padding: 4px; }
.tabs button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 8px; min-height: 44px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.count { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; background: var(--warn-soft); color: var(--warn); border-radius: 999px; padding: 1px 8px; }

/* Etapas */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps li { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 700; font-size: var(--fs-0); border: 1px solid transparent; min-width: 0; }
.steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-family: var(--font-mono); font-size: .8rem; font-weight: 500; }
.steps .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps li.is-current { color: var(--ink); background: var(--surface); border-color: var(--line); }
.steps li.is-current .n { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.steps li.is-done .n { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
@media (max-width: 600px) {
  .steps { grid-template-columns: repeat(4, auto); justify-content: start; }
  .steps li:not(.is-current) .lbl { display: none; }
}

/* Folhas */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3.2vw, 32px); display: grid; gap: 24px; min-width: 0; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sheet-head h2 { margin: 0; font-size: var(--fs-3); line-height: 1.2; }
.who { margin: 0; color: var(--muted); font-size: var(--fs-0); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
legend { font-weight: 700; font-size: var(--fs-2); padding: 0; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--muted); font-size: var(--fs-0); margin-left: 6px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .label { font-size: var(--fs-0); font-weight: 700; color: var(--muted); }
.field label.btn-ghost { font-size: var(--fs-1); color: var(--ink); }
.hint { margin: 0; color: var(--muted); font-size: var(--fs-0); }
.inp {
  width: 100%; min-height: 52px; padding: 11px 14px; font: inherit; font-size: 1.125rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 8px; box-sizing: border-box;
}
.inp::placeholder { color: var(--muted); opacity: .7; }
.inp:focus-visible { outline: 3px solid var(--accent-soft); border-color: var(--accent); outline-offset: 0; }
.inp[aria-invalid="true"] { border-color: var(--danger); }
.err { margin: 0; color: var(--danger); font-size: var(--fs-0); font-weight: 700; }
.err:empty { display: none; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.span2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* Produtos */
.itens { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 36px minmax(0, 1fr) 168px 48px; gap: 10px; align-items: end; }
.item-n { font-family: var(--font-mono); font-weight: 500; color: var(--muted); height: 52px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 8px; background: var(--sunken); }
.icon-btn { width: 48px; height: 52px; border-radius: 8px; border: 1.5px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.icon-btn:disabled { visibility: hidden; }
.valor .inp { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .item { grid-template-columns: 36px minmax(0, 1fr) 48px; }
  .item .valor { grid-column: 2 / 3; }
}
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; background: var(--sunken); border: 1px solid var(--line); border-radius: 8px; }
.total span { font-weight: 700; color: var(--muted); }
.total strong { font-size: var(--fs-3); font-variant-numeric: tabular-nums; }

/* Botões */
.btn-primary, .btn-ghost, .btn-back {
  appearance: none; font: inherit; font-weight: 700; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center;
}
.btn-primary { border: 0; background: var(--accent); color: var(--accent-ink); font-size: 1.125rem; min-height: 56px; padding: 14px 26px; }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); min-height: 48px; padding: 10px 18px; }
.btn-ghost.danger { color: var(--danger); border-color: var(--danger); }
.btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.btn-back { border: 1.5px solid transparent; background: transparent; color: var(--muted); min-height: 56px; padding: 12px 14px; }
.link { appearance: none; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-0); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.actions .btn-primary { margin-left: auto; }
button:focus-visible, a:focus-visible, .check:focus-within, .choices label:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Opções */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 18px 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; cursor: pointer; background: var(--surface); }
.choices input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* Campo de texto longo */
textarea.inp { min-height: 88px; resize: vertical; line-height: 1.45; }

/* Resumo e termo */
.resumo { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; background: var(--sunken); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.resumo dt { color: var(--muted); font-weight: 700; font-size: var(--fs-0); padding-top: 2px; }
.resumo dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.resumo ol { margin: 0; padding-left: 20px; }
@media (max-width: 520px) { .resumo { grid-template-columns: minmax(0, 1fr); gap: 2px; } .resumo dd { margin-bottom: 8px; } }
.paper {
  background: var(--paper); color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 4px;
  padding: clamp(18px, 3.6vw, 36px); box-shadow: var(--shadow); font-size: 1.125rem; line-height: 1.62;
  width: 100%; max-width: 46rem; margin-inline: auto; box-sizing: border-box;
}
.paper h3 { margin: 0 0 14px; font-size: .95rem; letter-spacing: .09em; text-transform: uppercase; color: var(--paper-ink); }
.paper p { margin: 0 0 12px; }
.paper p:last-child { margin-bottom: 0; }
.paper .destaque { font-weight: 700; background: linear-gradient(transparent 6%, var(--hl) 6%, var(--hl) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 3px; }
.paper.lgpd { font-size: var(--fs-1); box-shadow: none; }
.paper .meta { font-family: var(--font-mono); font-size: .8rem; color: var(--paper-muted); letter-spacing: .02em; margin-bottom: 10px; }
.check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-size: var(--fs-1); }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--accent); }
.check:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.check.consent { border-style: dashed; }
.aceites { display: grid; gap: 12px; }

/* Assinatura */
.sigwrap { position: relative; height: clamp(210px, 34vh, 290px); background: var(--paper); border: 1.5px solid var(--paper-line); border-radius: 8px; overflow: hidden; }
.sigwrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.sigline { position: absolute; left: 6%; right: 6%; bottom: 24%; border-bottom: 1.5px solid var(--paper-line); pointer-events: none; }
.sigline .x { position: absolute; left: 0; bottom: 5px; font-family: var(--font-mono); color: var(--paper-muted); font-size: 1.15rem; }
.sighint { position: absolute; inset: 14px 0 auto; text-align: center; color: var(--paper-muted); font-size: .95rem; pointer-events: none; }
.sigcap { margin: 0; text-align: center; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Via do cliente */
.status { display: grid; gap: 2px; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--sunken); }
.status strong { font-size: var(--fs-2); }
.status[data-tone="ok"] { background: var(--ok-soft); border-color: var(--ok); }
.status[data-tone="ok"] strong { color: var(--ok); }
.status[data-tone="warn"] { background: var(--warn-soft); border-color: var(--warn); }
.status[data-tone="warn"] strong { color: var(--warn); }
.status[data-tone="danger"] { background: var(--danger-soft); border-color: var(--danger); }
.status[data-tone="danger"] strong { color: var(--danger); }
.docmeta { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: .95rem; }
.docmeta dt { color: var(--muted); font-weight: 700; }
.docmeta dd { margin: 0; font-family: var(--font-mono); overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 520px) { .docmeta { grid-template-columns: minmax(0, 1fr); gap: 2px; } .docmeta dd { margin-bottom: 8px; } }
.card { border: 1.5px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card.is-chosen { border-color: var(--accent); }
.card h3 { margin: 0; font-size: var(--fs-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card .escolha { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; }
.passos { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: p; }
.passos li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; counter-increment: p; }
.passos li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: .8rem; border: 1.5px solid var(--line-strong); color: var(--muted); }
.passos li > div { min-width: 0; }
.passos .acao { display: grid; gap: 6px; justify-items: start; }
.passos p { margin: 2px 0 0; }
.numero { font-family: var(--font-mono); font-size: .9rem; color: var(--muted); }

/* Registros */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .inp { flex: 1 1 260px; width: auto; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; padding: 4px; background: var(--sunken); gap: 4px; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; padding: 8px 14px; min-height: 42px; border-radius: 8px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.lista { display: grid; gap: 12px; }
.dia { margin: 12px 0 -2px; font-size: var(--fs-2); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.dia:first-child { margin-top: 0; }
.dia span { font-size: var(--fs-0); font-weight: 700; color: var(--muted); }
.rec { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 10px; background: var(--surface); min-width: 0; }
.rec-top { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.pill { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pill.pend { background: var(--warn-soft); color: var(--warn); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.rec-meta { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.rec-nome { font-weight: 700; font-size: var(--fs-2); overflow-wrap: anywhere; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 18px; font-variant-numeric: tabular-nums; }
.rec-grid > div { min-width: 0; overflow-wrap: anywhere; }
.rec-grid span { color: var(--muted); font-weight: 700; display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.rec-itens { margin: 0; padding-left: 22px; }
.rec-ent { color: var(--muted); overflow-wrap: anywhere; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rec-actions .btn-ghost { min-height: 44px; padding: 8px 14px; font-size: .95rem; }
.empty { padding: 28px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: 12px; display: grid; gap: 6px; }
.empty strong { color: var(--ink); font-size: var(--fs-2); }
.empty p { margin: 0; }

.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--surface); padding: 12px 18px; border-radius: 10px; font-weight: 700; max-width: calc(100% - 32px); box-shadow: var(--shadow); z-index: 10; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* Ajustes do app da loja */
.actions.fim { justify-content: flex-end; }
.cartao-login { max-width: 420px; margin: 8vh auto 0; }

/* Via impressa: só aparece na impressão */
#impressao { display: none; }
@media print {
  @page { size: A4; margin: 10mm 12mm; }
  html, body { background: #FFFFFF !important; }
  :root { padding: 0 !important; }
  body > *:not(#impressao) { display: none !important; }
  #impressao {
    display: block !important;
    color: #142033;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.22;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #impressao p { margin: 0; }
  #impressao .p-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 6mm; }
  #impressao h1 { margin: 0; font-size: 13pt; font-weight: 700; }
  #impressao .p-num { font-family: "Courier New", Courier, monospace; font-size: 8.5pt; color: #566377; white-space: nowrap; }
  #impressao .p-loja { font-size: 8pt; color: #566377; margin-top: 1mm; }
  #impressao .p-loja b { color: #142033; font-size: 8.5pt; }
  #impressao .p-regra { border-top: 0.5mm solid #142033; margin: 1.4mm 0 2.2mm; }
  #impressao .p-dados { display: grid; grid-template-columns: 112mm 1fr; gap: 1mm 4mm; }
  #impressao .p-dados .full { grid-column: 1 / -1; }
  #impressao .p-dados b, #impressao .p-falta b { color: #566377; }
  #impressao .p-itens { width: 100%; border-collapse: collapse; margin: 2.6mm 0 1.2mm; }
  #impressao .p-itens th { background: #EDF1F6; text-align: left; font-size: 8.5pt; color: #566377; padding: 0.9mm 1.5mm; }
  #impressao .p-itens td { padding: 0.85mm 1.5mm; border-bottom: 0.2mm solid #C4CCD7; vertical-align: top; }
  #impressao .p-itens .n { width: 8mm; }
  #impressao .p-itens .num { text-align: right; white-space: nowrap; }
  #impressao .p-itens .p-total td { border-bottom: 0; font-weight: 700; padding-top: 1.6mm; }
  #impressao .p-falta { margin-top: 1mm; }
  #impressao .p-rot { font-size: 7.5pt; font-weight: 700; color: #566377; text-transform: uppercase; letter-spacing: .04em; border-bottom: 0.25mm solid #C4CCD7; padding-bottom: .8mm; margin: 3mm 0 1.8mm; }
  #impressao .p-rot-leve { border-bottom: 0; padding-bottom: 0; margin: 2mm 0 0.8mm; }
  #impressao .p-clausula { font-size: 12pt; line-height: 1.17; margin-bottom: 0.8mm; }
  #impressao .p-clausula.dest { font-weight: 700; }
  #impressao .p-lgpd { font-size: 9pt; line-height: 1.25; }
  #impressao .p-bloco { break-inside: avoid; page-break-inside: avoid; }
  #impressao .p-ass { display: grid; grid-template-columns: 96mm 1fr; gap: 0 16mm; align-items: end; }
  #impressao .p-img { height: 14mm; display: flex; align-items: flex-end; }
  #impressao .p-img img { max-height: 14mm; max-width: 86mm; margin-left: 2mm; display: block; }
  #impressao .p-linha { border-top: 0.4mm solid #142033; padding-top: 1mm; font-size: 8.5pt; color: #566377; }
  #impressao .p-quem { font-size: 9.5pt; font-weight: 700; color: #142033; margin-top: .6mm; }
  #impressao .p-vend { font-size: 10pt; font-weight: 700; margin-bottom: 1mm; }
  #impressao .p-reg { font-size: 8pt; color: #566377; margin-top: 2.4mm; }
  #impressao .p-hash { font-size: 8pt; color: #566377; margin-top: .8mm; }
  #impressao .p-hash code { font-family: "Courier New", Courier, monospace; font-size: 7.5pt; color: #142033; }
  #impressao .p-rodape { margin-top: 2mm; border-top: 0.2mm solid #C4CCD7; padding-top: 1mm; font-size: 7.5pt; color: #566377; }
}
