/* Exclusivo do modelo Proposta Comercial Premium Técnica. */
.pdf-proposta-comercial-premium-tec {
    --pcpt-accent: var(--pcp-red);
    --pcpt-dark: #172033;
    --pcpt-muted: #64748b;
    --pcpt-panel: #f8fafc;
    --pcpt-border: #d8e1ec;
}

.pdf-proposta-comercial-premium-tec .pcpt-watermark {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    pointer-events: none;
}

.pdf-proposta-comercial-premium-tec .pcpt-watermark img {
    display: block;
    width: auto;
    max-width: 92mm;
    height: auto;
    max-height: 92mm;
    opacity: .055;
    filter: grayscale(1);
    object-fit: contain;
}

.pdf-proposta-comercial-premium-tec .pcp-hero,
.pdf-proposta-comercial-premium-tec .pcpt-value-row,
.pdf-proposta-comercial-premium-tec .pcp-party-grid,
.pdf-proposta-comercial-premium-tec .pcp-compact-header,
.pdf-proposta-comercial-premium-tec .pdf-premium-items,
.pdf-proposta-comercial-premium-tec .pcp-bottom,
.pdf-proposta-comercial-premium-tec .pcp-continue,
.pdf-proposta-comercial-premium-tec .pcp-footer {
    z-index: 1;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-row,
.pdf-proposta-comercial-premium-tec .pcp-party-grid,
.pdf-proposta-comercial-premium-tec .pcp-compact-header,
.pdf-proposta-comercial-premium-tec .pdf-premium-items,
.pdf-proposta-comercial-premium-tec .pcp-bottom,
.pdf-proposta-comercial-premium-tec .pcp-continue {
    position: relative;
}

.pdf-proposta-comercial-premium-tec .pcp-hero {
    height: 110mm;
}

.pdf-proposta-comercial-premium-tec .pcp-hero-logo,
.pdf-proposta-comercial-premium-tec .pcp-single-page .pcp-hero-logo {
    margin-bottom: 2mm;
}

.pdf-proposta-comercial-premium-tec .pcp-hero-copy > span {
    margin-bottom: 1.5mm;
}

.pdf-proposta-comercial-premium-tec .pcp-hero-copy h1,
.pdf-proposta-comercial-premium-tec .pcp-single-page .pcp-hero-copy h1 {
    max-width: 66mm;
    font-size: 13.5pt;
    line-height: 1.1;
}

.pdf-proposta-comercial-premium-tec .pcp-hero::before {
    position: absolute;
    z-index: 4;
    right: 9mm;
    bottom: 14mm;
    padding: 1.2mm 2.5mm;
    color: #fff;
    background: rgba(23, 32, 51, .82);
    font-size: 5.4pt;
    font-weight: 800;
    letter-spacing: .12em;
}

.pdf-proposta-comercial-premium-tec .pcp-benefits {
    min-height: 23mm;
    border-color: var(--pcpt-border);
    box-shadow: 0 1.2mm 4mm rgba(15, 23, 42, .10);
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2mm;
    margin: 0 0 3mm;
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data > div {
    min-width: 0;
    min-height: 12mm;
    padding: 2mm 2.5mm;
    border: 1px solid var(--pcpt-border);
    border-radius: 1.5mm;
    background: var(--pcpt-panel);
    box-sizing: border-box;
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data i {
    float: left;
    margin: 0 1.5mm 2mm 0;
    color: var(--pcpt-accent);
    font-size: 11pt;
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data span,
.pdf-proposta-comercial-premium-tec .pcpt-proposal-data strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data span {
    color: var(--pcpt-muted);
    font-size: 5.2pt;
    font-weight: 800;
    text-transform: uppercase;
}

.pdf-proposta-comercial-premium-tec .pcpt-proposal-data strong {
    margin-top: .5mm;
    color: var(--pcpt-dark);
    font-size: 5.8pt;
}

.pdf-proposta-comercial-premium-tec .pcp-party-card,
.pdf-proposta-comercial-premium-tec .pcp-solution,
.pdf-proposta-comercial-premium-tec .pcp-items,
.pdf-proposta-comercial-premium-tec .pcp-finance,
.pdf-proposta-comercial-premium-tec .pcp-conditions,
.pdf-proposta-comercial-premium-tec .pcpt-observations {
    border-color: var(--pcpt-border);
}

.pdf-proposta-comercial-premium-tec .pcpt-value-row {
    position: relative;
    z-index: 5;
    margin: -21mm 0 4mm;
}

/* Mantém o cabeçalho da primeira página estável com qualquer quantidade de itens. */
.pdf-proposta-comercial-premium-tec .pcpt-party-grid,
.pdf-proposta-comercial-premium-tec .pcp-single-page .pcpt-party-grid {
    height: 39mm;
    min-height: 39mm;
}

.pdf-proposta-comercial-premium-tec .pcpt-party-grid .pcp-party-card,
.pdf-proposta-comercial-premium-tec .pcp-single-page .pcpt-party-grid .pcp-party-card {
    height: 39mm;
    min-height: 39mm;
    box-sizing: border-box;
    overflow: hidden;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-card {
    position: relative;
    top: 3mm;
    display: grid;
    grid-template-columns: 11mm 1fr;
    gap: 3mm;
    min-height: 18mm;
    padding: 3mm 3.5mm;
    border: 1px solid var(--pcpt-border);
    border-left: 1.2mm solid var(--pcpt-accent);
    border-radius: 2mm;
    background: var(--pcpt-panel);
    width: 76mm;
    box-sizing: border-box;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-card > i {
    display: grid;
    place-items: center;
    width: 10mm;
    height: 10mm;
    border-radius: 1.5mm;
    color: #fff;
    background: var(--pcpt-accent);
    font-size: 16pt;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-card small {
    display: block;
    color: var(--pcpt-muted);
    font-size: 5.7pt;
    font-weight: 800;
    text-transform: uppercase;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-card strong {
    display: block;
    margin: .5mm 0 1.2mm;
    color: var(--pcpt-accent);
    font-size: 13pt;
    line-height: 1;
}

.pdf-proposta-comercial-premium-tec .pcpt-value-card p {
    margin: 0;
    color: var(--pcpt-dark);
    font-size: 5.8pt;
    line-height: 1.3;
}

/* Tabela idêntica à do modelo Detalhado: seis colunas, sem coluna de foto. */
.pdf-proposta-comercial-premium-tec .pdf-premium-items {
    margin-top: 3mm;
}

.pdf-proposta-comercial-premium-tec .pdf-items-ribbon {
    min-width: 52mm;
    padding: 1.8mm 4mm;
    font-size: 7.5pt;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items th {
    height: 5.8mm;
    padding: .8mm;
    font-size: 6pt;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(1) { width: 10mm; }
.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(2) { width: auto; text-align: left; }
.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(3) { width: 14mm; text-align: center; }
.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(4) { width: 14mm; }
.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(5) { width: 27mm; }
.pdf-proposta-comercial-premium-tec .pdf-premium-items th:nth-child(6) { width: 29mm; }

.pdf-proposta-comercial-premium-tec .pdf-premium-items tbody tr,
.pdf-proposta-comercial-premium-tec .pdf-premium-items td {
    height: 7mm;
    max-height: 7mm;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, .62);
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items tbody tr:nth-child(even) {
    background: rgba(244, 245, 247, .62);
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items td {
    padding: .6mm 1mm;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items td:nth-child(2) {
    text-align: left;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items td:nth-child(3),
.pdf-proposta-comercial-premium-tec .pdf-premium-items td:nth-child(4) {
    text-align: center;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items td:nth-child(2) strong {
    display: block;
    font-size: 6.8pt;
    text-transform: uppercase;
}

.pdf-proposta-comercial-premium-tec .pdf-premium-items td:nth-child(2) small {
    display: block;
    color: #6b7280;
    font-size: 5.5pt;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-proposta-comercial-premium-tec .pcpt-items h2,
.pdf-proposta-comercial-premium-tec .pcp-finance h2,
.pdf-proposta-comercial-premium-tec .pcpt-conditions h2,
.pdf-proposta-comercial-premium-tec .pcpt-observations h2 {
    color: var(--pcpt-dark);
}

.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(1) { width: 8mm; }
.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(2) { text-align: left; }
.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(3),
.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(4) { width: 10mm; }
.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(5),
.pdf-proposta-comercial-premium-tec .pcpt-items th:nth-child(6) { width: 22mm; }

.pdf-proposta-comercial-premium-tec .pcpt-items td:nth-child(4) {
    color: var(--pcpt-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.pdf-proposta-comercial-premium-tec .pcpt-conditions ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pdf-proposta-comercial-premium-tec .pcpt-conditions li {
    margin: 0 0 1mm;
    font-size: 5.4pt;
}

.pdf-proposta-comercial-premium-tec .pcpt-conditions li::before {
    content: '•';
    margin-right: 1mm;
    color: var(--pcpt-accent);
    font-weight: 900;
}

.pdf-proposta-comercial-premium-tec .pcpt-observations {
    min-height: 35mm;
    padding: 2.5mm 3.5mm;
    border: 1px solid var(--pcpt-border);
    border-radius: 2mm;
    background: var(--pcpt-panel);
    box-sizing: border-box;
}

.pdf-proposta-comercial-premium-tec .pcpt-observations h2 {
    margin: 0 0 2mm;
    font-size: 7.2pt;
    text-transform: uppercase;
}

.pdf-proposta-comercial-premium-tec .pcpt-observations p {
    margin: 0;
    color: #475569;
    font-size: 5.5pt;
    line-height: 1.35;
    white-space: pre-line;
}

.pdf-proposta-comercial-premium-tec .pcpt-has-observations {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Mantém condições e financeiro nas duas colunas, inclusive sem observações. */
.pdf-proposta-comercial-premium-tec .pcpt-no-observations .pcpt-conditions {
    grid-column: auto !important;
}

.pdf-proposta-comercial-premium-tec .pcp-footer {
    background: #f1f5f9;
}

.pdf-container.pdf-exporting.pdf-proposta-comercial-premium.pdf-proposta-comercial-premium-tec .pcp-single-page .pcp-hero,
.pdf-container.pdf-exporting.pdf-proposta-comercial-premium-tec .pcp-hero {
    height: 110mm;
}

.pdf-container.pdf-exporting.pdf-proposta-comercial-premium.pdf-proposta-comercial-premium-tec .pcp-hero-image {
    inset: 0 0 auto auto;
    width: 64%;
    height: 110mm;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.pdf-container.pdf-exporting.pdf-proposta-comercial-premium-tec .pcpt-proposal-data > div {
    min-height: 11mm;
}
