.tv-gestor h3{font-size:1.7rem;margin:0;color:#093b43}
.tv-gestor>p{margin:.4rem 0 1rem}
.tv-gestor-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.75rem;margin:1rem 0}
.tv-gestor-kpis h4,.tv-gestor-kpis dl,.tv-gestor-kpis dd{margin:0}
.tv-gestor-kpis h4{color:#33545d;font-size:.9rem}
.tv-gestor-kpis dl{display:flex;justify-content:space-between;gap:.55rem;margin-top:.5rem}
.tv-gestor-kpis dt{font-size:.73rem}
.tv-gestor-kpis dd{font-size:1.25rem;font-weight:750;color:#093b43}
.tv-gestor-kpis div+div dd{color:#00776d}
.tv-gestor-scroll{overflow:auto;border:1px solid #d6e5e2;border-radius:12px;background:#fff}
.tv-gestor table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-variant-numeric:tabular-nums;font-size:.84rem}
.tv-gestor-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.tv-gestor th,.tv-gestor td{padding:.48rem .7rem;border-bottom:1px solid #e0eae8;border-right:1px solid #e0eae8;text-align:center;min-width:58px}
.tv-gestor thead tr:first-child th{background:#093b43;color:white;border-color:#24535a}
.tv-gestor thead tr+tr th{background:#e0eeeb;color:#244c54}
.tv-gestor th[scope=row],.tv-gestor thead th[rowspan]{position:sticky;left:0;z-index:1;text-align:left;min-width:255px;max-width:285px;white-space:normal}
.tv-gestor tbody tr th,.tv-gestor tbody tr td{background:#fff}
.tv-gestor tbody tr:nth-child(odd) th,.tv-gestor tbody tr:nth-child(odd) td{background:#f4f8f7}
.tv-gestor tbody td:nth-child(odd){color:#00776d;font-weight:700}
.tv-gestor tbody .tv-gestor-group th{background:#dff0eb;text-align:left;color:#145951}
.tv-gestor tbody:nth-of-type(3) .tv-gestor-group th{background:#f7ece2;color:#824620}
.tv-gestor tbody:nth-of-type(4) .tv-gestor-group th{background:#e7eef7;color:#30567d}
.tv-gestor tbody:nth-of-type(5) .tv-gestor-group th{background:#eee9f7;color:#5b477c}
.tv-gestor tbody:nth-of-type(6) .tv-gestor-group th{background:#e3f0e6;color:#315f47}
@media print{.tv-gestor-scroll{overflow:visible}.tv-gestor table{width:100%;font-size:7pt}.tv-gestor th,.tv-gestor td,.tv-gestor th[scope=row],.tv-gestor thead th[rowspan]{min-width:0;position:static;padding:2px}}
.tv-gestor-nav{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:.6rem 0;color:#33545d}
.tv-gestor-nav[hidden]{display:none}
.tv-gestor-nav>div{display:flex;gap:.35rem}
.tv-gestor-nav button{min-width:2.35rem;min-height:2rem;border:1px solid #bddbd3;border-radius:7px;background:#fff;color:#006d60;font:inherit;cursor:pointer}
.tv-gestor-nav button:disabled{opacity:.45;cursor:default}
.tv-gestor-draggable table{cursor:grab}
.tv-gestor-dragging,.tv-gestor-dragging table{cursor:grabbing;user-select:none}
@media print{.tv-gestor-nav{display:none}}

/* Cockpit: stronger section hierarchy and pre-sales comparison. */
.tv-gestor tbody .tv-gestor-group th{background:#0b464e!important;color:#fff!important;font-size:.95rem;font-weight:800;padding:.85rem .8rem;letter-spacing:.02em;border-top:8px solid #f4f8f7}
.tv-gestor tbody:first-of-type .tv-gestor-group th{border-top:0}
.tv-pre-list{min-width:0}.tv-pre-list>.tv-section-title{display:flex;align-items:center;gap:.7rem;font-size:1.4rem;font-weight:800;color:#093b43;margin:1.6rem 0 1rem;padding:.65rem .9rem;border-left:5px solid #00a878;background:#e4f2ee;border-radius:0 9px 9px 0}
.tv-pre-list .tv-gestor{min-width:0}.tv-pre-current>.tv-box{max-width:none;width:100%;box-sizing:border-box;margin-bottom:1rem}.tv-pre-list .tv-box h3{font-size:1.15rem;font-weight:800;color:#093b43;margin-bottom:.9rem}.tv-pre-list .tv-agenda{margin-bottom:1rem}
@media print{.tv-gestor tbody .tv-gestor-group th{background:#dcebe7!important;color:#093b43!important;border-top:4px solid #fff;padding:5px;font-size:9pt;print-color-adjust:exact}.tv-pre-list>.tv-section-title{break-after:avoid}.tv-pre-list .tv-gestor-scroll{overflow:visible}}

.tv-gestor thead .tv-total-heading{background:#007d68!important;font-weight:800}.tv-gestor thead .tv-total-subheading{background:#ccebe2!important;color:#074b40!important}.tv-gestor tbody tr .tv-total-value{background:#e4f4ed!important;color:#075c4c!important;font-weight:800;border-right-color:#b6d9cb}.tv-gestor tbody tr .tv-total-today{border-right:2px solid #83bba8}.tv-gestor .tv-total-heading,.tv-gestor .tv-total-subheading{min-width:74px}

/* Current credit inventory: scoped, readable groups. */
.tv-credit-panel{background:#fff;border:1px solid #cbded9;border-radius:14px;overflow:hidden;margin:24px 0;color:#123c43;box-shadow:0 3px 12px #093b4306}
.tv-credit-heading{padding:22px 24px;background:#edf6f3;border-bottom:1px solid #cbded9;border-left:6px solid #009c72}.tv-credit-eyebrow{font-size:.7rem;font-weight:800;letter-spacing:.09em;color:#277464}.tv-credit-heading h3{font-size:1.5rem!important;font-weight:850!important;margin:7px 0!important;color:#093b43!important}.tv-credit-heading p{margin:0;color:#52736e;font-size:.86rem}
.tv-credit-scroll{overflow-x:auto}.tv-credit-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.tv-credit-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tv-credit-table thead th{background:#f1f6f5;color:#426861;text-transform:uppercase;font-size:.73rem;letter-spacing:.045em;padding:13px 24px;text-align:right;border-bottom:1px solid #dbe8e4}.tv-credit-table thead th:first-child{text-align:left;width:68%}.tv-credit-table tbody th,.tv-credit-table tbody td{padding:12px 24px;border-bottom:1px solid #e3ece9}.tv-credit-table tbody th{text-align:left;font-weight:600;font-size:.88rem}.tv-credit-table tbody td{text-align:right;font-weight:800;min-width:100px;font-size:1rem}.tv-credit-table tbody tr:nth-child(odd){background:#f7faf9}.tv-credit-table tbody .tv-credit-band{background:#0c4650;color:#fff;font-weight:800;font-size:.92rem;padding:13px 24px;letter-spacing:.02em;border-top:7px solid #fff}.tv-credit-table .tv-credit-rejected .tv-credit-band{background:#6c4535}.tv-credit-table .tv-credit-total th,.tv-credit-table .tv-credit-total td{background:#e4f4ed;font-weight:850}.tv-credit-table .tv-credit-total td{font-size:1.2rem}.tv-credit-table .tv-credit-today{color:#008568}.tv-credit-table tbody tr:hover{background:#edf7f3}.tv-credit-foot{padding:16px 24px;background:#f4f8f6;color:#52736e;font-size:.79rem;line-height:1.65}.tv-credit-foot strong{color:#214f46}
@media(max-width:650px){.tv-credit-heading{padding:17px 14px}.tv-credit-heading h3{font-size:1.15rem!important}.tv-credit-table thead th,.tv-credit-table tbody th,.tv-credit-table tbody td{padding:11px 13px}.tv-credit-table tbody td{min-width:65px}.tv-credit-foot{padding:14px}}
@media print{.tv-credit-heading{break-after:avoid}.tv-credit-table thead{display:table-header-group}.tv-credit-table tr{break-inside:avoid}.tv-credit-table tbody .tv-credit-band{print-color-adjust:exact;background:#dcebe7;color:#093b43}.tv-credit-table .tv-credit-rejected .tv-credit-band{background:#eee3dd;color:#6c4535}.tv-credit-scroll{overflow:visible}.tv-credit-heading h3{font-size:14pt!important}}

#page-telao .tv-credit-table tbody tr .tv-credit-band{background:#0c4650!important;color:#fff!important}#page-telao .tv-credit-table .tv-credit-rejected tr .tv-credit-band{background:#6c4535!important;color:#fff!important}@media print{#page-telao .tv-credit-table tbody tr .tv-credit-band{background:#dcebe7!important;color:#093b43!important}#page-telao .tv-credit-table .tv-credit-rejected tr .tv-credit-band{background:#eee3dd!important;color:#6c4535!important}}

/* Pós-venda: mesma hierarquia de listagem da Pré-venda. */
#page-telao .tv-dp>header{padding:20px 24px;background:#edf6f3;border-left:6px solid #009c72;border-radius:10px;color:#093b43;margin:18px 0}
#page-telao .tv-dp>header h3{font-size:1.5rem;font-weight:850;letter-spacing:.02em;margin:0 0 8px}#page-telao .tv-dp>header p{margin:0;color:#52736e;font-size:.86rem}
#page-telao .tv-dp .tv-dp-section-title{font-size:1.35rem;font-weight:800;padding:12px 16px;border-left:5px solid #009c72;background:#e4f2ee;border-radius:0 9px 9px 0;margin:26px 0 14px;color:#093b43}
#page-telao .tv-dp .tv-dp-group th{background:#0c4650!important;color:#fff!important;font-size:.94rem;font-weight:800;padding:13px 18px;border-top:7px solid #fff;letter-spacing:.02em}
#page-telao .tv-dp-table-wrap{border:1px solid #cbded9;border-radius:12px;overflow:auto;background:#fff}#page-telao .tv-dp-table-wrap table{font-variant-numeric:tabular-nums;width:100%}#page-telao .tv-dp-table-wrap thead th{background:#093b43;color:#fff;padding:13px 18px;font-size:.75rem;text-transform:uppercase;letter-spacing:.035em}#page-telao .tv-dp-table-wrap tbody td,#page-telao .tv-dp-table-wrap tbody th{padding:11px 18px}#page-telao .tv-dp-table-wrap tbody tr:nth-child(odd) td,#page-telao .tv-dp-table-wrap tbody tr:nth-child(odd) th{background:#f4f8f6}#page-telao .tv-dp-table-wrap tbody td{font-weight:700}
#page-telao .tv-detail-scroll table{min-width:1550px;font-variant-numeric:tabular-nums}#page-telao .tv-detail-scroll th{white-space:nowrap}#page-telao .tv-detail-scroll td{vertical-align:top}
@media print{#page-telao .tv-dp .tv-dp-group th{background:#dcebe7!important;color:#093b43!important;print-color-adjust:exact}#page-telao .tv-dp-table-wrap thead{display:table-header-group}#page-telao .tv-dp-table-wrap tr{break-inside:avoid}}
