/* Shared compact result-first layout. */
body{line-height:1.4}
body main,body main.caixa-main{padding-top:22px;padding-bottom:24px}
body header{padding-top:14px;padding-bottom:14px}
body .card,body .caixa-section,body .caixa-step{padding:20px;margin-bottom:14px}
body .grid{gap:12px}
body label{margin-bottom:12px}
body input:not([type=checkbox]):not([type=radio]),body select{padding:10px 12px;margin-top:5px;min-height:44px}
body h2,body .caixa-step h2{margin-top:8px;margin-bottom:14px}
body p{margin-top:8px;margin-bottom:10px}
body .intro,body .caixa-intro{padding:24px;margin-bottom:20px}
body .intro .trial-notice{margin-bottom:18px;padding:12px}
body .intro .journey-strip{margin-top:18px;padding-top:12px;padding-bottom:12px}
body .minute-heading,body .caixa-minute-intro h2{margin:10px 0 16px}
body .caixa-progress{margin-bottom:12px}
body .caixa-step-nav{gap:10px;margin:12px 0 18px}
body .caixa-person,body .person{margin-bottom:12px;padding-bottom:8px}
body .caixa-person-heading{margin-bottom:8px}
body .caixa-results{margin-top:22px}
body .caixa-results-heading{margin-bottom:14px}
body .result .heroValue{margin:16px 0}
body .workspace{display:block;max-width:1000px;margin:auto}
body #resultsPanel{margin-top:18px}
body.showing-result .intro,body.showing-result .caixa-introduction,body.showing-result #listingEntry{display:none}
body.showing-result #bankChoice,body.showing-result .domo-banners,body.showing-result .domo-budget,body.showing-result .domo-catalog,body.showing-result #domoQuickPreview,body.showing-result #domoPaymentSuggestion{display:none}
body #resultsPanel .heroValue,body #resultsPanel .composition,body #resultsPanel .next{display:none}
body .workspace.has-result #form{display:none}
body .result-edit{margin-bottom:12px}
body #caixaForm.result-collapsed,body.caixa-guided-page #caixaForm.caixa-guided.result-collapsed,body .caixa-progress.result-collapsed,body .domo-journey.result-collapsed{display:none}
body .caixa-comparison,body .caixa-guided-page .caixa-comparison{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
body #caixaComparison>.caixa-result-card{display:none}
body .result-table-wrap,body .bia-tip-table{overflow-x:auto;min-width:0}
body .result-summary{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;background:#fff}
body .result-summary th,body .result-summary td{padding:10px 12px;text-align:right;vertical-align:middle;border-bottom:1px solid #dbe7ef;overflow-wrap:anywhere}
body .result-summary th:first-child{width:40%;text-align:left;font-weight:500}
body .result-summary thead th{background:#eff6fb;color:#145779;font-weight:700}
body .result-summary tr.result-finance th,body .result-summary tr.result-finance td{font-weight:700;background:#f1f8fc;color:#11577e}
body .result-summary tr.result-balance th,body .result-summary tr.result-balance td{font-weight:700;background:#fff3e7}
body .result-summary button{padding:8px 10px;font-size:12px;min-height:38px;width:100%}
body .result-summary .sale-percentage{display:block;margin-top:3px;font-size:10px;font-weight:400;color:#718493}
body .result-summary td.result-unavailable{font-size:12px;color:#a54c15}
body .result-summary td[data-selected=true]{box-shadow:inset 0 -3px #e97818}
body .result-summary-note{font-size:12px;color:var(--muted);padding:0 12px}
body #caixaFinancialSummary>h3,body #caixaFinancialSummary>dl{display:none}
body .bia-tip-comparison{margin:16px 0;background:#fff;border-color:#e9ba8d;box-shadow:none}
body .bia-tip-comparison h2{font-size:20px}
body .bia-tip-comparison .bia-tip-conditions{display:flex;flex-wrap:wrap;gap:8px 20px;margin:12px 0}
body .bia-tip-system{margin:14px 0}
body .bia-tip-system table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}
body .bia-tip-table table{min-width:0}
body .bia-tip-system th,body .bia-tip-system td{padding:8px;border-bottom:1px solid var(--line);text-align:right;overflow-wrap:anywhere}
body .bia-tip-system th:first-child{width:40%;text-align:left;font-weight:500}
body .bia-tip-system thead th{background:#eff6fb;font-weight:700}
body .bia-tip-trigger{margin:12px 0}
body .settlement-choice,body .settlement-general,body .follow-result,body #archiveContacts,body .lead-notice,body .quick-analysis,body .property-identification,body #domoCPFDialog{display:none!important}
body .profile-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body .profile-choice{width:100%;font-size:16px;min-height:48px;padding:12px}
body .bia-contact{margin-top:20px;padding-top:14px;padding-bottom:14px}
body .domo-flow{margin-top:16px}
body .domo-flow .grid{gap:12px}
body .domo-presentations{display:flex;overflow-x:auto;gap:10px;margin:14px 0;padding-bottom:8px;scroll-snap-type:x proximity}
body .domo-presentations>.domo-project-card{flex:0 0 168px;padding:12px;scroll-snap-align:start}
body .domo-project-card img{width:76px;height:76px;margin-bottom:8px}
body .domo-mode-cards{margin:14px 0;gap:12px}
body .domo-mode-cards button{min-height:90px;padding:16px 12px}
body.domo-approval-only #caixaDetail>.domo-response{display:block}
body.domo-approval-only #caixaDetail .caixa-output-actions button{display:inline-flex}
body .cpf-prompt{position:fixed;z-index:40;bottom:20px;right:20px;width:min(360px,calc(100vw - 32px));padding:22px;background:#fff;border:1px solid #c6dce9;border-radius:16px;box-shadow:0 12px 40px #123b5c24}
body .cpf-prompt h2{font-size:20px;margin:0 26px 8px 0}
body .cpf-prompt p{font-size:13px}
body .cpf-prompt button.primary{width:100%;justify-content:center;min-height:44px}
body .cpf-prompt .link{margin-top:8px;min-height:36px}
body .cpf-prompt [role=alert]{color:#a33f20}
@media(max-width:600px){body main,body main.caixa-main{padding:16px 12px}body .card,body .caixa-section,body .caixa-step{padding:16px;margin-bottom:12px}body .intro,body .caixa-intro{padding:20px 16px}body .result-summary{font-size:12px}body .result-summary th,body .result-summary td{padding:9px 7px}body .result-summary button{font-size:11px;padding:7px 4px}body .bia-tip-system th,body .bia-tip-system td{padding:7px 5px;font-size:11px}body .cpf-prompt{right:16px;bottom:16px}}
@media print{.result-edit,.cpf-prompt,.bia-tip-comparison,.bia-tip-trigger{display:none!important}}
/* Domo: compact catalogue and commercial series. */
body.domo-page main.caixa-main{padding-top:14px}
body.domo-page .card,body.domo-page .caixa-section{padding:16px;margin-bottom:10px}
body.domo-page h2{margin:5px 0 10px;font-size:24px}
body.domo-page h3{margin:8px 0;font-size:18px}
body.domo-page p{margin:5px 0 8px}
body.domo-page label{margin-bottom:8px}
body.domo-page .caixa-section-title{margin-bottom:12px;padding-bottom:8px;gap:10px}
body.domo-page .caixa-section-title>span{width:34px;height:34px;font-size:13px}
body.domo-page .domo-mode-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
body.domo-page .domo-mode-cards button{min-height:70px;padding:12px 8px}
body.domo-page .domo-mode-cards b{font-size:16px}
body.domo-page .domo-mode-cards span{font-size:11px;margin-top:4px}
body.domo-page .domo-approved-mode{margin-bottom:10px}
body.domo-page .domo-stage-buttons{gap:8px}
body.domo-page .domo-stage-buttons button{min-height:46px;padding:10px}
body.domo-page .domo-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;margin:8px 0}
body.domo-page .domo-meta>div{padding:5px 0}
body.domo-page .domo-meta dd{margin:2px 0 0;font-size:13px}
body.domo-page .domo-unit-details{padding:12px;margin-top:10px}
body.domo-page .domo-property-summary{padding:10px;margin-bottom:10px}
body.domo-page .domo-catalog>details{margin-top:10px}
body.domo-page .domo-banners{margin-bottom:12px}
body.domo-page .domo-flow{padding:14px;margin:12px 0}
body.domo-page .domo-flow-series-row{background:#fff;border:1px solid #d6e4ed;border-radius:10px;padding:10px;margin:8px 0}
body.domo-page .domo-series-heading{display:grid;grid-template-columns:1fr 100px minmax(130px,1fr);gap:10px;align-items:center}
body.domo-page .domo-series-heading output{text-align:right;font-weight:700;font-size:13px}
body.domo-page .domo-series-fields{display:grid;grid-template-columns:1fr 1fr 90px 1fr;gap:10px;padding-top:8px}
body.domo-page .domo-flow input,body.domo-page .domo-flow select{max-width:none;width:100%;padding:8px;min-height:40px;font-size:13px}
body.domo-page .domo-flow label{font-size:11px;font-weight:500;margin:0}
body.domo-page .domo-flow-balance{padding:10px;border-radius:8px;background:#fff0df;font-size:13px;font-weight:600}
body.domo-page .domo-income-goal{border-left:3px solid #e88024;padding:10px;background:#fff8ef;margin:10px 0;font-size:13px}
body.domo-page .domo-income-goal h3{font-size:16px;margin-top:0}
body.domo-page .domo-income-goal small{display:block;font-size:11px;color:#657b8a}
body.domo-page .bia-tip-trigger,body.domo-page [data-tip-system],body.domo-page .domo-response{display:none!important}
@media(max-width:600px){body.domo-page .domo-mode-cards b{font-size:13px}body.domo-page .domo-mode-cards span{display:none}body.domo-page .domo-mode-cards button{min-height:58px}body.domo-page .domo-series-heading{grid-template-columns:1fr 80px}body.domo-page .domo-series-heading output{grid-column:1/-1;text-align:left}body.domo-page .domo-series-fields{grid-template-columns:1fr 1fr}body.domo-page .domo-meta{gap:2px 10px}body.domo-page .domo-meta dt{font-size:11px}body.domo-page .domo-meta dd{font-size:12px}body.domo-page .domo-preview-columns strong{font-size:18px}body.domo-page .domo-flow-actions button{font-size:12px;padding:9px}}
.broker-output-dialog{width:min(94vw,480px);border:1px solid #d4e2ed;border-radius:16px;padding:26px}.broker-output-dialog::backdrop{background:#123b5c88}.broker-output-dialog h2{font-size:22px}.broker-output-dialog form{display:grid;gap:12px}.broker-output-dialog .dialog-close{float:right}.broker-output-dialog input{width:100%}

/* Compact assistance and aligned professional seals, shared by every module. */
body .cpf-prompt:not(.cpf-expanded){width:3cm;max-width:calc(100vw - 32px);padding:0;border-radius:12px}
body .cpf-prompt:not(.cpf-expanded)>:not(.cpf-compact-launcher){display:none}
.cpf-compact-launcher{width:100%;min-height:44px;border:0;border-radius:12px;background:#fff;color:#205476;font-weight:700;padding:10px;font-size:13px}
.cpf-expanded .cpf-compact-launcher{display:none}
body #biaHelp,body #helpToggle{display:none!important}
.bia-whatsapp-icon{position:fixed;left:16px;bottom:20px;z-index:39;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#fff;color:#16834c;border:1px solid #b9d9c9;border-radius:13px;box-shadow:0 4px 16px #123b5c18}
body .bia-contact .official-certifications{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:12px}
body .bia-contact .official-seal{height:74px;padding:4px;display:flex;align-items:center}
body .bia-contact .official-seal img{max-height:66px;width:auto;max-width:110px;object-fit:contain}
@media(max-width:760px){body .bia-contact .official-certifications{grid-column:1/-1;grid-row:auto;max-width:none;width:100%;flex-wrap:nowrap}body .bia-contact .privacy-trust{grid-column:1/-1;grid-row:auto;justify-self:center}}
@media print{.bia-whatsapp-icon,.cpf-compact-launcher{display:none!important}}

.document-feedback,.document-dialog #documentQueue{overflow-wrap:anywhere;min-width:0}
.document-feedback p{margin:.25rem 0}

.bia-tip-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}

:is(.result-summary,.bia-tip-table) .result-finance-leader{box-shadow:inset 2px 0 #19834b,inset -2px 0 #19834b}
:is(.result-summary,.bia-tip-table) thead .result-finance-leader{box-shadow:inset 2px 0 #19834b,inset -2px 0 #19834b,inset 0 2px #19834b}
:is(.result-summary,.bia-tip-table) tbody tr:last-child .result-finance-leader{box-shadow:inset 2px 0 #19834b,inset -2px 0 #19834b,inset 0 -2px #19834b}
.finance-leader-label{display:block;color:#14663a}

body .financing-amount{color:#a94908;font-weight:700;font-size:calc(1em + 1pt)}

.scenario-flow{width:min(900px,94vw)}.scenario-flow table{width:100%;min-width:600px}.scenario-flow input{width:100%;min-width:75px}.scenario-flow button{margin:.4rem}

dialog.document-dialog.scenario-flow{width:min(1100px,calc(100vw - 24px));max-width:calc(100vw - 24px);box-sizing:border-box}
.scenario-flow-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.scenario-flow-resources label{min-width:0}
@media(max-width:620px){.scenario-flow-resources{grid-template-columns:1fr}}
.bia-advanced,.bia-result-comparison,.bia-result-extras{margin:14px 0;padding:12px 14px;border:1px solid #dbe7ef;border-radius:12px;background:#fff}
.bia-advanced summary,.bia-result-comparison summary,.bia-result-extras summary,details.listing-entry>summary,details.bank-choice>summary{cursor:pointer;color:#145779;font-weight:700}
.bia-advanced[open]>summary,.bia-result-comparison[open]>summary,.bia-result-extras[open]>summary{margin-bottom:12px}
.bia-result-extras a{display:inline-block;margin:8px}
.bia-result-overview{padding:16px;background:#edf6fb;border-radius:12px;margin:0 0 14px}
.bia-result-overview h3{margin:0 0 10px}
.bia-result-overview dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.bia-result-overview dt{font-size:.84rem}
.bia-result-overview dd{font-weight:800;margin:4px 0 0;color:#145779}
.bia-result-overview dl>div:first-child dd{color:#a64a09;font-size:1.12em}
@media(max-width:600px){.bia-result-overview dl{grid-template-columns:repeat(2,minmax(0,1fr))}.bia-result-overview dd{overflow-wrap:anywhere}}
