/* ============================================================
   ASCENT · Propostas: folha de estilo do documento
   Depende de tokens.css. Cobre tela e impressão: o botão
   "Baixar PDF" dispara window.print(), e o PDF sai deste CSS.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--doc-bg);
    color: var(--ink-2);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.wrap { width: min(100% - 48px, var(--measure)); margin-inline: auto; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(13, 22, 40, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(249, 213, 146, 0.18);
}
.topbar .wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand svg { width: 22px; height: 22px; display: block; }
.brand .wordmark {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--white);
}
.topbar .doc-ref {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-navy-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar nav {
    margin-left: auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-navy-3);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}
.topbar nav a:hover { color: var(--cream-100); background: rgba(255,255,255,0.06); }
.topbar nav a[aria-current="true"] { color: var(--navy); background: var(--cream); }

.btn-pdf {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--cream);
    border: 1px solid var(--cream);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-pdf:hover { background: var(--cream-100); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249,213,146,.28); }
.btn-pdf:active { transform: translateY(0); }
.btn-pdf svg { width: 14px; height: 14px; }

/* ============================================================
   CAPA
   ============================================================ */
.cover {
    position: relative;
    background:
        radial-gradient(ellipse 70% 90% at 88% 8%, rgba(249,213,146,.14), transparent 62%),
        radial-gradient(ellipse 90% 70% at 6% 96%, rgba(16,185,129,.10), transparent 60%),
        linear-gradient(168deg, var(--navy-900) 0%, var(--navy) 52%, #060A12 100%);
    color: var(--on-navy-2);
    overflow: hidden;
    padding: 72px 0 0;
}
.cover::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -140px;
    width: 460px;
    height: 460px;
    background: url("logos/ascent-mark.svg") center / contain no-repeat;
    opacity: .05;
    pointer-events: none;
}
.cover .wrap { position: relative; z-index: 1; }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--cream);
}
.cover h1 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 18px 0 0;
    max-width: 20ch;
}
.cover h1 .accent { color: var(--cream); }
.cover .lede {
    margin-top: 20px;
    font-size: 1.08rem;
    color: var(--on-navy-2);
    max-width: 62ch;
}

.meta-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(178px, 100%), 1fr));
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 1px solid rgba(255,255,255,.12);
}
.meta-grid .cell {
    padding: 18px 20px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.meta-grid .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-navy-3);
}
.meta-grid .v {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.4;
}
.meta-grid .v small { display: block; font-size: 12.5px; font-weight: 400; color: var(--on-navy-3); margin-top: 2px; }

.cover-foot {
    margin-top: 34px;
    padding: 20px 0 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--on-navy-3);
}
.cover-foot b { color: var(--cream); font-weight: 500; }

/* ============================================================
   SEÇÕES
   ============================================================ */
section.doc {
    background: var(--doc-surface);
    padding: 64px 0;
    border-bottom: 1px solid var(--doc-border);
}
section.doc.tinted { background: var(--doc-surface-alt); }

.sec-head { margin-bottom: 34px; }
.sec-num {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cream-700);
    display: flex;
    align-items: center;
    gap: 12px;
}
.sec-num::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--doc-border);
}
h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-top: 14px;
    max-width: 24ch;
}
h3 {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.sec-lede {
    margin-top: 14px;
    font-size: 1.04rem;
    color: var(--ink-2);
    max-width: 68ch;
}
p + p { margin-top: 14px; }
p { max-width: 72ch; }
strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   GRIDS E CARDS
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); }

.card {
    background: var(--doc-surface);
    border: 1px solid var(--doc-border);
    border-radius: var(--r-lg);
    padding: 24px 26px;
    break-inside: avoid;
}
section.doc:not(.tinted) .card { background: var(--doc-surface-alt); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--ink-2); }
.card .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: block;
    margin-bottom: 10px;
}

/* cartão de sistema */
.sys {
    position: relative;
    background: var(--doc-surface);
    border: 1px solid var(--doc-border);
    border-radius: var(--r-lg);
    padding: 24px 26px 26px;
    break-inside: avoid;
}
section.doc:not(.tinted) .sys { background: var(--doc-surface-alt); }
.sys::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    background: var(--cream);
}
.sys.wide { grid-column: 1 / -1; }
.sys.wide ul.dashes { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); column-gap: 32px; }
.sys .idx {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    color: var(--cream-700);
}
.sys h3 { margin: 8px 0; }
.sys p { font-size: 0.94rem; }
.sys ul { margin-top: 12px; }

/* listas */
ul.ticks { list-style: none; display: grid; gap: 9px; }
ul.ticks li {
    position: relative;
    padding-left: 26px;
    font-size: 0.95rem;
    color: var(--ink-2);
}
ul.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--emerald);
    border-bottom: 2px solid var(--emerald);
    transform: rotate(-45deg);
}
ul.ticks li b { color: var(--ink); font-weight: 600; }

ul.dashes { list-style: none; display: grid; gap: 8px; }
ul.dashes li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
}
ul.dashes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 10px;
    height: 1.5px;
    background: var(--ink-4);
}

/* ============================================================
   TABELA COMPARATIVA DE ESCOPO
   ============================================================ */
.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--doc-border);
    border-radius: var(--r-lg);
    background: var(--doc-surface);
}
table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.94rem;
    table-layout: fixed;
}
thead th:first-child { width: 46%; }
thead th:nth-child(2), thead th:nth-child(3) { width: 27%; }
thead th {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink-3);
    background: var(--doc-inset);
    padding: 14px 18px;
    border-bottom: 1px solid var(--doc-border);
    white-space: nowrap;
}
thead th.hl { color: var(--navy); background: var(--cream-100); }
tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--doc-border);
    color: var(--ink-2);
    vertical-align: top;
}
tbody td.hl { background: rgba(249, 213, 146, .10); color: var(--ink); }
tbody tr:last-child td { border-bottom: 0; }
td.center, th.center { text-align: center; }
td.qty {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    overflow-wrap: break-word;
}
.mark-yes { color: var(--emerald-700); font-weight: 600; }
.mark-no  { color: var(--ink-4); }

/* ============================================================
   TIMELINE DO CRONOGRAMA
   ============================================================ */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--doc-border); margin-left: 8px; }
.timeline .step {
    position: relative;
    padding: 0 0 30px 30px;
    break-inside: avoid;
}
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cream);
    border: 3px solid var(--doc-surface);
    box-shadow: 0 0 0 1px var(--cream-600);
}
.timeline .when {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream-700);
}
.timeline .what { margin-top: 5px; font-weight: 600; color: var(--ink); }
.timeline .detail { margin-top: 4px; font-size: 0.93rem; color: var(--ink-3); max-width: 62ch; }

/* ============================================================
   INVESTIMENTO
   ============================================================ */
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: start; }

.price {
    position: relative;
    border: 1px solid var(--doc-border);
    border-radius: var(--r-xl);
    padding: 30px;
    background: var(--doc-surface);
    break-inside: avoid;
}
.price.featured {
    border-color: var(--navy);
    background: linear-gradient(178deg, var(--navy-900), var(--navy));
    color: var(--on-navy-2);
    box-shadow: var(--shadow-lg);
}
.price .tag {
    position: absolute;
    top: -11px;
    left: 30px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--cream);
    border-radius: 999px;
    padding: 4px 12px;
}
.price .plan {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.price.featured .plan { color: var(--cream); }
.price h3 { font-size: 1.34rem; margin: 10px 0 12px; }
.price.featured h3 { color: var(--white); }
.price .desc { font-size: 0.94rem; color: var(--ink-3); }
.price.featured .desc { color: var(--on-navy-2); }

.price .amount {
    margin: 22px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.price.featured .amount { color: var(--cream); }
.price .amount .cur { font-size: 0.46em; font-weight: 500; vertical-align: 0.55em; margin-right: 4px; color: var(--ink-3); }
.price.featured .amount .cur { color: var(--on-navy-3); }
.price .terms-line {
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--ink-3);
}
.price.featured .terms-line { color: var(--on-navy-3); }

.price .divider { height: 1px; background: var(--doc-border); margin: 24px 0 20px; }
.price.featured .divider { background: rgba(255,255,255,.14); }

.price ul.ticks li { color: var(--ink-2); }
.price.featured ul.ticks li { color: var(--on-navy-2); }
.price.featured ul.ticks li b { color: var(--white); }
.price.featured ul.ticks li::before { border-color: var(--cream); }

.price .prazo {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--doc-inset);
    font-size: 0.9rem;
    color: var(--ink-2);
}
.price.featured .prazo { background: rgba(255,255,255,.06); color: var(--on-navy-2); }
.price .prazo b { color: var(--ink); }
.price.featured .prazo b { color: var(--white); }

/* ============================================================
   CALLOUT
   ============================================================ */
.callout {
    border-left: 3px solid var(--cream);
    background: var(--doc-inset);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 18px 22px;
    break-inside: avoid;
}
.callout .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-700);
    display: block;
    margin-bottom: 6px;
}
.callout p { font-size: 0.95rem; }
.callout.emerald { border-left-color: var(--emerald); background: var(--emerald-050); }
.callout.emerald .k { color: var(--emerald-700); }

/* ============================================================
   CONDIÇÕES COMERCIAIS
   ============================================================ */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    border: 1px solid var(--doc-border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
/* as réguas internas vêm de box-shadow: não ocupam espaço, e o overflow
   hidden do container come as que sobrariam nas bordas externas. Assim uma
   linha incompleta não deixa célula fantasma cinza. */
.terms-grid .item {
    background: var(--doc-surface);
    padding: 20px 22px;
    box-shadow: 1px 0 0 var(--doc-border), 0 1px 0 var(--doc-border);
}
section.doc:not(.tinted) .terms-grid .item { background: var(--doc-surface-alt); }
.terms-grid .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-4);
}
.terms-grid .v { margin-top: 7px; font-size: 0.97rem; color: var(--ink); font-weight: 500; }
.terms-grid .v small { display: block; font-weight: 400; font-size: 0.86rem; color: var(--ink-3); margin-top: 3px; }

.pix {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    padding: 18px 22px;
    border: 1px dashed var(--doc-border-strong);
    border-radius: var(--r-lg);
    background: var(--doc-inset);
}
.pix .k {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-4);
}
.pix .v { font-family: var(--font-mono); font-size: 0.98rem; color: var(--ink); font-weight: 500; }

/* ============================================================
   ACEITE E ASSINATURA
   ============================================================ */
/* `section.doc` tem especificidade maior que `.aceite` sozinha, então o
   seletor precisa carregar as duas classes para o navy vencer o branco. */
section.doc.aceite { background: var(--navy); color: var(--on-navy-2); border-bottom: 0; }
section.doc.aceite .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
section.doc.aceite .card h3 { color: var(--white); }
section.doc.aceite .card p { color: var(--on-navy-2); }
section.doc.aceite .card p b { color: var(--white); }
section.doc.aceite .card .k { color: var(--cream); }
.aceite h2 { color: var(--white); }
.aceite .sec-num { color: var(--cream); }
.aceite .sec-num::after { background: rgba(255,255,255,.16); }
.aceite .sec-lede { color: var(--on-navy-2); }

.sign-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 40px 48px;
}
/* a régua fica ABAIXO do espaço em branco: assina-se em cima da linha. */
.sign .rule {
    display: block;
    height: 54px;
    border-bottom: 1px solid rgba(255,255,255,.28);
    margin-bottom: 14px;
}
.sign .role {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
}
.sign .name { margin-top: 7px; font-size: 1rem; color: var(--white); font-weight: 500; }
.sign .info { margin-top: 3px; font-size: 0.86rem; color: var(--on-navy-3); }

.local-data {
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--on-navy-3);
    white-space: nowrap;
}
.local-data .line { display: inline-block; min-width: 120px; border-bottom: 1px solid rgba(255,255,255,.28); }

/* ============================================================
   RODAPÉ
   ============================================================ */
footer.doc-foot {
    background: var(--navy-900);
    color: var(--on-navy-3);
    padding: 38px 0 44px;
}
footer.doc-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; }
footer.doc-foot .brand .wordmark { font-size: 13.5px; }
footer.doc-foot .meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; line-height: 1.9; }
footer.doc-foot a { color: var(--cream); text-decoration: none; }
footer.doc-foot a:hover { text-decoration: underline; }
footer.doc-foot .tagline {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy-400);
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.print-only { display: none !important; }

@media (max-width: 720px) {
    .wrap { width: min(100% - 32px, var(--measure)); }
    .topbar nav, .topbar .doc-ref { display: none; }
    .cover { padding-top: 48px; }
    section.doc { padding: 46px 0; }
    .sign-grid { gap: 28px; }
}

/* ============================================================
   IMPRESSÃO: o botão "Baixar PDF" chama window.print()
   ============================================================ */
@page {
    size: A4 portrait;
    margin: 14mm 15mm 16mm;
}

/* a capa é a única página sem margem: o navy sangra até a borda da folha. */
@page :first {
    margin: 0;
}

@media print {
    html { scroll-padding-top: 0; }
    body {
        background: #fff;
        color: #1d2735;
        font-size: 10.2pt;
        line-height: 1.5;
    }
    .wrap { width: 100%; }

    .screen-only, .topbar { display: none !important; }
    .print-only { display: block !important; }

    /* @page :first zera a margem da primeira folha; o respiro da capa vem do
       padding próprio, e a altura fixa garante o navy até o rodapé da folha. */
    .cover {
        margin: 0;
        padding: 34mm 15mm 20mm;
        height: 100vh;
        break-after: page;
        background: #0D1628 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .cover .wrap { width: 100%; }
    .cover::after { opacity: .07; right: -30mm; bottom: -40mm; width: 130mm; height: 130mm; }
    .cover h1 { font-size: 26pt; }
    .cover .lede { font-size: 11pt; }
    .meta-grid { margin-top: 16mm; grid-template-columns: repeat(2, 1fr); }
    .cover-foot { padding-bottom: 0; }

    section.doc {
        padding: 7mm 0 3mm;
        border-bottom: 0;
        background: #fff !important;
    }
    section.doc.tinted { background: #fff !important; }
    .sec-head { margin-bottom: 4mm; break-after: avoid; break-inside: avoid; }
    .sec-lede { margin-top: 8px; }

    /* seções que cabem folgadas em uma folha: mantê-las inteiras evita o
       título órfão no pé da página anterior. As longas (sistemas e
       entregáveis) ficam de fora, senão o Chrome abriria folha em branco. */
    #valor, #metodo, #cronograma, #investimento, #condicoes, #premissas {
        break-inside: avoid;
    }

    /* em A4 o auto-fit colapsaria tudo em uma coluna só */
    .grid.c2 { grid-template-columns: repeat(2, 1fr); }
    /* sistemas em 3 colunas: em 2 o card largo sobrava para uma folha só dele */
    #sistemas .grid.c2 { grid-template-columns: repeat(3, 1fr); }
    .sys.wide { grid-column: auto; }
    .sys.wide ul.dashes { grid-template-columns: 1fr; }
    .sys { padding: 12px 14px; }
    .sys p, ul.dashes li, ul.ticks li { font-size: 8.6pt; }
    .grid.c3 { grid-template-columns: repeat(3, 1fr); }
    .grid.c4 { grid-template-columns: repeat(4, 1fr); }
    .terms-grid { grid-template-columns: repeat(3, 1fr); }
    h2 { font-size: 15pt; break-after: avoid; }
    h3 { font-size: 11pt; break-after: avoid; }
    .sec-lede { font-size: 10.4pt; }

    .card, .sys, .price, .callout, .terms-grid .item, .timeline .step, .table-scroll, .pix {
        break-inside: avoid;
    }
    .card, .sys {
        background: #fff !important;
        border-color: #d9dbe1;
        padding: 13px 15px;
    }
    .grid { gap: 8px; }
    .callout { padding: 12px 16px; }
    .timeline .step { padding-bottom: 18px; }

    .table-scroll { overflow: visible; border-color: #d9dbe1; }
    table { min-width: 0; font-size: 9pt; }
    thead { display: table-header-group; }
    thead th {
        background: #f3efe6 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 8px 10px;
    }
    thead th.hl { background: #fbeed3 !important; }
    tbody td { padding: 7px 10px; }
    tbody td.hl {
        background: #fdf6e8 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .price-grid { gap: 8mm; }
    .price { padding: 16px 18px; box-shadow: none; }
    .price.featured {
        background: #0D1628 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .price .amount { font-size: 22pt; }

    .aceite {
        break-before: page;
        break-inside: avoid;
        background: #fff !important;
        color: #1d2735;
        padding-top: 4mm;
    }
    .aceite h2, .aceite .name { color: #0D1628; }
    .aceite .sec-lede, .aceite p { color: #3A4657; }
    .aceite .sec-num { color: #A87828; }
    .aceite .sec-num::after { background: #d9dbe1; }
    .sign-grid { margin-top: 10mm; grid-template-columns: repeat(2, 1fr); gap: 0 16mm; }
    .sign .rule { height: 24mm; border-bottom-color: #0D1628; margin-bottom: 4mm; }
    .sign .role { color: #A87828; }
    .sign .info { color: #667286; }
    .local-data { color: #3A4657; margin-top: 12mm; font-size: 10.5pt; }
    .local-data .line { border-bottom-color: #0D1628; min-width: 26mm; }

    footer.doc-foot {
        background: #fff !important;
        color: #667286;
        border-top: 1px solid #d9dbe1;
        padding: 6mm 0 0;
    }
    footer.doc-foot .tagline { color: #8A94A4; }
    footer.doc-foot a { color: #A87828; }

    a { text-decoration: none; color: inherit; }
}
